diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000000000000000000000000000000000..1a7f6f71a3445c4823da741a6ecd978759142bcb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "editor.formatOnType": true, + "[lisp]": { + "editor.wordSeparators": "`|;:'\",()" + } +} \ No newline at end of file diff --git a/addItem.json b/addItem.json new file mode 100644 index 0000000000000000000000000000000000000000..2f7c6b0f68b567b58a89db0e6e6b718ca582ef39 --- /dev/null +++ b/addItem.json @@ -0,0 +1,92 @@ +{ + "operationConfiguration": { + "forceQuantityInput": false, + "pricePositionLimit": 10000, + "pricePositionZeroAllowed": true, + "priceTransactionLimit": -1, + "priceDifferencePercentPositionLimit": 100, + "priceDifferenceAbsolutePositionLimit": 999999, + "priceDifferenceLimitExceedAction": "Warn", + "priceNegDifferenceLimitExceedAction": "Warn", + "closeCurrent": "Required", + "closePrevious": "Required", + "filterResult": true, + "allowedWithWeight": true, + "allowedWithLength": true, + "allowedWithArea": true, + "allowedWithVolume": true, + "allowedWithMeasure": true, + "maximumQuantity": 999999, + "minimumQuantity": 1, + "quantityInputOrder": "BeforeOrAfter", + "priceInputOrder": "BeforeOrAfter", + "quantityLimitExceedAction": "Warn", + "amountLimitExceedAction": "Warn", + "weightUnitFactor": 0, + "measureUnitFactor": 0, + "priceDeviationType": "All", + "priceNegDeviationType": "All", + "xXCustom08": "string", + "xXCustom10": "string", + "xXCustom09": "string", + "xXCustom07": "string", + "xXCustom05": "string", + "xXCustom06": "string", + "xXCustom11": "string", + "xXCustom12": "string", + "xXCustom13": "string", + "xXCustom14": "string", + "xXCustom15": "string", + "xXCustom03": "string", + "xXCustom02": "string", + "xXCustom04": "string", + "xXCustom01": "string" + }, + "barcode": "7703100270009", + "salesRestrictionsCheckNeeded": false, + "priceVariant": "Actual", + "itemEntryConfig": { + "forceQuantityInput": true, + "pricePositionLimit": 0, + "pricePositionZeroAllowed": true, + "priceTransactionLimit": 0, + "priceDifferencePercentPositionLimit": 0, + "priceDifferenceAbsolutePositionLimit": 0, + "priceDifferenceLimitExceedAction": "Warn", + "priceNegDifferenceLimitExceedAction": "Warn", + "closeCurrent": "Required", + "closePrevious": "Required", + "filterResult": true, + "allowedWithWeight": true, + "allowedWithLength": true, + "allowedWithArea": true, + "allowedWithVolume": true, + "allowedWithMeasure": true, + "maximumQuantity": 0, + "minimumQuantity": 0, + "quantityInputOrder": "BeforeOrAfter", + "priceInputOrder": "BeforeOrAfter", + "quantityLimitExceedAction": "Warn", + "weightUnitFactor": 0, + "measureUnitFactor": 0, + "priceDeviationType": "All", + "priceNegDeviationType": "All", + "xXCustom01": "string", + "xXCustom02": "string", + "xXCustom03": "string", + "xXCustom04": "string", + "xXCustom05": "string", + "xXCustom06": "string", + "xXCustom07": "string", + "xXCustom08": "string", + "xXCustom09": "string", + "xXCustom10": "string", + "xXCustom11": "string", + "xXCustom12": "string", + "xXCustom13": "string", + "xXCustom14": "string", + "xXCustom15": "string" + }, + "entryMethodCode": "Keyed", + "keyedOnline": true +} \ No newline at end of file diff --git a/gatewayGK/Adaptadores/AdaptadorAddItemRequest.cs b/gatewayGK/Adaptadores/AdaptadorAddItemRequest.cs index 37bd475736f4a006869ec97a62c150e3bb01cfa6..3a942177345c6b9a7807a7f815fe349199d1e860 100644 --- a/gatewayGK/Adaptadores/AdaptadorAddItemRequest.cs +++ b/gatewayGK/Adaptadores/AdaptadorAddItemRequest.cs @@ -25,10 +25,10 @@ namespace EvaPOS_API_FRAME.Adaptadores public DTOBase ObtieneDTO(int idSesion, TipoMensaje tipoMensaje, XmlElement docXml) { XmlNode? nodo = docXml.SelectSingleNode(NombreElementoXMLDatos); - XmlSerializer serializer = new XmlSerializer(typeof(AddItemRequest)); - AddItemRequest dto; + XmlSerializer serializer = new XmlSerializer(typeof(AddItemRequestDTO)); + AddItemRequestDTO dto; XmlNodeReader elemento = new XmlNodeReader(nodo); - dto = (AddItemRequest)serializer.Deserialize(elemento); + dto = (AddItemRequestDTO)serializer.Deserialize(elemento); if (nodo == null) diff --git a/gatewayGK/ComandosGkPruebas/AddItemRequestCmdGK.cs b/gatewayGK/ComandosGkPruebas/AddItemRequestCmdGK.cs index 7d11db4f6aca0ea16e3a63bb353c3008ef640663..a7d788c06135f798713a15bd83e4c38bea9773fb 100644 --- a/gatewayGK/ComandosGkPruebas/AddItemRequestCmdGK.cs +++ b/gatewayGK/ComandosGkPruebas/AddItemRequestCmdGK.cs @@ -18,7 +18,7 @@ namespace EvaPOS_API_FRAME.Comandos /// /// DTO con solicitud. /// - public AddItemRequest Request { get; private set; } + public AddItemRequestDTO Request { get; private set; } /// /// Procesa y responde ReportStatusEventsRequest. @@ -77,7 +77,7 @@ namespace EvaPOS_API_FRAME.Comandos public void CargaDTO(DTOBase addItemRequestDTO) { - Request = (AddItemRequest)addItemRequestDTO; + Request = (AddItemRequestDTO)addItemRequestDTO; } } diff --git a/gatewayGK/ComandosPruebas/AddItemRequestCmd.cs b/gatewayGK/ComandosPruebas/AddItemRequestCmd.cs index f18ee35cce73275eb72f7b6424d03b53e62e8aa1..9573da80628f304b6346c00635df1c49d9163da0 100644 --- a/gatewayGK/ComandosPruebas/AddItemRequestCmd.cs +++ b/gatewayGK/ComandosPruebas/AddItemRequestCmd.cs @@ -25,7 +25,7 @@ namespace EvaPOS_API_FRAME.Comandos /// /// DTO con solicitud. /// - public AddItemRequest Request { get; private set; } + public AddItemRequestDTO Request { get; private set; } /// /// Procesa y responde ReportStatusEventsRequest. @@ -83,7 +83,7 @@ namespace EvaPOS_API_FRAME.Comandos public void CargaDTO(DTOBase addItemRequestDTO) { - Request = (AddItemRequest)addItemRequestDTO; + Request = (AddItemRequestDTO)addItemRequestDTO; } } diff --git a/gatewayGK/Comandosgk/AddItemRequestCmdGk.cs b/gatewayGK/Comandosgk/AddItemRequestCmdGk.cs index 25eec183327512840015e29a3a915c62e3c50f50..214b38c1084b6623817ae81f63c0a9ff013eb9b3 100644 --- a/gatewayGK/Comandosgk/AddItemRequestCmdGk.cs +++ b/gatewayGK/Comandosgk/AddItemRequestCmdGk.cs @@ -31,7 +31,7 @@ namespace gatewayGK.ComandosGk /// /// DTO con solicitud. /// - public AddItemRequest Request { get; private set; } + public AddItemRequestDTO Request { get; private set; } /// /// Procesa y responde ReportStatusEventsRequest. @@ -210,7 +210,7 @@ namespace gatewayGK.ComandosGk var regularUnitPriceTrans = regularUnitPrice.ToString(); Log.Debug($"Transaction ID: {transactionId} "); - Entorno.Instancia.getDatos().TransactionID = transactionId; + Entorno.Instancia.get().TransactionID = transactionId; string tomarNombreCorto = ""; //Valores que se mandan en chec @@ -247,7 +247,7 @@ namespace gatewayGK.ComandosGk public void CargaDTO(DTOBase addItemRequestDTO) { - Request = (AddItemRequest)addItemRequestDTO; + Request = (AddItemRequestDTO)addItemRequestDTO; } } } diff --git a/gatewayGK/Comandosgk/AddItemRequestCmdGk2.cs b/gatewayGK/Comandosgk/AddItemRequestCmdGk2.cs new file mode 100644 index 0000000000000000000000000000000000000000..ff4d8348ca949f56e6d0dbc2e57e1d16e59b6c24 --- /dev/null +++ b/gatewayGK/Comandosgk/AddItemRequestCmdGk2.cs @@ -0,0 +1,233 @@ +using EvaPOS_API_FRAME.DTO.Intercambio; +using EvaPOS_API_FRAME.DTO; +using EvaPOS_API_FRAME.RespuestasXML; +using EvaPosSrvDTO; +using EvaPosSrvResp; +using Serilog; +using System.Globalization; +using RestSharp; +using gatewayGK.POSGk; +using System.Text.Json; +using Newtonsoft.Json.Linq; +using GatewaySCO; + +namespace gatewayGK.ComandosGk +{ + /// + /// Procesa solicitudes del primer item agregado. + /// + // TODO - unificar uso de libreria json: using System.Text.Json OR using Newtonsoft.Json.Linq; + // + public class AddItemRequestCmdGk2 : IComando + { + public string Referencia { get; set; } = "scsns:AddItem"; + /// + /// DTO con solicitud. + /// + public AddItemRequestDTO Request { get; private set; } + + /// + /// Url servicio autenticación Gk. + /// + private string _urlRegisterItem = Entorno.Instancia.get().UrlBase + + "/com.gk_software.pos.api.service.transaction.LineItemService/registerLineItem"; + + /// + /// Procesa agregar item y responde ReportStatusEventsRequest. + /// + public Respuestas Ejecutar() + { + Log.Debug("Cmd AddItemRequestDTO ejecutado. AddItemRequest : {AddItemRequest}", Request.RequestID); + + //int requestIdGuardado = RequestIdGuardado(); + POSBCStatusEvent posbcStatus = null; + TransactionStatusEvent transactionStatusEvent = null; + POSReceiptEventHeaderResponse posReceiptEventHeader = null; + POSReceiptEvent pOSReceiptEvent = null; + TotalsEventResponse totalEvent = null; + AddItemResponse itemResponse = null; + //Variables para manejar las respuestas de error - (item con peso, no se encuentra el item,item requiere cantidad) + AddItemResponseError addItemResponseError = null; + Respuestas respuesta = null; + Venta venta = null; + //Variables del adaptador de entrada - addItem + int requestId = Request.RequestID; + long barCode = 0; + int quantity = Request.ItemIdentifier.Quantity == 0 ? 1 : Request.ItemIdentifier.Quantity; + bool cancelItem = Request.ItemIdentifier.VoidFlag; + double peso = Request.ItemIdentifier.ScaleWeight; + //Logica para validar el valor del codigo de barras + //Si es un item de busqueda o imagen, trae el valor KeyedItemID, si es escaneado trae barcode + if (Request.ItemIdentifier.BarCode != null) + barCode = Request.ItemIdentifier.BarCode.ScanDataLabel; + else + barCode = Request.ItemIdentifier.KeyedItemID; + + // --- cliente rest. + var options = new RestClientOptions() + { + // TODO manejar el timeout como un parámetro de configuración. + MaxTimeout = -1, + RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true + }; + string sessionId = Entorno.Instancia.get().posSessionId; + string cookieValue = $"sessionid={sessionId}"; + + var client = new RestClient(options); + var request = new RestRequest(_urlRegisterItem, Method.Post); + request.AddHeader("Accept", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("Content-Type", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("_pos_session_", sessionId); + request.AddHeader("Cookie", cookieValue); + + // Record inicializado por nombre de propiedades. + var operationConfiguration = new operationConfiguration { pricePositionLimit = 10000000 }; // TODO - controlar este valor, como sacarlo del Smart POS. + var datosItem = new registerLineItemReq + { + barcode = barCode.ToString(), + entryMethodCode = "Keyed", + operationConfiguration = operationConfiguration + }; + string json = JsonSerializer.Serialize(datosItem); + request.AddJsonBody(json); + Log.Verbose(">> GK registerLineItem - body {json}", json); + Log.Information(">> GK registerLineItem - posSessionId {posSessionId}, barCode {barCode}", sessionId, barCode); + + RestResponse response = client.Execute(request); + System.Net.HttpStatusCode statusCode = response.StatusCode; + int numericStatusCode = (int)statusCode; + Log.Debug("<< GK registerLineItem - StatusCode {StatusCode}, numericStatusCode {numericStatusCode}", response.StatusCode, numericStatusCode); + Log.Verbose("<< GK registerLineItem - Headers {Headers}", response.Headers); + Log.Verbose("<< GK registerLineItem - Content {Content}", response.Content); + + if (response.IsSuccessful == false) + { + if (response.StatusCode == System.Net.HttpStatusCode.InternalServerError) + { + var jsonRespErr = System.Text.Json.JsonSerializer.Deserialize(response.Content + ?? throw new ApplicationException("Null content in response to POST method.")); + + var errorCode = jsonRespErr.GetProperty("errorCode").GetProperty("errorCode").GetString(); + var message = jsonRespErr.GetProperty("errorCode").GetProperty("message").GetString(); + var posItemID = jsonRespErr.GetProperty("additionalContextInfoMap").GetProperty("posItemID").GetString(); + Log.Warning("<< GK registerLineItem - errorCode {errorCode}, message {message}, posItemID {posItemID}", + errorCode, message, posItemID); + + // Item no encontrado. + if (errorCode == "GKR-POS-002075") + { + addItemResponseError = new AddItemResponseError(1, + TipoMensaje.Resp, requestId, "Articulo no encontrado", "ITEM_NOT_FOUND"); + respuesta = new Respuestas { addItemResponseError }; + return respuesta; + } + } + // TODO - interpretar la respuesta par amostrar el mensaje de error, ejemplo: + // {"errorCode":{"errorCode":"GKR-POS-000001","message":"Invalid session","messageKey":"com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_INVALID_SESSION","arguments":[]},"timestamp":"2023-08-04T07:16:57.066","additionalContextInfoMap":{}} + Log.Error("<< GK registerLineItem failed: StatusCode {StatusCode}, Content {Content}", + response.StatusCode, response.Content); + throw new ApplicationException("Servicio POST 'registerLineItem' en error."); + } + + var jsonResp = System.Text.Json.JsonSerializer.Deserialize(response.Content + ?? throw new ApplicationException("Null content in response to POST method.")); + var statusOk = jsonResp.GetProperty("statusOk").GetBoolean(); + + // La respuesta puede ser IsSuccessful == true pero aún así se debe validar si hay + // mas conediciones de falla o alertas asociadas al atrículo. + if (statusOk == false) + { + // var errorCode = jsonResp.GetProperty("failure").GetProperty("errorCode").GetString(); + // var message = jsonResp.GetProperty("failure").GetProperty("errorMessage").GetString(); + // var posItemId = jsonResp.GetProperty("posItemId").GetString(); + // var itemIdx = jsonResp.GetProperty("itemId").GetString(); + // var itemName = jsonResp.GetProperty("itemName").GetString(); + // Log.Warning("<< GK registerLineItem - errorCode {errorCode}, message {message}, posItemID {posItemID}, itemId {itemId}, itemName {itemName}", + // errorCode, message, posItemId, itemIdx, itemName); + + Log.Warning("<< GK registerLineItem - statusOk {statusOk}, errorCode {errorCode}, message {message}", statusOk); + + // Position limit exceeded - Price too high! + // if (errorCode == "GKR-POS-003031") + // { + // addItemResponseError = new AddItemResponseError(1, + // TipoMensaje.Resp, requestId, "Precio muy alto, límite excedido", "ITEM_NOT_FOUND"); + // respuesta = new Respuestas { addItemResponseError }; + // return respuesta; + // } + + addItemResponseError = new AddItemResponseError(1, + TipoMensaje.Resp, requestId, "Error no reconocido", "ITEM_NOT_FOUND"); + respuesta = new Respuestas { addItemResponseError }; + return respuesta; + } + + + var options2 = new JsonSerializerOptions + { + PropertyNameCaseInsensitive = true + }; + + var jObject = JObject.Parse(response.Content); + var jsonString = jObject["primaryEntry"].ToString(); + var jsonObject = JsonSerializer.Deserialize(jsonString, options2); + + var transactionId = jsonObject.transaction.key.transactionID; + var addedOrModifiedLineItems = jsonObject.addedOrModifiedLineItems; + var itemId = addedOrModifiedLineItems[0].saleReturnLineItemList[0].itemID; + var regularUnitPrice = addedOrModifiedLineItems[0].saleReturnLineItemList[0].regularUnitPrice; + var quantityService = addedOrModifiedLineItems[0].saleReturnLineItemList[0].quantity; + var units = addedOrModifiedLineItems[0].saleReturnLineItemList[0].units; + var textName = addedOrModifiedLineItems[0].saleReturnLineItemList[0].receiptText; + + //Pasarlo a string + var regularUnitPriceTrans = regularUnitPrice.ToString(); + + Log.Debug(""" + << GK registerLineItemTransaction ID: + transactionId {transactionId}, + addedOrModifiedLineItems {addedOrModifiedLineItems}, + itemId {itemId}, + regularUnitPrice {regularUnitPrice}, + quantityService {quantityService}, + units {units}, + textName {textName} + """, + transactionId, + addedOrModifiedLineItems, + itemId, + regularUnitPrice, + quantityService, + units, + textName + ); + Entorno.Instancia.get().TransactionID = transactionId; + + string tomarNombreCorto = ""; + //Valores que se mandan en chec + var date = DateTime.Now.ToString("dd/MM/yyyy"); + CultureInfo culture = new CultureInfo("en-US"); + culture.DateTimeFormat.AMDesignator = "AM"; + culture.DateTimeFormat.PMDesignator = "PM"; + var time = DateTime.Now.ToString("hh:mm tt", culture); + + transactionStatusEvent = new TransactionStatusEvent(1, TipoMensaje.Event, requestId, "TRANSACTION_START", 1, "regularSale", "sales", date, time); + pOSReceiptEvent = new POSReceiptEvent(1, TipoMensaje.Event, requestId, "Customer", 0, "Body", requestId, 1, "center", "LineItem", "ItemSale", itemId + " " + textName + " " + quantityService + " " + regularUnitPrice, "Add"); + posReceiptEventHeader = new POSReceiptEventHeaderResponse(1, TipoMensaje.Event, requestId); + totalEvent = new TotalsEventResponse(1, TipoMensaje.Event, requestId, regularUnitPriceTrans, regularUnitPriceTrans, regularUnitPriceTrans, regularUnitPriceTrans, "0.00", "0.00", "0.00", "0.00", "0.00", 1, 0, "0.00", "0.00"); + itemResponse = new AddItemResponse(1, TipoMensaje.Resp, requestId, tomarNombreCorto, "false", "false", "true", "1234", "ScannedItemCode", "3200", 1, "3200", 0, "0.00", 0, 1, 0, "unit", "false", 0, "false", "false", "true", "true"); + respuesta = new Respuestas { transactionStatusEvent, posReceiptEventHeader, pOSReceiptEvent, totalEvent, itemResponse }; + + return respuesta; + } + public IComando CreaCopia() + { + return (AddItemRequestCmdGk)this.MemberwiseClone(); + } + + public void CargaDTO(DTOBase addItemRequestDTO) + { + Request = (AddItemRequestDTO)addItemRequestDTO; + } + } +} diff --git a/gatewayGK/Comandosgk/AddItemRequestCmdGk3.cs b/gatewayGK/Comandosgk/AddItemRequestCmdGk3.cs new file mode 100644 index 0000000000000000000000000000000000000000..ec949e2a5f3c488121410183a6b0e253b32f5545 --- /dev/null +++ b/gatewayGK/Comandosgk/AddItemRequestCmdGk3.cs @@ -0,0 +1,259 @@ +using EvaPOS_API_FRAME.DTO.Intercambio; +using EvaPOS_API_FRAME.DTO; +using EvaPOS_API_FRAME.RespuestasXML; +using EvaPosSrvDTO; +using EvaPosSrvResp; +using Serilog; +using System.Globalization; +using RestSharp; +using gatewayGK.POSGk; +using System.Text.Json; +using Newtonsoft.Json.Linq; +using GatewaySCO; +using Newtonsoft.Json; +using IO.Swagger.Model; + +namespace gatewayGK.ComandosGk +{ + /// + /// Procesa solicitudes del primer item agregado. + /// + // TODO - unificar uso de libreria json: using System.Text.Json OR using Newtonsoft.Json.Linq; + // + public class AddItemRequestCmdGk3 : IComando + { + public string Referencia { get; set; } = "scsns:AddItem"; + /// + /// DTO con solicitud. + /// + public AddItemRequestDTO Request { get; private set; } + + /// + /// Url servicio autenticación Gk. + /// + private string _urlRegisterItem = Entorno.Instancia.get().UrlBase + + "/com.gk_software.pos.api.service.transaction.LineItemService/registerLineItem"; + + /// + /// Procesa agregar item y responde ReportStatusEventsRequest. + /// + public Respuestas Ejecutar() + { + Log.Debug("Cmd AddItemRequestCmdGk3 ejecutado. AddItemRequest : {AddItemRequest}", Request.RequestID); + + //int requestIdGuardado = RequestIdGuardado(); + POSBCStatusEvent posbcStatus = null; + TransactionStatusEvent transactionStatusEvent = null; + POSReceiptEventHeaderResponse posReceiptEventHeader = null; + POSReceiptEvent pOSReceiptEvent = null; + TotalsEventResponse totalEvent = null; + AddItemResponse itemResponse = null; + //Variables para manejar las respuestas de error - (item con peso, no se encuentra el item,item requiere cantidad) + AddItemResponseError addItemResponseError = null; + Respuestas respuesta = null; + Venta venta = null; + //Variables del adaptador de entrada - addItem + int requestId = Request.RequestID; + long barCode = 0; + int quantity = Request.ItemIdentifier.Quantity == 0 ? 1 : Request.ItemIdentifier.Quantity; + bool cancelItem = Request.ItemIdentifier.VoidFlag; + double peso = Request.ItemIdentifier.ScaleWeight; + //Logica para validar el valor del codigo de barras + //Si es un item de busqueda o imagen, trae el valor KeyedItemID, si es escaneado trae barcode + if (Request.ItemIdentifier.BarCode != null) + barCode = Request.ItemIdentifier.BarCode.ScanDataLabel; + else + barCode = Request.ItemIdentifier.KeyedItemID; + + // --- cliente rest. + var options = new RestClientOptions() + { + // TODO manejar el timeout como un parámetro de configuración. + MaxTimeout = -1, + RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true + }; + string sessionId = Entorno.Instancia.get().posSessionId; + string cookieValue = $"sessionid={sessionId}"; + + var client = new RestClient(options); + var request = new RestRequest(_urlRegisterItem, Method.Post); + request.AddHeader("Accept", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("Content-Type", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("_pos_session_", sessionId); + request.AddHeader("Cookie", cookieValue); + + // Record inicializado por nombre de propiedades. + var operationConfiguration = new operationConfiguration { pricePositionLimit = 10000000 }; // TODO - controlar este valor, como sacarlo del Smart POS. + var datosItem = new registerLineItemReq + { + barcode = barCode.ToString(), + entryMethodCode = "Keyed", + operationConfiguration = operationConfiguration + }; + string json = System.Text.Json.JsonSerializer.Serialize(datosItem); + request.AddJsonBody(json); + Log.Verbose(">> GK registerLineItem - sessionId {sessionId}", sessionId); + Log.Verbose(">> GK registerLineItem - body {body}", json); + Log.Information(">> GK registerLineItem - barCode {barCode}", barCode); + + RestResponse response = client.Execute(request); + System.Net.HttpStatusCode statusCode = response.StatusCode; + int numericStatusCode = (int)statusCode; + Log.Information("<< GK registerLineItem - Http.StatusCode {StatusCode}, Http.numericStatusCode {numericStatusCode}", response.StatusCode, numericStatusCode); + Log.Verbose("<< GK registerLineItem - Headers {Headers}", response.Headers); + Log.Verbose("<< GK registerLineItem - Content {Content}", response.Content); + + if (response.IsSuccessful == false) + { + if (response.StatusCode == System.Net.HttpStatusCode.InternalServerError) + { + var jsonRespErr = System.Text.Json.JsonSerializer.Deserialize(response.Content + ?? throw new ApplicationException("Null content in response to POST method.")); + + var errorCode = jsonRespErr.GetProperty("errorCode").GetProperty("errorCode").GetString(); + var message = jsonRespErr.GetProperty("errorCode").GetProperty("message").GetString(); + var posItemID = jsonRespErr.GetProperty("additionalContextInfoMap").GetProperty("posItemID").GetString(); + Log.Warning("<< GK registerLineItem - errorCode {errorCode}, message {message}, posItemID {posItemID}", + errorCode, message, posItemID); + + // Item no encontrado. + if (errorCode == "GKR-POS-002075") + { + addItemResponseError = new AddItemResponseError(1, + TipoMensaje.Resp, requestId, "Articulo no encontrado", "ITEM_NOT_FOUND"); + respuesta = new Respuestas { addItemResponseError }; + return respuesta; + } + } + // TODO - interpretar la respuesta par amostrar el mensaje de error, ejemplo: + // {"errorCode":{"errorCode":"GKR-POS-000001","message":"Invalid session","messageKey":"com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_INVALID_SESSION","arguments":[]},"timestamp":"2023-08-04T07:16:57.066","additionalContextInfoMap":{}} + Log.Error("<< GK registerLineItem failed: StatusCode {StatusCode}, Content {Content}", + response.StatusCode, response.Content); + throw new ApplicationException("Servicio POST 'registerLineItem' en error."); + } + + // En este punto, la respuesta es exitosa a nivel de http. + + var respTransacAddItem = Newtonsoft.Json.JsonConvert.DeserializeObject( + response.Content ?? throw new ApplicationException("Null content in response to POST method.")) + ?? throw new ApplicationException("Null content in response to POST method."); + // Log.Verbose("<< GK registerLineItem: respNewtonsoft {respNewtonsoft}", respTransacAddItem); + + // La respuesta puede ser IsSuccessful == true pero aún así se debe validar si hay + // mas conediciones de falla o alertas asociadas al atrículo. + if (respTransacAddItem.StatusOk == false) + { + Log.Warning("<< GK registerLineItem - statusOk {statusOk}", respTransacAddItem.StatusOk); + + // Position limit exceeded - Price too high! + // if (errorCode == "GKR-POS-003031") + // { + // addItemResponseError = new AddItemResponseError(1, + // TipoMensaje.Resp, requestId, "Precio muy alto, límite excedido", "ITEM_NOT_FOUND"); + // respuesta = new Respuestas { addItemResponseError }; + // return respuesta; + // } + + addItemResponseError = new AddItemResponseError(1, + TipoMensaje.Resp, requestId, "Error no reconocido", "ITEM_NOT_FOUND"); + respuesta = new Respuestas { addItemResponseError }; + return respuesta; + } + + // En este punto statusOk == True : el item ingreso a la transacción de venta. + var transactionId = respTransacAddItem.PrimaryEntry.Transaction.Key.TransactionID; + var businessUnitGroupID = respTransacAddItem.PrimaryEntry.Transaction.Key.BusinessUnitGroupID; + var addedOrModifiedLineItems = respTransacAddItem.PrimaryEntry.AddedOrModifiedLineItems[0].SaleReturnLineItemList[0]; + var itemId = addedOrModifiedLineItems.ItemID; + var regularUnitPrice = addedOrModifiedLineItems.RegularUnitPrice; + var quantityService = addedOrModifiedLineItems.Quantity; + var units = addedOrModifiedLineItems.Units; + var receiptText = addedOrModifiedLineItems.ReceiptText; + var registrationNumber = addedOrModifiedLineItems.RegistrationNumber; + var extensionSequenceNumber = addedOrModifiedLineItems.SaleReturnLineItemExtensionList[0].Key.ExtensionSequenceNumber; + var retailTransactionList = respTransacAddItem.PrimaryEntry.Transaction.RetailTransactionList; + var dtoRetailTransactionTotalList = retailTransactionList[0].RetailTransactionTotalList; + + double? total = 0.0; + double? subtotal = 0.0; + double? subtotalDcto = 0.0; + + // Recorrer lista de totales y sacar valores + foreach (var tipoTotal in dtoRetailTransactionTotalList) + { + var k = tipoTotal.Key; + var valor = tipoTotal.Amount; + switch (k.TransactionTotalTypeCode) + { + case "TOTAL": + total = valor; + break; + case "SUBTOTAL": + subtotal = valor; + break; + case "SUBTOTAL_DISCOUNT": + subtotalDcto = valor; + break; + default: + break; + // throw new ApplicationException("Null content in response to POST method (TransactionTotalTypeCode)."); + } + } + + //Pasarlo a string + var regularUnitPriceTrans = regularUnitPrice.ToString(); + + Log.Debug("<< GK TransactionRegistrationResult: transactionId {transactionId}, itemId {itemId}, regularUnitPrice {regularUnitPrice}, quantityService {quantityService}, units {units}, textName {textName}", + transactionId, + itemId, + regularUnitPrice, + quantityService, + units, + receiptText + ); + Log.Information(String.Format("{0,3} | {1,13} | {2,-20} | {3,3}| {4,-5:N2} | {5,12:N2} | {6,12:N2} | {7,12:N2} | {8,12:N2} | {9,3}", + addedOrModifiedLineItems.Key.RetailTransactionLineItemSequenceNumber, + registrationNumber, + receiptText, + addedOrModifiedLineItems.UnitOfMeasureCode, + addedOrModifiedLineItems.Quantity, + addedOrModifiedLineItems.ActualUnitPrice, + addedOrModifiedLineItems.ExtendedAmount, + addedOrModifiedLineItems.ExtendedDiscountAmount, + addedOrModifiedLineItems.GrandExtendedAmount, + addedOrModifiedLineItems.TaxGroupID + )); + Log.Information(String.Format("\t\tSUBTOTAL: {0,12:N2} -- SUBTOTAL_DISCOUNT: {1,12:N2} -- TOTAL: {2,12:N2}", + subtotal, subtotalDcto, total)); + + Entorno.Instancia.get().TransactionID = transactionId; + Entorno.Instancia.get().BusinessUnitGroupID = businessUnitGroupID; + + string tomarNombreCorto = ""; + //Valores que se mandan en chec + var date = DateTime.Now.ToString("dd/MM/yyyy"); + CultureInfo culture = new CultureInfo("en-US"); + culture.DateTimeFormat.AMDesignator = "AM"; + culture.DateTimeFormat.PMDesignator = "PM"; + var time = DateTime.Now.ToString("hh:mm tt", culture); + + transactionStatusEvent = new TransactionStatusEvent(1, TipoMensaje.Event, requestId, "TRANSACTION_START", 1, "regularSale", "sales", date, time); + pOSReceiptEvent = new POSReceiptEvent(1, TipoMensaje.Event, requestId, "Customer", 0, "Body", requestId, 1, "center", "LineItem", "ItemSale", itemId + " " + receiptText + " " + quantityService + " " + regularUnitPrice, "Add"); + posReceiptEventHeader = new POSReceiptEventHeaderResponse(1, TipoMensaje.Event, requestId); + totalEvent = new TotalsEventResponse(1, TipoMensaje.Event, requestId, regularUnitPriceTrans, regularUnitPriceTrans, regularUnitPriceTrans, regularUnitPriceTrans, "0.00", "0.00", "0.00", "0.00", "0.00", 1, 0, "0.00", "0.00"); + itemResponse = new AddItemResponse(1, TipoMensaje.Resp, requestId, tomarNombreCorto, "false", "false", "true", "1234", "ScannedItemCode", "3200", 1, "3200", 0, "0.00", 0, 1, 0, "unit", "false", 0, "false", "false", "true", "true"); + respuesta = new Respuestas { transactionStatusEvent, posReceiptEventHeader, pOSReceiptEvent, totalEvent, itemResponse }; + + return respuesta; + } + public IComando CreaCopia() + { + return (AddItemRequestCmdGk)this.MemberwiseClone(); + } + + public void CargaDTO(DTOBase addItemRequestDTO) + { + Request = (AddItemRequestDTO)addItemRequestDTO; + } + } +} diff --git a/gatewayGK/Comandosgk/CalculateTaxtCmdGk.cs b/gatewayGK/Comandosgk/CalculateTaxtCmdGk.cs new file mode 100644 index 0000000000000000000000000000000000000000..4f689f1b33a45bd74fd846a5120b76a7e39a0b97 --- /dev/null +++ b/gatewayGK/Comandosgk/CalculateTaxtCmdGk.cs @@ -0,0 +1,229 @@ +using EvaPOS_API_FRAME.DTO.Intercambio; +using EvaPOS_API_FRAME.DTO; +using EvaPOS_API_FRAME.RespuestasXML; +using EvaPosSrvDTO; +using EvaPosSrvResp; +using Serilog; +using System.Globalization; +using RestSharp; +using gatewayGK.POSGk; +using System.Text.Json; +using Newtonsoft.Json.Linq; +using GatewaySCO; +using Newtonsoft.Json; +using IO.Swagger.Model; + +namespace gatewayGK.ComandosGk +{ + /// + /// Calcular el impuesto de un item. + /// TODO - terminar esto. + /// + public class CalculateTaxtCmdGk : IComando + { + public string Referencia { get; set; } = "scsns:AddItem"; + /// + /// DTO con solicitud. + /// + public AddItemRequestDTO Request { get; private set; } + + /// + /// Url servicio autenticación Gk. + /// + private string _urlRegisterItem = Entorno.Instancia.get().UrlBase + + "services/com.gk_software.pos.api.service.taxengine.TaxEngineService/calculateTax"; + + /// + /// Calcular impuestos. + /// + public Respuestas Ejecutar() + { + Log.Debug("Cmd CalculateTaxtCmdGk ejecutado. AddItemRequest : {AddItemRequest}", Request.RequestID); + + + + //int requestIdGuardado = RequestIdGuardado(); + POSBCStatusEvent posbcStatus = null; + TransactionStatusEvent transactionStatusEvent = null; + POSReceiptEventHeaderResponse posReceiptEventHeader = null; + POSReceiptEvent pOSReceiptEvent = null; + TotalsEventResponse totalEvent = null; + + // Parámetros de invocación servicios web: TaxEngineServiceCalculateTaxAsync + // Var definición de esta clase para sus parámetros requeridos de inicialización. + ComGkSoftwareGkrApiTxpoolDtoTransaction dtoTransactionCalculateTax = new() + { + Key = new() + { + BusinessUnitGroupID = Entorno.Instancia.get().BusinessUnitGroupID, + TransactionID = "" + }, + OperatorID = "", + WorkstationID = "", + BusinessUnitID = "", + BusinessDayDate = "", + SequenceNumber = 0, + TransactionTypeCode = "", + InternalSequenceNumber = 0, + FiscalFlag = true, + IsocurrencyCode = "" + }; + + + + + //Variables para manejar las respuestas de error - (item con peso, no se encuentra el item,item requiere cantidad) + + Respuestas respuesta = null; + + + //Variables del adaptador de entrada - addItem + int requestId = Request.RequestID; + + + // --- cliente rest. + var options = new RestClientOptions() + { + // TODO manejar el timeout como un parámetro de configuración. + MaxTimeout = -1, + RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true + }; + string sessionId = Entorno.Instancia.get().posSessionId; + string cookieValue = $"sessionid={sessionId}"; + + var client = new RestClient(options); + var request = new RestRequest(_urlRegisterItem, Method.Post); + request.AddHeader("Accept", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("Content-Type", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("_pos_session_", sessionId); + request.AddHeader("Cookie", cookieValue); + + // Record inicializado por nombre de propiedades. + dtoTransactionCalculateTax = new ComGkSoftwareGkrApiTxpoolDtoTransaction(); + var key = new Key(); + + // TODO - usar newtonsoft + string json = System.Text.Json.JsonSerializer.Serialize(dtoTransactionCalculateTax); + request.AddJsonBody(json); + Log.Verbose(">> GK registerLineItem - sessionId {sessionId}", sessionId); + Log.Verbose(">> GK registerLineItem - body {body}", json); + Log.Information(">> GK calculateTax"); + + RestResponse response = client.Execute(request); + System.Net.HttpStatusCode statusCode = response.StatusCode; + int numericStatusCode = (int)statusCode; + Log.Information("<< GK registerLineItem - Http.StatusCode {StatusCode}, Http.numericStatusCode {numericStatusCode}", response.StatusCode, numericStatusCode); + Log.Verbose("<< GK registerLineItem - Headers {Headers}", response.Headers); + Log.Verbose("<< GK registerLineItem - Content {Content}", response.Content); + + if (response.IsSuccessful == false) + { + if (response.StatusCode == System.Net.HttpStatusCode.InternalServerError) + { + var jsonRespErr = System.Text.Json.JsonSerializer.Deserialize(response.Content + ?? throw new ApplicationException("Null content in response to POST method.")); + + var errorCode = jsonRespErr.GetProperty("errorCode").GetProperty("errorCode").GetString(); + var message = jsonRespErr.GetProperty("errorCode").GetProperty("message").GetString(); + var posItemID = jsonRespErr.GetProperty("additionalContextInfoMap").GetProperty("posItemID").GetString(); + Log.Warning("<< GK registerLineItem - errorCode {errorCode}, message {message}, posItemID {posItemID}", + errorCode, message, posItemID); + } + // TODO - interpretar la respuesta par amostrar el mensaje de error, ejemplo: + // {"errorCode":{"errorCode":"GKR-POS-000001","message":"Invalid session","messageKey":"com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_INVALID_SESSION","arguments":[]},"timestamp":"2023-08-04T07:16:57.066","additionalContextInfoMap":{}} + Log.Error("<< GK registerLineItem failed: StatusCode {StatusCode}, Content {Content}", + response.StatusCode, response.Content); + throw new ApplicationException("Servicio POST 'registerLineItem' en error."); + } + + // En este punto, la respuesta es exitosa a nivel de http. + + var respTransacAddItem = Newtonsoft.Json.JsonConvert.DeserializeObject( + response.Content ?? throw new ApplicationException("Null content in response to POST method.")) + ?? throw new ApplicationException("Null content in response to POST method."); + // Log.Verbose("<< GK registerLineItem: respNewtonsoft {respNewtonsoft}", respTransacAddItem); + + // La respuesta puede ser IsSuccessful == true pero aún así se debe validar si hay + // mas conediciones de falla o alertas asociadas al atrículo. + if (respTransacAddItem.StatusOk == false) + { + Log.Warning("<< GK registerLineItem - statusOk {statusOk}", respTransacAddItem.StatusOk); + + // TODO : esto no corresonde a mensaje a CHEC apropiado. + respuesta = new Respuestas { new AddItemResponseError(1, + TipoMensaje.Resp, requestId, "Error no reconocido", "ITEM_NOT_FOUND") }; + return respuesta; + } + + // En este punto statusOk == True : el item ingreso a la transacción de venta. + var transactionId = respTransacAddItem.PrimaryEntry.Transaction.Key.TransactionID; + var businessUnitGroupID = respTransacAddItem.PrimaryEntry.Transaction.Key.BusinessUnitGroupID; + var addedOrModifiedLineItems = respTransacAddItem.PrimaryEntry.AddedOrModifiedLineItems[0].SaleReturnLineItemList[0]; + var itemId = addedOrModifiedLineItems.ItemID; + var regularUnitPrice = addedOrModifiedLineItems.RegularUnitPrice; + var quantityService = addedOrModifiedLineItems.Quantity; + var units = addedOrModifiedLineItems.Units; + var receiptText = addedOrModifiedLineItems.ReceiptText; + var registrationNumber = addedOrModifiedLineItems.RegistrationNumber; + var extensionSequenceNumber = addedOrModifiedLineItems.SaleReturnLineItemExtensionList[0].Key.ExtensionSequenceNumber; + var retailTransactionList = respTransacAddItem.PrimaryEntry.Transaction.RetailTransactionList; + var dtoRetailTransactionTotalList = retailTransactionList[0].RetailTransactionTotalList; + + double? total = 0.0; + double? subtotal = 0.0; + double? subtotalDcto = 0.0; + + //Pasarlo a string + var regularUnitPriceTrans = regularUnitPrice.ToString(); + + Log.Debug("<< GK TransactionRegistrationResult: transactionId {transactionId}, itemId {itemId}, regularUnitPrice {regularUnitPrice}, quantityService {quantityService}, units {units}, textName {textName}", + transactionId, + itemId, + regularUnitPrice, + quantityService, + units, + receiptText + ); + Log.Information(String.Format("{0,3} | {1,13} | {2,-20} | {3,3}| {4,-5:N2} | {5,8:N2} | {6,12:N2} | {7,12:N2} | {8,12:N2} | {9,3}", + addedOrModifiedLineItems.Key.RetailTransactionLineItemSequenceNumber, + registrationNumber, + receiptText, + addedOrModifiedLineItems.UnitOfMeasureCode, + addedOrModifiedLineItems.Quantity, + addedOrModifiedLineItems.ActualUnitPrice, + addedOrModifiedLineItems.ExtendedAmount, + addedOrModifiedLineItems.ExtendedDiscountAmount, + addedOrModifiedLineItems.GrandExtendedAmount, + addedOrModifiedLineItems.TaxGroupID + )); + Log.Information(String.Format("SUBTOTAL: {0,12:N2} // SUBTOTAL_DISCOUNT: {1,12:N2} // TOTAL: {2,12:N2}", + subtotal, subtotalDcto, total)); + Entorno.Instancia.get().TransactionID = transactionId; + + string tomarNombreCorto = ""; + //Valores que se mandan en chec + var date = DateTime.Now.ToString("dd/MM/yyyy"); + CultureInfo culture = new CultureInfo("en-US"); + culture.DateTimeFormat.AMDesignator = "AM"; + culture.DateTimeFormat.PMDesignator = "PM"; + var time = DateTime.Now.ToString("hh:mm tt", culture); + + transactionStatusEvent = new TransactionStatusEvent(1, TipoMensaje.Event, requestId, "TRANSACTION_START", 1, "regularSale", "sales", date, time); + pOSReceiptEvent = new POSReceiptEvent(1, TipoMensaje.Event, requestId, "Customer", 0, "Body", requestId, 1, "center", "LineItem", "ItemSale", itemId + " " + receiptText + " " + quantityService + " " + regularUnitPrice, "Add"); + posReceiptEventHeader = new POSReceiptEventHeaderResponse(1, TipoMensaje.Event, requestId); + totalEvent = new TotalsEventResponse(1, TipoMensaje.Event, requestId, regularUnitPriceTrans, regularUnitPriceTrans, regularUnitPriceTrans, regularUnitPriceTrans, "0.00", "0.00", "0.00", "0.00", "0.00", 1, 0, "0.00", "0.00"); + respuesta = new Respuestas { transactionStatusEvent, posReceiptEventHeader, pOSReceiptEvent, totalEvent }; + + return respuesta; + } + public IComando CreaCopia() + { + return (AddItemRequestCmdGk)this.MemberwiseClone(); + } + + public void CargaDTO(DTOBase addItemRequestDTO) + { + Request = (AddItemRequestDTO)addItemRequestDTO; + } + } +} diff --git a/gatewayGK/Comandosgk/InitializeRequestCmdGk.cs b/gatewayGK/Comandosgk/InitializeRequestCmdGk.cs index edc35e3fef50577156e59512a614d440aba60290..6493fca5d13f99c37e09b4f8ed8e438aaa4a1c36 100644 --- a/gatewayGK/Comandosgk/InitializeRequestCmdGk.cs +++ b/gatewayGK/Comandosgk/InitializeRequestCmdGk.cs @@ -5,13 +5,7 @@ using GatewaySCO; using RestSharp; using SCOGateway.POSGk; using Serilog; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Text; using System.Text.Json; -using System.Threading.Tasks; using Microsoft.Extensions.Configuration; @@ -28,7 +22,8 @@ namespace gatewayGK.ComandosGk /// /// Url servicio autenticación Gk. /// - public const string UrlLogin = ConstantesGK.UrlBaseMaquetaProd + "/com.gk_software.pos.api.service.session.PosSessionService/login"; + private string _urlLogin = Entorno.Instancia.get().UrlBase + + "/com.gk_software.pos.api.service.session.PosSessionService/login"; /// /// Procesa y responde el login. @@ -37,49 +32,49 @@ namespace gatewayGK.ComandosGk public Respuestas Ejecutar() { - // Crea una instancia de IConfiguration para acceder a la configuración - IConfiguration configuration = new ConfigurationBuilder() - .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true) - .Build(); - - //Llamar valores del archivo de configuración - string retailStoreId = configuration["DataGK:RetailStoreId"]; - string workstationId = configuration["DataGK:WorkstationId"]; - string workstationAddress = configuration["DataGK:WorkstationAddress"]; - string workstationTypeCode = configuration["DataGK:WorkstationTypeCode"]; - string loginName = configuration["DataGK:LoginName"]; - string businessUnitGroupID = configuration["DataGK:BusinessUnitGroupID"]; - string tillID = configuration["DataGK:TillID"]; - string password = configuration["DataGK:Password"]; - - string jSessionId = configuration["DataGK:SessionID"]; ; - string cookieValue = $"JSESSIONID={jSessionId}"; - - Respuestas respuestaChec = null; + string cookieValue = $"JSESSIONID="; + + string banner = + """ + + _____ _ _ ______ ____ _____ _ _____ _ __ _____ _ _____ ____ _____ + / ____ | | | | ____/ ____| / ____| | / ____| |/ / / ____| | | | __ \ / __ \ / ____| + | | | |__| | |__ | | ______ | | __| |___ ____ _ _ _ ______ | | __| ' / | (___ _ __ ___ __ _ _ __| |_ | |__) | | | | (___ + | | | __ | __|| | |______| | | |_ | __\ \ /\ / / _` | | | | |______| | | |_ | < \___ \| '_ ` _ \ / _` | '__| __| | ___/| | | |\___ \ + | |___ | | | | |___| |____ | |__| | |_ \ V V / (_| | |_| | | |__| | . \ ____) | | | | | | (_| | | | |_ | | | |__| |____) | + \_____ |_| |_|______\_____| \_____|\__| \_/\_/ \__,_|\__, | \_____|_|\_\ |_____/|_| |_| |_|\__,_|_| \__| |_| \____/|_____/ + __/ | + |___/ + + """; + + Log.Information(banner); + int terminalNumber = Request.TerminalNumber; - Log.Debug("Cmd InitializeRequestCmd ejecutado - Gk pruebas. Request id: {id}, terminal: {terminal}, recovery: {recovery}", Request.OperatorID, Request.TerminalNumber, Request.Recovery); + Log.Debug("Cmd InitializeRequestCmd ejecutado: OperatorID {OperatorID}, TerminalNumber {TerminalNumber}, Recovery {Recovery}", Request.OperatorID, Request.TerminalNumber, Request.Recovery); // Contactar Smart POS Gk. - var options = new RestClientOptions(UrlLogin) + var options = new RestClientOptions() { + // TODO manejar el timeout como un parámetro de configuración. MaxTimeout = -1, RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true }; - + var client = new RestClient(options); - var request = new RestRequest(UrlLogin, Method.Post); + var request = new RestRequest(_urlLogin, Method.Post); request.AddHeader("Accept", "application/json;Format=GK-PLAIN-JSON"); request.AddHeader("Content-Type", "application/json"); request.AddHeader("Cookie", cookieValue); var datosAutenticacion = new AutenticationReq { - RetailStoreId = retailStoreId, - WorkstationId = workstationId, - WorkstationAddress = workstationAddress, - WorkstationTypeCode = workstationTypeCode, - LoginName = loginName, - Password = password, + RetailStoreId = Entorno.Instancia.get().ConfigGk.RetailStoreId, + WorkstationId = Entorno.Instancia.get().ConfigGk.WorkstationId, + WorkstationAddress = Entorno.Instancia.get().ConfigGk.WorkstationAddress, + WorkstationTypeCode = Entorno.Instancia.get().ConfigGk.WorkstationTypeCode, + LoginName = Entorno.Instancia.get().ConfigGk.LoginName, + Password = Entorno.Instancia.get().ConfigGk.Password, TrainingMode = false, FinalizeControlTransactionFlag = false, UseLoginTypeTechnicalForLoginManager = false, @@ -87,51 +82,54 @@ namespace gatewayGK.ComandosGk { TillDoKey = new TillDoKey { - BusinessUnitGroupID = businessUnitGroupID, - TillID = tillID + BusinessUnitGroupID = Entorno.Instancia.get().ConfigGk.BusinessUnitGroupID, + TillID = Entorno.Instancia.get().ConfigGk.TillID } } }; - + var loginRequestWrapper = new LoginRequestWrapper { LoginRequest = datosAutenticacion }; - string json = JsonSerializer.Serialize(loginRequestWrapper, new JsonSerializerOptions { WriteIndented = true }); + string json = JsonSerializer.Serialize(loginRequestWrapper); request.AddJsonBody(json); + Log.Information(">> GK login: LoginName {LoginName}, RetailStoreId {RetailStoreId}, WorkstationId {WorkstationId}", + datosAutenticacion.LoginName, datosAutenticacion.RetailStoreId, datosAutenticacion.WorkstationId); var response = client.Execute(request); - if (response.IsSuccessful) - { - Log.Debug($"Gk: Autenticate - POST - response {response}"); - - var autenticacionResp = JsonSerializer.Deserialize(response.Content); - - var transactionId = autenticacionResp.primaryEntry.transaction.key.transactionID; - var operatorID = autenticacionResp.primaryEntry.transaction.operatorID; - var posSessionId = autenticacionResp.posSessionId.id; - //var sessionId = autenticacionResp.primaryEntry.transaction.posSessionId.id; - Log.Debug($"Transaction ID: {transactionId}, operatorID: {operatorID} "); - // Salvar Transaccion y id de la session. - //Entorno.Instancia.getDatos().TransactionID = transactionId; - Entorno.Instancia.getDatos().posSessionId = posSessionId; - Entorno.Instancia.getDatos().SeccionId = jSessionId; - // Respuestas a SCO. - var posbcStatus1 = new POSBCStatusEvent(1, TipoMensaje.Event, "INFO", "CONNECTING_TO_POS", "Connecting to POS system"); - var posbcStatus2 = new POSBCStatusEvent(1, TipoMensaje.Event, "INFO", "CONNECTED_TO_POS", "Connected to POS system"); - var posbcStatus3 = new POSBCStatusEvent(1, TipoMensaje.Event, "INFO", "POS_RESOURCES_INITIALIZED", "POS Resources Initialized"); - var inicializacionOk = new InitializeResponse(1, TipoMensaje.Resp, terminalNumber); - respuestaChec = new Respuestas { posbcStatus1, posbcStatus2, posbcStatus3, inicializacionOk }; - } - else + if (response.IsSuccessful == false) { - Log.Error($"Failed to connect to GK web service: {response.StatusCode}"); - Log.Error(response.Content); + // TODO mejorar manejo como en Logout + Log.Error("<< GK login failed: StatusCode {StatusCode}, Content {Content}", + response.StatusCode, response.Content); throw new ApplicationException("Servicio POST 'Login' en error."); } + Log.Debug("<< GK login - StatusCode {StatusCode}", response.StatusCode); + Log.Verbose("<< GK login - Headers {Headers}", response.Headers); + Log.Verbose("<< GK login - Content {Content}", response.Content); + + var autenticacionResp = JsonSerializer.Deserialize(response.Content + ?? throw new ApplicationException("Null content in response to POST method.")) + ?? throw new ApplicationException("authenticationResp object not found in response POST method."); + + var transactionId = autenticacionResp.primaryEntry.transaction.key.transactionID; + var operatorID = autenticacionResp.primaryEntry.transaction.operatorID; + var posSessionId = autenticacionResp.posSessionId.id; + // Salvar Transaccion y id de la session. + Entorno.Instancia.get().posSessionId = posSessionId; + Log.Information("<< GK login:operatorID {operatorID}, transactionId {transactionId}, posSessionId {posSessionId}", + operatorID, transactionId, Entorno.Instancia.get().posSessionId); + + // Respuestas a SCO. + var posbcStatus1 = new POSBCStatusEvent(1, TipoMensaje.Event, "INFO", "CONNECTING_TO_POS", "Connecting to POS system"); + var posbcStatus2 = new POSBCStatusEvent(1, TipoMensaje.Event, "INFO", "CONNECTED_TO_POS", "Connected to POS system"); + var posbcStatus3 = new POSBCStatusEvent(1, TipoMensaje.Event, "INFO", "POS_RESOURCES_INITIALIZED", "POS Resources Initialized"); + var inicializacionOk = new InitializeResponse(1, TipoMensaje.Resp, terminalNumber); + Respuestas respuestaChec = new Respuestas { posbcStatus1, posbcStatus2, posbcStatus3, inicializacionOk }; return respuestaChec; } diff --git a/gatewayGK/Comandosgk/SubtotalCalculationCmdGk.cs b/gatewayGK/Comandosgk/SubtotalCalculationCmdGk.cs new file mode 100644 index 0000000000000000000000000000000000000000..af943a5010b228f4a27f7c7591522cee5b4916a1 --- /dev/null +++ b/gatewayGK/Comandosgk/SubtotalCalculationCmdGk.cs @@ -0,0 +1,323 @@ +using EvaPOS_API_FRAME.DTO.Intercambio; +using EvaPOS_API_FRAME.DTO; +using EvaPOS_API_FRAME.RespuestasXML; +using EvaPosSrvDTO; +using EvaPosSrvResp; +using Serilog; +using System.Globalization; +using RestSharp; +using gatewayGK.POSGk; +using System.Text.Json; +using GatewaySCO; +using Newtonsoft.Json; +using IO.Swagger.Model; +using static IO.Swagger.Model.ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig; + +namespace gatewayGK.ComandosGk +{ + /// + /// Calcular el impuesto de un item. + /// TODO - terminar esto. + /// + public class SubtotalCalculationCmdGk : IComando + { + public string Referencia { get; set; } = "scsns:AddItem"; // <-- Arreglar Referencia + /// + /// DTO con solicitud. + /// + public AddItemRequestDTO Request { get; private set; } // <-- Buscar el correcto. + + /// + /// Url servicio autenticación Gk. + /// + private readonly string _urlRequest = Entorno.Instancia.get().UrlBase + + "/com.gk_software.pos.api.service.subtotal.SubtotalService/processSubtotalCalculation"; + + /// + /// Calcular subtotal. + /// + public Respuestas Ejecutar() + { + Log.Debug("Cmd SubtotalCalculationCmdGk ejecutado. RequestID : {RequestID}", Request.RequestID); + //int requestIdGuardado = RequestIdGuardado(); + POSBCStatusEvent posbcStatus = null; + TransactionStatusEvent transactionStatusEvent = null; + POSReceiptEventHeaderResponse posReceiptEventHeader = null; + POSReceiptEvent pOSReceiptEvent = null; + TotalsEventResponse totalEvent = null; + + // Objeto invocación servicio web, SubtotalServiceApi.cs + ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig configReq = new( + false, //(bool? forceQuantityInput = default(bool?) + 1000000000, //double? pricePositionLimit = default(double?) + true, //bool? pricePositionZeroAllowed = default(bool?) + -1.0, // double? priceTransactionLimit = default(double?) + 100.0, //priceDifferencePercentPositionLimit = default(double?) + 99999999.0, // priceDifferenceAbsolutePositionLimit = default(double?) + PriceDifferenceLimitExceedActionEnum.Authorize, //priceDifferenceLimitExceedAction = default(PriceDifferenceLimitExceedActionEnum) + PriceNegDifferenceLimitExceedActionEnum.Unchecked, // PriceNegDifferenceLimitExceedActionEnum priceNegDifferenceLimitExceedAction = default(PriceNegDifferenceLimitExceedActionEnum), + CloseCurrentEnum.Disabled, // CloseCurrentEnum closeCurrent = default(CloseCurrentEnum), + ClosePreviousEnum.Required, // ClosePreviousEnum closePrevious = default(ClosePreviousEnum), + false, // bool? filterResult = default(bool?), + false, // bool? allowedWithWeight = default(bool?), + false, // bool? allowedWithLength = default(bool?), + false, // bool? allowedWithArea = default(bool?), + false, // bool? allowedWithVolume = default(bool?), + false, // bool? allowedWithMeasure = default(bool?), + 99999, // int? maximumQuantity = default(int?), + 1, // int? minimumQuantity = default(int?), + QuantityInputOrderEnum.BeforeOrAfter, // QuantityInputOrderEnum quantityInputOrder = default(QuantityInputOrderEnum), + PriceInputOrderEnum.BeforeOrAfter, // PriceInputOrderEnum priceInputOrder = default(PriceInputOrderEnum), + QuantityLimitExceedActionEnum.Forbid, // QuantityLimitExceedActionEnum quantityLimitExceedAction = default(QuantityLimitExceedActionEnum), + AmountLimitExceedActionEnum.Forbid, // AmountLimitExceedActionEnum amountLimitExceedAction = default(AmountLimitExceedActionEnum), + 0.0, // double? weightUnitFactor = default(double?), + 0.0, // double? measureUnitFactor = default(double?), + PriceDeviationTypeEnum.All, // PriceDeviationTypeEnum priceDeviationType = default(PriceDeviationTypeEnum) + PriceNegDeviationTypeEnum.All, // PriceNegDeviationTypeEnum priceNegDeviationType = default(PriceNegDeviationTypeEnum), + "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""); + // string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), + // string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), + // string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), + // string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + + // Objeto respuesta servicio web, SubtotalServiceApi.cs + ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult result; + + // Mensajes respuesta a CHEC. + Respuestas respuesta = null; + + //Variables del adaptador de entrada - addItem + int requestId = Request.RequestID; + + // --- cliente rest. + var options = new RestClientOptions() + { + // TODO manejar el timeout como un parámetro de configuración. + MaxTimeout = -1, + RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true + }; + string sessionId = Entorno.Instancia.get().posSessionId; + string cookieValue = $"sessionid={sessionId}"; + + var client = new RestClient(options); + var request = new RestRequest(_urlRequest, Method.Post); + request.AddHeader("Accept", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("Content-Type", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("_pos_session_", sessionId); + request.AddHeader("Cookie", cookieValue); + + // -- Inicializar request. Nada que inicializar. + string jsonReq = JsonConvert.SerializeObject(configReq); + string body = $"{{ \"com.gk_software.pos.api.model.config.process.action.PositionOperationConfig\": {jsonReq} }}"; + + request.AddJsonBody(body); + + Log.Verbose(">> GK processSubtotalCalculation - sessionId {sessionId}", sessionId); + Log.Verbose(">> GK processSubtotalCalculation - body {body}", body); + Log.Information(">> GK processSubtotalCalculation"); + + RestResponse response = client.Execute(request); + System.Net.HttpStatusCode statusCode = response.StatusCode; + int numericStatusCode = (int)statusCode; + + Log.Information("<< GK processSubtotalCalculation - Http.StatusCode {StatusCode}, Http.numericStatusCode {numericStatusCode}", response.StatusCode, numericStatusCode); + Log.Verbose("<< GK processSubtotalCalculation - Headers {Headers}", response.Headers); + Log.Verbose("<< GK processSubtotalCalculation - Content {Content}", response.Content); + + if (response.IsSuccessful == false) + { + if (response.StatusCode == System.Net.HttpStatusCode.InternalServerError) + { + var jsonRespErr = System.Text.Json.JsonSerializer.Deserialize(response.Content + ?? throw new ApplicationException("Null content in response to POST method.")); + + var errorCode = jsonRespErr.GetProperty("errorCode").GetProperty("errorCode").GetString(); + var message = jsonRespErr.GetProperty("errorCode").GetProperty("message").GetString(); + var posItemID = jsonRespErr.GetProperty("additionalContextInfoMap").GetProperty("posItemID").GetString(); + Log.Warning("<< GK processSubtotalCalculation - errorCode {errorCode}, message {message}, posItemID {posItemID}", + errorCode, message, posItemID); + } + Log.Error("<< GK processSubtotalCalculation failed: StatusCode {StatusCode}, Content {Content}", + response.StatusCode, response.Content); + throw new ApplicationException("Servicio POST 'processSubtotalCalculation' en error."); + } + + // --- En este punto, la respuesta es exitosa a nivel de http. + + result = Newtonsoft.Json.JsonConvert.DeserializeObject( + response.Content ?? throw new ApplicationException("Null content in response to POST method.")) + ?? throw new ApplicationException("Null content in response to POST method."); + + // ------------------------------------------------------------------------------------ + // En este punto statusOk == True : el item ingreso a la transacción de venta. + var transactionId = result.PrimaryEntry.Transaction.Key.TransactionID; + var businessUnitGroupID = result.PrimaryEntry.Transaction.Key.BusinessUnitGroupID; + var lineItemsList = result.PrimaryEntry.Transaction.RetailTransactionList[0].RetailTransactionLineItemList; + + // Recorrer lista + Log.Information("<< GK processSubtotalCalculation: transactionId {transactionId}", transactionId); + Log.Information("-------------------------------------------------------------------------------------------------------------------------"); + Log.Information(String.Format("{0,3} | {1,-13} | {2,-20} | {3,-3}| {4,-5} | {5,-12} | {6,-12} | {7,-12} | {8,-12} | {9,3}", + "#", + "positemID", + "receiptText", + "und", + "qntty", + "actlUntPrice", + "extnddAmount", + "extnddDiscnt", + "grndExtdAmnt", + "tax" + )); + Log.Information("-------------------------------------------------------------------------------------------------------------------------"); + bool encabezadoTaxImpreso = false; + foreach (var lineItem in lineItemsList) + { + //if (lineItem.SaleReturnLineItemList == null) continue; + + var retailTransactionLineItemTypeCode = lineItem.RetailTransactionLineItemTypeCode; + Log.Debug("<< GK processSubtotalCalculation: transactionId {transactionId}, retailTransactionLineItemTypeCode {retailTransactionLineItemTypeCode}", + transactionId, + retailTransactionLineItemTypeCode + ); + + switch (retailTransactionLineItemTypeCode) + { + case "SR": + // transaction line item REGISTRO ITEM VENTA + var item = lineItem.SaleReturnLineItemList[0]; + var positemID = item.PositemID; + var itemSequenceNumber = item.Key.RetailTransactionLineItemSequenceNumber; + var receiptText = item.ReceiptText; + var regularUnitPrice = item.RegularUnitPrice; + var actualUnitPrice = item.ActualUnitPrice; + var unitOfMeasureCode = item.UnitOfMeasureCode; + var quantity = item.Quantity; + var extendedAmount = item.ExtendedAmount; + var extendedDiscountAmount = item.ExtendedDiscountAmount; + var grandExtendedAmount = item.GrandExtendedAmount; + var taxLineItem = item.SaleReturnTaxLineItemList[0]; + var taxReceiptPrintCode = taxLineItem.ReceiptPrintCode; + + Log.Debug("<< GK processSubtotalCalculation: transactionId {transactionId}, itemId {itemId}, regularUnitPrice {regularUnitPrice}, quantity {quantity}, unitOfMeasureCode {unitOfMeasureCode}, receiptText {receiptText}", + transactionId, + positemID, + regularUnitPrice, + quantity, + unitOfMeasureCode, + receiptText + ); + + Log.Information(String.Format("{0,3} | {1,13} | {2,-20} | {3,3}| {4,-5:N2} | {5,12:N2} | {6,12:N2} | {7,12:N2} | {8,12:N2} | {9,3}", + itemSequenceNumber, + positemID, + receiptText, + unitOfMeasureCode, + quantity, + actualUnitPrice, + extendedAmount, + extendedDiscountAmount, + grandExtendedAmount, + taxReceiptPrintCode + )); + break; + case "TX": + // transaction line item REGISTRO ITEM IMPUESTO + var taxLineItemList = lineItem.TaxLineItemList; + if (encabezadoTaxImpreso == false) + { + encabezadoTaxImpreso = true; + Log.Information("-------------------------------------------------------------------------------------------------------------------------"); + Log.Information(String.Format("{0,3} | {1,6} | {2,12} | {3,12} | {4,12} | {5,8}", + "tax", + "%", + "taxAmount", + "taxablAmount", + "net", + "taxName" + )); + Log.Information("-------------------------------------------------------------------------------------------------------------------------"); + } + foreach (var taxLine in taxLineItemList) + { + var taxableAmount = taxLine.TaxableAmount; + var taxPercent = taxLine.TaxPercent; + var taxAmount = taxLine.TaxAmount; + var taxAuthorityName = taxLine.TaxAuthorityName; + var receiptPrintCode = taxLine.ReceiptPrintCode; + Log.Information(String.Format("{0,-3} | {1,6} | {2,12:N2} | {3,12:N2} | {4,12:N2} | {5,8}", + receiptPrintCode, + taxPercent, + taxAmount, + taxableAmount, + taxableAmount - taxAmount, + taxAuthorityName + )); + } + break; + default: + break; + } + } + + var retailTransactionList = result.PrimaryEntry.Transaction.RetailTransactionList; + var dtoRetailTransactionTotalList = retailTransactionList[0].RetailTransactionTotalList; + + double? total = 0.0; + double? subtotal = 0.0; + double? subtotalDcto = 0.0; + + // Recorrer lista de totales y sacar valores + foreach (var tipoTotal in dtoRetailTransactionTotalList) + { + var k = tipoTotal.Key; + var valor = tipoTotal.Amount; + switch (k.TransactionTotalTypeCode) + { + case "TOTAL": + total = valor; + break; + case "SUBTOTAL": + subtotal = valor; + break; + case "SUBTOTAL_DISCOUNT": + subtotalDcto = valor; + break; + default: + break; + // throw new ApplicationException("Null content in response to POST method (TransactionTotalTypeCode)."); + } + } + + Entorno.Instancia.get().TransactionID = transactionId; + Log.Information("-------------------------------------------------------------------------------------------------------------------------"); + Log.Information(String.Format("\t\tSUBTOTAL: {0,12:N2} -- SUBTOTAL_DISCOUNT: {1,12:N2} -- TOTAL: {2,12:N2}", + subtotal, subtotalDcto, total)); + Log.Information("-------------------------------------------------------------------------------------------------------------------------"); + + //Valores que se mandan en chec + var date = DateTime.Now.ToString("dd/MM/yyyy"); + CultureInfo culture = new CultureInfo("en-US"); + culture.DateTimeFormat.AMDesignator = "AM"; + culture.DateTimeFormat.PMDesignator = "PM"; + var time = DateTime.Now.ToString("hh:mm tt", culture); + + transactionStatusEvent = new TransactionStatusEvent(1, TipoMensaje.Event, requestId, "TRANSACTION_START", 1, "regularSale", "sales", date, time); + pOSReceiptEvent = new POSReceiptEvent(1, TipoMensaje.Event, requestId, "Customer", 0, "Body", requestId, 1, "center", "LineItem", "ItemSale", "XXX", "Add"); + posReceiptEventHeader = new POSReceiptEventHeaderResponse(1, TipoMensaje.Event, requestId); + totalEvent = new TotalsEventResponse(1, TipoMensaje.Event, requestId, "", "", "", "", "0.00", "0.00", "0.00", "0.00", "0.00", 1, 0, "0.00", "0.00"); + respuesta = new Respuestas { transactionStatusEvent, posReceiptEventHeader, pOSReceiptEvent, totalEvent }; + + return respuesta; + } + public IComando CreaCopia() + { + return (AddItemRequestCmdGk)this.MemberwiseClone(); + } + + public void CargaDTO(DTOBase addItemRequestDTO) + { + Request = (AddItemRequestDTO)addItemRequestDTO; + } + } +} diff --git a/gatewayGK/Comandosgk/TerminateRequestCmdGk.cs b/gatewayGK/Comandosgk/TerminateRequestCmdGk.cs new file mode 100644 index 0000000000000000000000000000000000000000..c8208a91c8f3da4df0153bc0dd691589da1c6a89 --- /dev/null +++ b/gatewayGK/Comandosgk/TerminateRequestCmdGk.cs @@ -0,0 +1,116 @@ +using EvaPOS_API_FRAME.DTO; +using EvaPOS_API_FRAME.RespuestasXML.TerminateLane; +using EvaPosSrvDTO; +using EvaPosSrvResp; +using Serilog; +using GatewaySCO; +using RestSharp; +using SCOGateway.POSGk; +using System.Text.Json; + +namespace gatewayGK.ComandosGk +{ + /// + /// Comando para cerrar la lane + /// + public class TerminateRequestCmdGk : IComando + { + public string Referencia { get; set; } = "scsns:Terminate"; + /// + /// DTO con solicitud. + /// + public TerminateRequestDTO Destroy { get; private set; } + private string _urlLogout = Entorno.Instancia.get().UrlBase + + "/com.gk_software.pos.api.service.session.PosSessionService/logout"; + + /// + /// Procesa y responde el evento Terminar. + /// + public Respuestas Ejecutar() + { + Log.Debug("Cmd TerminateRequestDTO ejecutado. TerminateRequest : {TerminateRequest}", Destroy.DestroySession); + var requestId = Destroy.DestroySession; + + // --- cliente rest. + string sessionId = Entorno.Instancia.get().posSessionId; + var options = new RestClientOptions() + { + // TODO manejar el timeout como un parámetro de configuración. + MaxTimeout = -1, + RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true + }; + string cookieValue = $"sessionid={sessionId}"; + var request = new RestRequest(_urlLogout, Method.Post); + request.AddHeader("Accept", "application/json;Format=GK-PLAIN-JSON"); + request.AddHeader("Content-Type", "application/json"); + request.AddHeader("_pos_session_", sessionId); + + var logoutReq = new LogoutReq + { + PosSessionId = new PosSessionId + { + id = sessionId + } + }; + + string json = JsonSerializer.Serialize(logoutReq); + Log.Verbose(">> GK logout - body {json}", json); + request.AddJsonBody(json); + var client = new RestClient(options); + Log.Information(">> GK logout - posSessionId {posSessionId}", sessionId); + var response = client.Execute(request); + Log.Debug("<< GK Logout - StatusCode {StatusCode}", response.StatusCode); + Log.Verbose("<< GK Logout - Headers {Headers}", response.Headers); + Log.Verbose("<< GK Logout - Content {Content}", response.Content); + + if (response.IsSuccessful == false) + { + // TODO - interpretar la respuesta par amostrar el mensaje de error, ejemplo: + // {"errorCode":{"errorCode":"GKR-POS-000001","message":"Invalid session","messageKey":"com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_INVALID_SESSION","arguments":[]},"timestamp":"2023-08-04T07:16:57.066","additionalContextInfoMap":{}} + Log.Error("<< GK logout failed: StatusCode {StatusCode}, Content {Content}", + response.StatusCode, response.Content); + throw new ApplicationException("Servicio POST 'Logout' en error."); + } + + // var logoutResp = JsonSerializer.Deserialize(response.Content + // ?? throw new ApplicationException("Null content in response to POST method.")) + // ?? throw new ApplicationException("logoutResp object not found in response POST method."); + + // var success = logoutResp.success; + + // ---- Usando JsonElement + var jsonElement = System.Text.Json.JsonSerializer.Deserialize(response.Content + ?? throw new ApplicationException("Null content in response to POST method.")); + + var transactionID = jsonElement + .GetProperty("primaryEntry") + .GetProperty("transaction") + .GetProperty("key") + .GetProperty("transactionID") + .GetString(); + var success = jsonElement + .GetProperty("success") + .GetBoolean(); + + if (success) + Entorno.Instancia.get().posSessionId = ""; + + Log.Information("<< GK logout - success {success}, transactionID {transactionID}", + success, transactionID); + + TerminateResponse terminateResponse = new TerminateResponse(1, TipoMensaje.Resp, requestId); + return (new Respuestas { terminateResponse }); + } + + public IComando CreaCopia() + { + return (TerminateRequestCmdGk)this.MemberwiseClone(); + } + + public void CargaDTO(DTOBase terminateRequest) + { + Destroy = (TerminateRequestDTO)terminateRequest; + } + + } +} diff --git a/gatewayGK/DTO/AddItemRequestDTO_.cs b/gatewayGK/DTO/AddItemRequestDTO.cs similarity index 91% rename from gatewayGK/DTO/AddItemRequestDTO_.cs rename to gatewayGK/DTO/AddItemRequestDTO.cs index 3342953c0040e12643f1f114e2e35e9a3bfc75b4..250e1a7a505345f95a7879eaa864944de4fe4cfc 100644 --- a/gatewayGK/DTO/AddItemRequestDTO_.cs +++ b/gatewayGK/DTO/AddItemRequestDTO.cs @@ -42,12 +42,12 @@ namespace EvaPOS_API_FRAME.DTO } [XmlRoot(ElementName = "AddItemRequest")] - public class AddItemRequest : DTOBase + public class AddItemRequestDTO : DTOBase { - public AddItemRequest(int idSesion, TipoMensaje tipo) : base(idSesion, tipo) + public AddItemRequestDTO(int idSesion, TipoMensaje tipo) : base(idSesion, tipo) { } - public AddItemRequest() + public AddItemRequestDTO() { } diff --git a/gatewayGK/GuiaProgramacion.md b/gatewayGK/GuiaProgramacion.md index cdcfad12960de72ad0c081ee5c41902450f71ec2..f31211da8207ab2bbab464e2721a463deec8452f 100644 --- a/gatewayGK/GuiaProgramacion.md +++ b/gatewayGK/GuiaProgramacion.md @@ -26,7 +26,9 @@ En la siguiente lista se presentan los parámetros de configuración definidos. ### Programación de la configuración -La clase `Config.cs` mantienen los valores permitidos a usar como parámetros predefinidos en el archivo de configuración de la aplicación. +La clase `Config.cs` mantienen los valores permitidos a usar como parámetros predefinidos en el archivo de configuración de la aplicación. + +Cada nuevo parámetro de configuración debe ser agregado a esta clase. Otras secciones del programa pueden requerir validar los valores recibidos por la configuración y según estos valores tomar acción. La clase `Config` mantiene los valores permitidos. @@ -49,7 +51,9 @@ La siguiente es la secuencia de pasos que sigue el programa para procesar una so Para soportar un nuevo tipo de POS, los pasos son: 1. Definir parámetro de configuración que indica el tipo de POS. En la clase `Constantes.cs` crear una constante con el valor esperado en el archivo de configuración `appsettings.json`, por ejemplo `gk_test`. -2. Editar el archivo `appsettings.json` y asignar al parámetro `GatewayConfig`:`POS` el valor que identifica el tipo de POS, por ejemplo `gk_test`. + 1. Si es necesario, crear una clase con parémtros particulares de configuración para la nueva POS, por ejemplo, una clase `ConfigGk` para los parémtros propios de la POS Gk. + 2. Crear en el archivo de configuración una sección para estos parámetros de configuración. +2. Editar el archivo `appsettings.json` y asignar al parámetro `GatewayConfig`:`POS` el valor que identifica el tipo de POS, por ejemplo `gk_test`. Agregar la sección particular de la nueva POS si es el caso, según se indica en el paso anterior. 3. Crear una clase factory de directorio de comandos implementando `IDispensaDirectorioCmds`. Nombrar la clase `DispensaDirectorioCmds.cs`. 4. Editar la clase factory `DirectorioCmdsFactory` y agregar el nuevo dispensador al método `CreaDirectorioCmds` para que según el valor del parámetro de configuración seleccione el factory adecuado. A las clases factory de directorio de comandos se pasa como parámetro el objeto tipo `Config` para brindar acceso a las clases factory a parámetros en el archivo de configuración que puedan ser requeridos. 5. Crear una carpeta para almacenar las clases de comando. Llamar la carpeta `Comandos`, por ejemplo `ComandosGkPruebas`. diff --git a/gatewayGK/Infraestructura/ConfigGk.cs b/gatewayGK/Infraestructura/ConfigGk.cs new file mode 100644 index 0000000000000000000000000000000000000000..e74caad1b37abdd886f8b98986b564e6ad551a68 --- /dev/null +++ b/gatewayGK/Infraestructura/ConfigGk.cs @@ -0,0 +1,34 @@ +/// +/// Clase que representa los parámetros de configuración de la aplicación +/// registrados en el archivo appsettings.json asociados a Gk Smart POS. +/// +public sealed class ConfigGk +{ + public required string IpGkSmartPOS { get; set; } = "127.0.0.1"; + public required int PortGkSmartPOS { get; set; } = 8443; + public required string TenantId { get; set; } = ""; + public required string RetailStoreId { get; set; } = ""; + public required string WorkstationId { get; set; } = ""; + public required string WorkstationAddress { get; set; } = ""; + public required string WorkstationTypeCode { get; set; } = ""; + public required string LoginName { get; set; } = ""; + public required string Password { get; set; } = ""; + public required string BusinessUnitGroupID { get; set; } = ""; + public required string TillID { get; set; } = ""; + + public override string ToString() + { + return base.ToString() + " - " + + $"IpGkSmartPOS: '{IpGkSmartPOS}', " + + $"PortGkSmartPOS: '{PortGkSmartPOS}', " + + $"TenantId: '{TenantId}', " + + $"RetailStoreId: '{RetailStoreId}', " + + $"WorkstationId: '{WorkstationId}', " + + $"WorkstationAddress: '{WorkstationAddress}', " + + $"WorkstationTypeCode: '{WorkstationTypeCode}', " + + $"LoginName: '{LoginName}', " + + $"Password: '{Password}', " + + $"BusinessUnitGroupID: '{BusinessUnitGroupID}', " + + $"TillID: '{TillID}'"; + } +} \ No newline at end of file diff --git a/gatewayGK/Infraestructura/DirectorioCmdsFactory.cs b/gatewayGK/Infraestructura/DirectorioCmdsFactory.cs index e18f3e224ed97c0575dcd28ce40741a6fe59b3d0..eee50aad0967c8e7085e60e93b9b896c850fd9de 100644 --- a/gatewayGK/Infraestructura/DirectorioCmdsFactory.cs +++ b/gatewayGK/Infraestructura/DirectorioCmdsFactory.cs @@ -6,18 +6,18 @@ using GatewaySCO; /// public class DirectorioCmdsFactory { - public static CreaDirectorioCmds CreaDirectorio(Config config) + public static CreaDirectorioCmds CreaDirectorio(string tipoPOS) { - switch (config.POS) + switch (tipoPOS) { case "pruebas": - return DispensaDirectorioCmdsPruebas.Dispensa(config); + return DispensaDirectorioCmdsPruebas.Dispensa(); case "evapos": - return DispensaDirectorioCmdsEvaPOS.Dispensa(config); + return DispensaDirectorioCmdsEvaPOS.Dispensa(); case "gk": - return DispensaDirectorioCmdsGK.Dispensa(config); + return DispensaDirectorioCmdsGK.Dispensa(); case "gk_test": - return DispensaDirectorioCmdsGKPruebas.Dispensa(config); + return DispensaDirectorioCmdsGKPruebas.Dispensa(); default: throw new ArgumentException("TipoPOS no válido", "tipoPOS"); } diff --git a/gatewayGK/Infraestructura/DispensaDirectorioCmdsEvaPOS.cs b/gatewayGK/Infraestructura/DispensaDirectorioCmdsEvaPOS.cs index 9690ab3970ab0a992990dcad09a60a5cf9d473c2..23cbafe0fd2fb88a3cad31d5502af392e49e8189 100644 --- a/gatewayGK/Infraestructura/DispensaDirectorioCmdsEvaPOS.cs +++ b/gatewayGK/Infraestructura/DispensaDirectorioCmdsEvaPOS.cs @@ -11,7 +11,7 @@ public class DispensaDirectorioCmdsEvaPOS : IDispensaDirectorioCmds /// Retorna directorio de comandos instanciado y poblado de /// comandos. /// - public static CreaDirectorioCmds Dispensa(Config config) + public static CreaDirectorioCmds Dispensa() { Log.Information("Instancia comandos EvaPOS."); throw new NotImplementedException(); diff --git a/gatewayGK/Infraestructura/DispensaDirectorioCmdsGK.cs b/gatewayGK/Infraestructura/DispensaDirectorioCmdsGK.cs index b73431eee6e5eca2c6de37cd049980db6d2ee15d..be548382c399a79bc8d446fda85dda4c3232e90b 100644 --- a/gatewayGK/Infraestructura/DispensaDirectorioCmdsGK.cs +++ b/gatewayGK/Infraestructura/DispensaDirectorioCmdsGK.cs @@ -12,7 +12,7 @@ public class DispensaDirectorioCmdsGK : IDispensaDirectorioCmds /// Retorna directorio de comandos instanciado y poblado de /// comandos. /// - public static CreaDirectorioCmds Dispensa(Config config) + public static CreaDirectorioCmds Dispensa() { Log.Information("Instancia comandos de GK Smart POS."); return new IniciaDirectorioCmds() diff --git a/gatewayGK/Infraestructura/DispensaDirectorioCmdsGKPruebas.cs b/gatewayGK/Infraestructura/DispensaDirectorioCmdsGKPruebas.cs index 4faa8587b68d97bb468aa6b6692e90324ddd97c9..ce57d5f7eeb6585f7289c9c08ea5ec874bd8c9c9 100644 --- a/gatewayGK/Infraestructura/DispensaDirectorioCmdsGKPruebas.cs +++ b/gatewayGK/Infraestructura/DispensaDirectorioCmdsGKPruebas.cs @@ -12,13 +12,9 @@ public class DispensaDirectorioCmdsGKPruebas : IDispensaDirectorioCmds /// Retorna directorio de comandos instanciado y poblado de /// comandos. /// - public static CreaDirectorioCmds Dispensa(Config config) + public static CreaDirectorioCmds Dispensa() { Log.Information("Instancia comandos de GK de prueba."); - // Inicializa el entorno para los comandos. - EntornoGK e = new EntornoGK(); - e.Language = config.Language; - Entorno.Instancia.setDatos(e); return new IniciaDirectorioCmds() .AgregaCmd(new Gk.InitializeRequestCmd()) diff --git a/gatewayGK/Infraestructura/DispensaDirectorioCmdsPrueba.cs b/gatewayGK/Infraestructura/DispensaDirectorioCmdsPrueba.cs index 6707174ea370a5a9a64cffac9f9765c94e43fc8d..21b03e6c7a565e6bf1c9a699d2c812ec1a03d0c1 100644 --- a/gatewayGK/Infraestructura/DispensaDirectorioCmdsPrueba.cs +++ b/gatewayGK/Infraestructura/DispensaDirectorioCmdsPrueba.cs @@ -11,7 +11,7 @@ public class DispensaDirectorioCmdsPruebas : IDispensaDirectorioCmds /// Retorna directorio de comandos instanciado y poblado de /// comandos. /// - public static CreaDirectorioCmds Dispensa(Config config) + public static CreaDirectorioCmds Dispensa() { Log.Information("Instancia comandos de prueba."); return new IniciaDirectorioCmds() diff --git a/gatewayGK/Infraestructura/Entorno.cs b/gatewayGK/Infraestructura/Entorno.cs index b6ab2fe6d62605552d95c417330baf4cbb6d2388..de69d4464ce985cdb4d5b4b2bb4f004bd5f1907b 100644 --- a/gatewayGK/Infraestructura/Entorno.cs +++ b/gatewayGK/Infraestructura/Entorno.cs @@ -32,7 +32,7 @@ namespace GatewaySCO /// /// Obtener datos de entorno. /// - public T getDatos() + public T get() { if (_datos == null) { @@ -44,7 +44,7 @@ namespace GatewaySCO /// /// Fijar datos de entorno. /// - public void setDatos(T datos) + public void set(T datos) { _datos = datos; } diff --git a/gatewayGK/Infraestructura/IDispensaDirectorioCmds.cs b/gatewayGK/Infraestructura/IDispensaDirectorioCmds.cs index 05faaa0829df5de267228b122cc0d3cd53b0d07c..9ebd14b28a90c89c28e656f111272cf12226e67b 100644 --- a/gatewayGK/Infraestructura/IDispensaDirectorioCmds.cs +++ b/gatewayGK/Infraestructura/IDispensaDirectorioCmds.cs @@ -7,5 +7,5 @@ /// /// Dispensa un directorio de comandos inicializados. /// - static abstract CreaDirectorioCmds Dispensa(Config config); + static abstract CreaDirectorioCmds Dispensa(); } \ No newline at end of file diff --git a/gatewayGK/Infraestructura/EvaPosUtil.cs b/gatewayGK/Infraestructura/Util.cs similarity index 73% rename from gatewayGK/Infraestructura/EvaPosUtil.cs rename to gatewayGK/Infraestructura/Util.cs index 8ef4a22768fd86b1447daeb9d9ff32f3ab49114a..36ef902dfc8d8fc50b1af807080426fb1045fbf6 100644 --- a/gatewayGK/Infraestructura/EvaPosUtil.cs +++ b/gatewayGK/Infraestructura/Util.cs @@ -1,10 +1,11 @@ +using System.Text.RegularExpressions; using System.Xml; namespace GatewaySCO { /// - /// Clase Utilistarios para operaciones sobre mensajes. + /// Clase Utilitarios para operaciones sobre mensajes. /// public class Util { @@ -53,7 +54,7 @@ namespace GatewaySCO /// /// Lee valor long de entidad XML indicada por xpath.. /// - public static long LeeLongEnNodo(XmlNode nodo,string xpath) + public static long LeeLongEnNodo(XmlNode nodo, string xpath) { long valor = 0; XmlNode? xnodo = nodo.SelectSingleNode(xpath); @@ -108,5 +109,32 @@ namespace GatewaySCO throw new Exception($"Nodo '{xpath}' con contenido nulo."); return valor; } + + /// + /// Remplaza contenido entre caracteres <| y |> por valores pasados como parémtros, en orden. + /// Si el número de conenidos y de parámetros no corresponde, lanza excepción. + /// Ejemplo: "Texto con <|o1|> para remplazar, junto con <|o2|>", si o1=123 y o2=true + /// da como resultado: "Texto con 123 para remplazar, junto con true" + /// + public static string ReplaceValuesInString(string inputString, params object[] values) + { + string pattern = @"<\|([^|]+)\|>"; + Regex regex = new Regex(pattern); + + MatchEvaluator evaluator = (match) => + { + string variableName = match.Groups[1].Value; + int index = int.Parse(variableName.Substring(1)); + if (index >= 0 && index < values.Length) + { + return Convert.ToString(values[index]) + ?? throw new ArgumentException($"ReplaceValuesInString: values {values}, index {index}"); + } + return match.Value; + }; + + string result = regex.Replace(inputString, evaluator); + return result; + } } } \ No newline at end of file diff --git a/gatewayGK/NotasCambios.md b/gatewayGK/NotasCambios.md new file mode 100644 index 0000000000000000000000000000000000000000..6207c4f06881ec9f10280e71344669bf334066ec --- /dev/null +++ b/gatewayGK/NotasCambios.md @@ -0,0 +1,12 @@ +# Notas cambios al programa + +## 2 Agosto 2023 + +- Url base de Gk Smart POS se mueve al entorno. +- Se crea clase ConfigGk. + +## 4 agosto + +- Manejar errores servicios web, ejemplo: + {"errorCode":{"errorCode":"GKR-POS-000001","message":"Invalid session","messageKey":"com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_INVALID_SESSION","arguments":[]},"timestamp":"2023-08-04T07:16:57.066","additionalContextInfoMap":{}} +- El manejo de headers, la cookie no es obligatoria, para pasar la sessión este es obligatorio: request.AddHeader("_pos_session_", sessionId); \ No newline at end of file diff --git a/gatewayGK/POSGk/AddItemRequ.cs b/gatewayGK/POSGk/AddItemRequ.cs index 1e995c275846d2357a3a46ce509737e69fdc59c1..1164fc4412a3b24c34569c76603d761d865da519 100644 --- a/gatewayGK/POSGk/AddItemRequ.cs +++ b/gatewayGK/POSGk/AddItemRequ.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace gatewayGK.POSGk +namespace gatewayGK.POSGk { using System.Text.Json.Serialization; diff --git a/gatewayGK/POSGk/AuthenticateResp.cs b/gatewayGK/POSGk/AuthenticateResp.cs index 71c4ce4411ab3d3c35ffa290ddcef648d1907456..4da30815bf96e6098738041a223f89e17e1e1c16 100644 --- a/gatewayGK/POSGk/AuthenticateResp.cs +++ b/gatewayGK/POSGk/AuthenticateResp.cs @@ -5,45 +5,37 @@ namespace SCOGateway.POSGk { public class AuthenticateResp { - [JsonPropertyName("primaryEntry")] - public PrimaryEntry primaryEntry { get; set; } - [JsonPropertyName("posSessionId")] - public PosSessionId posSessionId { get; set; } + [JsonPropertyName("primaryEntry")] public PrimaryEntry primaryEntry { get; set; } + [JsonPropertyName("posSessionId")] public PosSessionId posSessionId { get; set; } } public class PosSessionId { - [JsonPropertyName("id")] - public string id { get; set; } + [JsonPropertyName("id")] public string id { get; set; } } public class PrimaryEntry { - [JsonPropertyName("transaction")] - public Transaction transaction { get; set; } + [JsonPropertyName("transaction")] public Transaction transaction { get; set; } } public class Transaction { - [JsonPropertyName("key")] - public Key key { get; set; } - [JsonPropertyName("operatorID")] - public string operatorID { get; set; } - [JsonPropertyName("posSessionId")] - public Id posSessionId { get; set; } + [JsonPropertyName("key")] public Key key { get; set; } + [JsonPropertyName("operatorID")] public string operatorID { get; set; } + [JsonPropertyName("posSessionId")] public Id posSessionId { get; set; } + [JsonPropertyName("success")] public bool success { get; set; } } public class Id { [JsonPropertyName("id")] - public string id { get; set; } + public string id { get; set; } } public class Key { - [JsonPropertyName("transactionID")] - public string transactionID { get; set; } - [JsonPropertyName("businessUnitGroupID")] - public string businessUnitGroupID { get; set; } + [JsonPropertyName("transactionID")] public string transactionID { get; set; } + [JsonPropertyName("businessUnitGroupID")] public string businessUnitGroupID { get; set; } } } \ No newline at end of file diff --git a/gatewayGK/POSGk/EntornoGK.cs b/gatewayGK/POSGk/EntornoGK.cs index 87c3269778b8d7b68a6021883b3cb8dad3e1dc4b..e29a12b5a83f25a6d8f2313be4660ee1a4be035e 100644 --- a/gatewayGK/POSGk/EntornoGK.cs +++ b/gatewayGK/POSGk/EntornoGK.cs @@ -17,11 +17,42 @@ public class EntornoGK public string TransactionID { get; set; } = ""; - public string SeccionId { get; set; } = ""; + public string SessionId { get; set; } = ""; public string posSessionId { get; set; } = ""; + /// + /// Gk - BusinessUnitGroupID requerido para request a Smart Pos en transacciones + /// asociadas a venta. + /// + public string BusinessUnitGroupID { get; set; } = ""; /// /// GK Language. /// public string Language { get; set; } = "en"; + + private string? _urlBase; + private ConfigGk? _configGk; + + /// + /// Parámetros de configuración Gk Smart POS. + /// Inicializados desde el archivo de configuración. + /// + public ConfigGk ConfigGk + { + get => _configGk ?? throw new ApplicationException("ConfigGk no definido."); + set + { + _configGk = value; + _urlBase = $"https://{value.IpGkSmartPOS}:{value.PortGkSmartPOS}/smartpos-service/tenants/{value.TenantId}/services"; + } + } + + /// + /// Url base de servicios Gk Smart POS. + /// + public string UrlBase + { + get => _urlBase ?? throw new ApplicationException("UrlBase no inicializada."); + private set { } + } } \ No newline at end of file diff --git a/gatewayGK/POSGk/LogoutReq.cs b/gatewayGK/POSGk/LogoutReq.cs new file mode 100644 index 0000000000000000000000000000000000000000..7bb401b6c88926416ca925a287cb0aacf605aaa4 --- /dev/null +++ b/gatewayGK/POSGk/LogoutReq.cs @@ -0,0 +1,16 @@ +using System.Text.Json.Serialization; + +namespace SCOGateway.POSGk +{ + /// + /// Registro para Logout a cliente Smart POS GK. + /// + public record LogoutReq + { + [JsonPropertyName("posSessionId")] + public PosSessionId PosSessionId { get; set; } + + [JsonPropertyName("posGroupOperatorActive")] + public bool PosGroupOperatorActive { get; set; } = true; + } +} \ No newline at end of file diff --git a/gatewayGK/POSGk/LogoutResp.cs b/gatewayGK/POSGk/LogoutResp.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d6bc0422af77db89e65579228706ca0c8fd826f --- /dev/null +++ b/gatewayGK/POSGk/LogoutResp.cs @@ -0,0 +1,13 @@ +using System.Text.Json.Serialization; + +namespace SCOGateway.POSGk +{ + /// + /// Registro para Logout a cliente Smart POS GK. + /// + public record LogoutResp + { + [JsonPropertyName("primaryEntry")] public PrimaryEntry primaryEntry { get; set; } + public bool success { get; set; } + } +} \ No newline at end of file diff --git a/gatewayGK/POSGk/RegisterLineItemReq.cs b/gatewayGK/POSGk/RegisterLineItemReq.cs new file mode 100644 index 0000000000000000000000000000000000000000..39b268ee969e2a98c220988a133579a0bd84dccf --- /dev/null +++ b/gatewayGK/POSGk/RegisterLineItemReq.cs @@ -0,0 +1,102 @@ +namespace gatewayGK.POSGk +{ + public record operationConfiguration + { + public bool forceQuantityInput { get; init; } = false; + public int pricePositionLimit { get; init; } = 10000; // TODO - controlar este valor, como sacarlo del Smart POS. + public bool pricePositionZeroAllowed { get; init; } = true; + public int priceTransactionLimit { get; init; } = -1; + public int priceDifferencePercentPositionLimit { get; init; } = 100; + public int priceDifferenceAbsolutePositionLimit { get; init; } = 999999; + public string priceDifferenceLimitExceedAction { get; init; } = "Warn"; + public string priceNegDifferenceLimitExceedAction { get; init; } = "Warn"; + public string closeCurrent { get; init; } = "Required"; + public string closePrevious { get; init; } = "Required"; + public bool filterResult { get; init; } = true; + public bool allowedWithWeight { get; init; } = true; + public bool allowedWithLength { get; init; } = true; + public bool allowedWithArea { get; init; } = true; + public bool allowedWithVolume { get; init; } = true; + public bool allowedWithMeasure { get; init; } = true; + public int maximumQuantity { get; init; } = 999999; + public int minimumQuantity { get; init; } = 1; + public string quantityInputOrder { get; init; } = "BeforeOrAfter"; + public string priceInputOrder { get; init; } = "BeforeOrAfter"; + public string quantityLimitExceedAction { get; init; } = "Warn"; + public string amountLimitExceedAction { get; init; } = "Warn"; + public int weightUnitFactor { get; init; } = 0; + public int measureUnitFactor { get; init; } = 0; + public string priceDeviationType { get; init; } = "All"; + public string priceNegDeviationType { get; init; } = "All"; + public string xXCustom08 { get; init; } = "string"; + public string xXCustom10 { get; init; } = "string"; + public string xXCustom09 { get; init; } = "string"; + public string xXCustom07 { get; init; } = "string"; + public string xXCustom05 { get; init; } = "string"; + public string xXCustom06 { get; init; } = "string"; + public string xXCustom11 { get; init; } = "string"; + public string xXCustom12 { get; init; } = "string"; + public string xXCustom13 { get; init; } = "string"; + public string xXCustom14 { get; init; } = "string"; + public string xXCustom15 { get; init; } = "string"; + public string xXCustom03 { get; init; } = "string"; + public string xXCustom02 { get; init; } = "string"; + public string xXCustom04 { get; init; } = "string"; + public string xXCustom01 { get; init; } = "string"; + } + + public record itemEntryConfig + { + public bool forceQuantityInput { get; init; } = true; + public int pricePositionLimit { get; init; } = 0; + public bool pricePositionZeroAllowed { get; init; } = true; + public int priceTransactionLimit { get; init; } = 0; + public int priceDifferencePercentPositionLimit { get; init; } = 0; + public int priceDifferenceAbsolutePositionLimit { get; init; } = 0; + public string priceDifferenceLimitExceedAction { get; init; } = "Warn"; + public string priceNegDifferenceLimitExceedAction { get; init; } = "Warn"; + public string closeCurrent { get; init; } = "Required"; + public string closePrevious { get; init; } = "Required"; + public bool filterResult { get; init; } = true; + public bool allowedWithWeight { get; init; } = true; + public bool allowedWithLength { get; init; } = true; + public bool allowedWithArea { get; init; } = true; + public bool allowedWithVolume { get; init; } = true; + public bool allowedWithMeasure { get; init; } = true; + public int maximumQuantity { get; init; } = 0; + public int minimumQuantity { get; init; } = 0; + public string quantityInputOrder { get; init; } = "BeforeOrAfter"; + public string priceInputOrder { get; init; } = "BeforeOrAfter"; + public string quantityLimitExceedAction { get; init; } = "Warn"; + public int weightUnitFactor { get; init; } = 0; + public int measureUnitFactor { get; init; } = 0; + public string priceDeviationType { get; init; } = "All"; + public string priceNegDeviationType { get; init; } = "All"; + public string xXCustom01 { get; init; } = "string"; + public string xXCustom02 { get; init; } = "string"; + public string xXCustom03 { get; init; } = "string"; + public string xXCustom04 { get; init; } = "string"; + public string xXCustom05 { get; init; } = "string"; + public string xXCustom06 { get; init; } = "string"; + public string xXCustom07 { get; init; } = "string"; + public string xXCustom08 { get; init; } = "string"; + public string xXCustom09 { get; init; } = "string"; + public string xXCustom10 { get; init; } = "string"; + public string xXCustom11 { get; init; } = "string"; + public string xXCustom12 { get; init; } = "string"; + public string xXCustom13 { get; init; } = "string"; + public string xXCustom14 { get; init; } = "string"; + public string xXCustom15 { get; init; } = "string"; + } + + public record registerLineItemReq + { + public operationConfiguration operationConfiguration { get; init; } = new operationConfiguration(); + public string barcode { get; init; } = ""; + public bool salesRestrictionsCheckNeeded { get; init; } = false; + public string priceVariant { get; init; } = "Actual"; + public itemEntryConfig itemEntryConfig { get; init; } = new itemEntryConfig(); + public string entryMethodCode { get; init; } = "Keyed"; + public bool keyedOnline { get; init; } = true; + } +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/ApiClient.cs_ b/gatewayGK/POSGkSwaggerModel/Client/ApiClient.cs_ new file mode 100644 index 0000000000000000000000000000000000000000..ba48325ee299f52647ba4700e0a34af32f03f4cc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/ApiClient.cs_ @@ -0,0 +1,530 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.Text.RegularExpressions; +using System.IO; +using System.Web; +using System.Linq; +using System.Net; +using System.Text; +using Newtonsoft.Json; +using RestSharp; + +namespace IO.Swagger.Client +{ + /// + /// API client is mainly responsible for making the HTTP call to the API backend. + /// + public partial class ApiClient + { + private JsonSerializerSettings serializerSettings = new JsonSerializerSettings + { + ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor + }; + + /// + /// Allows for extending request processing for generated code. + /// + /// The RestSharp request object + partial void InterceptRequest(IRestRequest request); + + /// + /// Allows for extending response processing for generated code. + /// + /// The RestSharp request object + /// The RestSharp response object + partial void InterceptResponse(IRestRequest request, IRestResponse response); + + /// + /// Initializes a new instance of the class + /// with default configuration. + /// + public ApiClient() + { + Configuration = IO.Swagger.Client.Configuration.Default; + RestClient = new RestClient("https://localhost:8080/pos-service/tenants//services/_**"); + } + + /// + /// Initializes a new instance of the class + /// with default base path (https://localhost:8080/pos-service/tenants//services/_**). + /// + /// An instance of Configuration. + public ApiClient(Configuration config) + { + Configuration = config ?? IO.Swagger.Client.Configuration.Default; + + RestClient = new RestClient(Configuration.BasePath); + } + + /// + /// Initializes a new instance of the class + /// with default configuration. + /// + /// The base path. + public ApiClient(String basePath = "https://localhost:8080/pos-service/tenants//services/_**") + { + if (String.IsNullOrEmpty(basePath)) + throw new ArgumentException("basePath cannot be empty"); + + RestClient = new RestClient(basePath); + Configuration = Client.Configuration.Default; + } + + /// + /// Gets or sets the default API client for making HTTP calls. + /// + /// The default API client. + [Obsolete("ApiClient.Default is deprecated, please use 'Configuration.Default.ApiClient' instead.")] + public static ApiClient Default; + + /// + /// Gets or sets an instance of the IReadableConfiguration. + /// + /// An instance of the IReadableConfiguration. + /// + /// helps us to avoid modifying possibly global + /// configuration values from within a given client. It does not guarantee thread-safety + /// of the instance in any way. + /// + public IReadableConfiguration Configuration { get; set; } + + /// + /// Gets or sets the RestClient. + /// + /// An instance of the RestClient + public RestClient RestClient { get; set; } + + // Creates and sets up a RestRequest prior to a call. + private RestRequest PrepareRequest( + String path, RestSharp.Method method, List> queryParams, Object postBody, + Dictionary headerParams, Dictionary formParams, + Dictionary fileParams, Dictionary pathParams, + String contentType) + { + var request = new RestRequest(path, method); + + // add path parameter, if any + foreach(var param in pathParams) + request.AddParameter(param.Key, param.Value, ParameterType.UrlSegment); + + // add header parameter, if any + foreach(var param in headerParams) + request.AddHeader(param.Key, param.Value); + + // add query parameter, if any + foreach(var param in queryParams) + request.AddQueryParameter(param.Key, param.Value); + + // add form parameter, if any + foreach(var param in formParams) + request.AddParameter(param.Key, param.Value); + + // add file parameter, if any + foreach(var param in fileParams) + { + request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentType); + } + + if (postBody != null) // http body (model or byte[]) parameter + { + request.AddParameter(contentType, postBody, ParameterType.RequestBody); + } + + return request; + } + + /// + /// Makes the HTTP request (Sync). + /// + /// URL path. + /// HTTP method. + /// Query parameters. + /// HTTP body (POST request). + /// Header parameters. + /// Form parameters. + /// File parameters. + /// Path parameters. + /// Content Type of the request + /// Object + public Object CallApi( + String path, RestSharp.Method method, List> queryParams, Object postBody, + Dictionary headerParams, Dictionary formParams, + Dictionary fileParams, Dictionary pathParams, + String contentType) + { + var request = PrepareRequest( + path, method, queryParams, postBody, headerParams, formParams, fileParams, + pathParams, contentType); + + // set timeout + + RestClient.Timeout = Configuration.Timeout; + // set user agent + RestClient.UserAgent = Configuration.UserAgent; + + InterceptRequest(request); + var response = RestClient.Execute(request); + InterceptResponse(request, response); + + return (Object) response; + } + /// + /// Makes the asynchronous HTTP request. + /// + /// URL path. + /// HTTP method. + /// Query parameters. + /// HTTP body (POST request). + /// Header parameters. + /// Form parameters. + /// File parameters. + /// Path parameters. + /// Content type. + /// The Task instance. + public async System.Threading.Tasks.Task CallApiAsync( + String path, RestSharp.Method method, List> queryParams, Object postBody, + Dictionary headerParams, Dictionary formParams, + Dictionary fileParams, Dictionary pathParams, + String contentType) + { + var request = PrepareRequest( + path, method, queryParams, postBody, headerParams, formParams, fileParams, + pathParams, contentType); + InterceptRequest(request); + var response = await RestClient.ExecuteTaskAsync(request); + InterceptResponse(request, response); + return (Object)response; + } + + /// + /// Escape string (url-encoded). + /// + /// String to be escaped. + /// Escaped string. + public string EscapeString(string str) + { + return UrlEncode(str); + } + + /// + /// Create FileParameter based on Stream. + /// + /// Parameter name. + /// Input stream. + /// FileParameter. + public FileParameter ParameterToFile(string name, Stream stream) + { + if (stream is FileStream) + return FileParameter.Create(name, ReadAsBytes(stream), Path.GetFileName(((FileStream)stream).Name)); + else + return FileParameter.Create(name, ReadAsBytes(stream), "no_file_name_provided"); + } + + /// + /// If parameter is DateTime, output in a formatted string (default ISO 8601), customizable with Configuration.DateTime. + /// If parameter is a list, join the list with ",". + /// Otherwise just return the string. + /// + /// The parameter (header, path, query, form). + /// Formatted string. + public string ParameterToString(object obj) + { + if (obj is DateTime) + // Return a formatted date string - Can be customized with Configuration.DateTimeFormat + // Defaults to an ISO 8601, using the known as a Round-trip date/time pattern ("o") + // https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 + // For example: 2009-06-15T13:45:30.0000000 + return ((DateTime)obj).ToString (Configuration.DateTimeFormat); + else if (obj is DateTimeOffset) + // Return a formatted date string - Can be customized with Configuration.DateTimeFormat + // Defaults to an ISO 8601, using the known as a Round-trip date/time pattern ("o") + // https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 + // For example: 2009-06-15T13:45:30.0000000 + return ((DateTimeOffset)obj).ToString (Configuration.DateTimeFormat); + else if (obj is IList) + { + var flattenedString = new StringBuilder(); + foreach (var param in (IList)obj) + { + if (flattenedString.Length > 0) + flattenedString.Append(","); + flattenedString.Append(param); + } + return flattenedString.ToString(); + } + else + return Convert.ToString (obj); + } + + /// + /// Deserialize the JSON string into a proper object. + /// + /// The HTTP response. + /// Object type. + /// Object representation of the JSON string. + public object Deserialize(IRestResponse response, Type type) + { + IList headers = response.Headers; + if (type == typeof(byte[])) // return byte array + { + return response.RawBytes; + } + + // TODO: ? if (type.IsAssignableFrom(typeof(Stream))) + if (type == typeof(Stream)) + { + if (headers != null) + { + var filePath = String.IsNullOrEmpty(Configuration.TempFolderPath) + ? Path.GetTempPath() + : Configuration.TempFolderPath; + var regex = new Regex(@"Content-Disposition=.*filename=['""]?([^'""\s]+)['""]?$"); + foreach (var header in headers) + { + var match = regex.Match(header.ToString()); + if (match.Success) + { + string fileName = filePath + SanitizeFilename(match.Groups[1].Value.Replace("\"", "").Replace("'", "")); + File.WriteAllBytes(fileName, response.RawBytes); + return new FileStream(fileName, FileMode.Open); + } + } + } + var stream = new MemoryStream(response.RawBytes); + return stream; + } + + if (type.Name.StartsWith("System.Nullable`1[[System.DateTime")) // return a datetime object + { + return DateTime.Parse(response.Content, null, System.Globalization.DateTimeStyles.RoundtripKind); + } + + if (type == typeof(String) || type.Name.StartsWith("System.Nullable")) // return primitive type + { + return ConvertType(response.Content, type); + } + + // at this point, it must be a model (json) + try + { + return JsonConvert.DeserializeObject(response.Content, type, serializerSettings); + } + catch (Exception e) + { + throw new ApiException(500, e.Message); + } + } + + /// + /// Serialize an input (model) into JSON string + /// + /// Object. + /// JSON string. + public String Serialize(object obj) + { + try + { + return obj != null ? JsonConvert.SerializeObject(obj) : null; + } + catch (Exception e) + { + throw new ApiException(500, e.Message); + } + } + + /// + ///Check if the given MIME is a JSON MIME. + ///JSON MIME examples: + /// application/json + /// application/json; charset=UTF8 + /// APPLICATION/JSON + /// application/vnd.company+json + /// + /// MIME + /// Returns True if MIME type is json. + public bool IsJsonMime(String mime) + { + var jsonRegex = new Regex("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"); + return mime != null && (jsonRegex.IsMatch(mime) || mime.Equals("application/json-patch+json")); + } + + /// + /// Select the Content-Type header's value from the given content-type array: + /// if JSON type exists in the given array, use it; + /// otherwise use the first one defined in 'consumes' + /// + /// The Content-Type array to select from. + /// The Content-Type header to use. + public String SelectHeaderContentType(String[] contentTypes) + { + if (contentTypes.Length == 0) + return "application/json"; + + foreach (var contentType in contentTypes) + { + if (IsJsonMime(contentType.ToLower())) + return contentType; + } + + return contentTypes[0]; // use the first content type specified in 'consumes' + } + + /// + /// Select the Accept header's value from the given accepts array: + /// if JSON exists in the given array, use it; + /// otherwise use all of them (joining into a string) + /// + /// The accepts array to select from. + /// The Accept header to use. + public String SelectHeaderAccept(String[] accepts) + { + if (accepts.Length == 0) + return null; + + if (accepts.Contains("application/json", StringComparer.OrdinalIgnoreCase)) + return "application/json"; + + return String.Join(",", accepts); + } + + /// + /// Encode string in base64 format. + /// + /// String to be encoded. + /// Encoded string. + public static string Base64Encode(string text) + { + return System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(text)); + } + + /// + /// Dynamically cast the object into target type. + /// + /// Object to be casted + /// Target type + /// Casted object + public static dynamic ConvertType(dynamic fromObject, Type toObject) + { + return Convert.ChangeType(fromObject, toObject); + } + + /// + /// Convert stream to byte array + /// + /// Input stream to be converted + /// Byte array + public static byte[] ReadAsBytes(Stream inputStream) + { + byte[] buf = new byte[16*1024]; + using (MemoryStream ms = new MemoryStream()) + { + int count; + while ((count = inputStream.Read(buf, 0, buf.Length)) > 0) + { + ms.Write(buf, 0, count); + } + return ms.ToArray(); + } + } + + /// + /// URL encode a string + /// Credit/Ref: https://github.com/restsharp/RestSharp/blob/master/RestSharp/Extensions/StringExtensions.cs#L50 + /// + /// String to be URL encoded + /// Byte array + public static string UrlEncode(string input) + { + const int maxLength = 32766; + + if (input == null) + { + throw new ArgumentNullException("input"); + } + + if (input.Length <= maxLength) + { + return Uri.EscapeDataString(input); + } + + StringBuilder sb = new StringBuilder(input.Length * 2); + int index = 0; + + while (index < input.Length) + { + int length = Math.Min(input.Length - index, maxLength); + string subString = input.Substring(index, length); + + sb.Append(Uri.EscapeDataString(subString)); + index += subString.Length; + } + + return sb.ToString(); + } + + /// + /// Sanitize filename by removing the path + /// + /// Filename + /// Filename + public static string SanitizeFilename(string filename) + { + Match match = Regex.Match(filename, @".*[/\\](.*)$"); + + if (match.Success) + { + return match.Groups[1].Value; + } + else + { + return filename; + } + } + + /// + /// Convert params to key/value pairs. + /// Use collectionFormat to properly format lists and collections. + /// + /// Key name. + /// Value object. + /// A list of KeyValuePairs + public IEnumerable> ParameterToKeyValuePairs(string collectionFormat, string name, object value) + { + var parameters = new List>(); + + if (IsCollection(value) && collectionFormat == "multi") + { + var valueCollection = value as IEnumerable; + parameters.AddRange(from object item in valueCollection select new KeyValuePair(name, ParameterToString(item))); + } + else + { + parameters.Add(new KeyValuePair(name, ParameterToString(value))); + } + + return parameters; + } + + /// + /// Check if generic object is a collection. + /// + /// + /// True if object is a collection type + private static bool IsCollection(object value) + { + return value is IList || value is ICollection; + } + } +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/ApiException.cs b/gatewayGK/POSGkSwaggerModel/Client/ApiException.cs new file mode 100644 index 0000000000000000000000000000000000000000..25f462db1201f5cc8f5767b5735a6f1b30715ed7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/ApiException.cs @@ -0,0 +1,60 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; + +namespace IO.Swagger.Client +{ + /// + /// API Exception + /// + public class ApiException : Exception + { + /// + /// Gets or sets the error code (HTTP status code) + /// + /// The error code (HTTP status code). + public int ErrorCode { get; set; } + + /// + /// Gets or sets the error content (body json object) + /// + /// The error content (Http response body). + public dynamic ErrorContent { get; private set; } + + /// + /// Initializes a new instance of the class. + /// + public ApiException() {} + + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// Error message. + public ApiException(int errorCode, string message) : base(message) + { + this.ErrorCode = errorCode; + } + + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// Error message. + /// Error content. + public ApiException(int errorCode, string message, dynamic errorContent = null) : base(message) + { + this.ErrorCode = errorCode; + this.ErrorContent = errorContent; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/ApiResponse.cs b/gatewayGK/POSGkSwaggerModel/Client/ApiResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..b4efe9b66a834d85732b6560259c3a40fc8232f1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/ApiResponse.cs @@ -0,0 +1,54 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Collections.Generic; + +namespace IO.Swagger.Client +{ + /// + /// API Response + /// + public class ApiResponse + { + /// + /// Gets or sets the status code (HTTP status code) + /// + /// The status code. + public int StatusCode { get; private set; } + + /// + /// Gets or sets the HTTP headers + /// + /// HTTP headers + public IDictionary Headers { get; private set; } + + /// + /// Gets or sets the data (parsed HTTP body) + /// + /// The data. + public T Data { get; private set; } + + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// HTTP headers. + /// Data (parsed HTTP body) + public ApiResponse(int statusCode, IDictionary headers, T data) + { + this.StatusCode= statusCode; + this.Headers = headers; + this.Data = data; + } + + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/Configuration.cs_ b/gatewayGK/POSGkSwaggerModel/Client/Configuration.cs_ new file mode 100644 index 0000000000000000000000000000000000000000..827b2af5c554cdd18649385b1194c651e2453ef7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/Configuration.cs_ @@ -0,0 +1,453 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Reflection; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; + +namespace IO.Swagger.Client +{ + /// + /// Represents a set of configuration settings + /// + public class Configuration : IReadableConfiguration + { + #region Constants + + /// + /// Version of the package. + /// + /// Version of the package. + public const string Version = "1.0.0"; + + /// + /// Identifier for ISO 8601 DateTime Format + /// + /// See https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 for more information. + // ReSharper disable once InconsistentNaming + public const string ISO8601_DATETIME_FORMAT = "o"; + + #endregion Constants + + #region Static Members + + private static readonly object GlobalConfigSync = new { }; + private static Configuration _globalConfiguration; + + /// + /// Default creation of exceptions for a given method name and response object + /// + public static readonly ExceptionFactory DefaultExceptionFactory = (methodName, response) => + { + var status = (int)response.StatusCode; + if (status >= 400) + { + return new ApiException(status, + string.Format("Error calling {0}: {1}", methodName, response.Content), + response.Content); + } + if (status == 0) + { + return new ApiException(status, + string.Format("Error calling {0}: {1}", methodName, response.ErrorMessage), response.ErrorMessage); + } + return null; + }; + + /// + /// Gets or sets the default Configuration. + /// + /// Configuration. + public static Configuration Default + { + get { return _globalConfiguration; } + set + { + lock (GlobalConfigSync) + { + _globalConfiguration = value; + } + } + } + + #endregion Static Members + + #region Private Members + + /// + /// Gets or sets the API key based on the authentication name. + /// + /// The API key. + private IDictionary _apiKey = null; + + /// + /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. + /// + /// The prefix of the API key. + private IDictionary _apiKeyPrefix = null; + + private string _dateTimeFormat = ISO8601_DATETIME_FORMAT; + private string _tempFolderPath = Path.GetTempPath(); + + #endregion Private Members + + #region Constructors + + static Configuration() + { + _globalConfiguration = new GlobalConfiguration(); + } + + /// + /// Initializes a new instance of the class + /// + public Configuration() + { + UserAgent = "Swagger-Codegen/1.0.0/csharp"; + BasePath = "https://localhost:8080/pos-service/tenants//services/_**"; + DefaultHeader = new ConcurrentDictionary(); + ApiKey = new ConcurrentDictionary(); + ApiKeyPrefix = new ConcurrentDictionary(); + + // Setting Timeout has side effects (forces ApiClient creation). + Timeout = 100000; + } + + /// + /// Initializes a new instance of the class + /// + public Configuration( + IDictionary defaultHeader, + IDictionary apiKey, + IDictionary apiKeyPrefix, + string basePath = "https://localhost:8080/pos-service/tenants//services/_**") : this() + { + if (string.IsNullOrWhiteSpace(basePath)) + throw new ArgumentException("The provided basePath is invalid.", "basePath"); + if (defaultHeader == null) + throw new ArgumentNullException("defaultHeader"); + if (apiKey == null) + throw new ArgumentNullException("apiKey"); + if (apiKeyPrefix == null) + throw new ArgumentNullException("apiKeyPrefix"); + + BasePath = basePath; + + foreach (var keyValuePair in defaultHeader) + { + DefaultHeader.Add(keyValuePair); + } + + foreach (var keyValuePair in apiKey) + { + ApiKey.Add(keyValuePair); + } + + foreach (var keyValuePair in apiKeyPrefix) + { + ApiKeyPrefix.Add(keyValuePair); + } + } + + /// + /// Initializes a new instance of the class with different settings + /// + /// Api client + /// Dictionary of default HTTP header + /// Username + /// Password + /// accessToken + /// Dictionary of API key + /// Dictionary of API key prefix + /// Temp folder path + /// DateTime format string + /// HTTP connection timeout (in milliseconds) + /// HTTP user agent + [Obsolete("Use explicit object construction and setting of properties.", true)] + public Configuration( + // ReSharper disable UnusedParameter.Local + ApiClient apiClient = null, + IDictionary defaultHeader = null, + string username = null, + string password = null, + string accessToken = null, + IDictionary apiKey = null, + IDictionary apiKeyPrefix = null, + string tempFolderPath = null, + string dateTimeFormat = null, + int timeout = 100000, + string userAgent = "Swagger-Codegen/1.0.0/csharp" + // ReSharper restore UnusedParameter.Local + ) + { + + } + + /// + /// Initializes a new instance of the Configuration class. + /// + /// Api client. + [Obsolete("This constructor caused unexpected sharing of static data. It is no longer supported.", true)] + // ReSharper disable once UnusedParameter.Local + public Configuration(ApiClient apiClient) + { + + } + + #endregion Constructors + + + #region Properties + + private ApiClient _apiClient = null; + /// + /// Gets an instance of an ApiClient for this configuration + /// + public virtual ApiClient ApiClient + { + get + { + if (_apiClient == null) _apiClient = CreateApiClient(); + return _apiClient; + } + } + + private String _basePath = null; + /// + /// Gets or sets the base path for API access. + /// + public virtual string BasePath { + get { return _basePath; } + set { + _basePath = value; + // pass-through to ApiClient if it's set. + if(_apiClient != null) { + _apiClient.RestClient.BaseUrl = new Uri(_basePath); + } + } + } + + /// + /// Gets or sets the default header. + /// + public virtual IDictionary DefaultHeader { get; set; } + + /// + /// Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. + /// + public virtual int Timeout + { + + get { return ApiClient.RestClient.Timeout; } + set { ApiClient.RestClient.Timeout = value; } + } + + /// + /// Gets or sets the HTTP user agent. + /// + /// Http user agent. + public virtual string UserAgent { get; set; } + + /// + /// Gets or sets the username (HTTP basic authentication). + /// + /// The username. + public virtual string Username { get; set; } + + /// + /// Gets or sets the password (HTTP basic authentication). + /// + /// The password. + public virtual string Password { get; set; } + + /// + /// Gets the API key with prefix. + /// + /// API key identifier (authentication scheme). + /// API key with prefix. + public string GetApiKeyWithPrefix(string apiKeyIdentifier) + { + var apiKeyValue = ""; + ApiKey.TryGetValue (apiKeyIdentifier, out apiKeyValue); + var apiKeyPrefix = ""; + if (ApiKeyPrefix.TryGetValue (apiKeyIdentifier, out apiKeyPrefix)) + return apiKeyPrefix + " " + apiKeyValue; + else + return apiKeyValue; + } + + /// + /// Gets or sets the access token for OAuth2 authentication. + /// + /// The access token. + public virtual string AccessToken { get; set; } + + /// + /// Gets or sets the temporary folder path to store the files downloaded from the server. + /// + /// Folder path. + public virtual string TempFolderPath + { + get { return _tempFolderPath; } + + set + { + if (string.IsNullOrEmpty(value)) + { + // Possible breaking change since swagger-codegen 2.2.1, enforce a valid temporary path on set. + _tempFolderPath = Path.GetTempPath(); + return; + } + + // create the directory if it does not exist + if (!Directory.Exists(value)) + { + Directory.CreateDirectory(value); + } + + // check if the path contains directory separator at the end + if (value[value.Length - 1] == Path.DirectorySeparatorChar) + { + _tempFolderPath = value; + } + else + { + _tempFolderPath = value + Path.DirectorySeparatorChar; + } + } + } + + /// + /// Gets or sets the date time format used when serializing in the ApiClient + /// By default, it's set to ISO 8601 - "o", for others see: + /// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx + /// and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx + /// No validation is done to ensure that the string you're providing is valid + /// + /// The DateTimeFormat string + public virtual string DateTimeFormat + { + get { return _dateTimeFormat; } + set + { + if (string.IsNullOrEmpty(value)) + { + // Never allow a blank or null string, go back to the default + _dateTimeFormat = ISO8601_DATETIME_FORMAT; + return; + } + + // Caution, no validation when you choose date time format other than ISO 8601 + // Take a look at the above links + _dateTimeFormat = value; + } + } + + /// + /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. + /// + /// The prefix of the API key. + public virtual IDictionary ApiKeyPrefix + { + get { return _apiKeyPrefix; } + set + { + if (value == null) + { + throw new InvalidOperationException("ApiKeyPrefix collection may not be null."); + } + _apiKeyPrefix = value; + } + } + + /// + /// Gets or sets the API key based on the authentication name. + /// + /// The API key. + public virtual IDictionary ApiKey + { + get { return _apiKey; } + set + { + if (value == null) + { + throw new InvalidOperationException("ApiKey collection may not be null."); + } + _apiKey = value; + } + } + + #endregion Properties + + #region Methods + + /// + /// Add default header. + /// + /// Header field name. + /// Header field value. + /// + public void AddDefaultHeader(string key, string value) + { + DefaultHeader[key] = value; + } + + /// + /// Creates a new based on this instance. + /// + /// + public ApiClient CreateApiClient() + { + return new ApiClient(BasePath) { Configuration = this }; + } + + + /// + /// Returns a string with essential information for debugging. + /// + public static String ToDebugReport() + { + String report = "C# SDK (IO.Swagger) Debug Report:\n"; + report += " OS: " + System.Environment.OSVersion + "\n"; + report += " .NET Framework Version: " + System.Environment.Version + "\n"; + report += " Version of the API: 5.21.1-b03\n"; + report += " SDK Package Version: 1.0.0\n"; + + return report; + } + + /// + /// Add Api Key Header. + /// + /// Api Key name. + /// Api Key value. + /// + public void AddApiKey(string key, string value) + { + ApiKey[key] = value; + } + + /// + /// Sets the API key prefix. + /// + /// Api Key name. + /// Api Key value. + public void AddApiKeyPrefix(string key, string value) + { + ApiKeyPrefix[key] = value; + } + + #endregion Methods + } +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/ExceptionFactory.cs_ b/gatewayGK/POSGkSwaggerModel/Client/ExceptionFactory.cs_ new file mode 100644 index 0000000000000000000000000000000000000000..168d61b63371f39587f0c27d668f6a226af723cc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/ExceptionFactory.cs_ @@ -0,0 +1,24 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using System; +using RestSharp; + +namespace IO.Swagger.Client +{ + /// + /// A delegate to ExceptionFactory method + /// + /// Method name + /// Response + /// Exceptions + public delegate Exception ExceptionFactory(string methodName, IRestResponse response); +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/GlobalConfiguration.cs_ b/gatewayGK/POSGkSwaggerModel/Client/GlobalConfiguration.cs_ new file mode 100644 index 0000000000000000000000000000000000000000..74e44a38b0b75fc4a6c0a31a5d849050c746122a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/GlobalConfiguration.cs_ @@ -0,0 +1,34 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using System; +using System.Reflection; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading; + +namespace IO.Swagger.Client +{ + /// + /// provides a compile-time extension point for globally configuring + /// API Clients. + /// + /// + /// A customized implementation via partial class may reside in another file and may + /// be excluded from automatic generation via a .swagger-codegen-ignore file. + /// + public partial class GlobalConfiguration : Configuration + { + + } +} \ No newline at end of file diff --git a/gatewayGK/POSGkSwaggerModel/Client/IApiAccessor.cs_ b/gatewayGK/POSGkSwaggerModel/Client/IApiAccessor.cs_ new file mode 100644 index 0000000000000000000000000000000000000000..962f6a05655934bdd566a0b15db660245b11eb6c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/IApiAccessor.cs_ @@ -0,0 +1,42 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using RestSharp; + +namespace IO.Swagger.Client +{ + /// + /// Represents configuration aspects required to interact with the API endpoints. + /// + public interface IApiAccessor + { + /// + /// Gets or sets the configuration object + /// + /// An instance of the Configuration + Configuration Configuration {get; set;} + + /// + /// Gets the base path of the API client. + /// + /// The base path + String GetBasePath(); + + /// + /// Provides a factory method hook for the creation of exceptions. + /// + ExceptionFactory ExceptionFactory { get; set; } + } +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/IReadableConfiguration.cs b/gatewayGK/POSGkSwaggerModel/Client/IReadableConfiguration.cs new file mode 100644 index 0000000000000000000000000000000000000000..cc68a212b2255cf40bd3ecd86d8bfe6046953280 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/IReadableConfiguration.cs @@ -0,0 +1,94 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + + +using System.Collections.Generic; + +namespace IO.Swagger.Client +{ + /// + /// Represents a readable-only configuration contract. + /// + public interface IReadableConfiguration + { + /// + /// Gets the access token. + /// + /// Access token. + string AccessToken { get; } + + /// + /// Gets the API key. + /// + /// API key. + IDictionary ApiKey { get; } + + /// + /// Gets the API key prefix. + /// + /// API key prefix. + IDictionary ApiKeyPrefix { get; } + + /// + /// Gets the base path. + /// + /// Base path. + string BasePath { get; } + + /// + /// Gets the date time format. + /// + /// Date time foramt. + string DateTimeFormat { get; } + + /// + /// Gets the default header. + /// + /// Default header. + IDictionary DefaultHeader { get; } + + /// + /// Gets the temp folder path. + /// + /// Temp folder path. + string TempFolderPath { get; } + + /// + /// Gets the HTTP connection timeout (in milliseconds) + /// + /// HTTP connection timeout. + int Timeout { get; } + + /// + /// Gets the user agent. + /// + /// User agent. + string UserAgent { get; } + + /// + /// Gets the username. + /// + /// Username. + string Username { get; } + + /// + /// Gets the password. + /// + /// Password. + string Password { get; } + + /// + /// Gets the API key with prefix. + /// + /// API key identifier (authentication scheme). + /// API key with prefix. + string GetApiKeyWithPrefix(string apiKeyIdentifier); + } +} diff --git a/gatewayGK/POSGkSwaggerModel/Client/SwaggerDateConverter.cs b/gatewayGK/POSGkSwaggerModel/Client/SwaggerDateConverter.cs new file mode 100644 index 0000000000000000000000000000000000000000..f85d6f8c5bcf8232f3bde6e6f452d19e4246e47b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Client/SwaggerDateConverter.cs @@ -0,0 +1,30 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using Newtonsoft.Json.Converters; + +namespace IO.Swagger.Client +{ + /// + /// Formatter for 'date' swagger formats ss defined by full-date - RFC3339 + /// see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types + /// + public class SwaggerDateConverter : IsoDateTimeConverter + { + /// + /// Initializes a new instance of the class. + /// + public SwaggerDateConverter() + { + // full-date = date-fullyear "-" date-month "-" date-mday + DateTimeFormat = "yyyy-MM-dd"; + } + } +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLayawayDtoLayawayLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLayawayDtoLayawayLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..125d18a8440a1439670b65311f263a36af44868c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLayawayDtoLayawayLineItem.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LayawayLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLayawayDtoLayawayLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLayawayDtoLayawayLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// RetailTransactionLineItem (required). + public ComGkSoftwareGkrApiLayawayDtoLayawayLineItem(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem retailTransactionLineItem = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem)) + { + // to ensure "retailTransactionLineItem" is required (not null) + if (retailTransactionLineItem == null) + { + throw new InvalidDataException("retailTransactionLineItem is a required property for ComGkSoftwareGkrApiLayawayDtoLayawayLineItem and cannot be null"); + } + else + { + this.RetailTransactionLineItem = retailTransactionLineItem; + } + } + + /// + /// RetailTransactionLineItem + /// + /// RetailTransactionLineItem + [DataMember(Name="retailTransactionLineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem RetailTransactionLineItem { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLayawayDtoLayawayLineItem {\n"); + sb.Append(" RetailTransactionLineItem: ").Append(RetailTransactionLineItem).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLayawayDtoLayawayLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLayawayDtoLayawayLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLayawayDtoLayawayLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLayawayDtoLayawayLineItem input) + { + if (input == null) + return false; + + return + ( + this.RetailTransactionLineItem == input.RetailTransactionLineItem || + (this.RetailTransactionLineItem != null && + this.RetailTransactionLineItem.Equals(input.RetailTransactionLineItem)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailTransactionLineItem != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItem.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLayawayDtoLayawaySummary.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLayawayDtoLayawaySummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..c20eea855895ba41edb385461a149b636523a072 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLayawayDtoLayawaySummary.cs @@ -0,0 +1,761 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LayawaySummary <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLayawayDtoLayawaySummary : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLayawayDtoLayawaySummary() { } + /// + /// Initializes a new instance of the class. + /// + /// BusinessUnitGroup identificator of the business unit, where the Layaway was created (required). + /// ID of the Layaway (= Transaction ID of Layaway create TX) (required). + /// Timestamp when Layaway was created; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// UTC0 timestamp when Layaway was created; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED (required). + /// Layaway is blocked while there is a suspended, non-retrieved Layaway relevant TX .Its not allowed to do anything else than to retrieve this suspend and finalize it. Or to expire/rebook/terminate a layaway. (required). + /// To know if layaway was already rebooked even if it is in CLAIMED status.Default: falseWill only be changed if Layaway Rebooking TX is consumed. (required). + /// To know if layaway was already claimed even if it is in REBOOKED status.Default: falseWill only be changed if Layaway Claimed TX is consumed. (required). + /// Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last (required). + /// N/A. + /// Last change of StatusCode; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// UTC0 timestamp of the last change of StatusCode; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// Assigned customer ID to Layaway.. + /// Expiration date of the Layaway (including the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// UTC0 time of expiration date. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// Expiration date for customer (excluding the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// UTC0 time of expiration date for customer. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// Termination date of the layaway. This is the date after no futher modifications of layaway are not allowed. Be it payment or whatever. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// UTC0 time of TerminationDate; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// Total order value of the Layaway. (required). + /// Total of the already payed down payments of the Layaway. (required). + /// The fee has to be paid in case the customer retrieves its money back from an expired Layaway.. + /// The fee has to be paid in case the customer is voiding the complete Layaway.. + /// List of Layaway line items. + /// Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction.. + /// TransactionID for 'Latest Order Position Relevant TX'. + /// To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed.. + /// standard extension pattern for extending calculation in project. + /// standard extension pattern for extending calculation in project. + /// standard extension pattern for extending calculation in project. + /// standard extension pattern for extending calculation in project. + /// standard extension pattern for extending calculation in project. + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary(string businessUnitGroupID = default(string), string layawayID = default(string), string createTimestamp = default(string), DateTime? createTimestampUTC0 = default(DateTime?), string statusCode = default(string), bool? suspendedFlag = default(bool?), bool? rebookedFlag = default(bool?), bool? claimedFlag = default(bool?), int? laywayUpdateSequence = default(int?), string pendingTransactionID = default(string), string lastUpdateTimeStamp = default(string), DateTime? lastUpdateTimeStampUTC0 = default(DateTime?), string customerID = default(string), string expirationDate = default(string), DateTime? expirationDateUTC0 = default(DateTime?), string expirationNotificationDate = default(string), DateTime? expirationNotificationDateUTC0 = default(DateTime?), string terminationDate = default(string), DateTime? terminationDateUTC0 = default(DateTime?), double? totalAmount = default(double?), double? totalDownPaymentsAmount = default(double?), double? penaltyFee = default(double?), double? cancellationFee = default(double?), List layawayLineItemList = default(List), string layawayCorrelationChecksum = default(string), string latestOrderPositionTransactionID = default(string), bool? expirationDateExtendedFlag = default(bool?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "layawayID" is required (not null) + if (layawayID == null) + { + throw new InvalidDataException("layawayID is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.LayawayID = layawayID; + } + // to ensure "createTimestamp" is required (not null) + if (createTimestamp == null) + { + throw new InvalidDataException("createTimestamp is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.CreateTimestamp = createTimestamp; + } + // to ensure "createTimestampUTC0" is required (not null) + if (createTimestampUTC0 == null) + { + throw new InvalidDataException("createTimestampUTC0 is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.CreateTimestampUTC0 = createTimestampUTC0; + } + // to ensure "statusCode" is required (not null) + if (statusCode == null) + { + throw new InvalidDataException("statusCode is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.StatusCode = statusCode; + } + // to ensure "suspendedFlag" is required (not null) + if (suspendedFlag == null) + { + throw new InvalidDataException("suspendedFlag is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.SuspendedFlag = suspendedFlag; + } + // to ensure "rebookedFlag" is required (not null) + if (rebookedFlag == null) + { + throw new InvalidDataException("rebookedFlag is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.RebookedFlag = rebookedFlag; + } + // to ensure "claimedFlag" is required (not null) + if (claimedFlag == null) + { + throw new InvalidDataException("claimedFlag is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.ClaimedFlag = claimedFlag; + } + // to ensure "laywayUpdateSequence" is required (not null) + if (laywayUpdateSequence == null) + { + throw new InvalidDataException("laywayUpdateSequence is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.LaywayUpdateSequence = laywayUpdateSequence; + } + // to ensure "lastUpdateTimeStamp" is required (not null) + if (lastUpdateTimeStamp == null) + { + throw new InvalidDataException("lastUpdateTimeStamp is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.LastUpdateTimeStamp = lastUpdateTimeStamp; + } + // to ensure "lastUpdateTimeStampUTC0" is required (not null) + if (lastUpdateTimeStampUTC0 == null) + { + throw new InvalidDataException("lastUpdateTimeStampUTC0 is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.LastUpdateTimeStampUTC0 = lastUpdateTimeStampUTC0; + } + // to ensure "totalAmount" is required (not null) + if (totalAmount == null) + { + throw new InvalidDataException("totalAmount is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.TotalAmount = totalAmount; + } + // to ensure "totalDownPaymentsAmount" is required (not null) + if (totalDownPaymentsAmount == null) + { + throw new InvalidDataException("totalDownPaymentsAmount is a required property for ComGkSoftwareGkrApiLayawayDtoLayawaySummary and cannot be null"); + } + else + { + this.TotalDownPaymentsAmount = totalDownPaymentsAmount; + } + this.PendingTransactionID = pendingTransactionID; + this.CustomerID = customerID; + this.ExpirationDate = expirationDate; + this.ExpirationDateUTC0 = expirationDateUTC0; + this.ExpirationNotificationDate = expirationNotificationDate; + this.ExpirationNotificationDateUTC0 = expirationNotificationDateUTC0; + this.TerminationDate = terminationDate; + this.TerminationDateUTC0 = terminationDateUTC0; + this.PenaltyFee = penaltyFee; + this.CancellationFee = cancellationFee; + this.LayawayLineItemList = layawayLineItemList; + this.LayawayCorrelationChecksum = layawayCorrelationChecksum; + this.LatestOrderPositionTransactionID = latestOrderPositionTransactionID; + this.ExpirationDateExtendedFlag = expirationDateExtendedFlag; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// BusinessUnitGroup identificator of the business unit, where the Layaway was created + /// + /// BusinessUnitGroup identificator of the business unit, where the Layaway was created + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// ID of the Layaway (= Transaction ID of Layaway create TX) + /// + /// ID of the Layaway (= Transaction ID of Layaway create TX) + [DataMember(Name="layawayID", EmitDefaultValue=false)] + public string LayawayID { get; set; } + + /// + /// Timestamp when Layaway was created; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Timestamp when Layaway was created; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="createTimestamp", EmitDefaultValue=false)] + public string CreateTimestamp { get; set; } + + /// + /// UTC0 timestamp when Layaway was created; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 timestamp when Layaway was created; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="createTimestampUTC0", EmitDefaultValue=false)] + public DateTime? CreateTimestampUTC0 { get; set; } + + /// + /// Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED + /// + /// Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED + [DataMember(Name="statusCode", EmitDefaultValue=false)] + public string StatusCode { get; set; } + + /// + /// Layaway is blocked while there is a suspended, non-retrieved Layaway relevant TX .Its not allowed to do anything else than to retrieve this suspend and finalize it. Or to expire/rebook/terminate a layaway. + /// + /// Layaway is blocked while there is a suspended, non-retrieved Layaway relevant TX .Its not allowed to do anything else than to retrieve this suspend and finalize it. Or to expire/rebook/terminate a layaway. + [DataMember(Name="suspendedFlag", EmitDefaultValue=false)] + public bool? SuspendedFlag { get; set; } + + /// + /// To know if layaway was already rebooked even if it is in CLAIMED status.Default: falseWill only be changed if Layaway Rebooking TX is consumed. + /// + /// To know if layaway was already rebooked even if it is in CLAIMED status.Default: falseWill only be changed if Layaway Rebooking TX is consumed. + [DataMember(Name="rebookedFlag", EmitDefaultValue=false)] + public bool? RebookedFlag { get; set; } + + /// + /// To know if layaway was already claimed even if it is in REBOOKED status.Default: falseWill only be changed if Layaway Claimed TX is consumed. + /// + /// To know if layaway was already claimed even if it is in REBOOKED status.Default: falseWill only be changed if Layaway Claimed TX is consumed. + [DataMember(Name="claimedFlag", EmitDefaultValue=false)] + public bool? ClaimedFlag { get; set; } + + /// + /// Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last + /// + /// Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last + [DataMember(Name="laywayUpdateSequence", EmitDefaultValue=false)] + public int? LaywayUpdateSequence { get; set; } + + /// + /// N/A + /// + /// N/A + [DataMember(Name="pendingTransactionID", EmitDefaultValue=false)] + public string PendingTransactionID { get; set; } + + /// + /// Last change of StatusCode; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Last change of StatusCode; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="lastUpdateTimeStamp", EmitDefaultValue=false)] + public string LastUpdateTimeStamp { get; set; } + + /// + /// UTC0 timestamp of the last change of StatusCode; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 timestamp of the last change of StatusCode; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="lastUpdateTimeStampUTC0", EmitDefaultValue=false)] + public DateTime? LastUpdateTimeStampUTC0 { get; set; } + + /// + /// Assigned customer ID to Layaway. + /// + /// Assigned customer ID to Layaway. + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// Expiration date of the Layaway (including the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Expiration date of the Layaway (including the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationDate", EmitDefaultValue=false)] + public string ExpirationDate { get; set; } + + /// + /// UTC0 time of expiration date. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of expiration date. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="expirationDateUTC0", EmitDefaultValue=false)] + public DateTime? ExpirationDateUTC0 { get; set; } + + /// + /// Expiration date for customer (excluding the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Expiration date for customer (excluding the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationNotificationDate", EmitDefaultValue=false)] + public string ExpirationNotificationDate { get; set; } + + /// + /// UTC0 time of expiration date for customer. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of expiration date for customer. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="expirationNotificationDateUTC0", EmitDefaultValue=false)] + public DateTime? ExpirationNotificationDateUTC0 { get; set; } + + /// + /// Termination date of the layaway. This is the date after no futher modifications of layaway are not allowed. Be it payment or whatever. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Termination date of the layaway. This is the date after no futher modifications of layaway are not allowed. Be it payment or whatever. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="terminationDate", EmitDefaultValue=false)] + public string TerminationDate { get; set; } + + /// + /// UTC0 time of TerminationDate; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of TerminationDate; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="terminationDateUTC0", EmitDefaultValue=false)] + public DateTime? TerminationDateUTC0 { get; set; } + + /// + /// Total order value of the Layaway. + /// + /// Total order value of the Layaway. + [DataMember(Name="totalAmount", EmitDefaultValue=false)] + public double? TotalAmount { get; set; } + + /// + /// Total of the already payed down payments of the Layaway. + /// + /// Total of the already payed down payments of the Layaway. + [DataMember(Name="totalDownPaymentsAmount", EmitDefaultValue=false)] + public double? TotalDownPaymentsAmount { get; set; } + + /// + /// The fee has to be paid in case the customer retrieves its money back from an expired Layaway. + /// + /// The fee has to be paid in case the customer retrieves its money back from an expired Layaway. + [DataMember(Name="penaltyFee", EmitDefaultValue=false)] + public double? PenaltyFee { get; set; } + + /// + /// The fee has to be paid in case the customer is voiding the complete Layaway. + /// + /// The fee has to be paid in case the customer is voiding the complete Layaway. + [DataMember(Name="cancellationFee", EmitDefaultValue=false)] + public double? CancellationFee { get; set; } + + /// + /// List of Layaway line items + /// + /// List of Layaway line items + [DataMember(Name="layawayLineItemList", EmitDefaultValue=false)] + public List LayawayLineItemList { get; set; } + + /// + /// Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction. + /// + /// Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction. + [DataMember(Name="layawayCorrelationChecksum", EmitDefaultValue=false)] + public string LayawayCorrelationChecksum { get; set; } + + /// + /// TransactionID for 'Latest Order Position Relevant TX' + /// + /// TransactionID for 'Latest Order Position Relevant TX' + [DataMember(Name="latestOrderPositionTransactionID", EmitDefaultValue=false)] + public string LatestOrderPositionTransactionID { get; set; } + + /// + /// To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed. + /// + /// To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed. + [DataMember(Name="expirationDateExtendedFlag", EmitDefaultValue=false)] + public bool? ExpirationDateExtendedFlag { get; set; } + + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLayawayDtoLayawaySummary {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" LayawayID: ").Append(LayawayID).Append("\n"); + sb.Append(" CreateTimestamp: ").Append(CreateTimestamp).Append("\n"); + sb.Append(" CreateTimestampUTC0: ").Append(CreateTimestampUTC0).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" SuspendedFlag: ").Append(SuspendedFlag).Append("\n"); + sb.Append(" RebookedFlag: ").Append(RebookedFlag).Append("\n"); + sb.Append(" ClaimedFlag: ").Append(ClaimedFlag).Append("\n"); + sb.Append(" LaywayUpdateSequence: ").Append(LaywayUpdateSequence).Append("\n"); + sb.Append(" PendingTransactionID: ").Append(PendingTransactionID).Append("\n"); + sb.Append(" LastUpdateTimeStamp: ").Append(LastUpdateTimeStamp).Append("\n"); + sb.Append(" LastUpdateTimeStampUTC0: ").Append(LastUpdateTimeStampUTC0).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" ExpirationDate: ").Append(ExpirationDate).Append("\n"); + sb.Append(" ExpirationDateUTC0: ").Append(ExpirationDateUTC0).Append("\n"); + sb.Append(" ExpirationNotificationDate: ").Append(ExpirationNotificationDate).Append("\n"); + sb.Append(" ExpirationNotificationDateUTC0: ").Append(ExpirationNotificationDateUTC0).Append("\n"); + sb.Append(" TerminationDate: ").Append(TerminationDate).Append("\n"); + sb.Append(" TerminationDateUTC0: ").Append(TerminationDateUTC0).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" TotalDownPaymentsAmount: ").Append(TotalDownPaymentsAmount).Append("\n"); + sb.Append(" PenaltyFee: ").Append(PenaltyFee).Append("\n"); + sb.Append(" CancellationFee: ").Append(CancellationFee).Append("\n"); + sb.Append(" LayawayLineItemList: ").Append(LayawayLineItemList).Append("\n"); + sb.Append(" LayawayCorrelationChecksum: ").Append(LayawayCorrelationChecksum).Append("\n"); + sb.Append(" LatestOrderPositionTransactionID: ").Append(LatestOrderPositionTransactionID).Append("\n"); + sb.Append(" ExpirationDateExtendedFlag: ").Append(ExpirationDateExtendedFlag).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLayawayDtoLayawaySummary); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLayawayDtoLayawaySummary instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLayawayDtoLayawaySummary to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLayawayDtoLayawaySummary input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.LayawayID == input.LayawayID || + (this.LayawayID != null && + this.LayawayID.Equals(input.LayawayID)) + ) && + ( + this.CreateTimestamp == input.CreateTimestamp || + (this.CreateTimestamp != null && + this.CreateTimestamp.Equals(input.CreateTimestamp)) + ) && + ( + this.CreateTimestampUTC0 == input.CreateTimestampUTC0 || + (this.CreateTimestampUTC0 != null && + this.CreateTimestampUTC0.Equals(input.CreateTimestampUTC0)) + ) && + ( + this.StatusCode == input.StatusCode || + (this.StatusCode != null && + this.StatusCode.Equals(input.StatusCode)) + ) && + ( + this.SuspendedFlag == input.SuspendedFlag || + (this.SuspendedFlag != null && + this.SuspendedFlag.Equals(input.SuspendedFlag)) + ) && + ( + this.RebookedFlag == input.RebookedFlag || + (this.RebookedFlag != null && + this.RebookedFlag.Equals(input.RebookedFlag)) + ) && + ( + this.ClaimedFlag == input.ClaimedFlag || + (this.ClaimedFlag != null && + this.ClaimedFlag.Equals(input.ClaimedFlag)) + ) && + ( + this.LaywayUpdateSequence == input.LaywayUpdateSequence || + (this.LaywayUpdateSequence != null && + this.LaywayUpdateSequence.Equals(input.LaywayUpdateSequence)) + ) && + ( + this.PendingTransactionID == input.PendingTransactionID || + (this.PendingTransactionID != null && + this.PendingTransactionID.Equals(input.PendingTransactionID)) + ) && + ( + this.LastUpdateTimeStamp == input.LastUpdateTimeStamp || + (this.LastUpdateTimeStamp != null && + this.LastUpdateTimeStamp.Equals(input.LastUpdateTimeStamp)) + ) && + ( + this.LastUpdateTimeStampUTC0 == input.LastUpdateTimeStampUTC0 || + (this.LastUpdateTimeStampUTC0 != null && + this.LastUpdateTimeStampUTC0.Equals(input.LastUpdateTimeStampUTC0)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.ExpirationDate == input.ExpirationDate || + (this.ExpirationDate != null && + this.ExpirationDate.Equals(input.ExpirationDate)) + ) && + ( + this.ExpirationDateUTC0 == input.ExpirationDateUTC0 || + (this.ExpirationDateUTC0 != null && + this.ExpirationDateUTC0.Equals(input.ExpirationDateUTC0)) + ) && + ( + this.ExpirationNotificationDate == input.ExpirationNotificationDate || + (this.ExpirationNotificationDate != null && + this.ExpirationNotificationDate.Equals(input.ExpirationNotificationDate)) + ) && + ( + this.ExpirationNotificationDateUTC0 == input.ExpirationNotificationDateUTC0 || + (this.ExpirationNotificationDateUTC0 != null && + this.ExpirationNotificationDateUTC0.Equals(input.ExpirationNotificationDateUTC0)) + ) && + ( + this.TerminationDate == input.TerminationDate || + (this.TerminationDate != null && + this.TerminationDate.Equals(input.TerminationDate)) + ) && + ( + this.TerminationDateUTC0 == input.TerminationDateUTC0 || + (this.TerminationDateUTC0 != null && + this.TerminationDateUTC0.Equals(input.TerminationDateUTC0)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.TotalDownPaymentsAmount == input.TotalDownPaymentsAmount || + (this.TotalDownPaymentsAmount != null && + this.TotalDownPaymentsAmount.Equals(input.TotalDownPaymentsAmount)) + ) && + ( + this.PenaltyFee == input.PenaltyFee || + (this.PenaltyFee != null && + this.PenaltyFee.Equals(input.PenaltyFee)) + ) && + ( + this.CancellationFee == input.CancellationFee || + (this.CancellationFee != null && + this.CancellationFee.Equals(input.CancellationFee)) + ) && + ( + this.LayawayLineItemList == input.LayawayLineItemList || + this.LayawayLineItemList != null && + this.LayawayLineItemList.SequenceEqual(input.LayawayLineItemList) + ) && + ( + this.LayawayCorrelationChecksum == input.LayawayCorrelationChecksum || + (this.LayawayCorrelationChecksum != null && + this.LayawayCorrelationChecksum.Equals(input.LayawayCorrelationChecksum)) + ) && + ( + this.LatestOrderPositionTransactionID == input.LatestOrderPositionTransactionID || + (this.LatestOrderPositionTransactionID != null && + this.LatestOrderPositionTransactionID.Equals(input.LatestOrderPositionTransactionID)) + ) && + ( + this.ExpirationDateExtendedFlag == input.ExpirationDateExtendedFlag || + (this.ExpirationDateExtendedFlag != null && + this.ExpirationDateExtendedFlag.Equals(input.ExpirationDateExtendedFlag)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.LayawayID != null) + hashCode = hashCode * 59 + this.LayawayID.GetHashCode(); + if (this.CreateTimestamp != null) + hashCode = hashCode * 59 + this.CreateTimestamp.GetHashCode(); + if (this.CreateTimestampUTC0 != null) + hashCode = hashCode * 59 + this.CreateTimestampUTC0.GetHashCode(); + if (this.StatusCode != null) + hashCode = hashCode * 59 + this.StatusCode.GetHashCode(); + if (this.SuspendedFlag != null) + hashCode = hashCode * 59 + this.SuspendedFlag.GetHashCode(); + if (this.RebookedFlag != null) + hashCode = hashCode * 59 + this.RebookedFlag.GetHashCode(); + if (this.ClaimedFlag != null) + hashCode = hashCode * 59 + this.ClaimedFlag.GetHashCode(); + if (this.LaywayUpdateSequence != null) + hashCode = hashCode * 59 + this.LaywayUpdateSequence.GetHashCode(); + if (this.PendingTransactionID != null) + hashCode = hashCode * 59 + this.PendingTransactionID.GetHashCode(); + if (this.LastUpdateTimeStamp != null) + hashCode = hashCode * 59 + this.LastUpdateTimeStamp.GetHashCode(); + if (this.LastUpdateTimeStampUTC0 != null) + hashCode = hashCode * 59 + this.LastUpdateTimeStampUTC0.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.ExpirationDate != null) + hashCode = hashCode * 59 + this.ExpirationDate.GetHashCode(); + if (this.ExpirationDateUTC0 != null) + hashCode = hashCode * 59 + this.ExpirationDateUTC0.GetHashCode(); + if (this.ExpirationNotificationDate != null) + hashCode = hashCode * 59 + this.ExpirationNotificationDate.GetHashCode(); + if (this.ExpirationNotificationDateUTC0 != null) + hashCode = hashCode * 59 + this.ExpirationNotificationDateUTC0.GetHashCode(); + if (this.TerminationDate != null) + hashCode = hashCode * 59 + this.TerminationDate.GetHashCode(); + if (this.TerminationDateUTC0 != null) + hashCode = hashCode * 59 + this.TerminationDateUTC0.GetHashCode(); + if (this.TotalAmount != null) + hashCode = hashCode * 59 + this.TotalAmount.GetHashCode(); + if (this.TotalDownPaymentsAmount != null) + hashCode = hashCode * 59 + this.TotalDownPaymentsAmount.GetHashCode(); + if (this.PenaltyFee != null) + hashCode = hashCode * 59 + this.PenaltyFee.GetHashCode(); + if (this.CancellationFee != null) + hashCode = hashCode * 59 + this.CancellationFee.GetHashCode(); + if (this.LayawayLineItemList != null) + hashCode = hashCode * 59 + this.LayawayLineItemList.GetHashCode(); + if (this.LayawayCorrelationChecksum != null) + hashCode = hashCode * 59 + this.LayawayCorrelationChecksum.GetHashCode(); + if (this.LatestOrderPositionTransactionID != null) + hashCode = hashCode * 59 + this.LatestOrderPositionTransactionID.GetHashCode(); + if (this.ExpirationDateExtendedFlag != null) + hashCode = hashCode * 59 + this.ExpirationDateExtendedFlag.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand.cs new file mode 100644 index 0000000000000000000000000000000000000000..6821fba645a5fef99a086038cf050c82bda8315f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand.cs @@ -0,0 +1,298 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkstationCommand <p>This DB table contains info about commands for POSes registered by POS server processes.</p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE) (required). + /// time of creation; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// UTC0 time of creation; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand(ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey key = default(ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey), string command = default(string), string createTimestamp = default(string), DateTime? createTimestampUTC0 = default(DateTime?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "command" is required (not null) + if (command == null) + { + throw new InvalidDataException("command is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand and cannot be null"); + } + else + { + this.Command = command; + } + // to ensure "createTimestamp" is required (not null) + if (createTimestamp == null) + { + throw new InvalidDataException("createTimestamp is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand and cannot be null"); + } + else + { + this.CreateTimestamp = createTimestamp; + } + // to ensure "createTimestampUTC0" is required (not null) + if (createTimestampUTC0 == null) + { + throw new InvalidDataException("createTimestampUTC0 is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand and cannot be null"); + } + else + { + this.CreateTimestampUTC0 = createTimestampUTC0; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey Key { get; set; } + + /// + /// designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE) + /// + /// designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE) + [DataMember(Name="command", EmitDefaultValue=false)] + public string Command { get; set; } + + /// + /// time of creation; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// time of creation; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="createTimestamp", EmitDefaultValue=false)] + public string CreateTimestamp { get; set; } + + /// + /// UTC0 time of creation; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of creation; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="createTimestampUTC0", EmitDefaultValue=false)] + public DateTime? CreateTimestampUTC0 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Command: ").Append(Command).Append("\n"); + sb.Append(" CreateTimestamp: ").Append(CreateTimestamp).Append("\n"); + sb.Append(" CreateTimestampUTC0: ").Append(CreateTimestampUTC0).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Command == input.Command || + (this.Command != null && + this.Command.Equals(input.Command)) + ) && + ( + this.CreateTimestamp == input.CreateTimestamp || + (this.CreateTimestamp != null && + this.CreateTimestamp.Equals(input.CreateTimestamp)) + ) && + ( + this.CreateTimestampUTC0 == input.CreateTimestampUTC0 || + (this.CreateTimestampUTC0 != null && + this.CreateTimestampUTC0.Equals(input.CreateTimestampUTC0)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Command != null) + hashCode = hashCode * 59 + this.Command.GetHashCode(); + if (this.CreateTimestamp != null) + hashCode = hashCode * 59 + this.CreateTimestamp.GetHashCode(); + if (this.CreateTimestampUTC0 != null) + hashCode = hashCode * 59 + this.CreateTimestampUTC0.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b908238cfa2411a3c6e4ff0cfdd29bfa1f72e5bc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkstationCommand.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey() { } + /// + /// Initializes a new instance of the class. + /// + /// store ID (required). + /// workstation ID (required). + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS (required). + /// identificator for deleting by POS's (required). + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey(string businessUnitGroupID = default(string), string workstationID = default(string), string sessionID = default(string), string commandID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "workstationID" is required (not null) + if (workstationID == null) + { + throw new InvalidDataException("workstationID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey and cannot be null"); + } + else + { + this.WorkstationID = workstationID; + } + // to ensure "sessionID" is required (not null) + if (sessionID == null) + { + throw new InvalidDataException("sessionID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey and cannot be null"); + } + else + { + this.SessionID = sessionID; + } + // to ensure "commandID" is required (not null) + if (commandID == null) + { + throw new InvalidDataException("commandID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey and cannot be null"); + } + else + { + this.CommandID = commandID; + } + } + + /// + /// store ID + /// + /// store ID + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// workstation ID + /// + /// workstation ID + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + [DataMember(Name="sessionID", EmitDefaultValue=false)] + public string SessionID { get; set; } + + /// + /// identificator for deleting by POS's + /// + /// identificator for deleting by POS's + [DataMember(Name="commandID", EmitDefaultValue=false)] + public string CommandID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" SessionID: ").Append(SessionID).Append("\n"); + sb.Append(" CommandID: ").Append(CommandID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.SessionID == input.SessionID || + (this.SessionID != null && + this.SessionID.Equals(input.SessionID)) + ) && + ( + this.CommandID == input.CommandID || + (this.CommandID != null && + this.CommandID.Equals(input.CommandID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.SessionID != null) + hashCode = hashCode * 59 + this.SessionID.GetHashCode(); + if (this.CommandID != null) + hashCode = hashCode * 59 + this.CommandID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..703c3277aaa7ceb61753d9858f9f3d02489ac79a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus.cs @@ -0,0 +1,341 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkstationStatus <p>This DB table contains information about</p><ul><li>online/offline workstations</li><li>sign-on (also paused) / sign-off operators on workstations</li></ul> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// last workstation client address (IP + DNS name) (required). + /// the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations (required). + /// signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline. + /// the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// token to be used in successive calls, otherwise the data will be rejected. This provides control if calls are done in correct order.If background process is about to notify server that client is still alive and operator is login in, request from the background process can get delayed and can be processed after login request, effectively login out the user, so correct order is important.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus(ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey key = default(ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey), string workstationLastConnectedAddress = default(string), string workstationLastConnectedTimestamp = default(string), string loginType = default(string), string operatorID = default(string), DateTime? workstationLastConnectedTimestampUTC0 = default(DateTime?), string token = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "workstationLastConnectedAddress" is required (not null) + if (workstationLastConnectedAddress == null) + { + throw new InvalidDataException("workstationLastConnectedAddress is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus and cannot be null"); + } + else + { + this.WorkstationLastConnectedAddress = workstationLastConnectedAddress; + } + // to ensure "loginType" is required (not null) + if (loginType == null) + { + throw new InvalidDataException("loginType is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus and cannot be null"); + } + else + { + this.LoginType = loginType; + } + this.WorkstationLastConnectedTimestamp = workstationLastConnectedTimestamp; + this.OperatorID = operatorID; + this.WorkstationLastConnectedTimestampUTC0 = workstationLastConnectedTimestampUTC0; + this.Token = token; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey Key { get; set; } + + /// + /// last workstation client address (IP + DNS name) + /// + /// last workstation client address (IP + DNS name) + [DataMember(Name="workstationLastConnectedAddress", EmitDefaultValue=false)] + public string WorkstationLastConnectedAddress { get; set; } + + /// + /// the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="workstationLastConnectedTimestamp", EmitDefaultValue=false)] + public string WorkstationLastConnectedTimestamp { get; set; } + + /// + /// POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations + /// + /// POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations + [DataMember(Name="loginType", EmitDefaultValue=false)] + public string LoginType { get; set; } + + /// + /// signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline + /// + /// signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="workstationLastConnectedTimestampUTC0", EmitDefaultValue=false)] + public DateTime? WorkstationLastConnectedTimestampUTC0 { get; set; } + + /// + /// token to be used in successive calls, otherwise the data will be rejected. This provides control if calls are done in correct order.If background process is about to notify server that client is still alive and operator is login in, request from the background process can get delayed and can be processed after login request, effectively login out the user, so correct order is important. + /// + /// token to be used in successive calls, otherwise the data will be rejected. This provides control if calls are done in correct order.If background process is about to notify server that client is still alive and operator is login in, request from the background process can get delayed and can be processed after login request, effectively login out the user, so correct order is important. + [DataMember(Name="token", EmitDefaultValue=false)] + public string Token { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" WorkstationLastConnectedAddress: ").Append(WorkstationLastConnectedAddress).Append("\n"); + sb.Append(" WorkstationLastConnectedTimestamp: ").Append(WorkstationLastConnectedTimestamp).Append("\n"); + sb.Append(" LoginType: ").Append(LoginType).Append("\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" WorkstationLastConnectedTimestampUTC0: ").Append(WorkstationLastConnectedTimestampUTC0).Append("\n"); + sb.Append(" Token: ").Append(Token).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.WorkstationLastConnectedAddress == input.WorkstationLastConnectedAddress || + (this.WorkstationLastConnectedAddress != null && + this.WorkstationLastConnectedAddress.Equals(input.WorkstationLastConnectedAddress)) + ) && + ( + this.WorkstationLastConnectedTimestamp == input.WorkstationLastConnectedTimestamp || + (this.WorkstationLastConnectedTimestamp != null && + this.WorkstationLastConnectedTimestamp.Equals(input.WorkstationLastConnectedTimestamp)) + ) && + ( + this.LoginType == input.LoginType || + (this.LoginType != null && + this.LoginType.Equals(input.LoginType)) + ) && + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.WorkstationLastConnectedTimestampUTC0 == input.WorkstationLastConnectedTimestampUTC0 || + (this.WorkstationLastConnectedTimestampUTC0 != null && + this.WorkstationLastConnectedTimestampUTC0.Equals(input.WorkstationLastConnectedTimestampUTC0)) + ) && + ( + this.Token == input.Token || + (this.Token != null && + this.Token.Equals(input.Token)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.WorkstationLastConnectedAddress != null) + hashCode = hashCode * 59 + this.WorkstationLastConnectedAddress.GetHashCode(); + if (this.WorkstationLastConnectedTimestamp != null) + hashCode = hashCode * 59 + this.WorkstationLastConnectedTimestamp.GetHashCode(); + if (this.LoginType != null) + hashCode = hashCode * 59 + this.LoginType.GetHashCode(); + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.WorkstationLastConnectedTimestampUTC0 != null) + hashCode = hashCode * 59 + this.WorkstationLastConnectedTimestampUTC0.GetHashCode(); + if (this.Token != null) + hashCode = hashCode * 59 + this.Token.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..619fca31cbca6b8555fbc90429fe25ac79289120 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkstationStatus.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey() { } + /// + /// Initializes a new instance of the class. + /// + /// store ID (required). + /// workstation ID (required). + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS (required). + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey(string businessUnitGroupID = default(string), string workstationID = default(string), string sessionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "workstationID" is required (not null) + if (workstationID == null) + { + throw new InvalidDataException("workstationID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey and cannot be null"); + } + else + { + this.WorkstationID = workstationID; + } + // to ensure "sessionID" is required (not null) + if (sessionID == null) + { + throw new InvalidDataException("sessionID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey and cannot be null"); + } + else + { + this.SessionID = sessionID; + } + } + + /// + /// store ID + /// + /// store ID + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// workstation ID + /// + /// workstation ID + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + [DataMember(Name="sessionID", EmitDefaultValue=false)] + public string SessionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" SessionID: ").Append(SessionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.SessionID == input.SessionID || + (this.SessionID != null && + this.SessionID.Equals(input.SessionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.SessionID != null) + hashCode = hashCode * 59 + this.SessionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..0877cae9724b94f3021ac0c73c0fb3fe71a01b54 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus.cs @@ -0,0 +1,273 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkstationTenderRepositoryStatus <p>This DB table contains about save and tills used on workstations.</p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// TI, SA (required). + /// 0, 1, 2 - see business concept (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus(ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey key = default(ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey), string tenderRepositoryClassType = default(string), int? exclusiveLevel = default(int?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "tenderRepositoryClassType" is required (not null) + if (tenderRepositoryClassType == null) + { + throw new InvalidDataException("tenderRepositoryClassType is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus and cannot be null"); + } + else + { + this.TenderRepositoryClassType = tenderRepositoryClassType; + } + // to ensure "exclusiveLevel" is required (not null) + if (exclusiveLevel == null) + { + throw new InvalidDataException("exclusiveLevel is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus and cannot be null"); + } + else + { + this.ExclusiveLevel = exclusiveLevel; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey Key { get; set; } + + /// + /// TI, SA + /// + /// TI, SA + [DataMember(Name="tenderRepositoryClassType", EmitDefaultValue=false)] + public string TenderRepositoryClassType { get; set; } + + /// + /// 0, 1, 2 - see business concept + /// + /// 0, 1, 2 - see business concept + [DataMember(Name="exclusiveLevel", EmitDefaultValue=false)] + public int? ExclusiveLevel { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TenderRepositoryClassType: ").Append(TenderRepositoryClassType).Append("\n"); + sb.Append(" ExclusiveLevel: ").Append(ExclusiveLevel).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TenderRepositoryClassType == input.TenderRepositoryClassType || + (this.TenderRepositoryClassType != null && + this.TenderRepositoryClassType.Equals(input.TenderRepositoryClassType)) + ) && + ( + this.ExclusiveLevel == input.ExclusiveLevel || + (this.ExclusiveLevel != null && + this.ExclusiveLevel.Equals(input.ExclusiveLevel)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TenderRepositoryClassType != null) + hashCode = hashCode * 59 + this.TenderRepositoryClassType.GetHashCode(); + if (this.ExclusiveLevel != null) + hashCode = hashCode * 59 + this.ExclusiveLevel.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..be3a665e9434e641566535589cf1d2bb06041dd3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkstationTenderRepositoryStatus.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey() { } + /// + /// Initializes a new instance of the class. + /// + /// store ID (required). + /// workstation ID (required). + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS (required). + /// assigned till or safe (required). + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey(string businessUnitGroupID = default(string), string workstationID = default(string), string sessionID = default(string), string tenderRepositoryID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "workstationID" is required (not null) + if (workstationID == null) + { + throw new InvalidDataException("workstationID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey and cannot be null"); + } + else + { + this.WorkstationID = workstationID; + } + // to ensure "sessionID" is required (not null) + if (sessionID == null) + { + throw new InvalidDataException("sessionID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey and cannot be null"); + } + else + { + this.SessionID = sessionID; + } + // to ensure "tenderRepositoryID" is required (not null) + if (tenderRepositoryID == null) + { + throw new InvalidDataException("tenderRepositoryID is a required property for ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey and cannot be null"); + } + else + { + this.TenderRepositoryID = tenderRepositoryID; + } + } + + /// + /// store ID + /// + /// store ID + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// workstation ID + /// + /// workstation ID + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + [DataMember(Name="sessionID", EmitDefaultValue=false)] + public string SessionID { get; set; } + + /// + /// assigned till or safe + /// + /// assigned till or safe + [DataMember(Name="tenderRepositoryID", EmitDefaultValue=false)] + public string TenderRepositoryID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" SessionID: ").Append(SessionID).Append("\n"); + sb.Append(" TenderRepositoryID: ").Append(TenderRepositoryID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.SessionID == input.SessionID || + (this.SessionID != null && + this.SessionID.Equals(input.SessionID)) + ) && + ( + this.TenderRepositoryID == input.TenderRepositoryID || + (this.TenderRepositoryID != null && + this.TenderRepositoryID.Equals(input.TenderRepositoryID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.SessionID != null) + hashCode = hashCode * 59 + this.SessionID.GetHashCode(); + if (this.TenderRepositoryID != null) + hashCode = hashCode * 59 + this.TenderRepositoryID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData.cs new file mode 100644 index 0000000000000000000000000000000000000000..559d8ada76dc821ec1a57e8fe11469816754f19c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemRefundData <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// returned quantity (required). + public ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData(ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey key = default(ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey), double? returnedQuantity = default(double?)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "returnedQuantity" is required (not null) + if (returnedQuantity == null) + { + throw new InvalidDataException("returnedQuantity is a required property for ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData and cannot be null"); + } + else + { + this.ReturnedQuantity = returnedQuantity; + } + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey Key { get; set; } + + /// + /// returned quantity + /// + /// returned quantity + [DataMember(Name="returnedQuantity", EmitDefaultValue=false)] + public double? ReturnedQuantity { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ReturnedQuantity: ").Append(ReturnedQuantity).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData); + } + + /// + /// Returns true if ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData instances are equal + /// + /// Instance of ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ReturnedQuantity == input.ReturnedQuantity || + (this.ReturnedQuantity != null && + this.ReturnedQuantity.Equals(input.ReturnedQuantity)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ReturnedQuantity != null) + hashCode = hashCode * 59 + this.ReturnedQuantity.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a56325474fae0395cfa931d55f47c540ab8dc6d7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemRefundData.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey() { } + /// + /// Initializes a new instance of the class. + /// + /// line item number (required). + public ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey(int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// line item number + /// + /// line item number + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey {\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey input) + { + if (input == null) + return false; + + return + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..2927918699cd0ef7102b542f99d42ae957b34843 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction.cs @@ -0,0 +1,180 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RefundTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// transaction data of the loaded transaction (required). + /// Transaction checksum, mandatory parameter for checked calls (required). + /// list of RefundData of line items. + public ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), string checksum = default(string), List lineItemRefundDataList = default(List)) + { + // to ensure "transaction" is required (not null) + if (transaction == null) + { + throw new InvalidDataException("transaction is a required property for ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction and cannot be null"); + } + else + { + this.Transaction = transaction; + } + // to ensure "checksum" is required (not null) + if (checksum == null) + { + throw new InvalidDataException("checksum is a required property for ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction and cannot be null"); + } + else + { + this.Checksum = checksum; + } + this.LineItemRefundDataList = lineItemRefundDataList; + } + + /// + /// transaction data of the loaded transaction + /// + /// transaction data of the loaded transaction + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// Transaction checksum, mandatory parameter for checked calls + /// + /// Transaction checksum, mandatory parameter for checked calls + [DataMember(Name="checksum", EmitDefaultValue=false)] + public string Checksum { get; set; } + + /// + /// list of RefundData of line items + /// + /// list of RefundData of line items + [DataMember(Name="lineItemRefundDataList", EmitDefaultValue=false)] + public List LineItemRefundDataList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" Checksum: ").Append(Checksum).Append("\n"); + sb.Append(" LineItemRefundDataList: ").Append(LineItemRefundDataList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.Checksum == input.Checksum || + (this.Checksum != null && + this.Checksum.Equals(input.Checksum)) + ) && + ( + this.LineItemRefundDataList == input.LineItemRefundDataList || + this.LineItemRefundDataList != null && + this.LineItemRefundDataList.SequenceEqual(input.LineItemRefundDataList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.Checksum != null) + hashCode = hashCode * 59 + this.Checksum.GetHashCode(); + if (this.LineItemRefundDataList != null) + hashCode = hashCode * 59 + this.LineItemRefundDataList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..6bc1b44be5439ba23e7aec82fb73482ef7f11255 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TranslationDO <p>TODO<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>TODO<br /></p>. + public ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO(ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey key = default(ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey), string translationValue = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO and cannot be null"); + } + else + { + this.Key = key; + } + this.TranslationValue = translationValue; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey Key { get; set; } + + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + [DataMember(Name="translationValue", EmitDefaultValue=false)] + public string TranslationValue { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TranslationValue: ").Append(TranslationValue).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TranslationValue == input.TranslationValue || + (this.TranslationValue != null && + this.TranslationValue.Equals(input.TranslationValue)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TranslationValue != null) + hashCode = hashCode * 59 + this.TranslationValue.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6fb63b136c9e8dfd79f3c229682883faab94e3f4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TranslationDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>TODO<br /></p> (required). + /// <p>TODO<br /></p> (required). + /// <p>TODO<br /></p> (required). + public ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey(string tid = default(string), string languageID = default(string), string translationKey = default(string)) + { + // to ensure "tid" is required (not null) + if (tid == null) + { + throw new InvalidDataException("tid is a required property for ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey and cannot be null"); + } + else + { + this.Tid = tid; + } + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + // to ensure "translationKey" is required (not null) + if (translationKey == null) + { + throw new InvalidDataException("translationKey is a required property for ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey and cannot be null"); + } + else + { + this.TranslationKey = translationKey; + } + } + + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + [DataMember(Name="translationKey", EmitDefaultValue=false)] + public string TranslationKey { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey {\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" TranslationKey: ").Append(TranslationKey).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey input) + { + if (input == null) + return false; + + return + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.TranslationKey == input.TranslationKey || + (this.TranslationKey != null && + this.TranslationKey.Equals(input.TranslationKey)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.TranslationKey != null) + hashCode = hashCode * 59 + this.TranslationKey.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..5f78ebb9f314a1a0ad6672ac6b7204d4d282c631 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount.cs @@ -0,0 +1,295 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BankAccount <p>Information about bank account.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Bank description.<br /></p>. + /// <p>Bank account number in a national format, not international.<br /></p>. + /// <p>Bank identification code in a national format.<br /></p>. + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p>. + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p>. + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount(string bankDescription = default(string), string bankAccountNumber = default(string), string nationalBankIdentificationCode = default(string), string internationalBankAccountNumber = default(string), string bankIdentificationCode = default(string), string bankAccountTypeCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + this.BankDescription = bankDescription; + this.BankAccountNumber = bankAccountNumber; + this.NationalBankIdentificationCode = nationalBankIdentificationCode; + this.InternationalBankAccountNumber = internationalBankAccountNumber; + this.BankIdentificationCode = bankIdentificationCode; + this.BankAccountTypeCode = bankAccountTypeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Bank description.<br /></p> + /// + /// <p>Bank description.<br /></p> + [DataMember(Name="bankDescription", EmitDefaultValue=false)] + public string BankDescription { get; set; } + + /// + /// <p>Bank account number in a national format, not international.<br /></p> + /// + /// <p>Bank account number in a national format, not international.<br /></p> + [DataMember(Name="bankAccountNumber", EmitDefaultValue=false)] + public string BankAccountNumber { get; set; } + + /// + /// <p>Bank identification code in a national format.<br /></p> + /// + /// <p>Bank identification code in a national format.<br /></p> + [DataMember(Name="nationalBankIdentificationCode", EmitDefaultValue=false)] + public string NationalBankIdentificationCode { get; set; } + + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + [DataMember(Name="internationalBankAccountNumber", EmitDefaultValue=false)] + public string InternationalBankAccountNumber { get; set; } + + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + [DataMember(Name="bankIdentificationCode", EmitDefaultValue=false)] + public string BankIdentificationCode { get; set; } + + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + [DataMember(Name="bankAccountTypeCode", EmitDefaultValue=false)] + public string BankAccountTypeCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount {\n"); + sb.Append(" BankDescription: ").Append(BankDescription).Append("\n"); + sb.Append(" BankAccountNumber: ").Append(BankAccountNumber).Append("\n"); + sb.Append(" NationalBankIdentificationCode: ").Append(NationalBankIdentificationCode).Append("\n"); + sb.Append(" InternationalBankAccountNumber: ").Append(InternationalBankAccountNumber).Append("\n"); + sb.Append(" BankIdentificationCode: ").Append(BankIdentificationCode).Append("\n"); + sb.Append(" BankAccountTypeCode: ").Append(BankAccountTypeCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount input) + { + if (input == null) + return false; + + return + ( + this.BankDescription == input.BankDescription || + (this.BankDescription != null && + this.BankDescription.Equals(input.BankDescription)) + ) && + ( + this.BankAccountNumber == input.BankAccountNumber || + (this.BankAccountNumber != null && + this.BankAccountNumber.Equals(input.BankAccountNumber)) + ) && + ( + this.NationalBankIdentificationCode == input.NationalBankIdentificationCode || + (this.NationalBankIdentificationCode != null && + this.NationalBankIdentificationCode.Equals(input.NationalBankIdentificationCode)) + ) && + ( + this.InternationalBankAccountNumber == input.InternationalBankAccountNumber || + (this.InternationalBankAccountNumber != null && + this.InternationalBankAccountNumber.Equals(input.InternationalBankAccountNumber)) + ) && + ( + this.BankIdentificationCode == input.BankIdentificationCode || + (this.BankIdentificationCode != null && + this.BankIdentificationCode.Equals(input.BankIdentificationCode)) + ) && + ( + this.BankAccountTypeCode == input.BankAccountTypeCode || + (this.BankAccountTypeCode != null && + this.BankAccountTypeCode.Equals(input.BankAccountTypeCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BankDescription != null) + hashCode = hashCode * 59 + this.BankDescription.GetHashCode(); + if (this.BankAccountNumber != null) + hashCode = hashCode * 59 + this.BankAccountNumber.GetHashCode(); + if (this.NationalBankIdentificationCode != null) + hashCode = hashCode * 59 + this.NationalBankIdentificationCode.GetHashCode(); + if (this.InternationalBankAccountNumber != null) + hashCode = hashCode * 59 + this.InternationalBankAccountNumber.GetHashCode(); + if (this.BankIdentificationCode != null) + hashCode = hashCode * 59 + this.BankIdentificationCode.GetHashCode(); + if (this.BankAccountTypeCode != null) + hashCode = hashCode * 59 + this.BankAccountTypeCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..71344b5a60e9966d3fd705156796f29cdebe71bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter.cs @@ -0,0 +1,241 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitContactFilter <p>Filter for searching of address<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter : IEquatable, IValidatableObject + { + /// + /// Defines BusinessUnitStatusCode + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum BusinessUnitStatusCodeEnum + { + + /// + /// Enum ENABLED for value: ENABLED + /// + [EnumMember(Value = "ENABLED")] + ENABLED = 1, + + /// + /// Enum DISABLED for value: DISABLED + /// + [EnumMember(Value = "DISABLED")] + DISABLED = 2, + + /// + /// Enum SCHEDULEDFORDELETION for value: SCHEDULED_FOR_DELETION + /// + [EnumMember(Value = "SCHEDULED_FOR_DELETION")] + SCHEDULEDFORDELETION = 3, + + /// + /// Enum DELETED for value: DELETED + /// + [EnumMember(Value = "DELETED")] + DELETED = 4 + } + + /// + /// Gets or Sets BusinessUnitStatusCode + /// + [DataMember(Name="businessUnitStatusCode", EmitDefaultValue=false)] + public BusinessUnitStatusCodeEnum? BusinessUnitStatusCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>Identifier for a retail store, distribution center or administration center (internal identifier).<br /></p>. + /// <p>Identifier for a group of business units.<br /></p>. + /// <p>Street<br /></p>. + /// <p>City<br /></p>. + /// <p>Postal code<br /></p>. + /// businessUnitStatusCode. + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter(string businessUnitID = default(string), string businessUnitGroupID = default(string), string street = default(string), string city = default(string), string postalCode = default(string), BusinessUnitStatusCodeEnum? businessUnitStatusCode = default(BusinessUnitStatusCodeEnum?)) + { + this.BusinessUnitID = businessUnitID; + this.BusinessUnitGroupID = businessUnitGroupID; + this.Street = street; + this.City = city; + this.PostalCode = postalCode; + this.BusinessUnitStatusCode = businessUnitStatusCode; + } + + /// + /// <p>Identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + /// + /// <p>Identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// <p>Identifier for a group of business units.<br /></p> + /// + /// <p>Identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Street<br /></p> + /// + /// <p>Street<br /></p> + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// <p>City<br /></p> + /// + /// <p>City<br /></p> + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// <p>Postal code<br /></p> + /// + /// <p>Postal code<br /></p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter {\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" BusinessUnitStatusCode: ").Append(BusinessUnitStatusCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.Street == input.Street || + (this.Street != null && + this.Street.Equals(input.Street)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.BusinessUnitStatusCode == input.BusinessUnitStatusCode || + (this.BusinessUnitStatusCode != null && + this.BusinessUnitStatusCode.Equals(input.BusinessUnitStatusCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.Street != null) + hashCode = hashCode * 59 + this.Street.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.BusinessUnitStatusCode != null) + hashCode = hashCode * 59 + this.BusinessUnitStatusCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..639e42072c7dc2cbbf1b26c4e2d17bfcc26e898e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO.cs @@ -0,0 +1,1412 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitDO <p>A retail store, distribution center or administration center at which the retailer conducts retail operations.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO : IEquatable, IValidatableObject + { + /// + /// <p>The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.<br /></p> + /// + /// <p>The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum BusinessUnitStatusCodeEnum + { + + /// + /// Enum ENABLED for value: ENABLED + /// + [EnumMember(Value = "ENABLED")] + ENABLED = 1, + + /// + /// Enum DISABLED for value: DISABLED + /// + [EnumMember(Value = "DISABLED")] + DISABLED = 2, + + /// + /// Enum SCHEDULEDFORDELETION for value: SCHEDULED_FOR_DELETION + /// + [EnumMember(Value = "SCHEDULED_FOR_DELETION")] + SCHEDULEDFORDELETION = 3, + + /// + /// Enum DELETED for value: DELETED + /// + [EnumMember(Value = "DELETED")] + DELETED = 4 + } + + /// + /// <p>The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.<br /></p> + /// + /// <p>The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.<br /></p> + [DataMember(Name="businessUnitStatusCode", EmitDefaultValue=false)] + public BusinessUnitStatusCodeEnum? BusinessUnitStatusCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>External identifier for the business unit.<br /></p>. + /// <p>ID of the parent business unit group<br /></p>. + /// <p>External ID of the parent business unit group<br /></p>. + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p>. + /// <p>Name of the level within the business unit grouping hierarchy (external identifier of level).<br /></p>. + /// <p>Global location number<br /></p>. + /// <p>VAT registration number<br /></p>. + /// <p>The country code of the store.<br /></p>. + /// <p>SAP time zone code<br /></p>. + /// <p>ID of the time zone in the Java format (e.g. 'US/Eastern', 'Europe/Prague')<br /></p>. + /// <p>ISO-Code of the language which is used in the business unit<br /></p>. + /// <p>The name of the business unit<br /></p>. + /// <p>The surrogate name of the business unit<br /></p>. + /// <p>Effective date of the assignment to the GK<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Determines the assignment to the RG business unit group hierarchy<br /></p>. + /// <p>Determines the assignment to the SEH business unit group hierarchy<br /></p>. + /// <p>ID of the parent business unit group with the function code 'OMS'<br /></p>. + /// <p>Determines whether the GK system is installed in the store or not<br /></p>. + /// <p>Identifier of the main currency of the retail store.<br /></p>. + /// <p>Determines whether this store provides data to the GFK organization<br /></p>. + /// <p>The size of the retail store. This is usually split by the non-sales and sales areas.<br /></p>. + /// <p>The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.<br /></p>. + /// <p>Code of the MerchandiseHierarchyFunction which is relevant for that store<br /></p>. + /// <p>Indicates if the prices include all applicable sales taxes or not.<br /></p>. + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p>. + /// <p>The second currency which is e.g. to be shown in the receipt total and to be printed on the receipt (during the time of changing of a local currency to EURO)<br /></p>. + /// <p>The name of the unit which is mainly used for weighing information<br /></p>. + /// <p>An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.<br /></p>. + /// <p>List of receiving locations.<br /></p>. + /// <p>List of company codes of the store.<br /></p>. + /// <p>List of bank accounts<br /></p>. + /// <p>ID of the party information<br /></p>. + /// <p>Reference to the party structure<br /></p>. + /// <p>List of contacts<br /></p>. + /// <p>List of translations for the business unit.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Identifier of an organizational unit responsible for the sale of certain products or services.<br /> The responsibility of a sales organization may include legal liability for products and customer claims.<br /></p>. + /// <p>Distribution channel is the way in which products or services reach the customer.<br /> Typical examples of distribution channels are wholesale, retail, or direct sales.<br /></p>. + /// <p>The UTC0 date and time when the business unit was finally deleted<br /></p> UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// <p>The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.<br /></p>. + /// <p>Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).<br /></p>. + /// <p>Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey key = default(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey), string externalBusinessUnitID = default(string), string parentBusinessUnitGroupID = default(string), string parentExternalBusinessUnitGroupID = default(string), string businessUnitGroupLevelID = default(string), string externalBusinessUnitGroupLevelID = default(string), string globalLocationNumber = default(string), string vatRegistrationNumber = default(string), string isoCountryCode = default(string), string timeZoneCode = default(string), string timeZoneLongID = default(string), string languageID = default(string), string name = default(string), string surrogateName = default(string), string gkEffectiveDate = default(string), bool? regionFlag = default(bool?), bool? independentRetailerFlag = default(bool?), string ownerOfMultipleStoresParentID = default(string), bool? gkSystemFlag = default(bool?), string mainCurrencyID = default(string), bool? exportToGfkFlag = default(bool?), double? size = default(double?), double? sellingAreaSize = default(double?), string merchandiseHierarchyFunctionCode = default(string), bool? includesSalesTaxFlag = default(bool?), string taxNumber = default(string), string alternateISOCurrencyCode = default(string), string mainWeighingUnit = default(string), string purchasingOrganization = default(string), List receiverLocationList = default(List), List companyCodeList = default(List), List bankAccountList = default(List), string partyID = default(string), ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO party = default(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO), ComGkSoftwareGkrApiServerMdContactDtoDomContactDO contact = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactDO), List translationList = default(List), string packageID = default(string), string salesOrganizationID = default(string), string distributionChannelTypeCode = default(string), DateTime? deleteTimestampUTC0 = default(DateTime?), BusinessUnitStatusCodeEnum? businessUnitStatusCode = default(BusinessUnitStatusCodeEnum?), double? latitudeDecimalDegrees = default(double?), double? longitudeDecimalDegrees = default(double?), string tid = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO and cannot be null"); + } + else + { + this.Key = key; + } + this.ExternalBusinessUnitID = externalBusinessUnitID; + this.ParentBusinessUnitGroupID = parentBusinessUnitGroupID; + this.ParentExternalBusinessUnitGroupID = parentExternalBusinessUnitGroupID; + this.BusinessUnitGroupLevelID = businessUnitGroupLevelID; + this.ExternalBusinessUnitGroupLevelID = externalBusinessUnitGroupLevelID; + this.GlobalLocationNumber = globalLocationNumber; + this.VatRegistrationNumber = vatRegistrationNumber; + this.IsoCountryCode = isoCountryCode; + this.TimeZoneCode = timeZoneCode; + this.TimeZoneLongID = timeZoneLongID; + this.LanguageID = languageID; + this.Name = name; + this.SurrogateName = surrogateName; + this.GkEffectiveDate = gkEffectiveDate; + this.RegionFlag = regionFlag; + this.IndependentRetailerFlag = independentRetailerFlag; + this.OwnerOfMultipleStoresParentID = ownerOfMultipleStoresParentID; + this.GkSystemFlag = gkSystemFlag; + this.MainCurrencyID = mainCurrencyID; + this.ExportToGfkFlag = exportToGfkFlag; + this.Size = size; + this.SellingAreaSize = sellingAreaSize; + this.MerchandiseHierarchyFunctionCode = merchandiseHierarchyFunctionCode; + this.IncludesSalesTaxFlag = includesSalesTaxFlag; + this.TaxNumber = taxNumber; + this.AlternateISOCurrencyCode = alternateISOCurrencyCode; + this.MainWeighingUnit = mainWeighingUnit; + this.PurchasingOrganization = purchasingOrganization; + this.ReceiverLocationList = receiverLocationList; + this.CompanyCodeList = companyCodeList; + this.BankAccountList = bankAccountList; + this.PartyID = partyID; + this.Party = party; + this.Contact = contact; + this.TranslationList = translationList; + this.PackageID = packageID; + this.SalesOrganizationID = salesOrganizationID; + this.DistributionChannelTypeCode = distributionChannelTypeCode; + this.DeleteTimestampUTC0 = deleteTimestampUTC0; + this.BusinessUnitStatusCode = businessUnitStatusCode; + this.LatitudeDecimalDegrees = latitudeDecimalDegrees; + this.LongitudeDecimalDegrees = longitudeDecimalDegrees; + this.Tid = tid; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey Key { get; set; } + + /// + /// <p>External identifier for the business unit.<br /></p> + /// + /// <p>External identifier for the business unit.<br /></p> + [DataMember(Name="externalBusinessUnitID", EmitDefaultValue=false)] + public string ExternalBusinessUnitID { get; set; } + + /// + /// <p>ID of the parent business unit group<br /></p> + /// + /// <p>ID of the parent business unit group<br /></p> + [DataMember(Name="parentBusinessUnitGroupID", EmitDefaultValue=false)] + public string ParentBusinessUnitGroupID { get; set; } + + /// + /// <p>External ID of the parent business unit group<br /></p> + /// + /// <p>External ID of the parent business unit group<br /></p> + [DataMember(Name="parentExternalBusinessUnitGroupID", EmitDefaultValue=false)] + public string ParentExternalBusinessUnitGroupID { get; set; } + + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + [DataMember(Name="businessUnitGroupLevelID", EmitDefaultValue=false)] + public string BusinessUnitGroupLevelID { get; set; } + + /// + /// <p>Name of the level within the business unit grouping hierarchy (external identifier of level).<br /></p> + /// + /// <p>Name of the level within the business unit grouping hierarchy (external identifier of level).<br /></p> + [DataMember(Name="externalBusinessUnitGroupLevelID", EmitDefaultValue=false)] + public string ExternalBusinessUnitGroupLevelID { get; set; } + + /// + /// <p>Global location number<br /></p> + /// + /// <p>Global location number<br /></p> + [DataMember(Name="globalLocationNumber", EmitDefaultValue=false)] + public string GlobalLocationNumber { get; set; } + + /// + /// <p>VAT registration number<br /></p> + /// + /// <p>VAT registration number<br /></p> + [DataMember(Name="vatRegistrationNumber", EmitDefaultValue=false)] + public string VatRegistrationNumber { get; set; } + + /// + /// <p>The country code of the store.<br /></p> + /// + /// <p>The country code of the store.<br /></p> + [DataMember(Name="isoCountryCode", EmitDefaultValue=false)] + public string IsoCountryCode { get; set; } + + /// + /// <p>SAP time zone code<br /></p> + /// + /// <p>SAP time zone code<br /></p> + [DataMember(Name="timeZoneCode", EmitDefaultValue=false)] + public string TimeZoneCode { get; set; } + + /// + /// <p>ID of the time zone in the Java format (e.g. 'US/Eastern', 'Europe/Prague')<br /></p> + /// + /// <p>ID of the time zone in the Java format (e.g. 'US/Eastern', 'Europe/Prague')<br /></p> + [DataMember(Name="timeZoneLongID", EmitDefaultValue=false)] + public string TimeZoneLongID { get; set; } + + /// + /// <p>ISO-Code of the language which is used in the business unit<br /></p> + /// + /// <p>ISO-Code of the language which is used in the business unit<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>The name of the business unit<br /></p> + /// + /// <p>The name of the business unit<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The surrogate name of the business unit<br /></p> + /// + /// <p>The surrogate name of the business unit<br /></p> + [DataMember(Name="surrogateName", EmitDefaultValue=false)] + public string SurrogateName { get; set; } + + /// + /// <p>Effective date of the assignment to the GK<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Effective date of the assignment to the GK<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="gkEffectiveDate", EmitDefaultValue=false)] + public string GkEffectiveDate { get; set; } + + /// + /// <p>Determines the assignment to the RG business unit group hierarchy<br /></p> + /// + /// <p>Determines the assignment to the RG business unit group hierarchy<br /></p> + [DataMember(Name="regionFlag", EmitDefaultValue=false)] + public bool? RegionFlag { get; set; } + + /// + /// <p>Determines the assignment to the SEH business unit group hierarchy<br /></p> + /// + /// <p>Determines the assignment to the SEH business unit group hierarchy<br /></p> + [DataMember(Name="independentRetailerFlag", EmitDefaultValue=false)] + public bool? IndependentRetailerFlag { get; set; } + + /// + /// <p>ID of the parent business unit group with the function code 'OMS'<br /></p> + /// + /// <p>ID of the parent business unit group with the function code 'OMS'<br /></p> + [DataMember(Name="ownerOfMultipleStoresParentID", EmitDefaultValue=false)] + public string OwnerOfMultipleStoresParentID { get; set; } + + /// + /// <p>Determines whether the GK system is installed in the store or not<br /></p> + /// + /// <p>Determines whether the GK system is installed in the store or not<br /></p> + [DataMember(Name="gkSystemFlag", EmitDefaultValue=false)] + public bool? GkSystemFlag { get; set; } + + /// + /// <p>Identifier of the main currency of the retail store.<br /></p> + /// + /// <p>Identifier of the main currency of the retail store.<br /></p> + [DataMember(Name="mainCurrencyID", EmitDefaultValue=false)] + public string MainCurrencyID { get; set; } + + /// + /// <p>Determines whether this store provides data to the GFK organization<br /></p> + /// + /// <p>Determines whether this store provides data to the GFK organization<br /></p> + [DataMember(Name="exportToGfkFlag", EmitDefaultValue=false)] + public bool? ExportToGfkFlag { get; set; } + + /// + /// <p>The size of the retail store. This is usually split by the non-sales and sales areas.<br /></p> + /// + /// <p>The size of the retail store. This is usually split by the non-sales and sales areas.<br /></p> + [DataMember(Name="size", EmitDefaultValue=false)] + public double? Size { get; set; } + + /// + /// <p>The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.<br /></p> + /// + /// <p>The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.<br /></p> + [DataMember(Name="sellingAreaSize", EmitDefaultValue=false)] + public double? SellingAreaSize { get; set; } + + /// + /// <p>Code of the MerchandiseHierarchyFunction which is relevant for that store<br /></p> + /// + /// <p>Code of the MerchandiseHierarchyFunction which is relevant for that store<br /></p> + [DataMember(Name="merchandiseHierarchyFunctionCode", EmitDefaultValue=false)] + public string MerchandiseHierarchyFunctionCode { get; set; } + + /// + /// <p>Indicates if the prices include all applicable sales taxes or not.<br /></p> + /// + /// <p>Indicates if the prices include all applicable sales taxes or not.<br /></p> + [DataMember(Name="includesSalesTaxFlag", EmitDefaultValue=false)] + public bool? IncludesSalesTaxFlag { get; set; } + + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + [DataMember(Name="taxNumber", EmitDefaultValue=false)] + public string TaxNumber { get; set; } + + /// + /// <p>The second currency which is e.g. to be shown in the receipt total and to be printed on the receipt (during the time of changing of a local currency to EURO)<br /></p> + /// + /// <p>The second currency which is e.g. to be shown in the receipt total and to be printed on the receipt (during the time of changing of a local currency to EURO)<br /></p> + [DataMember(Name="alternateISOCurrencyCode", EmitDefaultValue=false)] + public string AlternateISOCurrencyCode { get; set; } + + /// + /// <p>The name of the unit which is mainly used for weighing information<br /></p> + /// + /// <p>The name of the unit which is mainly used for weighing information<br /></p> + [DataMember(Name="mainWeighingUnit", EmitDefaultValue=false)] + public string MainWeighingUnit { get; set; } + + /// + /// <p>An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.<br /></p> + /// + /// <p>An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.<br /></p> + [DataMember(Name="purchasingOrganization", EmitDefaultValue=false)] + public string PurchasingOrganization { get; set; } + + /// + /// <p>List of receiving locations.<br /></p> + /// + /// <p>List of receiving locations.<br /></p> + [DataMember(Name="receiverLocationList", EmitDefaultValue=false)] + public List ReceiverLocationList { get; set; } + + /// + /// <p>List of company codes of the store.<br /></p> + /// + /// <p>List of company codes of the store.<br /></p> + [DataMember(Name="companyCodeList", EmitDefaultValue=false)] + public List CompanyCodeList { get; set; } + + /// + /// <p>List of bank accounts<br /></p> + /// + /// <p>List of bank accounts<br /></p> + [DataMember(Name="bankAccountList", EmitDefaultValue=false)] + public List BankAccountList { get; set; } + + /// + /// <p>ID of the party information<br /></p> + /// + /// <p>ID of the party information<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>Reference to the party structure<br /></p> + /// + /// <p>Reference to the party structure<br /></p> + [DataMember(Name="party", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO Party { get; set; } + + /// + /// <p>List of contacts<br /></p> + /// + /// <p>List of contacts<br /></p> + [DataMember(Name="contact", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdContactDtoDomContactDO Contact { get; set; } + + /// + /// <p>List of translations for the business unit.<br /></p> + /// + /// <p>List of translations for the business unit.<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Identifier of an organizational unit responsible for the sale of certain products or services.<br /> The responsibility of a sales organization may include legal liability for products and customer claims.<br /></p> + /// + /// <p>Identifier of an organizational unit responsible for the sale of certain products or services.<br /> The responsibility of a sales organization may include legal liability for products and customer claims.<br /></p> + [DataMember(Name="salesOrganizationID", EmitDefaultValue=false)] + public string SalesOrganizationID { get; set; } + + /// + /// <p>Distribution channel is the way in which products or services reach the customer.<br /> Typical examples of distribution channels are wholesale, retail, or direct sales.<br /></p> + /// + /// <p>Distribution channel is the way in which products or services reach the customer.<br /> Typical examples of distribution channels are wholesale, retail, or direct sales.<br /></p> + [DataMember(Name="distributionChannelTypeCode", EmitDefaultValue=false)] + public string DistributionChannelTypeCode { get; set; } + + /// + /// <p>The UTC0 date and time when the business unit was finally deleted<br /></p> UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// <p>The UTC0 date and time when the business unit was finally deleted<br /></p> UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="deleteTimestampUTC0", EmitDefaultValue=false)] + public DateTime? DeleteTimestampUTC0 { get; set; } + + + /// + /// <p>Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).<br /></p> + /// + /// <p>Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).<br /></p> + [DataMember(Name="latitudeDecimalDegrees", EmitDefaultValue=false)] + public double? LatitudeDecimalDegrees { get; set; } + + /// + /// <p>Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).<br /></p> + /// + /// <p>Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).<br /></p> + [DataMember(Name="longitudeDecimalDegrees", EmitDefaultValue=false)] + public double? LongitudeDecimalDegrees { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ExternalBusinessUnitID: ").Append(ExternalBusinessUnitID).Append("\n"); + sb.Append(" ParentBusinessUnitGroupID: ").Append(ParentBusinessUnitGroupID).Append("\n"); + sb.Append(" ParentExternalBusinessUnitGroupID: ").Append(ParentExternalBusinessUnitGroupID).Append("\n"); + sb.Append(" BusinessUnitGroupLevelID: ").Append(BusinessUnitGroupLevelID).Append("\n"); + sb.Append(" ExternalBusinessUnitGroupLevelID: ").Append(ExternalBusinessUnitGroupLevelID).Append("\n"); + sb.Append(" GlobalLocationNumber: ").Append(GlobalLocationNumber).Append("\n"); + sb.Append(" VatRegistrationNumber: ").Append(VatRegistrationNumber).Append("\n"); + sb.Append(" IsoCountryCode: ").Append(IsoCountryCode).Append("\n"); + sb.Append(" TimeZoneCode: ").Append(TimeZoneCode).Append("\n"); + sb.Append(" TimeZoneLongID: ").Append(TimeZoneLongID).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" SurrogateName: ").Append(SurrogateName).Append("\n"); + sb.Append(" GkEffectiveDate: ").Append(GkEffectiveDate).Append("\n"); + sb.Append(" RegionFlag: ").Append(RegionFlag).Append("\n"); + sb.Append(" IndependentRetailerFlag: ").Append(IndependentRetailerFlag).Append("\n"); + sb.Append(" OwnerOfMultipleStoresParentID: ").Append(OwnerOfMultipleStoresParentID).Append("\n"); + sb.Append(" GkSystemFlag: ").Append(GkSystemFlag).Append("\n"); + sb.Append(" MainCurrencyID: ").Append(MainCurrencyID).Append("\n"); + sb.Append(" ExportToGfkFlag: ").Append(ExportToGfkFlag).Append("\n"); + sb.Append(" Size: ").Append(Size).Append("\n"); + sb.Append(" SellingAreaSize: ").Append(SellingAreaSize).Append("\n"); + sb.Append(" MerchandiseHierarchyFunctionCode: ").Append(MerchandiseHierarchyFunctionCode).Append("\n"); + sb.Append(" IncludesSalesTaxFlag: ").Append(IncludesSalesTaxFlag).Append("\n"); + sb.Append(" TaxNumber: ").Append(TaxNumber).Append("\n"); + sb.Append(" AlternateISOCurrencyCode: ").Append(AlternateISOCurrencyCode).Append("\n"); + sb.Append(" MainWeighingUnit: ").Append(MainWeighingUnit).Append("\n"); + sb.Append(" PurchasingOrganization: ").Append(PurchasingOrganization).Append("\n"); + sb.Append(" ReceiverLocationList: ").Append(ReceiverLocationList).Append("\n"); + sb.Append(" CompanyCodeList: ").Append(CompanyCodeList).Append("\n"); + sb.Append(" BankAccountList: ").Append(BankAccountList).Append("\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" Party: ").Append(Party).Append("\n"); + sb.Append(" Contact: ").Append(Contact).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" SalesOrganizationID: ").Append(SalesOrganizationID).Append("\n"); + sb.Append(" DistributionChannelTypeCode: ").Append(DistributionChannelTypeCode).Append("\n"); + sb.Append(" DeleteTimestampUTC0: ").Append(DeleteTimestampUTC0).Append("\n"); + sb.Append(" BusinessUnitStatusCode: ").Append(BusinessUnitStatusCode).Append("\n"); + sb.Append(" LatitudeDecimalDegrees: ").Append(LatitudeDecimalDegrees).Append("\n"); + sb.Append(" LongitudeDecimalDegrees: ").Append(LongitudeDecimalDegrees).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ExternalBusinessUnitID == input.ExternalBusinessUnitID || + (this.ExternalBusinessUnitID != null && + this.ExternalBusinessUnitID.Equals(input.ExternalBusinessUnitID)) + ) && + ( + this.ParentBusinessUnitGroupID == input.ParentBusinessUnitGroupID || + (this.ParentBusinessUnitGroupID != null && + this.ParentBusinessUnitGroupID.Equals(input.ParentBusinessUnitGroupID)) + ) && + ( + this.ParentExternalBusinessUnitGroupID == input.ParentExternalBusinessUnitGroupID || + (this.ParentExternalBusinessUnitGroupID != null && + this.ParentExternalBusinessUnitGroupID.Equals(input.ParentExternalBusinessUnitGroupID)) + ) && + ( + this.BusinessUnitGroupLevelID == input.BusinessUnitGroupLevelID || + (this.BusinessUnitGroupLevelID != null && + this.BusinessUnitGroupLevelID.Equals(input.BusinessUnitGroupLevelID)) + ) && + ( + this.ExternalBusinessUnitGroupLevelID == input.ExternalBusinessUnitGroupLevelID || + (this.ExternalBusinessUnitGroupLevelID != null && + this.ExternalBusinessUnitGroupLevelID.Equals(input.ExternalBusinessUnitGroupLevelID)) + ) && + ( + this.GlobalLocationNumber == input.GlobalLocationNumber || + (this.GlobalLocationNumber != null && + this.GlobalLocationNumber.Equals(input.GlobalLocationNumber)) + ) && + ( + this.VatRegistrationNumber == input.VatRegistrationNumber || + (this.VatRegistrationNumber != null && + this.VatRegistrationNumber.Equals(input.VatRegistrationNumber)) + ) && + ( + this.IsoCountryCode == input.IsoCountryCode || + (this.IsoCountryCode != null && + this.IsoCountryCode.Equals(input.IsoCountryCode)) + ) && + ( + this.TimeZoneCode == input.TimeZoneCode || + (this.TimeZoneCode != null && + this.TimeZoneCode.Equals(input.TimeZoneCode)) + ) && + ( + this.TimeZoneLongID == input.TimeZoneLongID || + (this.TimeZoneLongID != null && + this.TimeZoneLongID.Equals(input.TimeZoneLongID)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.SurrogateName == input.SurrogateName || + (this.SurrogateName != null && + this.SurrogateName.Equals(input.SurrogateName)) + ) && + ( + this.GkEffectiveDate == input.GkEffectiveDate || + (this.GkEffectiveDate != null && + this.GkEffectiveDate.Equals(input.GkEffectiveDate)) + ) && + ( + this.RegionFlag == input.RegionFlag || + (this.RegionFlag != null && + this.RegionFlag.Equals(input.RegionFlag)) + ) && + ( + this.IndependentRetailerFlag == input.IndependentRetailerFlag || + (this.IndependentRetailerFlag != null && + this.IndependentRetailerFlag.Equals(input.IndependentRetailerFlag)) + ) && + ( + this.OwnerOfMultipleStoresParentID == input.OwnerOfMultipleStoresParentID || + (this.OwnerOfMultipleStoresParentID != null && + this.OwnerOfMultipleStoresParentID.Equals(input.OwnerOfMultipleStoresParentID)) + ) && + ( + this.GkSystemFlag == input.GkSystemFlag || + (this.GkSystemFlag != null && + this.GkSystemFlag.Equals(input.GkSystemFlag)) + ) && + ( + this.MainCurrencyID == input.MainCurrencyID || + (this.MainCurrencyID != null && + this.MainCurrencyID.Equals(input.MainCurrencyID)) + ) && + ( + this.ExportToGfkFlag == input.ExportToGfkFlag || + (this.ExportToGfkFlag != null && + this.ExportToGfkFlag.Equals(input.ExportToGfkFlag)) + ) && + ( + this.Size == input.Size || + (this.Size != null && + this.Size.Equals(input.Size)) + ) && + ( + this.SellingAreaSize == input.SellingAreaSize || + (this.SellingAreaSize != null && + this.SellingAreaSize.Equals(input.SellingAreaSize)) + ) && + ( + this.MerchandiseHierarchyFunctionCode == input.MerchandiseHierarchyFunctionCode || + (this.MerchandiseHierarchyFunctionCode != null && + this.MerchandiseHierarchyFunctionCode.Equals(input.MerchandiseHierarchyFunctionCode)) + ) && + ( + this.IncludesSalesTaxFlag == input.IncludesSalesTaxFlag || + (this.IncludesSalesTaxFlag != null && + this.IncludesSalesTaxFlag.Equals(input.IncludesSalesTaxFlag)) + ) && + ( + this.TaxNumber == input.TaxNumber || + (this.TaxNumber != null && + this.TaxNumber.Equals(input.TaxNumber)) + ) && + ( + this.AlternateISOCurrencyCode == input.AlternateISOCurrencyCode || + (this.AlternateISOCurrencyCode != null && + this.AlternateISOCurrencyCode.Equals(input.AlternateISOCurrencyCode)) + ) && + ( + this.MainWeighingUnit == input.MainWeighingUnit || + (this.MainWeighingUnit != null && + this.MainWeighingUnit.Equals(input.MainWeighingUnit)) + ) && + ( + this.PurchasingOrganization == input.PurchasingOrganization || + (this.PurchasingOrganization != null && + this.PurchasingOrganization.Equals(input.PurchasingOrganization)) + ) && + ( + this.ReceiverLocationList == input.ReceiverLocationList || + this.ReceiverLocationList != null && + this.ReceiverLocationList.SequenceEqual(input.ReceiverLocationList) + ) && + ( + this.CompanyCodeList == input.CompanyCodeList || + this.CompanyCodeList != null && + this.CompanyCodeList.SequenceEqual(input.CompanyCodeList) + ) && + ( + this.BankAccountList == input.BankAccountList || + this.BankAccountList != null && + this.BankAccountList.SequenceEqual(input.BankAccountList) + ) && + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.Party == input.Party || + (this.Party != null && + this.Party.Equals(input.Party)) + ) && + ( + this.Contact == input.Contact || + (this.Contact != null && + this.Contact.Equals(input.Contact)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.SalesOrganizationID == input.SalesOrganizationID || + (this.SalesOrganizationID != null && + this.SalesOrganizationID.Equals(input.SalesOrganizationID)) + ) && + ( + this.DistributionChannelTypeCode == input.DistributionChannelTypeCode || + (this.DistributionChannelTypeCode != null && + this.DistributionChannelTypeCode.Equals(input.DistributionChannelTypeCode)) + ) && + ( + this.DeleteTimestampUTC0 == input.DeleteTimestampUTC0 || + (this.DeleteTimestampUTC0 != null && + this.DeleteTimestampUTC0.Equals(input.DeleteTimestampUTC0)) + ) && + ( + this.BusinessUnitStatusCode == input.BusinessUnitStatusCode || + (this.BusinessUnitStatusCode != null && + this.BusinessUnitStatusCode.Equals(input.BusinessUnitStatusCode)) + ) && + ( + this.LatitudeDecimalDegrees == input.LatitudeDecimalDegrees || + (this.LatitudeDecimalDegrees != null && + this.LatitudeDecimalDegrees.Equals(input.LatitudeDecimalDegrees)) + ) && + ( + this.LongitudeDecimalDegrees == input.LongitudeDecimalDegrees || + (this.LongitudeDecimalDegrees != null && + this.LongitudeDecimalDegrees.Equals(input.LongitudeDecimalDegrees)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ExternalBusinessUnitID != null) + hashCode = hashCode * 59 + this.ExternalBusinessUnitID.GetHashCode(); + if (this.ParentBusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.ParentBusinessUnitGroupID.GetHashCode(); + if (this.ParentExternalBusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.ParentExternalBusinessUnitGroupID.GetHashCode(); + if (this.BusinessUnitGroupLevelID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupLevelID.GetHashCode(); + if (this.ExternalBusinessUnitGroupLevelID != null) + hashCode = hashCode * 59 + this.ExternalBusinessUnitGroupLevelID.GetHashCode(); + if (this.GlobalLocationNumber != null) + hashCode = hashCode * 59 + this.GlobalLocationNumber.GetHashCode(); + if (this.VatRegistrationNumber != null) + hashCode = hashCode * 59 + this.VatRegistrationNumber.GetHashCode(); + if (this.IsoCountryCode != null) + hashCode = hashCode * 59 + this.IsoCountryCode.GetHashCode(); + if (this.TimeZoneCode != null) + hashCode = hashCode * 59 + this.TimeZoneCode.GetHashCode(); + if (this.TimeZoneLongID != null) + hashCode = hashCode * 59 + this.TimeZoneLongID.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.SurrogateName != null) + hashCode = hashCode * 59 + this.SurrogateName.GetHashCode(); + if (this.GkEffectiveDate != null) + hashCode = hashCode * 59 + this.GkEffectiveDate.GetHashCode(); + if (this.RegionFlag != null) + hashCode = hashCode * 59 + this.RegionFlag.GetHashCode(); + if (this.IndependentRetailerFlag != null) + hashCode = hashCode * 59 + this.IndependentRetailerFlag.GetHashCode(); + if (this.OwnerOfMultipleStoresParentID != null) + hashCode = hashCode * 59 + this.OwnerOfMultipleStoresParentID.GetHashCode(); + if (this.GkSystemFlag != null) + hashCode = hashCode * 59 + this.GkSystemFlag.GetHashCode(); + if (this.MainCurrencyID != null) + hashCode = hashCode * 59 + this.MainCurrencyID.GetHashCode(); + if (this.ExportToGfkFlag != null) + hashCode = hashCode * 59 + this.ExportToGfkFlag.GetHashCode(); + if (this.Size != null) + hashCode = hashCode * 59 + this.Size.GetHashCode(); + if (this.SellingAreaSize != null) + hashCode = hashCode * 59 + this.SellingAreaSize.GetHashCode(); + if (this.MerchandiseHierarchyFunctionCode != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyFunctionCode.GetHashCode(); + if (this.IncludesSalesTaxFlag != null) + hashCode = hashCode * 59 + this.IncludesSalesTaxFlag.GetHashCode(); + if (this.TaxNumber != null) + hashCode = hashCode * 59 + this.TaxNumber.GetHashCode(); + if (this.AlternateISOCurrencyCode != null) + hashCode = hashCode * 59 + this.AlternateISOCurrencyCode.GetHashCode(); + if (this.MainWeighingUnit != null) + hashCode = hashCode * 59 + this.MainWeighingUnit.GetHashCode(); + if (this.PurchasingOrganization != null) + hashCode = hashCode * 59 + this.PurchasingOrganization.GetHashCode(); + if (this.ReceiverLocationList != null) + hashCode = hashCode * 59 + this.ReceiverLocationList.GetHashCode(); + if (this.CompanyCodeList != null) + hashCode = hashCode * 59 + this.CompanyCodeList.GetHashCode(); + if (this.BankAccountList != null) + hashCode = hashCode * 59 + this.BankAccountList.GetHashCode(); + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.Party != null) + hashCode = hashCode * 59 + this.Party.GetHashCode(); + if (this.Contact != null) + hashCode = hashCode * 59 + this.Contact.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.SalesOrganizationID != null) + hashCode = hashCode * 59 + this.SalesOrganizationID.GetHashCode(); + if (this.DistributionChannelTypeCode != null) + hashCode = hashCode * 59 + this.DistributionChannelTypeCode.GetHashCode(); + if (this.DeleteTimestampUTC0 != null) + hashCode = hashCode * 59 + this.DeleteTimestampUTC0.GetHashCode(); + if (this.BusinessUnitStatusCode != null) + hashCode = hashCode * 59 + this.BusinessUnitStatusCode.GetHashCode(); + if (this.LatitudeDecimalDegrees != null) + hashCode = hashCode * 59 + this.LatitudeDecimalDegrees.GetHashCode(); + if (this.LongitudeDecimalDegrees != null) + hashCode = hashCode * 59 + this.LongitudeDecimalDegrees.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..cb38e2580d4d50d32a2aab4a820c55f37e3c1761 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> (required). + /// <p>A unique system assigned identifier for the group of business units.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey(string businessUnitID = default(string), string businessUnitGroupID = default(string)) + { + // to ensure "businessUnitID" is required (not null) + if (businessUnitID == null) + { + throw new InvalidDataException("businessUnitID is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey and cannot be null"); + } + else + { + this.BusinessUnitID = businessUnitID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + } + + /// + /// <p>A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + /// + /// <p>A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// <p>A unique system assigned identifier for the group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for the group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey {\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..1060025719e7fcd99d44095170108be39874d9da --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO.cs @@ -0,0 +1,784 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitGroupDO <p>A related group of administration centers, distribution centers and retail stores, with names like group, cluster, region, district, zone and state.<br /> The lowest level of BusinessUnitGroup is in a one-to-one relationship with business unit. ie: The lowest level of each BusinessUnitGroupFunction hierarchy is a BusinessUnitGroup containing one &amp; only one BusinessUnit.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Language of the business unit group.<br /></p>. + /// <p>The common name for the business unit group<br /></p>. + /// <p>External identifier of the business unit group.<br /></p>. + /// <p>A business function for which business unit groups are placed into separate grouping hierarchies.<br /></p>. + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p>. + /// <p>The distance from the root of the business unit group tree which applies to the business unit. Is used in order to increase the performance.<br /></p>. + /// <p>List of translations for business unit group.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO(ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey key = default(ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey), string languageID = default(string), string name = default(string), string externalBusinessUnitGroupID = default(string), string businessUnitGroupFunctionID = default(string), string businessUnitGroupLevelID = default(string), int? businessUnitGroupDepth = default(int?), List translationList = default(List), string tid = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO and cannot be null"); + } + else + { + this.Key = key; + } + this.LanguageID = languageID; + this.Name = name; + this.ExternalBusinessUnitGroupID = externalBusinessUnitGroupID; + this.BusinessUnitGroupFunctionID = businessUnitGroupFunctionID; + this.BusinessUnitGroupLevelID = businessUnitGroupLevelID; + this.BusinessUnitGroupDepth = businessUnitGroupDepth; + this.TranslationList = translationList; + this.Tid = tid; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey Key { get; set; } + + /// + /// <p>Language of the business unit group.<br /></p> + /// + /// <p>Language of the business unit group.<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>The common name for the business unit group<br /></p> + /// + /// <p>The common name for the business unit group<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>External identifier of the business unit group.<br /></p> + /// + /// <p>External identifier of the business unit group.<br /></p> + [DataMember(Name="externalBusinessUnitGroupID", EmitDefaultValue=false)] + public string ExternalBusinessUnitGroupID { get; set; } + + /// + /// <p>A business function for which business unit groups are placed into separate grouping hierarchies.<br /></p> + /// + /// <p>A business function for which business unit groups are placed into separate grouping hierarchies.<br /></p> + [DataMember(Name="businessUnitGroupFunctionID", EmitDefaultValue=false)] + public string BusinessUnitGroupFunctionID { get; set; } + + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + [DataMember(Name="businessUnitGroupLevelID", EmitDefaultValue=false)] + public string BusinessUnitGroupLevelID { get; set; } + + /// + /// <p>The distance from the root of the business unit group tree which applies to the business unit. Is used in order to increase the performance.<br /></p> + /// + /// <p>The distance from the root of the business unit group tree which applies to the business unit. Is used in order to increase the performance.<br /></p> + [DataMember(Name="businessUnitGroupDepth", EmitDefaultValue=false)] + public int? BusinessUnitGroupDepth { get; set; } + + /// + /// <p>List of translations for business unit group.<br /></p> + /// + /// <p>List of translations for business unit group.<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" ExternalBusinessUnitGroupID: ").Append(ExternalBusinessUnitGroupID).Append("\n"); + sb.Append(" BusinessUnitGroupFunctionID: ").Append(BusinessUnitGroupFunctionID).Append("\n"); + sb.Append(" BusinessUnitGroupLevelID: ").Append(BusinessUnitGroupLevelID).Append("\n"); + sb.Append(" BusinessUnitGroupDepth: ").Append(BusinessUnitGroupDepth).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.ExternalBusinessUnitGroupID == input.ExternalBusinessUnitGroupID || + (this.ExternalBusinessUnitGroupID != null && + this.ExternalBusinessUnitGroupID.Equals(input.ExternalBusinessUnitGroupID)) + ) && + ( + this.BusinessUnitGroupFunctionID == input.BusinessUnitGroupFunctionID || + (this.BusinessUnitGroupFunctionID != null && + this.BusinessUnitGroupFunctionID.Equals(input.BusinessUnitGroupFunctionID)) + ) && + ( + this.BusinessUnitGroupLevelID == input.BusinessUnitGroupLevelID || + (this.BusinessUnitGroupLevelID != null && + this.BusinessUnitGroupLevelID.Equals(input.BusinessUnitGroupLevelID)) + ) && + ( + this.BusinessUnitGroupDepth == input.BusinessUnitGroupDepth || + (this.BusinessUnitGroupDepth != null && + this.BusinessUnitGroupDepth.Equals(input.BusinessUnitGroupDepth)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.ExternalBusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.ExternalBusinessUnitGroupID.GetHashCode(); + if (this.BusinessUnitGroupFunctionID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupFunctionID.GetHashCode(); + if (this.BusinessUnitGroupLevelID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupLevelID.GetHashCode(); + if (this.BusinessUnitGroupDepth != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupDepth.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a868db5da3e5ec39a6aca9b046ce39716fbd496e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitGroupDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey(string businessUnitGroupID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..51818623ef711fd74b21edef725303309b37b5d1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO.cs @@ -0,0 +1,724 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitTextDO <p>Receipt texts (header and footer).<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The receipt text.<br /></p> (required). + /// <p>List of translations for the denomination.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO(ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey key = default(ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey), string receiptTextValue = default(string), List translationList = default(List), string packageID = default(string), string tid = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "receiptTextValue" is required (not null) + if (receiptTextValue == null) + { + throw new InvalidDataException("receiptTextValue is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO and cannot be null"); + } + else + { + this.ReceiptTextValue = receiptTextValue; + } + this.TranslationList = translationList; + this.PackageID = packageID; + this.Tid = tid; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey Key { get; set; } + + /// + /// <p>The receipt text.<br /></p> + /// + /// <p>The receipt text.<br /></p> + [DataMember(Name="receiptTextValue", EmitDefaultValue=false)] + public string ReceiptTextValue { get; set; } + + /// + /// <p>List of translations for the denomination.<br /></p> + /// + /// <p>List of translations for the denomination.<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ReceiptTextValue: ").Append(ReceiptTextValue).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ReceiptTextValue == input.ReceiptTextValue || + (this.ReceiptTextValue != null && + this.ReceiptTextValue.Equals(input.ReceiptTextValue)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ReceiptTextValue != null) + hashCode = hashCode * 59 + this.ReceiptTextValue.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4658422f430daff12497ac0a69c924fced675582 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitTextDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Ident of the retail store.<br /></p> (required). + /// <p>Type of the receipt text (e.g. FOOTER)<br /></p> (required). + /// <p>A sequence number of the receipt text.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey(string businessUnitID = default(string), string receiptTextKey = default(string), int? receiptTextSequenceNumber = default(int?)) + { + // to ensure "businessUnitID" is required (not null) + if (businessUnitID == null) + { + throw new InvalidDataException("businessUnitID is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey and cannot be null"); + } + else + { + this.BusinessUnitID = businessUnitID; + } + // to ensure "receiptTextKey" is required (not null) + if (receiptTextKey == null) + { + throw new InvalidDataException("receiptTextKey is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey and cannot be null"); + } + else + { + this.ReceiptTextKey = receiptTextKey; + } + // to ensure "receiptTextSequenceNumber" is required (not null) + if (receiptTextSequenceNumber == null) + { + throw new InvalidDataException("receiptTextSequenceNumber is a required property for ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey and cannot be null"); + } + else + { + this.ReceiptTextSequenceNumber = receiptTextSequenceNumber; + } + } + + /// + /// <p>Ident of the retail store.<br /></p> + /// + /// <p>Ident of the retail store.<br /></p> + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// <p>Type of the receipt text (e.g. FOOTER)<br /></p> + /// + /// <p>Type of the receipt text (e.g. FOOTER)<br /></p> + [DataMember(Name="receiptTextKey", EmitDefaultValue=false)] + public string ReceiptTextKey { get; set; } + + /// + /// <p>A sequence number of the receipt text.<br /></p> + /// + /// <p>A sequence number of the receipt text.<br /></p> + [DataMember(Name="receiptTextSequenceNumber", EmitDefaultValue=false)] + public int? ReceiptTextSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey {\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" ReceiptTextKey: ").Append(ReceiptTextKey).Append("\n"); + sb.Append(" ReceiptTextSequenceNumber: ").Append(ReceiptTextSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.ReceiptTextKey == input.ReceiptTextKey || + (this.ReceiptTextKey != null && + this.ReceiptTextKey.Equals(input.ReceiptTextKey)) + ) && + ( + this.ReceiptTextSequenceNumber == input.ReceiptTextSequenceNumber || + (this.ReceiptTextSequenceNumber != null && + this.ReceiptTextSequenceNumber.Equals(input.ReceiptTextSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.ReceiptTextKey != null) + hashCode = hashCode * 59 + this.ReceiptTextKey.GetHashCode(); + if (this.ReceiptTextSequenceNumber != null) + hashCode = hashCode * 59 + this.ReceiptTextSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..11ca6dfa3f33336d179e0b6b0293bdee7b7b7fa2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress.cs @@ -0,0 +1,886 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactAddress <p>List of addresses<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The city, town or village component of the address.<br /></p>. + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p>. + /// <p>The country code of the company or the person.<br /></p>. + /// <p>Name of the region.<br /> Used also for district.<br /></p>. + /// <p>Name of federal state.<br /></p>. + /// <p>The first line of the address, normally the street name and number.<br /> Used also for poBox.<br /></p>. + /// <p>The second line of an address, normally the Flat or Building Suite number.<br /></p>. + /// <p>The third line of the address<br /></p>. + /// <p>The fourth line of the address.<br /></p>. + /// <p>The fifth line of the address.<br /> Also used for salutation.<br /></p>. + /// <p>The extension of the postal or zip code that further specifies a particular postal district.<br /></p>. + /// <p>A state, province, or other region within a country.<br /></p>. + /// <p>Denotes if the contact address data can be used for marketing purposes.<br /></p>. + /// <p>Tax handling code defined within the customer address (region) is used for the tax calculation.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress(ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey key = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey), string city = default(string), string postalCode = default(string), string isoCountryCode = default(string), string subTerritoryName = default(string), string territoryName = default(string), string addressLine1 = default(string), string addressLine2 = default(string), string addressLine3 = default(string), string addressLine4 = default(string), string addressLine5 = default(string), string postalCodeExtension = default(string), string territory = default(string), bool? marketingAllowedFlag = default(bool?), string taxHandlingCode = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress and cannot be null"); + } + else + { + this.Key = key; + } + this.City = city; + this.PostalCode = postalCode; + this.IsoCountryCode = isoCountryCode; + this.SubTerritoryName = subTerritoryName; + this.TerritoryName = territoryName; + this.AddressLine1 = addressLine1; + this.AddressLine2 = addressLine2; + this.AddressLine3 = addressLine3; + this.AddressLine4 = addressLine4; + this.AddressLine5 = addressLine5; + this.PostalCodeExtension = postalCodeExtension; + this.Territory = territory; + this.MarketingAllowedFlag = marketingAllowedFlag; + this.TaxHandlingCode = taxHandlingCode; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey Key { get; set; } + + /// + /// <p>The city, town or village component of the address.<br /></p> + /// + /// <p>The city, town or village component of the address.<br /></p> + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// <p>The country code of the company or the person.<br /></p> + /// + /// <p>The country code of the company or the person.<br /></p> + [DataMember(Name="isoCountryCode", EmitDefaultValue=false)] + public string IsoCountryCode { get; set; } + + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + [DataMember(Name="subTerritoryName", EmitDefaultValue=false)] + public string SubTerritoryName { get; set; } + + /// + /// <p>Name of federal state.<br /></p> + /// + /// <p>Name of federal state.<br /></p> + [DataMember(Name="territoryName", EmitDefaultValue=false)] + public string TerritoryName { get; set; } + + /// + /// <p>The first line of the address, normally the street name and number.<br /> Used also for poBox.<br /></p> + /// + /// <p>The first line of the address, normally the street name and number.<br /> Used also for poBox.<br /></p> + [DataMember(Name="addressLine1", EmitDefaultValue=false)] + public string AddressLine1 { get; set; } + + /// + /// <p>The second line of an address, normally the Flat or Building Suite number.<br /></p> + /// + /// <p>The second line of an address, normally the Flat or Building Suite number.<br /></p> + [DataMember(Name="addressLine2", EmitDefaultValue=false)] + public string AddressLine2 { get; set; } + + /// + /// <p>The third line of the address<br /></p> + /// + /// <p>The third line of the address<br /></p> + [DataMember(Name="addressLine3", EmitDefaultValue=false)] + public string AddressLine3 { get; set; } + + /// + /// <p>The fourth line of the address.<br /></p> + /// + /// <p>The fourth line of the address.<br /></p> + [DataMember(Name="addressLine4", EmitDefaultValue=false)] + public string AddressLine4 { get; set; } + + /// + /// <p>The fifth line of the address.<br /> Also used for salutation.<br /></p> + /// + /// <p>The fifth line of the address.<br /> Also used for salutation.<br /></p> + [DataMember(Name="addressLine5", EmitDefaultValue=false)] + public string AddressLine5 { get; set; } + + /// + /// <p>The extension of the postal or zip code that further specifies a particular postal district.<br /></p> + /// + /// <p>The extension of the postal or zip code that further specifies a particular postal district.<br /></p> + [DataMember(Name="postalCodeExtension", EmitDefaultValue=false)] + public string PostalCodeExtension { get; set; } + + /// + /// <p>A state, province, or other region within a country.<br /></p> + /// + /// <p>A state, province, or other region within a country.<br /></p> + [DataMember(Name="territory", EmitDefaultValue=false)] + public string Territory { get; set; } + + /// + /// <p>Denotes if the contact address data can be used for marketing purposes.<br /></p> + /// + /// <p>Denotes if the contact address data can be used for marketing purposes.<br /></p> + [DataMember(Name="marketingAllowedFlag", EmitDefaultValue=false)] + public bool? MarketingAllowedFlag { get; set; } + + /// + /// <p>Tax handling code defined within the customer address (region) is used for the tax calculation.<br /></p> + /// + /// <p>Tax handling code defined within the customer address (region) is used for the tax calculation.<br /></p> + [DataMember(Name="taxHandlingCode", EmitDefaultValue=false)] + public string TaxHandlingCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" IsoCountryCode: ").Append(IsoCountryCode).Append("\n"); + sb.Append(" SubTerritoryName: ").Append(SubTerritoryName).Append("\n"); + sb.Append(" TerritoryName: ").Append(TerritoryName).Append("\n"); + sb.Append(" AddressLine1: ").Append(AddressLine1).Append("\n"); + sb.Append(" AddressLine2: ").Append(AddressLine2).Append("\n"); + sb.Append(" AddressLine3: ").Append(AddressLine3).Append("\n"); + sb.Append(" AddressLine4: ").Append(AddressLine4).Append("\n"); + sb.Append(" AddressLine5: ").Append(AddressLine5).Append("\n"); + sb.Append(" PostalCodeExtension: ").Append(PostalCodeExtension).Append("\n"); + sb.Append(" Territory: ").Append(Territory).Append("\n"); + sb.Append(" MarketingAllowedFlag: ").Append(MarketingAllowedFlag).Append("\n"); + sb.Append(" TaxHandlingCode: ").Append(TaxHandlingCode).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.IsoCountryCode == input.IsoCountryCode || + (this.IsoCountryCode != null && + this.IsoCountryCode.Equals(input.IsoCountryCode)) + ) && + ( + this.SubTerritoryName == input.SubTerritoryName || + (this.SubTerritoryName != null && + this.SubTerritoryName.Equals(input.SubTerritoryName)) + ) && + ( + this.TerritoryName == input.TerritoryName || + (this.TerritoryName != null && + this.TerritoryName.Equals(input.TerritoryName)) + ) && + ( + this.AddressLine1 == input.AddressLine1 || + (this.AddressLine1 != null && + this.AddressLine1.Equals(input.AddressLine1)) + ) && + ( + this.AddressLine2 == input.AddressLine2 || + (this.AddressLine2 != null && + this.AddressLine2.Equals(input.AddressLine2)) + ) && + ( + this.AddressLine3 == input.AddressLine3 || + (this.AddressLine3 != null && + this.AddressLine3.Equals(input.AddressLine3)) + ) && + ( + this.AddressLine4 == input.AddressLine4 || + (this.AddressLine4 != null && + this.AddressLine4.Equals(input.AddressLine4)) + ) && + ( + this.AddressLine5 == input.AddressLine5 || + (this.AddressLine5 != null && + this.AddressLine5.Equals(input.AddressLine5)) + ) && + ( + this.PostalCodeExtension == input.PostalCodeExtension || + (this.PostalCodeExtension != null && + this.PostalCodeExtension.Equals(input.PostalCodeExtension)) + ) && + ( + this.Territory == input.Territory || + (this.Territory != null && + this.Territory.Equals(input.Territory)) + ) && + ( + this.MarketingAllowedFlag == input.MarketingAllowedFlag || + (this.MarketingAllowedFlag != null && + this.MarketingAllowedFlag.Equals(input.MarketingAllowedFlag)) + ) && + ( + this.TaxHandlingCode == input.TaxHandlingCode || + (this.TaxHandlingCode != null && + this.TaxHandlingCode.Equals(input.TaxHandlingCode)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.IsoCountryCode != null) + hashCode = hashCode * 59 + this.IsoCountryCode.GetHashCode(); + if (this.SubTerritoryName != null) + hashCode = hashCode * 59 + this.SubTerritoryName.GetHashCode(); + if (this.TerritoryName != null) + hashCode = hashCode * 59 + this.TerritoryName.GetHashCode(); + if (this.AddressLine1 != null) + hashCode = hashCode * 59 + this.AddressLine1.GetHashCode(); + if (this.AddressLine2 != null) + hashCode = hashCode * 59 + this.AddressLine2.GetHashCode(); + if (this.AddressLine3 != null) + hashCode = hashCode * 59 + this.AddressLine3.GetHashCode(); + if (this.AddressLine4 != null) + hashCode = hashCode * 59 + this.AddressLine4.GetHashCode(); + if (this.AddressLine5 != null) + hashCode = hashCode * 59 + this.AddressLine5.GetHashCode(); + if (this.PostalCodeExtension != null) + hashCode = hashCode * 59 + this.PostalCodeExtension.GetHashCode(); + if (this.Territory != null) + hashCode = hashCode * 59 + this.Territory.GetHashCode(); + if (this.MarketingAllowedFlag != null) + hashCode = hashCode * 59 + this.MarketingAllowedFlag.GetHashCode(); + if (this.TaxHandlingCode != null) + hashCode = hashCode * 59 + this.TaxHandlingCode.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b058f049c466aab6928482d7adc1c21ba1756ab3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactAddress.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> (required). + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey(string contactPurposeTypeCode = default(string), string contactMethodTypeCode = default(string)) + { + // to ensure "contactPurposeTypeCode" is required (not null) + if (contactPurposeTypeCode == null) + { + throw new InvalidDataException("contactPurposeTypeCode is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey and cannot be null"); + } + else + { + this.ContactPurposeTypeCode = contactPurposeTypeCode; + } + // to ensure "contactMethodTypeCode" is required (not null) + if (contactMethodTypeCode == null) + { + throw new InvalidDataException("contactMethodTypeCode is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey and cannot be null"); + } + else + { + this.ContactMethodTypeCode = contactMethodTypeCode; + } + } + + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + [DataMember(Name="contactPurposeTypeCode", EmitDefaultValue=false)] + public string ContactPurposeTypeCode { get; set; } + + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + [DataMember(Name="contactMethodTypeCode", EmitDefaultValue=false)] + public string ContactMethodTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey {\n"); + sb.Append(" ContactPurposeTypeCode: ").Append(ContactPurposeTypeCode).Append("\n"); + sb.Append(" ContactMethodTypeCode: ").Append(ContactMethodTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey input) + { + if (input == null) + return false; + + return + ( + this.ContactPurposeTypeCode == input.ContactPurposeTypeCode || + (this.ContactPurposeTypeCode != null && + this.ContactPurposeTypeCode.Equals(input.ContactPurposeTypeCode)) + ) && + ( + this.ContactMethodTypeCode == input.ContactMethodTypeCode || + (this.ContactMethodTypeCode != null && + this.ContactMethodTypeCode.Equals(input.ContactMethodTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ContactPurposeTypeCode != null) + hashCode = hashCode * 59 + this.ContactPurposeTypeCode.GetHashCode(); + if (this.ContactMethodTypeCode != null) + hashCode = hashCode * 59 + this.ContactMethodTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..693af4265b8888c395281edb3c9cd33bf05ad265 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactDO.cs @@ -0,0 +1,716 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactDO <p>List of various contacts for a Party, e.g. address, telephone, fax, email-address.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Internet URL<br /></p>. + /// <p>List of the addresses.<br /></p>. + /// <p>List of the telephone contacts.<br /></p>. + /// <p>List of the email-addresses.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdContactDtoDomContactDO(ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey key = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey), string internetURL = default(string), List addressList = default(List), List telephoneList = default(List), List emailAddressList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactDO and cannot be null"); + } + else + { + this.Key = key; + } + this.InternetURL = internetURL; + this.AddressList = addressList; + this.TelephoneList = telephoneList; + this.EmailAddressList = emailAddressList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey Key { get; set; } + + /// + /// <p>Internet URL<br /></p> + /// + /// <p>Internet URL<br /></p> + [DataMember(Name="internetURL", EmitDefaultValue=false)] + public string InternetURL { get; set; } + + /// + /// <p>List of the addresses.<br /></p> + /// + /// <p>List of the addresses.<br /></p> + [DataMember(Name="addressList", EmitDefaultValue=false)] + public List AddressList { get; set; } + + /// + /// <p>List of the telephone contacts.<br /></p> + /// + /// <p>List of the telephone contacts.<br /></p> + [DataMember(Name="telephoneList", EmitDefaultValue=false)] + public List TelephoneList { get; set; } + + /// + /// <p>List of the email-addresses.<br /></p> + /// + /// <p>List of the email-addresses.<br /></p> + [DataMember(Name="emailAddressList", EmitDefaultValue=false)] + public List EmailAddressList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" InternetURL: ").Append(InternetURL).Append("\n"); + sb.Append(" AddressList: ").Append(AddressList).Append("\n"); + sb.Append(" TelephoneList: ").Append(TelephoneList).Append("\n"); + sb.Append(" EmailAddressList: ").Append(EmailAddressList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.InternetURL == input.InternetURL || + (this.InternetURL != null && + this.InternetURL.Equals(input.InternetURL)) + ) && + ( + this.AddressList == input.AddressList || + this.AddressList != null && + this.AddressList.SequenceEqual(input.AddressList) + ) && + ( + this.TelephoneList == input.TelephoneList || + this.TelephoneList != null && + this.TelephoneList.SequenceEqual(input.TelephoneList) + ) && + ( + this.EmailAddressList == input.EmailAddressList || + this.EmailAddressList != null && + this.EmailAddressList.SequenceEqual(input.EmailAddressList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.InternetURL != null) + hashCode = hashCode * 59 + this.InternetURL.GetHashCode(); + if (this.AddressList != null) + hashCode = hashCode * 59 + this.AddressList.GetHashCode(); + if (this.TelephoneList != null) + hashCode = hashCode * 59 + this.TelephoneList.GetHashCode(); + if (this.EmailAddressList != null) + hashCode = hashCode * 59 + this.EmailAddressList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8fb8a792f507d79d6672d268543dc7207e5f53a8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group.<br /></p> (required). + /// <p>A unique, system assigned identity for a Party.<br /></p> (required). + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs<br /></p> (required). + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey(string businessUnitGroupID = default(string), string partyID = default(string), string partyRoleTypeCode = default(string), int? sequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "partyID" is required (not null) + if (partyID == null) + { + throw new InvalidDataException("partyID is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey and cannot be null"); + } + else + { + this.PartyID = partyID; + } + // to ensure "partyRoleTypeCode" is required (not null) + if (partyRoleTypeCode == null) + { + throw new InvalidDataException("partyRoleTypeCode is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey and cannot be null"); + } + else + { + this.PartyRoleTypeCode = partyRoleTypeCode; + } + // to ensure "sequenceNumber" is required (not null) + if (sequenceNumber == null) + { + throw new InvalidDataException("sequenceNumber is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey and cannot be null"); + } + else + { + this.SequenceNumber = sequenceNumber; + } + } + + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs<br /></p> + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs<br /></p> + [DataMember(Name="partyRoleTypeCode", EmitDefaultValue=false)] + public string PartyRoleTypeCode { get; set; } + + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" PartyRoleTypeCode: ").Append(PartyRoleTypeCode).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.PartyRoleTypeCode == input.PartyRoleTypeCode || + (this.PartyRoleTypeCode != null && + this.PartyRoleTypeCode.Equals(input.PartyRoleTypeCode)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.PartyRoleTypeCode != null) + hashCode = hashCode * 59 + this.PartyRoleTypeCode.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..0619f6b5204b4b4f9b7a596ea4a105e3b31b36e3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress.cs @@ -0,0 +1,682 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactEmailAddress <p>List of email addresses.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>E-mail address of the company or the person.<br /></p>. + /// <p>Denotes if the contact email address data can be used for marketing purposes.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress(ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey key = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey), string emailAddress = default(string), bool? marketingAllowedFlag = default(bool?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress and cannot be null"); + } + else + { + this.Key = key; + } + this.EmailAddress = emailAddress; + this.MarketingAllowedFlag = marketingAllowedFlag; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey Key { get; set; } + + /// + /// <p>E-mail address of the company or the person.<br /></p> + /// + /// <p>E-mail address of the company or the person.<br /></p> + [DataMember(Name="emailAddress", EmitDefaultValue=false)] + public string EmailAddress { get; set; } + + /// + /// <p>Denotes if the contact email address data can be used for marketing purposes.<br /></p> + /// + /// <p>Denotes if the contact email address data can be used for marketing purposes.<br /></p> + [DataMember(Name="marketingAllowedFlag", EmitDefaultValue=false)] + public bool? MarketingAllowedFlag { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n"); + sb.Append(" MarketingAllowedFlag: ").Append(MarketingAllowedFlag).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.EmailAddress == input.EmailAddress || + (this.EmailAddress != null && + this.EmailAddress.Equals(input.EmailAddress)) + ) && + ( + this.MarketingAllowedFlag == input.MarketingAllowedFlag || + (this.MarketingAllowedFlag != null && + this.MarketingAllowedFlag.Equals(input.MarketingAllowedFlag)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.EmailAddress != null) + hashCode = hashCode * 59 + this.EmailAddress.GetHashCode(); + if (this.MarketingAllowedFlag != null) + hashCode = hashCode * 59 + this.MarketingAllowedFlag.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5f0322ec1228db5ad34a878223041bd57a79541e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactEmailAddress.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> (required). + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey(string contactPurposeTypeCode = default(string), string contactMethodTypeCode = default(string)) + { + // to ensure "contactPurposeTypeCode" is required (not null) + if (contactPurposeTypeCode == null) + { + throw new InvalidDataException("contactPurposeTypeCode is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey and cannot be null"); + } + else + { + this.ContactPurposeTypeCode = contactPurposeTypeCode; + } + // to ensure "contactMethodTypeCode" is required (not null) + if (contactMethodTypeCode == null) + { + throw new InvalidDataException("contactMethodTypeCode is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey and cannot be null"); + } + else + { + this.ContactMethodTypeCode = contactMethodTypeCode; + } + } + + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + [DataMember(Name="contactPurposeTypeCode", EmitDefaultValue=false)] + public string ContactPurposeTypeCode { get; set; } + + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + [DataMember(Name="contactMethodTypeCode", EmitDefaultValue=false)] + public string ContactMethodTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey {\n"); + sb.Append(" ContactPurposeTypeCode: ").Append(ContactPurposeTypeCode).Append("\n"); + sb.Append(" ContactMethodTypeCode: ").Append(ContactMethodTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey input) + { + if (input == null) + return false; + + return + ( + this.ContactPurposeTypeCode == input.ContactPurposeTypeCode || + (this.ContactPurposeTypeCode != null && + this.ContactPurposeTypeCode.Equals(input.ContactPurposeTypeCode)) + ) && + ( + this.ContactMethodTypeCode == input.ContactMethodTypeCode || + (this.ContactMethodTypeCode != null && + this.ContactMethodTypeCode.Equals(input.ContactMethodTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ContactPurposeTypeCode != null) + hashCode = hashCode * 59 + this.ContactPurposeTypeCode.GetHashCode(); + if (this.ContactMethodTypeCode != null) + hashCode = hashCode * 59 + this.ContactMethodTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone.cs new file mode 100644 index 0000000000000000000000000000000000000000..def07467dfebef24c093b173d54587803a97e396 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone.cs @@ -0,0 +1,682 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactTelephone <p>List of telephone and fax numbers.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The complete telephone number<br /></p>. + /// <p>Denotes if the contact telephone data can be used for marketing purposes.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone(ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey key = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey), string completeTelephoneNumber = default(string), bool? marketingAllowedFlag = default(bool?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone and cannot be null"); + } + else + { + this.Key = key; + } + this.CompleteTelephoneNumber = completeTelephoneNumber; + this.MarketingAllowedFlag = marketingAllowedFlag; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey Key { get; set; } + + /// + /// <p>The complete telephone number<br /></p> + /// + /// <p>The complete telephone number<br /></p> + [DataMember(Name="completeTelephoneNumber", EmitDefaultValue=false)] + public string CompleteTelephoneNumber { get; set; } + + /// + /// <p>Denotes if the contact telephone data can be used for marketing purposes.<br /></p> + /// + /// <p>Denotes if the contact telephone data can be used for marketing purposes.<br /></p> + [DataMember(Name="marketingAllowedFlag", EmitDefaultValue=false)] + public bool? MarketingAllowedFlag { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CompleteTelephoneNumber: ").Append(CompleteTelephoneNumber).Append("\n"); + sb.Append(" MarketingAllowedFlag: ").Append(MarketingAllowedFlag).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CompleteTelephoneNumber == input.CompleteTelephoneNumber || + (this.CompleteTelephoneNumber != null && + this.CompleteTelephoneNumber.Equals(input.CompleteTelephoneNumber)) + ) && + ( + this.MarketingAllowedFlag == input.MarketingAllowedFlag || + (this.MarketingAllowedFlag != null && + this.MarketingAllowedFlag.Equals(input.MarketingAllowedFlag)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CompleteTelephoneNumber != null) + hashCode = hashCode * 59 + this.CompleteTelephoneNumber.GetHashCode(); + if (this.MarketingAllowedFlag != null) + hashCode = hashCode * 59 + this.MarketingAllowedFlag.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..aa6789c5d32b6b1532289336280c96071da9b208 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactTelephone.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> (required). + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey(string contactPurposeTypeCode = default(string), string contactMethodTypeCode = default(string)) + { + // to ensure "contactPurposeTypeCode" is required (not null) + if (contactPurposeTypeCode == null) + { + throw new InvalidDataException("contactPurposeTypeCode is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey and cannot be null"); + } + else + { + this.ContactPurposeTypeCode = contactPurposeTypeCode; + } + // to ensure "contactMethodTypeCode" is required (not null) + if (contactMethodTypeCode == null) + { + throw new InvalidDataException("contactMethodTypeCode is a required property for ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey and cannot be null"); + } + else + { + this.ContactMethodTypeCode = contactMethodTypeCode; + } + } + + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + [DataMember(Name="contactPurposeTypeCode", EmitDefaultValue=false)] + public string ContactPurposeTypeCode { get; set; } + + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + [DataMember(Name="contactMethodTypeCode", EmitDefaultValue=false)] + public string ContactMethodTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey {\n"); + sb.Append(" ContactPurposeTypeCode: ").Append(ContactPurposeTypeCode).Append("\n"); + sb.Append(" ContactMethodTypeCode: ").Append(ContactMethodTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey input) + { + if (input == null) + return false; + + return + ( + this.ContactPurposeTypeCode == input.ContactPurposeTypeCode || + (this.ContactPurposeTypeCode != null && + this.ContactPurposeTypeCode.Equals(input.ContactPurposeTypeCode)) + ) && + ( + this.ContactMethodTypeCode == input.ContactMethodTypeCode || + (this.ContactMethodTypeCode != null && + this.ContactMethodTypeCode.Equals(input.ContactMethodTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ContactPurposeTypeCode != null) + hashCode = hashCode * 59 + this.ContactPurposeTypeCode.GetHashCode(); + if (this.ContactMethodTypeCode != null) + hashCode = hashCode * 59 + this.ContactMethodTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..68777773eb0f299231d74c5f4303dc9248c1c4b3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO.cs @@ -0,0 +1,767 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CurrencyDO <p>Specifies the national designation and quantitative value of monetary media used as tender.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>National symbol for the main unit of currency, e.g. £, $, etc<br /></p>. + /// <p>List of translations for the currency.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>The ISO code of the country issuing the currency.<br /></p>. + /// <p>A name of the currency, i.e. pounds sterling, US dollars, Canadian dollars, etc.<br /></p>. + /// <p>Numeric code assigned by ISO to identify national currencies.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey key = default(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey), string symbol = default(string), List translationList = default(List), string packageID = default(string), string tid = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string isocountryCode = default(string), string isocurrencyName = default(string), string isocurrencyNumber = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO and cannot be null"); + } + else + { + this.Key = key; + } + this.Symbol = symbol; + this.TranslationList = translationList; + this.PackageID = packageID; + this.Tid = tid; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.IsocountryCode = isocountryCode; + this.IsocurrencyName = isocurrencyName; + this.IsocurrencyNumber = isocurrencyNumber; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey Key { get; set; } + + /// + /// <p>National symbol for the main unit of currency, e.g. £, $, etc<br /></p> + /// + /// <p>National symbol for the main unit of currency, e.g. £, $, etc<br /></p> + [DataMember(Name="symbol", EmitDefaultValue=false)] + public string Symbol { get; set; } + + /// + /// <p>List of translations for the currency.<br /></p> + /// + /// <p>List of translations for the currency.<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>The ISO code of the country issuing the currency.<br /></p> + /// + /// <p>The ISO code of the country issuing the currency.<br /></p> + [DataMember(Name="isocountryCode", EmitDefaultValue=false)] + public string IsocountryCode { get; set; } + + /// + /// <p>A name of the currency, i.e. pounds sterling, US dollars, Canadian dollars, etc.<br /></p> + /// + /// <p>A name of the currency, i.e. pounds sterling, US dollars, Canadian dollars, etc.<br /></p> + [DataMember(Name="isocurrencyName", EmitDefaultValue=false)] + public string IsocurrencyName { get; set; } + + /// + /// <p>Numeric code assigned by ISO to identify national currencies.<br /></p> + /// + /// <p>Numeric code assigned by ISO to identify national currencies.<br /></p> + [DataMember(Name="isocurrencyNumber", EmitDefaultValue=false)] + public string IsocurrencyNumber { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Symbol: ").Append(Symbol).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" IsocountryCode: ").Append(IsocountryCode).Append("\n"); + sb.Append(" IsocurrencyName: ").Append(IsocurrencyName).Append("\n"); + sb.Append(" IsocurrencyNumber: ").Append(IsocurrencyNumber).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Symbol == input.Symbol || + (this.Symbol != null && + this.Symbol.Equals(input.Symbol)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.IsocountryCode == input.IsocountryCode || + (this.IsocountryCode != null && + this.IsocountryCode.Equals(input.IsocountryCode)) + ) && + ( + this.IsocurrencyName == input.IsocurrencyName || + (this.IsocurrencyName != null && + this.IsocurrencyName.Equals(input.IsocurrencyName)) + ) && + ( + this.IsocurrencyNumber == input.IsocurrencyNumber || + (this.IsocurrencyNumber != null && + this.IsocurrencyNumber.Equals(input.IsocurrencyNumber)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Symbol != null) + hashCode = hashCode * 59 + this.Symbol.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.IsocountryCode != null) + hashCode = hashCode * 59 + this.IsocountryCode.GetHashCode(); + if (this.IsocurrencyName != null) + hashCode = hashCode * 59 + this.IsocurrencyName.GetHashCode(); + if (this.IsocurrencyNumber != null) + hashCode = hashCode * 59 + this.IsocurrencyNumber.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ecde7aee585cb71fb81366b2b8563a22af18f3c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CurrencyDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group.<br /></p> (required). + /// <p>Currency code designated by ISO to identify national currency. The unique identifier of the currency.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey(string businessUnitGroupID = default(string), string isocurrencyCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "isocurrencyCode" is required (not null) + if (isocurrencyCode == null) + { + throw new InvalidDataException("isocurrencyCode is a required property for ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey and cannot be null"); + } + else + { + this.IsocurrencyCode = isocurrencyCode; + } + } + + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Currency code designated by ISO to identify national currency. The unique identifier of the currency.<br /></p> + /// + /// <p>Currency code designated by ISO to identify national currency. The unique identifier of the currency.<br /></p> + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..3dd88b269102feb7aa1f5db45cbea779921f1fa2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO.cs @@ -0,0 +1,772 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CurrencyRoundingRuleDO <p>RoundingRules contains fields for rounding rules for specific BUG.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO : IEquatable, IValidatableObject + { + /// + /// <p>Defines how the result is to be rounded:<br /></p><br /><ul><br /> <li> NO_ROUNDING(00) = no rounding</li><br /> <li> ROUND_HALF_UP(01) = round half up (round up for &gt;= 0.5, else round down),</li><br /> <li> ROUND_DOWN(02) = round down</li><br /> <li> ROUND_UP(03) = round up</li><br /> <li> ROUND_HALF_DOWN(04) = round half down (round up for &gt; 0.5, else round down)</li><br /></ul> + /// + /// <p>Defines how the result is to be rounded:<br /></p><br /><ul><br /> <li> NO_ROUNDING(00) = no rounding</li><br /> <li> ROUND_HALF_UP(01) = round half up (round up for &gt;= 0.5, else round down),</li><br /> <li> ROUND_DOWN(02) = round down</li><br /> <li> ROUND_UP(03) = round up</li><br /> <li> ROUND_HALF_DOWN(04) = round half down (round up for &gt; 0.5, else round down)</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum RoundMethodCodeEnum + { + + /// + /// Enum NOROUNDING for value: NO_ROUNDING + /// + [EnumMember(Value = "NO_ROUNDING")] + NOROUNDING = 1, + + /// + /// Enum ROUNDHALFUP for value: ROUND_HALF_UP + /// + [EnumMember(Value = "ROUND_HALF_UP")] + ROUNDHALFUP = 2, + + /// + /// Enum ROUNDDOWN for value: ROUND_DOWN + /// + [EnumMember(Value = "ROUND_DOWN")] + ROUNDDOWN = 3, + + /// + /// Enum ROUNDUP for value: ROUND_UP + /// + [EnumMember(Value = "ROUND_UP")] + ROUNDUP = 4, + + /// + /// Enum ROUNDHALFDOWN for value: ROUND_HALF_DOWN + /// + [EnumMember(Value = "ROUND_HALF_DOWN")] + ROUNDHALFDOWN = 5 + } + + /// + /// <p>Defines how the result is to be rounded:<br /></p><br /><ul><br /> <li> NO_ROUNDING(00) = no rounding</li><br /> <li> ROUND_HALF_UP(01) = round half up (round up for &gt;= 0.5, else round down),</li><br /> <li> ROUND_DOWN(02) = round down</li><br /> <li> ROUND_UP(03) = round up</li><br /> <li> ROUND_HALF_DOWN(04) = round half down (round up for &gt; 0.5, else round down)</li><br /></ul> + /// + /// <p>Defines how the result is to be rounded:<br /></p><br /><ul><br /> <li> NO_ROUNDING(00) = no rounding</li><br /> <li> ROUND_HALF_UP(01) = round half up (round up for &gt;= 0.5, else round down),</li><br /> <li> ROUND_DOWN(02) = round down</li><br /> <li> ROUND_UP(03) = round up</li><br /> <li> ROUND_HALF_DOWN(04) = round half down (round up for &gt; 0.5, else round down)</li><br /></ul> + [DataMember(Name="roundMethodCode", EmitDefaultValue=false)] + public RoundMethodCodeEnum? RoundMethodCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Defines how the result is to be rounded:<br /></p><br /><ul><br /> <li> NO_ROUNDING(00) = no rounding</li><br /> <li> ROUND_HALF_UP(01) = round half up (round up for &gt;= 0.5, else round down),</li><br /> <li> ROUND_DOWN(02) = round down</li><br /> <li> ROUND_UP(03) = round up</li><br /> <li> ROUND_HALF_DOWN(04) = round half down (round up for &gt; 0.5, else round down)</li><br /></ul>. + /// <p>Count of decimals which the result should have<br /></p>. + /// <p>Additional information for rounding, possible values:<br /></p><br /><ul><br /> <li>null / 1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul>. + /// <p>Defines the denomination value that is used for rounding payment amounts on POS.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO(ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey key = default(ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey), RoundMethodCodeEnum? roundMethodCode = default(RoundMethodCodeEnum?), int? roundDecimalCount = default(int?), int? roundDestinationValue = default(int?), double? roundPaymentAmount = default(double?), string packageID = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO and cannot be null"); + } + else + { + this.Key = key; + } + this.RoundMethodCode = roundMethodCode; + this.RoundDecimalCount = roundDecimalCount; + this.RoundDestinationValue = roundDestinationValue; + this.RoundPaymentAmount = roundPaymentAmount; + this.PackageID = packageID; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey Key { get; set; } + + + /// + /// <p>Count of decimals which the result should have<br /></p> + /// + /// <p>Count of decimals which the result should have<br /></p> + [DataMember(Name="roundDecimalCount", EmitDefaultValue=false)] + public int? RoundDecimalCount { get; set; } + + /// + /// <p>Additional information for rounding, possible values:<br /></p><br /><ul><br /> <li>null / 1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + /// + /// <p>Additional information for rounding, possible values:<br /></p><br /><ul><br /> <li>null / 1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + [DataMember(Name="roundDestinationValue", EmitDefaultValue=false)] + public int? RoundDestinationValue { get; set; } + + /// + /// <p>Defines the denomination value that is used for rounding payment amounts on POS.<br /></p> + /// + /// <p>Defines the denomination value that is used for rounding payment amounts on POS.<br /></p> + [DataMember(Name="roundPaymentAmount", EmitDefaultValue=false)] + public double? RoundPaymentAmount { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" RoundMethodCode: ").Append(RoundMethodCode).Append("\n"); + sb.Append(" RoundDecimalCount: ").Append(RoundDecimalCount).Append("\n"); + sb.Append(" RoundDestinationValue: ").Append(RoundDestinationValue).Append("\n"); + sb.Append(" RoundPaymentAmount: ").Append(RoundPaymentAmount).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.RoundMethodCode == input.RoundMethodCode || + (this.RoundMethodCode != null && + this.RoundMethodCode.Equals(input.RoundMethodCode)) + ) && + ( + this.RoundDecimalCount == input.RoundDecimalCount || + (this.RoundDecimalCount != null && + this.RoundDecimalCount.Equals(input.RoundDecimalCount)) + ) && + ( + this.RoundDestinationValue == input.RoundDestinationValue || + (this.RoundDestinationValue != null && + this.RoundDestinationValue.Equals(input.RoundDestinationValue)) + ) && + ( + this.RoundPaymentAmount == input.RoundPaymentAmount || + (this.RoundPaymentAmount != null && + this.RoundPaymentAmount.Equals(input.RoundPaymentAmount)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.RoundMethodCode != null) + hashCode = hashCode * 59 + this.RoundMethodCode.GetHashCode(); + if (this.RoundDecimalCount != null) + hashCode = hashCode * 59 + this.RoundDecimalCount.GetHashCode(); + if (this.RoundDestinationValue != null) + hashCode = hashCode * 59 + this.RoundDestinationValue.GetHashCode(); + if (this.RoundPaymentAmount != null) + hashCode = hashCode * 59 + this.RoundPaymentAmount.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..bddc9e8d3a7f7aaa2c081f7ef5b980e76d2c1414 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CurrencyRoundingRuleDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group.<br /></p> (required). + /// <p>Currency code designated by ISO to identify national currency.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey(string businessUnitGroupID = default(string), string isocurrencyCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "isocurrencyCode" is required (not null) + if (isocurrencyCode == null) + { + throw new InvalidDataException("isocurrencyCode is a required property for ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey and cannot be null"); + } + else + { + this.IsocurrencyCode = isocurrencyCode; + } + } + + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Currency code designated by ISO to identify national currency.<br /></p> + /// + /// <p>Currency code designated by ISO to identify national currency.<br /></p> + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard.cs new file mode 100644 index 0000000000000000000000000000000000000000..c4869e83b539967009efc4a28980d2875c9577ca --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard.cs @@ -0,0 +1,257 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreditCard <p>Credit card.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The card number (Identifier).<br /></p> (required). + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party.<br /></p>. + /// <p>Defines why this identifier is locked.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard(string cardNumber = default(string), string externalPartyIdentificationProviderID = default(string), string lockingTypeCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "cardNumber" is required (not null) + if (cardNumber == null) + { + throw new InvalidDataException("cardNumber is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard and cannot be null"); + } + else + { + this.CardNumber = cardNumber; + } + this.ExternalPartyIdentificationProviderID = externalPartyIdentificationProviderID; + this.LockingTypeCode = lockingTypeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>The card number (Identifier).<br /></p> + /// + /// <p>The card number (Identifier).<br /></p> + [DataMember(Name="cardNumber", EmitDefaultValue=false)] + public string CardNumber { get; set; } + + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party.<br /></p> + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party.<br /></p> + [DataMember(Name="externalPartyIdentificationProviderID", EmitDefaultValue=false)] + public string ExternalPartyIdentificationProviderID { get; set; } + + /// + /// <p>Defines why this identifier is locked.<br /></p> + /// + /// <p>Defines why this identifier is locked.<br /></p> + [DataMember(Name="lockingTypeCode", EmitDefaultValue=false)] + public string LockingTypeCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard {\n"); + sb.Append(" CardNumber: ").Append(CardNumber).Append("\n"); + sb.Append(" ExternalPartyIdentificationProviderID: ").Append(ExternalPartyIdentificationProviderID).Append("\n"); + sb.Append(" LockingTypeCode: ").Append(LockingTypeCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard input) + { + if (input == null) + return false; + + return + ( + this.CardNumber == input.CardNumber || + (this.CardNumber != null && + this.CardNumber.Equals(input.CardNumber)) + ) && + ( + this.ExternalPartyIdentificationProviderID == input.ExternalPartyIdentificationProviderID || + (this.ExternalPartyIdentificationProviderID != null && + this.ExternalPartyIdentificationProviderID.Equals(input.ExternalPartyIdentificationProviderID)) + ) && + ( + this.LockingTypeCode == input.LockingTypeCode || + (this.LockingTypeCode != null && + this.LockingTypeCode.Equals(input.LockingTypeCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CardNumber != null) + hashCode = hashCode * 59 + this.CardNumber.GetHashCode(); + if (this.ExternalPartyIdentificationProviderID != null) + hashCode = hashCode * 59 + this.ExternalPartyIdentificationProviderID.GetHashCode(); + if (this.LockingTypeCode != null) + hashCode = hashCode * 59 + this.LockingTypeCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard.cs new file mode 100644 index 0000000000000000000000000000000000000000..ae429c5f564e26805c6523463d8515f2b86f8057 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerCard <p>Customer card<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The card type<br /></p> (required). + /// <p>The card number (Identifier).<br /></p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard(string cardType = default(string), string cardNumber = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "cardType" is required (not null) + if (cardType == null) + { + throw new InvalidDataException("cardType is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard and cannot be null"); + } + else + { + this.CardType = cardType; + } + // to ensure "cardNumber" is required (not null) + if (cardNumber == null) + { + throw new InvalidDataException("cardNumber is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard and cannot be null"); + } + else + { + this.CardNumber = cardNumber; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>The card type<br /></p> + /// + /// <p>The card type<br /></p> + [DataMember(Name="cardType", EmitDefaultValue=false)] + public string CardType { get; set; } + + /// + /// <p>The card number (Identifier).<br /></p> + /// + /// <p>The card number (Identifier).<br /></p> + [DataMember(Name="cardNumber", EmitDefaultValue=false)] + public string CardNumber { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard {\n"); + sb.Append(" CardType: ").Append(CardType).Append("\n"); + sb.Append(" CardNumber: ").Append(CardNumber).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard input) + { + if (input == null) + return false; + + return + ( + this.CardType == input.CardType || + (this.CardType != null && + this.CardType.Equals(input.CardType)) + ) && + ( + this.CardNumber == input.CardNumber || + (this.CardNumber != null && + this.CardNumber.Equals(input.CardNumber)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CardType != null) + hashCode = hashCode * 59 + this.CardType.GetHashCode(); + if (this.CardNumber != null) + hashCode = hashCode * 59 + this.CardNumber.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..586868052760c360b1e2084aa9dca4116883d9c2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter.cs @@ -0,0 +1,300 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerContactFilter <p>A customer is a person or individual who purchases, may purchase, or did purchase goods or services from a retail store.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// customerID. + /// name. + /// organizationName. + /// firstName. + /// lastName. + /// street. + /// city. + /// postalCode. + /// isoCountryCode. + /// territoryName. + /// completeTelephoneNumber. + /// emailAddress. + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter(string customerID = default(string), string name = default(string), string organizationName = default(string), string firstName = default(string), string lastName = default(string), string street = default(string), string city = default(string), string postalCode = default(string), string isoCountryCode = default(string), string territoryName = default(string), string completeTelephoneNumber = default(string), string emailAddress = default(string)) + { + this.CustomerID = customerID; + this.Name = name; + this.OrganizationName = organizationName; + this.FirstName = firstName; + this.LastName = lastName; + this.Street = street; + this.City = city; + this.PostalCode = postalCode; + this.IsoCountryCode = isoCountryCode; + this.TerritoryName = territoryName; + this.CompleteTelephoneNumber = completeTelephoneNumber; + this.EmailAddress = emailAddress; + } + + /// + /// Gets or Sets CustomerID + /// + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// Gets or Sets Name + /// + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// Gets or Sets OrganizationName + /// + [DataMember(Name="organizationName", EmitDefaultValue=false)] + public string OrganizationName { get; set; } + + /// + /// Gets or Sets FirstName + /// + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// Gets or Sets LastName + /// + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// Gets or Sets Street + /// + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// Gets or Sets City + /// + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// Gets or Sets PostalCode + /// + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// Gets or Sets IsoCountryCode + /// + [DataMember(Name="isoCountryCode", EmitDefaultValue=false)] + public string IsoCountryCode { get; set; } + + /// + /// Gets or Sets TerritoryName + /// + [DataMember(Name="territoryName", EmitDefaultValue=false)] + public string TerritoryName { get; set; } + + /// + /// Gets or Sets CompleteTelephoneNumber + /// + [DataMember(Name="completeTelephoneNumber", EmitDefaultValue=false)] + public string CompleteTelephoneNumber { get; set; } + + /// + /// Gets or Sets EmailAddress + /// + [DataMember(Name="emailAddress", EmitDefaultValue=false)] + public string EmailAddress { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" OrganizationName: ").Append(OrganizationName).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" IsoCountryCode: ").Append(IsoCountryCode).Append("\n"); + sb.Append(" TerritoryName: ").Append(TerritoryName).Append("\n"); + sb.Append(" CompleteTelephoneNumber: ").Append(CompleteTelephoneNumber).Append("\n"); + sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.OrganizationName == input.OrganizationName || + (this.OrganizationName != null && + this.OrganizationName.Equals(input.OrganizationName)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.Street == input.Street || + (this.Street != null && + this.Street.Equals(input.Street)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.IsoCountryCode == input.IsoCountryCode || + (this.IsoCountryCode != null && + this.IsoCountryCode.Equals(input.IsoCountryCode)) + ) && + ( + this.TerritoryName == input.TerritoryName || + (this.TerritoryName != null && + this.TerritoryName.Equals(input.TerritoryName)) + ) && + ( + this.CompleteTelephoneNumber == input.CompleteTelephoneNumber || + (this.CompleteTelephoneNumber != null && + this.CompleteTelephoneNumber.Equals(input.CompleteTelephoneNumber)) + ) && + ( + this.EmailAddress == input.EmailAddress || + (this.EmailAddress != null && + this.EmailAddress.Equals(input.EmailAddress)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.OrganizationName != null) + hashCode = hashCode * 59 + this.OrganizationName.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.Street != null) + hashCode = hashCode * 59 + this.Street.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.IsoCountryCode != null) + hashCode = hashCode * 59 + this.IsoCountryCode.GetHashCode(); + if (this.TerritoryName != null) + hashCode = hashCode * 59 + this.TerritoryName.GetHashCode(); + if (this.CompleteTelephoneNumber != null) + hashCode = hashCode * 59 + this.CompleteTelephoneNumber.GetHashCode(); + if (this.EmailAddress != null) + hashCode = hashCode * 59 + this.EmailAddress.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView.cs new file mode 100644 index 0000000000000000000000000000000000000000..30d4a8012dc613f9de06bbf2e809617178bb5434 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView.cs @@ -0,0 +1,349 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerContactView <p>View for displaying customer contact<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView : IEquatable, IValidatableObject + { + /// + /// <ul><br /> <li>PERSON - if table person is filled</li><br /> <li>ORGANIZATION - if table orgabnization is filled</li><br /></ul> + /// + /// <ul><br /> <li>PERSON - if table person is filled</li><br /> <li>ORGANIZATION - if table orgabnization is filled</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum CustomerTypeEnum + { + + /// + /// Enum PERSON for value: PERSON + /// + [EnumMember(Value = "PERSON")] + PERSON = 1, + + /// + /// Enum ORGANIZATION for value: ORGANIZATION + /// + [EnumMember(Value = "ORGANIZATION")] + ORGANIZATION = 2 + } + + /// + /// <ul><br /> <li>PERSON - if table person is filled</li><br /> <li>ORGANIZATION - if table orgabnization is filled</li><br /></ul> + /// + /// <ul><br /> <li>PERSON - if table person is filled</li><br /> <li>ORGANIZATION - if table orgabnization is filled</li><br /></ul> + [DataMember(Name="customerType", EmitDefaultValue=false)] + public CustomerTypeEnum? CustomerType { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier for a group of business units.<br /></p>. + /// <p>The identifier for the customer.<br /></p>. + /// salutation. + /// <p>A customer name.<br /></p>. + /// <p>The street name and number<br /></p>. + /// <p>The city, town or village component of the address.<br /></p>. + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p>. + /// <p>The ISO country code<br /></p>. + /// <p>Name of the region.<br /> Used also for district.<br /></p>. + /// <p>The complete telephone number including the country code, area code, telephone number and extension number.<br /></p>. + /// <ul><br /> <li>PERSON - if table person is filled</li><br /> <li>ORGANIZATION - if table orgabnization is filled</li><br /></ul>. + /// <p>Email address<br /></p>. + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p>. + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView(string businessUnitGroupID = default(string), string customerID = default(string), string salutation = default(string), string name = default(string), string street = default(string), string city = default(string), string postalCode = default(string), string isoCountryCode = default(string), string territoryName = default(string), string completeTelephoneNumber = default(string), CustomerTypeEnum? customerType = default(CustomerTypeEnum?), string emailAddress = default(string), string dataProtectCode = default(string)) + { + this.BusinessUnitGroupID = businessUnitGroupID; + this.CustomerID = customerID; + this.Salutation = salutation; + this.Name = name; + this.Street = street; + this.City = city; + this.PostalCode = postalCode; + this.IsoCountryCode = isoCountryCode; + this.TerritoryName = territoryName; + this.CompleteTelephoneNumber = completeTelephoneNumber; + this.CustomerType = customerType; + this.EmailAddress = emailAddress; + this.DataProtectCode = dataProtectCode; + } + + /// + /// <p>The identifier for a group of business units.<br /></p> + /// + /// <p>The identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The identifier for the customer.<br /></p> + /// + /// <p>The identifier for the customer.<br /></p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// Gets or Sets Salutation + /// + [DataMember(Name="salutation", EmitDefaultValue=false)] + public string Salutation { get; set; } + + /// + /// <p>A customer name.<br /></p> + /// + /// <p>A customer name.<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The street name and number<br /></p> + /// + /// <p>The street name and number<br /></p> + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// <p>The city, town or village component of the address.<br /></p> + /// + /// <p>The city, town or village component of the address.<br /></p> + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// <p>The ISO country code<br /></p> + /// + /// <p>The ISO country code<br /></p> + [DataMember(Name="isoCountryCode", EmitDefaultValue=false)] + public string IsoCountryCode { get; set; } + + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + [DataMember(Name="territoryName", EmitDefaultValue=false)] + public string TerritoryName { get; set; } + + /// + /// <p>The complete telephone number including the country code, area code, telephone number and extension number.<br /></p> + /// + /// <p>The complete telephone number including the country code, area code, telephone number and extension number.<br /></p> + [DataMember(Name="completeTelephoneNumber", EmitDefaultValue=false)] + public string CompleteTelephoneNumber { get; set; } + + + /// + /// <p>Email address<br /></p> + /// + /// <p>Email address<br /></p> + [DataMember(Name="emailAddress", EmitDefaultValue=false)] + public string EmailAddress { get; set; } + + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + [DataMember(Name="dataProtectCode", EmitDefaultValue=false)] + public string DataProtectCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" Salutation: ").Append(Salutation).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" IsoCountryCode: ").Append(IsoCountryCode).Append("\n"); + sb.Append(" TerritoryName: ").Append(TerritoryName).Append("\n"); + sb.Append(" CompleteTelephoneNumber: ").Append(CompleteTelephoneNumber).Append("\n"); + sb.Append(" CustomerType: ").Append(CustomerType).Append("\n"); + sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n"); + sb.Append(" DataProtectCode: ").Append(DataProtectCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.Salutation == input.Salutation || + (this.Salutation != null && + this.Salutation.Equals(input.Salutation)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Street == input.Street || + (this.Street != null && + this.Street.Equals(input.Street)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.IsoCountryCode == input.IsoCountryCode || + (this.IsoCountryCode != null && + this.IsoCountryCode.Equals(input.IsoCountryCode)) + ) && + ( + this.TerritoryName == input.TerritoryName || + (this.TerritoryName != null && + this.TerritoryName.Equals(input.TerritoryName)) + ) && + ( + this.CompleteTelephoneNumber == input.CompleteTelephoneNumber || + (this.CompleteTelephoneNumber != null && + this.CompleteTelephoneNumber.Equals(input.CompleteTelephoneNumber)) + ) && + ( + this.CustomerType == input.CustomerType || + (this.CustomerType != null && + this.CustomerType.Equals(input.CustomerType)) + ) && + ( + this.EmailAddress == input.EmailAddress || + (this.EmailAddress != null && + this.EmailAddress.Equals(input.EmailAddress)) + ) && + ( + this.DataProtectCode == input.DataProtectCode || + (this.DataProtectCode != null && + this.DataProtectCode.Equals(input.DataProtectCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.Salutation != null) + hashCode = hashCode * 59 + this.Salutation.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Street != null) + hashCode = hashCode * 59 + this.Street.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.IsoCountryCode != null) + hashCode = hashCode * 59 + this.IsoCountryCode.GetHashCode(); + if (this.TerritoryName != null) + hashCode = hashCode * 59 + this.TerritoryName.GetHashCode(); + if (this.CompleteTelephoneNumber != null) + hashCode = hashCode * 59 + this.CompleteTelephoneNumber.GetHashCode(); + if (this.CustomerType != null) + hashCode = hashCode * 59 + this.CustomerType.GetHashCode(); + if (this.EmailAddress != null) + hashCode = hashCode * 59 + this.EmailAddress.GetHashCode(); + if (this.DataProtectCode != null) + hashCode = hashCode * 59 + this.DataProtectCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..2f2170983b15efc420d8c3d022ed0366d71c49ed --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO.cs @@ -0,0 +1,1158 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerDO <p>A customer is a person or individual who purchases, may purchase, or did purchase goods or services from a retail store.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>An external unique identifier for a group of business units.<br /></p>. + /// <p>Denotes the group of allowed tenders.<br /></p>. + /// <p>Credit limit of the customer.<br /></p>. + /// <p>The personal number, unique key for the employee identification. (The number of the Identification that identifies the Party).<br /></p>. + /// <p>Denotes the group of prohibited tenders.<br /></p>. + /// <p>Remaining credit limit of the customer. (Total credit limit - amounts of invoices which haven't been paid yet).<br /></p>. + /// <p>Determines whether the customer is liable to tax on sales<br /></p>. + /// <p>The current status code of the customer, e.g. active, blocked.<br /></p>. + /// <p>Default printout mode of the customer.<br /></p>. + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p>. + /// <p>Party ID<br /></p>. + /// <p>List of the customer credit cards.<br /></p>. + /// <p>List of the customer cards.<br /></p>. + /// <p>List of CustomerGroupID's.<br /></p>. + /// <p>An official number that may be used to identify a Party. People and businesses have multiple forms of such identification: Drivers License number, Passport number, Credit / Debit Card number, Company Incorporation number, Tax number, etc...<br /></p>. + /// <p>Additional data for the organization if the customer is a organization.<br /></p>. + /// <p>Contacts for the customer, e.g. address, telephone, fax, email-address.<br /></p>. + /// <p>Reference to the party structure<br /></p>. + /// <p>Additional data for the person if the customer is a person.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Denotes if the customer declaration is available.<br /></p>. + /// <p>Date of the customer declaration.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Identification of person who has recorded the customer declaration (e.g. ID of logged Operator).<br /></p>. + /// <p>Denotes if the customer data can be used for statistical purposes.<br /></p>. + /// <p>Timestamp of the last access to the data.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p>. + /// <p>A unique system assigned identifier for the Customer.<br /></p>. + /// <p>List of the customer partner roles.<br /></p>. + /// <p>First Name Line of the customer to which this buyer / contact person belongs.<br /></p>. + /// <p>Second Name Line of the customer to which this buyer / contact person belongs.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey key = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey), string externalBusinessUnitGroupID = default(string), string allowedTermsOfPayment = default(string), double? creditLimit = default(double?), string personalID = default(string), string prohibitedTermsOfPayment = default(string), double? remainingCreditLimit = default(double?), bool? salesTaxLiableFlag = default(bool?), string statusCode = default(string), string preferredReceiptPrintoutTypeCode = default(string), string taxNumber = default(string), string partyID = default(string), List creditCardList = default(List), List customerCardList = default(List), List customerGroupIDList = default(List), List partyIdentification = default(List), ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization organization = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization), ComGkSoftwareGkrApiServerMdContactDtoDomContactDO contact = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactDO), ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO party = default(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO), ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO person = default(ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO), string packageID = default(string), bool? declarationAvailable = default(bool?), string dateOfRecord = default(string), string recordedBy = default(string), bool? statisticalUseAllowed = default(bool?), string lastAccessDate = default(string), string dataProtectCode = default(string), string parentCustomerID = default(string), List partnerRoleList = default(List), string parentCustomerName1 = default(string), string parentCustomerName2 = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO and cannot be null"); + } + else + { + this.Key = key; + } + this.ExternalBusinessUnitGroupID = externalBusinessUnitGroupID; + this.AllowedTermsOfPayment = allowedTermsOfPayment; + this.CreditLimit = creditLimit; + this.PersonalID = personalID; + this.ProhibitedTermsOfPayment = prohibitedTermsOfPayment; + this.RemainingCreditLimit = remainingCreditLimit; + this.SalesTaxLiableFlag = salesTaxLiableFlag; + this.StatusCode = statusCode; + this.PreferredReceiptPrintoutTypeCode = preferredReceiptPrintoutTypeCode; + this.TaxNumber = taxNumber; + this.PartyID = partyID; + this.CreditCardList = creditCardList; + this.CustomerCardList = customerCardList; + this.CustomerGroupIDList = customerGroupIDList; + this.PartyIdentification = partyIdentification; + this.Organization = organization; + this.Contact = contact; + this.Party = party; + this.Person = person; + this.PackageID = packageID; + this.DeclarationAvailable = declarationAvailable; + this.DateOfRecord = dateOfRecord; + this.RecordedBy = recordedBy; + this.StatisticalUseAllowed = statisticalUseAllowed; + this.LastAccessDate = lastAccessDate; + this.DataProtectCode = dataProtectCode; + this.ParentCustomerID = parentCustomerID; + this.PartnerRoleList = partnerRoleList; + this.ParentCustomerName1 = parentCustomerName1; + this.ParentCustomerName2 = parentCustomerName2; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey Key { get; set; } + + /// + /// <p>An external unique identifier for a group of business units.<br /></p> + /// + /// <p>An external unique identifier for a group of business units.<br /></p> + [DataMember(Name="externalBusinessUnitGroupID", EmitDefaultValue=false)] + public string ExternalBusinessUnitGroupID { get; set; } + + /// + /// <p>Denotes the group of allowed tenders.<br /></p> + /// + /// <p>Denotes the group of allowed tenders.<br /></p> + [DataMember(Name="allowedTermsOfPayment", EmitDefaultValue=false)] + public string AllowedTermsOfPayment { get; set; } + + /// + /// <p>Credit limit of the customer.<br /></p> + /// + /// <p>Credit limit of the customer.<br /></p> + [DataMember(Name="creditLimit", EmitDefaultValue=false)] + public double? CreditLimit { get; set; } + + /// + /// <p>The personal number, unique key for the employee identification. (The number of the Identification that identifies the Party).<br /></p> + /// + /// <p>The personal number, unique key for the employee identification. (The number of the Identification that identifies the Party).<br /></p> + [DataMember(Name="personalID", EmitDefaultValue=false)] + public string PersonalID { get; set; } + + /// + /// <p>Denotes the group of prohibited tenders.<br /></p> + /// + /// <p>Denotes the group of prohibited tenders.<br /></p> + [DataMember(Name="prohibitedTermsOfPayment", EmitDefaultValue=false)] + public string ProhibitedTermsOfPayment { get; set; } + + /// + /// <p>Remaining credit limit of the customer. (Total credit limit - amounts of invoices which haven't been paid yet).<br /></p> + /// + /// <p>Remaining credit limit of the customer. (Total credit limit - amounts of invoices which haven't been paid yet).<br /></p> + [DataMember(Name="remainingCreditLimit", EmitDefaultValue=false)] + public double? RemainingCreditLimit { get; set; } + + /// + /// <p>Determines whether the customer is liable to tax on sales<br /></p> + /// + /// <p>Determines whether the customer is liable to tax on sales<br /></p> + [DataMember(Name="salesTaxLiableFlag", EmitDefaultValue=false)] + public bool? SalesTaxLiableFlag { get; set; } + + /// + /// <p>The current status code of the customer, e.g. active, blocked.<br /></p> + /// + /// <p>The current status code of the customer, e.g. active, blocked.<br /></p> + [DataMember(Name="statusCode", EmitDefaultValue=false)] + public string StatusCode { get; set; } + + /// + /// <p>Default printout mode of the customer.<br /></p> + /// + /// <p>Default printout mode of the customer.<br /></p> + [DataMember(Name="preferredReceiptPrintoutTypeCode", EmitDefaultValue=false)] + public string PreferredReceiptPrintoutTypeCode { get; set; } + + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + [DataMember(Name="taxNumber", EmitDefaultValue=false)] + public string TaxNumber { get; set; } + + /// + /// <p>Party ID<br /></p> + /// + /// <p>Party ID<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>List of the customer credit cards.<br /></p> + /// + /// <p>List of the customer credit cards.<br /></p> + [DataMember(Name="creditCardList", EmitDefaultValue=false)] + public List CreditCardList { get; set; } + + /// + /// <p>List of the customer cards.<br /></p> + /// + /// <p>List of the customer cards.<br /></p> + [DataMember(Name="customerCardList", EmitDefaultValue=false)] + public List CustomerCardList { get; set; } + + /// + /// <p>List of CustomerGroupID's.<br /></p> + /// + /// <p>List of CustomerGroupID's.<br /></p> + [DataMember(Name="customerGroupIDList", EmitDefaultValue=false)] + public List CustomerGroupIDList { get; set; } + + /// + /// <p>An official number that may be used to identify a Party. People and businesses have multiple forms of such identification: Drivers License number, Passport number, Credit / Debit Card number, Company Incorporation number, Tax number, etc...<br /></p> + /// + /// <p>An official number that may be used to identify a Party. People and businesses have multiple forms of such identification: Drivers License number, Passport number, Credit / Debit Card number, Company Incorporation number, Tax number, etc...<br /></p> + [DataMember(Name="partyIdentification", EmitDefaultValue=false)] + public List PartyIdentification { get; set; } + + /// + /// <p>Additional data for the organization if the customer is a organization.<br /></p> + /// + /// <p>Additional data for the organization if the customer is a organization.<br /></p> + [DataMember(Name="organization", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization Organization { get; set; } + + /// + /// <p>Contacts for the customer, e.g. address, telephone, fax, email-address.<br /></p> + /// + /// <p>Contacts for the customer, e.g. address, telephone, fax, email-address.<br /></p> + [DataMember(Name="contact", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdContactDtoDomContactDO Contact { get; set; } + + /// + /// <p>Reference to the party structure<br /></p> + /// + /// <p>Reference to the party structure<br /></p> + [DataMember(Name="party", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO Party { get; set; } + + /// + /// <p>Additional data for the person if the customer is a person.<br /></p> + /// + /// <p>Additional data for the person if the customer is a person.<br /></p> + [DataMember(Name="person", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO Person { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Denotes if the customer declaration is available.<br /></p> + /// + /// <p>Denotes if the customer declaration is available.<br /></p> + [DataMember(Name="declarationAvailable", EmitDefaultValue=false)] + public bool? DeclarationAvailable { get; set; } + + /// + /// <p>Date of the customer declaration.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date of the customer declaration.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="dateOfRecord", EmitDefaultValue=false)] + public string DateOfRecord { get; set; } + + /// + /// <p>Identification of person who has recorded the customer declaration (e.g. ID of logged Operator).<br /></p> + /// + /// <p>Identification of person who has recorded the customer declaration (e.g. ID of logged Operator).<br /></p> + [DataMember(Name="recordedBy", EmitDefaultValue=false)] + public string RecordedBy { get; set; } + + /// + /// <p>Denotes if the customer data can be used for statistical purposes.<br /></p> + /// + /// <p>Denotes if the customer data can be used for statistical purposes.<br /></p> + [DataMember(Name="statisticalUseAllowed", EmitDefaultValue=false)] + public bool? StatisticalUseAllowed { get; set; } + + /// + /// <p>Timestamp of the last access to the data.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Timestamp of the last access to the data.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="lastAccessDate", EmitDefaultValue=false)] + public string LastAccessDate { get; set; } + + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + [DataMember(Name="dataProtectCode", EmitDefaultValue=false)] + public string DataProtectCode { get; set; } + + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + [DataMember(Name="parentCustomerID", EmitDefaultValue=false)] + public string ParentCustomerID { get; set; } + + /// + /// <p>List of the customer partner roles.<br /></p> + /// + /// <p>List of the customer partner roles.<br /></p> + [DataMember(Name="partnerRoleList", EmitDefaultValue=false)] + public List PartnerRoleList { get; set; } + + /// + /// <p>First Name Line of the customer to which this buyer / contact person belongs.<br /></p> + /// + /// <p>First Name Line of the customer to which this buyer / contact person belongs.<br /></p> + [DataMember(Name="parentCustomerName1", EmitDefaultValue=false)] + public string ParentCustomerName1 { get; set; } + + /// + /// <p>Second Name Line of the customer to which this buyer / contact person belongs.<br /></p> + /// + /// <p>Second Name Line of the customer to which this buyer / contact person belongs.<br /></p> + [DataMember(Name="parentCustomerName2", EmitDefaultValue=false)] + public string ParentCustomerName2 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ExternalBusinessUnitGroupID: ").Append(ExternalBusinessUnitGroupID).Append("\n"); + sb.Append(" AllowedTermsOfPayment: ").Append(AllowedTermsOfPayment).Append("\n"); + sb.Append(" CreditLimit: ").Append(CreditLimit).Append("\n"); + sb.Append(" PersonalID: ").Append(PersonalID).Append("\n"); + sb.Append(" ProhibitedTermsOfPayment: ").Append(ProhibitedTermsOfPayment).Append("\n"); + sb.Append(" RemainingCreditLimit: ").Append(RemainingCreditLimit).Append("\n"); + sb.Append(" SalesTaxLiableFlag: ").Append(SalesTaxLiableFlag).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" PreferredReceiptPrintoutTypeCode: ").Append(PreferredReceiptPrintoutTypeCode).Append("\n"); + sb.Append(" TaxNumber: ").Append(TaxNumber).Append("\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" CreditCardList: ").Append(CreditCardList).Append("\n"); + sb.Append(" CustomerCardList: ").Append(CustomerCardList).Append("\n"); + sb.Append(" CustomerGroupIDList: ").Append(CustomerGroupIDList).Append("\n"); + sb.Append(" PartyIdentification: ").Append(PartyIdentification).Append("\n"); + sb.Append(" Organization: ").Append(Organization).Append("\n"); + sb.Append(" Contact: ").Append(Contact).Append("\n"); + sb.Append(" Party: ").Append(Party).Append("\n"); + sb.Append(" Person: ").Append(Person).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" DeclarationAvailable: ").Append(DeclarationAvailable).Append("\n"); + sb.Append(" DateOfRecord: ").Append(DateOfRecord).Append("\n"); + sb.Append(" RecordedBy: ").Append(RecordedBy).Append("\n"); + sb.Append(" StatisticalUseAllowed: ").Append(StatisticalUseAllowed).Append("\n"); + sb.Append(" LastAccessDate: ").Append(LastAccessDate).Append("\n"); + sb.Append(" DataProtectCode: ").Append(DataProtectCode).Append("\n"); + sb.Append(" ParentCustomerID: ").Append(ParentCustomerID).Append("\n"); + sb.Append(" PartnerRoleList: ").Append(PartnerRoleList).Append("\n"); + sb.Append(" ParentCustomerName1: ").Append(ParentCustomerName1).Append("\n"); + sb.Append(" ParentCustomerName2: ").Append(ParentCustomerName2).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ExternalBusinessUnitGroupID == input.ExternalBusinessUnitGroupID || + (this.ExternalBusinessUnitGroupID != null && + this.ExternalBusinessUnitGroupID.Equals(input.ExternalBusinessUnitGroupID)) + ) && + ( + this.AllowedTermsOfPayment == input.AllowedTermsOfPayment || + (this.AllowedTermsOfPayment != null && + this.AllowedTermsOfPayment.Equals(input.AllowedTermsOfPayment)) + ) && + ( + this.CreditLimit == input.CreditLimit || + (this.CreditLimit != null && + this.CreditLimit.Equals(input.CreditLimit)) + ) && + ( + this.PersonalID == input.PersonalID || + (this.PersonalID != null && + this.PersonalID.Equals(input.PersonalID)) + ) && + ( + this.ProhibitedTermsOfPayment == input.ProhibitedTermsOfPayment || + (this.ProhibitedTermsOfPayment != null && + this.ProhibitedTermsOfPayment.Equals(input.ProhibitedTermsOfPayment)) + ) && + ( + this.RemainingCreditLimit == input.RemainingCreditLimit || + (this.RemainingCreditLimit != null && + this.RemainingCreditLimit.Equals(input.RemainingCreditLimit)) + ) && + ( + this.SalesTaxLiableFlag == input.SalesTaxLiableFlag || + (this.SalesTaxLiableFlag != null && + this.SalesTaxLiableFlag.Equals(input.SalesTaxLiableFlag)) + ) && + ( + this.StatusCode == input.StatusCode || + (this.StatusCode != null && + this.StatusCode.Equals(input.StatusCode)) + ) && + ( + this.PreferredReceiptPrintoutTypeCode == input.PreferredReceiptPrintoutTypeCode || + (this.PreferredReceiptPrintoutTypeCode != null && + this.PreferredReceiptPrintoutTypeCode.Equals(input.PreferredReceiptPrintoutTypeCode)) + ) && + ( + this.TaxNumber == input.TaxNumber || + (this.TaxNumber != null && + this.TaxNumber.Equals(input.TaxNumber)) + ) && + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.CreditCardList == input.CreditCardList || + this.CreditCardList != null && + this.CreditCardList.SequenceEqual(input.CreditCardList) + ) && + ( + this.CustomerCardList == input.CustomerCardList || + this.CustomerCardList != null && + this.CustomerCardList.SequenceEqual(input.CustomerCardList) + ) && + ( + this.CustomerGroupIDList == input.CustomerGroupIDList || + this.CustomerGroupIDList != null && + this.CustomerGroupIDList.SequenceEqual(input.CustomerGroupIDList) + ) && + ( + this.PartyIdentification == input.PartyIdentification || + this.PartyIdentification != null && + this.PartyIdentification.SequenceEqual(input.PartyIdentification) + ) && + ( + this.Organization == input.Organization || + (this.Organization != null && + this.Organization.Equals(input.Organization)) + ) && + ( + this.Contact == input.Contact || + (this.Contact != null && + this.Contact.Equals(input.Contact)) + ) && + ( + this.Party == input.Party || + (this.Party != null && + this.Party.Equals(input.Party)) + ) && + ( + this.Person == input.Person || + (this.Person != null && + this.Person.Equals(input.Person)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.DeclarationAvailable == input.DeclarationAvailable || + (this.DeclarationAvailable != null && + this.DeclarationAvailable.Equals(input.DeclarationAvailable)) + ) && + ( + this.DateOfRecord == input.DateOfRecord || + (this.DateOfRecord != null && + this.DateOfRecord.Equals(input.DateOfRecord)) + ) && + ( + this.RecordedBy == input.RecordedBy || + (this.RecordedBy != null && + this.RecordedBy.Equals(input.RecordedBy)) + ) && + ( + this.StatisticalUseAllowed == input.StatisticalUseAllowed || + (this.StatisticalUseAllowed != null && + this.StatisticalUseAllowed.Equals(input.StatisticalUseAllowed)) + ) && + ( + this.LastAccessDate == input.LastAccessDate || + (this.LastAccessDate != null && + this.LastAccessDate.Equals(input.LastAccessDate)) + ) && + ( + this.DataProtectCode == input.DataProtectCode || + (this.DataProtectCode != null && + this.DataProtectCode.Equals(input.DataProtectCode)) + ) && + ( + this.ParentCustomerID == input.ParentCustomerID || + (this.ParentCustomerID != null && + this.ParentCustomerID.Equals(input.ParentCustomerID)) + ) && + ( + this.PartnerRoleList == input.PartnerRoleList || + this.PartnerRoleList != null && + this.PartnerRoleList.SequenceEqual(input.PartnerRoleList) + ) && + ( + this.ParentCustomerName1 == input.ParentCustomerName1 || + (this.ParentCustomerName1 != null && + this.ParentCustomerName1.Equals(input.ParentCustomerName1)) + ) && + ( + this.ParentCustomerName2 == input.ParentCustomerName2 || + (this.ParentCustomerName2 != null && + this.ParentCustomerName2.Equals(input.ParentCustomerName2)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ExternalBusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.ExternalBusinessUnitGroupID.GetHashCode(); + if (this.AllowedTermsOfPayment != null) + hashCode = hashCode * 59 + this.AllowedTermsOfPayment.GetHashCode(); + if (this.CreditLimit != null) + hashCode = hashCode * 59 + this.CreditLimit.GetHashCode(); + if (this.PersonalID != null) + hashCode = hashCode * 59 + this.PersonalID.GetHashCode(); + if (this.ProhibitedTermsOfPayment != null) + hashCode = hashCode * 59 + this.ProhibitedTermsOfPayment.GetHashCode(); + if (this.RemainingCreditLimit != null) + hashCode = hashCode * 59 + this.RemainingCreditLimit.GetHashCode(); + if (this.SalesTaxLiableFlag != null) + hashCode = hashCode * 59 + this.SalesTaxLiableFlag.GetHashCode(); + if (this.StatusCode != null) + hashCode = hashCode * 59 + this.StatusCode.GetHashCode(); + if (this.PreferredReceiptPrintoutTypeCode != null) + hashCode = hashCode * 59 + this.PreferredReceiptPrintoutTypeCode.GetHashCode(); + if (this.TaxNumber != null) + hashCode = hashCode * 59 + this.TaxNumber.GetHashCode(); + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.CreditCardList != null) + hashCode = hashCode * 59 + this.CreditCardList.GetHashCode(); + if (this.CustomerCardList != null) + hashCode = hashCode * 59 + this.CustomerCardList.GetHashCode(); + if (this.CustomerGroupIDList != null) + hashCode = hashCode * 59 + this.CustomerGroupIDList.GetHashCode(); + if (this.PartyIdentification != null) + hashCode = hashCode * 59 + this.PartyIdentification.GetHashCode(); + if (this.Organization != null) + hashCode = hashCode * 59 + this.Organization.GetHashCode(); + if (this.Contact != null) + hashCode = hashCode * 59 + this.Contact.GetHashCode(); + if (this.Party != null) + hashCode = hashCode * 59 + this.Party.GetHashCode(); + if (this.Person != null) + hashCode = hashCode * 59 + this.Person.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.DeclarationAvailable != null) + hashCode = hashCode * 59 + this.DeclarationAvailable.GetHashCode(); + if (this.DateOfRecord != null) + hashCode = hashCode * 59 + this.DateOfRecord.GetHashCode(); + if (this.RecordedBy != null) + hashCode = hashCode * 59 + this.RecordedBy.GetHashCode(); + if (this.StatisticalUseAllowed != null) + hashCode = hashCode * 59 + this.StatisticalUseAllowed.GetHashCode(); + if (this.LastAccessDate != null) + hashCode = hashCode * 59 + this.LastAccessDate.GetHashCode(); + if (this.DataProtectCode != null) + hashCode = hashCode * 59 + this.DataProtectCode.GetHashCode(); + if (this.ParentCustomerID != null) + hashCode = hashCode * 59 + this.ParentCustomerID.GetHashCode(); + if (this.PartnerRoleList != null) + hashCode = hashCode * 59 + this.PartnerRoleList.GetHashCode(); + if (this.ParentCustomerName1 != null) + hashCode = hashCode * 59 + this.ParentCustomerName1.GetHashCode(); + if (this.ParentCustomerName2 != null) + hashCode = hashCode * 59 + this.ParentCustomerName2.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8a8071f1cbf111adb8d9698c9f90a4f83453f72d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>A unique identifier for the customer.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey(string businessUnitGroupID = default(string), string customerID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique identifier for the customer.<br /></p> + /// + /// <p>A unique identifier for the customer.<br /></p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization.cs new file mode 100644 index 0000000000000000000000000000000000000000..da81fb3116ecbc2bdf216301567a1177bd9579ac --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization.cs @@ -0,0 +1,142 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Organization <p>Additional data for the organization if the customer is a organization.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>An organization's legal trade name.<br /></p>. + /// <p>Legal status code is a code which is used to define a tax classification of the customer. It specifies the kind of treatment for tax purpose.<br /></p>. + public ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization(string name = default(string), string legalStatusCode = default(string)) + { + this.Name = name; + this.LegalStatusCode = legalStatusCode; + } + + /// + /// <p>An organization's legal trade name.<br /></p> + /// + /// <p>An organization's legal trade name.<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Legal status code is a code which is used to define a tax classification of the customer. It specifies the kind of treatment for tax purpose.<br /></p> + /// + /// <p>Legal status code is a code which is used to define a tax classification of the customer. It specifies the kind of treatment for tax purpose.<br /></p> + [DataMember(Name="legalStatusCode", EmitDefaultValue=false)] + public string LegalStatusCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" LegalStatusCode: ").Append(LegalStatusCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization input) + { + if (input == null) + return false; + + return + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.LegalStatusCode == input.LegalStatusCode || + (this.LegalStatusCode != null && + this.LegalStatusCode.Equals(input.LegalStatusCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.LegalStatusCode != null) + hashCode = hashCode * 59 + this.LegalStatusCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole.cs new file mode 100644 index 0000000000000000000000000000000000000000..c38ac84b721d23645ba451077ad2c6f6aff6e15f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartnerRole <p>PartnerRole.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> (required). + /// <p>The type of the partner role.<br /></p> (required). + /// <p>Determines whether this partner role is the default one in case that multiple partner roles exist.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole(string partnerParentCustomerID = default(string), string partnerRoleTypeCode = default(string), bool? defaultFlag = default(bool?)) + { + // to ensure "partnerParentCustomerID" is required (not null) + if (partnerParentCustomerID == null) + { + throw new InvalidDataException("partnerParentCustomerID is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole and cannot be null"); + } + else + { + this.PartnerParentCustomerID = partnerParentCustomerID; + } + // to ensure "partnerRoleTypeCode" is required (not null) + if (partnerRoleTypeCode == null) + { + throw new InvalidDataException("partnerRoleTypeCode is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole and cannot be null"); + } + else + { + this.PartnerRoleTypeCode = partnerRoleTypeCode; + } + // to ensure "defaultFlag" is required (not null) + if (defaultFlag == null) + { + throw new InvalidDataException("defaultFlag is a required property for ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole and cannot be null"); + } + else + { + this.DefaultFlag = defaultFlag; + } + } + + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + [DataMember(Name="partnerParentCustomerID", EmitDefaultValue=false)] + public string PartnerParentCustomerID { get; set; } + + /// + /// <p>The type of the partner role.<br /></p> + /// + /// <p>The type of the partner role.<br /></p> + [DataMember(Name="partnerRoleTypeCode", EmitDefaultValue=false)] + public string PartnerRoleTypeCode { get; set; } + + /// + /// <p>Determines whether this partner role is the default one in case that multiple partner roles exist.<br /></p> + /// + /// <p>Determines whether this partner role is the default one in case that multiple partner roles exist.<br /></p> + [DataMember(Name="defaultFlag", EmitDefaultValue=false)] + public bool? DefaultFlag { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole {\n"); + sb.Append(" PartnerParentCustomerID: ").Append(PartnerParentCustomerID).Append("\n"); + sb.Append(" PartnerRoleTypeCode: ").Append(PartnerRoleTypeCode).Append("\n"); + sb.Append(" DefaultFlag: ").Append(DefaultFlag).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole input) + { + if (input == null) + return false; + + return + ( + this.PartnerParentCustomerID == input.PartnerParentCustomerID || + (this.PartnerParentCustomerID != null && + this.PartnerParentCustomerID.Equals(input.PartnerParentCustomerID)) + ) && + ( + this.PartnerRoleTypeCode == input.PartnerRoleTypeCode || + (this.PartnerRoleTypeCode != null && + this.PartnerRoleTypeCode.Equals(input.PartnerRoleTypeCode)) + ) && + ( + this.DefaultFlag == input.DefaultFlag || + (this.DefaultFlag != null && + this.DefaultFlag.Equals(input.DefaultFlag)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PartnerParentCustomerID != null) + hashCode = hashCode * 59 + this.PartnerParentCustomerID.GetHashCode(); + if (this.PartnerRoleTypeCode != null) + hashCode = hashCode * 59 + this.PartnerRoleTypeCode.GetHashCode(); + if (this.DefaultFlag != null) + hashCode = hashCode * 59 + this.DefaultFlag.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..73ea340dd778af50287bfff665ca3c7ce88fb1de --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO.cs @@ -0,0 +1,707 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerTenderGroupDO <p>Customer tender rule is used for assigning 0..n tenders to a group which can be assigned to a customer. By this way customer-dependent tenders can be reached.<br /> This grouping has no relation with the already existing tender groups.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Description of the customer tender group<br /></p>. + /// <p>Determinates whether the customer tender group is to be used as default. (This flag must be set for exactly one row of the table.)<br /></p> (required). + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO(ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey key = default(ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey), string customerTenderGroupDescription = default(string), bool? defaultFlag = default(bool?), string packageID = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "defaultFlag" is required (not null) + if (defaultFlag == null) + { + throw new InvalidDataException("defaultFlag is a required property for ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO and cannot be null"); + } + else + { + this.DefaultFlag = defaultFlag; + } + this.CustomerTenderGroupDescription = customerTenderGroupDescription; + this.PackageID = packageID; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey Key { get; set; } + + /// + /// <p>Description of the customer tender group<br /></p> + /// + /// <p>Description of the customer tender group<br /></p> + [DataMember(Name="customerTenderGroupDescription", EmitDefaultValue=false)] + public string CustomerTenderGroupDescription { get; set; } + + /// + /// <p>Determinates whether the customer tender group is to be used as default. (This flag must be set for exactly one row of the table.)<br /></p> + /// + /// <p>Determinates whether the customer tender group is to be used as default. (This flag must be set for exactly one row of the table.)<br /></p> + [DataMember(Name="defaultFlag", EmitDefaultValue=false)] + public bool? DefaultFlag { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CustomerTenderGroupDescription: ").Append(CustomerTenderGroupDescription).Append("\n"); + sb.Append(" DefaultFlag: ").Append(DefaultFlag).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CustomerTenderGroupDescription == input.CustomerTenderGroupDescription || + (this.CustomerTenderGroupDescription != null && + this.CustomerTenderGroupDescription.Equals(input.CustomerTenderGroupDescription)) + ) && + ( + this.DefaultFlag == input.DefaultFlag || + (this.DefaultFlag != null && + this.DefaultFlag.Equals(input.DefaultFlag)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CustomerTenderGroupDescription != null) + hashCode = hashCode * 59 + this.CustomerTenderGroupDescription.GetHashCode(); + if (this.DefaultFlag != null) + hashCode = hashCode * 59 + this.DefaultFlag.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..73074d2eb669185767a5163ad29d6a48de030e65 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerTenderGroupDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>A unique identifier of the customer tender group<br /></p> (required). + public ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey(string businessUnitGroupID = default(string), string customerTenderGroupCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "customerTenderGroupCode" is required (not null) + if (customerTenderGroupCode == null) + { + throw new InvalidDataException("customerTenderGroupCode is a required property for ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey and cannot be null"); + } + else + { + this.CustomerTenderGroupCode = customerTenderGroupCode; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique identifier of the customer tender group<br /></p> + /// + /// <p>A unique identifier of the customer tender group<br /></p> + [DataMember(Name="customerTenderGroupCode", EmitDefaultValue=false)] + public string CustomerTenderGroupCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" CustomerTenderGroupCode: ").Append(CustomerTenderGroupCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.CustomerTenderGroupCode == input.CustomerTenderGroupCode || + (this.CustomerTenderGroupCode != null && + this.CustomerTenderGroupCode.Equals(input.CustomerTenderGroupCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.CustomerTenderGroupCode != null) + hashCode = hashCode * 59 + this.CustomerTenderGroupCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..ec88a20cbb3188fb0ab69393ffdbc80d975ff3e7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO.cs @@ -0,0 +1,851 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DenominationDO <p>Specifies the quantitative value of the referenced CURRENCY media.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO : IEquatable, IValidatableObject + { + /// + /// <p>Type code of denomination:<br /></p><br /><ul><br /> <li> COIN(COIN)</li><br /> <li> NOTE(NOTE)</li><br /> <li> AMOUNT(AMOU)</li><br /></ul> + /// + /// <p>Type code of denomination:<br /></p><br /><ul><br /> <li> COIN(COIN)</li><br /> <li> NOTE(NOTE)</li><br /> <li> AMOUNT(AMOU)</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeCodeEnum + { + + /// + /// Enum COIN for value: COIN + /// + [EnumMember(Value = "COIN")] + COIN = 1, + + /// + /// Enum NOTE for value: NOTE + /// + [EnumMember(Value = "NOTE")] + NOTE = 2, + + /// + /// Enum AMOUNT for value: AMOUNT + /// + [EnumMember(Value = "AMOUNT")] + AMOUNT = 3 + } + + /// + /// <p>Type code of denomination:<br /></p><br /><ul><br /> <li> COIN(COIN)</li><br /> <li> NOTE(NOTE)</li><br /> <li> AMOUNT(AMOU)</li><br /></ul> + /// + /// <p>Type code of denomination:<br /></p><br /><ul><br /> <li> COIN(COIN)</li><br /> <li> NOTE(NOTE)</li><br /> <li> AMOUNT(AMOU)</li><br /></ul> + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public TypeCodeEnum TypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>A description of the quantitative value of a specific currency.<br /></p> (required). + /// <p>The quantitative value of a specific currency.<br /></p> (required). + /// <p>Type code of denomination:<br /></p><br /><ul><br /> <li> COIN(COIN)</li><br /> <li> NOTE(NOTE)</li><br /> <li> AMOUNT(AMOU)</li><br /></ul> (required). + /// <p>Determines whether rolls are available.<br /></p> (required). + /// <p>Count of coins in the roll.<br /></p> (required). + /// <p>List of translations for the denomination.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO(ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey key = default(ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey), string description = default(string), double? pieceValue = default(double?), TypeCodeEnum typeCode = default(TypeCodeEnum), bool? rollAvailableFlag = default(bool?), int? rollCapacity = default(int?), List translationList = default(List), string packageID = default(string), string tid = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "description" is required (not null) + if (description == null) + { + throw new InvalidDataException("description is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO and cannot be null"); + } + else + { + this.Description = description; + } + // to ensure "pieceValue" is required (not null) + if (pieceValue == null) + { + throw new InvalidDataException("pieceValue is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO and cannot be null"); + } + else + { + this.PieceValue = pieceValue; + } + // to ensure "typeCode" is required (not null) + if (typeCode == null) + { + throw new InvalidDataException("typeCode is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO and cannot be null"); + } + else + { + this.TypeCode = typeCode; + } + // to ensure "rollAvailableFlag" is required (not null) + if (rollAvailableFlag == null) + { + throw new InvalidDataException("rollAvailableFlag is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO and cannot be null"); + } + else + { + this.RollAvailableFlag = rollAvailableFlag; + } + // to ensure "rollCapacity" is required (not null) + if (rollCapacity == null) + { + throw new InvalidDataException("rollCapacity is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO and cannot be null"); + } + else + { + this.RollCapacity = rollCapacity; + } + this.TranslationList = translationList; + this.PackageID = packageID; + this.Tid = tid; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey Key { get; set; } + + /// + /// <p>A description of the quantitative value of a specific currency.<br /></p> + /// + /// <p>A description of the quantitative value of a specific currency.<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The quantitative value of a specific currency.<br /></p> + /// + /// <p>The quantitative value of a specific currency.<br /></p> + [DataMember(Name="pieceValue", EmitDefaultValue=false)] + public double? PieceValue { get; set; } + + + /// + /// <p>Determines whether rolls are available.<br /></p> + /// + /// <p>Determines whether rolls are available.<br /></p> + [DataMember(Name="rollAvailableFlag", EmitDefaultValue=false)] + public bool? RollAvailableFlag { get; set; } + + /// + /// <p>Count of coins in the roll.<br /></p> + /// + /// <p>Count of coins in the roll.<br /></p> + [DataMember(Name="rollCapacity", EmitDefaultValue=false)] + public int? RollCapacity { get; set; } + + /// + /// <p>List of translations for the denomination.<br /></p> + /// + /// <p>List of translations for the denomination.<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" PieceValue: ").Append(PieceValue).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" RollAvailableFlag: ").Append(RollAvailableFlag).Append("\n"); + sb.Append(" RollCapacity: ").Append(RollCapacity).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.PieceValue == input.PieceValue || + (this.PieceValue != null && + this.PieceValue.Equals(input.PieceValue)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.RollAvailableFlag == input.RollAvailableFlag || + (this.RollAvailableFlag != null && + this.RollAvailableFlag.Equals(input.RollAvailableFlag)) + ) && + ( + this.RollCapacity == input.RollCapacity || + (this.RollCapacity != null && + this.RollCapacity.Equals(input.RollCapacity)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.PieceValue != null) + hashCode = hashCode * 59 + this.PieceValue.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.RollAvailableFlag != null) + hashCode = hashCode * 59 + this.RollAvailableFlag.GetHashCode(); + if (this.RollCapacity != null) + hashCode = hashCode * 59 + this.RollCapacity.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..0438bad036f8ab7c91690aa376cbbe6b416e1562 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DenominationDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>An identifier which uniquely identifies the quantitative value of a specific currency, e.g. $100, £50, etc.<br /></p> (required). + /// <p>Currency code designated by ISO to identify national currency<br /></p> (required). + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey(string denominationID = default(string), string currencyCode = default(string), string businessUnitGroupID = default(string)) + { + // to ensure "denominationID" is required (not null) + if (denominationID == null) + { + throw new InvalidDataException("denominationID is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey and cannot be null"); + } + else + { + this.DenominationID = denominationID; + } + // to ensure "currencyCode" is required (not null) + if (currencyCode == null) + { + throw new InvalidDataException("currencyCode is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey and cannot be null"); + } + else + { + this.CurrencyCode = currencyCode; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + } + + /// + /// <p>An identifier which uniquely identifies the quantitative value of a specific currency, e.g. $100, £50, etc.<br /></p> + /// + /// <p>An identifier which uniquely identifies the quantitative value of a specific currency, e.g. $100, £50, etc.<br /></p> + [DataMember(Name="denominationID", EmitDefaultValue=false)] + public string DenominationID { get; set; } + + /// + /// <p>Currency code designated by ISO to identify national currency<br /></p> + /// + /// <p>Currency code designated by ISO to identify national currency<br /></p> + [DataMember(Name="currencyCode", EmitDefaultValue=false)] + public string CurrencyCode { get; set; } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey {\n"); + sb.Append(" DenominationID: ").Append(DenominationID).Append("\n"); + sb.Append(" CurrencyCode: ").Append(CurrencyCode).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey input) + { + if (input == null) + return false; + + return + ( + this.DenominationID == input.DenominationID || + (this.DenominationID != null && + this.DenominationID.Equals(input.DenominationID)) + ) && + ( + this.CurrencyCode == input.CurrencyCode || + (this.CurrencyCode != null && + this.CurrencyCode.Equals(input.CurrencyCode)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DenominationID != null) + hashCode = hashCode * 59 + this.DenominationID.GetHashCode(); + if (this.CurrencyCode != null) + hashCode = hashCode * 59 + this.CurrencyCode.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView.cs new file mode 100644 index 0000000000000000000000000000000000000000..2f9e7fbf8f25460c21578f4508e232e8c2a43de9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView.cs @@ -0,0 +1,142 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DynamicTableauItemListUpdateView <p>TODO<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p>. + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView(string itemListId = default(string), string lastUpdateTimestamp = default(string)) + { + this.ItemListId = itemListId; + this.LastUpdateTimestamp = lastUpdateTimestamp; + } + + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + [DataMember(Name="itemListId", EmitDefaultValue=false)] + public string ItemListId { get; set; } + + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="lastUpdateTimestamp", EmitDefaultValue=false)] + public string LastUpdateTimestamp { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView {\n"); + sb.Append(" ItemListId: ").Append(ItemListId).Append("\n"); + sb.Append(" LastUpdateTimestamp: ").Append(LastUpdateTimestamp).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView input) + { + if (input == null) + return false; + + return + ( + this.ItemListId == input.ItemListId || + (this.ItemListId != null && + this.ItemListId.Equals(input.ItemListId)) + ) && + ( + this.LastUpdateTimestamp == input.LastUpdateTimestamp || + (this.LastUpdateTimestamp != null && + this.LastUpdateTimestamp.Equals(input.LastUpdateTimestamp)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemListId != null) + hashCode = hashCode * 59 + this.ItemListId.GetHashCode(); + if (this.LastUpdateTimestamp != null) + hashCode = hashCode * 59 + this.LastUpdateTimestamp.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria.cs new file mode 100644 index 0000000000000000000000000000000000000000..2b344065c21394f74e61dba5d5885bcc94103487 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DynamicTableauItemListUpdateViewCriteria <p>Search criteria<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p>. + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria(string businessUnitGroupId = default(string), List itemListIdList = default(List)) + { + // to ensure "businessUnitGroupId" is required (not null) + if (businessUnitGroupId == null) + { + throw new InvalidDataException("businessUnitGroupId is a required property for ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria and cannot be null"); + } + else + { + this.BusinessUnitGroupId = businessUnitGroupId; + } + this.ItemListIdList = itemListIdList; + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + [DataMember(Name="itemListIdList", EmitDefaultValue=false)] + public List ItemListIdList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" ItemListIdList: ").Append(ItemListIdList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.ItemListIdList == input.ItemListIdList || + this.ItemListIdList != null && + this.ItemListIdList.SequenceEqual(input.ItemListIdList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.ItemListIdList != null) + hashCode = hashCode * 59 + this.ItemListIdList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView.cs new file mode 100644 index 0000000000000000000000000000000000000000..77ed46f3f39be5a52cf9da4fa87584cf2c22a1bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView.cs @@ -0,0 +1,669 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DynamicTableauItemListView <p>View object<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p>. + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The list of pos uom item views for a given tableau<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListDO<br /></p>. + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView(string itemListId = default(string), string lastUpdateTimestamp = default(string), List posUomItemList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + this.ItemListId = itemListId; + this.LastUpdateTimestamp = lastUpdateTimestamp; + this.PosUomItemList = posUomItemList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + [DataMember(Name="itemListId", EmitDefaultValue=false)] + public string ItemListId { get; set; } + + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="lastUpdateTimestamp", EmitDefaultValue=false)] + public string LastUpdateTimestamp { get; set; } + + /// + /// <p>The list of pos uom item views for a given tableau<br /></p> + /// + /// <p>The list of pos uom item views for a given tableau<br /></p> + [DataMember(Name="posUomItemList", EmitDefaultValue=false)] + public List PosUomItemList { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView {\n"); + sb.Append(" ItemListId: ").Append(ItemListId).Append("\n"); + sb.Append(" LastUpdateTimestamp: ").Append(LastUpdateTimestamp).Append("\n"); + sb.Append(" PosUomItemList: ").Append(PosUomItemList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView input) + { + if (input == null) + return false; + + return + ( + this.ItemListId == input.ItemListId || + (this.ItemListId != null && + this.ItemListId.Equals(input.ItemListId)) + ) && + ( + this.LastUpdateTimestamp == input.LastUpdateTimestamp || + (this.LastUpdateTimestamp != null && + this.LastUpdateTimestamp.Equals(input.LastUpdateTimestamp)) + ) && + ( + this.PosUomItemList == input.PosUomItemList || + this.PosUomItemList != null && + this.PosUomItemList.SequenceEqual(input.PosUomItemList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemListId != null) + hashCode = hashCode * 59 + this.ItemListId.GetHashCode(); + if (this.LastUpdateTimestamp != null) + hashCode = hashCode * 59 + this.LastUpdateTimestamp.GetHashCode(); + if (this.PosUomItemList != null) + hashCode = hashCode * 59 + this.PosUomItemList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria.cs new file mode 100644 index 0000000000000000000000000000000000000000..8cfbabaad79f1999f3e9a50830bad481cdc2feb5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria.cs @@ -0,0 +1,189 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DynamicTableauItemListViewCriteria <p>Search criteria<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p>. + /// <p>List of language ids.<br /></p>. + /// <p>List of text classes.<br /></p>. + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria(string businessUnitGroupId = default(string), List itemListIdList = default(List), List languageIdList = default(List), List textClassList = default(List)) + { + // to ensure "businessUnitGroupId" is required (not null) + if (businessUnitGroupId == null) + { + throw new InvalidDataException("businessUnitGroupId is a required property for ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria and cannot be null"); + } + else + { + this.BusinessUnitGroupId = businessUnitGroupId; + } + this.ItemListIdList = itemListIdList; + this.LanguageIdList = languageIdList; + this.TextClassList = textClassList; + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + [DataMember(Name="itemListIdList", EmitDefaultValue=false)] + public List ItemListIdList { get; set; } + + /// + /// <p>List of language ids.<br /></p> + /// + /// <p>List of language ids.<br /></p> + [DataMember(Name="languageIdList", EmitDefaultValue=false)] + public List LanguageIdList { get; set; } + + /// + /// <p>List of text classes.<br /></p> + /// + /// <p>List of text classes.<br /></p> + [DataMember(Name="textClassList", EmitDefaultValue=false)] + public List TextClassList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" ItemListIdList: ").Append(ItemListIdList).Append("\n"); + sb.Append(" LanguageIdList: ").Append(LanguageIdList).Append("\n"); + sb.Append(" TextClassList: ").Append(TextClassList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.ItemListIdList == input.ItemListIdList || + this.ItemListIdList != null && + this.ItemListIdList.SequenceEqual(input.ItemListIdList) + ) && + ( + this.LanguageIdList == input.LanguageIdList || + this.LanguageIdList != null && + this.LanguageIdList.SequenceEqual(input.LanguageIdList) + ) && + ( + this.TextClassList == input.TextClassList || + this.TextClassList != null && + this.TextClassList.SequenceEqual(input.TextClassList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.ItemListIdList != null) + hashCode = hashCode * 59 + this.ItemListIdList.GetHashCode(); + if (this.LanguageIdList != null) + hashCode = hashCode * 59 + this.LanguageIdList.GetHashCode(); + if (this.TextClassList != null) + hashCode = hashCode * 59 + this.TextClassList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView.cs new file mode 100644 index 0000000000000000000000000000000000000000..b82e62a1fba5e332b2abeec48f37597e0cf1fc5a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView.cs @@ -0,0 +1,176 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUomItemTextView <p>Pos uom item text view.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Translation text<br /></p>. + /// <p>Text class<br /></p>. + /// <p>Language id<br /></p>. + /// <p>text number<br /></p>. + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView(string text = default(string), string textClass = default(string), string languageId = default(string), int? textNumber = default(int?)) + { + this.Text = text; + this.TextClass = textClass; + this.LanguageId = languageId; + this.TextNumber = textNumber; + } + + /// + /// <p>Translation text<br /></p> + /// + /// <p>Translation text<br /></p> + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// <p>Text class<br /></p> + /// + /// <p>Text class<br /></p> + [DataMember(Name="textClass", EmitDefaultValue=false)] + public string TextClass { get; set; } + + /// + /// <p>Language id<br /></p> + /// + /// <p>Language id<br /></p> + [DataMember(Name="languageId", EmitDefaultValue=false)] + public string LanguageId { get; set; } + + /// + /// <p>text number<br /></p> + /// + /// <p>text number<br /></p> + [DataMember(Name="textNumber", EmitDefaultValue=false)] + public int? TextNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView {\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" TextClass: ").Append(TextClass).Append("\n"); + sb.Append(" LanguageId: ").Append(LanguageId).Append("\n"); + sb.Append(" TextNumber: ").Append(TextNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView input) + { + if (input == null) + return false; + + return + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.TextClass == input.TextClass || + (this.TextClass != null && + this.TextClass.Equals(input.TextClass)) + ) && + ( + this.LanguageId == input.LanguageId || + (this.LanguageId != null && + this.LanguageId.Equals(input.LanguageId)) + ) && + ( + this.TextNumber == input.TextNumber || + (this.TextNumber != null && + this.TextNumber.Equals(input.TextNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.TextClass != null) + hashCode = hashCode * 59 + this.TextClass.GetHashCode(); + if (this.LanguageId != null) + hashCode = hashCode * 59 + this.LanguageId.GetHashCode(); + if (this.TextNumber != null) + hashCode = hashCode * 59 + this.TextNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView.cs new file mode 100644 index 0000000000000000000000000000000000000000..f82a12235feb26d09be4de6156842cb507047fda --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView.cs @@ -0,0 +1,1723 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUomItemView <p>Pos uom item view.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The ID used to identify the item.<br /></p>. + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p>. + /// <p>Main POS item id<br /></p>. + /// <p>The uom item text list<br /></p>. + /// <p>The uom item name<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for ItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + /// <p>Customizable information for UomItemSO<br /></p>. + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView(string posItemId = default(string), string itemId = default(string), string mainPosItemId = default(string), List uomItemTextList = default(List), string uomItemName = default(string), string itemListItemXXCustom01 = default(string), string itemListItemXXCustom02 = default(string), string itemListItemXXCustom03 = default(string), string itemListItemXXCustom04 = default(string), string itemListItemXXCustom05 = default(string), string itemListItemXXCustom06 = default(string), string itemListItemXXCustom07 = default(string), string itemListItemXXCustom08 = default(string), string itemListItemXXCustom09 = default(string), string itemListItemXXCustom10 = default(string), string itemListItemXXCustom11 = default(string), string itemListItemXXCustom12 = default(string), string itemListItemXXCustom13 = default(string), string itemListItemXXCustom14 = default(string), string itemListItemXXCustom15 = default(string), string itemListItemXXCustom16 = default(string), string itemListItemXXCustom17 = default(string), string itemListItemXXCustom18 = default(string), string itemListItemXXCustom19 = default(string), string itemListItemXXCustom20 = default(string), string itemListItemXXCustom21 = default(string), string itemListItemXXCustom22 = default(string), string itemListItemXXCustom23 = default(string), string itemListItemXXCustom24 = default(string), string itemListItemXXCustom25 = default(string), string itemListItemXXCustom26 = default(string), string itemListItemXXCustom27 = default(string), string itemListItemXXCustom28 = default(string), string itemListItemXXCustom29 = default(string), string itemListItemXXCustom30 = default(string), string itemXXCustom01 = default(string), string itemXXCustom02 = default(string), string itemXXCustom03 = default(string), string itemXXCustom04 = default(string), string itemXXCustom05 = default(string), string itemXXCustom06 = default(string), string itemXXCustom07 = default(string), string itemXXCustom08 = default(string), string itemXXCustom09 = default(string), string itemXXCustom10 = default(string), string itemXXCustom11 = default(string), string itemXXCustom12 = default(string), string itemXXCustom13 = default(string), string itemXXCustom14 = default(string), string itemXXCustom15 = default(string), string itemXXCustom16 = default(string), string itemXXCustom17 = default(string), string itemXXCustom18 = default(string), string itemXXCustom19 = default(string), string itemXXCustom20 = default(string), string itemXXCustom21 = default(string), string itemXXCustom22 = default(string), string itemXXCustom23 = default(string), string itemXXCustom24 = default(string), string itemXXCustom25 = default(string), string itemXXCustom26 = default(string), string itemXXCustom27 = default(string), string itemXXCustom28 = default(string), string itemXXCustom29 = default(string), string itemXXCustom30 = default(string), string uomItemXXCustom01 = default(string), string uomItemXXCustom02 = default(string), string uomItemXXCustom03 = default(string), string uomItemXXCustom04 = default(string), string uomItemXXCustom05 = default(string), string uomItemXXCustom06 = default(string), string uomItemXXCustom07 = default(string), string uomItemXXCustom08 = default(string), string uomItemXXCustom09 = default(string), string uomItemXXCustom10 = default(string), string uomItemXXCustom11 = default(string), string uomItemXXCustom12 = default(string), string uomItemXXCustom13 = default(string), string uomItemXXCustom14 = default(string), string uomItemXXCustom15 = default(string), string uomItemXXCustom16 = default(string), string uomItemXXCustom17 = default(string), string uomItemXXCustom18 = default(string), string uomItemXXCustom19 = default(string), string uomItemXXCustom20 = default(string), string uomItemXXCustom21 = default(string), string uomItemXXCustom22 = default(string), string uomItemXXCustom23 = default(string), string uomItemXXCustom24 = default(string), string uomItemXXCustom25 = default(string), string uomItemXXCustom26 = default(string), string uomItemXXCustom27 = default(string), string uomItemXXCustom28 = default(string), string uomItemXXCustom29 = default(string), string uomItemXXCustom30 = default(string)) + { + this.PosItemId = posItemId; + this.ItemId = itemId; + this.MainPosItemId = mainPosItemId; + this.UomItemTextList = uomItemTextList; + this.UomItemName = uomItemName; + this.ItemListItemXXCustom01 = itemListItemXXCustom01; + this.ItemListItemXXCustom02 = itemListItemXXCustom02; + this.ItemListItemXXCustom03 = itemListItemXXCustom03; + this.ItemListItemXXCustom04 = itemListItemXXCustom04; + this.ItemListItemXXCustom05 = itemListItemXXCustom05; + this.ItemListItemXXCustom06 = itemListItemXXCustom06; + this.ItemListItemXXCustom07 = itemListItemXXCustom07; + this.ItemListItemXXCustom08 = itemListItemXXCustom08; + this.ItemListItemXXCustom09 = itemListItemXXCustom09; + this.ItemListItemXXCustom10 = itemListItemXXCustom10; + this.ItemListItemXXCustom11 = itemListItemXXCustom11; + this.ItemListItemXXCustom12 = itemListItemXXCustom12; + this.ItemListItemXXCustom13 = itemListItemXXCustom13; + this.ItemListItemXXCustom14 = itemListItemXXCustom14; + this.ItemListItemXXCustom15 = itemListItemXXCustom15; + this.ItemListItemXXCustom16 = itemListItemXXCustom16; + this.ItemListItemXXCustom17 = itemListItemXXCustom17; + this.ItemListItemXXCustom18 = itemListItemXXCustom18; + this.ItemListItemXXCustom19 = itemListItemXXCustom19; + this.ItemListItemXXCustom20 = itemListItemXXCustom20; + this.ItemListItemXXCustom21 = itemListItemXXCustom21; + this.ItemListItemXXCustom22 = itemListItemXXCustom22; + this.ItemListItemXXCustom23 = itemListItemXXCustom23; + this.ItemListItemXXCustom24 = itemListItemXXCustom24; + this.ItemListItemXXCustom25 = itemListItemXXCustom25; + this.ItemListItemXXCustom26 = itemListItemXXCustom26; + this.ItemListItemXXCustom27 = itemListItemXXCustom27; + this.ItemListItemXXCustom28 = itemListItemXXCustom28; + this.ItemListItemXXCustom29 = itemListItemXXCustom29; + this.ItemListItemXXCustom30 = itemListItemXXCustom30; + this.ItemXXCustom01 = itemXXCustom01; + this.ItemXXCustom02 = itemXXCustom02; + this.ItemXXCustom03 = itemXXCustom03; + this.ItemXXCustom04 = itemXXCustom04; + this.ItemXXCustom05 = itemXXCustom05; + this.ItemXXCustom06 = itemXXCustom06; + this.ItemXXCustom07 = itemXXCustom07; + this.ItemXXCustom08 = itemXXCustom08; + this.ItemXXCustom09 = itemXXCustom09; + this.ItemXXCustom10 = itemXXCustom10; + this.ItemXXCustom11 = itemXXCustom11; + this.ItemXXCustom12 = itemXXCustom12; + this.ItemXXCustom13 = itemXXCustom13; + this.ItemXXCustom14 = itemXXCustom14; + this.ItemXXCustom15 = itemXXCustom15; + this.ItemXXCustom16 = itemXXCustom16; + this.ItemXXCustom17 = itemXXCustom17; + this.ItemXXCustom18 = itemXXCustom18; + this.ItemXXCustom19 = itemXXCustom19; + this.ItemXXCustom20 = itemXXCustom20; + this.ItemXXCustom21 = itemXXCustom21; + this.ItemXXCustom22 = itemXXCustom22; + this.ItemXXCustom23 = itemXXCustom23; + this.ItemXXCustom24 = itemXXCustom24; + this.ItemXXCustom25 = itemXXCustom25; + this.ItemXXCustom26 = itemXXCustom26; + this.ItemXXCustom27 = itemXXCustom27; + this.ItemXXCustom28 = itemXXCustom28; + this.ItemXXCustom29 = itemXXCustom29; + this.ItemXXCustom30 = itemXXCustom30; + this.UomItemXXCustom01 = uomItemXXCustom01; + this.UomItemXXCustom02 = uomItemXXCustom02; + this.UomItemXXCustom03 = uomItemXXCustom03; + this.UomItemXXCustom04 = uomItemXXCustom04; + this.UomItemXXCustom05 = uomItemXXCustom05; + this.UomItemXXCustom06 = uomItemXXCustom06; + this.UomItemXXCustom07 = uomItemXXCustom07; + this.UomItemXXCustom08 = uomItemXXCustom08; + this.UomItemXXCustom09 = uomItemXXCustom09; + this.UomItemXXCustom10 = uomItemXXCustom10; + this.UomItemXXCustom11 = uomItemXXCustom11; + this.UomItemXXCustom12 = uomItemXXCustom12; + this.UomItemXXCustom13 = uomItemXXCustom13; + this.UomItemXXCustom14 = uomItemXXCustom14; + this.UomItemXXCustom15 = uomItemXXCustom15; + this.UomItemXXCustom16 = uomItemXXCustom16; + this.UomItemXXCustom17 = uomItemXXCustom17; + this.UomItemXXCustom18 = uomItemXXCustom18; + this.UomItemXXCustom19 = uomItemXXCustom19; + this.UomItemXXCustom20 = uomItemXXCustom20; + this.UomItemXXCustom21 = uomItemXXCustom21; + this.UomItemXXCustom22 = uomItemXXCustom22; + this.UomItemXXCustom23 = uomItemXXCustom23; + this.UomItemXXCustom24 = uomItemXXCustom24; + this.UomItemXXCustom25 = uomItemXXCustom25; + this.UomItemXXCustom26 = uomItemXXCustom26; + this.UomItemXXCustom27 = uomItemXXCustom27; + this.UomItemXXCustom28 = uomItemXXCustom28; + this.UomItemXXCustom29 = uomItemXXCustom29; + this.UomItemXXCustom30 = uomItemXXCustom30; + } + + /// + /// <p>The ID used to identify the item.<br /></p> + /// + /// <p>The ID used to identify the item.<br /></p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// <p>Main POS item id<br /></p> + /// + /// <p>Main POS item id<br /></p> + [DataMember(Name="mainPosItemId", EmitDefaultValue=false)] + public string MainPosItemId { get; set; } + + /// + /// <p>The uom item text list<br /></p> + /// + /// <p>The uom item text list<br /></p> + [DataMember(Name="uomItemTextList", EmitDefaultValue=false)] + public List UomItemTextList { get; set; } + + /// + /// <p>The uom item name<br /></p> + /// + /// <p>The uom item name<br /></p> + [DataMember(Name="uomItemName", EmitDefaultValue=false)] + public string UomItemName { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom01", EmitDefaultValue=false)] + public string ItemListItemXXCustom01 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom02", EmitDefaultValue=false)] + public string ItemListItemXXCustom02 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom03", EmitDefaultValue=false)] + public string ItemListItemXXCustom03 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom04", EmitDefaultValue=false)] + public string ItemListItemXXCustom04 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom05", EmitDefaultValue=false)] + public string ItemListItemXXCustom05 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom06", EmitDefaultValue=false)] + public string ItemListItemXXCustom06 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom07", EmitDefaultValue=false)] + public string ItemListItemXXCustom07 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom08", EmitDefaultValue=false)] + public string ItemListItemXXCustom08 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom09", EmitDefaultValue=false)] + public string ItemListItemXXCustom09 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom10", EmitDefaultValue=false)] + public string ItemListItemXXCustom10 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom11", EmitDefaultValue=false)] + public string ItemListItemXXCustom11 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom12", EmitDefaultValue=false)] + public string ItemListItemXXCustom12 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom13", EmitDefaultValue=false)] + public string ItemListItemXXCustom13 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom14", EmitDefaultValue=false)] + public string ItemListItemXXCustom14 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom15", EmitDefaultValue=false)] + public string ItemListItemXXCustom15 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom16", EmitDefaultValue=false)] + public string ItemListItemXXCustom16 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom17", EmitDefaultValue=false)] + public string ItemListItemXXCustom17 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom18", EmitDefaultValue=false)] + public string ItemListItemXXCustom18 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom19", EmitDefaultValue=false)] + public string ItemListItemXXCustom19 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom20", EmitDefaultValue=false)] + public string ItemListItemXXCustom20 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom21", EmitDefaultValue=false)] + public string ItemListItemXXCustom21 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom22", EmitDefaultValue=false)] + public string ItemListItemXXCustom22 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom23", EmitDefaultValue=false)] + public string ItemListItemXXCustom23 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom24", EmitDefaultValue=false)] + public string ItemListItemXXCustom24 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom25", EmitDefaultValue=false)] + public string ItemListItemXXCustom25 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom26", EmitDefaultValue=false)] + public string ItemListItemXXCustom26 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom27", EmitDefaultValue=false)] + public string ItemListItemXXCustom27 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom28", EmitDefaultValue=false)] + public string ItemListItemXXCustom28 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom29", EmitDefaultValue=false)] + public string ItemListItemXXCustom29 { get; set; } + + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + [DataMember(Name="itemListItemXXCustom30", EmitDefaultValue=false)] + public string ItemListItemXXCustom30 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom01", EmitDefaultValue=false)] + public string ItemXXCustom01 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom02", EmitDefaultValue=false)] + public string ItemXXCustom02 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom03", EmitDefaultValue=false)] + public string ItemXXCustom03 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom04", EmitDefaultValue=false)] + public string ItemXXCustom04 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom05", EmitDefaultValue=false)] + public string ItemXXCustom05 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom06", EmitDefaultValue=false)] + public string ItemXXCustom06 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom07", EmitDefaultValue=false)] + public string ItemXXCustom07 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom08", EmitDefaultValue=false)] + public string ItemXXCustom08 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom09", EmitDefaultValue=false)] + public string ItemXXCustom09 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom10", EmitDefaultValue=false)] + public string ItemXXCustom10 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom11", EmitDefaultValue=false)] + public string ItemXXCustom11 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom12", EmitDefaultValue=false)] + public string ItemXXCustom12 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom13", EmitDefaultValue=false)] + public string ItemXXCustom13 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom14", EmitDefaultValue=false)] + public string ItemXXCustom14 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom15", EmitDefaultValue=false)] + public string ItemXXCustom15 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom16", EmitDefaultValue=false)] + public string ItemXXCustom16 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom17", EmitDefaultValue=false)] + public string ItemXXCustom17 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom18", EmitDefaultValue=false)] + public string ItemXXCustom18 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom19", EmitDefaultValue=false)] + public string ItemXXCustom19 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom20", EmitDefaultValue=false)] + public string ItemXXCustom20 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom21", EmitDefaultValue=false)] + public string ItemXXCustom21 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom22", EmitDefaultValue=false)] + public string ItemXXCustom22 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom23", EmitDefaultValue=false)] + public string ItemXXCustom23 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom24", EmitDefaultValue=false)] + public string ItemXXCustom24 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom25", EmitDefaultValue=false)] + public string ItemXXCustom25 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom26", EmitDefaultValue=false)] + public string ItemXXCustom26 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom27", EmitDefaultValue=false)] + public string ItemXXCustom27 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom28", EmitDefaultValue=false)] + public string ItemXXCustom28 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom29", EmitDefaultValue=false)] + public string ItemXXCustom29 { get; set; } + + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + [DataMember(Name="itemXXCustom30", EmitDefaultValue=false)] + public string ItemXXCustom30 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom01", EmitDefaultValue=false)] + public string UomItemXXCustom01 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom02", EmitDefaultValue=false)] + public string UomItemXXCustom02 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom03", EmitDefaultValue=false)] + public string UomItemXXCustom03 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom04", EmitDefaultValue=false)] + public string UomItemXXCustom04 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom05", EmitDefaultValue=false)] + public string UomItemXXCustom05 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom06", EmitDefaultValue=false)] + public string UomItemXXCustom06 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom07", EmitDefaultValue=false)] + public string UomItemXXCustom07 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom08", EmitDefaultValue=false)] + public string UomItemXXCustom08 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom09", EmitDefaultValue=false)] + public string UomItemXXCustom09 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom10", EmitDefaultValue=false)] + public string UomItemXXCustom10 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom11", EmitDefaultValue=false)] + public string UomItemXXCustom11 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom12", EmitDefaultValue=false)] + public string UomItemXXCustom12 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom13", EmitDefaultValue=false)] + public string UomItemXXCustom13 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom14", EmitDefaultValue=false)] + public string UomItemXXCustom14 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom15", EmitDefaultValue=false)] + public string UomItemXXCustom15 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom16", EmitDefaultValue=false)] + public string UomItemXXCustom16 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom17", EmitDefaultValue=false)] + public string UomItemXXCustom17 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom18", EmitDefaultValue=false)] + public string UomItemXXCustom18 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom19", EmitDefaultValue=false)] + public string UomItemXXCustom19 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom20", EmitDefaultValue=false)] + public string UomItemXXCustom20 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom21", EmitDefaultValue=false)] + public string UomItemXXCustom21 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom22", EmitDefaultValue=false)] + public string UomItemXXCustom22 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom23", EmitDefaultValue=false)] + public string UomItemXXCustom23 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom24", EmitDefaultValue=false)] + public string UomItemXXCustom24 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom25", EmitDefaultValue=false)] + public string UomItemXXCustom25 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom26", EmitDefaultValue=false)] + public string UomItemXXCustom26 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom27", EmitDefaultValue=false)] + public string UomItemXXCustom27 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom28", EmitDefaultValue=false)] + public string UomItemXXCustom28 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom29", EmitDefaultValue=false)] + public string UomItemXXCustom29 { get; set; } + + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + [DataMember(Name="uomItemXXCustom30", EmitDefaultValue=false)] + public string UomItemXXCustom30 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView {\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" MainPosItemId: ").Append(MainPosItemId).Append("\n"); + sb.Append(" UomItemTextList: ").Append(UomItemTextList).Append("\n"); + sb.Append(" UomItemName: ").Append(UomItemName).Append("\n"); + sb.Append(" ItemListItemXXCustom01: ").Append(ItemListItemXXCustom01).Append("\n"); + sb.Append(" ItemListItemXXCustom02: ").Append(ItemListItemXXCustom02).Append("\n"); + sb.Append(" ItemListItemXXCustom03: ").Append(ItemListItemXXCustom03).Append("\n"); + sb.Append(" ItemListItemXXCustom04: ").Append(ItemListItemXXCustom04).Append("\n"); + sb.Append(" ItemListItemXXCustom05: ").Append(ItemListItemXXCustom05).Append("\n"); + sb.Append(" ItemListItemXXCustom06: ").Append(ItemListItemXXCustom06).Append("\n"); + sb.Append(" ItemListItemXXCustom07: ").Append(ItemListItemXXCustom07).Append("\n"); + sb.Append(" ItemListItemXXCustom08: ").Append(ItemListItemXXCustom08).Append("\n"); + sb.Append(" ItemListItemXXCustom09: ").Append(ItemListItemXXCustom09).Append("\n"); + sb.Append(" ItemListItemXXCustom10: ").Append(ItemListItemXXCustom10).Append("\n"); + sb.Append(" ItemListItemXXCustom11: ").Append(ItemListItemXXCustom11).Append("\n"); + sb.Append(" ItemListItemXXCustom12: ").Append(ItemListItemXXCustom12).Append("\n"); + sb.Append(" ItemListItemXXCustom13: ").Append(ItemListItemXXCustom13).Append("\n"); + sb.Append(" ItemListItemXXCustom14: ").Append(ItemListItemXXCustom14).Append("\n"); + sb.Append(" ItemListItemXXCustom15: ").Append(ItemListItemXXCustom15).Append("\n"); + sb.Append(" ItemListItemXXCustom16: ").Append(ItemListItemXXCustom16).Append("\n"); + sb.Append(" ItemListItemXXCustom17: ").Append(ItemListItemXXCustom17).Append("\n"); + sb.Append(" ItemListItemXXCustom18: ").Append(ItemListItemXXCustom18).Append("\n"); + sb.Append(" ItemListItemXXCustom19: ").Append(ItemListItemXXCustom19).Append("\n"); + sb.Append(" ItemListItemXXCustom20: ").Append(ItemListItemXXCustom20).Append("\n"); + sb.Append(" ItemListItemXXCustom21: ").Append(ItemListItemXXCustom21).Append("\n"); + sb.Append(" ItemListItemXXCustom22: ").Append(ItemListItemXXCustom22).Append("\n"); + sb.Append(" ItemListItemXXCustom23: ").Append(ItemListItemXXCustom23).Append("\n"); + sb.Append(" ItemListItemXXCustom24: ").Append(ItemListItemXXCustom24).Append("\n"); + sb.Append(" ItemListItemXXCustom25: ").Append(ItemListItemXXCustom25).Append("\n"); + sb.Append(" ItemListItemXXCustom26: ").Append(ItemListItemXXCustom26).Append("\n"); + sb.Append(" ItemListItemXXCustom27: ").Append(ItemListItemXXCustom27).Append("\n"); + sb.Append(" ItemListItemXXCustom28: ").Append(ItemListItemXXCustom28).Append("\n"); + sb.Append(" ItemListItemXXCustom29: ").Append(ItemListItemXXCustom29).Append("\n"); + sb.Append(" ItemListItemXXCustom30: ").Append(ItemListItemXXCustom30).Append("\n"); + sb.Append(" ItemXXCustom01: ").Append(ItemXXCustom01).Append("\n"); + sb.Append(" ItemXXCustom02: ").Append(ItemXXCustom02).Append("\n"); + sb.Append(" ItemXXCustom03: ").Append(ItemXXCustom03).Append("\n"); + sb.Append(" ItemXXCustom04: ").Append(ItemXXCustom04).Append("\n"); + sb.Append(" ItemXXCustom05: ").Append(ItemXXCustom05).Append("\n"); + sb.Append(" ItemXXCustom06: ").Append(ItemXXCustom06).Append("\n"); + sb.Append(" ItemXXCustom07: ").Append(ItemXXCustom07).Append("\n"); + sb.Append(" ItemXXCustom08: ").Append(ItemXXCustom08).Append("\n"); + sb.Append(" ItemXXCustom09: ").Append(ItemXXCustom09).Append("\n"); + sb.Append(" ItemXXCustom10: ").Append(ItemXXCustom10).Append("\n"); + sb.Append(" ItemXXCustom11: ").Append(ItemXXCustom11).Append("\n"); + sb.Append(" ItemXXCustom12: ").Append(ItemXXCustom12).Append("\n"); + sb.Append(" ItemXXCustom13: ").Append(ItemXXCustom13).Append("\n"); + sb.Append(" ItemXXCustom14: ").Append(ItemXXCustom14).Append("\n"); + sb.Append(" ItemXXCustom15: ").Append(ItemXXCustom15).Append("\n"); + sb.Append(" ItemXXCustom16: ").Append(ItemXXCustom16).Append("\n"); + sb.Append(" ItemXXCustom17: ").Append(ItemXXCustom17).Append("\n"); + sb.Append(" ItemXXCustom18: ").Append(ItemXXCustom18).Append("\n"); + sb.Append(" ItemXXCustom19: ").Append(ItemXXCustom19).Append("\n"); + sb.Append(" ItemXXCustom20: ").Append(ItemXXCustom20).Append("\n"); + sb.Append(" ItemXXCustom21: ").Append(ItemXXCustom21).Append("\n"); + sb.Append(" ItemXXCustom22: ").Append(ItemXXCustom22).Append("\n"); + sb.Append(" ItemXXCustom23: ").Append(ItemXXCustom23).Append("\n"); + sb.Append(" ItemXXCustom24: ").Append(ItemXXCustom24).Append("\n"); + sb.Append(" ItemXXCustom25: ").Append(ItemXXCustom25).Append("\n"); + sb.Append(" ItemXXCustom26: ").Append(ItemXXCustom26).Append("\n"); + sb.Append(" ItemXXCustom27: ").Append(ItemXXCustom27).Append("\n"); + sb.Append(" ItemXXCustom28: ").Append(ItemXXCustom28).Append("\n"); + sb.Append(" ItemXXCustom29: ").Append(ItemXXCustom29).Append("\n"); + sb.Append(" ItemXXCustom30: ").Append(ItemXXCustom30).Append("\n"); + sb.Append(" UomItemXXCustom01: ").Append(UomItemXXCustom01).Append("\n"); + sb.Append(" UomItemXXCustom02: ").Append(UomItemXXCustom02).Append("\n"); + sb.Append(" UomItemXXCustom03: ").Append(UomItemXXCustom03).Append("\n"); + sb.Append(" UomItemXXCustom04: ").Append(UomItemXXCustom04).Append("\n"); + sb.Append(" UomItemXXCustom05: ").Append(UomItemXXCustom05).Append("\n"); + sb.Append(" UomItemXXCustom06: ").Append(UomItemXXCustom06).Append("\n"); + sb.Append(" UomItemXXCustom07: ").Append(UomItemXXCustom07).Append("\n"); + sb.Append(" UomItemXXCustom08: ").Append(UomItemXXCustom08).Append("\n"); + sb.Append(" UomItemXXCustom09: ").Append(UomItemXXCustom09).Append("\n"); + sb.Append(" UomItemXXCustom10: ").Append(UomItemXXCustom10).Append("\n"); + sb.Append(" UomItemXXCustom11: ").Append(UomItemXXCustom11).Append("\n"); + sb.Append(" UomItemXXCustom12: ").Append(UomItemXXCustom12).Append("\n"); + sb.Append(" UomItemXXCustom13: ").Append(UomItemXXCustom13).Append("\n"); + sb.Append(" UomItemXXCustom14: ").Append(UomItemXXCustom14).Append("\n"); + sb.Append(" UomItemXXCustom15: ").Append(UomItemXXCustom15).Append("\n"); + sb.Append(" UomItemXXCustom16: ").Append(UomItemXXCustom16).Append("\n"); + sb.Append(" UomItemXXCustom17: ").Append(UomItemXXCustom17).Append("\n"); + sb.Append(" UomItemXXCustom18: ").Append(UomItemXXCustom18).Append("\n"); + sb.Append(" UomItemXXCustom19: ").Append(UomItemXXCustom19).Append("\n"); + sb.Append(" UomItemXXCustom20: ").Append(UomItemXXCustom20).Append("\n"); + sb.Append(" UomItemXXCustom21: ").Append(UomItemXXCustom21).Append("\n"); + sb.Append(" UomItemXXCustom22: ").Append(UomItemXXCustom22).Append("\n"); + sb.Append(" UomItemXXCustom23: ").Append(UomItemXXCustom23).Append("\n"); + sb.Append(" UomItemXXCustom24: ").Append(UomItemXXCustom24).Append("\n"); + sb.Append(" UomItemXXCustom25: ").Append(UomItemXXCustom25).Append("\n"); + sb.Append(" UomItemXXCustom26: ").Append(UomItemXXCustom26).Append("\n"); + sb.Append(" UomItemXXCustom27: ").Append(UomItemXXCustom27).Append("\n"); + sb.Append(" UomItemXXCustom28: ").Append(UomItemXXCustom28).Append("\n"); + sb.Append(" UomItemXXCustom29: ").Append(UomItemXXCustom29).Append("\n"); + sb.Append(" UomItemXXCustom30: ").Append(UomItemXXCustom30).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView input) + { + if (input == null) + return false; + + return + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.MainPosItemId == input.MainPosItemId || + (this.MainPosItemId != null && + this.MainPosItemId.Equals(input.MainPosItemId)) + ) && + ( + this.UomItemTextList == input.UomItemTextList || + this.UomItemTextList != null && + this.UomItemTextList.SequenceEqual(input.UomItemTextList) + ) && + ( + this.UomItemName == input.UomItemName || + (this.UomItemName != null && + this.UomItemName.Equals(input.UomItemName)) + ) && + ( + this.ItemListItemXXCustom01 == input.ItemListItemXXCustom01 || + (this.ItemListItemXXCustom01 != null && + this.ItemListItemXXCustom01.Equals(input.ItemListItemXXCustom01)) + ) && + ( + this.ItemListItemXXCustom02 == input.ItemListItemXXCustom02 || + (this.ItemListItemXXCustom02 != null && + this.ItemListItemXXCustom02.Equals(input.ItemListItemXXCustom02)) + ) && + ( + this.ItemListItemXXCustom03 == input.ItemListItemXXCustom03 || + (this.ItemListItemXXCustom03 != null && + this.ItemListItemXXCustom03.Equals(input.ItemListItemXXCustom03)) + ) && + ( + this.ItemListItemXXCustom04 == input.ItemListItemXXCustom04 || + (this.ItemListItemXXCustom04 != null && + this.ItemListItemXXCustom04.Equals(input.ItemListItemXXCustom04)) + ) && + ( + this.ItemListItemXXCustom05 == input.ItemListItemXXCustom05 || + (this.ItemListItemXXCustom05 != null && + this.ItemListItemXXCustom05.Equals(input.ItemListItemXXCustom05)) + ) && + ( + this.ItemListItemXXCustom06 == input.ItemListItemXXCustom06 || + (this.ItemListItemXXCustom06 != null && + this.ItemListItemXXCustom06.Equals(input.ItemListItemXXCustom06)) + ) && + ( + this.ItemListItemXXCustom07 == input.ItemListItemXXCustom07 || + (this.ItemListItemXXCustom07 != null && + this.ItemListItemXXCustom07.Equals(input.ItemListItemXXCustom07)) + ) && + ( + this.ItemListItemXXCustom08 == input.ItemListItemXXCustom08 || + (this.ItemListItemXXCustom08 != null && + this.ItemListItemXXCustom08.Equals(input.ItemListItemXXCustom08)) + ) && + ( + this.ItemListItemXXCustom09 == input.ItemListItemXXCustom09 || + (this.ItemListItemXXCustom09 != null && + this.ItemListItemXXCustom09.Equals(input.ItemListItemXXCustom09)) + ) && + ( + this.ItemListItemXXCustom10 == input.ItemListItemXXCustom10 || + (this.ItemListItemXXCustom10 != null && + this.ItemListItemXXCustom10.Equals(input.ItemListItemXXCustom10)) + ) && + ( + this.ItemListItemXXCustom11 == input.ItemListItemXXCustom11 || + (this.ItemListItemXXCustom11 != null && + this.ItemListItemXXCustom11.Equals(input.ItemListItemXXCustom11)) + ) && + ( + this.ItemListItemXXCustom12 == input.ItemListItemXXCustom12 || + (this.ItemListItemXXCustom12 != null && + this.ItemListItemXXCustom12.Equals(input.ItemListItemXXCustom12)) + ) && + ( + this.ItemListItemXXCustom13 == input.ItemListItemXXCustom13 || + (this.ItemListItemXXCustom13 != null && + this.ItemListItemXXCustom13.Equals(input.ItemListItemXXCustom13)) + ) && + ( + this.ItemListItemXXCustom14 == input.ItemListItemXXCustom14 || + (this.ItemListItemXXCustom14 != null && + this.ItemListItemXXCustom14.Equals(input.ItemListItemXXCustom14)) + ) && + ( + this.ItemListItemXXCustom15 == input.ItemListItemXXCustom15 || + (this.ItemListItemXXCustom15 != null && + this.ItemListItemXXCustom15.Equals(input.ItemListItemXXCustom15)) + ) && + ( + this.ItemListItemXXCustom16 == input.ItemListItemXXCustom16 || + (this.ItemListItemXXCustom16 != null && + this.ItemListItemXXCustom16.Equals(input.ItemListItemXXCustom16)) + ) && + ( + this.ItemListItemXXCustom17 == input.ItemListItemXXCustom17 || + (this.ItemListItemXXCustom17 != null && + this.ItemListItemXXCustom17.Equals(input.ItemListItemXXCustom17)) + ) && + ( + this.ItemListItemXXCustom18 == input.ItemListItemXXCustom18 || + (this.ItemListItemXXCustom18 != null && + this.ItemListItemXXCustom18.Equals(input.ItemListItemXXCustom18)) + ) && + ( + this.ItemListItemXXCustom19 == input.ItemListItemXXCustom19 || + (this.ItemListItemXXCustom19 != null && + this.ItemListItemXXCustom19.Equals(input.ItemListItemXXCustom19)) + ) && + ( + this.ItemListItemXXCustom20 == input.ItemListItemXXCustom20 || + (this.ItemListItemXXCustom20 != null && + this.ItemListItemXXCustom20.Equals(input.ItemListItemXXCustom20)) + ) && + ( + this.ItemListItemXXCustom21 == input.ItemListItemXXCustom21 || + (this.ItemListItemXXCustom21 != null && + this.ItemListItemXXCustom21.Equals(input.ItemListItemXXCustom21)) + ) && + ( + this.ItemListItemXXCustom22 == input.ItemListItemXXCustom22 || + (this.ItemListItemXXCustom22 != null && + this.ItemListItemXXCustom22.Equals(input.ItemListItemXXCustom22)) + ) && + ( + this.ItemListItemXXCustom23 == input.ItemListItemXXCustom23 || + (this.ItemListItemXXCustom23 != null && + this.ItemListItemXXCustom23.Equals(input.ItemListItemXXCustom23)) + ) && + ( + this.ItemListItemXXCustom24 == input.ItemListItemXXCustom24 || + (this.ItemListItemXXCustom24 != null && + this.ItemListItemXXCustom24.Equals(input.ItemListItemXXCustom24)) + ) && + ( + this.ItemListItemXXCustom25 == input.ItemListItemXXCustom25 || + (this.ItemListItemXXCustom25 != null && + this.ItemListItemXXCustom25.Equals(input.ItemListItemXXCustom25)) + ) && + ( + this.ItemListItemXXCustom26 == input.ItemListItemXXCustom26 || + (this.ItemListItemXXCustom26 != null && + this.ItemListItemXXCustom26.Equals(input.ItemListItemXXCustom26)) + ) && + ( + this.ItemListItemXXCustom27 == input.ItemListItemXXCustom27 || + (this.ItemListItemXXCustom27 != null && + this.ItemListItemXXCustom27.Equals(input.ItemListItemXXCustom27)) + ) && + ( + this.ItemListItemXXCustom28 == input.ItemListItemXXCustom28 || + (this.ItemListItemXXCustom28 != null && + this.ItemListItemXXCustom28.Equals(input.ItemListItemXXCustom28)) + ) && + ( + this.ItemListItemXXCustom29 == input.ItemListItemXXCustom29 || + (this.ItemListItemXXCustom29 != null && + this.ItemListItemXXCustom29.Equals(input.ItemListItemXXCustom29)) + ) && + ( + this.ItemListItemXXCustom30 == input.ItemListItemXXCustom30 || + (this.ItemListItemXXCustom30 != null && + this.ItemListItemXXCustom30.Equals(input.ItemListItemXXCustom30)) + ) && + ( + this.ItemXXCustom01 == input.ItemXXCustom01 || + (this.ItemXXCustom01 != null && + this.ItemXXCustom01.Equals(input.ItemXXCustom01)) + ) && + ( + this.ItemXXCustom02 == input.ItemXXCustom02 || + (this.ItemXXCustom02 != null && + this.ItemXXCustom02.Equals(input.ItemXXCustom02)) + ) && + ( + this.ItemXXCustom03 == input.ItemXXCustom03 || + (this.ItemXXCustom03 != null && + this.ItemXXCustom03.Equals(input.ItemXXCustom03)) + ) && + ( + this.ItemXXCustom04 == input.ItemXXCustom04 || + (this.ItemXXCustom04 != null && + this.ItemXXCustom04.Equals(input.ItemXXCustom04)) + ) && + ( + this.ItemXXCustom05 == input.ItemXXCustom05 || + (this.ItemXXCustom05 != null && + this.ItemXXCustom05.Equals(input.ItemXXCustom05)) + ) && + ( + this.ItemXXCustom06 == input.ItemXXCustom06 || + (this.ItemXXCustom06 != null && + this.ItemXXCustom06.Equals(input.ItemXXCustom06)) + ) && + ( + this.ItemXXCustom07 == input.ItemXXCustom07 || + (this.ItemXXCustom07 != null && + this.ItemXXCustom07.Equals(input.ItemXXCustom07)) + ) && + ( + this.ItemXXCustom08 == input.ItemXXCustom08 || + (this.ItemXXCustom08 != null && + this.ItemXXCustom08.Equals(input.ItemXXCustom08)) + ) && + ( + this.ItemXXCustom09 == input.ItemXXCustom09 || + (this.ItemXXCustom09 != null && + this.ItemXXCustom09.Equals(input.ItemXXCustom09)) + ) && + ( + this.ItemXXCustom10 == input.ItemXXCustom10 || + (this.ItemXXCustom10 != null && + this.ItemXXCustom10.Equals(input.ItemXXCustom10)) + ) && + ( + this.ItemXXCustom11 == input.ItemXXCustom11 || + (this.ItemXXCustom11 != null && + this.ItemXXCustom11.Equals(input.ItemXXCustom11)) + ) && + ( + this.ItemXXCustom12 == input.ItemXXCustom12 || + (this.ItemXXCustom12 != null && + this.ItemXXCustom12.Equals(input.ItemXXCustom12)) + ) && + ( + this.ItemXXCustom13 == input.ItemXXCustom13 || + (this.ItemXXCustom13 != null && + this.ItemXXCustom13.Equals(input.ItemXXCustom13)) + ) && + ( + this.ItemXXCustom14 == input.ItemXXCustom14 || + (this.ItemXXCustom14 != null && + this.ItemXXCustom14.Equals(input.ItemXXCustom14)) + ) && + ( + this.ItemXXCustom15 == input.ItemXXCustom15 || + (this.ItemXXCustom15 != null && + this.ItemXXCustom15.Equals(input.ItemXXCustom15)) + ) && + ( + this.ItemXXCustom16 == input.ItemXXCustom16 || + (this.ItemXXCustom16 != null && + this.ItemXXCustom16.Equals(input.ItemXXCustom16)) + ) && + ( + this.ItemXXCustom17 == input.ItemXXCustom17 || + (this.ItemXXCustom17 != null && + this.ItemXXCustom17.Equals(input.ItemXXCustom17)) + ) && + ( + this.ItemXXCustom18 == input.ItemXXCustom18 || + (this.ItemXXCustom18 != null && + this.ItemXXCustom18.Equals(input.ItemXXCustom18)) + ) && + ( + this.ItemXXCustom19 == input.ItemXXCustom19 || + (this.ItemXXCustom19 != null && + this.ItemXXCustom19.Equals(input.ItemXXCustom19)) + ) && + ( + this.ItemXXCustom20 == input.ItemXXCustom20 || + (this.ItemXXCustom20 != null && + this.ItemXXCustom20.Equals(input.ItemXXCustom20)) + ) && + ( + this.ItemXXCustom21 == input.ItemXXCustom21 || + (this.ItemXXCustom21 != null && + this.ItemXXCustom21.Equals(input.ItemXXCustom21)) + ) && + ( + this.ItemXXCustom22 == input.ItemXXCustom22 || + (this.ItemXXCustom22 != null && + this.ItemXXCustom22.Equals(input.ItemXXCustom22)) + ) && + ( + this.ItemXXCustom23 == input.ItemXXCustom23 || + (this.ItemXXCustom23 != null && + this.ItemXXCustom23.Equals(input.ItemXXCustom23)) + ) && + ( + this.ItemXXCustom24 == input.ItemXXCustom24 || + (this.ItemXXCustom24 != null && + this.ItemXXCustom24.Equals(input.ItemXXCustom24)) + ) && + ( + this.ItemXXCustom25 == input.ItemXXCustom25 || + (this.ItemXXCustom25 != null && + this.ItemXXCustom25.Equals(input.ItemXXCustom25)) + ) && + ( + this.ItemXXCustom26 == input.ItemXXCustom26 || + (this.ItemXXCustom26 != null && + this.ItemXXCustom26.Equals(input.ItemXXCustom26)) + ) && + ( + this.ItemXXCustom27 == input.ItemXXCustom27 || + (this.ItemXXCustom27 != null && + this.ItemXXCustom27.Equals(input.ItemXXCustom27)) + ) && + ( + this.ItemXXCustom28 == input.ItemXXCustom28 || + (this.ItemXXCustom28 != null && + this.ItemXXCustom28.Equals(input.ItemXXCustom28)) + ) && + ( + this.ItemXXCustom29 == input.ItemXXCustom29 || + (this.ItemXXCustom29 != null && + this.ItemXXCustom29.Equals(input.ItemXXCustom29)) + ) && + ( + this.ItemXXCustom30 == input.ItemXXCustom30 || + (this.ItemXXCustom30 != null && + this.ItemXXCustom30.Equals(input.ItemXXCustom30)) + ) && + ( + this.UomItemXXCustom01 == input.UomItemXXCustom01 || + (this.UomItemXXCustom01 != null && + this.UomItemXXCustom01.Equals(input.UomItemXXCustom01)) + ) && + ( + this.UomItemXXCustom02 == input.UomItemXXCustom02 || + (this.UomItemXXCustom02 != null && + this.UomItemXXCustom02.Equals(input.UomItemXXCustom02)) + ) && + ( + this.UomItemXXCustom03 == input.UomItemXXCustom03 || + (this.UomItemXXCustom03 != null && + this.UomItemXXCustom03.Equals(input.UomItemXXCustom03)) + ) && + ( + this.UomItemXXCustom04 == input.UomItemXXCustom04 || + (this.UomItemXXCustom04 != null && + this.UomItemXXCustom04.Equals(input.UomItemXXCustom04)) + ) && + ( + this.UomItemXXCustom05 == input.UomItemXXCustom05 || + (this.UomItemXXCustom05 != null && + this.UomItemXXCustom05.Equals(input.UomItemXXCustom05)) + ) && + ( + this.UomItemXXCustom06 == input.UomItemXXCustom06 || + (this.UomItemXXCustom06 != null && + this.UomItemXXCustom06.Equals(input.UomItemXXCustom06)) + ) && + ( + this.UomItemXXCustom07 == input.UomItemXXCustom07 || + (this.UomItemXXCustom07 != null && + this.UomItemXXCustom07.Equals(input.UomItemXXCustom07)) + ) && + ( + this.UomItemXXCustom08 == input.UomItemXXCustom08 || + (this.UomItemXXCustom08 != null && + this.UomItemXXCustom08.Equals(input.UomItemXXCustom08)) + ) && + ( + this.UomItemXXCustom09 == input.UomItemXXCustom09 || + (this.UomItemXXCustom09 != null && + this.UomItemXXCustom09.Equals(input.UomItemXXCustom09)) + ) && + ( + this.UomItemXXCustom10 == input.UomItemXXCustom10 || + (this.UomItemXXCustom10 != null && + this.UomItemXXCustom10.Equals(input.UomItemXXCustom10)) + ) && + ( + this.UomItemXXCustom11 == input.UomItemXXCustom11 || + (this.UomItemXXCustom11 != null && + this.UomItemXXCustom11.Equals(input.UomItemXXCustom11)) + ) && + ( + this.UomItemXXCustom12 == input.UomItemXXCustom12 || + (this.UomItemXXCustom12 != null && + this.UomItemXXCustom12.Equals(input.UomItemXXCustom12)) + ) && + ( + this.UomItemXXCustom13 == input.UomItemXXCustom13 || + (this.UomItemXXCustom13 != null && + this.UomItemXXCustom13.Equals(input.UomItemXXCustom13)) + ) && + ( + this.UomItemXXCustom14 == input.UomItemXXCustom14 || + (this.UomItemXXCustom14 != null && + this.UomItemXXCustom14.Equals(input.UomItemXXCustom14)) + ) && + ( + this.UomItemXXCustom15 == input.UomItemXXCustom15 || + (this.UomItemXXCustom15 != null && + this.UomItemXXCustom15.Equals(input.UomItemXXCustom15)) + ) && + ( + this.UomItemXXCustom16 == input.UomItemXXCustom16 || + (this.UomItemXXCustom16 != null && + this.UomItemXXCustom16.Equals(input.UomItemXXCustom16)) + ) && + ( + this.UomItemXXCustom17 == input.UomItemXXCustom17 || + (this.UomItemXXCustom17 != null && + this.UomItemXXCustom17.Equals(input.UomItemXXCustom17)) + ) && + ( + this.UomItemXXCustom18 == input.UomItemXXCustom18 || + (this.UomItemXXCustom18 != null && + this.UomItemXXCustom18.Equals(input.UomItemXXCustom18)) + ) && + ( + this.UomItemXXCustom19 == input.UomItemXXCustom19 || + (this.UomItemXXCustom19 != null && + this.UomItemXXCustom19.Equals(input.UomItemXXCustom19)) + ) && + ( + this.UomItemXXCustom20 == input.UomItemXXCustom20 || + (this.UomItemXXCustom20 != null && + this.UomItemXXCustom20.Equals(input.UomItemXXCustom20)) + ) && + ( + this.UomItemXXCustom21 == input.UomItemXXCustom21 || + (this.UomItemXXCustom21 != null && + this.UomItemXXCustom21.Equals(input.UomItemXXCustom21)) + ) && + ( + this.UomItemXXCustom22 == input.UomItemXXCustom22 || + (this.UomItemXXCustom22 != null && + this.UomItemXXCustom22.Equals(input.UomItemXXCustom22)) + ) && + ( + this.UomItemXXCustom23 == input.UomItemXXCustom23 || + (this.UomItemXXCustom23 != null && + this.UomItemXXCustom23.Equals(input.UomItemXXCustom23)) + ) && + ( + this.UomItemXXCustom24 == input.UomItemXXCustom24 || + (this.UomItemXXCustom24 != null && + this.UomItemXXCustom24.Equals(input.UomItemXXCustom24)) + ) && + ( + this.UomItemXXCustom25 == input.UomItemXXCustom25 || + (this.UomItemXXCustom25 != null && + this.UomItemXXCustom25.Equals(input.UomItemXXCustom25)) + ) && + ( + this.UomItemXXCustom26 == input.UomItemXXCustom26 || + (this.UomItemXXCustom26 != null && + this.UomItemXXCustom26.Equals(input.UomItemXXCustom26)) + ) && + ( + this.UomItemXXCustom27 == input.UomItemXXCustom27 || + (this.UomItemXXCustom27 != null && + this.UomItemXXCustom27.Equals(input.UomItemXXCustom27)) + ) && + ( + this.UomItemXXCustom28 == input.UomItemXXCustom28 || + (this.UomItemXXCustom28 != null && + this.UomItemXXCustom28.Equals(input.UomItemXXCustom28)) + ) && + ( + this.UomItemXXCustom29 == input.UomItemXXCustom29 || + (this.UomItemXXCustom29 != null && + this.UomItemXXCustom29.Equals(input.UomItemXXCustom29)) + ) && + ( + this.UomItemXXCustom30 == input.UomItemXXCustom30 || + (this.UomItemXXCustom30 != null && + this.UomItemXXCustom30.Equals(input.UomItemXXCustom30)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.MainPosItemId != null) + hashCode = hashCode * 59 + this.MainPosItemId.GetHashCode(); + if (this.UomItemTextList != null) + hashCode = hashCode * 59 + this.UomItemTextList.GetHashCode(); + if (this.UomItemName != null) + hashCode = hashCode * 59 + this.UomItemName.GetHashCode(); + if (this.ItemListItemXXCustom01 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom01.GetHashCode(); + if (this.ItemListItemXXCustom02 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom02.GetHashCode(); + if (this.ItemListItemXXCustom03 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom03.GetHashCode(); + if (this.ItemListItemXXCustom04 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom04.GetHashCode(); + if (this.ItemListItemXXCustom05 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom05.GetHashCode(); + if (this.ItemListItemXXCustom06 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom06.GetHashCode(); + if (this.ItemListItemXXCustom07 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom07.GetHashCode(); + if (this.ItemListItemXXCustom08 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom08.GetHashCode(); + if (this.ItemListItemXXCustom09 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom09.GetHashCode(); + if (this.ItemListItemXXCustom10 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom10.GetHashCode(); + if (this.ItemListItemXXCustom11 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom11.GetHashCode(); + if (this.ItemListItemXXCustom12 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom12.GetHashCode(); + if (this.ItemListItemXXCustom13 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom13.GetHashCode(); + if (this.ItemListItemXXCustom14 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom14.GetHashCode(); + if (this.ItemListItemXXCustom15 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom15.GetHashCode(); + if (this.ItemListItemXXCustom16 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom16.GetHashCode(); + if (this.ItemListItemXXCustom17 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom17.GetHashCode(); + if (this.ItemListItemXXCustom18 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom18.GetHashCode(); + if (this.ItemListItemXXCustom19 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom19.GetHashCode(); + if (this.ItemListItemXXCustom20 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom20.GetHashCode(); + if (this.ItemListItemXXCustom21 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom21.GetHashCode(); + if (this.ItemListItemXXCustom22 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom22.GetHashCode(); + if (this.ItemListItemXXCustom23 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom23.GetHashCode(); + if (this.ItemListItemXXCustom24 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom24.GetHashCode(); + if (this.ItemListItemXXCustom25 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom25.GetHashCode(); + if (this.ItemListItemXXCustom26 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom26.GetHashCode(); + if (this.ItemListItemXXCustom27 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom27.GetHashCode(); + if (this.ItemListItemXXCustom28 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom28.GetHashCode(); + if (this.ItemListItemXXCustom29 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom29.GetHashCode(); + if (this.ItemListItemXXCustom30 != null) + hashCode = hashCode * 59 + this.ItemListItemXXCustom30.GetHashCode(); + if (this.ItemXXCustom01 != null) + hashCode = hashCode * 59 + this.ItemXXCustom01.GetHashCode(); + if (this.ItemXXCustom02 != null) + hashCode = hashCode * 59 + this.ItemXXCustom02.GetHashCode(); + if (this.ItemXXCustom03 != null) + hashCode = hashCode * 59 + this.ItemXXCustom03.GetHashCode(); + if (this.ItemXXCustom04 != null) + hashCode = hashCode * 59 + this.ItemXXCustom04.GetHashCode(); + if (this.ItemXXCustom05 != null) + hashCode = hashCode * 59 + this.ItemXXCustom05.GetHashCode(); + if (this.ItemXXCustom06 != null) + hashCode = hashCode * 59 + this.ItemXXCustom06.GetHashCode(); + if (this.ItemXXCustom07 != null) + hashCode = hashCode * 59 + this.ItemXXCustom07.GetHashCode(); + if (this.ItemXXCustom08 != null) + hashCode = hashCode * 59 + this.ItemXXCustom08.GetHashCode(); + if (this.ItemXXCustom09 != null) + hashCode = hashCode * 59 + this.ItemXXCustom09.GetHashCode(); + if (this.ItemXXCustom10 != null) + hashCode = hashCode * 59 + this.ItemXXCustom10.GetHashCode(); + if (this.ItemXXCustom11 != null) + hashCode = hashCode * 59 + this.ItemXXCustom11.GetHashCode(); + if (this.ItemXXCustom12 != null) + hashCode = hashCode * 59 + this.ItemXXCustom12.GetHashCode(); + if (this.ItemXXCustom13 != null) + hashCode = hashCode * 59 + this.ItemXXCustom13.GetHashCode(); + if (this.ItemXXCustom14 != null) + hashCode = hashCode * 59 + this.ItemXXCustom14.GetHashCode(); + if (this.ItemXXCustom15 != null) + hashCode = hashCode * 59 + this.ItemXXCustom15.GetHashCode(); + if (this.ItemXXCustom16 != null) + hashCode = hashCode * 59 + this.ItemXXCustom16.GetHashCode(); + if (this.ItemXXCustom17 != null) + hashCode = hashCode * 59 + this.ItemXXCustom17.GetHashCode(); + if (this.ItemXXCustom18 != null) + hashCode = hashCode * 59 + this.ItemXXCustom18.GetHashCode(); + if (this.ItemXXCustom19 != null) + hashCode = hashCode * 59 + this.ItemXXCustom19.GetHashCode(); + if (this.ItemXXCustom20 != null) + hashCode = hashCode * 59 + this.ItemXXCustom20.GetHashCode(); + if (this.ItemXXCustom21 != null) + hashCode = hashCode * 59 + this.ItemXXCustom21.GetHashCode(); + if (this.ItemXXCustom22 != null) + hashCode = hashCode * 59 + this.ItemXXCustom22.GetHashCode(); + if (this.ItemXXCustom23 != null) + hashCode = hashCode * 59 + this.ItemXXCustom23.GetHashCode(); + if (this.ItemXXCustom24 != null) + hashCode = hashCode * 59 + this.ItemXXCustom24.GetHashCode(); + if (this.ItemXXCustom25 != null) + hashCode = hashCode * 59 + this.ItemXXCustom25.GetHashCode(); + if (this.ItemXXCustom26 != null) + hashCode = hashCode * 59 + this.ItemXXCustom26.GetHashCode(); + if (this.ItemXXCustom27 != null) + hashCode = hashCode * 59 + this.ItemXXCustom27.GetHashCode(); + if (this.ItemXXCustom28 != null) + hashCode = hashCode * 59 + this.ItemXXCustom28.GetHashCode(); + if (this.ItemXXCustom29 != null) + hashCode = hashCode * 59 + this.ItemXXCustom29.GetHashCode(); + if (this.ItemXXCustom30 != null) + hashCode = hashCode * 59 + this.ItemXXCustom30.GetHashCode(); + if (this.UomItemXXCustom01 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom01.GetHashCode(); + if (this.UomItemXXCustom02 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom02.GetHashCode(); + if (this.UomItemXXCustom03 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom03.GetHashCode(); + if (this.UomItemXXCustom04 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom04.GetHashCode(); + if (this.UomItemXXCustom05 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom05.GetHashCode(); + if (this.UomItemXXCustom06 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom06.GetHashCode(); + if (this.UomItemXXCustom07 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom07.GetHashCode(); + if (this.UomItemXXCustom08 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom08.GetHashCode(); + if (this.UomItemXXCustom09 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom09.GetHashCode(); + if (this.UomItemXXCustom10 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom10.GetHashCode(); + if (this.UomItemXXCustom11 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom11.GetHashCode(); + if (this.UomItemXXCustom12 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom12.GetHashCode(); + if (this.UomItemXXCustom13 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom13.GetHashCode(); + if (this.UomItemXXCustom14 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom14.GetHashCode(); + if (this.UomItemXXCustom15 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom15.GetHashCode(); + if (this.UomItemXXCustom16 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom16.GetHashCode(); + if (this.UomItemXXCustom17 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom17.GetHashCode(); + if (this.UomItemXXCustom18 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom18.GetHashCode(); + if (this.UomItemXXCustom19 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom19.GetHashCode(); + if (this.UomItemXXCustom20 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom20.GetHashCode(); + if (this.UomItemXXCustom21 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom21.GetHashCode(); + if (this.UomItemXXCustom22 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom22.GetHashCode(); + if (this.UomItemXXCustom23 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom23.GetHashCode(); + if (this.UomItemXXCustom24 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom24.GetHashCode(); + if (this.UomItemXXCustom25 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom25.GetHashCode(); + if (this.UomItemXXCustom26 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom26.GetHashCode(); + if (this.UomItemXXCustom27 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom27.GetHashCode(); + if (this.UomItemXXCustom28 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom28.GetHashCode(); + if (this.UomItemXXCustom29 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom29.GetHashCode(); + if (this.UomItemXXCustom30 != null) + hashCode = hashCode * 59 + this.UomItemXXCustom30.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..60c279b85f7fdd90fdeb623ca5050992f390327e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO.cs @@ -0,0 +1,434 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExchangeRateDO <p>A exchange rate expresses the quantitative conversion factor between two kinds of currency, one which must be the store's home currency.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO : IEquatable, IValidatableObject + { + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [JsonConverter(typeof(StringEnumConverter))] + public enum OriginEnum + { + + /// + /// Enum PARENTCOPY for value: PARENT_COPY + /// + [EnumMember(Value = "PARENT_COPY")] + PARENTCOPY = 1, + + /// + /// Enum IMPORT for value: IMPORT + /// + [EnumMember(Value = "IMPORT")] + IMPORT = 2, + + /// + /// Enum MANUAL for value: MANUAL + /// + [EnumMember(Value = "MANUAL")] + MANUAL = 3 + } + + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [DataMember(Name="origin", EmitDefaultValue=false)] + public OriginEnum? Origin { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The unique system assigned identifier of the source currency.<br /></p> (required). + /// <p>The unique system assigned identifier of the destination currency.<br /></p> (required). + /// <p>The date on which a specific exchange rate becomes effective.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// <p>Date on which the exchange rate expires and is no longer valid.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// <p>The buying rate of the tender type, based on the store's local currency.<br /></p> (required). + /// <p>Determines whether inside the calculation FromCurrencyCode -&gt; ToCurrencyCode the amount is to be multiplied with (true) or divided by (false) the ToBuyAmount / ToSellAmount<br /></p> (required). + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO(ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey key = default(ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey), string fromCurrencyID = default(string), string toCurrencyID = default(string), string exchangeRateEffectiveDate = default(string), string exchangeRateExpirationDate = default(string), double? toBuyAmount = default(double?), bool? multiplyFlag = default(bool?), OriginEnum? origin = default(OriginEnum?), string packageID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "fromCurrencyID" is required (not null) + if (fromCurrencyID == null) + { + throw new InvalidDataException("fromCurrencyID is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO and cannot be null"); + } + else + { + this.FromCurrencyID = fromCurrencyID; + } + // to ensure "toCurrencyID" is required (not null) + if (toCurrencyID == null) + { + throw new InvalidDataException("toCurrencyID is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO and cannot be null"); + } + else + { + this.ToCurrencyID = toCurrencyID; + } + // to ensure "exchangeRateEffectiveDate" is required (not null) + if (exchangeRateEffectiveDate == null) + { + throw new InvalidDataException("exchangeRateEffectiveDate is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO and cannot be null"); + } + else + { + this.ExchangeRateEffectiveDate = exchangeRateEffectiveDate; + } + // to ensure "exchangeRateExpirationDate" is required (not null) + if (exchangeRateExpirationDate == null) + { + throw new InvalidDataException("exchangeRateExpirationDate is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO and cannot be null"); + } + else + { + this.ExchangeRateExpirationDate = exchangeRateExpirationDate; + } + // to ensure "toBuyAmount" is required (not null) + if (toBuyAmount == null) + { + throw new InvalidDataException("toBuyAmount is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO and cannot be null"); + } + else + { + this.ToBuyAmount = toBuyAmount; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + this.Origin = origin; + this.PackageID = packageID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey Key { get; set; } + + /// + /// <p>The unique system assigned identifier of the source currency.<br /></p> + /// + /// <p>The unique system assigned identifier of the source currency.<br /></p> + [DataMember(Name="fromCurrencyID", EmitDefaultValue=false)] + public string FromCurrencyID { get; set; } + + /// + /// <p>The unique system assigned identifier of the destination currency.<br /></p> + /// + /// <p>The unique system assigned identifier of the destination currency.<br /></p> + [DataMember(Name="toCurrencyID", EmitDefaultValue=false)] + public string ToCurrencyID { get; set; } + + /// + /// <p>The date on which a specific exchange rate becomes effective.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date on which a specific exchange rate becomes effective.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="exchangeRateEffectiveDate", EmitDefaultValue=false)] + public string ExchangeRateEffectiveDate { get; set; } + + /// + /// <p>Date on which the exchange rate expires and is no longer valid.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date on which the exchange rate expires and is no longer valid.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="exchangeRateExpirationDate", EmitDefaultValue=false)] + public string ExchangeRateExpirationDate { get; set; } + + /// + /// <p>The buying rate of the tender type, based on the store's local currency.<br /></p> + /// + /// <p>The buying rate of the tender type, based on the store's local currency.<br /></p> + [DataMember(Name="toBuyAmount", EmitDefaultValue=false)] + public double? ToBuyAmount { get; set; } + + /// + /// <p>Determines whether inside the calculation FromCurrencyCode -&gt; ToCurrencyCode the amount is to be multiplied with (true) or divided by (false) the ToBuyAmount / ToSellAmount<br /></p> + /// + /// <p>Determines whether inside the calculation FromCurrencyCode -&gt; ToCurrencyCode the amount is to be multiplied with (true) or divided by (false) the ToBuyAmount / ToSellAmount<br /></p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" FromCurrencyID: ").Append(FromCurrencyID).Append("\n"); + sb.Append(" ToCurrencyID: ").Append(ToCurrencyID).Append("\n"); + sb.Append(" ExchangeRateEffectiveDate: ").Append(ExchangeRateEffectiveDate).Append("\n"); + sb.Append(" ExchangeRateExpirationDate: ").Append(ExchangeRateExpirationDate).Append("\n"); + sb.Append(" ToBuyAmount: ").Append(ToBuyAmount).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.FromCurrencyID == input.FromCurrencyID || + (this.FromCurrencyID != null && + this.FromCurrencyID.Equals(input.FromCurrencyID)) + ) && + ( + this.ToCurrencyID == input.ToCurrencyID || + (this.ToCurrencyID != null && + this.ToCurrencyID.Equals(input.ToCurrencyID)) + ) && + ( + this.ExchangeRateEffectiveDate == input.ExchangeRateEffectiveDate || + (this.ExchangeRateEffectiveDate != null && + this.ExchangeRateEffectiveDate.Equals(input.ExchangeRateEffectiveDate)) + ) && + ( + this.ExchangeRateExpirationDate == input.ExchangeRateExpirationDate || + (this.ExchangeRateExpirationDate != null && + this.ExchangeRateExpirationDate.Equals(input.ExchangeRateExpirationDate)) + ) && + ( + this.ToBuyAmount == input.ToBuyAmount || + (this.ToBuyAmount != null && + this.ToBuyAmount.Equals(input.ToBuyAmount)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.FromCurrencyID != null) + hashCode = hashCode * 59 + this.FromCurrencyID.GetHashCode(); + if (this.ToCurrencyID != null) + hashCode = hashCode * 59 + this.ToCurrencyID.GetHashCode(); + if (this.ExchangeRateEffectiveDate != null) + hashCode = hashCode * 59 + this.ExchangeRateEffectiveDate.GetHashCode(); + if (this.ExchangeRateExpirationDate != null) + hashCode = hashCode * 59 + this.ExchangeRateExpirationDate.GetHashCode(); + if (this.ToBuyAmount != null) + hashCode = hashCode * 59 + this.ToBuyAmount.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e3f31d5d210315cb31bbe19fa0864bebfea46c37 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExchangeRateDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier for a group of business units.<br /></p> (required). + /// <p>The unique identifier of the source currency.<br /></p> (required). + /// <p>The unique identifier of the destination currency.<br /></p> (required). + /// <p>A sequence number denoting the order in which Exchange rate records were created for this pairing of currencies.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey(string businessUnitGroupID = default(string), string fromCurrencyCode = default(string), string toCurrencyCode = default(string), int? sequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "fromCurrencyCode" is required (not null) + if (fromCurrencyCode == null) + { + throw new InvalidDataException("fromCurrencyCode is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey and cannot be null"); + } + else + { + this.FromCurrencyCode = fromCurrencyCode; + } + // to ensure "toCurrencyCode" is required (not null) + if (toCurrencyCode == null) + { + throw new InvalidDataException("toCurrencyCode is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey and cannot be null"); + } + else + { + this.ToCurrencyCode = toCurrencyCode; + } + // to ensure "sequenceNumber" is required (not null) + if (sequenceNumber == null) + { + throw new InvalidDataException("sequenceNumber is a required property for ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey and cannot be null"); + } + else + { + this.SequenceNumber = sequenceNumber; + } + } + + /// + /// <p>The identifier for a group of business units.<br /></p> + /// + /// <p>The identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The unique identifier of the source currency.<br /></p> + /// + /// <p>The unique identifier of the source currency.<br /></p> + [DataMember(Name="fromCurrencyCode", EmitDefaultValue=false)] + public string FromCurrencyCode { get; set; } + + /// + /// <p>The unique identifier of the destination currency.<br /></p> + /// + /// <p>The unique identifier of the destination currency.<br /></p> + [DataMember(Name="toCurrencyCode", EmitDefaultValue=false)] + public string ToCurrencyCode { get; set; } + + /// + /// <p>A sequence number denoting the order in which Exchange rate records were created for this pairing of currencies.<br /></p> + /// + /// <p>A sequence number denoting the order in which Exchange rate records were created for this pairing of currencies.<br /></p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" FromCurrencyCode: ").Append(FromCurrencyCode).Append("\n"); + sb.Append(" ToCurrencyCode: ").Append(ToCurrencyCode).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.FromCurrencyCode == input.FromCurrencyCode || + (this.FromCurrencyCode != null && + this.FromCurrencyCode.Equals(input.FromCurrencyCode)) + ) && + ( + this.ToCurrencyCode == input.ToCurrencyCode || + (this.ToCurrencyCode != null && + this.ToCurrencyCode.Equals(input.ToCurrencyCode)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.FromCurrencyCode != null) + hashCode = hashCode * 59 + this.FromCurrencyCode.GetHashCode(); + if (this.ToCurrencyCode != null) + hashCode = hashCode * 59 + this.ToCurrencyCode.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..4a552fa11df725b949293f1e9fe1b482e065ca5a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO.cs @@ -0,0 +1,291 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificateClassDO <p>Gift certificate class<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Describes a gift certificate type<br /></p>. + /// <p>List of translations.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO(ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey key = default(ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey), string typeDescription = default(string), List translationList = default(List), string packageID = default(string), string tid = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO and cannot be null"); + } + else + { + this.Key = key; + } + this.TypeDescription = typeDescription; + this.TranslationList = translationList; + this.PackageID = packageID; + this.Tid = tid; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey Key { get; set; } + + /// + /// <p>Describes a gift certificate type<br /></p> + /// + /// <p>Describes a gift certificate type<br /></p> + [DataMember(Name="typeDescription", EmitDefaultValue=false)] + public string TypeDescription { get; set; } + + /// + /// <p>List of translations.<br /></p> + /// + /// <p>List of translations.<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TypeDescription: ").Append(TypeDescription).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TypeDescription == input.TypeDescription || + (this.TypeDescription != null && + this.TypeDescription.Equals(input.TypeDescription)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TypeDescription != null) + hashCode = hashCode * 59 + this.TypeDescription.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0fea20f2e8453f6139736c4c1d45d2d7c2954c6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificateClassDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Identifies a gift certificate type.<br /></p> (required). + /// <p>ID of the business unit group<br /></p> (required). + public ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey(string giftCertificateTypeCode = default(string), string businessUnitGroupID = default(string)) + { + // to ensure "giftCertificateTypeCode" is required (not null) + if (giftCertificateTypeCode == null) + { + throw new InvalidDataException("giftCertificateTypeCode is a required property for ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey and cannot be null"); + } + else + { + this.GiftCertificateTypeCode = giftCertificateTypeCode; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + } + + /// + /// <p>Identifies a gift certificate type.<br /></p> + /// + /// <p>Identifies a gift certificate type.<br /></p> + [DataMember(Name="giftCertificateTypeCode", EmitDefaultValue=false)] + public string GiftCertificateTypeCode { get; set; } + + /// + /// <p>ID of the business unit group<br /></p> + /// + /// <p>ID of the business unit group<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey {\n"); + sb.Append(" GiftCertificateTypeCode: ").Append(GiftCertificateTypeCode).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey input) + { + if (input == null) + return false; + + return + ( + this.GiftCertificateTypeCode == input.GiftCertificateTypeCode || + (this.GiftCertificateTypeCode != null && + this.GiftCertificateTypeCode.Equals(input.GiftCertificateTypeCode)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.GiftCertificateTypeCode != null) + hashCode = hashCode * 59 + this.GiftCertificateTypeCode.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic.cs new file mode 100644 index 0000000000000000000000000000000000000000..21045c2494ba8efb86761f5256957b25eb524bd1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemCharacteristic <p>Reference to a characteristic of this item.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The name of the characteristic value (e.g. 'black', '38').<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey), string characteristicValueName = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic and cannot be null"); + } + else + { + this.Key = key; + } + this.CharacteristicValueName = characteristicValueName; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey Key { get; set; } + + /// + /// <p>The name of the characteristic value (e.g. 'black', '38').<br /></p> + /// + /// <p>The name of the characteristic value (e.g. 'black', '38').<br /></p> + [DataMember(Name="characteristicValueName", EmitDefaultValue=false)] + public string CharacteristicValueName { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CharacteristicValueName: ").Append(CharacteristicValueName).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CharacteristicValueName == input.CharacteristicValueName || + (this.CharacteristicValueName != null && + this.CharacteristicValueName.Equals(input.CharacteristicValueName)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CharacteristicValueName != null) + hashCode = hashCode * 59 + this.CharacteristicValueName.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..67f9755c17ab0a07f8d505bd865bb57966062842 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemCharacteristic.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the characteristic (e.g. 'color', 'size').<br /></p> (required). + /// <p>The identifier of the characteristic value.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey(string characteristicId = default(string), string characteristicValueId = default(string)) + { + // to ensure "characteristicId" is required (not null) + if (characteristicId == null) + { + throw new InvalidDataException("characteristicId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey and cannot be null"); + } + else + { + this.CharacteristicId = characteristicId; + } + // to ensure "characteristicValueId" is required (not null) + if (characteristicValueId == null) + { + throw new InvalidDataException("characteristicValueId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey and cannot be null"); + } + else + { + this.CharacteristicValueId = characteristicValueId; + } + } + + /// + /// <p>The identifier of the characteristic (e.g. 'color', 'size').<br /></p> + /// + /// <p>The identifier of the characteristic (e.g. 'color', 'size').<br /></p> + [DataMember(Name="characteristicId", EmitDefaultValue=false)] + public string CharacteristicId { get; set; } + + /// + /// <p>The identifier of the characteristic value.<br /></p> + /// + /// <p>The identifier of the characteristic value.<br /></p> + [DataMember(Name="characteristicValueId", EmitDefaultValue=false)] + public string CharacteristicValueId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey {\n"); + sb.Append(" CharacteristicId: ").Append(CharacteristicId).Append("\n"); + sb.Append(" CharacteristicValueId: ").Append(CharacteristicValueId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey input) + { + if (input == null) + return false; + + return + ( + this.CharacteristicId == input.CharacteristicId || + (this.CharacteristicId != null && + this.CharacteristicId.Equals(input.CharacteristicId)) + ) && + ( + this.CharacteristicValueId == input.CharacteristicValueId || + (this.CharacteristicValueId != null && + this.CharacteristicValueId.Equals(input.CharacteristicValueId)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CharacteristicId != null) + hashCode = hashCode * 59 + this.CharacteristicId.GetHashCode(); + if (this.CharacteristicValueId != null) + hashCode = hashCode * 59 + this.CharacteristicValueId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection.cs new file mode 100644 index 0000000000000000000000000000000000000000..8f4c5a28847ac811c938fabab719c77627eb9dbc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemCollection <p>Structured items (e.g. display items) consist of other items (collection members). The item collection contains references to these members.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The number of individual member items that are assembled into the collection<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey), double? quantity = default(double?)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection and cannot be null"); + } + else + { + this.Key = key; + } + this.Quantity = quantity; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey Key { get; set; } + + /// + /// <p>The number of individual member items that are assembled into the collection<br /></p> + /// + /// <p>The number of individual member items that are assembled into the collection<br /></p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public double? Quantity { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a819970f519bc35602abda4a61bcbfa7d7e94963 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemCollection.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Item ID of the collection member<br /></p> (required). + /// <p>Unit of measure of the collection member<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey(string memberItemId = default(string), string memberUOMCode = default(string)) + { + // to ensure "memberItemId" is required (not null) + if (memberItemId == null) + { + throw new InvalidDataException("memberItemId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey and cannot be null"); + } + else + { + this.MemberItemId = memberItemId; + } + // to ensure "memberUOMCode" is required (not null) + if (memberUOMCode == null) + { + throw new InvalidDataException("memberUOMCode is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey and cannot be null"); + } + else + { + this.MemberUOMCode = memberUOMCode; + } + } + + /// + /// <p>Item ID of the collection member<br /></p> + /// + /// <p>Item ID of the collection member<br /></p> + [DataMember(Name="memberItemId", EmitDefaultValue=false)] + public string MemberItemId { get; set; } + + /// + /// <p>Unit of measure of the collection member<br /></p> + /// + /// <p>Unit of measure of the collection member<br /></p> + [DataMember(Name="memberUOMCode", EmitDefaultValue=false)] + public string MemberUOMCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey {\n"); + sb.Append(" MemberItemId: ").Append(MemberItemId).Append("\n"); + sb.Append(" MemberUOMCode: ").Append(MemberUOMCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey input) + { + if (input == null) + return false; + + return + ( + this.MemberItemId == input.MemberItemId || + (this.MemberItemId != null && + this.MemberItemId.Equals(input.MemberItemId)) + ) && + ( + this.MemberUOMCode == input.MemberUOMCode || + (this.MemberUOMCode != null && + this.MemberUOMCode.Equals(input.MemberUOMCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MemberItemId != null) + hashCode = hashCode * 59 + this.MemberItemId.GetHashCode(); + if (this.MemberUOMCode != null) + hashCode = hashCode * 59 + this.MemberUOMCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..f8d46c4a3818ea06f15300b633036782ea850554 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO.cs @@ -0,0 +1,3093 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemDO <p>This object contains item data for one specific unit of measure. The object is a projection from the item domain object.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO : IEquatable, IValidatableObject + { + /// + /// <p>A code to denote the tax exemption status from sales and use tax.<br /> (00/null - normal, item is taxable, 01 - no tax).<br /></p> + /// + /// <p>A code to denote the tax exemption status from sales and use tax.<br /> (00/null - normal, item is taxable, 01 - no tax).<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum TaxExemptCodeEnum + { + + /// + /// Enum NORMAL for value: NORMAL + /// + [EnumMember(Value = "NORMAL")] + NORMAL = 1, + + /// + /// Enum NOTAX for value: NO_TAX + /// + [EnumMember(Value = "NO_TAX")] + NOTAX = 2 + } + + /// + /// <p>A code to denote the tax exemption status from sales and use tax.<br /> (00/null - normal, item is taxable, 01 - no tax).<br /></p> + /// + /// <p>A code to denote the tax exemption status from sales and use tax.<br /> (00/null - normal, item is taxable, 01 - no tax).<br /></p> + [DataMember(Name="taxExemptCode", EmitDefaultValue=false)] + public TaxExemptCodeEnum? TaxExemptCode { get; set; } + /// + /// <p>Deposit type of the item.<br /></p> + /// + /// <p>Deposit type of the item.<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum DepositTypeCodeEnum + { + + /// + /// Enum NODEPOSIT for value: NO_DEPOSIT + /// + [EnumMember(Value = "NO_DEPOSIT")] + NODEPOSIT = 1, + + /// + /// Enum DEPOSITONNONREFILLABLECONTAINERS for value: DEPOSIT_ON_NON_REFILLABLE_CONTAINERS + /// + [EnumMember(Value = "DEPOSIT_ON_NON_REFILLABLE_CONTAINERS")] + DEPOSITONNONREFILLABLECONTAINERS = 2, + + /// + /// Enum DEPOSITONREFILLABLECONTAINERS for value: DEPOSIT_ON_REFILLABLE_CONTAINERS + /// + [EnumMember(Value = "DEPOSIT_ON_REFILLABLE_CONTAINERS")] + DEPOSITONREFILLABLECONTAINERS = 3, + + /// + /// Enum PETBOTTLE for value: PET_BOTTLE + /// + [EnumMember(Value = "PET_BOTTLE")] + PETBOTTLE = 4, + + /// + /// Enum BATTERY for value: BATTERY + /// + [EnumMember(Value = "BATTERY")] + BATTERY = 5, + + /// + /// Enum GASBOTTLE for value: GAS_BOTTLE + /// + [EnumMember(Value = "GAS_BOTTLE")] + GASBOTTLE = 6 + } + + /// + /// <p>Deposit type of the item.<br /></p> + /// + /// <p>Deposit type of the item.<br /></p> + [DataMember(Name="depositTypeCode", EmitDefaultValue=false)] + public DepositTypeCodeEnum? DepositTypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Localized Unit of measure name.<br /></p>. + /// <p>The name by which the item is known.<br /></p>. + /// <p>The textural description of the item.<br /></p>. + /// <p>Class code (eg. empties, fresh food). Usage example: Via customizing is possible to disable the registration of items with this class code.<br /></p>. + /// <p>A tax group which links a tax authority to the merchandise to which the tax applies.<br /> If no taxGroupID is delivered, the taxGroup with 0% is to be searched out and used. If no taxGroup with 0% exists, the import of the item fails.<br /></p>. + /// <p>An alternative tax group which links a tax authority to the merchandise to which the tax applies.<br /></p>. + /// <p>The Taxable Group Receipt Print Code.<br /></p>. + /// <p>Specifies the category of the item (e.g. single item, item variant, display).<br /></p>. + /// <p>A code to denote the tax exemption status from sales and use tax.<br /> (00/null - normal, item is taxable, 01 - no tax).<br /></p>. + /// <p>The duration of the item's warranty in months<br /></p>. + /// <p>Defines the number of weight units of measure for the tare.<br /></p>. + /// <p>Tare UOM code.<br /></p>. + /// <p>Reference to the POSDepartment the item belongs to<br /></p>. + /// <p>The main POS item identifier<br /></p>. + /// <p>References the default merchandise hierarchy group the item belongs to<br /></p>. + /// <p>Localized default merchandise hierarchy group name.<br /></p>. + /// <p>Localized default merchandise hierarchy group description.<br /></p>. + /// <p>Deposit type of the item.<br /></p>. + /// <p>Selling rules for this item<br /></p>. + /// <p>This code defines the current state of an item within the retail store.<br /> An item's state limits what actions may be taken on an item in terms of ordering, receiving, selling, returns, transfers, counting and so on.<br /> Sample statuses include active, inactive, discontinued, pending, etc.<br /></p>. + /// <p>List of item collections<br /></p>. + /// <p>List of the item associations<br /></p>. + /// <p>List of item characteristics with values<br /></p>. + /// itemFeatureList. + /// <p>List of POS item ID's (EANs)<br /></p>. + /// <p>List of selling prices<br /></p>. + /// <p>List of deposits<br /></p>. + /// <p>List of text to UOMItem<br /></p>. + /// <p>List of merchandise hierarchy groups<br /></p>. + /// <p>Sales restriction for this item<br /></p>. + /// <p>Determines whether the item is inventory-tracked<br /></p>. + /// <p>Code of the base unit of measure. The base unit of measure is automatically selected if the item is registered by ItemID.<br /></p>. + /// <p>Determines whether this item cannot be considered within physical inventories<br /></p>. + /// <p>The number of business days the SHELF ITEM may be displayed for sale to customers and after which must be removed.<br /> This attribute is used for perishable produce items, drugs, and other time sensitive items (like newspapers).<br /></p>. + /// <p>Type of the label<br /></p>. + /// <p>A code which is used by the loyalty engine in order to determine whether the item can get rebate/points. Possible values: 0..9<br /></p>. + /// <p>Time range (count of days) between production date and best-before date<br /></p>. + /// <p>Percentage for calculating the shelf life day count<br /></p>. + /// <p>The unit of measure of the 'day count' elements (day or week)<br /></p>. + /// <p>Default receiving place<br /></p>. + /// <p>Defines whether the item is a concession item. Concession items are not maintained by the retailer, but by a vendor itself. E.g. snacks and food in vending machines.<br /></p>. + /// <p>Defines whether the item is a cost item<br /></p>. + /// <p>Determines the merchandise planning - the way, how the item is ordered (automatically, manually, not orderable, ..).<br /></p>. + /// <p>Reference to the main supplier of this item<br /></p>. + /// <p>Determines whether this item is sold via VENSAFE.<br /></p>. + /// <p>Consumer package gross content of the base UOM of the item<br /></p><br /><pre> * e.g. can of peaches<br /> * gross content = 500<br /> * net content = 385<br /> * contents UOM = ml<br /></pre>. + /// <p>The consumer package content, as claimed on the label. e.g. Evian Water 750ml - net content = '750 MLT' 20 count pack of diapers, net content = '20 ea.'<br /></p>. + /// <p>Net/gross contents uom<br /></p>. + /// <p>Quantity measured in ConsumerPackageBasePriceUOMCode units for which the base price is to be determined<br /></p><br /><p>Example:<br /></p><br /><pre> * base price UOM = g<br /> * base price content = 100<br /> * base price = 2,99<br /> * ==&gt; base price = 2,99 per 100 g<br /></pre>. + /// <p>Base price contents unit of measure<br /></p>. + /// <p>Identifier of the distributing warehouse (used in the purchase order process)<br /></p>. + /// <p>Identifier of the distribution method (used in the purchase order process)<br /></p>. + /// <p>Identifier of the assortment (used e.g. in the purchase order process)<br /></p>. + /// <p>Identifier of the 3rd party assortment (used in the purchase order process)<br /></p>. + /// <p>Identifier of the transport association (used in the purchase order process)<br /></p>. + /// <p>If the item is a concession item, this is the reference to its supplier<br /></p>. + /// <p>The default selling unit of measure of the item<br /></p>. + /// <p>Numerator for the conversion into base unit of measure<br /></p>. + /// <p>Denominator for the conversion into base unit of measure<br /></p>. + /// <p>The weight of the consumer package, including packaging<br /></p>. + /// <p>The weight of the consumer package, excluding packaging<br /></p>. + /// <p>Weight unit of measure<br /></p>. + /// <p>The consumer package volume<br /></p>. + /// <p>Volume unit of measure<br /></p>. + /// <p>The dimension from front to back of the consumer package<br /></p>. + /// <p>The dimension from left to right of the consumer package<br /></p>. + /// <p>The dimension from top to bottom of the consumer package<br /></p>. + /// <p>The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken.<br /></p>. + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p>. + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p>. + /// <p>Handling typecode<br /></p>. + /// <p>Date when the status becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Maximum stock quantity<br /></p>. + /// <p>Minimum stock quantity<br /></p>. + /// <p>Date when the listing becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Last date when the item is available for ordering<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>List of all Customer Specific Prices for this item.<br /></p>. + /// <p>The Customer Specific Price for given timestamp (if specified, null otherwise).<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.<br /></p>. + /// <p>Denotes if RFID method is called and stock is updated.<br /></p><br /><ul><br /> <li>true: The RFID method is called.</li><br /> <li>false: The RFID method is not called.</li><br /></ul>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey), string uomName = default(string), string name = default(string), string description = default(string), string classCode = default(string), string taxGroupID = default(string), string alternativeTaxGroupID = default(string), string taxGroupReceiptPrintCode = default(string), string itemUsageTypeCode = default(string), TaxExemptCodeEnum? taxExemptCode = default(TaxExemptCodeEnum?), double? warrantyPeriod = default(double?), string tareId = default(string), string tareUomCode = default(string), string posDepartmentID = default(string), string mainPOSItemId = default(string), string mainMerchandiseHierarchyGroupID = default(string), string mainMerchandiseHierarchyGroupName = default(string), string mainMerchandiseHierarchyGroupDescription = default(string), DepositTypeCodeEnum? depositTypeCode = default(DepositTypeCodeEnum?), ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO itemSellingRule = default(ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO), string statusCode = default(string), List itemCollectionList = default(List), List relatedItemAssociationList = default(List), List itemCharacteristicList = default(List), List itemFeatureList = default(List), List posIdentityList = default(List), List sellingPriceList = default(List), List itemDepositCollectionList = default(List), List uomItemTextList = default(List), List itemMHGList = default(List), List salesRestrictionList = default(List), bool? updateStockFlag = default(bool?), string baseUOMCode = default(string), bool? prohibitedForPhysicalInventoryFlag = default(bool?), int? minimumShelfLifeDayCount = default(int?), string labelType = default(string), string discountTypeCode = default(string), int? globalLifeDayCount = default(int?), double? shelfLifeDayCountPercent = default(double?), string dayCountUOMCode = default(string), string defaultReceivingLocation = default(string), bool? concessionItemFlag = default(bool?), bool? costItemFlag = default(bool?), string merchandisePlanningTypeCode = default(string), string mainSupplierId = default(string), bool? venSafeFlag = default(bool?), double? baseUOMConsumerPackageGrossContent = default(double?), double? baseUOMConsumerPackageNetContent = default(double?), string baseUOMConsumerPackageContentsUOMCode = default(string), double? baseUOMConsumerPackageBasePriceContent = default(double?), string baseUOMConsumerPackageBasePriceContentsUOMCode = default(string), string distributingWarehouseID = default(string), string distributionMethodID = default(string), string assortmentID = default(string), string thirdPartyAssortmentID = default(string), string transportAssociationID = default(string), string concessionItemSupplierID = default(string), string defaultSellingUOMCode = default(string), int? conversionNumerator = default(int?), int? conversionDenominator = default(int?), double? consumerPackageGrossWeight = default(double?), double? consumerPackageNetWeight = default(double?), string consumerPackageWeightUOMCode = default(string), double? consumerPackageVolume = default(double?), string consumerPackageVolumeUOMCode = default(string), double? consumerPackageDepth = default(double?), double? consumerPackageWidth = default(double?), double? consumerPackageHeight = default(double?), string consumerPackageSizeUOMCode = default(string), string outerPackageTypeCode = default(string), string headOfficeCarryRequirementTypeCode = default(string), string handlingTypeCode = default(string), string statusEffectiveDate = default(string), double? maximumStockQuantity = default(double?), double? minimumStockQuantity = default(double?), string listingEffectiveDate = default(string), string listingExpirationDate = default(string), List priceContractReadList = default(List), ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO selectedPriceContractRead = default(ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO), string uomITEMXXCUSTOM01 = default(string), string uomITEMXXCUSTOM02 = default(string), string uomITEMXXCUSTOM03 = default(string), string uomITEMXXCUSTOM04 = default(string), string uomITEMXXCUSTOM05 = default(string), string uomITEMXXCUSTOM06 = default(string), string uomITEMXXCUSTOM07 = default(string), string uomITEMXXCUSTOM08 = default(string), string uomITEMXXCUSTOM09 = default(string), string uomITEMXXCUSTOM10 = default(string), string uomITEMXXCUSTOM11 = default(string), string uomITEMXXCUSTOM12 = default(string), string uomITEMXXCUSTOM13 = default(string), string uomITEMXXCUSTOM14 = default(string), string uomITEMXXCUSTOM15 = default(string), string uomITEMXXCUSTOM16 = default(string), string uomITEMXXCUSTOM17 = default(string), string uomITEMXXCUSTOM18 = default(string), string uomITEMXXCUSTOM19 = default(string), string uomITEMXXCUSTOM20 = default(string), string uomITEMXXCUSTOM21 = default(string), string uomITEMXXCUSTOM22 = default(string), string uomITEMXXCUSTOM23 = default(string), string uomITEMXXCUSTOM24 = default(string), string uomITEMXXCUSTOM25 = default(string), string uomITEMXXCUSTOM26 = default(string), string uomITEMXXCUSTOM27 = default(string), string uomITEMXXCUSTOM28 = default(string), string uomITEMXXCUSTOM29 = default(string), string uomITEMXXCUSTOM30 = default(string), string hsncode = default(string), bool? rfidflag = default(bool?), string itemXXCUSTOM01 = default(string), string itemXXCUSTOM02 = default(string), string itemXXCUSTOM03 = default(string), string itemXXCUSTOM04 = default(string), string itemXXCUSTOM05 = default(string), string itemXXCUSTOM06 = default(string), string itemXXCUSTOM07 = default(string), string itemXXCUSTOM08 = default(string), string itemXXCUSTOM09 = default(string), string itemXXCUSTOM10 = default(string), string itemXXCUSTOM11 = default(string), string itemXXCUSTOM12 = default(string), string itemXXCUSTOM13 = default(string), string itemXXCUSTOM14 = default(string), string itemXXCUSTOM15 = default(string), string itemXXCUSTOM16 = default(string), string itemXXCUSTOM17 = default(string), string itemXXCUSTOM18 = default(string), string itemXXCUSTOM19 = default(string), string itemXXCUSTOM20 = default(string), string itemXXCUSTOM21 = default(string), string itemXXCUSTOM22 = default(string), string itemXXCUSTOM23 = default(string), string itemXXCUSTOM24 = default(string), string itemXXCUSTOM25 = default(string), string itemXXCUSTOM26 = default(string), string itemXXCUSTOM27 = default(string), string itemXXCUSTOM28 = default(string), string itemXXCUSTOM29 = default(string), string itemXXCUSTOM30 = default(string), string bulkITEMXXCUSTOM01 = default(string), string bulkITEMXXCUSTOM02 = default(string), string bulkITEMXXCUSTOM03 = default(string), string bulkITEMXXCUSTOM04 = default(string), string bulkITEMXXCUSTOM05 = default(string), string bulkITEMXXCUSTOM06 = default(string), string bulkITEMXXCUSTOM07 = default(string), string bulkITEMXXCUSTOM08 = default(string), string bulkITEMXXCUSTOM09 = default(string), string bulkITEMXXCUSTOM10 = default(string), string bulkITEMXXCUSTOM11 = default(string), string bulkITEMXXCUSTOM12 = default(string), string bulkITEMXXCUSTOM13 = default(string), string bulkITEMXXCUSTOM14 = default(string), string bulkITEMXXCUSTOM15 = default(string), string bulkITEMXXCUSTOM16 = default(string), string bulkITEMXXCUSTOM17 = default(string), string bulkITEMXXCUSTOM18 = default(string), string bulkITEMXXCUSTOM19 = default(string), string bulkITEMXXCUSTOM20 = default(string), string bulkITEMXXCUSTOM21 = default(string), string bulkITEMXXCUSTOM22 = default(string), string bulkITEMXXCUSTOM23 = default(string), string bulkITEMXXCUSTOM24 = default(string), string bulkITEMXXCUSTOM25 = default(string), string bulkITEMXXCUSTOM26 = default(string), string bulkITEMXXCUSTOM27 = default(string), string bulkITEMXXCUSTOM28 = default(string), string bulkITEMXXCUSTOM29 = default(string), string bulkITEMXXCUSTOM30 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO and cannot be null"); + } + else + { + this.Key = key; + } + this.UomName = uomName; + this.Name = name; + this.Description = description; + this.ClassCode = classCode; + this.TaxGroupID = taxGroupID; + this.AlternativeTaxGroupID = alternativeTaxGroupID; + this.TaxGroupReceiptPrintCode = taxGroupReceiptPrintCode; + this.ItemUsageTypeCode = itemUsageTypeCode; + this.TaxExemptCode = taxExemptCode; + this.WarrantyPeriod = warrantyPeriod; + this.TareId = tareId; + this.TareUomCode = tareUomCode; + this.PosDepartmentID = posDepartmentID; + this.MainPOSItemId = mainPOSItemId; + this.MainMerchandiseHierarchyGroupID = mainMerchandiseHierarchyGroupID; + this.MainMerchandiseHierarchyGroupName = mainMerchandiseHierarchyGroupName; + this.MainMerchandiseHierarchyGroupDescription = mainMerchandiseHierarchyGroupDescription; + this.DepositTypeCode = depositTypeCode; + this.ItemSellingRule = itemSellingRule; + this.StatusCode = statusCode; + this.ItemCollectionList = itemCollectionList; + this.RelatedItemAssociationList = relatedItemAssociationList; + this.ItemCharacteristicList = itemCharacteristicList; + this.ItemFeatureList = itemFeatureList; + this.PosIdentityList = posIdentityList; + this.SellingPriceList = sellingPriceList; + this.ItemDepositCollectionList = itemDepositCollectionList; + this.UomItemTextList = uomItemTextList; + this.ItemMHGList = itemMHGList; + this.SalesRestrictionList = salesRestrictionList; + this.UpdateStockFlag = updateStockFlag; + this.BaseUOMCode = baseUOMCode; + this.ProhibitedForPhysicalInventoryFlag = prohibitedForPhysicalInventoryFlag; + this.MinimumShelfLifeDayCount = minimumShelfLifeDayCount; + this.LabelType = labelType; + this.DiscountTypeCode = discountTypeCode; + this.GlobalLifeDayCount = globalLifeDayCount; + this.ShelfLifeDayCountPercent = shelfLifeDayCountPercent; + this.DayCountUOMCode = dayCountUOMCode; + this.DefaultReceivingLocation = defaultReceivingLocation; + this.ConcessionItemFlag = concessionItemFlag; + this.CostItemFlag = costItemFlag; + this.MerchandisePlanningTypeCode = merchandisePlanningTypeCode; + this.MainSupplierId = mainSupplierId; + this.VenSafeFlag = venSafeFlag; + this.BaseUOMConsumerPackageGrossContent = baseUOMConsumerPackageGrossContent; + this.BaseUOMConsumerPackageNetContent = baseUOMConsumerPackageNetContent; + this.BaseUOMConsumerPackageContentsUOMCode = baseUOMConsumerPackageContentsUOMCode; + this.BaseUOMConsumerPackageBasePriceContent = baseUOMConsumerPackageBasePriceContent; + this.BaseUOMConsumerPackageBasePriceContentsUOMCode = baseUOMConsumerPackageBasePriceContentsUOMCode; + this.DistributingWarehouseID = distributingWarehouseID; + this.DistributionMethodID = distributionMethodID; + this.AssortmentID = assortmentID; + this.ThirdPartyAssortmentID = thirdPartyAssortmentID; + this.TransportAssociationID = transportAssociationID; + this.ConcessionItemSupplierID = concessionItemSupplierID; + this.DefaultSellingUOMCode = defaultSellingUOMCode; + this.ConversionNumerator = conversionNumerator; + this.ConversionDenominator = conversionDenominator; + this.ConsumerPackageGrossWeight = consumerPackageGrossWeight; + this.ConsumerPackageNetWeight = consumerPackageNetWeight; + this.ConsumerPackageWeightUOMCode = consumerPackageWeightUOMCode; + this.ConsumerPackageVolume = consumerPackageVolume; + this.ConsumerPackageVolumeUOMCode = consumerPackageVolumeUOMCode; + this.ConsumerPackageDepth = consumerPackageDepth; + this.ConsumerPackageWidth = consumerPackageWidth; + this.ConsumerPackageHeight = consumerPackageHeight; + this.ConsumerPackageSizeUOMCode = consumerPackageSizeUOMCode; + this.OuterPackageTypeCode = outerPackageTypeCode; + this.HeadOfficeCarryRequirementTypeCode = headOfficeCarryRequirementTypeCode; + this.HandlingTypeCode = handlingTypeCode; + this.StatusEffectiveDate = statusEffectiveDate; + this.MaximumStockQuantity = maximumStockQuantity; + this.MinimumStockQuantity = minimumStockQuantity; + this.ListingEffectiveDate = listingEffectiveDate; + this.ListingExpirationDate = listingExpirationDate; + this.PriceContractReadList = priceContractReadList; + this.SelectedPriceContractRead = selectedPriceContractRead; + this.UomITEMXXCUSTOM01 = uomITEMXXCUSTOM01; + this.UomITEMXXCUSTOM02 = uomITEMXXCUSTOM02; + this.UomITEMXXCUSTOM03 = uomITEMXXCUSTOM03; + this.UomITEMXXCUSTOM04 = uomITEMXXCUSTOM04; + this.UomITEMXXCUSTOM05 = uomITEMXXCUSTOM05; + this.UomITEMXXCUSTOM06 = uomITEMXXCUSTOM06; + this.UomITEMXXCUSTOM07 = uomITEMXXCUSTOM07; + this.UomITEMXXCUSTOM08 = uomITEMXXCUSTOM08; + this.UomITEMXXCUSTOM09 = uomITEMXXCUSTOM09; + this.UomITEMXXCUSTOM10 = uomITEMXXCUSTOM10; + this.UomITEMXXCUSTOM11 = uomITEMXXCUSTOM11; + this.UomITEMXXCUSTOM12 = uomITEMXXCUSTOM12; + this.UomITEMXXCUSTOM13 = uomITEMXXCUSTOM13; + this.UomITEMXXCUSTOM14 = uomITEMXXCUSTOM14; + this.UomITEMXXCUSTOM15 = uomITEMXXCUSTOM15; + this.UomITEMXXCUSTOM16 = uomITEMXXCUSTOM16; + this.UomITEMXXCUSTOM17 = uomITEMXXCUSTOM17; + this.UomITEMXXCUSTOM18 = uomITEMXXCUSTOM18; + this.UomITEMXXCUSTOM19 = uomITEMXXCUSTOM19; + this.UomITEMXXCUSTOM20 = uomITEMXXCUSTOM20; + this.UomITEMXXCUSTOM21 = uomITEMXXCUSTOM21; + this.UomITEMXXCUSTOM22 = uomITEMXXCUSTOM22; + this.UomITEMXXCUSTOM23 = uomITEMXXCUSTOM23; + this.UomITEMXXCUSTOM24 = uomITEMXXCUSTOM24; + this.UomITEMXXCUSTOM25 = uomITEMXXCUSTOM25; + this.UomITEMXXCUSTOM26 = uomITEMXXCUSTOM26; + this.UomITEMXXCUSTOM27 = uomITEMXXCUSTOM27; + this.UomITEMXXCUSTOM28 = uomITEMXXCUSTOM28; + this.UomITEMXXCUSTOM29 = uomITEMXXCUSTOM29; + this.UomITEMXXCUSTOM30 = uomITEMXXCUSTOM30; + this.Hsncode = hsncode; + this.Rfidflag = rfidflag; + this.ItemXXCUSTOM01 = itemXXCUSTOM01; + this.ItemXXCUSTOM02 = itemXXCUSTOM02; + this.ItemXXCUSTOM03 = itemXXCUSTOM03; + this.ItemXXCUSTOM04 = itemXXCUSTOM04; + this.ItemXXCUSTOM05 = itemXXCUSTOM05; + this.ItemXXCUSTOM06 = itemXXCUSTOM06; + this.ItemXXCUSTOM07 = itemXXCUSTOM07; + this.ItemXXCUSTOM08 = itemXXCUSTOM08; + this.ItemXXCUSTOM09 = itemXXCUSTOM09; + this.ItemXXCUSTOM10 = itemXXCUSTOM10; + this.ItemXXCUSTOM11 = itemXXCUSTOM11; + this.ItemXXCUSTOM12 = itemXXCUSTOM12; + this.ItemXXCUSTOM13 = itemXXCUSTOM13; + this.ItemXXCUSTOM14 = itemXXCUSTOM14; + this.ItemXXCUSTOM15 = itemXXCUSTOM15; + this.ItemXXCUSTOM16 = itemXXCUSTOM16; + this.ItemXXCUSTOM17 = itemXXCUSTOM17; + this.ItemXXCUSTOM18 = itemXXCUSTOM18; + this.ItemXXCUSTOM19 = itemXXCUSTOM19; + this.ItemXXCUSTOM20 = itemXXCUSTOM20; + this.ItemXXCUSTOM21 = itemXXCUSTOM21; + this.ItemXXCUSTOM22 = itemXXCUSTOM22; + this.ItemXXCUSTOM23 = itemXXCUSTOM23; + this.ItemXXCUSTOM24 = itemXXCUSTOM24; + this.ItemXXCUSTOM25 = itemXXCUSTOM25; + this.ItemXXCUSTOM26 = itemXXCUSTOM26; + this.ItemXXCUSTOM27 = itemXXCUSTOM27; + this.ItemXXCUSTOM28 = itemXXCUSTOM28; + this.ItemXXCUSTOM29 = itemXXCUSTOM29; + this.ItemXXCUSTOM30 = itemXXCUSTOM30; + this.BulkITEMXXCUSTOM01 = bulkITEMXXCUSTOM01; + this.BulkITEMXXCUSTOM02 = bulkITEMXXCUSTOM02; + this.BulkITEMXXCUSTOM03 = bulkITEMXXCUSTOM03; + this.BulkITEMXXCUSTOM04 = bulkITEMXXCUSTOM04; + this.BulkITEMXXCUSTOM05 = bulkITEMXXCUSTOM05; + this.BulkITEMXXCUSTOM06 = bulkITEMXXCUSTOM06; + this.BulkITEMXXCUSTOM07 = bulkITEMXXCUSTOM07; + this.BulkITEMXXCUSTOM08 = bulkITEMXXCUSTOM08; + this.BulkITEMXXCUSTOM09 = bulkITEMXXCUSTOM09; + this.BulkITEMXXCUSTOM10 = bulkITEMXXCUSTOM10; + this.BulkITEMXXCUSTOM11 = bulkITEMXXCUSTOM11; + this.BulkITEMXXCUSTOM12 = bulkITEMXXCUSTOM12; + this.BulkITEMXXCUSTOM13 = bulkITEMXXCUSTOM13; + this.BulkITEMXXCUSTOM14 = bulkITEMXXCUSTOM14; + this.BulkITEMXXCUSTOM15 = bulkITEMXXCUSTOM15; + this.BulkITEMXXCUSTOM16 = bulkITEMXXCUSTOM16; + this.BulkITEMXXCUSTOM17 = bulkITEMXXCUSTOM17; + this.BulkITEMXXCUSTOM18 = bulkITEMXXCUSTOM18; + this.BulkITEMXXCUSTOM19 = bulkITEMXXCUSTOM19; + this.BulkITEMXXCUSTOM20 = bulkITEMXXCUSTOM20; + this.BulkITEMXXCUSTOM21 = bulkITEMXXCUSTOM21; + this.BulkITEMXXCUSTOM22 = bulkITEMXXCUSTOM22; + this.BulkITEMXXCUSTOM23 = bulkITEMXXCUSTOM23; + this.BulkITEMXXCUSTOM24 = bulkITEMXXCUSTOM24; + this.BulkITEMXXCUSTOM25 = bulkITEMXXCUSTOM25; + this.BulkITEMXXCUSTOM26 = bulkITEMXXCUSTOM26; + this.BulkITEMXXCUSTOM27 = bulkITEMXXCUSTOM27; + this.BulkITEMXXCUSTOM28 = bulkITEMXXCUSTOM28; + this.BulkITEMXXCUSTOM29 = bulkITEMXXCUSTOM29; + this.BulkITEMXXCUSTOM30 = bulkITEMXXCUSTOM30; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey Key { get; set; } + + /// + /// <p>Localized Unit of measure name.<br /></p> + /// + /// <p>Localized Unit of measure name.<br /></p> + [DataMember(Name="uomName", EmitDefaultValue=false)] + public string UomName { get; set; } + + /// + /// <p>The name by which the item is known.<br /></p> + /// + /// <p>The name by which the item is known.<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The textural description of the item.<br /></p> + /// + /// <p>The textural description of the item.<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>Class code (eg. empties, fresh food). Usage example: Via customizing is possible to disable the registration of items with this class code.<br /></p> + /// + /// <p>Class code (eg. empties, fresh food). Usage example: Via customizing is possible to disable the registration of items with this class code.<br /></p> + [DataMember(Name="classCode", EmitDefaultValue=false)] + public string ClassCode { get; set; } + + /// + /// <p>A tax group which links a tax authority to the merchandise to which the tax applies.<br /> If no taxGroupID is delivered, the taxGroup with 0% is to be searched out and used. If no taxGroup with 0% exists, the import of the item fails.<br /></p> + /// + /// <p>A tax group which links a tax authority to the merchandise to which the tax applies.<br /> If no taxGroupID is delivered, the taxGroup with 0% is to be searched out and used. If no taxGroup with 0% exists, the import of the item fails.<br /></p> + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// <p>An alternative tax group which links a tax authority to the merchandise to which the tax applies.<br /></p> + /// + /// <p>An alternative tax group which links a tax authority to the merchandise to which the tax applies.<br /></p> + [DataMember(Name="alternativeTaxGroupID", EmitDefaultValue=false)] + public string AlternativeTaxGroupID { get; set; } + + /// + /// <p>The Taxable Group Receipt Print Code.<br /></p> + /// + /// <p>The Taxable Group Receipt Print Code.<br /></p> + [DataMember(Name="taxGroupReceiptPrintCode", EmitDefaultValue=false)] + public string TaxGroupReceiptPrintCode { get; set; } + + /// + /// <p>Specifies the category of the item (e.g. single item, item variant, display).<br /></p> + /// + /// <p>Specifies the category of the item (e.g. single item, item variant, display).<br /></p> + [DataMember(Name="itemUsageTypeCode", EmitDefaultValue=false)] + public string ItemUsageTypeCode { get; set; } + + + /// + /// <p>The duration of the item's warranty in months<br /></p> + /// + /// <p>The duration of the item's warranty in months<br /></p> + [DataMember(Name="warrantyPeriod", EmitDefaultValue=false)] + public double? WarrantyPeriod { get; set; } + + /// + /// <p>Defines the number of weight units of measure for the tare.<br /></p> + /// + /// <p>Defines the number of weight units of measure for the tare.<br /></p> + [DataMember(Name="tareId", EmitDefaultValue=false)] + public string TareId { get; set; } + + /// + /// <p>Tare UOM code.<br /></p> + /// + /// <p>Tare UOM code.<br /></p> + [DataMember(Name="tareUomCode", EmitDefaultValue=false)] + public string TareUomCode { get; set; } + + /// + /// <p>Reference to the POSDepartment the item belongs to<br /></p> + /// + /// <p>Reference to the POSDepartment the item belongs to<br /></p> + [DataMember(Name="posDepartmentID", EmitDefaultValue=false)] + public string PosDepartmentID { get; set; } + + /// + /// <p>The main POS item identifier<br /></p> + /// + /// <p>The main POS item identifier<br /></p> + [DataMember(Name="mainPOSItemId", EmitDefaultValue=false)] + public string MainPOSItemId { get; set; } + + /// + /// <p>References the default merchandise hierarchy group the item belongs to<br /></p> + /// + /// <p>References the default merchandise hierarchy group the item belongs to<br /></p> + [DataMember(Name="mainMerchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupID { get; set; } + + /// + /// <p>Localized default merchandise hierarchy group name.<br /></p> + /// + /// <p>Localized default merchandise hierarchy group name.<br /></p> + [DataMember(Name="mainMerchandiseHierarchyGroupName", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupName { get; set; } + + /// + /// <p>Localized default merchandise hierarchy group description.<br /></p> + /// + /// <p>Localized default merchandise hierarchy group description.<br /></p> + [DataMember(Name="mainMerchandiseHierarchyGroupDescription", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupDescription { get; set; } + + + /// + /// <p>Selling rules for this item<br /></p> + /// + /// <p>Selling rules for this item<br /></p> + [DataMember(Name="itemSellingRule", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO ItemSellingRule { get; set; } + + /// + /// <p>This code defines the current state of an item within the retail store.<br /> An item's state limits what actions may be taken on an item in terms of ordering, receiving, selling, returns, transfers, counting and so on.<br /> Sample statuses include active, inactive, discontinued, pending, etc.<br /></p> + /// + /// <p>This code defines the current state of an item within the retail store.<br /> An item's state limits what actions may be taken on an item in terms of ordering, receiving, selling, returns, transfers, counting and so on.<br /> Sample statuses include active, inactive, discontinued, pending, etc.<br /></p> + [DataMember(Name="statusCode", EmitDefaultValue=false)] + public string StatusCode { get; set; } + + /// + /// <p>List of item collections<br /></p> + /// + /// <p>List of item collections<br /></p> + [DataMember(Name="itemCollectionList", EmitDefaultValue=false)] + public List ItemCollectionList { get; set; } + + /// + /// <p>List of the item associations<br /></p> + /// + /// <p>List of the item associations<br /></p> + [DataMember(Name="relatedItemAssociationList", EmitDefaultValue=false)] + public List RelatedItemAssociationList { get; set; } + + /// + /// <p>List of item characteristics with values<br /></p> + /// + /// <p>List of item characteristics with values<br /></p> + [DataMember(Name="itemCharacteristicList", EmitDefaultValue=false)] + public List ItemCharacteristicList { get; set; } + + /// + /// Gets or Sets ItemFeatureList + /// + [DataMember(Name="itemFeatureList", EmitDefaultValue=false)] + public List ItemFeatureList { get; set; } + + /// + /// <p>List of POS item ID's (EANs)<br /></p> + /// + /// <p>List of POS item ID's (EANs)<br /></p> + [DataMember(Name="posIdentityList", EmitDefaultValue=false)] + public List PosIdentityList { get; set; } + + /// + /// <p>List of selling prices<br /></p> + /// + /// <p>List of selling prices<br /></p> + [DataMember(Name="sellingPriceList", EmitDefaultValue=false)] + public List SellingPriceList { get; set; } + + /// + /// <p>List of deposits<br /></p> + /// + /// <p>List of deposits<br /></p> + [DataMember(Name="itemDepositCollectionList", EmitDefaultValue=false)] + public List ItemDepositCollectionList { get; set; } + + /// + /// <p>List of text to UOMItem<br /></p> + /// + /// <p>List of text to UOMItem<br /></p> + [DataMember(Name="uomItemTextList", EmitDefaultValue=false)] + public List UomItemTextList { get; set; } + + /// + /// <p>List of merchandise hierarchy groups<br /></p> + /// + /// <p>List of merchandise hierarchy groups<br /></p> + [DataMember(Name="itemMHGList", EmitDefaultValue=false)] + public List ItemMHGList { get; set; } + + /// + /// <p>Sales restriction for this item<br /></p> + /// + /// <p>Sales restriction for this item<br /></p> + [DataMember(Name="salesRestrictionList", EmitDefaultValue=false)] + public List SalesRestrictionList { get; set; } + + /// + /// <p>Determines whether the item is inventory-tracked<br /></p> + /// + /// <p>Determines whether the item is inventory-tracked<br /></p> + [DataMember(Name="updateStockFlag", EmitDefaultValue=false)] + public bool? UpdateStockFlag { get; set; } + + /// + /// <p>Code of the base unit of measure. The base unit of measure is automatically selected if the item is registered by ItemID.<br /></p> + /// + /// <p>Code of the base unit of measure. The base unit of measure is automatically selected if the item is registered by ItemID.<br /></p> + [DataMember(Name="baseUOMCode", EmitDefaultValue=false)] + public string BaseUOMCode { get; set; } + + /// + /// <p>Determines whether this item cannot be considered within physical inventories<br /></p> + /// + /// <p>Determines whether this item cannot be considered within physical inventories<br /></p> + [DataMember(Name="prohibitedForPhysicalInventoryFlag", EmitDefaultValue=false)] + public bool? ProhibitedForPhysicalInventoryFlag { get; set; } + + /// + /// <p>The number of business days the SHELF ITEM may be displayed for sale to customers and after which must be removed.<br /> This attribute is used for perishable produce items, drugs, and other time sensitive items (like newspapers).<br /></p> + /// + /// <p>The number of business days the SHELF ITEM may be displayed for sale to customers and after which must be removed.<br /> This attribute is used for perishable produce items, drugs, and other time sensitive items (like newspapers).<br /></p> + [DataMember(Name="minimumShelfLifeDayCount", EmitDefaultValue=false)] + public int? MinimumShelfLifeDayCount { get; set; } + + /// + /// <p>Type of the label<br /></p> + /// + /// <p>Type of the label<br /></p> + [DataMember(Name="labelType", EmitDefaultValue=false)] + public string LabelType { get; set; } + + /// + /// <p>A code which is used by the loyalty engine in order to determine whether the item can get rebate/points. Possible values: 0..9<br /></p> + /// + /// <p>A code which is used by the loyalty engine in order to determine whether the item can get rebate/points. Possible values: 0..9<br /></p> + [DataMember(Name="discountTypeCode", EmitDefaultValue=false)] + public string DiscountTypeCode { get; set; } + + /// + /// <p>Time range (count of days) between production date and best-before date<br /></p> + /// + /// <p>Time range (count of days) between production date and best-before date<br /></p> + [DataMember(Name="globalLifeDayCount", EmitDefaultValue=false)] + public int? GlobalLifeDayCount { get; set; } + + /// + /// <p>Percentage for calculating the shelf life day count<br /></p> + /// + /// <p>Percentage for calculating the shelf life day count<br /></p> + [DataMember(Name="shelfLifeDayCountPercent", EmitDefaultValue=false)] + public double? ShelfLifeDayCountPercent { get; set; } + + /// + /// <p>The unit of measure of the 'day count' elements (day or week)<br /></p> + /// + /// <p>The unit of measure of the 'day count' elements (day or week)<br /></p> + [DataMember(Name="dayCountUOMCode", EmitDefaultValue=false)] + public string DayCountUOMCode { get; set; } + + /// + /// <p>Default receiving place<br /></p> + /// + /// <p>Default receiving place<br /></p> + [DataMember(Name="defaultReceivingLocation", EmitDefaultValue=false)] + public string DefaultReceivingLocation { get; set; } + + /// + /// <p>Defines whether the item is a concession item. Concession items are not maintained by the retailer, but by a vendor itself. E.g. snacks and food in vending machines.<br /></p> + /// + /// <p>Defines whether the item is a concession item. Concession items are not maintained by the retailer, but by a vendor itself. E.g. snacks and food in vending machines.<br /></p> + [DataMember(Name="concessionItemFlag", EmitDefaultValue=false)] + public bool? ConcessionItemFlag { get; set; } + + /// + /// <p>Defines whether the item is a cost item<br /></p> + /// + /// <p>Defines whether the item is a cost item<br /></p> + [DataMember(Name="costItemFlag", EmitDefaultValue=false)] + public bool? CostItemFlag { get; set; } + + /// + /// <p>Determines the merchandise planning - the way, how the item is ordered (automatically, manually, not orderable, ..).<br /></p> + /// + /// <p>Determines the merchandise planning - the way, how the item is ordered (automatically, manually, not orderable, ..).<br /></p> + [DataMember(Name="merchandisePlanningTypeCode", EmitDefaultValue=false)] + public string MerchandisePlanningTypeCode { get; set; } + + /// + /// <p>Reference to the main supplier of this item<br /></p> + /// + /// <p>Reference to the main supplier of this item<br /></p> + [DataMember(Name="mainSupplierId", EmitDefaultValue=false)] + public string MainSupplierId { get; set; } + + /// + /// <p>Determines whether this item is sold via VENSAFE.<br /></p> + /// + /// <p>Determines whether this item is sold via VENSAFE.<br /></p> + [DataMember(Name="venSafeFlag", EmitDefaultValue=false)] + public bool? VenSafeFlag { get; set; } + + /// + /// <p>Consumer package gross content of the base UOM of the item<br /></p><br /><pre> * e.g. can of peaches<br /> * gross content = 500<br /> * net content = 385<br /> * contents UOM = ml<br /></pre> + /// + /// <p>Consumer package gross content of the base UOM of the item<br /></p><br /><pre> * e.g. can of peaches<br /> * gross content = 500<br /> * net content = 385<br /> * contents UOM = ml<br /></pre> + [DataMember(Name="baseUOMConsumerPackageGrossContent", EmitDefaultValue=false)] + public double? BaseUOMConsumerPackageGrossContent { get; set; } + + /// + /// <p>The consumer package content, as claimed on the label. e.g. Evian Water 750ml - net content = '750 MLT' 20 count pack of diapers, net content = '20 ea.'<br /></p> + /// + /// <p>The consumer package content, as claimed on the label. e.g. Evian Water 750ml - net content = '750 MLT' 20 count pack of diapers, net content = '20 ea.'<br /></p> + [DataMember(Name="baseUOMConsumerPackageNetContent", EmitDefaultValue=false)] + public double? BaseUOMConsumerPackageNetContent { get; set; } + + /// + /// <p>Net/gross contents uom<br /></p> + /// + /// <p>Net/gross contents uom<br /></p> + [DataMember(Name="baseUOMConsumerPackageContentsUOMCode", EmitDefaultValue=false)] + public string BaseUOMConsumerPackageContentsUOMCode { get; set; } + + /// + /// <p>Quantity measured in ConsumerPackageBasePriceUOMCode units for which the base price is to be determined<br /></p><br /><p>Example:<br /></p><br /><pre> * base price UOM = g<br /> * base price content = 100<br /> * base price = 2,99<br /> * ==&gt; base price = 2,99 per 100 g<br /></pre> + /// + /// <p>Quantity measured in ConsumerPackageBasePriceUOMCode units for which the base price is to be determined<br /></p><br /><p>Example:<br /></p><br /><pre> * base price UOM = g<br /> * base price content = 100<br /> * base price = 2,99<br /> * ==&gt; base price = 2,99 per 100 g<br /></pre> + [DataMember(Name="baseUOMConsumerPackageBasePriceContent", EmitDefaultValue=false)] + public double? BaseUOMConsumerPackageBasePriceContent { get; set; } + + /// + /// <p>Base price contents unit of measure<br /></p> + /// + /// <p>Base price contents unit of measure<br /></p> + [DataMember(Name="baseUOMConsumerPackageBasePriceContentsUOMCode", EmitDefaultValue=false)] + public string BaseUOMConsumerPackageBasePriceContentsUOMCode { get; set; } + + /// + /// <p>Identifier of the distributing warehouse (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the distributing warehouse (used in the purchase order process)<br /></p> + [DataMember(Name="distributingWarehouseID", EmitDefaultValue=false)] + public string DistributingWarehouseID { get; set; } + + /// + /// <p>Identifier of the distribution method (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the distribution method (used in the purchase order process)<br /></p> + [DataMember(Name="distributionMethodID", EmitDefaultValue=false)] + public string DistributionMethodID { get; set; } + + /// + /// <p>Identifier of the assortment (used e.g. in the purchase order process)<br /></p> + /// + /// <p>Identifier of the assortment (used e.g. in the purchase order process)<br /></p> + [DataMember(Name="assortmentID", EmitDefaultValue=false)] + public string AssortmentID { get; set; } + + /// + /// <p>Identifier of the 3rd party assortment (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the 3rd party assortment (used in the purchase order process)<br /></p> + [DataMember(Name="thirdPartyAssortmentID", EmitDefaultValue=false)] + public string ThirdPartyAssortmentID { get; set; } + + /// + /// <p>Identifier of the transport association (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the transport association (used in the purchase order process)<br /></p> + [DataMember(Name="transportAssociationID", EmitDefaultValue=false)] + public string TransportAssociationID { get; set; } + + /// + /// <p>If the item is a concession item, this is the reference to its supplier<br /></p> + /// + /// <p>If the item is a concession item, this is the reference to its supplier<br /></p> + [DataMember(Name="concessionItemSupplierID", EmitDefaultValue=false)] + public string ConcessionItemSupplierID { get; set; } + + /// + /// <p>The default selling unit of measure of the item<br /></p> + /// + /// <p>The default selling unit of measure of the item<br /></p> + [DataMember(Name="defaultSellingUOMCode", EmitDefaultValue=false)] + public string DefaultSellingUOMCode { get; set; } + + /// + /// <p>Numerator for the conversion into base unit of measure<br /></p> + /// + /// <p>Numerator for the conversion into base unit of measure<br /></p> + [DataMember(Name="conversionNumerator", EmitDefaultValue=false)] + public int? ConversionNumerator { get; set; } + + /// + /// <p>Denominator for the conversion into base unit of measure<br /></p> + /// + /// <p>Denominator for the conversion into base unit of measure<br /></p> + [DataMember(Name="conversionDenominator", EmitDefaultValue=false)] + public int? ConversionDenominator { get; set; } + + /// + /// <p>The weight of the consumer package, including packaging<br /></p> + /// + /// <p>The weight of the consumer package, including packaging<br /></p> + [DataMember(Name="consumerPackageGrossWeight", EmitDefaultValue=false)] + public double? ConsumerPackageGrossWeight { get; set; } + + /// + /// <p>The weight of the consumer package, excluding packaging<br /></p> + /// + /// <p>The weight of the consumer package, excluding packaging<br /></p> + [DataMember(Name="consumerPackageNetWeight", EmitDefaultValue=false)] + public double? ConsumerPackageNetWeight { get; set; } + + /// + /// <p>Weight unit of measure<br /></p> + /// + /// <p>Weight unit of measure<br /></p> + [DataMember(Name="consumerPackageWeightUOMCode", EmitDefaultValue=false)] + public string ConsumerPackageWeightUOMCode { get; set; } + + /// + /// <p>The consumer package volume<br /></p> + /// + /// <p>The consumer package volume<br /></p> + [DataMember(Name="consumerPackageVolume", EmitDefaultValue=false)] + public double? ConsumerPackageVolume { get; set; } + + /// + /// <p>Volume unit of measure<br /></p> + /// + /// <p>Volume unit of measure<br /></p> + [DataMember(Name="consumerPackageVolumeUOMCode", EmitDefaultValue=false)] + public string ConsumerPackageVolumeUOMCode { get; set; } + + /// + /// <p>The dimension from front to back of the consumer package<br /></p> + /// + /// <p>The dimension from front to back of the consumer package<br /></p> + [DataMember(Name="consumerPackageDepth", EmitDefaultValue=false)] + public double? ConsumerPackageDepth { get; set; } + + /// + /// <p>The dimension from left to right of the consumer package<br /></p> + /// + /// <p>The dimension from left to right of the consumer package<br /></p> + [DataMember(Name="consumerPackageWidth", EmitDefaultValue=false)] + public double? ConsumerPackageWidth { get; set; } + + /// + /// <p>The dimension from top to bottom of the consumer package<br /></p> + /// + /// <p>The dimension from top to bottom of the consumer package<br /></p> + [DataMember(Name="consumerPackageHeight", EmitDefaultValue=false)] + public double? ConsumerPackageHeight { get; set; } + + /// + /// <p>The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken.<br /></p> + /// + /// <p>The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken.<br /></p> + [DataMember(Name="consumerPackageSizeUOMCode", EmitDefaultValue=false)] + public string ConsumerPackageSizeUOMCode { get; set; } + + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + [DataMember(Name="outerPackageTypeCode", EmitDefaultValue=false)] + public string OuterPackageTypeCode { get; set; } + + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + [DataMember(Name="headOfficeCarryRequirementTypeCode", EmitDefaultValue=false)] + public string HeadOfficeCarryRequirementTypeCode { get; set; } + + /// + /// <p>Handling typecode<br /></p> + /// + /// <p>Handling typecode<br /></p> + [DataMember(Name="handlingTypeCode", EmitDefaultValue=false)] + public string HandlingTypeCode { get; set; } + + /// + /// <p>Date when the status becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date when the status becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="statusEffectiveDate", EmitDefaultValue=false)] + public string StatusEffectiveDate { get; set; } + + /// + /// <p>Maximum stock quantity<br /></p> + /// + /// <p>Maximum stock quantity<br /></p> + [DataMember(Name="maximumStockQuantity", EmitDefaultValue=false)] + public double? MaximumStockQuantity { get; set; } + + /// + /// <p>Minimum stock quantity<br /></p> + /// + /// <p>Minimum stock quantity<br /></p> + [DataMember(Name="minimumStockQuantity", EmitDefaultValue=false)] + public double? MinimumStockQuantity { get; set; } + + /// + /// <p>Date when the listing becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date when the listing becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="listingEffectiveDate", EmitDefaultValue=false)] + public string ListingEffectiveDate { get; set; } + + /// + /// <p>Last date when the item is available for ordering<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Last date when the item is available for ordering<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="listingExpirationDate", EmitDefaultValue=false)] + public string ListingExpirationDate { get; set; } + + /// + /// <p>List of all Customer Specific Prices for this item.<br /></p> + /// + /// <p>List of all Customer Specific Prices for this item.<br /></p> + [DataMember(Name="priceContractReadList", EmitDefaultValue=false)] + public List PriceContractReadList { get; set; } + + /// + /// <p>The Customer Specific Price for given timestamp (if specified, null otherwise).<br /></p> + /// + /// <p>The Customer Specific Price for given timestamp (if specified, null otherwise).<br /></p> + [DataMember(Name="selectedPriceContractRead", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO SelectedPriceContractRead { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_01", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_02", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_03", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_04", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_05", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_06", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_07", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_08", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_09", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_10", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_11", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_12", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_13", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_14", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_15", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_16", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_17", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_18", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_19", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_20", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_21", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_22", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_23", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_24", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_25", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_26", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_27", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_28", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_29", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_30", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM30 { get; set; } + + /// + /// <p>HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.<br /></p> + /// + /// <p>HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.<br /></p> + [DataMember(Name="hsncode", EmitDefaultValue=false)] + public string Hsncode { get; set; } + + /// + /// <p>Denotes if RFID method is called and stock is updated.<br /></p><br /><ul><br /> <li>true: The RFID method is called.</li><br /> <li>false: The RFID method is not called.</li><br /></ul> + /// + /// <p>Denotes if RFID method is called and stock is updated.<br /></p><br /><ul><br /> <li>true: The RFID method is called.</li><br /> <li>false: The RFID method is not called.</li><br /></ul> + [DataMember(Name="rfidflag", EmitDefaultValue=false)] + public bool? Rfidflag { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_01", EmitDefaultValue=false)] + public string ItemXXCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_02", EmitDefaultValue=false)] + public string ItemXXCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_03", EmitDefaultValue=false)] + public string ItemXXCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_04", EmitDefaultValue=false)] + public string ItemXXCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_05", EmitDefaultValue=false)] + public string ItemXXCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_06", EmitDefaultValue=false)] + public string ItemXXCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_07", EmitDefaultValue=false)] + public string ItemXXCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_08", EmitDefaultValue=false)] + public string ItemXXCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_09", EmitDefaultValue=false)] + public string ItemXXCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_10", EmitDefaultValue=false)] + public string ItemXXCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_11", EmitDefaultValue=false)] + public string ItemXXCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_12", EmitDefaultValue=false)] + public string ItemXXCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_13", EmitDefaultValue=false)] + public string ItemXXCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_14", EmitDefaultValue=false)] + public string ItemXXCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_15", EmitDefaultValue=false)] + public string ItemXXCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_16", EmitDefaultValue=false)] + public string ItemXXCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_17", EmitDefaultValue=false)] + public string ItemXXCUSTOM17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_18", EmitDefaultValue=false)] + public string ItemXXCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_19", EmitDefaultValue=false)] + public string ItemXXCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_20", EmitDefaultValue=false)] + public string ItemXXCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_21", EmitDefaultValue=false)] + public string ItemXXCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_22", EmitDefaultValue=false)] + public string ItemXXCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_23", EmitDefaultValue=false)] + public string ItemXXCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_24", EmitDefaultValue=false)] + public string ItemXXCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_25", EmitDefaultValue=false)] + public string ItemXXCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_26", EmitDefaultValue=false)] + public string ItemXXCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_27", EmitDefaultValue=false)] + public string ItemXXCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_28", EmitDefaultValue=false)] + public string ItemXXCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_29", EmitDefaultValue=false)] + public string ItemXXCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_30", EmitDefaultValue=false)] + public string ItemXXCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_01", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_02", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_03", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_04", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_05", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_06", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_07", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_08", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_09", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_10", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_11", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_12", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_13", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_14", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_15", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_16", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_17", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_18", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_19", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_20", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_21", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_22", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_23", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_24", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_25", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_26", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_27", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_28", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_29", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="bulk_ITEM_XX_CUSTOM_30", EmitDefaultValue=false)] + public string BulkITEMXXCUSTOM30 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" UomName: ").Append(UomName).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ClassCode: ").Append(ClassCode).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" AlternativeTaxGroupID: ").Append(AlternativeTaxGroupID).Append("\n"); + sb.Append(" TaxGroupReceiptPrintCode: ").Append(TaxGroupReceiptPrintCode).Append("\n"); + sb.Append(" ItemUsageTypeCode: ").Append(ItemUsageTypeCode).Append("\n"); + sb.Append(" TaxExemptCode: ").Append(TaxExemptCode).Append("\n"); + sb.Append(" WarrantyPeriod: ").Append(WarrantyPeriod).Append("\n"); + sb.Append(" TareId: ").Append(TareId).Append("\n"); + sb.Append(" TareUomCode: ").Append(TareUomCode).Append("\n"); + sb.Append(" PosDepartmentID: ").Append(PosDepartmentID).Append("\n"); + sb.Append(" MainPOSItemId: ").Append(MainPOSItemId).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupID: ").Append(MainMerchandiseHierarchyGroupID).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupName: ").Append(MainMerchandiseHierarchyGroupName).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupDescription: ").Append(MainMerchandiseHierarchyGroupDescription).Append("\n"); + sb.Append(" DepositTypeCode: ").Append(DepositTypeCode).Append("\n"); + sb.Append(" ItemSellingRule: ").Append(ItemSellingRule).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" ItemCollectionList: ").Append(ItemCollectionList).Append("\n"); + sb.Append(" RelatedItemAssociationList: ").Append(RelatedItemAssociationList).Append("\n"); + sb.Append(" ItemCharacteristicList: ").Append(ItemCharacteristicList).Append("\n"); + sb.Append(" ItemFeatureList: ").Append(ItemFeatureList).Append("\n"); + sb.Append(" PosIdentityList: ").Append(PosIdentityList).Append("\n"); + sb.Append(" SellingPriceList: ").Append(SellingPriceList).Append("\n"); + sb.Append(" ItemDepositCollectionList: ").Append(ItemDepositCollectionList).Append("\n"); + sb.Append(" UomItemTextList: ").Append(UomItemTextList).Append("\n"); + sb.Append(" ItemMHGList: ").Append(ItemMHGList).Append("\n"); + sb.Append(" SalesRestrictionList: ").Append(SalesRestrictionList).Append("\n"); + sb.Append(" UpdateStockFlag: ").Append(UpdateStockFlag).Append("\n"); + sb.Append(" BaseUOMCode: ").Append(BaseUOMCode).Append("\n"); + sb.Append(" ProhibitedForPhysicalInventoryFlag: ").Append(ProhibitedForPhysicalInventoryFlag).Append("\n"); + sb.Append(" MinimumShelfLifeDayCount: ").Append(MinimumShelfLifeDayCount).Append("\n"); + sb.Append(" LabelType: ").Append(LabelType).Append("\n"); + sb.Append(" DiscountTypeCode: ").Append(DiscountTypeCode).Append("\n"); + sb.Append(" GlobalLifeDayCount: ").Append(GlobalLifeDayCount).Append("\n"); + sb.Append(" ShelfLifeDayCountPercent: ").Append(ShelfLifeDayCountPercent).Append("\n"); + sb.Append(" DayCountUOMCode: ").Append(DayCountUOMCode).Append("\n"); + sb.Append(" DefaultReceivingLocation: ").Append(DefaultReceivingLocation).Append("\n"); + sb.Append(" ConcessionItemFlag: ").Append(ConcessionItemFlag).Append("\n"); + sb.Append(" CostItemFlag: ").Append(CostItemFlag).Append("\n"); + sb.Append(" MerchandisePlanningTypeCode: ").Append(MerchandisePlanningTypeCode).Append("\n"); + sb.Append(" MainSupplierId: ").Append(MainSupplierId).Append("\n"); + sb.Append(" VenSafeFlag: ").Append(VenSafeFlag).Append("\n"); + sb.Append(" BaseUOMConsumerPackageGrossContent: ").Append(BaseUOMConsumerPackageGrossContent).Append("\n"); + sb.Append(" BaseUOMConsumerPackageNetContent: ").Append(BaseUOMConsumerPackageNetContent).Append("\n"); + sb.Append(" BaseUOMConsumerPackageContentsUOMCode: ").Append(BaseUOMConsumerPackageContentsUOMCode).Append("\n"); + sb.Append(" BaseUOMConsumerPackageBasePriceContent: ").Append(BaseUOMConsumerPackageBasePriceContent).Append("\n"); + sb.Append(" BaseUOMConsumerPackageBasePriceContentsUOMCode: ").Append(BaseUOMConsumerPackageBasePriceContentsUOMCode).Append("\n"); + sb.Append(" DistributingWarehouseID: ").Append(DistributingWarehouseID).Append("\n"); + sb.Append(" DistributionMethodID: ").Append(DistributionMethodID).Append("\n"); + sb.Append(" AssortmentID: ").Append(AssortmentID).Append("\n"); + sb.Append(" ThirdPartyAssortmentID: ").Append(ThirdPartyAssortmentID).Append("\n"); + sb.Append(" TransportAssociationID: ").Append(TransportAssociationID).Append("\n"); + sb.Append(" ConcessionItemSupplierID: ").Append(ConcessionItemSupplierID).Append("\n"); + sb.Append(" DefaultSellingUOMCode: ").Append(DefaultSellingUOMCode).Append("\n"); + sb.Append(" ConversionNumerator: ").Append(ConversionNumerator).Append("\n"); + sb.Append(" ConversionDenominator: ").Append(ConversionDenominator).Append("\n"); + sb.Append(" ConsumerPackageGrossWeight: ").Append(ConsumerPackageGrossWeight).Append("\n"); + sb.Append(" ConsumerPackageNetWeight: ").Append(ConsumerPackageNetWeight).Append("\n"); + sb.Append(" ConsumerPackageWeightUOMCode: ").Append(ConsumerPackageWeightUOMCode).Append("\n"); + sb.Append(" ConsumerPackageVolume: ").Append(ConsumerPackageVolume).Append("\n"); + sb.Append(" ConsumerPackageVolumeUOMCode: ").Append(ConsumerPackageVolumeUOMCode).Append("\n"); + sb.Append(" ConsumerPackageDepth: ").Append(ConsumerPackageDepth).Append("\n"); + sb.Append(" ConsumerPackageWidth: ").Append(ConsumerPackageWidth).Append("\n"); + sb.Append(" ConsumerPackageHeight: ").Append(ConsumerPackageHeight).Append("\n"); + sb.Append(" ConsumerPackageSizeUOMCode: ").Append(ConsumerPackageSizeUOMCode).Append("\n"); + sb.Append(" OuterPackageTypeCode: ").Append(OuterPackageTypeCode).Append("\n"); + sb.Append(" HeadOfficeCarryRequirementTypeCode: ").Append(HeadOfficeCarryRequirementTypeCode).Append("\n"); + sb.Append(" HandlingTypeCode: ").Append(HandlingTypeCode).Append("\n"); + sb.Append(" StatusEffectiveDate: ").Append(StatusEffectiveDate).Append("\n"); + sb.Append(" MaximumStockQuantity: ").Append(MaximumStockQuantity).Append("\n"); + sb.Append(" MinimumStockQuantity: ").Append(MinimumStockQuantity).Append("\n"); + sb.Append(" ListingEffectiveDate: ").Append(ListingEffectiveDate).Append("\n"); + sb.Append(" ListingExpirationDate: ").Append(ListingExpirationDate).Append("\n"); + sb.Append(" PriceContractReadList: ").Append(PriceContractReadList).Append("\n"); + sb.Append(" SelectedPriceContractRead: ").Append(SelectedPriceContractRead).Append("\n"); + sb.Append(" UomITEMXXCUSTOM01: ").Append(UomITEMXXCUSTOM01).Append("\n"); + sb.Append(" UomITEMXXCUSTOM02: ").Append(UomITEMXXCUSTOM02).Append("\n"); + sb.Append(" UomITEMXXCUSTOM03: ").Append(UomITEMXXCUSTOM03).Append("\n"); + sb.Append(" UomITEMXXCUSTOM04: ").Append(UomITEMXXCUSTOM04).Append("\n"); + sb.Append(" UomITEMXXCUSTOM05: ").Append(UomITEMXXCUSTOM05).Append("\n"); + sb.Append(" UomITEMXXCUSTOM06: ").Append(UomITEMXXCUSTOM06).Append("\n"); + sb.Append(" UomITEMXXCUSTOM07: ").Append(UomITEMXXCUSTOM07).Append("\n"); + sb.Append(" UomITEMXXCUSTOM08: ").Append(UomITEMXXCUSTOM08).Append("\n"); + sb.Append(" UomITEMXXCUSTOM09: ").Append(UomITEMXXCUSTOM09).Append("\n"); + sb.Append(" UomITEMXXCUSTOM10: ").Append(UomITEMXXCUSTOM10).Append("\n"); + sb.Append(" UomITEMXXCUSTOM11: ").Append(UomITEMXXCUSTOM11).Append("\n"); + sb.Append(" UomITEMXXCUSTOM12: ").Append(UomITEMXXCUSTOM12).Append("\n"); + sb.Append(" UomITEMXXCUSTOM13: ").Append(UomITEMXXCUSTOM13).Append("\n"); + sb.Append(" UomITEMXXCUSTOM14: ").Append(UomITEMXXCUSTOM14).Append("\n"); + sb.Append(" UomITEMXXCUSTOM15: ").Append(UomITEMXXCUSTOM15).Append("\n"); + sb.Append(" UomITEMXXCUSTOM16: ").Append(UomITEMXXCUSTOM16).Append("\n"); + sb.Append(" UomITEMXXCUSTOM17: ").Append(UomITEMXXCUSTOM17).Append("\n"); + sb.Append(" UomITEMXXCUSTOM18: ").Append(UomITEMXXCUSTOM18).Append("\n"); + sb.Append(" UomITEMXXCUSTOM19: ").Append(UomITEMXXCUSTOM19).Append("\n"); + sb.Append(" UomITEMXXCUSTOM20: ").Append(UomITEMXXCUSTOM20).Append("\n"); + sb.Append(" UomITEMXXCUSTOM21: ").Append(UomITEMXXCUSTOM21).Append("\n"); + sb.Append(" UomITEMXXCUSTOM22: ").Append(UomITEMXXCUSTOM22).Append("\n"); + sb.Append(" UomITEMXXCUSTOM23: ").Append(UomITEMXXCUSTOM23).Append("\n"); + sb.Append(" UomITEMXXCUSTOM24: ").Append(UomITEMXXCUSTOM24).Append("\n"); + sb.Append(" UomITEMXXCUSTOM25: ").Append(UomITEMXXCUSTOM25).Append("\n"); + sb.Append(" UomITEMXXCUSTOM26: ").Append(UomITEMXXCUSTOM26).Append("\n"); + sb.Append(" UomITEMXXCUSTOM27: ").Append(UomITEMXXCUSTOM27).Append("\n"); + sb.Append(" UomITEMXXCUSTOM28: ").Append(UomITEMXXCUSTOM28).Append("\n"); + sb.Append(" UomITEMXXCUSTOM29: ").Append(UomITEMXXCUSTOM29).Append("\n"); + sb.Append(" UomITEMXXCUSTOM30: ").Append(UomITEMXXCUSTOM30).Append("\n"); + sb.Append(" Hsncode: ").Append(Hsncode).Append("\n"); + sb.Append(" Rfidflag: ").Append(Rfidflag).Append("\n"); + sb.Append(" ItemXXCUSTOM01: ").Append(ItemXXCUSTOM01).Append("\n"); + sb.Append(" ItemXXCUSTOM02: ").Append(ItemXXCUSTOM02).Append("\n"); + sb.Append(" ItemXXCUSTOM03: ").Append(ItemXXCUSTOM03).Append("\n"); + sb.Append(" ItemXXCUSTOM04: ").Append(ItemXXCUSTOM04).Append("\n"); + sb.Append(" ItemXXCUSTOM05: ").Append(ItemXXCUSTOM05).Append("\n"); + sb.Append(" ItemXXCUSTOM06: ").Append(ItemXXCUSTOM06).Append("\n"); + sb.Append(" ItemXXCUSTOM07: ").Append(ItemXXCUSTOM07).Append("\n"); + sb.Append(" ItemXXCUSTOM08: ").Append(ItemXXCUSTOM08).Append("\n"); + sb.Append(" ItemXXCUSTOM09: ").Append(ItemXXCUSTOM09).Append("\n"); + sb.Append(" ItemXXCUSTOM10: ").Append(ItemXXCUSTOM10).Append("\n"); + sb.Append(" ItemXXCUSTOM11: ").Append(ItemXXCUSTOM11).Append("\n"); + sb.Append(" ItemXXCUSTOM12: ").Append(ItemXXCUSTOM12).Append("\n"); + sb.Append(" ItemXXCUSTOM13: ").Append(ItemXXCUSTOM13).Append("\n"); + sb.Append(" ItemXXCUSTOM14: ").Append(ItemXXCUSTOM14).Append("\n"); + sb.Append(" ItemXXCUSTOM15: ").Append(ItemXXCUSTOM15).Append("\n"); + sb.Append(" ItemXXCUSTOM16: ").Append(ItemXXCUSTOM16).Append("\n"); + sb.Append(" ItemXXCUSTOM17: ").Append(ItemXXCUSTOM17).Append("\n"); + sb.Append(" ItemXXCUSTOM18: ").Append(ItemXXCUSTOM18).Append("\n"); + sb.Append(" ItemXXCUSTOM19: ").Append(ItemXXCUSTOM19).Append("\n"); + sb.Append(" ItemXXCUSTOM20: ").Append(ItemXXCUSTOM20).Append("\n"); + sb.Append(" ItemXXCUSTOM21: ").Append(ItemXXCUSTOM21).Append("\n"); + sb.Append(" ItemXXCUSTOM22: ").Append(ItemXXCUSTOM22).Append("\n"); + sb.Append(" ItemXXCUSTOM23: ").Append(ItemXXCUSTOM23).Append("\n"); + sb.Append(" ItemXXCUSTOM24: ").Append(ItemXXCUSTOM24).Append("\n"); + sb.Append(" ItemXXCUSTOM25: ").Append(ItemXXCUSTOM25).Append("\n"); + sb.Append(" ItemXXCUSTOM26: ").Append(ItemXXCUSTOM26).Append("\n"); + sb.Append(" ItemXXCUSTOM27: ").Append(ItemXXCUSTOM27).Append("\n"); + sb.Append(" ItemXXCUSTOM28: ").Append(ItemXXCUSTOM28).Append("\n"); + sb.Append(" ItemXXCUSTOM29: ").Append(ItemXXCUSTOM29).Append("\n"); + sb.Append(" ItemXXCUSTOM30: ").Append(ItemXXCUSTOM30).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM01: ").Append(BulkITEMXXCUSTOM01).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM02: ").Append(BulkITEMXXCUSTOM02).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM03: ").Append(BulkITEMXXCUSTOM03).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM04: ").Append(BulkITEMXXCUSTOM04).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM05: ").Append(BulkITEMXXCUSTOM05).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM06: ").Append(BulkITEMXXCUSTOM06).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM07: ").Append(BulkITEMXXCUSTOM07).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM08: ").Append(BulkITEMXXCUSTOM08).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM09: ").Append(BulkITEMXXCUSTOM09).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM10: ").Append(BulkITEMXXCUSTOM10).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM11: ").Append(BulkITEMXXCUSTOM11).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM12: ").Append(BulkITEMXXCUSTOM12).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM13: ").Append(BulkITEMXXCUSTOM13).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM14: ").Append(BulkITEMXXCUSTOM14).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM15: ").Append(BulkITEMXXCUSTOM15).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM16: ").Append(BulkITEMXXCUSTOM16).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM17: ").Append(BulkITEMXXCUSTOM17).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM18: ").Append(BulkITEMXXCUSTOM18).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM19: ").Append(BulkITEMXXCUSTOM19).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM20: ").Append(BulkITEMXXCUSTOM20).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM21: ").Append(BulkITEMXXCUSTOM21).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM22: ").Append(BulkITEMXXCUSTOM22).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM23: ").Append(BulkITEMXXCUSTOM23).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM24: ").Append(BulkITEMXXCUSTOM24).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM25: ").Append(BulkITEMXXCUSTOM25).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM26: ").Append(BulkITEMXXCUSTOM26).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM27: ").Append(BulkITEMXXCUSTOM27).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM28: ").Append(BulkITEMXXCUSTOM28).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM29: ").Append(BulkITEMXXCUSTOM29).Append("\n"); + sb.Append(" BulkITEMXXCUSTOM30: ").Append(BulkITEMXXCUSTOM30).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.UomName == input.UomName || + (this.UomName != null && + this.UomName.Equals(input.UomName)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.ClassCode == input.ClassCode || + (this.ClassCode != null && + this.ClassCode.Equals(input.ClassCode)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.AlternativeTaxGroupID == input.AlternativeTaxGroupID || + (this.AlternativeTaxGroupID != null && + this.AlternativeTaxGroupID.Equals(input.AlternativeTaxGroupID)) + ) && + ( + this.TaxGroupReceiptPrintCode == input.TaxGroupReceiptPrintCode || + (this.TaxGroupReceiptPrintCode != null && + this.TaxGroupReceiptPrintCode.Equals(input.TaxGroupReceiptPrintCode)) + ) && + ( + this.ItemUsageTypeCode == input.ItemUsageTypeCode || + (this.ItemUsageTypeCode != null && + this.ItemUsageTypeCode.Equals(input.ItemUsageTypeCode)) + ) && + ( + this.TaxExemptCode == input.TaxExemptCode || + (this.TaxExemptCode != null && + this.TaxExemptCode.Equals(input.TaxExemptCode)) + ) && + ( + this.WarrantyPeriod == input.WarrantyPeriod || + (this.WarrantyPeriod != null && + this.WarrantyPeriod.Equals(input.WarrantyPeriod)) + ) && + ( + this.TareId == input.TareId || + (this.TareId != null && + this.TareId.Equals(input.TareId)) + ) && + ( + this.TareUomCode == input.TareUomCode || + (this.TareUomCode != null && + this.TareUomCode.Equals(input.TareUomCode)) + ) && + ( + this.PosDepartmentID == input.PosDepartmentID || + (this.PosDepartmentID != null && + this.PosDepartmentID.Equals(input.PosDepartmentID)) + ) && + ( + this.MainPOSItemId == input.MainPOSItemId || + (this.MainPOSItemId != null && + this.MainPOSItemId.Equals(input.MainPOSItemId)) + ) && + ( + this.MainMerchandiseHierarchyGroupID == input.MainMerchandiseHierarchyGroupID || + (this.MainMerchandiseHierarchyGroupID != null && + this.MainMerchandiseHierarchyGroupID.Equals(input.MainMerchandiseHierarchyGroupID)) + ) && + ( + this.MainMerchandiseHierarchyGroupName == input.MainMerchandiseHierarchyGroupName || + (this.MainMerchandiseHierarchyGroupName != null && + this.MainMerchandiseHierarchyGroupName.Equals(input.MainMerchandiseHierarchyGroupName)) + ) && + ( + this.MainMerchandiseHierarchyGroupDescription == input.MainMerchandiseHierarchyGroupDescription || + (this.MainMerchandiseHierarchyGroupDescription != null && + this.MainMerchandiseHierarchyGroupDescription.Equals(input.MainMerchandiseHierarchyGroupDescription)) + ) && + ( + this.DepositTypeCode == input.DepositTypeCode || + (this.DepositTypeCode != null && + this.DepositTypeCode.Equals(input.DepositTypeCode)) + ) && + ( + this.ItemSellingRule == input.ItemSellingRule || + (this.ItemSellingRule != null && + this.ItemSellingRule.Equals(input.ItemSellingRule)) + ) && + ( + this.StatusCode == input.StatusCode || + (this.StatusCode != null && + this.StatusCode.Equals(input.StatusCode)) + ) && + ( + this.ItemCollectionList == input.ItemCollectionList || + this.ItemCollectionList != null && + this.ItemCollectionList.SequenceEqual(input.ItemCollectionList) + ) && + ( + this.RelatedItemAssociationList == input.RelatedItemAssociationList || + this.RelatedItemAssociationList != null && + this.RelatedItemAssociationList.SequenceEqual(input.RelatedItemAssociationList) + ) && + ( + this.ItemCharacteristicList == input.ItemCharacteristicList || + this.ItemCharacteristicList != null && + this.ItemCharacteristicList.SequenceEqual(input.ItemCharacteristicList) + ) && + ( + this.ItemFeatureList == input.ItemFeatureList || + this.ItemFeatureList != null && + this.ItemFeatureList.SequenceEqual(input.ItemFeatureList) + ) && + ( + this.PosIdentityList == input.PosIdentityList || + this.PosIdentityList != null && + this.PosIdentityList.SequenceEqual(input.PosIdentityList) + ) && + ( + this.SellingPriceList == input.SellingPriceList || + this.SellingPriceList != null && + this.SellingPriceList.SequenceEqual(input.SellingPriceList) + ) && + ( + this.ItemDepositCollectionList == input.ItemDepositCollectionList || + this.ItemDepositCollectionList != null && + this.ItemDepositCollectionList.SequenceEqual(input.ItemDepositCollectionList) + ) && + ( + this.UomItemTextList == input.UomItemTextList || + this.UomItemTextList != null && + this.UomItemTextList.SequenceEqual(input.UomItemTextList) + ) && + ( + this.ItemMHGList == input.ItemMHGList || + this.ItemMHGList != null && + this.ItemMHGList.SequenceEqual(input.ItemMHGList) + ) && + ( + this.SalesRestrictionList == input.SalesRestrictionList || + this.SalesRestrictionList != null && + this.SalesRestrictionList.SequenceEqual(input.SalesRestrictionList) + ) && + ( + this.UpdateStockFlag == input.UpdateStockFlag || + (this.UpdateStockFlag != null && + this.UpdateStockFlag.Equals(input.UpdateStockFlag)) + ) && + ( + this.BaseUOMCode == input.BaseUOMCode || + (this.BaseUOMCode != null && + this.BaseUOMCode.Equals(input.BaseUOMCode)) + ) && + ( + this.ProhibitedForPhysicalInventoryFlag == input.ProhibitedForPhysicalInventoryFlag || + (this.ProhibitedForPhysicalInventoryFlag != null && + this.ProhibitedForPhysicalInventoryFlag.Equals(input.ProhibitedForPhysicalInventoryFlag)) + ) && + ( + this.MinimumShelfLifeDayCount == input.MinimumShelfLifeDayCount || + (this.MinimumShelfLifeDayCount != null && + this.MinimumShelfLifeDayCount.Equals(input.MinimumShelfLifeDayCount)) + ) && + ( + this.LabelType == input.LabelType || + (this.LabelType != null && + this.LabelType.Equals(input.LabelType)) + ) && + ( + this.DiscountTypeCode == input.DiscountTypeCode || + (this.DiscountTypeCode != null && + this.DiscountTypeCode.Equals(input.DiscountTypeCode)) + ) && + ( + this.GlobalLifeDayCount == input.GlobalLifeDayCount || + (this.GlobalLifeDayCount != null && + this.GlobalLifeDayCount.Equals(input.GlobalLifeDayCount)) + ) && + ( + this.ShelfLifeDayCountPercent == input.ShelfLifeDayCountPercent || + (this.ShelfLifeDayCountPercent != null && + this.ShelfLifeDayCountPercent.Equals(input.ShelfLifeDayCountPercent)) + ) && + ( + this.DayCountUOMCode == input.DayCountUOMCode || + (this.DayCountUOMCode != null && + this.DayCountUOMCode.Equals(input.DayCountUOMCode)) + ) && + ( + this.DefaultReceivingLocation == input.DefaultReceivingLocation || + (this.DefaultReceivingLocation != null && + this.DefaultReceivingLocation.Equals(input.DefaultReceivingLocation)) + ) && + ( + this.ConcessionItemFlag == input.ConcessionItemFlag || + (this.ConcessionItemFlag != null && + this.ConcessionItemFlag.Equals(input.ConcessionItemFlag)) + ) && + ( + this.CostItemFlag == input.CostItemFlag || + (this.CostItemFlag != null && + this.CostItemFlag.Equals(input.CostItemFlag)) + ) && + ( + this.MerchandisePlanningTypeCode == input.MerchandisePlanningTypeCode || + (this.MerchandisePlanningTypeCode != null && + this.MerchandisePlanningTypeCode.Equals(input.MerchandisePlanningTypeCode)) + ) && + ( + this.MainSupplierId == input.MainSupplierId || + (this.MainSupplierId != null && + this.MainSupplierId.Equals(input.MainSupplierId)) + ) && + ( + this.VenSafeFlag == input.VenSafeFlag || + (this.VenSafeFlag != null && + this.VenSafeFlag.Equals(input.VenSafeFlag)) + ) && + ( + this.BaseUOMConsumerPackageGrossContent == input.BaseUOMConsumerPackageGrossContent || + (this.BaseUOMConsumerPackageGrossContent != null && + this.BaseUOMConsumerPackageGrossContent.Equals(input.BaseUOMConsumerPackageGrossContent)) + ) && + ( + this.BaseUOMConsumerPackageNetContent == input.BaseUOMConsumerPackageNetContent || + (this.BaseUOMConsumerPackageNetContent != null && + this.BaseUOMConsumerPackageNetContent.Equals(input.BaseUOMConsumerPackageNetContent)) + ) && + ( + this.BaseUOMConsumerPackageContentsUOMCode == input.BaseUOMConsumerPackageContentsUOMCode || + (this.BaseUOMConsumerPackageContentsUOMCode != null && + this.BaseUOMConsumerPackageContentsUOMCode.Equals(input.BaseUOMConsumerPackageContentsUOMCode)) + ) && + ( + this.BaseUOMConsumerPackageBasePriceContent == input.BaseUOMConsumerPackageBasePriceContent || + (this.BaseUOMConsumerPackageBasePriceContent != null && + this.BaseUOMConsumerPackageBasePriceContent.Equals(input.BaseUOMConsumerPackageBasePriceContent)) + ) && + ( + this.BaseUOMConsumerPackageBasePriceContentsUOMCode == input.BaseUOMConsumerPackageBasePriceContentsUOMCode || + (this.BaseUOMConsumerPackageBasePriceContentsUOMCode != null && + this.BaseUOMConsumerPackageBasePriceContentsUOMCode.Equals(input.BaseUOMConsumerPackageBasePriceContentsUOMCode)) + ) && + ( + this.DistributingWarehouseID == input.DistributingWarehouseID || + (this.DistributingWarehouseID != null && + this.DistributingWarehouseID.Equals(input.DistributingWarehouseID)) + ) && + ( + this.DistributionMethodID == input.DistributionMethodID || + (this.DistributionMethodID != null && + this.DistributionMethodID.Equals(input.DistributionMethodID)) + ) && + ( + this.AssortmentID == input.AssortmentID || + (this.AssortmentID != null && + this.AssortmentID.Equals(input.AssortmentID)) + ) && + ( + this.ThirdPartyAssortmentID == input.ThirdPartyAssortmentID || + (this.ThirdPartyAssortmentID != null && + this.ThirdPartyAssortmentID.Equals(input.ThirdPartyAssortmentID)) + ) && + ( + this.TransportAssociationID == input.TransportAssociationID || + (this.TransportAssociationID != null && + this.TransportAssociationID.Equals(input.TransportAssociationID)) + ) && + ( + this.ConcessionItemSupplierID == input.ConcessionItemSupplierID || + (this.ConcessionItemSupplierID != null && + this.ConcessionItemSupplierID.Equals(input.ConcessionItemSupplierID)) + ) && + ( + this.DefaultSellingUOMCode == input.DefaultSellingUOMCode || + (this.DefaultSellingUOMCode != null && + this.DefaultSellingUOMCode.Equals(input.DefaultSellingUOMCode)) + ) && + ( + this.ConversionNumerator == input.ConversionNumerator || + (this.ConversionNumerator != null && + this.ConversionNumerator.Equals(input.ConversionNumerator)) + ) && + ( + this.ConversionDenominator == input.ConversionDenominator || + (this.ConversionDenominator != null && + this.ConversionDenominator.Equals(input.ConversionDenominator)) + ) && + ( + this.ConsumerPackageGrossWeight == input.ConsumerPackageGrossWeight || + (this.ConsumerPackageGrossWeight != null && + this.ConsumerPackageGrossWeight.Equals(input.ConsumerPackageGrossWeight)) + ) && + ( + this.ConsumerPackageNetWeight == input.ConsumerPackageNetWeight || + (this.ConsumerPackageNetWeight != null && + this.ConsumerPackageNetWeight.Equals(input.ConsumerPackageNetWeight)) + ) && + ( + this.ConsumerPackageWeightUOMCode == input.ConsumerPackageWeightUOMCode || + (this.ConsumerPackageWeightUOMCode != null && + this.ConsumerPackageWeightUOMCode.Equals(input.ConsumerPackageWeightUOMCode)) + ) && + ( + this.ConsumerPackageVolume == input.ConsumerPackageVolume || + (this.ConsumerPackageVolume != null && + this.ConsumerPackageVolume.Equals(input.ConsumerPackageVolume)) + ) && + ( + this.ConsumerPackageVolumeUOMCode == input.ConsumerPackageVolumeUOMCode || + (this.ConsumerPackageVolumeUOMCode != null && + this.ConsumerPackageVolumeUOMCode.Equals(input.ConsumerPackageVolumeUOMCode)) + ) && + ( + this.ConsumerPackageDepth == input.ConsumerPackageDepth || + (this.ConsumerPackageDepth != null && + this.ConsumerPackageDepth.Equals(input.ConsumerPackageDepth)) + ) && + ( + this.ConsumerPackageWidth == input.ConsumerPackageWidth || + (this.ConsumerPackageWidth != null && + this.ConsumerPackageWidth.Equals(input.ConsumerPackageWidth)) + ) && + ( + this.ConsumerPackageHeight == input.ConsumerPackageHeight || + (this.ConsumerPackageHeight != null && + this.ConsumerPackageHeight.Equals(input.ConsumerPackageHeight)) + ) && + ( + this.ConsumerPackageSizeUOMCode == input.ConsumerPackageSizeUOMCode || + (this.ConsumerPackageSizeUOMCode != null && + this.ConsumerPackageSizeUOMCode.Equals(input.ConsumerPackageSizeUOMCode)) + ) && + ( + this.OuterPackageTypeCode == input.OuterPackageTypeCode || + (this.OuterPackageTypeCode != null && + this.OuterPackageTypeCode.Equals(input.OuterPackageTypeCode)) + ) && + ( + this.HeadOfficeCarryRequirementTypeCode == input.HeadOfficeCarryRequirementTypeCode || + (this.HeadOfficeCarryRequirementTypeCode != null && + this.HeadOfficeCarryRequirementTypeCode.Equals(input.HeadOfficeCarryRequirementTypeCode)) + ) && + ( + this.HandlingTypeCode == input.HandlingTypeCode || + (this.HandlingTypeCode != null && + this.HandlingTypeCode.Equals(input.HandlingTypeCode)) + ) && + ( + this.StatusEffectiveDate == input.StatusEffectiveDate || + (this.StatusEffectiveDate != null && + this.StatusEffectiveDate.Equals(input.StatusEffectiveDate)) + ) && + ( + this.MaximumStockQuantity == input.MaximumStockQuantity || + (this.MaximumStockQuantity != null && + this.MaximumStockQuantity.Equals(input.MaximumStockQuantity)) + ) && + ( + this.MinimumStockQuantity == input.MinimumStockQuantity || + (this.MinimumStockQuantity != null && + this.MinimumStockQuantity.Equals(input.MinimumStockQuantity)) + ) && + ( + this.ListingEffectiveDate == input.ListingEffectiveDate || + (this.ListingEffectiveDate != null && + this.ListingEffectiveDate.Equals(input.ListingEffectiveDate)) + ) && + ( + this.ListingExpirationDate == input.ListingExpirationDate || + (this.ListingExpirationDate != null && + this.ListingExpirationDate.Equals(input.ListingExpirationDate)) + ) && + ( + this.PriceContractReadList == input.PriceContractReadList || + this.PriceContractReadList != null && + this.PriceContractReadList.SequenceEqual(input.PriceContractReadList) + ) && + ( + this.SelectedPriceContractRead == input.SelectedPriceContractRead || + (this.SelectedPriceContractRead != null && + this.SelectedPriceContractRead.Equals(input.SelectedPriceContractRead)) + ) && + ( + this.UomITEMXXCUSTOM01 == input.UomITEMXXCUSTOM01 || + (this.UomITEMXXCUSTOM01 != null && + this.UomITEMXXCUSTOM01.Equals(input.UomITEMXXCUSTOM01)) + ) && + ( + this.UomITEMXXCUSTOM02 == input.UomITEMXXCUSTOM02 || + (this.UomITEMXXCUSTOM02 != null && + this.UomITEMXXCUSTOM02.Equals(input.UomITEMXXCUSTOM02)) + ) && + ( + this.UomITEMXXCUSTOM03 == input.UomITEMXXCUSTOM03 || + (this.UomITEMXXCUSTOM03 != null && + this.UomITEMXXCUSTOM03.Equals(input.UomITEMXXCUSTOM03)) + ) && + ( + this.UomITEMXXCUSTOM04 == input.UomITEMXXCUSTOM04 || + (this.UomITEMXXCUSTOM04 != null && + this.UomITEMXXCUSTOM04.Equals(input.UomITEMXXCUSTOM04)) + ) && + ( + this.UomITEMXXCUSTOM05 == input.UomITEMXXCUSTOM05 || + (this.UomITEMXXCUSTOM05 != null && + this.UomITEMXXCUSTOM05.Equals(input.UomITEMXXCUSTOM05)) + ) && + ( + this.UomITEMXXCUSTOM06 == input.UomITEMXXCUSTOM06 || + (this.UomITEMXXCUSTOM06 != null && + this.UomITEMXXCUSTOM06.Equals(input.UomITEMXXCUSTOM06)) + ) && + ( + this.UomITEMXXCUSTOM07 == input.UomITEMXXCUSTOM07 || + (this.UomITEMXXCUSTOM07 != null && + this.UomITEMXXCUSTOM07.Equals(input.UomITEMXXCUSTOM07)) + ) && + ( + this.UomITEMXXCUSTOM08 == input.UomITEMXXCUSTOM08 || + (this.UomITEMXXCUSTOM08 != null && + this.UomITEMXXCUSTOM08.Equals(input.UomITEMXXCUSTOM08)) + ) && + ( + this.UomITEMXXCUSTOM09 == input.UomITEMXXCUSTOM09 || + (this.UomITEMXXCUSTOM09 != null && + this.UomITEMXXCUSTOM09.Equals(input.UomITEMXXCUSTOM09)) + ) && + ( + this.UomITEMXXCUSTOM10 == input.UomITEMXXCUSTOM10 || + (this.UomITEMXXCUSTOM10 != null && + this.UomITEMXXCUSTOM10.Equals(input.UomITEMXXCUSTOM10)) + ) && + ( + this.UomITEMXXCUSTOM11 == input.UomITEMXXCUSTOM11 || + (this.UomITEMXXCUSTOM11 != null && + this.UomITEMXXCUSTOM11.Equals(input.UomITEMXXCUSTOM11)) + ) && + ( + this.UomITEMXXCUSTOM12 == input.UomITEMXXCUSTOM12 || + (this.UomITEMXXCUSTOM12 != null && + this.UomITEMXXCUSTOM12.Equals(input.UomITEMXXCUSTOM12)) + ) && + ( + this.UomITEMXXCUSTOM13 == input.UomITEMXXCUSTOM13 || + (this.UomITEMXXCUSTOM13 != null && + this.UomITEMXXCUSTOM13.Equals(input.UomITEMXXCUSTOM13)) + ) && + ( + this.UomITEMXXCUSTOM14 == input.UomITEMXXCUSTOM14 || + (this.UomITEMXXCUSTOM14 != null && + this.UomITEMXXCUSTOM14.Equals(input.UomITEMXXCUSTOM14)) + ) && + ( + this.UomITEMXXCUSTOM15 == input.UomITEMXXCUSTOM15 || + (this.UomITEMXXCUSTOM15 != null && + this.UomITEMXXCUSTOM15.Equals(input.UomITEMXXCUSTOM15)) + ) && + ( + this.UomITEMXXCUSTOM16 == input.UomITEMXXCUSTOM16 || + (this.UomITEMXXCUSTOM16 != null && + this.UomITEMXXCUSTOM16.Equals(input.UomITEMXXCUSTOM16)) + ) && + ( + this.UomITEMXXCUSTOM17 == input.UomITEMXXCUSTOM17 || + (this.UomITEMXXCUSTOM17 != null && + this.UomITEMXXCUSTOM17.Equals(input.UomITEMXXCUSTOM17)) + ) && + ( + this.UomITEMXXCUSTOM18 == input.UomITEMXXCUSTOM18 || + (this.UomITEMXXCUSTOM18 != null && + this.UomITEMXXCUSTOM18.Equals(input.UomITEMXXCUSTOM18)) + ) && + ( + this.UomITEMXXCUSTOM19 == input.UomITEMXXCUSTOM19 || + (this.UomITEMXXCUSTOM19 != null && + this.UomITEMXXCUSTOM19.Equals(input.UomITEMXXCUSTOM19)) + ) && + ( + this.UomITEMXXCUSTOM20 == input.UomITEMXXCUSTOM20 || + (this.UomITEMXXCUSTOM20 != null && + this.UomITEMXXCUSTOM20.Equals(input.UomITEMXXCUSTOM20)) + ) && + ( + this.UomITEMXXCUSTOM21 == input.UomITEMXXCUSTOM21 || + (this.UomITEMXXCUSTOM21 != null && + this.UomITEMXXCUSTOM21.Equals(input.UomITEMXXCUSTOM21)) + ) && + ( + this.UomITEMXXCUSTOM22 == input.UomITEMXXCUSTOM22 || + (this.UomITEMXXCUSTOM22 != null && + this.UomITEMXXCUSTOM22.Equals(input.UomITEMXXCUSTOM22)) + ) && + ( + this.UomITEMXXCUSTOM23 == input.UomITEMXXCUSTOM23 || + (this.UomITEMXXCUSTOM23 != null && + this.UomITEMXXCUSTOM23.Equals(input.UomITEMXXCUSTOM23)) + ) && + ( + this.UomITEMXXCUSTOM24 == input.UomITEMXXCUSTOM24 || + (this.UomITEMXXCUSTOM24 != null && + this.UomITEMXXCUSTOM24.Equals(input.UomITEMXXCUSTOM24)) + ) && + ( + this.UomITEMXXCUSTOM25 == input.UomITEMXXCUSTOM25 || + (this.UomITEMXXCUSTOM25 != null && + this.UomITEMXXCUSTOM25.Equals(input.UomITEMXXCUSTOM25)) + ) && + ( + this.UomITEMXXCUSTOM26 == input.UomITEMXXCUSTOM26 || + (this.UomITEMXXCUSTOM26 != null && + this.UomITEMXXCUSTOM26.Equals(input.UomITEMXXCUSTOM26)) + ) && + ( + this.UomITEMXXCUSTOM27 == input.UomITEMXXCUSTOM27 || + (this.UomITEMXXCUSTOM27 != null && + this.UomITEMXXCUSTOM27.Equals(input.UomITEMXXCUSTOM27)) + ) && + ( + this.UomITEMXXCUSTOM28 == input.UomITEMXXCUSTOM28 || + (this.UomITEMXXCUSTOM28 != null && + this.UomITEMXXCUSTOM28.Equals(input.UomITEMXXCUSTOM28)) + ) && + ( + this.UomITEMXXCUSTOM29 == input.UomITEMXXCUSTOM29 || + (this.UomITEMXXCUSTOM29 != null && + this.UomITEMXXCUSTOM29.Equals(input.UomITEMXXCUSTOM29)) + ) && + ( + this.UomITEMXXCUSTOM30 == input.UomITEMXXCUSTOM30 || + (this.UomITEMXXCUSTOM30 != null && + this.UomITEMXXCUSTOM30.Equals(input.UomITEMXXCUSTOM30)) + ) && + ( + this.Hsncode == input.Hsncode || + (this.Hsncode != null && + this.Hsncode.Equals(input.Hsncode)) + ) && + ( + this.Rfidflag == input.Rfidflag || + (this.Rfidflag != null && + this.Rfidflag.Equals(input.Rfidflag)) + ) && + ( + this.ItemXXCUSTOM01 == input.ItemXXCUSTOM01 || + (this.ItemXXCUSTOM01 != null && + this.ItemXXCUSTOM01.Equals(input.ItemXXCUSTOM01)) + ) && + ( + this.ItemXXCUSTOM02 == input.ItemXXCUSTOM02 || + (this.ItemXXCUSTOM02 != null && + this.ItemXXCUSTOM02.Equals(input.ItemXXCUSTOM02)) + ) && + ( + this.ItemXXCUSTOM03 == input.ItemXXCUSTOM03 || + (this.ItemXXCUSTOM03 != null && + this.ItemXXCUSTOM03.Equals(input.ItemXXCUSTOM03)) + ) && + ( + this.ItemXXCUSTOM04 == input.ItemXXCUSTOM04 || + (this.ItemXXCUSTOM04 != null && + this.ItemXXCUSTOM04.Equals(input.ItemXXCUSTOM04)) + ) && + ( + this.ItemXXCUSTOM05 == input.ItemXXCUSTOM05 || + (this.ItemXXCUSTOM05 != null && + this.ItemXXCUSTOM05.Equals(input.ItemXXCUSTOM05)) + ) && + ( + this.ItemXXCUSTOM06 == input.ItemXXCUSTOM06 || + (this.ItemXXCUSTOM06 != null && + this.ItemXXCUSTOM06.Equals(input.ItemXXCUSTOM06)) + ) && + ( + this.ItemXXCUSTOM07 == input.ItemXXCUSTOM07 || + (this.ItemXXCUSTOM07 != null && + this.ItemXXCUSTOM07.Equals(input.ItemXXCUSTOM07)) + ) && + ( + this.ItemXXCUSTOM08 == input.ItemXXCUSTOM08 || + (this.ItemXXCUSTOM08 != null && + this.ItemXXCUSTOM08.Equals(input.ItemXXCUSTOM08)) + ) && + ( + this.ItemXXCUSTOM09 == input.ItemXXCUSTOM09 || + (this.ItemXXCUSTOM09 != null && + this.ItemXXCUSTOM09.Equals(input.ItemXXCUSTOM09)) + ) && + ( + this.ItemXXCUSTOM10 == input.ItemXXCUSTOM10 || + (this.ItemXXCUSTOM10 != null && + this.ItemXXCUSTOM10.Equals(input.ItemXXCUSTOM10)) + ) && + ( + this.ItemXXCUSTOM11 == input.ItemXXCUSTOM11 || + (this.ItemXXCUSTOM11 != null && + this.ItemXXCUSTOM11.Equals(input.ItemXXCUSTOM11)) + ) && + ( + this.ItemXXCUSTOM12 == input.ItemXXCUSTOM12 || + (this.ItemXXCUSTOM12 != null && + this.ItemXXCUSTOM12.Equals(input.ItemXXCUSTOM12)) + ) && + ( + this.ItemXXCUSTOM13 == input.ItemXXCUSTOM13 || + (this.ItemXXCUSTOM13 != null && + this.ItemXXCUSTOM13.Equals(input.ItemXXCUSTOM13)) + ) && + ( + this.ItemXXCUSTOM14 == input.ItemXXCUSTOM14 || + (this.ItemXXCUSTOM14 != null && + this.ItemXXCUSTOM14.Equals(input.ItemXXCUSTOM14)) + ) && + ( + this.ItemXXCUSTOM15 == input.ItemXXCUSTOM15 || + (this.ItemXXCUSTOM15 != null && + this.ItemXXCUSTOM15.Equals(input.ItemXXCUSTOM15)) + ) && + ( + this.ItemXXCUSTOM16 == input.ItemXXCUSTOM16 || + (this.ItemXXCUSTOM16 != null && + this.ItemXXCUSTOM16.Equals(input.ItemXXCUSTOM16)) + ) && + ( + this.ItemXXCUSTOM17 == input.ItemXXCUSTOM17 || + (this.ItemXXCUSTOM17 != null && + this.ItemXXCUSTOM17.Equals(input.ItemXXCUSTOM17)) + ) && + ( + this.ItemXXCUSTOM18 == input.ItemXXCUSTOM18 || + (this.ItemXXCUSTOM18 != null && + this.ItemXXCUSTOM18.Equals(input.ItemXXCUSTOM18)) + ) && + ( + this.ItemXXCUSTOM19 == input.ItemXXCUSTOM19 || + (this.ItemXXCUSTOM19 != null && + this.ItemXXCUSTOM19.Equals(input.ItemXXCUSTOM19)) + ) && + ( + this.ItemXXCUSTOM20 == input.ItemXXCUSTOM20 || + (this.ItemXXCUSTOM20 != null && + this.ItemXXCUSTOM20.Equals(input.ItemXXCUSTOM20)) + ) && + ( + this.ItemXXCUSTOM21 == input.ItemXXCUSTOM21 || + (this.ItemXXCUSTOM21 != null && + this.ItemXXCUSTOM21.Equals(input.ItemXXCUSTOM21)) + ) && + ( + this.ItemXXCUSTOM22 == input.ItemXXCUSTOM22 || + (this.ItemXXCUSTOM22 != null && + this.ItemXXCUSTOM22.Equals(input.ItemXXCUSTOM22)) + ) && + ( + this.ItemXXCUSTOM23 == input.ItemXXCUSTOM23 || + (this.ItemXXCUSTOM23 != null && + this.ItemXXCUSTOM23.Equals(input.ItemXXCUSTOM23)) + ) && + ( + this.ItemXXCUSTOM24 == input.ItemXXCUSTOM24 || + (this.ItemXXCUSTOM24 != null && + this.ItemXXCUSTOM24.Equals(input.ItemXXCUSTOM24)) + ) && + ( + this.ItemXXCUSTOM25 == input.ItemXXCUSTOM25 || + (this.ItemXXCUSTOM25 != null && + this.ItemXXCUSTOM25.Equals(input.ItemXXCUSTOM25)) + ) && + ( + this.ItemXXCUSTOM26 == input.ItemXXCUSTOM26 || + (this.ItemXXCUSTOM26 != null && + this.ItemXXCUSTOM26.Equals(input.ItemXXCUSTOM26)) + ) && + ( + this.ItemXXCUSTOM27 == input.ItemXXCUSTOM27 || + (this.ItemXXCUSTOM27 != null && + this.ItemXXCUSTOM27.Equals(input.ItemXXCUSTOM27)) + ) && + ( + this.ItemXXCUSTOM28 == input.ItemXXCUSTOM28 || + (this.ItemXXCUSTOM28 != null && + this.ItemXXCUSTOM28.Equals(input.ItemXXCUSTOM28)) + ) && + ( + this.ItemXXCUSTOM29 == input.ItemXXCUSTOM29 || + (this.ItemXXCUSTOM29 != null && + this.ItemXXCUSTOM29.Equals(input.ItemXXCUSTOM29)) + ) && + ( + this.ItemXXCUSTOM30 == input.ItemXXCUSTOM30 || + (this.ItemXXCUSTOM30 != null && + this.ItemXXCUSTOM30.Equals(input.ItemXXCUSTOM30)) + ) && + ( + this.BulkITEMXXCUSTOM01 == input.BulkITEMXXCUSTOM01 || + (this.BulkITEMXXCUSTOM01 != null && + this.BulkITEMXXCUSTOM01.Equals(input.BulkITEMXXCUSTOM01)) + ) && + ( + this.BulkITEMXXCUSTOM02 == input.BulkITEMXXCUSTOM02 || + (this.BulkITEMXXCUSTOM02 != null && + this.BulkITEMXXCUSTOM02.Equals(input.BulkITEMXXCUSTOM02)) + ) && + ( + this.BulkITEMXXCUSTOM03 == input.BulkITEMXXCUSTOM03 || + (this.BulkITEMXXCUSTOM03 != null && + this.BulkITEMXXCUSTOM03.Equals(input.BulkITEMXXCUSTOM03)) + ) && + ( + this.BulkITEMXXCUSTOM04 == input.BulkITEMXXCUSTOM04 || + (this.BulkITEMXXCUSTOM04 != null && + this.BulkITEMXXCUSTOM04.Equals(input.BulkITEMXXCUSTOM04)) + ) && + ( + this.BulkITEMXXCUSTOM05 == input.BulkITEMXXCUSTOM05 || + (this.BulkITEMXXCUSTOM05 != null && + this.BulkITEMXXCUSTOM05.Equals(input.BulkITEMXXCUSTOM05)) + ) && + ( + this.BulkITEMXXCUSTOM06 == input.BulkITEMXXCUSTOM06 || + (this.BulkITEMXXCUSTOM06 != null && + this.BulkITEMXXCUSTOM06.Equals(input.BulkITEMXXCUSTOM06)) + ) && + ( + this.BulkITEMXXCUSTOM07 == input.BulkITEMXXCUSTOM07 || + (this.BulkITEMXXCUSTOM07 != null && + this.BulkITEMXXCUSTOM07.Equals(input.BulkITEMXXCUSTOM07)) + ) && + ( + this.BulkITEMXXCUSTOM08 == input.BulkITEMXXCUSTOM08 || + (this.BulkITEMXXCUSTOM08 != null && + this.BulkITEMXXCUSTOM08.Equals(input.BulkITEMXXCUSTOM08)) + ) && + ( + this.BulkITEMXXCUSTOM09 == input.BulkITEMXXCUSTOM09 || + (this.BulkITEMXXCUSTOM09 != null && + this.BulkITEMXXCUSTOM09.Equals(input.BulkITEMXXCUSTOM09)) + ) && + ( + this.BulkITEMXXCUSTOM10 == input.BulkITEMXXCUSTOM10 || + (this.BulkITEMXXCUSTOM10 != null && + this.BulkITEMXXCUSTOM10.Equals(input.BulkITEMXXCUSTOM10)) + ) && + ( + this.BulkITEMXXCUSTOM11 == input.BulkITEMXXCUSTOM11 || + (this.BulkITEMXXCUSTOM11 != null && + this.BulkITEMXXCUSTOM11.Equals(input.BulkITEMXXCUSTOM11)) + ) && + ( + this.BulkITEMXXCUSTOM12 == input.BulkITEMXXCUSTOM12 || + (this.BulkITEMXXCUSTOM12 != null && + this.BulkITEMXXCUSTOM12.Equals(input.BulkITEMXXCUSTOM12)) + ) && + ( + this.BulkITEMXXCUSTOM13 == input.BulkITEMXXCUSTOM13 || + (this.BulkITEMXXCUSTOM13 != null && + this.BulkITEMXXCUSTOM13.Equals(input.BulkITEMXXCUSTOM13)) + ) && + ( + this.BulkITEMXXCUSTOM14 == input.BulkITEMXXCUSTOM14 || + (this.BulkITEMXXCUSTOM14 != null && + this.BulkITEMXXCUSTOM14.Equals(input.BulkITEMXXCUSTOM14)) + ) && + ( + this.BulkITEMXXCUSTOM15 == input.BulkITEMXXCUSTOM15 || + (this.BulkITEMXXCUSTOM15 != null && + this.BulkITEMXXCUSTOM15.Equals(input.BulkITEMXXCUSTOM15)) + ) && + ( + this.BulkITEMXXCUSTOM16 == input.BulkITEMXXCUSTOM16 || + (this.BulkITEMXXCUSTOM16 != null && + this.BulkITEMXXCUSTOM16.Equals(input.BulkITEMXXCUSTOM16)) + ) && + ( + this.BulkITEMXXCUSTOM17 == input.BulkITEMXXCUSTOM17 || + (this.BulkITEMXXCUSTOM17 != null && + this.BulkITEMXXCUSTOM17.Equals(input.BulkITEMXXCUSTOM17)) + ) && + ( + this.BulkITEMXXCUSTOM18 == input.BulkITEMXXCUSTOM18 || + (this.BulkITEMXXCUSTOM18 != null && + this.BulkITEMXXCUSTOM18.Equals(input.BulkITEMXXCUSTOM18)) + ) && + ( + this.BulkITEMXXCUSTOM19 == input.BulkITEMXXCUSTOM19 || + (this.BulkITEMXXCUSTOM19 != null && + this.BulkITEMXXCUSTOM19.Equals(input.BulkITEMXXCUSTOM19)) + ) && + ( + this.BulkITEMXXCUSTOM20 == input.BulkITEMXXCUSTOM20 || + (this.BulkITEMXXCUSTOM20 != null && + this.BulkITEMXXCUSTOM20.Equals(input.BulkITEMXXCUSTOM20)) + ) && + ( + this.BulkITEMXXCUSTOM21 == input.BulkITEMXXCUSTOM21 || + (this.BulkITEMXXCUSTOM21 != null && + this.BulkITEMXXCUSTOM21.Equals(input.BulkITEMXXCUSTOM21)) + ) && + ( + this.BulkITEMXXCUSTOM22 == input.BulkITEMXXCUSTOM22 || + (this.BulkITEMXXCUSTOM22 != null && + this.BulkITEMXXCUSTOM22.Equals(input.BulkITEMXXCUSTOM22)) + ) && + ( + this.BulkITEMXXCUSTOM23 == input.BulkITEMXXCUSTOM23 || + (this.BulkITEMXXCUSTOM23 != null && + this.BulkITEMXXCUSTOM23.Equals(input.BulkITEMXXCUSTOM23)) + ) && + ( + this.BulkITEMXXCUSTOM24 == input.BulkITEMXXCUSTOM24 || + (this.BulkITEMXXCUSTOM24 != null && + this.BulkITEMXXCUSTOM24.Equals(input.BulkITEMXXCUSTOM24)) + ) && + ( + this.BulkITEMXXCUSTOM25 == input.BulkITEMXXCUSTOM25 || + (this.BulkITEMXXCUSTOM25 != null && + this.BulkITEMXXCUSTOM25.Equals(input.BulkITEMXXCUSTOM25)) + ) && + ( + this.BulkITEMXXCUSTOM26 == input.BulkITEMXXCUSTOM26 || + (this.BulkITEMXXCUSTOM26 != null && + this.BulkITEMXXCUSTOM26.Equals(input.BulkITEMXXCUSTOM26)) + ) && + ( + this.BulkITEMXXCUSTOM27 == input.BulkITEMXXCUSTOM27 || + (this.BulkITEMXXCUSTOM27 != null && + this.BulkITEMXXCUSTOM27.Equals(input.BulkITEMXXCUSTOM27)) + ) && + ( + this.BulkITEMXXCUSTOM28 == input.BulkITEMXXCUSTOM28 || + (this.BulkITEMXXCUSTOM28 != null && + this.BulkITEMXXCUSTOM28.Equals(input.BulkITEMXXCUSTOM28)) + ) && + ( + this.BulkITEMXXCUSTOM29 == input.BulkITEMXXCUSTOM29 || + (this.BulkITEMXXCUSTOM29 != null && + this.BulkITEMXXCUSTOM29.Equals(input.BulkITEMXXCUSTOM29)) + ) && + ( + this.BulkITEMXXCUSTOM30 == input.BulkITEMXXCUSTOM30 || + (this.BulkITEMXXCUSTOM30 != null && + this.BulkITEMXXCUSTOM30.Equals(input.BulkITEMXXCUSTOM30)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.UomName != null) + hashCode = hashCode * 59 + this.UomName.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.ClassCode != null) + hashCode = hashCode * 59 + this.ClassCode.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.AlternativeTaxGroupID != null) + hashCode = hashCode * 59 + this.AlternativeTaxGroupID.GetHashCode(); + if (this.TaxGroupReceiptPrintCode != null) + hashCode = hashCode * 59 + this.TaxGroupReceiptPrintCode.GetHashCode(); + if (this.ItemUsageTypeCode != null) + hashCode = hashCode * 59 + this.ItemUsageTypeCode.GetHashCode(); + if (this.TaxExemptCode != null) + hashCode = hashCode * 59 + this.TaxExemptCode.GetHashCode(); + if (this.WarrantyPeriod != null) + hashCode = hashCode * 59 + this.WarrantyPeriod.GetHashCode(); + if (this.TareId != null) + hashCode = hashCode * 59 + this.TareId.GetHashCode(); + if (this.TareUomCode != null) + hashCode = hashCode * 59 + this.TareUomCode.GetHashCode(); + if (this.PosDepartmentID != null) + hashCode = hashCode * 59 + this.PosDepartmentID.GetHashCode(); + if (this.MainPOSItemId != null) + hashCode = hashCode * 59 + this.MainPOSItemId.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupID.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupName != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupName.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupDescription != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupDescription.GetHashCode(); + if (this.DepositTypeCode != null) + hashCode = hashCode * 59 + this.DepositTypeCode.GetHashCode(); + if (this.ItemSellingRule != null) + hashCode = hashCode * 59 + this.ItemSellingRule.GetHashCode(); + if (this.StatusCode != null) + hashCode = hashCode * 59 + this.StatusCode.GetHashCode(); + if (this.ItemCollectionList != null) + hashCode = hashCode * 59 + this.ItemCollectionList.GetHashCode(); + if (this.RelatedItemAssociationList != null) + hashCode = hashCode * 59 + this.RelatedItemAssociationList.GetHashCode(); + if (this.ItemCharacteristicList != null) + hashCode = hashCode * 59 + this.ItemCharacteristicList.GetHashCode(); + if (this.ItemFeatureList != null) + hashCode = hashCode * 59 + this.ItemFeatureList.GetHashCode(); + if (this.PosIdentityList != null) + hashCode = hashCode * 59 + this.PosIdentityList.GetHashCode(); + if (this.SellingPriceList != null) + hashCode = hashCode * 59 + this.SellingPriceList.GetHashCode(); + if (this.ItemDepositCollectionList != null) + hashCode = hashCode * 59 + this.ItemDepositCollectionList.GetHashCode(); + if (this.UomItemTextList != null) + hashCode = hashCode * 59 + this.UomItemTextList.GetHashCode(); + if (this.ItemMHGList != null) + hashCode = hashCode * 59 + this.ItemMHGList.GetHashCode(); + if (this.SalesRestrictionList != null) + hashCode = hashCode * 59 + this.SalesRestrictionList.GetHashCode(); + if (this.UpdateStockFlag != null) + hashCode = hashCode * 59 + this.UpdateStockFlag.GetHashCode(); + if (this.BaseUOMCode != null) + hashCode = hashCode * 59 + this.BaseUOMCode.GetHashCode(); + if (this.ProhibitedForPhysicalInventoryFlag != null) + hashCode = hashCode * 59 + this.ProhibitedForPhysicalInventoryFlag.GetHashCode(); + if (this.MinimumShelfLifeDayCount != null) + hashCode = hashCode * 59 + this.MinimumShelfLifeDayCount.GetHashCode(); + if (this.LabelType != null) + hashCode = hashCode * 59 + this.LabelType.GetHashCode(); + if (this.DiscountTypeCode != null) + hashCode = hashCode * 59 + this.DiscountTypeCode.GetHashCode(); + if (this.GlobalLifeDayCount != null) + hashCode = hashCode * 59 + this.GlobalLifeDayCount.GetHashCode(); + if (this.ShelfLifeDayCountPercent != null) + hashCode = hashCode * 59 + this.ShelfLifeDayCountPercent.GetHashCode(); + if (this.DayCountUOMCode != null) + hashCode = hashCode * 59 + this.DayCountUOMCode.GetHashCode(); + if (this.DefaultReceivingLocation != null) + hashCode = hashCode * 59 + this.DefaultReceivingLocation.GetHashCode(); + if (this.ConcessionItemFlag != null) + hashCode = hashCode * 59 + this.ConcessionItemFlag.GetHashCode(); + if (this.CostItemFlag != null) + hashCode = hashCode * 59 + this.CostItemFlag.GetHashCode(); + if (this.MerchandisePlanningTypeCode != null) + hashCode = hashCode * 59 + this.MerchandisePlanningTypeCode.GetHashCode(); + if (this.MainSupplierId != null) + hashCode = hashCode * 59 + this.MainSupplierId.GetHashCode(); + if (this.VenSafeFlag != null) + hashCode = hashCode * 59 + this.VenSafeFlag.GetHashCode(); + if (this.BaseUOMConsumerPackageGrossContent != null) + hashCode = hashCode * 59 + this.BaseUOMConsumerPackageGrossContent.GetHashCode(); + if (this.BaseUOMConsumerPackageNetContent != null) + hashCode = hashCode * 59 + this.BaseUOMConsumerPackageNetContent.GetHashCode(); + if (this.BaseUOMConsumerPackageContentsUOMCode != null) + hashCode = hashCode * 59 + this.BaseUOMConsumerPackageContentsUOMCode.GetHashCode(); + if (this.BaseUOMConsumerPackageBasePriceContent != null) + hashCode = hashCode * 59 + this.BaseUOMConsumerPackageBasePriceContent.GetHashCode(); + if (this.BaseUOMConsumerPackageBasePriceContentsUOMCode != null) + hashCode = hashCode * 59 + this.BaseUOMConsumerPackageBasePriceContentsUOMCode.GetHashCode(); + if (this.DistributingWarehouseID != null) + hashCode = hashCode * 59 + this.DistributingWarehouseID.GetHashCode(); + if (this.DistributionMethodID != null) + hashCode = hashCode * 59 + this.DistributionMethodID.GetHashCode(); + if (this.AssortmentID != null) + hashCode = hashCode * 59 + this.AssortmentID.GetHashCode(); + if (this.ThirdPartyAssortmentID != null) + hashCode = hashCode * 59 + this.ThirdPartyAssortmentID.GetHashCode(); + if (this.TransportAssociationID != null) + hashCode = hashCode * 59 + this.TransportAssociationID.GetHashCode(); + if (this.ConcessionItemSupplierID != null) + hashCode = hashCode * 59 + this.ConcessionItemSupplierID.GetHashCode(); + if (this.DefaultSellingUOMCode != null) + hashCode = hashCode * 59 + this.DefaultSellingUOMCode.GetHashCode(); + if (this.ConversionNumerator != null) + hashCode = hashCode * 59 + this.ConversionNumerator.GetHashCode(); + if (this.ConversionDenominator != null) + hashCode = hashCode * 59 + this.ConversionDenominator.GetHashCode(); + if (this.ConsumerPackageGrossWeight != null) + hashCode = hashCode * 59 + this.ConsumerPackageGrossWeight.GetHashCode(); + if (this.ConsumerPackageNetWeight != null) + hashCode = hashCode * 59 + this.ConsumerPackageNetWeight.GetHashCode(); + if (this.ConsumerPackageWeightUOMCode != null) + hashCode = hashCode * 59 + this.ConsumerPackageWeightUOMCode.GetHashCode(); + if (this.ConsumerPackageVolume != null) + hashCode = hashCode * 59 + this.ConsumerPackageVolume.GetHashCode(); + if (this.ConsumerPackageVolumeUOMCode != null) + hashCode = hashCode * 59 + this.ConsumerPackageVolumeUOMCode.GetHashCode(); + if (this.ConsumerPackageDepth != null) + hashCode = hashCode * 59 + this.ConsumerPackageDepth.GetHashCode(); + if (this.ConsumerPackageWidth != null) + hashCode = hashCode * 59 + this.ConsumerPackageWidth.GetHashCode(); + if (this.ConsumerPackageHeight != null) + hashCode = hashCode * 59 + this.ConsumerPackageHeight.GetHashCode(); + if (this.ConsumerPackageSizeUOMCode != null) + hashCode = hashCode * 59 + this.ConsumerPackageSizeUOMCode.GetHashCode(); + if (this.OuterPackageTypeCode != null) + hashCode = hashCode * 59 + this.OuterPackageTypeCode.GetHashCode(); + if (this.HeadOfficeCarryRequirementTypeCode != null) + hashCode = hashCode * 59 + this.HeadOfficeCarryRequirementTypeCode.GetHashCode(); + if (this.HandlingTypeCode != null) + hashCode = hashCode * 59 + this.HandlingTypeCode.GetHashCode(); + if (this.StatusEffectiveDate != null) + hashCode = hashCode * 59 + this.StatusEffectiveDate.GetHashCode(); + if (this.MaximumStockQuantity != null) + hashCode = hashCode * 59 + this.MaximumStockQuantity.GetHashCode(); + if (this.MinimumStockQuantity != null) + hashCode = hashCode * 59 + this.MinimumStockQuantity.GetHashCode(); + if (this.ListingEffectiveDate != null) + hashCode = hashCode * 59 + this.ListingEffectiveDate.GetHashCode(); + if (this.ListingExpirationDate != null) + hashCode = hashCode * 59 + this.ListingExpirationDate.GetHashCode(); + if (this.PriceContractReadList != null) + hashCode = hashCode * 59 + this.PriceContractReadList.GetHashCode(); + if (this.SelectedPriceContractRead != null) + hashCode = hashCode * 59 + this.SelectedPriceContractRead.GetHashCode(); + if (this.UomITEMXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM01.GetHashCode(); + if (this.UomITEMXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM02.GetHashCode(); + if (this.UomITEMXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM03.GetHashCode(); + if (this.UomITEMXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM04.GetHashCode(); + if (this.UomITEMXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM05.GetHashCode(); + if (this.UomITEMXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM06.GetHashCode(); + if (this.UomITEMXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM07.GetHashCode(); + if (this.UomITEMXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM08.GetHashCode(); + if (this.UomITEMXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM09.GetHashCode(); + if (this.UomITEMXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM10.GetHashCode(); + if (this.UomITEMXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM11.GetHashCode(); + if (this.UomITEMXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM12.GetHashCode(); + if (this.UomITEMXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM13.GetHashCode(); + if (this.UomITEMXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM14.GetHashCode(); + if (this.UomITEMXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM15.GetHashCode(); + if (this.UomITEMXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM16.GetHashCode(); + if (this.UomITEMXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM17.GetHashCode(); + if (this.UomITEMXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM18.GetHashCode(); + if (this.UomITEMXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM19.GetHashCode(); + if (this.UomITEMXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM20.GetHashCode(); + if (this.UomITEMXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM21.GetHashCode(); + if (this.UomITEMXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM22.GetHashCode(); + if (this.UomITEMXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM23.GetHashCode(); + if (this.UomITEMXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM24.GetHashCode(); + if (this.UomITEMXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM25.GetHashCode(); + if (this.UomITEMXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM26.GetHashCode(); + if (this.UomITEMXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM27.GetHashCode(); + if (this.UomITEMXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM28.GetHashCode(); + if (this.UomITEMXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM29.GetHashCode(); + if (this.UomITEMXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM30.GetHashCode(); + if (this.Hsncode != null) + hashCode = hashCode * 59 + this.Hsncode.GetHashCode(); + if (this.Rfidflag != null) + hashCode = hashCode * 59 + this.Rfidflag.GetHashCode(); + if (this.ItemXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM01.GetHashCode(); + if (this.ItemXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM02.GetHashCode(); + if (this.ItemXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM03.GetHashCode(); + if (this.ItemXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM04.GetHashCode(); + if (this.ItemXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM05.GetHashCode(); + if (this.ItemXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM06.GetHashCode(); + if (this.ItemXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM07.GetHashCode(); + if (this.ItemXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM08.GetHashCode(); + if (this.ItemXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM09.GetHashCode(); + if (this.ItemXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM10.GetHashCode(); + if (this.ItemXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM11.GetHashCode(); + if (this.ItemXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM12.GetHashCode(); + if (this.ItemXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM13.GetHashCode(); + if (this.ItemXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM14.GetHashCode(); + if (this.ItemXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM15.GetHashCode(); + if (this.ItemXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM16.GetHashCode(); + if (this.ItemXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM17.GetHashCode(); + if (this.ItemXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM18.GetHashCode(); + if (this.ItemXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM19.GetHashCode(); + if (this.ItemXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM20.GetHashCode(); + if (this.ItemXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM21.GetHashCode(); + if (this.ItemXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM22.GetHashCode(); + if (this.ItemXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM23.GetHashCode(); + if (this.ItemXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM24.GetHashCode(); + if (this.ItemXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM25.GetHashCode(); + if (this.ItemXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM26.GetHashCode(); + if (this.ItemXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM27.GetHashCode(); + if (this.ItemXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM28.GetHashCode(); + if (this.ItemXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM29.GetHashCode(); + if (this.ItemXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM30.GetHashCode(); + if (this.BulkITEMXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM01.GetHashCode(); + if (this.BulkITEMXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM02.GetHashCode(); + if (this.BulkITEMXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM03.GetHashCode(); + if (this.BulkITEMXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM04.GetHashCode(); + if (this.BulkITEMXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM05.GetHashCode(); + if (this.BulkITEMXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM06.GetHashCode(); + if (this.BulkITEMXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM07.GetHashCode(); + if (this.BulkITEMXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM08.GetHashCode(); + if (this.BulkITEMXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM09.GetHashCode(); + if (this.BulkITEMXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM10.GetHashCode(); + if (this.BulkITEMXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM11.GetHashCode(); + if (this.BulkITEMXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM12.GetHashCode(); + if (this.BulkITEMXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM13.GetHashCode(); + if (this.BulkITEMXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM14.GetHashCode(); + if (this.BulkITEMXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM15.GetHashCode(); + if (this.BulkITEMXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM16.GetHashCode(); + if (this.BulkITEMXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM17.GetHashCode(); + if (this.BulkITEMXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM18.GetHashCode(); + if (this.BulkITEMXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM19.GetHashCode(); + if (this.BulkITEMXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM20.GetHashCode(); + if (this.BulkITEMXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM21.GetHashCode(); + if (this.BulkITEMXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM22.GetHashCode(); + if (this.BulkITEMXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM23.GetHashCode(); + if (this.BulkITEMXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM24.GetHashCode(); + if (this.BulkITEMXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM25.GetHashCode(); + if (this.BulkITEMXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM26.GetHashCode(); + if (this.BulkITEMXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM27.GetHashCode(); + if (this.BulkITEMXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM28.GetHashCode(); + if (this.BulkITEMXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM29.GetHashCode(); + if (this.BulkITEMXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.BulkITEMXXCUSTOM30.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..42c430fa91f3e2ae4be089f53225b41c68f88291 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> (required). + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> (required). + /// <p>Unit of measure code<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey(string businessUnitGroupID = default(string), string itemID = default(string), string uomCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "uomCode" is required (not null) + if (uomCode == null) + { + throw new InvalidDataException("uomCode is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey and cannot be null"); + } + else + { + this.UomCode = uomCode; + } + } + + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection.cs new file mode 100644 index 0000000000000000000000000000000000000000..9f41d1add481fcb571f85325dfc0ce228912921f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemDepositCollection <p>Item deposit collection contains a reference to the deposit item connected to this item (e.g. reference to the bottle for a beer).<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The number of individual member items that are assembled in this deposit collection.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey), double? perAssemblyCount = default(double?)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection and cannot be null"); + } + else + { + this.Key = key; + } + this.PerAssemblyCount = perAssemblyCount; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey Key { get; set; } + + /// + /// <p>The number of individual member items that are assembled in this deposit collection.<br /></p> + /// + /// <p>The number of individual member items that are assembled in this deposit collection.<br /></p> + [DataMember(Name="perAssemblyCount", EmitDefaultValue=false)] + public double? PerAssemblyCount { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PerAssemblyCount: ").Append(PerAssemblyCount).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PerAssemblyCount == input.PerAssemblyCount || + (this.PerAssemblyCount != null && + this.PerAssemblyCount.Equals(input.PerAssemblyCount)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PerAssemblyCount != null) + hashCode = hashCode * 59 + this.PerAssemblyCount.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..712076e7b0f770c56717885d9aa78910783e4824 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemDepositCollection.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Reference to the member of the deposit collection<br /></p> (required). + /// <p>The unit of measure of the member item<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey(string memberItemId = default(string), string memberUOMCode = default(string)) + { + // to ensure "memberItemId" is required (not null) + if (memberItemId == null) + { + throw new InvalidDataException("memberItemId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey and cannot be null"); + } + else + { + this.MemberItemId = memberItemId; + } + // to ensure "memberUOMCode" is required (not null) + if (memberUOMCode == null) + { + throw new InvalidDataException("memberUOMCode is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey and cannot be null"); + } + else + { + this.MemberUOMCode = memberUOMCode; + } + } + + /// + /// <p>Reference to the member of the deposit collection<br /></p> + /// + /// <p>Reference to the member of the deposit collection<br /></p> + [DataMember(Name="memberItemId", EmitDefaultValue=false)] + public string MemberItemId { get; set; } + + /// + /// <p>The unit of measure of the member item<br /></p> + /// + /// <p>The unit of measure of the member item<br /></p> + [DataMember(Name="memberUOMCode", EmitDefaultValue=false)] + public string MemberUOMCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey {\n"); + sb.Append(" MemberItemId: ").Append(MemberItemId).Append("\n"); + sb.Append(" MemberUOMCode: ").Append(MemberUOMCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey input) + { + if (input == null) + return false; + + return + ( + this.MemberItemId == input.MemberItemId || + (this.MemberItemId != null && + this.MemberItemId.Equals(input.MemberItemId)) + ) && + ( + this.MemberUOMCode == input.MemberUOMCode || + (this.MemberUOMCode != null && + this.MemberUOMCode.Equals(input.MemberUOMCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MemberItemId != null) + hashCode = hashCode * 59 + this.MemberItemId.GetHashCode(); + if (this.MemberUOMCode != null) + hashCode = hashCode * 59 + this.MemberUOMCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature.cs new file mode 100644 index 0000000000000000000000000000000000000000..7554b5695e41d8098851fb1f03c85ed5d1c953de --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature.cs @@ -0,0 +1,154 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemFeature <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// featureValue. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey), string featureValue = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature and cannot be null"); + } + else + { + this.Key = key; + } + this.FeatureValue = featureValue; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey Key { get; set; } + + /// + /// Gets or Sets FeatureValue + /// + [DataMember(Name="featureValue", EmitDefaultValue=false)] + public string FeatureValue { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" FeatureValue: ").Append(FeatureValue).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.FeatureValue == input.FeatureValue || + (this.FeatureValue != null && + this.FeatureValue.Equals(input.FeatureValue)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.FeatureValue != null) + hashCode = hashCode * 59 + this.FeatureValue.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..54ca3fb8a48b000286fec7d4680de951f65bd673 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey.cs @@ -0,0 +1,137 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemFeature.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey() { } + /// + /// Initializes a new instance of the class. + /// + /// featureCode (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey(string featureCode = default(string)) + { + // to ensure "featureCode" is required (not null) + if (featureCode == null) + { + throw new InvalidDataException("featureCode is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey and cannot be null"); + } + else + { + this.FeatureCode = featureCode; + } + } + + /// + /// Gets or Sets FeatureCode + /// + [DataMember(Name="featureCode", EmitDefaultValue=false)] + public string FeatureCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey {\n"); + sb.Append(" FeatureCode: ").Append(FeatureCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey input) + { + if (input == null) + return false; + + return + ( + this.FeatureCode == input.FeatureCode || + (this.FeatureCode != null && + this.FeatureCode.Equals(input.FeatureCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FeatureCode != null) + hashCode = hashCode * 59 + this.FeatureCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG.cs new file mode 100644 index 0000000000000000000000000000000000000000..a135cb4d9f9520ab3552be17c4b8f74db98e1668 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG.cs @@ -0,0 +1,665 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemMHG <p>Relation of this item to a merchandise hierarchy group<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey), string merchandiseHierarchyGroupIDQualifier = default(string), string xxCUSTOM18 = default(string), string xxCUSTOM19 = default(string), string xxCUSTOM20 = default(string), string xxCUSTOM21 = default(string), string xxCUSTOM22 = default(string), string xxCUSTOM23 = default(string), string xxCUSTOM24 = default(string), string xxCUSTOM25 = default(string), string xxCUSTOM26 = default(string), string xxCUSTOM27 = default(string), string xxCUSTOM28 = default(string), string xxCUSTOM29 = default(string), string xxCUSTOM30 = default(string), string xxCUSTOM01 = default(string), string xxCUSTOM02 = default(string), string xxCUSTOM03 = default(string), string xxCUSTOM04 = default(string), string xxCUSTOM05 = default(string), string xxCUSTOM06 = default(string), string xxCUSTOM07 = default(string), string xxCUSTOM08 = default(string), string xxCUSTOM09 = default(string), string xxCUSTOM10 = default(string), string xxCUSTOM11 = default(string), string xxCUSTOM12 = default(string), string xxCUSTOM13 = default(string), string xxCUSTOM14 = default(string), string xxCUSTOM15 = default(string), string xxCUSTOM16 = default(string), string xxCUSTOM17 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG and cannot be null"); + } + else + { + this.Key = key; + } + this.MerchandiseHierarchyGroupIDQualifier = merchandiseHierarchyGroupIDQualifier; + this.XxCUSTOM18 = xxCUSTOM18; + this.XxCUSTOM19 = xxCUSTOM19; + this.XxCUSTOM20 = xxCUSTOM20; + this.XxCUSTOM21 = xxCUSTOM21; + this.XxCUSTOM22 = xxCUSTOM22; + this.XxCUSTOM23 = xxCUSTOM23; + this.XxCUSTOM24 = xxCUSTOM24; + this.XxCUSTOM25 = xxCUSTOM25; + this.XxCUSTOM26 = xxCUSTOM26; + this.XxCUSTOM27 = xxCUSTOM27; + this.XxCUSTOM28 = xxCUSTOM28; + this.XxCUSTOM29 = xxCUSTOM29; + this.XxCUSTOM30 = xxCUSTOM30; + this.XxCUSTOM01 = xxCUSTOM01; + this.XxCUSTOM02 = xxCUSTOM02; + this.XxCUSTOM03 = xxCUSTOM03; + this.XxCUSTOM04 = xxCUSTOM04; + this.XxCUSTOM05 = xxCUSTOM05; + this.XxCUSTOM06 = xxCUSTOM06; + this.XxCUSTOM07 = xxCUSTOM07; + this.XxCUSTOM08 = xxCUSTOM08; + this.XxCUSTOM09 = xxCUSTOM09; + this.XxCUSTOM10 = xxCUSTOM10; + this.XxCUSTOM11 = xxCUSTOM11; + this.XxCUSTOM12 = xxCUSTOM12; + this.XxCUSTOM13 = xxCUSTOM13; + this.XxCUSTOM14 = xxCUSTOM14; + this.XxCUSTOM15 = xxCUSTOM15; + this.XxCUSTOM16 = xxCUSTOM16; + this.XxCUSTOM17 = xxCUSTOM17; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey Key { get; set; } + + /// + /// <p>Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id<br /></p> + /// + /// <p>Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id<br /></p> + [DataMember(Name="merchandiseHierarchyGroupIDQualifier", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupIDQualifier { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_18", EmitDefaultValue=false)] + public string XxCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_19", EmitDefaultValue=false)] + public string XxCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_20", EmitDefaultValue=false)] + public string XxCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_21", EmitDefaultValue=false)] + public string XxCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_22", EmitDefaultValue=false)] + public string XxCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_23", EmitDefaultValue=false)] + public string XxCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_24", EmitDefaultValue=false)] + public string XxCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_25", EmitDefaultValue=false)] + public string XxCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_26", EmitDefaultValue=false)] + public string XxCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_27", EmitDefaultValue=false)] + public string XxCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_28", EmitDefaultValue=false)] + public string XxCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_29", EmitDefaultValue=false)] + public string XxCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_30", EmitDefaultValue=false)] + public string XxCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_01", EmitDefaultValue=false)] + public string XxCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_02", EmitDefaultValue=false)] + public string XxCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_03", EmitDefaultValue=false)] + public string XxCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_04", EmitDefaultValue=false)] + public string XxCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_05", EmitDefaultValue=false)] + public string XxCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_06", EmitDefaultValue=false)] + public string XxCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_07", EmitDefaultValue=false)] + public string XxCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_08", EmitDefaultValue=false)] + public string XxCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_09", EmitDefaultValue=false)] + public string XxCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_10", EmitDefaultValue=false)] + public string XxCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_11", EmitDefaultValue=false)] + public string XxCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_12", EmitDefaultValue=false)] + public string XxCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_13", EmitDefaultValue=false)] + public string XxCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_14", EmitDefaultValue=false)] + public string XxCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_15", EmitDefaultValue=false)] + public string XxCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_16", EmitDefaultValue=false)] + public string XxCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_17", EmitDefaultValue=false)] + public string XxCUSTOM17 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupIDQualifier: ").Append(MerchandiseHierarchyGroupIDQualifier).Append("\n"); + sb.Append(" XxCUSTOM18: ").Append(XxCUSTOM18).Append("\n"); + sb.Append(" XxCUSTOM19: ").Append(XxCUSTOM19).Append("\n"); + sb.Append(" XxCUSTOM20: ").Append(XxCUSTOM20).Append("\n"); + sb.Append(" XxCUSTOM21: ").Append(XxCUSTOM21).Append("\n"); + sb.Append(" XxCUSTOM22: ").Append(XxCUSTOM22).Append("\n"); + sb.Append(" XxCUSTOM23: ").Append(XxCUSTOM23).Append("\n"); + sb.Append(" XxCUSTOM24: ").Append(XxCUSTOM24).Append("\n"); + sb.Append(" XxCUSTOM25: ").Append(XxCUSTOM25).Append("\n"); + sb.Append(" XxCUSTOM26: ").Append(XxCUSTOM26).Append("\n"); + sb.Append(" XxCUSTOM27: ").Append(XxCUSTOM27).Append("\n"); + sb.Append(" XxCUSTOM28: ").Append(XxCUSTOM28).Append("\n"); + sb.Append(" XxCUSTOM29: ").Append(XxCUSTOM29).Append("\n"); + sb.Append(" XxCUSTOM30: ").Append(XxCUSTOM30).Append("\n"); + sb.Append(" XxCUSTOM01: ").Append(XxCUSTOM01).Append("\n"); + sb.Append(" XxCUSTOM02: ").Append(XxCUSTOM02).Append("\n"); + sb.Append(" XxCUSTOM03: ").Append(XxCUSTOM03).Append("\n"); + sb.Append(" XxCUSTOM04: ").Append(XxCUSTOM04).Append("\n"); + sb.Append(" XxCUSTOM05: ").Append(XxCUSTOM05).Append("\n"); + sb.Append(" XxCUSTOM06: ").Append(XxCUSTOM06).Append("\n"); + sb.Append(" XxCUSTOM07: ").Append(XxCUSTOM07).Append("\n"); + sb.Append(" XxCUSTOM08: ").Append(XxCUSTOM08).Append("\n"); + sb.Append(" XxCUSTOM09: ").Append(XxCUSTOM09).Append("\n"); + sb.Append(" XxCUSTOM10: ").Append(XxCUSTOM10).Append("\n"); + sb.Append(" XxCUSTOM11: ").Append(XxCUSTOM11).Append("\n"); + sb.Append(" XxCUSTOM12: ").Append(XxCUSTOM12).Append("\n"); + sb.Append(" XxCUSTOM13: ").Append(XxCUSTOM13).Append("\n"); + sb.Append(" XxCUSTOM14: ").Append(XxCUSTOM14).Append("\n"); + sb.Append(" XxCUSTOM15: ").Append(XxCUSTOM15).Append("\n"); + sb.Append(" XxCUSTOM16: ").Append(XxCUSTOM16).Append("\n"); + sb.Append(" XxCUSTOM17: ").Append(XxCUSTOM17).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.MerchandiseHierarchyGroupIDQualifier == input.MerchandiseHierarchyGroupIDQualifier || + (this.MerchandiseHierarchyGroupIDQualifier != null && + this.MerchandiseHierarchyGroupIDQualifier.Equals(input.MerchandiseHierarchyGroupIDQualifier)) + ) && + ( + this.XxCUSTOM18 == input.XxCUSTOM18 || + (this.XxCUSTOM18 != null && + this.XxCUSTOM18.Equals(input.XxCUSTOM18)) + ) && + ( + this.XxCUSTOM19 == input.XxCUSTOM19 || + (this.XxCUSTOM19 != null && + this.XxCUSTOM19.Equals(input.XxCUSTOM19)) + ) && + ( + this.XxCUSTOM20 == input.XxCUSTOM20 || + (this.XxCUSTOM20 != null && + this.XxCUSTOM20.Equals(input.XxCUSTOM20)) + ) && + ( + this.XxCUSTOM21 == input.XxCUSTOM21 || + (this.XxCUSTOM21 != null && + this.XxCUSTOM21.Equals(input.XxCUSTOM21)) + ) && + ( + this.XxCUSTOM22 == input.XxCUSTOM22 || + (this.XxCUSTOM22 != null && + this.XxCUSTOM22.Equals(input.XxCUSTOM22)) + ) && + ( + this.XxCUSTOM23 == input.XxCUSTOM23 || + (this.XxCUSTOM23 != null && + this.XxCUSTOM23.Equals(input.XxCUSTOM23)) + ) && + ( + this.XxCUSTOM24 == input.XxCUSTOM24 || + (this.XxCUSTOM24 != null && + this.XxCUSTOM24.Equals(input.XxCUSTOM24)) + ) && + ( + this.XxCUSTOM25 == input.XxCUSTOM25 || + (this.XxCUSTOM25 != null && + this.XxCUSTOM25.Equals(input.XxCUSTOM25)) + ) && + ( + this.XxCUSTOM26 == input.XxCUSTOM26 || + (this.XxCUSTOM26 != null && + this.XxCUSTOM26.Equals(input.XxCUSTOM26)) + ) && + ( + this.XxCUSTOM27 == input.XxCUSTOM27 || + (this.XxCUSTOM27 != null && + this.XxCUSTOM27.Equals(input.XxCUSTOM27)) + ) && + ( + this.XxCUSTOM28 == input.XxCUSTOM28 || + (this.XxCUSTOM28 != null && + this.XxCUSTOM28.Equals(input.XxCUSTOM28)) + ) && + ( + this.XxCUSTOM29 == input.XxCUSTOM29 || + (this.XxCUSTOM29 != null && + this.XxCUSTOM29.Equals(input.XxCUSTOM29)) + ) && + ( + this.XxCUSTOM30 == input.XxCUSTOM30 || + (this.XxCUSTOM30 != null && + this.XxCUSTOM30.Equals(input.XxCUSTOM30)) + ) && + ( + this.XxCUSTOM01 == input.XxCUSTOM01 || + (this.XxCUSTOM01 != null && + this.XxCUSTOM01.Equals(input.XxCUSTOM01)) + ) && + ( + this.XxCUSTOM02 == input.XxCUSTOM02 || + (this.XxCUSTOM02 != null && + this.XxCUSTOM02.Equals(input.XxCUSTOM02)) + ) && + ( + this.XxCUSTOM03 == input.XxCUSTOM03 || + (this.XxCUSTOM03 != null && + this.XxCUSTOM03.Equals(input.XxCUSTOM03)) + ) && + ( + this.XxCUSTOM04 == input.XxCUSTOM04 || + (this.XxCUSTOM04 != null && + this.XxCUSTOM04.Equals(input.XxCUSTOM04)) + ) && + ( + this.XxCUSTOM05 == input.XxCUSTOM05 || + (this.XxCUSTOM05 != null && + this.XxCUSTOM05.Equals(input.XxCUSTOM05)) + ) && + ( + this.XxCUSTOM06 == input.XxCUSTOM06 || + (this.XxCUSTOM06 != null && + this.XxCUSTOM06.Equals(input.XxCUSTOM06)) + ) && + ( + this.XxCUSTOM07 == input.XxCUSTOM07 || + (this.XxCUSTOM07 != null && + this.XxCUSTOM07.Equals(input.XxCUSTOM07)) + ) && + ( + this.XxCUSTOM08 == input.XxCUSTOM08 || + (this.XxCUSTOM08 != null && + this.XxCUSTOM08.Equals(input.XxCUSTOM08)) + ) && + ( + this.XxCUSTOM09 == input.XxCUSTOM09 || + (this.XxCUSTOM09 != null && + this.XxCUSTOM09.Equals(input.XxCUSTOM09)) + ) && + ( + this.XxCUSTOM10 == input.XxCUSTOM10 || + (this.XxCUSTOM10 != null && + this.XxCUSTOM10.Equals(input.XxCUSTOM10)) + ) && + ( + this.XxCUSTOM11 == input.XxCUSTOM11 || + (this.XxCUSTOM11 != null && + this.XxCUSTOM11.Equals(input.XxCUSTOM11)) + ) && + ( + this.XxCUSTOM12 == input.XxCUSTOM12 || + (this.XxCUSTOM12 != null && + this.XxCUSTOM12.Equals(input.XxCUSTOM12)) + ) && + ( + this.XxCUSTOM13 == input.XxCUSTOM13 || + (this.XxCUSTOM13 != null && + this.XxCUSTOM13.Equals(input.XxCUSTOM13)) + ) && + ( + this.XxCUSTOM14 == input.XxCUSTOM14 || + (this.XxCUSTOM14 != null && + this.XxCUSTOM14.Equals(input.XxCUSTOM14)) + ) && + ( + this.XxCUSTOM15 == input.XxCUSTOM15 || + (this.XxCUSTOM15 != null && + this.XxCUSTOM15.Equals(input.XxCUSTOM15)) + ) && + ( + this.XxCUSTOM16 == input.XxCUSTOM16 || + (this.XxCUSTOM16 != null && + this.XxCUSTOM16.Equals(input.XxCUSTOM16)) + ) && + ( + this.XxCUSTOM17 == input.XxCUSTOM17 || + (this.XxCUSTOM17 != null && + this.XxCUSTOM17.Equals(input.XxCUSTOM17)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.MerchandiseHierarchyGroupIDQualifier != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupIDQualifier.GetHashCode(); + if (this.XxCUSTOM18 != null) + hashCode = hashCode * 59 + this.XxCUSTOM18.GetHashCode(); + if (this.XxCUSTOM19 != null) + hashCode = hashCode * 59 + this.XxCUSTOM19.GetHashCode(); + if (this.XxCUSTOM20 != null) + hashCode = hashCode * 59 + this.XxCUSTOM20.GetHashCode(); + if (this.XxCUSTOM21 != null) + hashCode = hashCode * 59 + this.XxCUSTOM21.GetHashCode(); + if (this.XxCUSTOM22 != null) + hashCode = hashCode * 59 + this.XxCUSTOM22.GetHashCode(); + if (this.XxCUSTOM23 != null) + hashCode = hashCode * 59 + this.XxCUSTOM23.GetHashCode(); + if (this.XxCUSTOM24 != null) + hashCode = hashCode * 59 + this.XxCUSTOM24.GetHashCode(); + if (this.XxCUSTOM25 != null) + hashCode = hashCode * 59 + this.XxCUSTOM25.GetHashCode(); + if (this.XxCUSTOM26 != null) + hashCode = hashCode * 59 + this.XxCUSTOM26.GetHashCode(); + if (this.XxCUSTOM27 != null) + hashCode = hashCode * 59 + this.XxCUSTOM27.GetHashCode(); + if (this.XxCUSTOM28 != null) + hashCode = hashCode * 59 + this.XxCUSTOM28.GetHashCode(); + if (this.XxCUSTOM29 != null) + hashCode = hashCode * 59 + this.XxCUSTOM29.GetHashCode(); + if (this.XxCUSTOM30 != null) + hashCode = hashCode * 59 + this.XxCUSTOM30.GetHashCode(); + if (this.XxCUSTOM01 != null) + hashCode = hashCode * 59 + this.XxCUSTOM01.GetHashCode(); + if (this.XxCUSTOM02 != null) + hashCode = hashCode * 59 + this.XxCUSTOM02.GetHashCode(); + if (this.XxCUSTOM03 != null) + hashCode = hashCode * 59 + this.XxCUSTOM03.GetHashCode(); + if (this.XxCUSTOM04 != null) + hashCode = hashCode * 59 + this.XxCUSTOM04.GetHashCode(); + if (this.XxCUSTOM05 != null) + hashCode = hashCode * 59 + this.XxCUSTOM05.GetHashCode(); + if (this.XxCUSTOM06 != null) + hashCode = hashCode * 59 + this.XxCUSTOM06.GetHashCode(); + if (this.XxCUSTOM07 != null) + hashCode = hashCode * 59 + this.XxCUSTOM07.GetHashCode(); + if (this.XxCUSTOM08 != null) + hashCode = hashCode * 59 + this.XxCUSTOM08.GetHashCode(); + if (this.XxCUSTOM09 != null) + hashCode = hashCode * 59 + this.XxCUSTOM09.GetHashCode(); + if (this.XxCUSTOM10 != null) + hashCode = hashCode * 59 + this.XxCUSTOM10.GetHashCode(); + if (this.XxCUSTOM11 != null) + hashCode = hashCode * 59 + this.XxCUSTOM11.GetHashCode(); + if (this.XxCUSTOM12 != null) + hashCode = hashCode * 59 + this.XxCUSTOM12.GetHashCode(); + if (this.XxCUSTOM13 != null) + hashCode = hashCode * 59 + this.XxCUSTOM13.GetHashCode(); + if (this.XxCUSTOM14 != null) + hashCode = hashCode * 59 + this.XxCUSTOM14.GetHashCode(); + if (this.XxCUSTOM15 != null) + hashCode = hashCode * 59 + this.XxCUSTOM15.GetHashCode(); + if (this.XxCUSTOM16 != null) + hashCode = hashCode * 59 + this.XxCUSTOM16.GetHashCode(); + if (this.XxCUSTOM17 != null) + hashCode = hashCode * 59 + this.XxCUSTOM17.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e7c45e724daf9dbde8de9c7732c7733386992f97 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemMHG.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Unique system assigned identifier for a group or class of merchandise.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey(string merchandiseHierarchyGroupId = default(string)) + { + // to ensure "merchandiseHierarchyGroupId" is required (not null) + if (merchandiseHierarchyGroupId == null) + { + throw new InvalidDataException("merchandiseHierarchyGroupId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey and cannot be null"); + } + else + { + this.MerchandiseHierarchyGroupId = merchandiseHierarchyGroupId; + } + } + + /// + /// <p>Unique system assigned identifier for a group or class of merchandise.<br /></p> + /// + /// <p>Unique system assigned identifier for a group or class of merchandise.<br /></p> + [DataMember(Name="merchandiseHierarchyGroupId", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey {\n"); + sb.Append(" MerchandiseHierarchyGroupId: ").Append(MerchandiseHierarchyGroupId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey input) + { + if (input == null) + return false; + + return + ( + this.MerchandiseHierarchyGroupId == input.MerchandiseHierarchyGroupId || + (this.MerchandiseHierarchyGroupId != null && + this.MerchandiseHierarchyGroupId.Equals(input.MerchandiseHierarchyGroupId)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MerchandiseHierarchyGroupId != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity.cs new file mode 100644 index 0000000000000000000000000000000000000000..ccae22a417fa9f1f5985afcb0c3c40c093a806ef --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity.cs @@ -0,0 +1,665 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemPosIdentity <p>POS identity used for the item registration<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>type code of the POS identity<br /></p><br /><pre> * ('10' for internally generated POS identity with POSItemID = itemID )<br /></pre>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey), string posIdentityTypeCode = default(string), string xxCUSTOM18 = default(string), string xxCUSTOM19 = default(string), string xxCUSTOM20 = default(string), string xxCUSTOM21 = default(string), string xxCUSTOM22 = default(string), string xxCUSTOM23 = default(string), string xxCUSTOM24 = default(string), string xxCUSTOM25 = default(string), string xxCUSTOM26 = default(string), string xxCUSTOM27 = default(string), string xxCUSTOM28 = default(string), string xxCUSTOM29 = default(string), string xxCUSTOM30 = default(string), string xxCUSTOM01 = default(string), string xxCUSTOM02 = default(string), string xxCUSTOM03 = default(string), string xxCUSTOM04 = default(string), string xxCUSTOM05 = default(string), string xxCUSTOM06 = default(string), string xxCUSTOM07 = default(string), string xxCUSTOM08 = default(string), string xxCUSTOM09 = default(string), string xxCUSTOM10 = default(string), string xxCUSTOM11 = default(string), string xxCUSTOM12 = default(string), string xxCUSTOM13 = default(string), string xxCUSTOM14 = default(string), string xxCUSTOM15 = default(string), string xxCUSTOM16 = default(string), string xxCUSTOM17 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity and cannot be null"); + } + else + { + this.Key = key; + } + this.PosIdentityTypeCode = posIdentityTypeCode; + this.XxCUSTOM18 = xxCUSTOM18; + this.XxCUSTOM19 = xxCUSTOM19; + this.XxCUSTOM20 = xxCUSTOM20; + this.XxCUSTOM21 = xxCUSTOM21; + this.XxCUSTOM22 = xxCUSTOM22; + this.XxCUSTOM23 = xxCUSTOM23; + this.XxCUSTOM24 = xxCUSTOM24; + this.XxCUSTOM25 = xxCUSTOM25; + this.XxCUSTOM26 = xxCUSTOM26; + this.XxCUSTOM27 = xxCUSTOM27; + this.XxCUSTOM28 = xxCUSTOM28; + this.XxCUSTOM29 = xxCUSTOM29; + this.XxCUSTOM30 = xxCUSTOM30; + this.XxCUSTOM01 = xxCUSTOM01; + this.XxCUSTOM02 = xxCUSTOM02; + this.XxCUSTOM03 = xxCUSTOM03; + this.XxCUSTOM04 = xxCUSTOM04; + this.XxCUSTOM05 = xxCUSTOM05; + this.XxCUSTOM06 = xxCUSTOM06; + this.XxCUSTOM07 = xxCUSTOM07; + this.XxCUSTOM08 = xxCUSTOM08; + this.XxCUSTOM09 = xxCUSTOM09; + this.XxCUSTOM10 = xxCUSTOM10; + this.XxCUSTOM11 = xxCUSTOM11; + this.XxCUSTOM12 = xxCUSTOM12; + this.XxCUSTOM13 = xxCUSTOM13; + this.XxCUSTOM14 = xxCUSTOM14; + this.XxCUSTOM15 = xxCUSTOM15; + this.XxCUSTOM16 = xxCUSTOM16; + this.XxCUSTOM17 = xxCUSTOM17; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey Key { get; set; } + + /// + /// <p>type code of the POS identity<br /></p><br /><pre> * ('10' for internally generated POS identity with POSItemID = itemID )<br /></pre> + /// + /// <p>type code of the POS identity<br /></p><br /><pre> * ('10' for internally generated POS identity with POSItemID = itemID )<br /></pre> + [DataMember(Name="posIdentityTypeCode", EmitDefaultValue=false)] + public string PosIdentityTypeCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_18", EmitDefaultValue=false)] + public string XxCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_19", EmitDefaultValue=false)] + public string XxCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_20", EmitDefaultValue=false)] + public string XxCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_21", EmitDefaultValue=false)] + public string XxCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_22", EmitDefaultValue=false)] + public string XxCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_23", EmitDefaultValue=false)] + public string XxCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_24", EmitDefaultValue=false)] + public string XxCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_25", EmitDefaultValue=false)] + public string XxCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_26", EmitDefaultValue=false)] + public string XxCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_27", EmitDefaultValue=false)] + public string XxCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_28", EmitDefaultValue=false)] + public string XxCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_29", EmitDefaultValue=false)] + public string XxCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_30", EmitDefaultValue=false)] + public string XxCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_01", EmitDefaultValue=false)] + public string XxCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_02", EmitDefaultValue=false)] + public string XxCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_03", EmitDefaultValue=false)] + public string XxCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_04", EmitDefaultValue=false)] + public string XxCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_05", EmitDefaultValue=false)] + public string XxCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_06", EmitDefaultValue=false)] + public string XxCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_07", EmitDefaultValue=false)] + public string XxCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_08", EmitDefaultValue=false)] + public string XxCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_09", EmitDefaultValue=false)] + public string XxCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_10", EmitDefaultValue=false)] + public string XxCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_11", EmitDefaultValue=false)] + public string XxCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_12", EmitDefaultValue=false)] + public string XxCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_13", EmitDefaultValue=false)] + public string XxCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_14", EmitDefaultValue=false)] + public string XxCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_15", EmitDefaultValue=false)] + public string XxCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_16", EmitDefaultValue=false)] + public string XxCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_17", EmitDefaultValue=false)] + public string XxCUSTOM17 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PosIdentityTypeCode: ").Append(PosIdentityTypeCode).Append("\n"); + sb.Append(" XxCUSTOM18: ").Append(XxCUSTOM18).Append("\n"); + sb.Append(" XxCUSTOM19: ").Append(XxCUSTOM19).Append("\n"); + sb.Append(" XxCUSTOM20: ").Append(XxCUSTOM20).Append("\n"); + sb.Append(" XxCUSTOM21: ").Append(XxCUSTOM21).Append("\n"); + sb.Append(" XxCUSTOM22: ").Append(XxCUSTOM22).Append("\n"); + sb.Append(" XxCUSTOM23: ").Append(XxCUSTOM23).Append("\n"); + sb.Append(" XxCUSTOM24: ").Append(XxCUSTOM24).Append("\n"); + sb.Append(" XxCUSTOM25: ").Append(XxCUSTOM25).Append("\n"); + sb.Append(" XxCUSTOM26: ").Append(XxCUSTOM26).Append("\n"); + sb.Append(" XxCUSTOM27: ").Append(XxCUSTOM27).Append("\n"); + sb.Append(" XxCUSTOM28: ").Append(XxCUSTOM28).Append("\n"); + sb.Append(" XxCUSTOM29: ").Append(XxCUSTOM29).Append("\n"); + sb.Append(" XxCUSTOM30: ").Append(XxCUSTOM30).Append("\n"); + sb.Append(" XxCUSTOM01: ").Append(XxCUSTOM01).Append("\n"); + sb.Append(" XxCUSTOM02: ").Append(XxCUSTOM02).Append("\n"); + sb.Append(" XxCUSTOM03: ").Append(XxCUSTOM03).Append("\n"); + sb.Append(" XxCUSTOM04: ").Append(XxCUSTOM04).Append("\n"); + sb.Append(" XxCUSTOM05: ").Append(XxCUSTOM05).Append("\n"); + sb.Append(" XxCUSTOM06: ").Append(XxCUSTOM06).Append("\n"); + sb.Append(" XxCUSTOM07: ").Append(XxCUSTOM07).Append("\n"); + sb.Append(" XxCUSTOM08: ").Append(XxCUSTOM08).Append("\n"); + sb.Append(" XxCUSTOM09: ").Append(XxCUSTOM09).Append("\n"); + sb.Append(" XxCUSTOM10: ").Append(XxCUSTOM10).Append("\n"); + sb.Append(" XxCUSTOM11: ").Append(XxCUSTOM11).Append("\n"); + sb.Append(" XxCUSTOM12: ").Append(XxCUSTOM12).Append("\n"); + sb.Append(" XxCUSTOM13: ").Append(XxCUSTOM13).Append("\n"); + sb.Append(" XxCUSTOM14: ").Append(XxCUSTOM14).Append("\n"); + sb.Append(" XxCUSTOM15: ").Append(XxCUSTOM15).Append("\n"); + sb.Append(" XxCUSTOM16: ").Append(XxCUSTOM16).Append("\n"); + sb.Append(" XxCUSTOM17: ").Append(XxCUSTOM17).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PosIdentityTypeCode == input.PosIdentityTypeCode || + (this.PosIdentityTypeCode != null && + this.PosIdentityTypeCode.Equals(input.PosIdentityTypeCode)) + ) && + ( + this.XxCUSTOM18 == input.XxCUSTOM18 || + (this.XxCUSTOM18 != null && + this.XxCUSTOM18.Equals(input.XxCUSTOM18)) + ) && + ( + this.XxCUSTOM19 == input.XxCUSTOM19 || + (this.XxCUSTOM19 != null && + this.XxCUSTOM19.Equals(input.XxCUSTOM19)) + ) && + ( + this.XxCUSTOM20 == input.XxCUSTOM20 || + (this.XxCUSTOM20 != null && + this.XxCUSTOM20.Equals(input.XxCUSTOM20)) + ) && + ( + this.XxCUSTOM21 == input.XxCUSTOM21 || + (this.XxCUSTOM21 != null && + this.XxCUSTOM21.Equals(input.XxCUSTOM21)) + ) && + ( + this.XxCUSTOM22 == input.XxCUSTOM22 || + (this.XxCUSTOM22 != null && + this.XxCUSTOM22.Equals(input.XxCUSTOM22)) + ) && + ( + this.XxCUSTOM23 == input.XxCUSTOM23 || + (this.XxCUSTOM23 != null && + this.XxCUSTOM23.Equals(input.XxCUSTOM23)) + ) && + ( + this.XxCUSTOM24 == input.XxCUSTOM24 || + (this.XxCUSTOM24 != null && + this.XxCUSTOM24.Equals(input.XxCUSTOM24)) + ) && + ( + this.XxCUSTOM25 == input.XxCUSTOM25 || + (this.XxCUSTOM25 != null && + this.XxCUSTOM25.Equals(input.XxCUSTOM25)) + ) && + ( + this.XxCUSTOM26 == input.XxCUSTOM26 || + (this.XxCUSTOM26 != null && + this.XxCUSTOM26.Equals(input.XxCUSTOM26)) + ) && + ( + this.XxCUSTOM27 == input.XxCUSTOM27 || + (this.XxCUSTOM27 != null && + this.XxCUSTOM27.Equals(input.XxCUSTOM27)) + ) && + ( + this.XxCUSTOM28 == input.XxCUSTOM28 || + (this.XxCUSTOM28 != null && + this.XxCUSTOM28.Equals(input.XxCUSTOM28)) + ) && + ( + this.XxCUSTOM29 == input.XxCUSTOM29 || + (this.XxCUSTOM29 != null && + this.XxCUSTOM29.Equals(input.XxCUSTOM29)) + ) && + ( + this.XxCUSTOM30 == input.XxCUSTOM30 || + (this.XxCUSTOM30 != null && + this.XxCUSTOM30.Equals(input.XxCUSTOM30)) + ) && + ( + this.XxCUSTOM01 == input.XxCUSTOM01 || + (this.XxCUSTOM01 != null && + this.XxCUSTOM01.Equals(input.XxCUSTOM01)) + ) && + ( + this.XxCUSTOM02 == input.XxCUSTOM02 || + (this.XxCUSTOM02 != null && + this.XxCUSTOM02.Equals(input.XxCUSTOM02)) + ) && + ( + this.XxCUSTOM03 == input.XxCUSTOM03 || + (this.XxCUSTOM03 != null && + this.XxCUSTOM03.Equals(input.XxCUSTOM03)) + ) && + ( + this.XxCUSTOM04 == input.XxCUSTOM04 || + (this.XxCUSTOM04 != null && + this.XxCUSTOM04.Equals(input.XxCUSTOM04)) + ) && + ( + this.XxCUSTOM05 == input.XxCUSTOM05 || + (this.XxCUSTOM05 != null && + this.XxCUSTOM05.Equals(input.XxCUSTOM05)) + ) && + ( + this.XxCUSTOM06 == input.XxCUSTOM06 || + (this.XxCUSTOM06 != null && + this.XxCUSTOM06.Equals(input.XxCUSTOM06)) + ) && + ( + this.XxCUSTOM07 == input.XxCUSTOM07 || + (this.XxCUSTOM07 != null && + this.XxCUSTOM07.Equals(input.XxCUSTOM07)) + ) && + ( + this.XxCUSTOM08 == input.XxCUSTOM08 || + (this.XxCUSTOM08 != null && + this.XxCUSTOM08.Equals(input.XxCUSTOM08)) + ) && + ( + this.XxCUSTOM09 == input.XxCUSTOM09 || + (this.XxCUSTOM09 != null && + this.XxCUSTOM09.Equals(input.XxCUSTOM09)) + ) && + ( + this.XxCUSTOM10 == input.XxCUSTOM10 || + (this.XxCUSTOM10 != null && + this.XxCUSTOM10.Equals(input.XxCUSTOM10)) + ) && + ( + this.XxCUSTOM11 == input.XxCUSTOM11 || + (this.XxCUSTOM11 != null && + this.XxCUSTOM11.Equals(input.XxCUSTOM11)) + ) && + ( + this.XxCUSTOM12 == input.XxCUSTOM12 || + (this.XxCUSTOM12 != null && + this.XxCUSTOM12.Equals(input.XxCUSTOM12)) + ) && + ( + this.XxCUSTOM13 == input.XxCUSTOM13 || + (this.XxCUSTOM13 != null && + this.XxCUSTOM13.Equals(input.XxCUSTOM13)) + ) && + ( + this.XxCUSTOM14 == input.XxCUSTOM14 || + (this.XxCUSTOM14 != null && + this.XxCUSTOM14.Equals(input.XxCUSTOM14)) + ) && + ( + this.XxCUSTOM15 == input.XxCUSTOM15 || + (this.XxCUSTOM15 != null && + this.XxCUSTOM15.Equals(input.XxCUSTOM15)) + ) && + ( + this.XxCUSTOM16 == input.XxCUSTOM16 || + (this.XxCUSTOM16 != null && + this.XxCUSTOM16.Equals(input.XxCUSTOM16)) + ) && + ( + this.XxCUSTOM17 == input.XxCUSTOM17 || + (this.XxCUSTOM17 != null && + this.XxCUSTOM17.Equals(input.XxCUSTOM17)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PosIdentityTypeCode != null) + hashCode = hashCode * 59 + this.PosIdentityTypeCode.GetHashCode(); + if (this.XxCUSTOM18 != null) + hashCode = hashCode * 59 + this.XxCUSTOM18.GetHashCode(); + if (this.XxCUSTOM19 != null) + hashCode = hashCode * 59 + this.XxCUSTOM19.GetHashCode(); + if (this.XxCUSTOM20 != null) + hashCode = hashCode * 59 + this.XxCUSTOM20.GetHashCode(); + if (this.XxCUSTOM21 != null) + hashCode = hashCode * 59 + this.XxCUSTOM21.GetHashCode(); + if (this.XxCUSTOM22 != null) + hashCode = hashCode * 59 + this.XxCUSTOM22.GetHashCode(); + if (this.XxCUSTOM23 != null) + hashCode = hashCode * 59 + this.XxCUSTOM23.GetHashCode(); + if (this.XxCUSTOM24 != null) + hashCode = hashCode * 59 + this.XxCUSTOM24.GetHashCode(); + if (this.XxCUSTOM25 != null) + hashCode = hashCode * 59 + this.XxCUSTOM25.GetHashCode(); + if (this.XxCUSTOM26 != null) + hashCode = hashCode * 59 + this.XxCUSTOM26.GetHashCode(); + if (this.XxCUSTOM27 != null) + hashCode = hashCode * 59 + this.XxCUSTOM27.GetHashCode(); + if (this.XxCUSTOM28 != null) + hashCode = hashCode * 59 + this.XxCUSTOM28.GetHashCode(); + if (this.XxCUSTOM29 != null) + hashCode = hashCode * 59 + this.XxCUSTOM29.GetHashCode(); + if (this.XxCUSTOM30 != null) + hashCode = hashCode * 59 + this.XxCUSTOM30.GetHashCode(); + if (this.XxCUSTOM01 != null) + hashCode = hashCode * 59 + this.XxCUSTOM01.GetHashCode(); + if (this.XxCUSTOM02 != null) + hashCode = hashCode * 59 + this.XxCUSTOM02.GetHashCode(); + if (this.XxCUSTOM03 != null) + hashCode = hashCode * 59 + this.XxCUSTOM03.GetHashCode(); + if (this.XxCUSTOM04 != null) + hashCode = hashCode * 59 + this.XxCUSTOM04.GetHashCode(); + if (this.XxCUSTOM05 != null) + hashCode = hashCode * 59 + this.XxCUSTOM05.GetHashCode(); + if (this.XxCUSTOM06 != null) + hashCode = hashCode * 59 + this.XxCUSTOM06.GetHashCode(); + if (this.XxCUSTOM07 != null) + hashCode = hashCode * 59 + this.XxCUSTOM07.GetHashCode(); + if (this.XxCUSTOM08 != null) + hashCode = hashCode * 59 + this.XxCUSTOM08.GetHashCode(); + if (this.XxCUSTOM09 != null) + hashCode = hashCode * 59 + this.XxCUSTOM09.GetHashCode(); + if (this.XxCUSTOM10 != null) + hashCode = hashCode * 59 + this.XxCUSTOM10.GetHashCode(); + if (this.XxCUSTOM11 != null) + hashCode = hashCode * 59 + this.XxCUSTOM11.GetHashCode(); + if (this.XxCUSTOM12 != null) + hashCode = hashCode * 59 + this.XxCUSTOM12.GetHashCode(); + if (this.XxCUSTOM13 != null) + hashCode = hashCode * 59 + this.XxCUSTOM13.GetHashCode(); + if (this.XxCUSTOM14 != null) + hashCode = hashCode * 59 + this.XxCUSTOM14.GetHashCode(); + if (this.XxCUSTOM15 != null) + hashCode = hashCode * 59 + this.XxCUSTOM15.GetHashCode(); + if (this.XxCUSTOM16 != null) + hashCode = hashCode * 59 + this.XxCUSTOM16.GetHashCode(); + if (this.XxCUSTOM17 != null) + hashCode = hashCode * 59 + this.XxCUSTOM17.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d609b93f0a514bdf8dcd523dcb453934f8285169 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemPosIdentity.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>POS item id is a token identifier to facilitate price lookup and does not contain any descriptive information.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey(string posItemId = default(string)) + { + // to ensure "posItemId" is required (not null) + if (posItemId == null) + { + throw new InvalidDataException("posItemId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey and cannot be null"); + } + else + { + this.PosItemId = posItemId; + } + } + + /// + /// <p>POS item id is a token identifier to facilitate price lookup and does not contain any descriptive information.<br /></p> + /// + /// <p>POS item id is a token identifier to facilitate price lookup and does not contain any descriptive information.<br /></p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey {\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey input) + { + if (input == null) + return false; + + return + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7a2edd8e074258b6053b0fd8dd37077288d325a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation.cs @@ -0,0 +1,650 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemRelatedItemAssociation <p>Association to a related item<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// subTypeCode. + /// rootItemId. + /// xxCUSTOM18. + /// xxCUSTOM19. + /// xxCUSTOM20. + /// xxCUSTOM21. + /// xxCUSTOM22. + /// xxCUSTOM23. + /// xxCUSTOM24. + /// xxCUSTOM25. + /// xxCUSTOM26. + /// xxCUSTOM27. + /// xxCUSTOM28. + /// xxCUSTOM29. + /// xxCUSTOM30. + /// xxCUSTOM01. + /// xxCUSTOM02. + /// xxCUSTOM03. + /// xxCUSTOM04. + /// xxCUSTOM05. + /// xxCUSTOM06. + /// xxCUSTOM07. + /// xxCUSTOM08. + /// xxCUSTOM09. + /// xxCUSTOM10. + /// xxCUSTOM11. + /// xxCUSTOM12. + /// xxCUSTOM13. + /// xxCUSTOM14. + /// xxCUSTOM15. + /// xxCUSTOM16. + /// xxCUSTOM17. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey), string subTypeCode = default(string), string rootItemId = default(string), string xxCUSTOM18 = default(string), string xxCUSTOM19 = default(string), string xxCUSTOM20 = default(string), string xxCUSTOM21 = default(string), string xxCUSTOM22 = default(string), string xxCUSTOM23 = default(string), string xxCUSTOM24 = default(string), string xxCUSTOM25 = default(string), string xxCUSTOM26 = default(string), string xxCUSTOM27 = default(string), string xxCUSTOM28 = default(string), string xxCUSTOM29 = default(string), string xxCUSTOM30 = default(string), string xxCUSTOM01 = default(string), string xxCUSTOM02 = default(string), string xxCUSTOM03 = default(string), string xxCUSTOM04 = default(string), string xxCUSTOM05 = default(string), string xxCUSTOM06 = default(string), string xxCUSTOM07 = default(string), string xxCUSTOM08 = default(string), string xxCUSTOM09 = default(string), string xxCUSTOM10 = default(string), string xxCUSTOM11 = default(string), string xxCUSTOM12 = default(string), string xxCUSTOM13 = default(string), string xxCUSTOM14 = default(string), string xxCUSTOM15 = default(string), string xxCUSTOM16 = default(string), string xxCUSTOM17 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation and cannot be null"); + } + else + { + this.Key = key; + } + this.SubTypeCode = subTypeCode; + this.RootItemId = rootItemId; + this.XxCUSTOM18 = xxCUSTOM18; + this.XxCUSTOM19 = xxCUSTOM19; + this.XxCUSTOM20 = xxCUSTOM20; + this.XxCUSTOM21 = xxCUSTOM21; + this.XxCUSTOM22 = xxCUSTOM22; + this.XxCUSTOM23 = xxCUSTOM23; + this.XxCUSTOM24 = xxCUSTOM24; + this.XxCUSTOM25 = xxCUSTOM25; + this.XxCUSTOM26 = xxCUSTOM26; + this.XxCUSTOM27 = xxCUSTOM27; + this.XxCUSTOM28 = xxCUSTOM28; + this.XxCUSTOM29 = xxCUSTOM29; + this.XxCUSTOM30 = xxCUSTOM30; + this.XxCUSTOM01 = xxCUSTOM01; + this.XxCUSTOM02 = xxCUSTOM02; + this.XxCUSTOM03 = xxCUSTOM03; + this.XxCUSTOM04 = xxCUSTOM04; + this.XxCUSTOM05 = xxCUSTOM05; + this.XxCUSTOM06 = xxCUSTOM06; + this.XxCUSTOM07 = xxCUSTOM07; + this.XxCUSTOM08 = xxCUSTOM08; + this.XxCUSTOM09 = xxCUSTOM09; + this.XxCUSTOM10 = xxCUSTOM10; + this.XxCUSTOM11 = xxCUSTOM11; + this.XxCUSTOM12 = xxCUSTOM12; + this.XxCUSTOM13 = xxCUSTOM13; + this.XxCUSTOM14 = xxCUSTOM14; + this.XxCUSTOM15 = xxCUSTOM15; + this.XxCUSTOM16 = xxCUSTOM16; + this.XxCUSTOM17 = xxCUSTOM17; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey Key { get; set; } + + /// + /// Gets or Sets SubTypeCode + /// + [DataMember(Name="subTypeCode", EmitDefaultValue=false)] + public string SubTypeCode { get; set; } + + /// + /// Gets or Sets RootItemId + /// + [DataMember(Name="rootItemId", EmitDefaultValue=false)] + public string RootItemId { get; set; } + + /// + /// Gets or Sets XxCUSTOM18 + /// + [DataMember(Name="xx_CUSTOM_18", EmitDefaultValue=false)] + public string XxCUSTOM18 { get; set; } + + /// + /// Gets or Sets XxCUSTOM19 + /// + [DataMember(Name="xx_CUSTOM_19", EmitDefaultValue=false)] + public string XxCUSTOM19 { get; set; } + + /// + /// Gets or Sets XxCUSTOM20 + /// + [DataMember(Name="xx_CUSTOM_20", EmitDefaultValue=false)] + public string XxCUSTOM20 { get; set; } + + /// + /// Gets or Sets XxCUSTOM21 + /// + [DataMember(Name="xx_CUSTOM_21", EmitDefaultValue=false)] + public string XxCUSTOM21 { get; set; } + + /// + /// Gets or Sets XxCUSTOM22 + /// + [DataMember(Name="xx_CUSTOM_22", EmitDefaultValue=false)] + public string XxCUSTOM22 { get; set; } + + /// + /// Gets or Sets XxCUSTOM23 + /// + [DataMember(Name="xx_CUSTOM_23", EmitDefaultValue=false)] + public string XxCUSTOM23 { get; set; } + + /// + /// Gets or Sets XxCUSTOM24 + /// + [DataMember(Name="xx_CUSTOM_24", EmitDefaultValue=false)] + public string XxCUSTOM24 { get; set; } + + /// + /// Gets or Sets XxCUSTOM25 + /// + [DataMember(Name="xx_CUSTOM_25", EmitDefaultValue=false)] + public string XxCUSTOM25 { get; set; } + + /// + /// Gets or Sets XxCUSTOM26 + /// + [DataMember(Name="xx_CUSTOM_26", EmitDefaultValue=false)] + public string XxCUSTOM26 { get; set; } + + /// + /// Gets or Sets XxCUSTOM27 + /// + [DataMember(Name="xx_CUSTOM_27", EmitDefaultValue=false)] + public string XxCUSTOM27 { get; set; } + + /// + /// Gets or Sets XxCUSTOM28 + /// + [DataMember(Name="xx_CUSTOM_28", EmitDefaultValue=false)] + public string XxCUSTOM28 { get; set; } + + /// + /// Gets or Sets XxCUSTOM29 + /// + [DataMember(Name="xx_CUSTOM_29", EmitDefaultValue=false)] + public string XxCUSTOM29 { get; set; } + + /// + /// Gets or Sets XxCUSTOM30 + /// + [DataMember(Name="xx_CUSTOM_30", EmitDefaultValue=false)] + public string XxCUSTOM30 { get; set; } + + /// + /// Gets or Sets XxCUSTOM01 + /// + [DataMember(Name="xx_CUSTOM_01", EmitDefaultValue=false)] + public string XxCUSTOM01 { get; set; } + + /// + /// Gets or Sets XxCUSTOM02 + /// + [DataMember(Name="xx_CUSTOM_02", EmitDefaultValue=false)] + public string XxCUSTOM02 { get; set; } + + /// + /// Gets or Sets XxCUSTOM03 + /// + [DataMember(Name="xx_CUSTOM_03", EmitDefaultValue=false)] + public string XxCUSTOM03 { get; set; } + + /// + /// Gets or Sets XxCUSTOM04 + /// + [DataMember(Name="xx_CUSTOM_04", EmitDefaultValue=false)] + public string XxCUSTOM04 { get; set; } + + /// + /// Gets or Sets XxCUSTOM05 + /// + [DataMember(Name="xx_CUSTOM_05", EmitDefaultValue=false)] + public string XxCUSTOM05 { get; set; } + + /// + /// Gets or Sets XxCUSTOM06 + /// + [DataMember(Name="xx_CUSTOM_06", EmitDefaultValue=false)] + public string XxCUSTOM06 { get; set; } + + /// + /// Gets or Sets XxCUSTOM07 + /// + [DataMember(Name="xx_CUSTOM_07", EmitDefaultValue=false)] + public string XxCUSTOM07 { get; set; } + + /// + /// Gets or Sets XxCUSTOM08 + /// + [DataMember(Name="xx_CUSTOM_08", EmitDefaultValue=false)] + public string XxCUSTOM08 { get; set; } + + /// + /// Gets or Sets XxCUSTOM09 + /// + [DataMember(Name="xx_CUSTOM_09", EmitDefaultValue=false)] + public string XxCUSTOM09 { get; set; } + + /// + /// Gets or Sets XxCUSTOM10 + /// + [DataMember(Name="xx_CUSTOM_10", EmitDefaultValue=false)] + public string XxCUSTOM10 { get; set; } + + /// + /// Gets or Sets XxCUSTOM11 + /// + [DataMember(Name="xx_CUSTOM_11", EmitDefaultValue=false)] + public string XxCUSTOM11 { get; set; } + + /// + /// Gets or Sets XxCUSTOM12 + /// + [DataMember(Name="xx_CUSTOM_12", EmitDefaultValue=false)] + public string XxCUSTOM12 { get; set; } + + /// + /// Gets or Sets XxCUSTOM13 + /// + [DataMember(Name="xx_CUSTOM_13", EmitDefaultValue=false)] + public string XxCUSTOM13 { get; set; } + + /// + /// Gets or Sets XxCUSTOM14 + /// + [DataMember(Name="xx_CUSTOM_14", EmitDefaultValue=false)] + public string XxCUSTOM14 { get; set; } + + /// + /// Gets or Sets XxCUSTOM15 + /// + [DataMember(Name="xx_CUSTOM_15", EmitDefaultValue=false)] + public string XxCUSTOM15 { get; set; } + + /// + /// Gets or Sets XxCUSTOM16 + /// + [DataMember(Name="xx_CUSTOM_16", EmitDefaultValue=false)] + public string XxCUSTOM16 { get; set; } + + /// + /// Gets or Sets XxCUSTOM17 + /// + [DataMember(Name="xx_CUSTOM_17", EmitDefaultValue=false)] + public string XxCUSTOM17 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" SubTypeCode: ").Append(SubTypeCode).Append("\n"); + sb.Append(" RootItemId: ").Append(RootItemId).Append("\n"); + sb.Append(" XxCUSTOM18: ").Append(XxCUSTOM18).Append("\n"); + sb.Append(" XxCUSTOM19: ").Append(XxCUSTOM19).Append("\n"); + sb.Append(" XxCUSTOM20: ").Append(XxCUSTOM20).Append("\n"); + sb.Append(" XxCUSTOM21: ").Append(XxCUSTOM21).Append("\n"); + sb.Append(" XxCUSTOM22: ").Append(XxCUSTOM22).Append("\n"); + sb.Append(" XxCUSTOM23: ").Append(XxCUSTOM23).Append("\n"); + sb.Append(" XxCUSTOM24: ").Append(XxCUSTOM24).Append("\n"); + sb.Append(" XxCUSTOM25: ").Append(XxCUSTOM25).Append("\n"); + sb.Append(" XxCUSTOM26: ").Append(XxCUSTOM26).Append("\n"); + sb.Append(" XxCUSTOM27: ").Append(XxCUSTOM27).Append("\n"); + sb.Append(" XxCUSTOM28: ").Append(XxCUSTOM28).Append("\n"); + sb.Append(" XxCUSTOM29: ").Append(XxCUSTOM29).Append("\n"); + sb.Append(" XxCUSTOM30: ").Append(XxCUSTOM30).Append("\n"); + sb.Append(" XxCUSTOM01: ").Append(XxCUSTOM01).Append("\n"); + sb.Append(" XxCUSTOM02: ").Append(XxCUSTOM02).Append("\n"); + sb.Append(" XxCUSTOM03: ").Append(XxCUSTOM03).Append("\n"); + sb.Append(" XxCUSTOM04: ").Append(XxCUSTOM04).Append("\n"); + sb.Append(" XxCUSTOM05: ").Append(XxCUSTOM05).Append("\n"); + sb.Append(" XxCUSTOM06: ").Append(XxCUSTOM06).Append("\n"); + sb.Append(" XxCUSTOM07: ").Append(XxCUSTOM07).Append("\n"); + sb.Append(" XxCUSTOM08: ").Append(XxCUSTOM08).Append("\n"); + sb.Append(" XxCUSTOM09: ").Append(XxCUSTOM09).Append("\n"); + sb.Append(" XxCUSTOM10: ").Append(XxCUSTOM10).Append("\n"); + sb.Append(" XxCUSTOM11: ").Append(XxCUSTOM11).Append("\n"); + sb.Append(" XxCUSTOM12: ").Append(XxCUSTOM12).Append("\n"); + sb.Append(" XxCUSTOM13: ").Append(XxCUSTOM13).Append("\n"); + sb.Append(" XxCUSTOM14: ").Append(XxCUSTOM14).Append("\n"); + sb.Append(" XxCUSTOM15: ").Append(XxCUSTOM15).Append("\n"); + sb.Append(" XxCUSTOM16: ").Append(XxCUSTOM16).Append("\n"); + sb.Append(" XxCUSTOM17: ").Append(XxCUSTOM17).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.SubTypeCode == input.SubTypeCode || + (this.SubTypeCode != null && + this.SubTypeCode.Equals(input.SubTypeCode)) + ) && + ( + this.RootItemId == input.RootItemId || + (this.RootItemId != null && + this.RootItemId.Equals(input.RootItemId)) + ) && + ( + this.XxCUSTOM18 == input.XxCUSTOM18 || + (this.XxCUSTOM18 != null && + this.XxCUSTOM18.Equals(input.XxCUSTOM18)) + ) && + ( + this.XxCUSTOM19 == input.XxCUSTOM19 || + (this.XxCUSTOM19 != null && + this.XxCUSTOM19.Equals(input.XxCUSTOM19)) + ) && + ( + this.XxCUSTOM20 == input.XxCUSTOM20 || + (this.XxCUSTOM20 != null && + this.XxCUSTOM20.Equals(input.XxCUSTOM20)) + ) && + ( + this.XxCUSTOM21 == input.XxCUSTOM21 || + (this.XxCUSTOM21 != null && + this.XxCUSTOM21.Equals(input.XxCUSTOM21)) + ) && + ( + this.XxCUSTOM22 == input.XxCUSTOM22 || + (this.XxCUSTOM22 != null && + this.XxCUSTOM22.Equals(input.XxCUSTOM22)) + ) && + ( + this.XxCUSTOM23 == input.XxCUSTOM23 || + (this.XxCUSTOM23 != null && + this.XxCUSTOM23.Equals(input.XxCUSTOM23)) + ) && + ( + this.XxCUSTOM24 == input.XxCUSTOM24 || + (this.XxCUSTOM24 != null && + this.XxCUSTOM24.Equals(input.XxCUSTOM24)) + ) && + ( + this.XxCUSTOM25 == input.XxCUSTOM25 || + (this.XxCUSTOM25 != null && + this.XxCUSTOM25.Equals(input.XxCUSTOM25)) + ) && + ( + this.XxCUSTOM26 == input.XxCUSTOM26 || + (this.XxCUSTOM26 != null && + this.XxCUSTOM26.Equals(input.XxCUSTOM26)) + ) && + ( + this.XxCUSTOM27 == input.XxCUSTOM27 || + (this.XxCUSTOM27 != null && + this.XxCUSTOM27.Equals(input.XxCUSTOM27)) + ) && + ( + this.XxCUSTOM28 == input.XxCUSTOM28 || + (this.XxCUSTOM28 != null && + this.XxCUSTOM28.Equals(input.XxCUSTOM28)) + ) && + ( + this.XxCUSTOM29 == input.XxCUSTOM29 || + (this.XxCUSTOM29 != null && + this.XxCUSTOM29.Equals(input.XxCUSTOM29)) + ) && + ( + this.XxCUSTOM30 == input.XxCUSTOM30 || + (this.XxCUSTOM30 != null && + this.XxCUSTOM30.Equals(input.XxCUSTOM30)) + ) && + ( + this.XxCUSTOM01 == input.XxCUSTOM01 || + (this.XxCUSTOM01 != null && + this.XxCUSTOM01.Equals(input.XxCUSTOM01)) + ) && + ( + this.XxCUSTOM02 == input.XxCUSTOM02 || + (this.XxCUSTOM02 != null && + this.XxCUSTOM02.Equals(input.XxCUSTOM02)) + ) && + ( + this.XxCUSTOM03 == input.XxCUSTOM03 || + (this.XxCUSTOM03 != null && + this.XxCUSTOM03.Equals(input.XxCUSTOM03)) + ) && + ( + this.XxCUSTOM04 == input.XxCUSTOM04 || + (this.XxCUSTOM04 != null && + this.XxCUSTOM04.Equals(input.XxCUSTOM04)) + ) && + ( + this.XxCUSTOM05 == input.XxCUSTOM05 || + (this.XxCUSTOM05 != null && + this.XxCUSTOM05.Equals(input.XxCUSTOM05)) + ) && + ( + this.XxCUSTOM06 == input.XxCUSTOM06 || + (this.XxCUSTOM06 != null && + this.XxCUSTOM06.Equals(input.XxCUSTOM06)) + ) && + ( + this.XxCUSTOM07 == input.XxCUSTOM07 || + (this.XxCUSTOM07 != null && + this.XxCUSTOM07.Equals(input.XxCUSTOM07)) + ) && + ( + this.XxCUSTOM08 == input.XxCUSTOM08 || + (this.XxCUSTOM08 != null && + this.XxCUSTOM08.Equals(input.XxCUSTOM08)) + ) && + ( + this.XxCUSTOM09 == input.XxCUSTOM09 || + (this.XxCUSTOM09 != null && + this.XxCUSTOM09.Equals(input.XxCUSTOM09)) + ) && + ( + this.XxCUSTOM10 == input.XxCUSTOM10 || + (this.XxCUSTOM10 != null && + this.XxCUSTOM10.Equals(input.XxCUSTOM10)) + ) && + ( + this.XxCUSTOM11 == input.XxCUSTOM11 || + (this.XxCUSTOM11 != null && + this.XxCUSTOM11.Equals(input.XxCUSTOM11)) + ) && + ( + this.XxCUSTOM12 == input.XxCUSTOM12 || + (this.XxCUSTOM12 != null && + this.XxCUSTOM12.Equals(input.XxCUSTOM12)) + ) && + ( + this.XxCUSTOM13 == input.XxCUSTOM13 || + (this.XxCUSTOM13 != null && + this.XxCUSTOM13.Equals(input.XxCUSTOM13)) + ) && + ( + this.XxCUSTOM14 == input.XxCUSTOM14 || + (this.XxCUSTOM14 != null && + this.XxCUSTOM14.Equals(input.XxCUSTOM14)) + ) && + ( + this.XxCUSTOM15 == input.XxCUSTOM15 || + (this.XxCUSTOM15 != null && + this.XxCUSTOM15.Equals(input.XxCUSTOM15)) + ) && + ( + this.XxCUSTOM16 == input.XxCUSTOM16 || + (this.XxCUSTOM16 != null && + this.XxCUSTOM16.Equals(input.XxCUSTOM16)) + ) && + ( + this.XxCUSTOM17 == input.XxCUSTOM17 || + (this.XxCUSTOM17 != null && + this.XxCUSTOM17.Equals(input.XxCUSTOM17)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.SubTypeCode != null) + hashCode = hashCode * 59 + this.SubTypeCode.GetHashCode(); + if (this.RootItemId != null) + hashCode = hashCode * 59 + this.RootItemId.GetHashCode(); + if (this.XxCUSTOM18 != null) + hashCode = hashCode * 59 + this.XxCUSTOM18.GetHashCode(); + if (this.XxCUSTOM19 != null) + hashCode = hashCode * 59 + this.XxCUSTOM19.GetHashCode(); + if (this.XxCUSTOM20 != null) + hashCode = hashCode * 59 + this.XxCUSTOM20.GetHashCode(); + if (this.XxCUSTOM21 != null) + hashCode = hashCode * 59 + this.XxCUSTOM21.GetHashCode(); + if (this.XxCUSTOM22 != null) + hashCode = hashCode * 59 + this.XxCUSTOM22.GetHashCode(); + if (this.XxCUSTOM23 != null) + hashCode = hashCode * 59 + this.XxCUSTOM23.GetHashCode(); + if (this.XxCUSTOM24 != null) + hashCode = hashCode * 59 + this.XxCUSTOM24.GetHashCode(); + if (this.XxCUSTOM25 != null) + hashCode = hashCode * 59 + this.XxCUSTOM25.GetHashCode(); + if (this.XxCUSTOM26 != null) + hashCode = hashCode * 59 + this.XxCUSTOM26.GetHashCode(); + if (this.XxCUSTOM27 != null) + hashCode = hashCode * 59 + this.XxCUSTOM27.GetHashCode(); + if (this.XxCUSTOM28 != null) + hashCode = hashCode * 59 + this.XxCUSTOM28.GetHashCode(); + if (this.XxCUSTOM29 != null) + hashCode = hashCode * 59 + this.XxCUSTOM29.GetHashCode(); + if (this.XxCUSTOM30 != null) + hashCode = hashCode * 59 + this.XxCUSTOM30.GetHashCode(); + if (this.XxCUSTOM01 != null) + hashCode = hashCode * 59 + this.XxCUSTOM01.GetHashCode(); + if (this.XxCUSTOM02 != null) + hashCode = hashCode * 59 + this.XxCUSTOM02.GetHashCode(); + if (this.XxCUSTOM03 != null) + hashCode = hashCode * 59 + this.XxCUSTOM03.GetHashCode(); + if (this.XxCUSTOM04 != null) + hashCode = hashCode * 59 + this.XxCUSTOM04.GetHashCode(); + if (this.XxCUSTOM05 != null) + hashCode = hashCode * 59 + this.XxCUSTOM05.GetHashCode(); + if (this.XxCUSTOM06 != null) + hashCode = hashCode * 59 + this.XxCUSTOM06.GetHashCode(); + if (this.XxCUSTOM07 != null) + hashCode = hashCode * 59 + this.XxCUSTOM07.GetHashCode(); + if (this.XxCUSTOM08 != null) + hashCode = hashCode * 59 + this.XxCUSTOM08.GetHashCode(); + if (this.XxCUSTOM09 != null) + hashCode = hashCode * 59 + this.XxCUSTOM09.GetHashCode(); + if (this.XxCUSTOM10 != null) + hashCode = hashCode * 59 + this.XxCUSTOM10.GetHashCode(); + if (this.XxCUSTOM11 != null) + hashCode = hashCode * 59 + this.XxCUSTOM11.GetHashCode(); + if (this.XxCUSTOM12 != null) + hashCode = hashCode * 59 + this.XxCUSTOM12.GetHashCode(); + if (this.XxCUSTOM13 != null) + hashCode = hashCode * 59 + this.XxCUSTOM13.GetHashCode(); + if (this.XxCUSTOM14 != null) + hashCode = hashCode * 59 + this.XxCUSTOM14.GetHashCode(); + if (this.XxCUSTOM15 != null) + hashCode = hashCode * 59 + this.XxCUSTOM15.GetHashCode(); + if (this.XxCUSTOM16 != null) + hashCode = hashCode * 59 + this.XxCUSTOM16.GetHashCode(); + if (this.XxCUSTOM17 != null) + hashCode = hashCode * 59 + this.XxCUSTOM17.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..20b20fe51c3e3af894f21b37da0c0adf2c3d0a74 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemRelatedItemAssociation.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Reference to the related item.<br /></p> (required). + /// <p>Type of the association, e.g. 'VARIANT' for item variant association.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey(string relatedItemId = default(string), string associationTypeCode = default(string)) + { + // to ensure "relatedItemId" is required (not null) + if (relatedItemId == null) + { + throw new InvalidDataException("relatedItemId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey and cannot be null"); + } + else + { + this.RelatedItemId = relatedItemId; + } + // to ensure "associationTypeCode" is required (not null) + if (associationTypeCode == null) + { + throw new InvalidDataException("associationTypeCode is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey and cannot be null"); + } + else + { + this.AssociationTypeCode = associationTypeCode; + } + } + + /// + /// <p>Reference to the related item.<br /></p> + /// + /// <p>Reference to the related item.<br /></p> + [DataMember(Name="relatedItemId", EmitDefaultValue=false)] + public string RelatedItemId { get; set; } + + /// + /// <p>Type of the association, e.g. 'VARIANT' for item variant association.<br /></p> + /// + /// <p>Type of the association, e.g. 'VARIANT' for item variant association.<br /></p> + [DataMember(Name="associationTypeCode", EmitDefaultValue=false)] + public string AssociationTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey {\n"); + sb.Append(" RelatedItemId: ").Append(RelatedItemId).Append("\n"); + sb.Append(" AssociationTypeCode: ").Append(AssociationTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey input) + { + if (input == null) + return false; + + return + ( + this.RelatedItemId == input.RelatedItemId || + (this.RelatedItemId != null && + this.RelatedItemId.Equals(input.RelatedItemId)) + ) && + ( + this.AssociationTypeCode == input.AssociationTypeCode || + (this.AssociationTypeCode != null && + this.AssociationTypeCode.Equals(input.AssociationTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RelatedItemId != null) + hashCode = hashCode * 59 + this.RelatedItemId.GetHashCode(); + if (this.AssociationTypeCode != null) + hashCode = hashCode * 59 + this.AssociationTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..4fd7ac9fb06897990dcd4b61256e379bb2b95148 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemSearchCharacteristicFilter <p>Filter for Characteristics.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>ID of the characteristic to be used for filtering (e.g. 'COLOR'). Wildcards are supported. The search is case insensitive.<br /></p> (required). + /// <p>Value name of the characteristic to be used for filtering (e.g. 'red'). Wildcards are supported. The search is case insensitive.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter(string characteristicId = default(string), string characteristicValueName = default(string)) + { + // to ensure "characteristicId" is required (not null) + if (characteristicId == null) + { + throw new InvalidDataException("characteristicId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter and cannot be null"); + } + else + { + this.CharacteristicId = characteristicId; + } + // to ensure "characteristicValueName" is required (not null) + if (characteristicValueName == null) + { + throw new InvalidDataException("characteristicValueName is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter and cannot be null"); + } + else + { + this.CharacteristicValueName = characteristicValueName; + } + } + + /// + /// <p>ID of the characteristic to be used for filtering (e.g. 'COLOR'). Wildcards are supported. The search is case insensitive.<br /></p> + /// + /// <p>ID of the characteristic to be used for filtering (e.g. 'COLOR'). Wildcards are supported. The search is case insensitive.<br /></p> + [DataMember(Name="characteristicId", EmitDefaultValue=false)] + public string CharacteristicId { get; set; } + + /// + /// <p>Value name of the characteristic to be used for filtering (e.g. 'red'). Wildcards are supported. The search is case insensitive.<br /></p> + /// + /// <p>Value name of the characteristic to be used for filtering (e.g. 'red'). Wildcards are supported. The search is case insensitive.<br /></p> + [DataMember(Name="characteristicValueName", EmitDefaultValue=false)] + public string CharacteristicValueName { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter {\n"); + sb.Append(" CharacteristicId: ").Append(CharacteristicId).Append("\n"); + sb.Append(" CharacteristicValueName: ").Append(CharacteristicValueName).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter input) + { + if (input == null) + return false; + + return + ( + this.CharacteristicId == input.CharacteristicId || + (this.CharacteristicId != null && + this.CharacteristicId.Equals(input.CharacteristicId)) + ) && + ( + this.CharacteristicValueName == input.CharacteristicValueName || + (this.CharacteristicValueName != null && + this.CharacteristicValueName.Equals(input.CharacteristicValueName)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CharacteristicId != null) + hashCode = hashCode * 59 + this.CharacteristicId.GetHashCode(); + if (this.CharacteristicValueName != null) + hashCode = hashCode * 59 + this.CharacteristicValueName.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView.cs new file mode 100644 index 0000000000000000000000000000000000000000..d3b1a96306cbac3638e7118d5b11912084be9b9d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemSearchCharacteristicView <p>Characteristic view.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Value name of the characteristic.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey), string characteristicValueName = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView and cannot be null"); + } + else + { + this.Key = key; + } + this.CharacteristicValueName = characteristicValueName; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey Key { get; set; } + + /// + /// <p>Value name of the characteristic.<br /></p> + /// + /// <p>Value name of the characteristic.<br /></p> + [DataMember(Name="characteristicValueName", EmitDefaultValue=false)] + public string CharacteristicValueName { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CharacteristicValueName: ").Append(CharacteristicValueName).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CharacteristicValueName == input.CharacteristicValueName || + (this.CharacteristicValueName != null && + this.CharacteristicValueName.Equals(input.CharacteristicValueName)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CharacteristicValueName != null) + hashCode = hashCode * 59 + this.CharacteristicValueName.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..eb249c6ffe6f45a24c3090562b7d5c05552f0a64 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemSearchCharacteristicView.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>ID of the characteristic.<br /></p> (required). + /// <p>Value ID of the characteristic.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey(string characteristicId = default(string), string characteristicValueId = default(string)) + { + // to ensure "characteristicId" is required (not null) + if (characteristicId == null) + { + throw new InvalidDataException("characteristicId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey and cannot be null"); + } + else + { + this.CharacteristicId = characteristicId; + } + // to ensure "characteristicValueId" is required (not null) + if (characteristicValueId == null) + { + throw new InvalidDataException("characteristicValueId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey and cannot be null"); + } + else + { + this.CharacteristicValueId = characteristicValueId; + } + } + + /// + /// <p>ID of the characteristic.<br /></p> + /// + /// <p>ID of the characteristic.<br /></p> + [DataMember(Name="characteristicId", EmitDefaultValue=false)] + public string CharacteristicId { get; set; } + + /// + /// <p>Value ID of the characteristic.<br /></p> + /// + /// <p>Value ID of the characteristic.<br /></p> + [DataMember(Name="characteristicValueId", EmitDefaultValue=false)] + public string CharacteristicValueId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey {\n"); + sb.Append(" CharacteristicId: ").Append(CharacteristicId).Append("\n"); + sb.Append(" CharacteristicValueId: ").Append(CharacteristicValueId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey input) + { + if (input == null) + return false; + + return + ( + this.CharacteristicId == input.CharacteristicId || + (this.CharacteristicId != null && + this.CharacteristicId.Equals(input.CharacteristicId)) + ) && + ( + this.CharacteristicValueId == input.CharacteristicValueId || + (this.CharacteristicValueId != null && + this.CharacteristicValueId.Equals(input.CharacteristicValueId)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CharacteristicId != null) + hashCode = hashCode * 59 + this.CharacteristicId.GetHashCode(); + if (this.CharacteristicValueId != null) + hashCode = hashCode * 59 + this.CharacteristicValueId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..c450302ba3dddae1ab0fa9964412af50bcf3c5b8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter.cs @@ -0,0 +1,1380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemSearchFilter <p>Filter for search view.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p>. + /// <p>Item name which is searched in GK_BUG_ITEM_I8N_ITEM_TEXT.TEXT if exists, otherwise (if it is allowed by configuration) in AS_BSNGP_ITM.NM_ITM_GK. <br /></p>. + /// <p>Merchandise Hierarchy Group Name which is searched in GK_I18N_TEXT.LOCALIZED_TEXT if exists, otherwise in CO_MRHRC_GP.NM_MRHRC_GP.<br /></p>. + /// <p>Amount of the price.<br /></p>. + /// <p>If true only items authorized for sale are searched (RU_ITM_SL.FL_AZN_FR_SLS is true). <br /></p>. + /// <p>For filtering items with Item Collections. If true only items with Item Collection are searched. <br /></p>. + /// <p>For enabling/disabling case sensitivity for search in ItemID<br /> <br/><strong>Example</strong> - in DB are items where AS_BSNGP_ITM.ID_ITM = { A001, a001 }<br /><ul><li>caseSensitive=true: =&gt; only one: A001</li><li>caseSensitive=false: =&gt; returns both of them: A001, a001</li></ul><br /><br /></p>. + /// scaleDomainID. + /// <p>For filtering according to the code of the POS identity. <br /></p>. + /// <p>Search option whether the POS item identifier should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#posItemId} field in the view is always null.<br /></p>. + /// <p>Search option whether the Characteristics should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#characteristicViewList} field in the view is always null.<br /></p>. + /// <p>Filter for Characteristics.<br /></p>. + /// <p>Search option whether the {@link #itemID} should be used also for searching by Root Item ID in associations. It means that it searches all item with this root, in other words all child items for requested item.<br /></p>. + /// offset. + /// limit. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter(string itemID = default(string), string name = default(string), string merchandiseHierarchyGroupName = default(string), double? priceAmount = default(double?), bool? authorisedForSaleFlag = default(bool?), bool? itemCollectionSet = default(bool?), bool? itemIDCaseSensitive = default(bool?), string scaleDomainID = default(string), string posIdentityTypeCode = default(string), bool? optionLoadPosIdentity = default(bool?), bool? optionLoadCharacteristics = default(bool?), List characteristicFilterList = default(List), bool? searchItemIdInRootItemId = default(bool?), string offset = default(string), int? limit = default(int?), IBasicFilterConditionString uomITEMXXCUSTOM01 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM02 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM03 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM04 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM05 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM06 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM07 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM08 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM09 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM10 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM11 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM12 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM13 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM14 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM15 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM16 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM17 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM18 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM19 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM20 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM21 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM22 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM23 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM24 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM25 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM26 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM27 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM28 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM29 = default(IBasicFilterConditionString), IBasicFilterConditionString uomITEMXXCUSTOM30 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM01 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM02 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM03 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM04 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM05 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM06 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM07 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM08 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM09 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM10 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM11 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM12 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM13 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM14 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM15 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM16 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM17 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM18 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM19 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM20 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM21 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM22 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM23 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM24 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM25 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM26 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM27 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM28 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM29 = default(IBasicFilterConditionString), IBasicFilterConditionString itemXXCUSTOM30 = default(IBasicFilterConditionString)) + { + this.ItemID = itemID; + this.Name = name; + this.MerchandiseHierarchyGroupName = merchandiseHierarchyGroupName; + this.PriceAmount = priceAmount; + this.AuthorisedForSaleFlag = authorisedForSaleFlag; + this.ItemCollectionSet = itemCollectionSet; + this.ItemIDCaseSensitive = itemIDCaseSensitive; + this.ScaleDomainID = scaleDomainID; + this.PosIdentityTypeCode = posIdentityTypeCode; + this.OptionLoadPosIdentity = optionLoadPosIdentity; + this.OptionLoadCharacteristics = optionLoadCharacteristics; + this.CharacteristicFilterList = characteristicFilterList; + this.SearchItemIdInRootItemId = searchItemIdInRootItemId; + this.Offset = offset; + this.Limit = limit; + this.UomITEMXXCUSTOM01 = uomITEMXXCUSTOM01; + this.UomITEMXXCUSTOM02 = uomITEMXXCUSTOM02; + this.UomITEMXXCUSTOM03 = uomITEMXXCUSTOM03; + this.UomITEMXXCUSTOM04 = uomITEMXXCUSTOM04; + this.UomITEMXXCUSTOM05 = uomITEMXXCUSTOM05; + this.UomITEMXXCUSTOM06 = uomITEMXXCUSTOM06; + this.UomITEMXXCUSTOM07 = uomITEMXXCUSTOM07; + this.UomITEMXXCUSTOM08 = uomITEMXXCUSTOM08; + this.UomITEMXXCUSTOM09 = uomITEMXXCUSTOM09; + this.UomITEMXXCUSTOM10 = uomITEMXXCUSTOM10; + this.UomITEMXXCUSTOM11 = uomITEMXXCUSTOM11; + this.UomITEMXXCUSTOM12 = uomITEMXXCUSTOM12; + this.UomITEMXXCUSTOM13 = uomITEMXXCUSTOM13; + this.UomITEMXXCUSTOM14 = uomITEMXXCUSTOM14; + this.UomITEMXXCUSTOM15 = uomITEMXXCUSTOM15; + this.UomITEMXXCUSTOM16 = uomITEMXXCUSTOM16; + this.UomITEMXXCUSTOM17 = uomITEMXXCUSTOM17; + this.UomITEMXXCUSTOM18 = uomITEMXXCUSTOM18; + this.UomITEMXXCUSTOM19 = uomITEMXXCUSTOM19; + this.UomITEMXXCUSTOM20 = uomITEMXXCUSTOM20; + this.UomITEMXXCUSTOM21 = uomITEMXXCUSTOM21; + this.UomITEMXXCUSTOM22 = uomITEMXXCUSTOM22; + this.UomITEMXXCUSTOM23 = uomITEMXXCUSTOM23; + this.UomITEMXXCUSTOM24 = uomITEMXXCUSTOM24; + this.UomITEMXXCUSTOM25 = uomITEMXXCUSTOM25; + this.UomITEMXXCUSTOM26 = uomITEMXXCUSTOM26; + this.UomITEMXXCUSTOM27 = uomITEMXXCUSTOM27; + this.UomITEMXXCUSTOM28 = uomITEMXXCUSTOM28; + this.UomITEMXXCUSTOM29 = uomITEMXXCUSTOM29; + this.UomITEMXXCUSTOM30 = uomITEMXXCUSTOM30; + this.ItemXXCUSTOM01 = itemXXCUSTOM01; + this.ItemXXCUSTOM02 = itemXXCUSTOM02; + this.ItemXXCUSTOM03 = itemXXCUSTOM03; + this.ItemXXCUSTOM04 = itemXXCUSTOM04; + this.ItemXXCUSTOM05 = itemXXCUSTOM05; + this.ItemXXCUSTOM06 = itemXXCUSTOM06; + this.ItemXXCUSTOM07 = itemXXCUSTOM07; + this.ItemXXCUSTOM08 = itemXXCUSTOM08; + this.ItemXXCUSTOM09 = itemXXCUSTOM09; + this.ItemXXCUSTOM10 = itemXXCUSTOM10; + this.ItemXXCUSTOM11 = itemXXCUSTOM11; + this.ItemXXCUSTOM12 = itemXXCUSTOM12; + this.ItemXXCUSTOM13 = itemXXCUSTOM13; + this.ItemXXCUSTOM14 = itemXXCUSTOM14; + this.ItemXXCUSTOM15 = itemXXCUSTOM15; + this.ItemXXCUSTOM16 = itemXXCUSTOM16; + this.ItemXXCUSTOM17 = itemXXCUSTOM17; + this.ItemXXCUSTOM18 = itemXXCUSTOM18; + this.ItemXXCUSTOM19 = itemXXCUSTOM19; + this.ItemXXCUSTOM20 = itemXXCUSTOM20; + this.ItemXXCUSTOM21 = itemXXCUSTOM21; + this.ItemXXCUSTOM22 = itemXXCUSTOM22; + this.ItemXXCUSTOM23 = itemXXCUSTOM23; + this.ItemXXCUSTOM24 = itemXXCUSTOM24; + this.ItemXXCUSTOM25 = itemXXCUSTOM25; + this.ItemXXCUSTOM26 = itemXXCUSTOM26; + this.ItemXXCUSTOM27 = itemXXCUSTOM27; + this.ItemXXCUSTOM28 = itemXXCUSTOM28; + this.ItemXXCUSTOM29 = itemXXCUSTOM29; + this.ItemXXCUSTOM30 = itemXXCUSTOM30; + } + + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>Item name which is searched in GK_BUG_ITEM_I8N_ITEM_TEXT.TEXT if exists, otherwise (if it is allowed by configuration) in AS_BSNGP_ITM.NM_ITM_GK. <br /></p> + /// + /// <p>Item name which is searched in GK_BUG_ITEM_I8N_ITEM_TEXT.TEXT if exists, otherwise (if it is allowed by configuration) in AS_BSNGP_ITM.NM_ITM_GK. <br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Merchandise Hierarchy Group Name which is searched in GK_I18N_TEXT.LOCALIZED_TEXT if exists, otherwise in CO_MRHRC_GP.NM_MRHRC_GP.<br /></p> + /// + /// <p>Merchandise Hierarchy Group Name which is searched in GK_I18N_TEXT.LOCALIZED_TEXT if exists, otherwise in CO_MRHRC_GP.NM_MRHRC_GP.<br /></p> + [DataMember(Name="merchandiseHierarchyGroupName", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupName { get; set; } + + /// + /// <p>Amount of the price.<br /></p> + /// + /// <p>Amount of the price.<br /></p> + [DataMember(Name="priceAmount", EmitDefaultValue=false)] + public double? PriceAmount { get; set; } + + /// + /// <p>If true only items authorized for sale are searched (RU_ITM_SL.FL_AZN_FR_SLS is true). <br /></p> + /// + /// <p>If true only items authorized for sale are searched (RU_ITM_SL.FL_AZN_FR_SLS is true). <br /></p> + [DataMember(Name="authorisedForSaleFlag", EmitDefaultValue=false)] + public bool? AuthorisedForSaleFlag { get; set; } + + /// + /// <p>For filtering items with Item Collections. If true only items with Item Collection are searched. <br /></p> + /// + /// <p>For filtering items with Item Collections. If true only items with Item Collection are searched. <br /></p> + [DataMember(Name="itemCollectionSet", EmitDefaultValue=false)] + public bool? ItemCollectionSet { get; set; } + + /// + /// <p>For enabling/disabling case sensitivity for search in ItemID<br /> <br/><strong>Example</strong> - in DB are items where AS_BSNGP_ITM.ID_ITM = { A001, a001 }<br /><ul><li>caseSensitive=true: =&gt; only one: A001</li><li>caseSensitive=false: =&gt; returns both of them: A001, a001</li></ul><br /><br /></p> + /// + /// <p>For enabling/disabling case sensitivity for search in ItemID<br /> <br/><strong>Example</strong> - in DB are items where AS_BSNGP_ITM.ID_ITM = { A001, a001 }<br /><ul><li>caseSensitive=true: =&gt; only one: A001</li><li>caseSensitive=false: =&gt; returns both of them: A001, a001</li></ul><br /><br /></p> + [DataMember(Name="itemIDCaseSensitive", EmitDefaultValue=false)] + public bool? ItemIDCaseSensitive { get; set; } + + /// + /// Gets or Sets ScaleDomainID + /// + [DataMember(Name="scaleDomainID", EmitDefaultValue=false)] + public string ScaleDomainID { get; set; } + + /// + /// <p>For filtering according to the code of the POS identity. <br /></p> + /// + /// <p>For filtering according to the code of the POS identity. <br /></p> + [DataMember(Name="posIdentityTypeCode", EmitDefaultValue=false)] + public string PosIdentityTypeCode { get; set; } + + /// + /// <p>Search option whether the POS item identifier should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#posItemId} field in the view is always null.<br /></p> + /// + /// <p>Search option whether the POS item identifier should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#posItemId} field in the view is always null.<br /></p> + [DataMember(Name="optionLoadPosIdentity", EmitDefaultValue=false)] + public bool? OptionLoadPosIdentity { get; set; } + + /// + /// <p>Search option whether the Characteristics should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#characteristicViewList} field in the view is always null.<br /></p> + /// + /// <p>Search option whether the Characteristics should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#characteristicViewList} field in the view is always null.<br /></p> + [DataMember(Name="optionLoadCharacteristics", EmitDefaultValue=false)] + public bool? OptionLoadCharacteristics { get; set; } + + /// + /// <p>Filter for Characteristics.<br /></p> + /// + /// <p>Filter for Characteristics.<br /></p> + [DataMember(Name="characteristicFilterList", EmitDefaultValue=false)] + public List CharacteristicFilterList { get; set; } + + /// + /// <p>Search option whether the {@link #itemID} should be used also for searching by Root Item ID in associations. It means that it searches all item with this root, in other words all child items for requested item.<br /></p> + /// + /// <p>Search option whether the {@link #itemID} should be used also for searching by Root Item ID in associations. It means that it searches all item with this root, in other words all child items for requested item.<br /></p> + [DataMember(Name="searchItemIdInRootItemId", EmitDefaultValue=false)] + public bool? SearchItemIdInRootItemId { get; set; } + + /// + /// Gets or Sets Offset + /// + [DataMember(Name="offset", EmitDefaultValue=false)] + public string Offset { get; set; } + + /// + /// Gets or Sets Limit + /// + [DataMember(Name="limit", EmitDefaultValue=false)] + public int? Limit { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_01", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_02", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_03", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_04", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_05", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_06", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_07", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_08", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_09", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_10", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_11", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_12", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_13", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_14", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_15", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_16", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_17", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_18", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_19", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_20", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_21", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_22", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_23", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_24", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_25", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_26", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_27", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_28", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_29", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_30", EmitDefaultValue=false)] + public IBasicFilterConditionString UomITEMXXCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_01", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_02", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_03", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_04", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_05", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_06", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_07", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_08", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_09", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_10", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_11", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_12", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_13", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_14", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_15", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_16", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_17", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_18", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_19", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_20", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_21", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_22", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_23", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_24", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_25", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_26", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_27", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_28", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_29", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_30", EmitDefaultValue=false)] + public IBasicFilterConditionString ItemXXCUSTOM30 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupName: ").Append(MerchandiseHierarchyGroupName).Append("\n"); + sb.Append(" PriceAmount: ").Append(PriceAmount).Append("\n"); + sb.Append(" AuthorisedForSaleFlag: ").Append(AuthorisedForSaleFlag).Append("\n"); + sb.Append(" ItemCollectionSet: ").Append(ItemCollectionSet).Append("\n"); + sb.Append(" ItemIDCaseSensitive: ").Append(ItemIDCaseSensitive).Append("\n"); + sb.Append(" ScaleDomainID: ").Append(ScaleDomainID).Append("\n"); + sb.Append(" PosIdentityTypeCode: ").Append(PosIdentityTypeCode).Append("\n"); + sb.Append(" OptionLoadPosIdentity: ").Append(OptionLoadPosIdentity).Append("\n"); + sb.Append(" OptionLoadCharacteristics: ").Append(OptionLoadCharacteristics).Append("\n"); + sb.Append(" CharacteristicFilterList: ").Append(CharacteristicFilterList).Append("\n"); + sb.Append(" SearchItemIdInRootItemId: ").Append(SearchItemIdInRootItemId).Append("\n"); + sb.Append(" Offset: ").Append(Offset).Append("\n"); + sb.Append(" Limit: ").Append(Limit).Append("\n"); + sb.Append(" UomITEMXXCUSTOM01: ").Append(UomITEMXXCUSTOM01).Append("\n"); + sb.Append(" UomITEMXXCUSTOM02: ").Append(UomITEMXXCUSTOM02).Append("\n"); + sb.Append(" UomITEMXXCUSTOM03: ").Append(UomITEMXXCUSTOM03).Append("\n"); + sb.Append(" UomITEMXXCUSTOM04: ").Append(UomITEMXXCUSTOM04).Append("\n"); + sb.Append(" UomITEMXXCUSTOM05: ").Append(UomITEMXXCUSTOM05).Append("\n"); + sb.Append(" UomITEMXXCUSTOM06: ").Append(UomITEMXXCUSTOM06).Append("\n"); + sb.Append(" UomITEMXXCUSTOM07: ").Append(UomITEMXXCUSTOM07).Append("\n"); + sb.Append(" UomITEMXXCUSTOM08: ").Append(UomITEMXXCUSTOM08).Append("\n"); + sb.Append(" UomITEMXXCUSTOM09: ").Append(UomITEMXXCUSTOM09).Append("\n"); + sb.Append(" UomITEMXXCUSTOM10: ").Append(UomITEMXXCUSTOM10).Append("\n"); + sb.Append(" UomITEMXXCUSTOM11: ").Append(UomITEMXXCUSTOM11).Append("\n"); + sb.Append(" UomITEMXXCUSTOM12: ").Append(UomITEMXXCUSTOM12).Append("\n"); + sb.Append(" UomITEMXXCUSTOM13: ").Append(UomITEMXXCUSTOM13).Append("\n"); + sb.Append(" UomITEMXXCUSTOM14: ").Append(UomITEMXXCUSTOM14).Append("\n"); + sb.Append(" UomITEMXXCUSTOM15: ").Append(UomITEMXXCUSTOM15).Append("\n"); + sb.Append(" UomITEMXXCUSTOM16: ").Append(UomITEMXXCUSTOM16).Append("\n"); + sb.Append(" UomITEMXXCUSTOM17: ").Append(UomITEMXXCUSTOM17).Append("\n"); + sb.Append(" UomITEMXXCUSTOM18: ").Append(UomITEMXXCUSTOM18).Append("\n"); + sb.Append(" UomITEMXXCUSTOM19: ").Append(UomITEMXXCUSTOM19).Append("\n"); + sb.Append(" UomITEMXXCUSTOM20: ").Append(UomITEMXXCUSTOM20).Append("\n"); + sb.Append(" UomITEMXXCUSTOM21: ").Append(UomITEMXXCUSTOM21).Append("\n"); + sb.Append(" UomITEMXXCUSTOM22: ").Append(UomITEMXXCUSTOM22).Append("\n"); + sb.Append(" UomITEMXXCUSTOM23: ").Append(UomITEMXXCUSTOM23).Append("\n"); + sb.Append(" UomITEMXXCUSTOM24: ").Append(UomITEMXXCUSTOM24).Append("\n"); + sb.Append(" UomITEMXXCUSTOM25: ").Append(UomITEMXXCUSTOM25).Append("\n"); + sb.Append(" UomITEMXXCUSTOM26: ").Append(UomITEMXXCUSTOM26).Append("\n"); + sb.Append(" UomITEMXXCUSTOM27: ").Append(UomITEMXXCUSTOM27).Append("\n"); + sb.Append(" UomITEMXXCUSTOM28: ").Append(UomITEMXXCUSTOM28).Append("\n"); + sb.Append(" UomITEMXXCUSTOM29: ").Append(UomITEMXXCUSTOM29).Append("\n"); + sb.Append(" UomITEMXXCUSTOM30: ").Append(UomITEMXXCUSTOM30).Append("\n"); + sb.Append(" ItemXXCUSTOM01: ").Append(ItemXXCUSTOM01).Append("\n"); + sb.Append(" ItemXXCUSTOM02: ").Append(ItemXXCUSTOM02).Append("\n"); + sb.Append(" ItemXXCUSTOM03: ").Append(ItemXXCUSTOM03).Append("\n"); + sb.Append(" ItemXXCUSTOM04: ").Append(ItemXXCUSTOM04).Append("\n"); + sb.Append(" ItemXXCUSTOM05: ").Append(ItemXXCUSTOM05).Append("\n"); + sb.Append(" ItemXXCUSTOM06: ").Append(ItemXXCUSTOM06).Append("\n"); + sb.Append(" ItemXXCUSTOM07: ").Append(ItemXXCUSTOM07).Append("\n"); + sb.Append(" ItemXXCUSTOM08: ").Append(ItemXXCUSTOM08).Append("\n"); + sb.Append(" ItemXXCUSTOM09: ").Append(ItemXXCUSTOM09).Append("\n"); + sb.Append(" ItemXXCUSTOM10: ").Append(ItemXXCUSTOM10).Append("\n"); + sb.Append(" ItemXXCUSTOM11: ").Append(ItemXXCUSTOM11).Append("\n"); + sb.Append(" ItemXXCUSTOM12: ").Append(ItemXXCUSTOM12).Append("\n"); + sb.Append(" ItemXXCUSTOM13: ").Append(ItemXXCUSTOM13).Append("\n"); + sb.Append(" ItemXXCUSTOM14: ").Append(ItemXXCUSTOM14).Append("\n"); + sb.Append(" ItemXXCUSTOM15: ").Append(ItemXXCUSTOM15).Append("\n"); + sb.Append(" ItemXXCUSTOM16: ").Append(ItemXXCUSTOM16).Append("\n"); + sb.Append(" ItemXXCUSTOM17: ").Append(ItemXXCUSTOM17).Append("\n"); + sb.Append(" ItemXXCUSTOM18: ").Append(ItemXXCUSTOM18).Append("\n"); + sb.Append(" ItemXXCUSTOM19: ").Append(ItemXXCUSTOM19).Append("\n"); + sb.Append(" ItemXXCUSTOM20: ").Append(ItemXXCUSTOM20).Append("\n"); + sb.Append(" ItemXXCUSTOM21: ").Append(ItemXXCUSTOM21).Append("\n"); + sb.Append(" ItemXXCUSTOM22: ").Append(ItemXXCUSTOM22).Append("\n"); + sb.Append(" ItemXXCUSTOM23: ").Append(ItemXXCUSTOM23).Append("\n"); + sb.Append(" ItemXXCUSTOM24: ").Append(ItemXXCUSTOM24).Append("\n"); + sb.Append(" ItemXXCUSTOM25: ").Append(ItemXXCUSTOM25).Append("\n"); + sb.Append(" ItemXXCUSTOM26: ").Append(ItemXXCUSTOM26).Append("\n"); + sb.Append(" ItemXXCUSTOM27: ").Append(ItemXXCUSTOM27).Append("\n"); + sb.Append(" ItemXXCUSTOM28: ").Append(ItemXXCUSTOM28).Append("\n"); + sb.Append(" ItemXXCUSTOM29: ").Append(ItemXXCUSTOM29).Append("\n"); + sb.Append(" ItemXXCUSTOM30: ").Append(ItemXXCUSTOM30).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.MerchandiseHierarchyGroupName == input.MerchandiseHierarchyGroupName || + (this.MerchandiseHierarchyGroupName != null && + this.MerchandiseHierarchyGroupName.Equals(input.MerchandiseHierarchyGroupName)) + ) && + ( + this.PriceAmount == input.PriceAmount || + (this.PriceAmount != null && + this.PriceAmount.Equals(input.PriceAmount)) + ) && + ( + this.AuthorisedForSaleFlag == input.AuthorisedForSaleFlag || + (this.AuthorisedForSaleFlag != null && + this.AuthorisedForSaleFlag.Equals(input.AuthorisedForSaleFlag)) + ) && + ( + this.ItemCollectionSet == input.ItemCollectionSet || + (this.ItemCollectionSet != null && + this.ItemCollectionSet.Equals(input.ItemCollectionSet)) + ) && + ( + this.ItemIDCaseSensitive == input.ItemIDCaseSensitive || + (this.ItemIDCaseSensitive != null && + this.ItemIDCaseSensitive.Equals(input.ItemIDCaseSensitive)) + ) && + ( + this.ScaleDomainID == input.ScaleDomainID || + (this.ScaleDomainID != null && + this.ScaleDomainID.Equals(input.ScaleDomainID)) + ) && + ( + this.PosIdentityTypeCode == input.PosIdentityTypeCode || + (this.PosIdentityTypeCode != null && + this.PosIdentityTypeCode.Equals(input.PosIdentityTypeCode)) + ) && + ( + this.OptionLoadPosIdentity == input.OptionLoadPosIdentity || + (this.OptionLoadPosIdentity != null && + this.OptionLoadPosIdentity.Equals(input.OptionLoadPosIdentity)) + ) && + ( + this.OptionLoadCharacteristics == input.OptionLoadCharacteristics || + (this.OptionLoadCharacteristics != null && + this.OptionLoadCharacteristics.Equals(input.OptionLoadCharacteristics)) + ) && + ( + this.CharacteristicFilterList == input.CharacteristicFilterList || + this.CharacteristicFilterList != null && + this.CharacteristicFilterList.SequenceEqual(input.CharacteristicFilterList) + ) && + ( + this.SearchItemIdInRootItemId == input.SearchItemIdInRootItemId || + (this.SearchItemIdInRootItemId != null && + this.SearchItemIdInRootItemId.Equals(input.SearchItemIdInRootItemId)) + ) && + ( + this.Offset == input.Offset || + (this.Offset != null && + this.Offset.Equals(input.Offset)) + ) && + ( + this.Limit == input.Limit || + (this.Limit != null && + this.Limit.Equals(input.Limit)) + ) && + ( + this.UomITEMXXCUSTOM01 == input.UomITEMXXCUSTOM01 || + (this.UomITEMXXCUSTOM01 != null && + this.UomITEMXXCUSTOM01.Equals(input.UomITEMXXCUSTOM01)) + ) && + ( + this.UomITEMXXCUSTOM02 == input.UomITEMXXCUSTOM02 || + (this.UomITEMXXCUSTOM02 != null && + this.UomITEMXXCUSTOM02.Equals(input.UomITEMXXCUSTOM02)) + ) && + ( + this.UomITEMXXCUSTOM03 == input.UomITEMXXCUSTOM03 || + (this.UomITEMXXCUSTOM03 != null && + this.UomITEMXXCUSTOM03.Equals(input.UomITEMXXCUSTOM03)) + ) && + ( + this.UomITEMXXCUSTOM04 == input.UomITEMXXCUSTOM04 || + (this.UomITEMXXCUSTOM04 != null && + this.UomITEMXXCUSTOM04.Equals(input.UomITEMXXCUSTOM04)) + ) && + ( + this.UomITEMXXCUSTOM05 == input.UomITEMXXCUSTOM05 || + (this.UomITEMXXCUSTOM05 != null && + this.UomITEMXXCUSTOM05.Equals(input.UomITEMXXCUSTOM05)) + ) && + ( + this.UomITEMXXCUSTOM06 == input.UomITEMXXCUSTOM06 || + (this.UomITEMXXCUSTOM06 != null && + this.UomITEMXXCUSTOM06.Equals(input.UomITEMXXCUSTOM06)) + ) && + ( + this.UomITEMXXCUSTOM07 == input.UomITEMXXCUSTOM07 || + (this.UomITEMXXCUSTOM07 != null && + this.UomITEMXXCUSTOM07.Equals(input.UomITEMXXCUSTOM07)) + ) && + ( + this.UomITEMXXCUSTOM08 == input.UomITEMXXCUSTOM08 || + (this.UomITEMXXCUSTOM08 != null && + this.UomITEMXXCUSTOM08.Equals(input.UomITEMXXCUSTOM08)) + ) && + ( + this.UomITEMXXCUSTOM09 == input.UomITEMXXCUSTOM09 || + (this.UomITEMXXCUSTOM09 != null && + this.UomITEMXXCUSTOM09.Equals(input.UomITEMXXCUSTOM09)) + ) && + ( + this.UomITEMXXCUSTOM10 == input.UomITEMXXCUSTOM10 || + (this.UomITEMXXCUSTOM10 != null && + this.UomITEMXXCUSTOM10.Equals(input.UomITEMXXCUSTOM10)) + ) && + ( + this.UomITEMXXCUSTOM11 == input.UomITEMXXCUSTOM11 || + (this.UomITEMXXCUSTOM11 != null && + this.UomITEMXXCUSTOM11.Equals(input.UomITEMXXCUSTOM11)) + ) && + ( + this.UomITEMXXCUSTOM12 == input.UomITEMXXCUSTOM12 || + (this.UomITEMXXCUSTOM12 != null && + this.UomITEMXXCUSTOM12.Equals(input.UomITEMXXCUSTOM12)) + ) && + ( + this.UomITEMXXCUSTOM13 == input.UomITEMXXCUSTOM13 || + (this.UomITEMXXCUSTOM13 != null && + this.UomITEMXXCUSTOM13.Equals(input.UomITEMXXCUSTOM13)) + ) && + ( + this.UomITEMXXCUSTOM14 == input.UomITEMXXCUSTOM14 || + (this.UomITEMXXCUSTOM14 != null && + this.UomITEMXXCUSTOM14.Equals(input.UomITEMXXCUSTOM14)) + ) && + ( + this.UomITEMXXCUSTOM15 == input.UomITEMXXCUSTOM15 || + (this.UomITEMXXCUSTOM15 != null && + this.UomITEMXXCUSTOM15.Equals(input.UomITEMXXCUSTOM15)) + ) && + ( + this.UomITEMXXCUSTOM16 == input.UomITEMXXCUSTOM16 || + (this.UomITEMXXCUSTOM16 != null && + this.UomITEMXXCUSTOM16.Equals(input.UomITEMXXCUSTOM16)) + ) && + ( + this.UomITEMXXCUSTOM17 == input.UomITEMXXCUSTOM17 || + (this.UomITEMXXCUSTOM17 != null && + this.UomITEMXXCUSTOM17.Equals(input.UomITEMXXCUSTOM17)) + ) && + ( + this.UomITEMXXCUSTOM18 == input.UomITEMXXCUSTOM18 || + (this.UomITEMXXCUSTOM18 != null && + this.UomITEMXXCUSTOM18.Equals(input.UomITEMXXCUSTOM18)) + ) && + ( + this.UomITEMXXCUSTOM19 == input.UomITEMXXCUSTOM19 || + (this.UomITEMXXCUSTOM19 != null && + this.UomITEMXXCUSTOM19.Equals(input.UomITEMXXCUSTOM19)) + ) && + ( + this.UomITEMXXCUSTOM20 == input.UomITEMXXCUSTOM20 || + (this.UomITEMXXCUSTOM20 != null && + this.UomITEMXXCUSTOM20.Equals(input.UomITEMXXCUSTOM20)) + ) && + ( + this.UomITEMXXCUSTOM21 == input.UomITEMXXCUSTOM21 || + (this.UomITEMXXCUSTOM21 != null && + this.UomITEMXXCUSTOM21.Equals(input.UomITEMXXCUSTOM21)) + ) && + ( + this.UomITEMXXCUSTOM22 == input.UomITEMXXCUSTOM22 || + (this.UomITEMXXCUSTOM22 != null && + this.UomITEMXXCUSTOM22.Equals(input.UomITEMXXCUSTOM22)) + ) && + ( + this.UomITEMXXCUSTOM23 == input.UomITEMXXCUSTOM23 || + (this.UomITEMXXCUSTOM23 != null && + this.UomITEMXXCUSTOM23.Equals(input.UomITEMXXCUSTOM23)) + ) && + ( + this.UomITEMXXCUSTOM24 == input.UomITEMXXCUSTOM24 || + (this.UomITEMXXCUSTOM24 != null && + this.UomITEMXXCUSTOM24.Equals(input.UomITEMXXCUSTOM24)) + ) && + ( + this.UomITEMXXCUSTOM25 == input.UomITEMXXCUSTOM25 || + (this.UomITEMXXCUSTOM25 != null && + this.UomITEMXXCUSTOM25.Equals(input.UomITEMXXCUSTOM25)) + ) && + ( + this.UomITEMXXCUSTOM26 == input.UomITEMXXCUSTOM26 || + (this.UomITEMXXCUSTOM26 != null && + this.UomITEMXXCUSTOM26.Equals(input.UomITEMXXCUSTOM26)) + ) && + ( + this.UomITEMXXCUSTOM27 == input.UomITEMXXCUSTOM27 || + (this.UomITEMXXCUSTOM27 != null && + this.UomITEMXXCUSTOM27.Equals(input.UomITEMXXCUSTOM27)) + ) && + ( + this.UomITEMXXCUSTOM28 == input.UomITEMXXCUSTOM28 || + (this.UomITEMXXCUSTOM28 != null && + this.UomITEMXXCUSTOM28.Equals(input.UomITEMXXCUSTOM28)) + ) && + ( + this.UomITEMXXCUSTOM29 == input.UomITEMXXCUSTOM29 || + (this.UomITEMXXCUSTOM29 != null && + this.UomITEMXXCUSTOM29.Equals(input.UomITEMXXCUSTOM29)) + ) && + ( + this.UomITEMXXCUSTOM30 == input.UomITEMXXCUSTOM30 || + (this.UomITEMXXCUSTOM30 != null && + this.UomITEMXXCUSTOM30.Equals(input.UomITEMXXCUSTOM30)) + ) && + ( + this.ItemXXCUSTOM01 == input.ItemXXCUSTOM01 || + (this.ItemXXCUSTOM01 != null && + this.ItemXXCUSTOM01.Equals(input.ItemXXCUSTOM01)) + ) && + ( + this.ItemXXCUSTOM02 == input.ItemXXCUSTOM02 || + (this.ItemXXCUSTOM02 != null && + this.ItemXXCUSTOM02.Equals(input.ItemXXCUSTOM02)) + ) && + ( + this.ItemXXCUSTOM03 == input.ItemXXCUSTOM03 || + (this.ItemXXCUSTOM03 != null && + this.ItemXXCUSTOM03.Equals(input.ItemXXCUSTOM03)) + ) && + ( + this.ItemXXCUSTOM04 == input.ItemXXCUSTOM04 || + (this.ItemXXCUSTOM04 != null && + this.ItemXXCUSTOM04.Equals(input.ItemXXCUSTOM04)) + ) && + ( + this.ItemXXCUSTOM05 == input.ItemXXCUSTOM05 || + (this.ItemXXCUSTOM05 != null && + this.ItemXXCUSTOM05.Equals(input.ItemXXCUSTOM05)) + ) && + ( + this.ItemXXCUSTOM06 == input.ItemXXCUSTOM06 || + (this.ItemXXCUSTOM06 != null && + this.ItemXXCUSTOM06.Equals(input.ItemXXCUSTOM06)) + ) && + ( + this.ItemXXCUSTOM07 == input.ItemXXCUSTOM07 || + (this.ItemXXCUSTOM07 != null && + this.ItemXXCUSTOM07.Equals(input.ItemXXCUSTOM07)) + ) && + ( + this.ItemXXCUSTOM08 == input.ItemXXCUSTOM08 || + (this.ItemXXCUSTOM08 != null && + this.ItemXXCUSTOM08.Equals(input.ItemXXCUSTOM08)) + ) && + ( + this.ItemXXCUSTOM09 == input.ItemXXCUSTOM09 || + (this.ItemXXCUSTOM09 != null && + this.ItemXXCUSTOM09.Equals(input.ItemXXCUSTOM09)) + ) && + ( + this.ItemXXCUSTOM10 == input.ItemXXCUSTOM10 || + (this.ItemXXCUSTOM10 != null && + this.ItemXXCUSTOM10.Equals(input.ItemXXCUSTOM10)) + ) && + ( + this.ItemXXCUSTOM11 == input.ItemXXCUSTOM11 || + (this.ItemXXCUSTOM11 != null && + this.ItemXXCUSTOM11.Equals(input.ItemXXCUSTOM11)) + ) && + ( + this.ItemXXCUSTOM12 == input.ItemXXCUSTOM12 || + (this.ItemXXCUSTOM12 != null && + this.ItemXXCUSTOM12.Equals(input.ItemXXCUSTOM12)) + ) && + ( + this.ItemXXCUSTOM13 == input.ItemXXCUSTOM13 || + (this.ItemXXCUSTOM13 != null && + this.ItemXXCUSTOM13.Equals(input.ItemXXCUSTOM13)) + ) && + ( + this.ItemXXCUSTOM14 == input.ItemXXCUSTOM14 || + (this.ItemXXCUSTOM14 != null && + this.ItemXXCUSTOM14.Equals(input.ItemXXCUSTOM14)) + ) && + ( + this.ItemXXCUSTOM15 == input.ItemXXCUSTOM15 || + (this.ItemXXCUSTOM15 != null && + this.ItemXXCUSTOM15.Equals(input.ItemXXCUSTOM15)) + ) && + ( + this.ItemXXCUSTOM16 == input.ItemXXCUSTOM16 || + (this.ItemXXCUSTOM16 != null && + this.ItemXXCUSTOM16.Equals(input.ItemXXCUSTOM16)) + ) && + ( + this.ItemXXCUSTOM17 == input.ItemXXCUSTOM17 || + (this.ItemXXCUSTOM17 != null && + this.ItemXXCUSTOM17.Equals(input.ItemXXCUSTOM17)) + ) && + ( + this.ItemXXCUSTOM18 == input.ItemXXCUSTOM18 || + (this.ItemXXCUSTOM18 != null && + this.ItemXXCUSTOM18.Equals(input.ItemXXCUSTOM18)) + ) && + ( + this.ItemXXCUSTOM19 == input.ItemXXCUSTOM19 || + (this.ItemXXCUSTOM19 != null && + this.ItemXXCUSTOM19.Equals(input.ItemXXCUSTOM19)) + ) && + ( + this.ItemXXCUSTOM20 == input.ItemXXCUSTOM20 || + (this.ItemXXCUSTOM20 != null && + this.ItemXXCUSTOM20.Equals(input.ItemXXCUSTOM20)) + ) && + ( + this.ItemXXCUSTOM21 == input.ItemXXCUSTOM21 || + (this.ItemXXCUSTOM21 != null && + this.ItemXXCUSTOM21.Equals(input.ItemXXCUSTOM21)) + ) && + ( + this.ItemXXCUSTOM22 == input.ItemXXCUSTOM22 || + (this.ItemXXCUSTOM22 != null && + this.ItemXXCUSTOM22.Equals(input.ItemXXCUSTOM22)) + ) && + ( + this.ItemXXCUSTOM23 == input.ItemXXCUSTOM23 || + (this.ItemXXCUSTOM23 != null && + this.ItemXXCUSTOM23.Equals(input.ItemXXCUSTOM23)) + ) && + ( + this.ItemXXCUSTOM24 == input.ItemXXCUSTOM24 || + (this.ItemXXCUSTOM24 != null && + this.ItemXXCUSTOM24.Equals(input.ItemXXCUSTOM24)) + ) && + ( + this.ItemXXCUSTOM25 == input.ItemXXCUSTOM25 || + (this.ItemXXCUSTOM25 != null && + this.ItemXXCUSTOM25.Equals(input.ItemXXCUSTOM25)) + ) && + ( + this.ItemXXCUSTOM26 == input.ItemXXCUSTOM26 || + (this.ItemXXCUSTOM26 != null && + this.ItemXXCUSTOM26.Equals(input.ItemXXCUSTOM26)) + ) && + ( + this.ItemXXCUSTOM27 == input.ItemXXCUSTOM27 || + (this.ItemXXCUSTOM27 != null && + this.ItemXXCUSTOM27.Equals(input.ItemXXCUSTOM27)) + ) && + ( + this.ItemXXCUSTOM28 == input.ItemXXCUSTOM28 || + (this.ItemXXCUSTOM28 != null && + this.ItemXXCUSTOM28.Equals(input.ItemXXCUSTOM28)) + ) && + ( + this.ItemXXCUSTOM29 == input.ItemXXCUSTOM29 || + (this.ItemXXCUSTOM29 != null && + this.ItemXXCUSTOM29.Equals(input.ItemXXCUSTOM29)) + ) && + ( + this.ItemXXCUSTOM30 == input.ItemXXCUSTOM30 || + (this.ItemXXCUSTOM30 != null && + this.ItemXXCUSTOM30.Equals(input.ItemXXCUSTOM30)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.MerchandiseHierarchyGroupName != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupName.GetHashCode(); + if (this.PriceAmount != null) + hashCode = hashCode * 59 + this.PriceAmount.GetHashCode(); + if (this.AuthorisedForSaleFlag != null) + hashCode = hashCode * 59 + this.AuthorisedForSaleFlag.GetHashCode(); + if (this.ItemCollectionSet != null) + hashCode = hashCode * 59 + this.ItemCollectionSet.GetHashCode(); + if (this.ItemIDCaseSensitive != null) + hashCode = hashCode * 59 + this.ItemIDCaseSensitive.GetHashCode(); + if (this.ScaleDomainID != null) + hashCode = hashCode * 59 + this.ScaleDomainID.GetHashCode(); + if (this.PosIdentityTypeCode != null) + hashCode = hashCode * 59 + this.PosIdentityTypeCode.GetHashCode(); + if (this.OptionLoadPosIdentity != null) + hashCode = hashCode * 59 + this.OptionLoadPosIdentity.GetHashCode(); + if (this.OptionLoadCharacteristics != null) + hashCode = hashCode * 59 + this.OptionLoadCharacteristics.GetHashCode(); + if (this.CharacteristicFilterList != null) + hashCode = hashCode * 59 + this.CharacteristicFilterList.GetHashCode(); + if (this.SearchItemIdInRootItemId != null) + hashCode = hashCode * 59 + this.SearchItemIdInRootItemId.GetHashCode(); + if (this.Offset != null) + hashCode = hashCode * 59 + this.Offset.GetHashCode(); + if (this.Limit != null) + hashCode = hashCode * 59 + this.Limit.GetHashCode(); + if (this.UomITEMXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM01.GetHashCode(); + if (this.UomITEMXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM02.GetHashCode(); + if (this.UomITEMXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM03.GetHashCode(); + if (this.UomITEMXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM04.GetHashCode(); + if (this.UomITEMXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM05.GetHashCode(); + if (this.UomITEMXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM06.GetHashCode(); + if (this.UomITEMXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM07.GetHashCode(); + if (this.UomITEMXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM08.GetHashCode(); + if (this.UomITEMXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM09.GetHashCode(); + if (this.UomITEMXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM10.GetHashCode(); + if (this.UomITEMXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM11.GetHashCode(); + if (this.UomITEMXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM12.GetHashCode(); + if (this.UomITEMXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM13.GetHashCode(); + if (this.UomITEMXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM14.GetHashCode(); + if (this.UomITEMXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM15.GetHashCode(); + if (this.UomITEMXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM16.GetHashCode(); + if (this.UomITEMXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM17.GetHashCode(); + if (this.UomITEMXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM18.GetHashCode(); + if (this.UomITEMXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM19.GetHashCode(); + if (this.UomITEMXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM20.GetHashCode(); + if (this.UomITEMXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM21.GetHashCode(); + if (this.UomITEMXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM22.GetHashCode(); + if (this.UomITEMXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM23.GetHashCode(); + if (this.UomITEMXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM24.GetHashCode(); + if (this.UomITEMXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM25.GetHashCode(); + if (this.UomITEMXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM26.GetHashCode(); + if (this.UomITEMXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM27.GetHashCode(); + if (this.UomITEMXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM28.GetHashCode(); + if (this.UomITEMXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM29.GetHashCode(); + if (this.UomITEMXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM30.GetHashCode(); + if (this.ItemXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM01.GetHashCode(); + if (this.ItemXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM02.GetHashCode(); + if (this.ItemXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM03.GetHashCode(); + if (this.ItemXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM04.GetHashCode(); + if (this.ItemXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM05.GetHashCode(); + if (this.ItemXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM06.GetHashCode(); + if (this.ItemXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM07.GetHashCode(); + if (this.ItemXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM08.GetHashCode(); + if (this.ItemXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM09.GetHashCode(); + if (this.ItemXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM10.GetHashCode(); + if (this.ItemXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM11.GetHashCode(); + if (this.ItemXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM12.GetHashCode(); + if (this.ItemXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM13.GetHashCode(); + if (this.ItemXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM14.GetHashCode(); + if (this.ItemXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM15.GetHashCode(); + if (this.ItemXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM16.GetHashCode(); + if (this.ItemXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM17.GetHashCode(); + if (this.ItemXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM18.GetHashCode(); + if (this.ItemXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM19.GetHashCode(); + if (this.ItemXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM20.GetHashCode(); + if (this.ItemXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM21.GetHashCode(); + if (this.ItemXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM22.GetHashCode(); + if (this.ItemXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM23.GetHashCode(); + if (this.ItemXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM24.GetHashCode(); + if (this.ItemXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM25.GetHashCode(); + if (this.ItemXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM26.GetHashCode(); + if (this.ItemXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM27.GetHashCode(); + if (this.ItemXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM28.GetHashCode(); + if (this.ItemXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM29.GetHashCode(); + if (this.ItemXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM30.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView.cs new file mode 100644 index 0000000000000000000000000000000000000000..21a1c3ddd105745af25504d7f9cccfaea2f9081f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView.cs @@ -0,0 +1,1380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemSearchView <p>Simplified view for PosUOMItem.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p>. + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p>. + /// <p>Unit of measure code<br /></p>. + /// <p>The name by which the item is known.<br /></p>. + /// <p>The main POS item identifier<br /></p>. + /// <p>Unit of measure code<br /></p>. + /// <p>Merchandise Hierarchy Group Name<br /></p>. + /// <p>Amount of the price<br /></p>. + /// <p>Formatted price amount. To be filled by clients, not filled by server<br /></p>. + /// packagePriceQuantity. + /// priceGroupId. + /// <p>True if the item has an Item Collection.<br /></p>. + /// defaultSellingUnitOfMeasureCode. + /// <p>The POS item identifier. Filled only when the {@link com.gk_software.gkr.api.server.md.item.dto.dom.pos.PosUOMItemSearchFilter#optionLoadPosIdentity}<br /> is set to true. <br /></p>. + /// <p>List of characteristic views.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView(string businessUnitGroupID = default(string), string itemID = default(string), string uomCode = default(string), string name = default(string), string mainPOSItemId = default(string), string unitOfMeasureName = default(string), string merchandiseHierarchyGroupName = default(string), double? priceAmount = default(double?), string formattedPriceAmount = default(string), int? packagePriceQuantity = default(int?), string priceGroupId = default(string), bool? itemCollectionSet = default(bool?), string defaultSellingUnitOfMeasureCode = default(string), string posItemId = default(string), List characteristicViewList = default(List), string uomITEMXXCUSTOM01 = default(string), string uomITEMXXCUSTOM02 = default(string), string uomITEMXXCUSTOM03 = default(string), string uomITEMXXCUSTOM04 = default(string), string uomITEMXXCUSTOM05 = default(string), string uomITEMXXCUSTOM06 = default(string), string uomITEMXXCUSTOM07 = default(string), string uomITEMXXCUSTOM08 = default(string), string uomITEMXXCUSTOM09 = default(string), string uomITEMXXCUSTOM10 = default(string), string uomITEMXXCUSTOM11 = default(string), string uomITEMXXCUSTOM12 = default(string), string uomITEMXXCUSTOM13 = default(string), string uomITEMXXCUSTOM14 = default(string), string uomITEMXXCUSTOM15 = default(string), string uomITEMXXCUSTOM16 = default(string), string uomITEMXXCUSTOM17 = default(string), string uomITEMXXCUSTOM18 = default(string), string uomITEMXXCUSTOM19 = default(string), string uomITEMXXCUSTOM20 = default(string), string uomITEMXXCUSTOM21 = default(string), string uomITEMXXCUSTOM22 = default(string), string uomITEMXXCUSTOM23 = default(string), string uomITEMXXCUSTOM24 = default(string), string uomITEMXXCUSTOM25 = default(string), string uomITEMXXCUSTOM26 = default(string), string uomITEMXXCUSTOM27 = default(string), string uomITEMXXCUSTOM28 = default(string), string uomITEMXXCUSTOM29 = default(string), string uomITEMXXCUSTOM30 = default(string), string itemXXCUSTOM01 = default(string), string itemXXCUSTOM02 = default(string), string itemXXCUSTOM03 = default(string), string itemXXCUSTOM04 = default(string), string itemXXCUSTOM05 = default(string), string itemXXCUSTOM06 = default(string), string itemXXCUSTOM07 = default(string), string itemXXCUSTOM08 = default(string), string itemXXCUSTOM09 = default(string), string itemXXCUSTOM10 = default(string), string itemXXCUSTOM11 = default(string), string itemXXCUSTOM12 = default(string), string itemXXCUSTOM13 = default(string), string itemXXCUSTOM14 = default(string), string itemXXCUSTOM15 = default(string), string itemXXCUSTOM16 = default(string), string itemXXCUSTOM17 = default(string), string itemXXCUSTOM18 = default(string), string itemXXCUSTOM19 = default(string), string itemXXCUSTOM20 = default(string), string itemXXCUSTOM21 = default(string), string itemXXCUSTOM22 = default(string), string itemXXCUSTOM23 = default(string), string itemXXCUSTOM24 = default(string), string itemXXCUSTOM25 = default(string), string itemXXCUSTOM26 = default(string), string itemXXCUSTOM27 = default(string), string itemXXCUSTOM28 = default(string), string itemXXCUSTOM29 = default(string), string itemXXCUSTOM30 = default(string)) + { + this.BusinessUnitGroupID = businessUnitGroupID; + this.ItemID = itemID; + this.UomCode = uomCode; + this.Name = name; + this.MainPOSItemId = mainPOSItemId; + this.UnitOfMeasureName = unitOfMeasureName; + this.MerchandiseHierarchyGroupName = merchandiseHierarchyGroupName; + this.PriceAmount = priceAmount; + this.FormattedPriceAmount = formattedPriceAmount; + this.PackagePriceQuantity = packagePriceQuantity; + this.PriceGroupId = priceGroupId; + this.ItemCollectionSet = itemCollectionSet; + this.DefaultSellingUnitOfMeasureCode = defaultSellingUnitOfMeasureCode; + this.PosItemId = posItemId; + this.CharacteristicViewList = characteristicViewList; + this.UomITEMXXCUSTOM01 = uomITEMXXCUSTOM01; + this.UomITEMXXCUSTOM02 = uomITEMXXCUSTOM02; + this.UomITEMXXCUSTOM03 = uomITEMXXCUSTOM03; + this.UomITEMXXCUSTOM04 = uomITEMXXCUSTOM04; + this.UomITEMXXCUSTOM05 = uomITEMXXCUSTOM05; + this.UomITEMXXCUSTOM06 = uomITEMXXCUSTOM06; + this.UomITEMXXCUSTOM07 = uomITEMXXCUSTOM07; + this.UomITEMXXCUSTOM08 = uomITEMXXCUSTOM08; + this.UomITEMXXCUSTOM09 = uomITEMXXCUSTOM09; + this.UomITEMXXCUSTOM10 = uomITEMXXCUSTOM10; + this.UomITEMXXCUSTOM11 = uomITEMXXCUSTOM11; + this.UomITEMXXCUSTOM12 = uomITEMXXCUSTOM12; + this.UomITEMXXCUSTOM13 = uomITEMXXCUSTOM13; + this.UomITEMXXCUSTOM14 = uomITEMXXCUSTOM14; + this.UomITEMXXCUSTOM15 = uomITEMXXCUSTOM15; + this.UomITEMXXCUSTOM16 = uomITEMXXCUSTOM16; + this.UomITEMXXCUSTOM17 = uomITEMXXCUSTOM17; + this.UomITEMXXCUSTOM18 = uomITEMXXCUSTOM18; + this.UomITEMXXCUSTOM19 = uomITEMXXCUSTOM19; + this.UomITEMXXCUSTOM20 = uomITEMXXCUSTOM20; + this.UomITEMXXCUSTOM21 = uomITEMXXCUSTOM21; + this.UomITEMXXCUSTOM22 = uomITEMXXCUSTOM22; + this.UomITEMXXCUSTOM23 = uomITEMXXCUSTOM23; + this.UomITEMXXCUSTOM24 = uomITEMXXCUSTOM24; + this.UomITEMXXCUSTOM25 = uomITEMXXCUSTOM25; + this.UomITEMXXCUSTOM26 = uomITEMXXCUSTOM26; + this.UomITEMXXCUSTOM27 = uomITEMXXCUSTOM27; + this.UomITEMXXCUSTOM28 = uomITEMXXCUSTOM28; + this.UomITEMXXCUSTOM29 = uomITEMXXCUSTOM29; + this.UomITEMXXCUSTOM30 = uomITEMXXCUSTOM30; + this.ItemXXCUSTOM01 = itemXXCUSTOM01; + this.ItemXXCUSTOM02 = itemXXCUSTOM02; + this.ItemXXCUSTOM03 = itemXXCUSTOM03; + this.ItemXXCUSTOM04 = itemXXCUSTOM04; + this.ItemXXCUSTOM05 = itemXXCUSTOM05; + this.ItemXXCUSTOM06 = itemXXCUSTOM06; + this.ItemXXCUSTOM07 = itemXXCUSTOM07; + this.ItemXXCUSTOM08 = itemXXCUSTOM08; + this.ItemXXCUSTOM09 = itemXXCUSTOM09; + this.ItemXXCUSTOM10 = itemXXCUSTOM10; + this.ItemXXCUSTOM11 = itemXXCUSTOM11; + this.ItemXXCUSTOM12 = itemXXCUSTOM12; + this.ItemXXCUSTOM13 = itemXXCUSTOM13; + this.ItemXXCUSTOM14 = itemXXCUSTOM14; + this.ItemXXCUSTOM15 = itemXXCUSTOM15; + this.ItemXXCUSTOM16 = itemXXCUSTOM16; + this.ItemXXCUSTOM17 = itemXXCUSTOM17; + this.ItemXXCUSTOM18 = itemXXCUSTOM18; + this.ItemXXCUSTOM19 = itemXXCUSTOM19; + this.ItemXXCUSTOM20 = itemXXCUSTOM20; + this.ItemXXCUSTOM21 = itemXXCUSTOM21; + this.ItemXXCUSTOM22 = itemXXCUSTOM22; + this.ItemXXCUSTOM23 = itemXXCUSTOM23; + this.ItemXXCUSTOM24 = itemXXCUSTOM24; + this.ItemXXCUSTOM25 = itemXXCUSTOM25; + this.ItemXXCUSTOM26 = itemXXCUSTOM26; + this.ItemXXCUSTOM27 = itemXXCUSTOM27; + this.ItemXXCUSTOM28 = itemXXCUSTOM28; + this.ItemXXCUSTOM29 = itemXXCUSTOM29; + this.ItemXXCUSTOM30 = itemXXCUSTOM30; + } + + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// <p>The name by which the item is known.<br /></p> + /// + /// <p>The name by which the item is known.<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The main POS item identifier<br /></p> + /// + /// <p>The main POS item identifier<br /></p> + [DataMember(Name="mainPOSItemId", EmitDefaultValue=false)] + public string MainPOSItemId { get; set; } + + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + [DataMember(Name="unitOfMeasureName", EmitDefaultValue=false)] + public string UnitOfMeasureName { get; set; } + + /// + /// <p>Merchandise Hierarchy Group Name<br /></p> + /// + /// <p>Merchandise Hierarchy Group Name<br /></p> + [DataMember(Name="merchandiseHierarchyGroupName", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupName { get; set; } + + /// + /// <p>Amount of the price<br /></p> + /// + /// <p>Amount of the price<br /></p> + [DataMember(Name="priceAmount", EmitDefaultValue=false)] + public double? PriceAmount { get; set; } + + /// + /// <p>Formatted price amount. To be filled by clients, not filled by server<br /></p> + /// + /// <p>Formatted price amount. To be filled by clients, not filled by server<br /></p> + [DataMember(Name="formattedPriceAmount", EmitDefaultValue=false)] + public string FormattedPriceAmount { get; set; } + + /// + /// Gets or Sets PackagePriceQuantity + /// + [DataMember(Name="packagePriceQuantity", EmitDefaultValue=false)] + public int? PackagePriceQuantity { get; set; } + + /// + /// Gets or Sets PriceGroupId + /// + [DataMember(Name="priceGroupId", EmitDefaultValue=false)] + public string PriceGroupId { get; set; } + + /// + /// <p>True if the item has an Item Collection.<br /></p> + /// + /// <p>True if the item has an Item Collection.<br /></p> + [DataMember(Name="itemCollectionSet", EmitDefaultValue=false)] + public bool? ItemCollectionSet { get; set; } + + /// + /// Gets or Sets DefaultSellingUnitOfMeasureCode + /// + [DataMember(Name="defaultSellingUnitOfMeasureCode", EmitDefaultValue=false)] + public string DefaultSellingUnitOfMeasureCode { get; set; } + + /// + /// <p>The POS item identifier. Filled only when the {@link com.gk_software.gkr.api.server.md.item.dto.dom.pos.PosUOMItemSearchFilter#optionLoadPosIdentity}<br /> is set to true. <br /></p> + /// + /// <p>The POS item identifier. Filled only when the {@link com.gk_software.gkr.api.server.md.item.dto.dom.pos.PosUOMItemSearchFilter#optionLoadPosIdentity}<br /> is set to true. <br /></p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>List of characteristic views.<br /></p> + /// + /// <p>List of characteristic views.<br /></p> + [DataMember(Name="characteristicViewList", EmitDefaultValue=false)] + public List CharacteristicViewList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_01", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_02", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_03", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_04", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_05", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_06", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_07", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_08", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_09", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_10", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_11", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_12", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_13", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_14", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_15", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_16", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_17", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_18", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_19", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_20", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_21", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_22", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_23", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_24", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_25", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_26", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_27", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_28", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_29", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="uom_ITEM_XX_CUSTOM_30", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_01", EmitDefaultValue=false)] + public string ItemXXCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_02", EmitDefaultValue=false)] + public string ItemXXCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_03", EmitDefaultValue=false)] + public string ItemXXCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_04", EmitDefaultValue=false)] + public string ItemXXCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_05", EmitDefaultValue=false)] + public string ItemXXCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_06", EmitDefaultValue=false)] + public string ItemXXCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_07", EmitDefaultValue=false)] + public string ItemXXCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_08", EmitDefaultValue=false)] + public string ItemXXCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_09", EmitDefaultValue=false)] + public string ItemXXCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_10", EmitDefaultValue=false)] + public string ItemXXCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_11", EmitDefaultValue=false)] + public string ItemXXCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_12", EmitDefaultValue=false)] + public string ItemXXCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_13", EmitDefaultValue=false)] + public string ItemXXCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_14", EmitDefaultValue=false)] + public string ItemXXCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_15", EmitDefaultValue=false)] + public string ItemXXCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_16", EmitDefaultValue=false)] + public string ItemXXCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_17", EmitDefaultValue=false)] + public string ItemXXCUSTOM17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_18", EmitDefaultValue=false)] + public string ItemXXCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_19", EmitDefaultValue=false)] + public string ItemXXCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_20", EmitDefaultValue=false)] + public string ItemXXCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_21", EmitDefaultValue=false)] + public string ItemXXCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_22", EmitDefaultValue=false)] + public string ItemXXCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_23", EmitDefaultValue=false)] + public string ItemXXCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_24", EmitDefaultValue=false)] + public string ItemXXCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_25", EmitDefaultValue=false)] + public string ItemXXCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_26", EmitDefaultValue=false)] + public string ItemXXCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_27", EmitDefaultValue=false)] + public string ItemXXCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_28", EmitDefaultValue=false)] + public string ItemXXCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_29", EmitDefaultValue=false)] + public string ItemXXCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="item_XX_CUSTOM_30", EmitDefaultValue=false)] + public string ItemXXCUSTOM30 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" MainPOSItemId: ").Append(MainPOSItemId).Append("\n"); + sb.Append(" UnitOfMeasureName: ").Append(UnitOfMeasureName).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupName: ").Append(MerchandiseHierarchyGroupName).Append("\n"); + sb.Append(" PriceAmount: ").Append(PriceAmount).Append("\n"); + sb.Append(" FormattedPriceAmount: ").Append(FormattedPriceAmount).Append("\n"); + sb.Append(" PackagePriceQuantity: ").Append(PackagePriceQuantity).Append("\n"); + sb.Append(" PriceGroupId: ").Append(PriceGroupId).Append("\n"); + sb.Append(" ItemCollectionSet: ").Append(ItemCollectionSet).Append("\n"); + sb.Append(" DefaultSellingUnitOfMeasureCode: ").Append(DefaultSellingUnitOfMeasureCode).Append("\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" CharacteristicViewList: ").Append(CharacteristicViewList).Append("\n"); + sb.Append(" UomITEMXXCUSTOM01: ").Append(UomITEMXXCUSTOM01).Append("\n"); + sb.Append(" UomITEMXXCUSTOM02: ").Append(UomITEMXXCUSTOM02).Append("\n"); + sb.Append(" UomITEMXXCUSTOM03: ").Append(UomITEMXXCUSTOM03).Append("\n"); + sb.Append(" UomITEMXXCUSTOM04: ").Append(UomITEMXXCUSTOM04).Append("\n"); + sb.Append(" UomITEMXXCUSTOM05: ").Append(UomITEMXXCUSTOM05).Append("\n"); + sb.Append(" UomITEMXXCUSTOM06: ").Append(UomITEMXXCUSTOM06).Append("\n"); + sb.Append(" UomITEMXXCUSTOM07: ").Append(UomITEMXXCUSTOM07).Append("\n"); + sb.Append(" UomITEMXXCUSTOM08: ").Append(UomITEMXXCUSTOM08).Append("\n"); + sb.Append(" UomITEMXXCUSTOM09: ").Append(UomITEMXXCUSTOM09).Append("\n"); + sb.Append(" UomITEMXXCUSTOM10: ").Append(UomITEMXXCUSTOM10).Append("\n"); + sb.Append(" UomITEMXXCUSTOM11: ").Append(UomITEMXXCUSTOM11).Append("\n"); + sb.Append(" UomITEMXXCUSTOM12: ").Append(UomITEMXXCUSTOM12).Append("\n"); + sb.Append(" UomITEMXXCUSTOM13: ").Append(UomITEMXXCUSTOM13).Append("\n"); + sb.Append(" UomITEMXXCUSTOM14: ").Append(UomITEMXXCUSTOM14).Append("\n"); + sb.Append(" UomITEMXXCUSTOM15: ").Append(UomITEMXXCUSTOM15).Append("\n"); + sb.Append(" UomITEMXXCUSTOM16: ").Append(UomITEMXXCUSTOM16).Append("\n"); + sb.Append(" UomITEMXXCUSTOM17: ").Append(UomITEMXXCUSTOM17).Append("\n"); + sb.Append(" UomITEMXXCUSTOM18: ").Append(UomITEMXXCUSTOM18).Append("\n"); + sb.Append(" UomITEMXXCUSTOM19: ").Append(UomITEMXXCUSTOM19).Append("\n"); + sb.Append(" UomITEMXXCUSTOM20: ").Append(UomITEMXXCUSTOM20).Append("\n"); + sb.Append(" UomITEMXXCUSTOM21: ").Append(UomITEMXXCUSTOM21).Append("\n"); + sb.Append(" UomITEMXXCUSTOM22: ").Append(UomITEMXXCUSTOM22).Append("\n"); + sb.Append(" UomITEMXXCUSTOM23: ").Append(UomITEMXXCUSTOM23).Append("\n"); + sb.Append(" UomITEMXXCUSTOM24: ").Append(UomITEMXXCUSTOM24).Append("\n"); + sb.Append(" UomITEMXXCUSTOM25: ").Append(UomITEMXXCUSTOM25).Append("\n"); + sb.Append(" UomITEMXXCUSTOM26: ").Append(UomITEMXXCUSTOM26).Append("\n"); + sb.Append(" UomITEMXXCUSTOM27: ").Append(UomITEMXXCUSTOM27).Append("\n"); + sb.Append(" UomITEMXXCUSTOM28: ").Append(UomITEMXXCUSTOM28).Append("\n"); + sb.Append(" UomITEMXXCUSTOM29: ").Append(UomITEMXXCUSTOM29).Append("\n"); + sb.Append(" UomITEMXXCUSTOM30: ").Append(UomITEMXXCUSTOM30).Append("\n"); + sb.Append(" ItemXXCUSTOM01: ").Append(ItemXXCUSTOM01).Append("\n"); + sb.Append(" ItemXXCUSTOM02: ").Append(ItemXXCUSTOM02).Append("\n"); + sb.Append(" ItemXXCUSTOM03: ").Append(ItemXXCUSTOM03).Append("\n"); + sb.Append(" ItemXXCUSTOM04: ").Append(ItemXXCUSTOM04).Append("\n"); + sb.Append(" ItemXXCUSTOM05: ").Append(ItemXXCUSTOM05).Append("\n"); + sb.Append(" ItemXXCUSTOM06: ").Append(ItemXXCUSTOM06).Append("\n"); + sb.Append(" ItemXXCUSTOM07: ").Append(ItemXXCUSTOM07).Append("\n"); + sb.Append(" ItemXXCUSTOM08: ").Append(ItemXXCUSTOM08).Append("\n"); + sb.Append(" ItemXXCUSTOM09: ").Append(ItemXXCUSTOM09).Append("\n"); + sb.Append(" ItemXXCUSTOM10: ").Append(ItemXXCUSTOM10).Append("\n"); + sb.Append(" ItemXXCUSTOM11: ").Append(ItemXXCUSTOM11).Append("\n"); + sb.Append(" ItemXXCUSTOM12: ").Append(ItemXXCUSTOM12).Append("\n"); + sb.Append(" ItemXXCUSTOM13: ").Append(ItemXXCUSTOM13).Append("\n"); + sb.Append(" ItemXXCUSTOM14: ").Append(ItemXXCUSTOM14).Append("\n"); + sb.Append(" ItemXXCUSTOM15: ").Append(ItemXXCUSTOM15).Append("\n"); + sb.Append(" ItemXXCUSTOM16: ").Append(ItemXXCUSTOM16).Append("\n"); + sb.Append(" ItemXXCUSTOM17: ").Append(ItemXXCUSTOM17).Append("\n"); + sb.Append(" ItemXXCUSTOM18: ").Append(ItemXXCUSTOM18).Append("\n"); + sb.Append(" ItemXXCUSTOM19: ").Append(ItemXXCUSTOM19).Append("\n"); + sb.Append(" ItemXXCUSTOM20: ").Append(ItemXXCUSTOM20).Append("\n"); + sb.Append(" ItemXXCUSTOM21: ").Append(ItemXXCUSTOM21).Append("\n"); + sb.Append(" ItemXXCUSTOM22: ").Append(ItemXXCUSTOM22).Append("\n"); + sb.Append(" ItemXXCUSTOM23: ").Append(ItemXXCUSTOM23).Append("\n"); + sb.Append(" ItemXXCUSTOM24: ").Append(ItemXXCUSTOM24).Append("\n"); + sb.Append(" ItemXXCUSTOM25: ").Append(ItemXXCUSTOM25).Append("\n"); + sb.Append(" ItemXXCUSTOM26: ").Append(ItemXXCUSTOM26).Append("\n"); + sb.Append(" ItemXXCUSTOM27: ").Append(ItemXXCUSTOM27).Append("\n"); + sb.Append(" ItemXXCUSTOM28: ").Append(ItemXXCUSTOM28).Append("\n"); + sb.Append(" ItemXXCUSTOM29: ").Append(ItemXXCUSTOM29).Append("\n"); + sb.Append(" ItemXXCUSTOM30: ").Append(ItemXXCUSTOM30).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.MainPOSItemId == input.MainPOSItemId || + (this.MainPOSItemId != null && + this.MainPOSItemId.Equals(input.MainPOSItemId)) + ) && + ( + this.UnitOfMeasureName == input.UnitOfMeasureName || + (this.UnitOfMeasureName != null && + this.UnitOfMeasureName.Equals(input.UnitOfMeasureName)) + ) && + ( + this.MerchandiseHierarchyGroupName == input.MerchandiseHierarchyGroupName || + (this.MerchandiseHierarchyGroupName != null && + this.MerchandiseHierarchyGroupName.Equals(input.MerchandiseHierarchyGroupName)) + ) && + ( + this.PriceAmount == input.PriceAmount || + (this.PriceAmount != null && + this.PriceAmount.Equals(input.PriceAmount)) + ) && + ( + this.FormattedPriceAmount == input.FormattedPriceAmount || + (this.FormattedPriceAmount != null && + this.FormattedPriceAmount.Equals(input.FormattedPriceAmount)) + ) && + ( + this.PackagePriceQuantity == input.PackagePriceQuantity || + (this.PackagePriceQuantity != null && + this.PackagePriceQuantity.Equals(input.PackagePriceQuantity)) + ) && + ( + this.PriceGroupId == input.PriceGroupId || + (this.PriceGroupId != null && + this.PriceGroupId.Equals(input.PriceGroupId)) + ) && + ( + this.ItemCollectionSet == input.ItemCollectionSet || + (this.ItemCollectionSet != null && + this.ItemCollectionSet.Equals(input.ItemCollectionSet)) + ) && + ( + this.DefaultSellingUnitOfMeasureCode == input.DefaultSellingUnitOfMeasureCode || + (this.DefaultSellingUnitOfMeasureCode != null && + this.DefaultSellingUnitOfMeasureCode.Equals(input.DefaultSellingUnitOfMeasureCode)) + ) && + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.CharacteristicViewList == input.CharacteristicViewList || + this.CharacteristicViewList != null && + this.CharacteristicViewList.SequenceEqual(input.CharacteristicViewList) + ) && + ( + this.UomITEMXXCUSTOM01 == input.UomITEMXXCUSTOM01 || + (this.UomITEMXXCUSTOM01 != null && + this.UomITEMXXCUSTOM01.Equals(input.UomITEMXXCUSTOM01)) + ) && + ( + this.UomITEMXXCUSTOM02 == input.UomITEMXXCUSTOM02 || + (this.UomITEMXXCUSTOM02 != null && + this.UomITEMXXCUSTOM02.Equals(input.UomITEMXXCUSTOM02)) + ) && + ( + this.UomITEMXXCUSTOM03 == input.UomITEMXXCUSTOM03 || + (this.UomITEMXXCUSTOM03 != null && + this.UomITEMXXCUSTOM03.Equals(input.UomITEMXXCUSTOM03)) + ) && + ( + this.UomITEMXXCUSTOM04 == input.UomITEMXXCUSTOM04 || + (this.UomITEMXXCUSTOM04 != null && + this.UomITEMXXCUSTOM04.Equals(input.UomITEMXXCUSTOM04)) + ) && + ( + this.UomITEMXXCUSTOM05 == input.UomITEMXXCUSTOM05 || + (this.UomITEMXXCUSTOM05 != null && + this.UomITEMXXCUSTOM05.Equals(input.UomITEMXXCUSTOM05)) + ) && + ( + this.UomITEMXXCUSTOM06 == input.UomITEMXXCUSTOM06 || + (this.UomITEMXXCUSTOM06 != null && + this.UomITEMXXCUSTOM06.Equals(input.UomITEMXXCUSTOM06)) + ) && + ( + this.UomITEMXXCUSTOM07 == input.UomITEMXXCUSTOM07 || + (this.UomITEMXXCUSTOM07 != null && + this.UomITEMXXCUSTOM07.Equals(input.UomITEMXXCUSTOM07)) + ) && + ( + this.UomITEMXXCUSTOM08 == input.UomITEMXXCUSTOM08 || + (this.UomITEMXXCUSTOM08 != null && + this.UomITEMXXCUSTOM08.Equals(input.UomITEMXXCUSTOM08)) + ) && + ( + this.UomITEMXXCUSTOM09 == input.UomITEMXXCUSTOM09 || + (this.UomITEMXXCUSTOM09 != null && + this.UomITEMXXCUSTOM09.Equals(input.UomITEMXXCUSTOM09)) + ) && + ( + this.UomITEMXXCUSTOM10 == input.UomITEMXXCUSTOM10 || + (this.UomITEMXXCUSTOM10 != null && + this.UomITEMXXCUSTOM10.Equals(input.UomITEMXXCUSTOM10)) + ) && + ( + this.UomITEMXXCUSTOM11 == input.UomITEMXXCUSTOM11 || + (this.UomITEMXXCUSTOM11 != null && + this.UomITEMXXCUSTOM11.Equals(input.UomITEMXXCUSTOM11)) + ) && + ( + this.UomITEMXXCUSTOM12 == input.UomITEMXXCUSTOM12 || + (this.UomITEMXXCUSTOM12 != null && + this.UomITEMXXCUSTOM12.Equals(input.UomITEMXXCUSTOM12)) + ) && + ( + this.UomITEMXXCUSTOM13 == input.UomITEMXXCUSTOM13 || + (this.UomITEMXXCUSTOM13 != null && + this.UomITEMXXCUSTOM13.Equals(input.UomITEMXXCUSTOM13)) + ) && + ( + this.UomITEMXXCUSTOM14 == input.UomITEMXXCUSTOM14 || + (this.UomITEMXXCUSTOM14 != null && + this.UomITEMXXCUSTOM14.Equals(input.UomITEMXXCUSTOM14)) + ) && + ( + this.UomITEMXXCUSTOM15 == input.UomITEMXXCUSTOM15 || + (this.UomITEMXXCUSTOM15 != null && + this.UomITEMXXCUSTOM15.Equals(input.UomITEMXXCUSTOM15)) + ) && + ( + this.UomITEMXXCUSTOM16 == input.UomITEMXXCUSTOM16 || + (this.UomITEMXXCUSTOM16 != null && + this.UomITEMXXCUSTOM16.Equals(input.UomITEMXXCUSTOM16)) + ) && + ( + this.UomITEMXXCUSTOM17 == input.UomITEMXXCUSTOM17 || + (this.UomITEMXXCUSTOM17 != null && + this.UomITEMXXCUSTOM17.Equals(input.UomITEMXXCUSTOM17)) + ) && + ( + this.UomITEMXXCUSTOM18 == input.UomITEMXXCUSTOM18 || + (this.UomITEMXXCUSTOM18 != null && + this.UomITEMXXCUSTOM18.Equals(input.UomITEMXXCUSTOM18)) + ) && + ( + this.UomITEMXXCUSTOM19 == input.UomITEMXXCUSTOM19 || + (this.UomITEMXXCUSTOM19 != null && + this.UomITEMXXCUSTOM19.Equals(input.UomITEMXXCUSTOM19)) + ) && + ( + this.UomITEMXXCUSTOM20 == input.UomITEMXXCUSTOM20 || + (this.UomITEMXXCUSTOM20 != null && + this.UomITEMXXCUSTOM20.Equals(input.UomITEMXXCUSTOM20)) + ) && + ( + this.UomITEMXXCUSTOM21 == input.UomITEMXXCUSTOM21 || + (this.UomITEMXXCUSTOM21 != null && + this.UomITEMXXCUSTOM21.Equals(input.UomITEMXXCUSTOM21)) + ) && + ( + this.UomITEMXXCUSTOM22 == input.UomITEMXXCUSTOM22 || + (this.UomITEMXXCUSTOM22 != null && + this.UomITEMXXCUSTOM22.Equals(input.UomITEMXXCUSTOM22)) + ) && + ( + this.UomITEMXXCUSTOM23 == input.UomITEMXXCUSTOM23 || + (this.UomITEMXXCUSTOM23 != null && + this.UomITEMXXCUSTOM23.Equals(input.UomITEMXXCUSTOM23)) + ) && + ( + this.UomITEMXXCUSTOM24 == input.UomITEMXXCUSTOM24 || + (this.UomITEMXXCUSTOM24 != null && + this.UomITEMXXCUSTOM24.Equals(input.UomITEMXXCUSTOM24)) + ) && + ( + this.UomITEMXXCUSTOM25 == input.UomITEMXXCUSTOM25 || + (this.UomITEMXXCUSTOM25 != null && + this.UomITEMXXCUSTOM25.Equals(input.UomITEMXXCUSTOM25)) + ) && + ( + this.UomITEMXXCUSTOM26 == input.UomITEMXXCUSTOM26 || + (this.UomITEMXXCUSTOM26 != null && + this.UomITEMXXCUSTOM26.Equals(input.UomITEMXXCUSTOM26)) + ) && + ( + this.UomITEMXXCUSTOM27 == input.UomITEMXXCUSTOM27 || + (this.UomITEMXXCUSTOM27 != null && + this.UomITEMXXCUSTOM27.Equals(input.UomITEMXXCUSTOM27)) + ) && + ( + this.UomITEMXXCUSTOM28 == input.UomITEMXXCUSTOM28 || + (this.UomITEMXXCUSTOM28 != null && + this.UomITEMXXCUSTOM28.Equals(input.UomITEMXXCUSTOM28)) + ) && + ( + this.UomITEMXXCUSTOM29 == input.UomITEMXXCUSTOM29 || + (this.UomITEMXXCUSTOM29 != null && + this.UomITEMXXCUSTOM29.Equals(input.UomITEMXXCUSTOM29)) + ) && + ( + this.UomITEMXXCUSTOM30 == input.UomITEMXXCUSTOM30 || + (this.UomITEMXXCUSTOM30 != null && + this.UomITEMXXCUSTOM30.Equals(input.UomITEMXXCUSTOM30)) + ) && + ( + this.ItemXXCUSTOM01 == input.ItemXXCUSTOM01 || + (this.ItemXXCUSTOM01 != null && + this.ItemXXCUSTOM01.Equals(input.ItemXXCUSTOM01)) + ) && + ( + this.ItemXXCUSTOM02 == input.ItemXXCUSTOM02 || + (this.ItemXXCUSTOM02 != null && + this.ItemXXCUSTOM02.Equals(input.ItemXXCUSTOM02)) + ) && + ( + this.ItemXXCUSTOM03 == input.ItemXXCUSTOM03 || + (this.ItemXXCUSTOM03 != null && + this.ItemXXCUSTOM03.Equals(input.ItemXXCUSTOM03)) + ) && + ( + this.ItemXXCUSTOM04 == input.ItemXXCUSTOM04 || + (this.ItemXXCUSTOM04 != null && + this.ItemXXCUSTOM04.Equals(input.ItemXXCUSTOM04)) + ) && + ( + this.ItemXXCUSTOM05 == input.ItemXXCUSTOM05 || + (this.ItemXXCUSTOM05 != null && + this.ItemXXCUSTOM05.Equals(input.ItemXXCUSTOM05)) + ) && + ( + this.ItemXXCUSTOM06 == input.ItemXXCUSTOM06 || + (this.ItemXXCUSTOM06 != null && + this.ItemXXCUSTOM06.Equals(input.ItemXXCUSTOM06)) + ) && + ( + this.ItemXXCUSTOM07 == input.ItemXXCUSTOM07 || + (this.ItemXXCUSTOM07 != null && + this.ItemXXCUSTOM07.Equals(input.ItemXXCUSTOM07)) + ) && + ( + this.ItemXXCUSTOM08 == input.ItemXXCUSTOM08 || + (this.ItemXXCUSTOM08 != null && + this.ItemXXCUSTOM08.Equals(input.ItemXXCUSTOM08)) + ) && + ( + this.ItemXXCUSTOM09 == input.ItemXXCUSTOM09 || + (this.ItemXXCUSTOM09 != null && + this.ItemXXCUSTOM09.Equals(input.ItemXXCUSTOM09)) + ) && + ( + this.ItemXXCUSTOM10 == input.ItemXXCUSTOM10 || + (this.ItemXXCUSTOM10 != null && + this.ItemXXCUSTOM10.Equals(input.ItemXXCUSTOM10)) + ) && + ( + this.ItemXXCUSTOM11 == input.ItemXXCUSTOM11 || + (this.ItemXXCUSTOM11 != null && + this.ItemXXCUSTOM11.Equals(input.ItemXXCUSTOM11)) + ) && + ( + this.ItemXXCUSTOM12 == input.ItemXXCUSTOM12 || + (this.ItemXXCUSTOM12 != null && + this.ItemXXCUSTOM12.Equals(input.ItemXXCUSTOM12)) + ) && + ( + this.ItemXXCUSTOM13 == input.ItemXXCUSTOM13 || + (this.ItemXXCUSTOM13 != null && + this.ItemXXCUSTOM13.Equals(input.ItemXXCUSTOM13)) + ) && + ( + this.ItemXXCUSTOM14 == input.ItemXXCUSTOM14 || + (this.ItemXXCUSTOM14 != null && + this.ItemXXCUSTOM14.Equals(input.ItemXXCUSTOM14)) + ) && + ( + this.ItemXXCUSTOM15 == input.ItemXXCUSTOM15 || + (this.ItemXXCUSTOM15 != null && + this.ItemXXCUSTOM15.Equals(input.ItemXXCUSTOM15)) + ) && + ( + this.ItemXXCUSTOM16 == input.ItemXXCUSTOM16 || + (this.ItemXXCUSTOM16 != null && + this.ItemXXCUSTOM16.Equals(input.ItemXXCUSTOM16)) + ) && + ( + this.ItemXXCUSTOM17 == input.ItemXXCUSTOM17 || + (this.ItemXXCUSTOM17 != null && + this.ItemXXCUSTOM17.Equals(input.ItemXXCUSTOM17)) + ) && + ( + this.ItemXXCUSTOM18 == input.ItemXXCUSTOM18 || + (this.ItemXXCUSTOM18 != null && + this.ItemXXCUSTOM18.Equals(input.ItemXXCUSTOM18)) + ) && + ( + this.ItemXXCUSTOM19 == input.ItemXXCUSTOM19 || + (this.ItemXXCUSTOM19 != null && + this.ItemXXCUSTOM19.Equals(input.ItemXXCUSTOM19)) + ) && + ( + this.ItemXXCUSTOM20 == input.ItemXXCUSTOM20 || + (this.ItemXXCUSTOM20 != null && + this.ItemXXCUSTOM20.Equals(input.ItemXXCUSTOM20)) + ) && + ( + this.ItemXXCUSTOM21 == input.ItemXXCUSTOM21 || + (this.ItemXXCUSTOM21 != null && + this.ItemXXCUSTOM21.Equals(input.ItemXXCUSTOM21)) + ) && + ( + this.ItemXXCUSTOM22 == input.ItemXXCUSTOM22 || + (this.ItemXXCUSTOM22 != null && + this.ItemXXCUSTOM22.Equals(input.ItemXXCUSTOM22)) + ) && + ( + this.ItemXXCUSTOM23 == input.ItemXXCUSTOM23 || + (this.ItemXXCUSTOM23 != null && + this.ItemXXCUSTOM23.Equals(input.ItemXXCUSTOM23)) + ) && + ( + this.ItemXXCUSTOM24 == input.ItemXXCUSTOM24 || + (this.ItemXXCUSTOM24 != null && + this.ItemXXCUSTOM24.Equals(input.ItemXXCUSTOM24)) + ) && + ( + this.ItemXXCUSTOM25 == input.ItemXXCUSTOM25 || + (this.ItemXXCUSTOM25 != null && + this.ItemXXCUSTOM25.Equals(input.ItemXXCUSTOM25)) + ) && + ( + this.ItemXXCUSTOM26 == input.ItemXXCUSTOM26 || + (this.ItemXXCUSTOM26 != null && + this.ItemXXCUSTOM26.Equals(input.ItemXXCUSTOM26)) + ) && + ( + this.ItemXXCUSTOM27 == input.ItemXXCUSTOM27 || + (this.ItemXXCUSTOM27 != null && + this.ItemXXCUSTOM27.Equals(input.ItemXXCUSTOM27)) + ) && + ( + this.ItemXXCUSTOM28 == input.ItemXXCUSTOM28 || + (this.ItemXXCUSTOM28 != null && + this.ItemXXCUSTOM28.Equals(input.ItemXXCUSTOM28)) + ) && + ( + this.ItemXXCUSTOM29 == input.ItemXXCUSTOM29 || + (this.ItemXXCUSTOM29 != null && + this.ItemXXCUSTOM29.Equals(input.ItemXXCUSTOM29)) + ) && + ( + this.ItemXXCUSTOM30 == input.ItemXXCUSTOM30 || + (this.ItemXXCUSTOM30 != null && + this.ItemXXCUSTOM30.Equals(input.ItemXXCUSTOM30)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.MainPOSItemId != null) + hashCode = hashCode * 59 + this.MainPOSItemId.GetHashCode(); + if (this.UnitOfMeasureName != null) + hashCode = hashCode * 59 + this.UnitOfMeasureName.GetHashCode(); + if (this.MerchandiseHierarchyGroupName != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupName.GetHashCode(); + if (this.PriceAmount != null) + hashCode = hashCode * 59 + this.PriceAmount.GetHashCode(); + if (this.FormattedPriceAmount != null) + hashCode = hashCode * 59 + this.FormattedPriceAmount.GetHashCode(); + if (this.PackagePriceQuantity != null) + hashCode = hashCode * 59 + this.PackagePriceQuantity.GetHashCode(); + if (this.PriceGroupId != null) + hashCode = hashCode * 59 + this.PriceGroupId.GetHashCode(); + if (this.ItemCollectionSet != null) + hashCode = hashCode * 59 + this.ItemCollectionSet.GetHashCode(); + if (this.DefaultSellingUnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.DefaultSellingUnitOfMeasureCode.GetHashCode(); + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.CharacteristicViewList != null) + hashCode = hashCode * 59 + this.CharacteristicViewList.GetHashCode(); + if (this.UomITEMXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM01.GetHashCode(); + if (this.UomITEMXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM02.GetHashCode(); + if (this.UomITEMXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM03.GetHashCode(); + if (this.UomITEMXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM04.GetHashCode(); + if (this.UomITEMXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM05.GetHashCode(); + if (this.UomITEMXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM06.GetHashCode(); + if (this.UomITEMXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM07.GetHashCode(); + if (this.UomITEMXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM08.GetHashCode(); + if (this.UomITEMXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM09.GetHashCode(); + if (this.UomITEMXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM10.GetHashCode(); + if (this.UomITEMXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM11.GetHashCode(); + if (this.UomITEMXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM12.GetHashCode(); + if (this.UomITEMXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM13.GetHashCode(); + if (this.UomITEMXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM14.GetHashCode(); + if (this.UomITEMXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM15.GetHashCode(); + if (this.UomITEMXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM16.GetHashCode(); + if (this.UomITEMXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM17.GetHashCode(); + if (this.UomITEMXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM18.GetHashCode(); + if (this.UomITEMXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM19.GetHashCode(); + if (this.UomITEMXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM20.GetHashCode(); + if (this.UomITEMXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM21.GetHashCode(); + if (this.UomITEMXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM22.GetHashCode(); + if (this.UomITEMXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM23.GetHashCode(); + if (this.UomITEMXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM24.GetHashCode(); + if (this.UomITEMXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM25.GetHashCode(); + if (this.UomITEMXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM26.GetHashCode(); + if (this.UomITEMXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM27.GetHashCode(); + if (this.UomITEMXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM28.GetHashCode(); + if (this.UomITEMXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM29.GetHashCode(); + if (this.UomITEMXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM30.GetHashCode(); + if (this.ItemXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM01.GetHashCode(); + if (this.ItemXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM02.GetHashCode(); + if (this.ItemXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM03.GetHashCode(); + if (this.ItemXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM04.GetHashCode(); + if (this.ItemXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM05.GetHashCode(); + if (this.ItemXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM06.GetHashCode(); + if (this.ItemXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM07.GetHashCode(); + if (this.ItemXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM08.GetHashCode(); + if (this.ItemXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM09.GetHashCode(); + if (this.ItemXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM10.GetHashCode(); + if (this.ItemXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM11.GetHashCode(); + if (this.ItemXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM12.GetHashCode(); + if (this.ItemXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM13.GetHashCode(); + if (this.ItemXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM14.GetHashCode(); + if (this.ItemXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM15.GetHashCode(); + if (this.ItemXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM16.GetHashCode(); + if (this.ItemXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM17.GetHashCode(); + if (this.ItemXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM18.GetHashCode(); + if (this.ItemXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM19.GetHashCode(); + if (this.ItemXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM20.GetHashCode(); + if (this.ItemXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM21.GetHashCode(); + if (this.ItemXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM22.GetHashCode(); + if (this.ItemXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM23.GetHashCode(); + if (this.ItemXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM24.GetHashCode(); + if (this.ItemXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM25.GetHashCode(); + if (this.ItemXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM26.GetHashCode(); + if (this.ItemXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM27.GetHashCode(); + if (this.ItemXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM28.GetHashCode(); + if (this.ItemXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM29.GetHashCode(); + if (this.ItemXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.ItemXXCUSTOM30.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..0a01159026d23b8b6eb7c8fd2f742ef51770d960 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO.cs @@ -0,0 +1,731 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemSellingPriceDO <p>Selling price<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Expiration (end) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Amount of the price<br /></p>. + /// packagePriceQuantity. + /// priceGroupId. + /// <p>Additional information concerning the price (e.g. campaign number)<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey), string priceExpirationDate = default(string), double? priceAmount = default(double?), int? packagePriceQuantity = default(int?), string priceGroupId = default(string), string description = default(string), string xxCUSTOM18 = default(string), string xxCUSTOM19 = default(string), string xxCUSTOM20 = default(string), string xxCUSTOM21 = default(string), string xxCUSTOM22 = default(string), string xxCUSTOM23 = default(string), string xxCUSTOM24 = default(string), string xxCUSTOM25 = default(string), string xxCUSTOM26 = default(string), string xxCUSTOM27 = default(string), string xxCUSTOM28 = default(string), string xxCUSTOM29 = default(string), string xxCUSTOM30 = default(string), string xxCUSTOM01 = default(string), string xxCUSTOM02 = default(string), string xxCUSTOM03 = default(string), string xxCUSTOM04 = default(string), string xxCUSTOM05 = default(string), string xxCUSTOM06 = default(string), string xxCUSTOM07 = default(string), string xxCUSTOM08 = default(string), string xxCUSTOM09 = default(string), string xxCUSTOM10 = default(string), string xxCUSTOM11 = default(string), string xxCUSTOM12 = default(string), string xxCUSTOM13 = default(string), string xxCUSTOM14 = default(string), string xxCUSTOM15 = default(string), string xxCUSTOM16 = default(string), string xxCUSTOM17 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO and cannot be null"); + } + else + { + this.Key = key; + } + this.PriceExpirationDate = priceExpirationDate; + this.PriceAmount = priceAmount; + this.PackagePriceQuantity = packagePriceQuantity; + this.PriceGroupId = priceGroupId; + this.Description = description; + this.XxCUSTOM18 = xxCUSTOM18; + this.XxCUSTOM19 = xxCUSTOM19; + this.XxCUSTOM20 = xxCUSTOM20; + this.XxCUSTOM21 = xxCUSTOM21; + this.XxCUSTOM22 = xxCUSTOM22; + this.XxCUSTOM23 = xxCUSTOM23; + this.XxCUSTOM24 = xxCUSTOM24; + this.XxCUSTOM25 = xxCUSTOM25; + this.XxCUSTOM26 = xxCUSTOM26; + this.XxCUSTOM27 = xxCUSTOM27; + this.XxCUSTOM28 = xxCUSTOM28; + this.XxCUSTOM29 = xxCUSTOM29; + this.XxCUSTOM30 = xxCUSTOM30; + this.XxCUSTOM01 = xxCUSTOM01; + this.XxCUSTOM02 = xxCUSTOM02; + this.XxCUSTOM03 = xxCUSTOM03; + this.XxCUSTOM04 = xxCUSTOM04; + this.XxCUSTOM05 = xxCUSTOM05; + this.XxCUSTOM06 = xxCUSTOM06; + this.XxCUSTOM07 = xxCUSTOM07; + this.XxCUSTOM08 = xxCUSTOM08; + this.XxCUSTOM09 = xxCUSTOM09; + this.XxCUSTOM10 = xxCUSTOM10; + this.XxCUSTOM11 = xxCUSTOM11; + this.XxCUSTOM12 = xxCUSTOM12; + this.XxCUSTOM13 = xxCUSTOM13; + this.XxCUSTOM14 = xxCUSTOM14; + this.XxCUSTOM15 = xxCUSTOM15; + this.XxCUSTOM16 = xxCUSTOM16; + this.XxCUSTOM17 = xxCUSTOM17; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey Key { get; set; } + + /// + /// <p>Expiration (end) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration (end) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="priceExpirationDate", EmitDefaultValue=false)] + public string PriceExpirationDate { get; set; } + + /// + /// <p>Amount of the price<br /></p> + /// + /// <p>Amount of the price<br /></p> + [DataMember(Name="priceAmount", EmitDefaultValue=false)] + public double? PriceAmount { get; set; } + + /// + /// Gets or Sets PackagePriceQuantity + /// + [DataMember(Name="packagePriceQuantity", EmitDefaultValue=false)] + public int? PackagePriceQuantity { get; set; } + + /// + /// Gets or Sets PriceGroupId + /// + [DataMember(Name="priceGroupId", EmitDefaultValue=false)] + public string PriceGroupId { get; set; } + + /// + /// <p>Additional information concerning the price (e.g. campaign number)<br /></p> + /// + /// <p>Additional information concerning the price (e.g. campaign number)<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_18", EmitDefaultValue=false)] + public string XxCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_19", EmitDefaultValue=false)] + public string XxCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_20", EmitDefaultValue=false)] + public string XxCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_21", EmitDefaultValue=false)] + public string XxCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_22", EmitDefaultValue=false)] + public string XxCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_23", EmitDefaultValue=false)] + public string XxCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_24", EmitDefaultValue=false)] + public string XxCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_25", EmitDefaultValue=false)] + public string XxCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_26", EmitDefaultValue=false)] + public string XxCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_27", EmitDefaultValue=false)] + public string XxCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_28", EmitDefaultValue=false)] + public string XxCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_29", EmitDefaultValue=false)] + public string XxCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_30", EmitDefaultValue=false)] + public string XxCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_01", EmitDefaultValue=false)] + public string XxCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_02", EmitDefaultValue=false)] + public string XxCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_03", EmitDefaultValue=false)] + public string XxCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_04", EmitDefaultValue=false)] + public string XxCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_05", EmitDefaultValue=false)] + public string XxCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_06", EmitDefaultValue=false)] + public string XxCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_07", EmitDefaultValue=false)] + public string XxCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_08", EmitDefaultValue=false)] + public string XxCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_09", EmitDefaultValue=false)] + public string XxCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_10", EmitDefaultValue=false)] + public string XxCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_11", EmitDefaultValue=false)] + public string XxCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_12", EmitDefaultValue=false)] + public string XxCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_13", EmitDefaultValue=false)] + public string XxCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_14", EmitDefaultValue=false)] + public string XxCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_15", EmitDefaultValue=false)] + public string XxCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_16", EmitDefaultValue=false)] + public string XxCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_17", EmitDefaultValue=false)] + public string XxCUSTOM17 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PriceExpirationDate: ").Append(PriceExpirationDate).Append("\n"); + sb.Append(" PriceAmount: ").Append(PriceAmount).Append("\n"); + sb.Append(" PackagePriceQuantity: ").Append(PackagePriceQuantity).Append("\n"); + sb.Append(" PriceGroupId: ").Append(PriceGroupId).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" XxCUSTOM18: ").Append(XxCUSTOM18).Append("\n"); + sb.Append(" XxCUSTOM19: ").Append(XxCUSTOM19).Append("\n"); + sb.Append(" XxCUSTOM20: ").Append(XxCUSTOM20).Append("\n"); + sb.Append(" XxCUSTOM21: ").Append(XxCUSTOM21).Append("\n"); + sb.Append(" XxCUSTOM22: ").Append(XxCUSTOM22).Append("\n"); + sb.Append(" XxCUSTOM23: ").Append(XxCUSTOM23).Append("\n"); + sb.Append(" XxCUSTOM24: ").Append(XxCUSTOM24).Append("\n"); + sb.Append(" XxCUSTOM25: ").Append(XxCUSTOM25).Append("\n"); + sb.Append(" XxCUSTOM26: ").Append(XxCUSTOM26).Append("\n"); + sb.Append(" XxCUSTOM27: ").Append(XxCUSTOM27).Append("\n"); + sb.Append(" XxCUSTOM28: ").Append(XxCUSTOM28).Append("\n"); + sb.Append(" XxCUSTOM29: ").Append(XxCUSTOM29).Append("\n"); + sb.Append(" XxCUSTOM30: ").Append(XxCUSTOM30).Append("\n"); + sb.Append(" XxCUSTOM01: ").Append(XxCUSTOM01).Append("\n"); + sb.Append(" XxCUSTOM02: ").Append(XxCUSTOM02).Append("\n"); + sb.Append(" XxCUSTOM03: ").Append(XxCUSTOM03).Append("\n"); + sb.Append(" XxCUSTOM04: ").Append(XxCUSTOM04).Append("\n"); + sb.Append(" XxCUSTOM05: ").Append(XxCUSTOM05).Append("\n"); + sb.Append(" XxCUSTOM06: ").Append(XxCUSTOM06).Append("\n"); + sb.Append(" XxCUSTOM07: ").Append(XxCUSTOM07).Append("\n"); + sb.Append(" XxCUSTOM08: ").Append(XxCUSTOM08).Append("\n"); + sb.Append(" XxCUSTOM09: ").Append(XxCUSTOM09).Append("\n"); + sb.Append(" XxCUSTOM10: ").Append(XxCUSTOM10).Append("\n"); + sb.Append(" XxCUSTOM11: ").Append(XxCUSTOM11).Append("\n"); + sb.Append(" XxCUSTOM12: ").Append(XxCUSTOM12).Append("\n"); + sb.Append(" XxCUSTOM13: ").Append(XxCUSTOM13).Append("\n"); + sb.Append(" XxCUSTOM14: ").Append(XxCUSTOM14).Append("\n"); + sb.Append(" XxCUSTOM15: ").Append(XxCUSTOM15).Append("\n"); + sb.Append(" XxCUSTOM16: ").Append(XxCUSTOM16).Append("\n"); + sb.Append(" XxCUSTOM17: ").Append(XxCUSTOM17).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PriceExpirationDate == input.PriceExpirationDate || + (this.PriceExpirationDate != null && + this.PriceExpirationDate.Equals(input.PriceExpirationDate)) + ) && + ( + this.PriceAmount == input.PriceAmount || + (this.PriceAmount != null && + this.PriceAmount.Equals(input.PriceAmount)) + ) && + ( + this.PackagePriceQuantity == input.PackagePriceQuantity || + (this.PackagePriceQuantity != null && + this.PackagePriceQuantity.Equals(input.PackagePriceQuantity)) + ) && + ( + this.PriceGroupId == input.PriceGroupId || + (this.PriceGroupId != null && + this.PriceGroupId.Equals(input.PriceGroupId)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.XxCUSTOM18 == input.XxCUSTOM18 || + (this.XxCUSTOM18 != null && + this.XxCUSTOM18.Equals(input.XxCUSTOM18)) + ) && + ( + this.XxCUSTOM19 == input.XxCUSTOM19 || + (this.XxCUSTOM19 != null && + this.XxCUSTOM19.Equals(input.XxCUSTOM19)) + ) && + ( + this.XxCUSTOM20 == input.XxCUSTOM20 || + (this.XxCUSTOM20 != null && + this.XxCUSTOM20.Equals(input.XxCUSTOM20)) + ) && + ( + this.XxCUSTOM21 == input.XxCUSTOM21 || + (this.XxCUSTOM21 != null && + this.XxCUSTOM21.Equals(input.XxCUSTOM21)) + ) && + ( + this.XxCUSTOM22 == input.XxCUSTOM22 || + (this.XxCUSTOM22 != null && + this.XxCUSTOM22.Equals(input.XxCUSTOM22)) + ) && + ( + this.XxCUSTOM23 == input.XxCUSTOM23 || + (this.XxCUSTOM23 != null && + this.XxCUSTOM23.Equals(input.XxCUSTOM23)) + ) && + ( + this.XxCUSTOM24 == input.XxCUSTOM24 || + (this.XxCUSTOM24 != null && + this.XxCUSTOM24.Equals(input.XxCUSTOM24)) + ) && + ( + this.XxCUSTOM25 == input.XxCUSTOM25 || + (this.XxCUSTOM25 != null && + this.XxCUSTOM25.Equals(input.XxCUSTOM25)) + ) && + ( + this.XxCUSTOM26 == input.XxCUSTOM26 || + (this.XxCUSTOM26 != null && + this.XxCUSTOM26.Equals(input.XxCUSTOM26)) + ) && + ( + this.XxCUSTOM27 == input.XxCUSTOM27 || + (this.XxCUSTOM27 != null && + this.XxCUSTOM27.Equals(input.XxCUSTOM27)) + ) && + ( + this.XxCUSTOM28 == input.XxCUSTOM28 || + (this.XxCUSTOM28 != null && + this.XxCUSTOM28.Equals(input.XxCUSTOM28)) + ) && + ( + this.XxCUSTOM29 == input.XxCUSTOM29 || + (this.XxCUSTOM29 != null && + this.XxCUSTOM29.Equals(input.XxCUSTOM29)) + ) && + ( + this.XxCUSTOM30 == input.XxCUSTOM30 || + (this.XxCUSTOM30 != null && + this.XxCUSTOM30.Equals(input.XxCUSTOM30)) + ) && + ( + this.XxCUSTOM01 == input.XxCUSTOM01 || + (this.XxCUSTOM01 != null && + this.XxCUSTOM01.Equals(input.XxCUSTOM01)) + ) && + ( + this.XxCUSTOM02 == input.XxCUSTOM02 || + (this.XxCUSTOM02 != null && + this.XxCUSTOM02.Equals(input.XxCUSTOM02)) + ) && + ( + this.XxCUSTOM03 == input.XxCUSTOM03 || + (this.XxCUSTOM03 != null && + this.XxCUSTOM03.Equals(input.XxCUSTOM03)) + ) && + ( + this.XxCUSTOM04 == input.XxCUSTOM04 || + (this.XxCUSTOM04 != null && + this.XxCUSTOM04.Equals(input.XxCUSTOM04)) + ) && + ( + this.XxCUSTOM05 == input.XxCUSTOM05 || + (this.XxCUSTOM05 != null && + this.XxCUSTOM05.Equals(input.XxCUSTOM05)) + ) && + ( + this.XxCUSTOM06 == input.XxCUSTOM06 || + (this.XxCUSTOM06 != null && + this.XxCUSTOM06.Equals(input.XxCUSTOM06)) + ) && + ( + this.XxCUSTOM07 == input.XxCUSTOM07 || + (this.XxCUSTOM07 != null && + this.XxCUSTOM07.Equals(input.XxCUSTOM07)) + ) && + ( + this.XxCUSTOM08 == input.XxCUSTOM08 || + (this.XxCUSTOM08 != null && + this.XxCUSTOM08.Equals(input.XxCUSTOM08)) + ) && + ( + this.XxCUSTOM09 == input.XxCUSTOM09 || + (this.XxCUSTOM09 != null && + this.XxCUSTOM09.Equals(input.XxCUSTOM09)) + ) && + ( + this.XxCUSTOM10 == input.XxCUSTOM10 || + (this.XxCUSTOM10 != null && + this.XxCUSTOM10.Equals(input.XxCUSTOM10)) + ) && + ( + this.XxCUSTOM11 == input.XxCUSTOM11 || + (this.XxCUSTOM11 != null && + this.XxCUSTOM11.Equals(input.XxCUSTOM11)) + ) && + ( + this.XxCUSTOM12 == input.XxCUSTOM12 || + (this.XxCUSTOM12 != null && + this.XxCUSTOM12.Equals(input.XxCUSTOM12)) + ) && + ( + this.XxCUSTOM13 == input.XxCUSTOM13 || + (this.XxCUSTOM13 != null && + this.XxCUSTOM13.Equals(input.XxCUSTOM13)) + ) && + ( + this.XxCUSTOM14 == input.XxCUSTOM14 || + (this.XxCUSTOM14 != null && + this.XxCUSTOM14.Equals(input.XxCUSTOM14)) + ) && + ( + this.XxCUSTOM15 == input.XxCUSTOM15 || + (this.XxCUSTOM15 != null && + this.XxCUSTOM15.Equals(input.XxCUSTOM15)) + ) && + ( + this.XxCUSTOM16 == input.XxCUSTOM16 || + (this.XxCUSTOM16 != null && + this.XxCUSTOM16.Equals(input.XxCUSTOM16)) + ) && + ( + this.XxCUSTOM17 == input.XxCUSTOM17 || + (this.XxCUSTOM17 != null && + this.XxCUSTOM17.Equals(input.XxCUSTOM17)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PriceExpirationDate != null) + hashCode = hashCode * 59 + this.PriceExpirationDate.GetHashCode(); + if (this.PriceAmount != null) + hashCode = hashCode * 59 + this.PriceAmount.GetHashCode(); + if (this.PackagePriceQuantity != null) + hashCode = hashCode * 59 + this.PackagePriceQuantity.GetHashCode(); + if (this.PriceGroupId != null) + hashCode = hashCode * 59 + this.PriceGroupId.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.XxCUSTOM18 != null) + hashCode = hashCode * 59 + this.XxCUSTOM18.GetHashCode(); + if (this.XxCUSTOM19 != null) + hashCode = hashCode * 59 + this.XxCUSTOM19.GetHashCode(); + if (this.XxCUSTOM20 != null) + hashCode = hashCode * 59 + this.XxCUSTOM20.GetHashCode(); + if (this.XxCUSTOM21 != null) + hashCode = hashCode * 59 + this.XxCUSTOM21.GetHashCode(); + if (this.XxCUSTOM22 != null) + hashCode = hashCode * 59 + this.XxCUSTOM22.GetHashCode(); + if (this.XxCUSTOM23 != null) + hashCode = hashCode * 59 + this.XxCUSTOM23.GetHashCode(); + if (this.XxCUSTOM24 != null) + hashCode = hashCode * 59 + this.XxCUSTOM24.GetHashCode(); + if (this.XxCUSTOM25 != null) + hashCode = hashCode * 59 + this.XxCUSTOM25.GetHashCode(); + if (this.XxCUSTOM26 != null) + hashCode = hashCode * 59 + this.XxCUSTOM26.GetHashCode(); + if (this.XxCUSTOM27 != null) + hashCode = hashCode * 59 + this.XxCUSTOM27.GetHashCode(); + if (this.XxCUSTOM28 != null) + hashCode = hashCode * 59 + this.XxCUSTOM28.GetHashCode(); + if (this.XxCUSTOM29 != null) + hashCode = hashCode * 59 + this.XxCUSTOM29.GetHashCode(); + if (this.XxCUSTOM30 != null) + hashCode = hashCode * 59 + this.XxCUSTOM30.GetHashCode(); + if (this.XxCUSTOM01 != null) + hashCode = hashCode * 59 + this.XxCUSTOM01.GetHashCode(); + if (this.XxCUSTOM02 != null) + hashCode = hashCode * 59 + this.XxCUSTOM02.GetHashCode(); + if (this.XxCUSTOM03 != null) + hashCode = hashCode * 59 + this.XxCUSTOM03.GetHashCode(); + if (this.XxCUSTOM04 != null) + hashCode = hashCode * 59 + this.XxCUSTOM04.GetHashCode(); + if (this.XxCUSTOM05 != null) + hashCode = hashCode * 59 + this.XxCUSTOM05.GetHashCode(); + if (this.XxCUSTOM06 != null) + hashCode = hashCode * 59 + this.XxCUSTOM06.GetHashCode(); + if (this.XxCUSTOM07 != null) + hashCode = hashCode * 59 + this.XxCUSTOM07.GetHashCode(); + if (this.XxCUSTOM08 != null) + hashCode = hashCode * 59 + this.XxCUSTOM08.GetHashCode(); + if (this.XxCUSTOM09 != null) + hashCode = hashCode * 59 + this.XxCUSTOM09.GetHashCode(); + if (this.XxCUSTOM10 != null) + hashCode = hashCode * 59 + this.XxCUSTOM10.GetHashCode(); + if (this.XxCUSTOM11 != null) + hashCode = hashCode * 59 + this.XxCUSTOM11.GetHashCode(); + if (this.XxCUSTOM12 != null) + hashCode = hashCode * 59 + this.XxCUSTOM12.GetHashCode(); + if (this.XxCUSTOM13 != null) + hashCode = hashCode * 59 + this.XxCUSTOM13.GetHashCode(); + if (this.XxCUSTOM14 != null) + hashCode = hashCode * 59 + this.XxCUSTOM14.GetHashCode(); + if (this.XxCUSTOM15 != null) + hashCode = hashCode * 59 + this.XxCUSTOM15.GetHashCode(); + if (this.XxCUSTOM16 != null) + hashCode = hashCode * 59 + this.XxCUSTOM16.GetHashCode(); + if (this.XxCUSTOM17 != null) + hashCode = hashCode * 59 + this.XxCUSTOM17.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..cae1ecfba14f5844890aae689683da00d7b6535d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey.cs @@ -0,0 +1,265 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemSellingPriceDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey : IEquatable, IValidatableObject + { + /// + /// <p>Type code of price (00 = default price, 01 = special price, PG = group price)<br /></p> + /// + /// <p>Type code of price (00 = default price, 01 = special price, PG = group price)<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceTypeCodeEnum + { + + /// + /// Enum DEFAULTPRICE for value: DEFAULT_PRICE + /// + [EnumMember(Value = "DEFAULT_PRICE")] + DEFAULTPRICE = 1, + + /// + /// Enum SPECIALPRICE for value: SPECIAL_PRICE + /// + [EnumMember(Value = "SPECIAL_PRICE")] + SPECIALPRICE = 2, + + /// + /// Enum PRICEGROUP for value: PRICE_GROUP + /// + [EnumMember(Value = "PRICE_GROUP")] + PRICEGROUP = 3 + } + + /// + /// <p>Type code of price (00 = default price, 01 = special price, PG = group price)<br /></p> + /// + /// <p>Type code of price (00 = default price, 01 = special price, PG = group price)<br /></p> + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public PriceTypeCodeEnum PriceTypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> (required). + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> (required). + /// <p>Unit of measure code<br /></p> (required). + /// <p>Type code of price (00 = default price, 01 = special price, PG = group price)<br /></p> (required). + /// <p>Effective (start) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey(string businessUnitGroupID = default(string), string itemID = default(string), string uomCode = default(string), PriceTypeCodeEnum priceTypeCode = default(PriceTypeCodeEnum), string priceEffectiveDate = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "uomCode" is required (not null) + if (uomCode == null) + { + throw new InvalidDataException("uomCode is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey and cannot be null"); + } + else + { + this.UomCode = uomCode; + } + // to ensure "priceTypeCode" is required (not null) + if (priceTypeCode == null) + { + throw new InvalidDataException("priceTypeCode is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey and cannot be null"); + } + else + { + this.PriceTypeCode = priceTypeCode; + } + // to ensure "priceEffectiveDate" is required (not null) + if (priceEffectiveDate == null) + { + throw new InvalidDataException("priceEffectiveDate is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey and cannot be null"); + } + else + { + this.PriceEffectiveDate = priceEffectiveDate; + } + } + + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + + /// + /// <p>Effective (start) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Effective (start) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="priceEffectiveDate", EmitDefaultValue=false)] + public string PriceEffectiveDate { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" PriceEffectiveDate: ").Append(PriceEffectiveDate).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.PriceEffectiveDate == input.PriceEffectiveDate || + (this.PriceEffectiveDate != null && + this.PriceEffectiveDate.Equals(input.PriceEffectiveDate)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.PriceEffectiveDate != null) + hashCode = hashCode * 59 + this.PriceEffectiveDate.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText.cs new file mode 100644 index 0000000000000000000000000000000000000000..a2094971f26e051c848930691e2828df0fb561be --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText.cs @@ -0,0 +1,682 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemText <p>Item text for the specific unit of measure<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Text in the nominated language<br /></p>. + /// <p>A flag to indicate if the text contains a link to the picture file for this item.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey key = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey), string text = default(string), bool? pictureFlag = default(bool?), string xxCUSTOM18 = default(string), string xxCUSTOM19 = default(string), string xxCUSTOM20 = default(string), string xxCUSTOM21 = default(string), string xxCUSTOM22 = default(string), string xxCUSTOM23 = default(string), string xxCUSTOM24 = default(string), string xxCUSTOM25 = default(string), string xxCUSTOM26 = default(string), string xxCUSTOM27 = default(string), string xxCUSTOM28 = default(string), string xxCUSTOM29 = default(string), string xxCUSTOM30 = default(string), string xxCUSTOM01 = default(string), string xxCUSTOM02 = default(string), string xxCUSTOM03 = default(string), string xxCUSTOM04 = default(string), string xxCUSTOM05 = default(string), string xxCUSTOM06 = default(string), string xxCUSTOM07 = default(string), string xxCUSTOM08 = default(string), string xxCUSTOM09 = default(string), string xxCUSTOM10 = default(string), string xxCUSTOM11 = default(string), string xxCUSTOM12 = default(string), string xxCUSTOM13 = default(string), string xxCUSTOM14 = default(string), string xxCUSTOM15 = default(string), string xxCUSTOM16 = default(string), string xxCUSTOM17 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText and cannot be null"); + } + else + { + this.Key = key; + } + this.Text = text; + this.PictureFlag = pictureFlag; + this.XxCUSTOM18 = xxCUSTOM18; + this.XxCUSTOM19 = xxCUSTOM19; + this.XxCUSTOM20 = xxCUSTOM20; + this.XxCUSTOM21 = xxCUSTOM21; + this.XxCUSTOM22 = xxCUSTOM22; + this.XxCUSTOM23 = xxCUSTOM23; + this.XxCUSTOM24 = xxCUSTOM24; + this.XxCUSTOM25 = xxCUSTOM25; + this.XxCUSTOM26 = xxCUSTOM26; + this.XxCUSTOM27 = xxCUSTOM27; + this.XxCUSTOM28 = xxCUSTOM28; + this.XxCUSTOM29 = xxCUSTOM29; + this.XxCUSTOM30 = xxCUSTOM30; + this.XxCUSTOM01 = xxCUSTOM01; + this.XxCUSTOM02 = xxCUSTOM02; + this.XxCUSTOM03 = xxCUSTOM03; + this.XxCUSTOM04 = xxCUSTOM04; + this.XxCUSTOM05 = xxCUSTOM05; + this.XxCUSTOM06 = xxCUSTOM06; + this.XxCUSTOM07 = xxCUSTOM07; + this.XxCUSTOM08 = xxCUSTOM08; + this.XxCUSTOM09 = xxCUSTOM09; + this.XxCUSTOM10 = xxCUSTOM10; + this.XxCUSTOM11 = xxCUSTOM11; + this.XxCUSTOM12 = xxCUSTOM12; + this.XxCUSTOM13 = xxCUSTOM13; + this.XxCUSTOM14 = xxCUSTOM14; + this.XxCUSTOM15 = xxCUSTOM15; + this.XxCUSTOM16 = xxCUSTOM16; + this.XxCUSTOM17 = xxCUSTOM17; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey Key { get; set; } + + /// + /// <p>Text in the nominated language<br /></p> + /// + /// <p>Text in the nominated language<br /></p> + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// <p>A flag to indicate if the text contains a link to the picture file for this item.<br /></p> + /// + /// <p>A flag to indicate if the text contains a link to the picture file for this item.<br /></p> + [DataMember(Name="pictureFlag", EmitDefaultValue=false)] + public bool? PictureFlag { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_18", EmitDefaultValue=false)] + public string XxCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_19", EmitDefaultValue=false)] + public string XxCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_20", EmitDefaultValue=false)] + public string XxCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_21", EmitDefaultValue=false)] + public string XxCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_22", EmitDefaultValue=false)] + public string XxCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_23", EmitDefaultValue=false)] + public string XxCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_24", EmitDefaultValue=false)] + public string XxCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_25", EmitDefaultValue=false)] + public string XxCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_26", EmitDefaultValue=false)] + public string XxCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_27", EmitDefaultValue=false)] + public string XxCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_28", EmitDefaultValue=false)] + public string XxCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_29", EmitDefaultValue=false)] + public string XxCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_30", EmitDefaultValue=false)] + public string XxCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_01", EmitDefaultValue=false)] + public string XxCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_02", EmitDefaultValue=false)] + public string XxCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_03", EmitDefaultValue=false)] + public string XxCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_04", EmitDefaultValue=false)] + public string XxCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_05", EmitDefaultValue=false)] + public string XxCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_06", EmitDefaultValue=false)] + public string XxCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_07", EmitDefaultValue=false)] + public string XxCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_08", EmitDefaultValue=false)] + public string XxCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_09", EmitDefaultValue=false)] + public string XxCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_10", EmitDefaultValue=false)] + public string XxCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_11", EmitDefaultValue=false)] + public string XxCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_12", EmitDefaultValue=false)] + public string XxCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_13", EmitDefaultValue=false)] + public string XxCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_14", EmitDefaultValue=false)] + public string XxCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_15", EmitDefaultValue=false)] + public string XxCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_16", EmitDefaultValue=false)] + public string XxCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_17", EmitDefaultValue=false)] + public string XxCUSTOM17 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" PictureFlag: ").Append(PictureFlag).Append("\n"); + sb.Append(" XxCUSTOM18: ").Append(XxCUSTOM18).Append("\n"); + sb.Append(" XxCUSTOM19: ").Append(XxCUSTOM19).Append("\n"); + sb.Append(" XxCUSTOM20: ").Append(XxCUSTOM20).Append("\n"); + sb.Append(" XxCUSTOM21: ").Append(XxCUSTOM21).Append("\n"); + sb.Append(" XxCUSTOM22: ").Append(XxCUSTOM22).Append("\n"); + sb.Append(" XxCUSTOM23: ").Append(XxCUSTOM23).Append("\n"); + sb.Append(" XxCUSTOM24: ").Append(XxCUSTOM24).Append("\n"); + sb.Append(" XxCUSTOM25: ").Append(XxCUSTOM25).Append("\n"); + sb.Append(" XxCUSTOM26: ").Append(XxCUSTOM26).Append("\n"); + sb.Append(" XxCUSTOM27: ").Append(XxCUSTOM27).Append("\n"); + sb.Append(" XxCUSTOM28: ").Append(XxCUSTOM28).Append("\n"); + sb.Append(" XxCUSTOM29: ").Append(XxCUSTOM29).Append("\n"); + sb.Append(" XxCUSTOM30: ").Append(XxCUSTOM30).Append("\n"); + sb.Append(" XxCUSTOM01: ").Append(XxCUSTOM01).Append("\n"); + sb.Append(" XxCUSTOM02: ").Append(XxCUSTOM02).Append("\n"); + sb.Append(" XxCUSTOM03: ").Append(XxCUSTOM03).Append("\n"); + sb.Append(" XxCUSTOM04: ").Append(XxCUSTOM04).Append("\n"); + sb.Append(" XxCUSTOM05: ").Append(XxCUSTOM05).Append("\n"); + sb.Append(" XxCUSTOM06: ").Append(XxCUSTOM06).Append("\n"); + sb.Append(" XxCUSTOM07: ").Append(XxCUSTOM07).Append("\n"); + sb.Append(" XxCUSTOM08: ").Append(XxCUSTOM08).Append("\n"); + sb.Append(" XxCUSTOM09: ").Append(XxCUSTOM09).Append("\n"); + sb.Append(" XxCUSTOM10: ").Append(XxCUSTOM10).Append("\n"); + sb.Append(" XxCUSTOM11: ").Append(XxCUSTOM11).Append("\n"); + sb.Append(" XxCUSTOM12: ").Append(XxCUSTOM12).Append("\n"); + sb.Append(" XxCUSTOM13: ").Append(XxCUSTOM13).Append("\n"); + sb.Append(" XxCUSTOM14: ").Append(XxCUSTOM14).Append("\n"); + sb.Append(" XxCUSTOM15: ").Append(XxCUSTOM15).Append("\n"); + sb.Append(" XxCUSTOM16: ").Append(XxCUSTOM16).Append("\n"); + sb.Append(" XxCUSTOM17: ").Append(XxCUSTOM17).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.PictureFlag == input.PictureFlag || + (this.PictureFlag != null && + this.PictureFlag.Equals(input.PictureFlag)) + ) && + ( + this.XxCUSTOM18 == input.XxCUSTOM18 || + (this.XxCUSTOM18 != null && + this.XxCUSTOM18.Equals(input.XxCUSTOM18)) + ) && + ( + this.XxCUSTOM19 == input.XxCUSTOM19 || + (this.XxCUSTOM19 != null && + this.XxCUSTOM19.Equals(input.XxCUSTOM19)) + ) && + ( + this.XxCUSTOM20 == input.XxCUSTOM20 || + (this.XxCUSTOM20 != null && + this.XxCUSTOM20.Equals(input.XxCUSTOM20)) + ) && + ( + this.XxCUSTOM21 == input.XxCUSTOM21 || + (this.XxCUSTOM21 != null && + this.XxCUSTOM21.Equals(input.XxCUSTOM21)) + ) && + ( + this.XxCUSTOM22 == input.XxCUSTOM22 || + (this.XxCUSTOM22 != null && + this.XxCUSTOM22.Equals(input.XxCUSTOM22)) + ) && + ( + this.XxCUSTOM23 == input.XxCUSTOM23 || + (this.XxCUSTOM23 != null && + this.XxCUSTOM23.Equals(input.XxCUSTOM23)) + ) && + ( + this.XxCUSTOM24 == input.XxCUSTOM24 || + (this.XxCUSTOM24 != null && + this.XxCUSTOM24.Equals(input.XxCUSTOM24)) + ) && + ( + this.XxCUSTOM25 == input.XxCUSTOM25 || + (this.XxCUSTOM25 != null && + this.XxCUSTOM25.Equals(input.XxCUSTOM25)) + ) && + ( + this.XxCUSTOM26 == input.XxCUSTOM26 || + (this.XxCUSTOM26 != null && + this.XxCUSTOM26.Equals(input.XxCUSTOM26)) + ) && + ( + this.XxCUSTOM27 == input.XxCUSTOM27 || + (this.XxCUSTOM27 != null && + this.XxCUSTOM27.Equals(input.XxCUSTOM27)) + ) && + ( + this.XxCUSTOM28 == input.XxCUSTOM28 || + (this.XxCUSTOM28 != null && + this.XxCUSTOM28.Equals(input.XxCUSTOM28)) + ) && + ( + this.XxCUSTOM29 == input.XxCUSTOM29 || + (this.XxCUSTOM29 != null && + this.XxCUSTOM29.Equals(input.XxCUSTOM29)) + ) && + ( + this.XxCUSTOM30 == input.XxCUSTOM30 || + (this.XxCUSTOM30 != null && + this.XxCUSTOM30.Equals(input.XxCUSTOM30)) + ) && + ( + this.XxCUSTOM01 == input.XxCUSTOM01 || + (this.XxCUSTOM01 != null && + this.XxCUSTOM01.Equals(input.XxCUSTOM01)) + ) && + ( + this.XxCUSTOM02 == input.XxCUSTOM02 || + (this.XxCUSTOM02 != null && + this.XxCUSTOM02.Equals(input.XxCUSTOM02)) + ) && + ( + this.XxCUSTOM03 == input.XxCUSTOM03 || + (this.XxCUSTOM03 != null && + this.XxCUSTOM03.Equals(input.XxCUSTOM03)) + ) && + ( + this.XxCUSTOM04 == input.XxCUSTOM04 || + (this.XxCUSTOM04 != null && + this.XxCUSTOM04.Equals(input.XxCUSTOM04)) + ) && + ( + this.XxCUSTOM05 == input.XxCUSTOM05 || + (this.XxCUSTOM05 != null && + this.XxCUSTOM05.Equals(input.XxCUSTOM05)) + ) && + ( + this.XxCUSTOM06 == input.XxCUSTOM06 || + (this.XxCUSTOM06 != null && + this.XxCUSTOM06.Equals(input.XxCUSTOM06)) + ) && + ( + this.XxCUSTOM07 == input.XxCUSTOM07 || + (this.XxCUSTOM07 != null && + this.XxCUSTOM07.Equals(input.XxCUSTOM07)) + ) && + ( + this.XxCUSTOM08 == input.XxCUSTOM08 || + (this.XxCUSTOM08 != null && + this.XxCUSTOM08.Equals(input.XxCUSTOM08)) + ) && + ( + this.XxCUSTOM09 == input.XxCUSTOM09 || + (this.XxCUSTOM09 != null && + this.XxCUSTOM09.Equals(input.XxCUSTOM09)) + ) && + ( + this.XxCUSTOM10 == input.XxCUSTOM10 || + (this.XxCUSTOM10 != null && + this.XxCUSTOM10.Equals(input.XxCUSTOM10)) + ) && + ( + this.XxCUSTOM11 == input.XxCUSTOM11 || + (this.XxCUSTOM11 != null && + this.XxCUSTOM11.Equals(input.XxCUSTOM11)) + ) && + ( + this.XxCUSTOM12 == input.XxCUSTOM12 || + (this.XxCUSTOM12 != null && + this.XxCUSTOM12.Equals(input.XxCUSTOM12)) + ) && + ( + this.XxCUSTOM13 == input.XxCUSTOM13 || + (this.XxCUSTOM13 != null && + this.XxCUSTOM13.Equals(input.XxCUSTOM13)) + ) && + ( + this.XxCUSTOM14 == input.XxCUSTOM14 || + (this.XxCUSTOM14 != null && + this.XxCUSTOM14.Equals(input.XxCUSTOM14)) + ) && + ( + this.XxCUSTOM15 == input.XxCUSTOM15 || + (this.XxCUSTOM15 != null && + this.XxCUSTOM15.Equals(input.XxCUSTOM15)) + ) && + ( + this.XxCUSTOM16 == input.XxCUSTOM16 || + (this.XxCUSTOM16 != null && + this.XxCUSTOM16.Equals(input.XxCUSTOM16)) + ) && + ( + this.XxCUSTOM17 == input.XxCUSTOM17 || + (this.XxCUSTOM17 != null && + this.XxCUSTOM17.Equals(input.XxCUSTOM17)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.PictureFlag != null) + hashCode = hashCode * 59 + this.PictureFlag.GetHashCode(); + if (this.XxCUSTOM18 != null) + hashCode = hashCode * 59 + this.XxCUSTOM18.GetHashCode(); + if (this.XxCUSTOM19 != null) + hashCode = hashCode * 59 + this.XxCUSTOM19.GetHashCode(); + if (this.XxCUSTOM20 != null) + hashCode = hashCode * 59 + this.XxCUSTOM20.GetHashCode(); + if (this.XxCUSTOM21 != null) + hashCode = hashCode * 59 + this.XxCUSTOM21.GetHashCode(); + if (this.XxCUSTOM22 != null) + hashCode = hashCode * 59 + this.XxCUSTOM22.GetHashCode(); + if (this.XxCUSTOM23 != null) + hashCode = hashCode * 59 + this.XxCUSTOM23.GetHashCode(); + if (this.XxCUSTOM24 != null) + hashCode = hashCode * 59 + this.XxCUSTOM24.GetHashCode(); + if (this.XxCUSTOM25 != null) + hashCode = hashCode * 59 + this.XxCUSTOM25.GetHashCode(); + if (this.XxCUSTOM26 != null) + hashCode = hashCode * 59 + this.XxCUSTOM26.GetHashCode(); + if (this.XxCUSTOM27 != null) + hashCode = hashCode * 59 + this.XxCUSTOM27.GetHashCode(); + if (this.XxCUSTOM28 != null) + hashCode = hashCode * 59 + this.XxCUSTOM28.GetHashCode(); + if (this.XxCUSTOM29 != null) + hashCode = hashCode * 59 + this.XxCUSTOM29.GetHashCode(); + if (this.XxCUSTOM30 != null) + hashCode = hashCode * 59 + this.XxCUSTOM30.GetHashCode(); + if (this.XxCUSTOM01 != null) + hashCode = hashCode * 59 + this.XxCUSTOM01.GetHashCode(); + if (this.XxCUSTOM02 != null) + hashCode = hashCode * 59 + this.XxCUSTOM02.GetHashCode(); + if (this.XxCUSTOM03 != null) + hashCode = hashCode * 59 + this.XxCUSTOM03.GetHashCode(); + if (this.XxCUSTOM04 != null) + hashCode = hashCode * 59 + this.XxCUSTOM04.GetHashCode(); + if (this.XxCUSTOM05 != null) + hashCode = hashCode * 59 + this.XxCUSTOM05.GetHashCode(); + if (this.XxCUSTOM06 != null) + hashCode = hashCode * 59 + this.XxCUSTOM06.GetHashCode(); + if (this.XxCUSTOM07 != null) + hashCode = hashCode * 59 + this.XxCUSTOM07.GetHashCode(); + if (this.XxCUSTOM08 != null) + hashCode = hashCode * 59 + this.XxCUSTOM08.GetHashCode(); + if (this.XxCUSTOM09 != null) + hashCode = hashCode * 59 + this.XxCUSTOM09.GetHashCode(); + if (this.XxCUSTOM10 != null) + hashCode = hashCode * 59 + this.XxCUSTOM10.GetHashCode(); + if (this.XxCUSTOM11 != null) + hashCode = hashCode * 59 + this.XxCUSTOM11.GetHashCode(); + if (this.XxCUSTOM12 != null) + hashCode = hashCode * 59 + this.XxCUSTOM12.GetHashCode(); + if (this.XxCUSTOM13 != null) + hashCode = hashCode * 59 + this.XxCUSTOM13.GetHashCode(); + if (this.XxCUSTOM14 != null) + hashCode = hashCode * 59 + this.XxCUSTOM14.GetHashCode(); + if (this.XxCUSTOM15 != null) + hashCode = hashCode * 59 + this.XxCUSTOM15.GetHashCode(); + if (this.XxCUSTOM16 != null) + hashCode = hashCode * 59 + this.XxCUSTOM16.GetHashCode(); + if (this.XxCUSTOM17 != null) + hashCode = hashCode * 59 + this.XxCUSTOM17.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d68dbd7fe7b16270d2759ff6f55f5ec77afd2ffa --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemText.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Text number (number of the row)<br /></p> (required). + /// <p>Text class (as part of the reference to the text)<br /></p> (required). + /// <p>A combination of ISO-639-1 and ISO-3661-1 or an own identifier to denote the language<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey(int? textNumber = default(int?), string textClass = default(string), string languageId = default(string)) + { + // to ensure "textNumber" is required (not null) + if (textNumber == null) + { + throw new InvalidDataException("textNumber is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey and cannot be null"); + } + else + { + this.TextNumber = textNumber; + } + // to ensure "textClass" is required (not null) + if (textClass == null) + { + throw new InvalidDataException("textClass is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey and cannot be null"); + } + else + { + this.TextClass = textClass; + } + // to ensure "languageId" is required (not null) + if (languageId == null) + { + throw new InvalidDataException("languageId is a required property for ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey and cannot be null"); + } + else + { + this.LanguageId = languageId; + } + } + + /// + /// <p>Text number (number of the row)<br /></p> + /// + /// <p>Text number (number of the row)<br /></p> + [DataMember(Name="textNumber", EmitDefaultValue=false)] + public int? TextNumber { get; set; } + + /// + /// <p>Text class (as part of the reference to the text)<br /></p> + /// + /// <p>Text class (as part of the reference to the text)<br /></p> + [DataMember(Name="textClass", EmitDefaultValue=false)] + public string TextClass { get; set; } + + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 or an own identifier to denote the language<br /></p> + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 or an own identifier to denote the language<br /></p> + [DataMember(Name="languageId", EmitDefaultValue=false)] + public string LanguageId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey {\n"); + sb.Append(" TextNumber: ").Append(TextNumber).Append("\n"); + sb.Append(" TextClass: ").Append(TextClass).Append("\n"); + sb.Append(" LanguageId: ").Append(LanguageId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey input) + { + if (input == null) + return false; + + return + ( + this.TextNumber == input.TextNumber || + (this.TextNumber != null && + this.TextNumber.Equals(input.TextNumber)) + ) && + ( + this.TextClass == input.TextClass || + (this.TextClass != null && + this.TextClass.Equals(input.TextClass)) + ) && + ( + this.LanguageId == input.LanguageId || + (this.LanguageId != null && + this.LanguageId.Equals(input.LanguageId)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TextNumber != null) + hashCode = hashCode * 59 + this.TextNumber.GetHashCode(); + if (this.TextClass != null) + hashCode = hashCode * 59 + this.TextClass.GetHashCode(); + if (this.LanguageId != null) + hashCode = hashCode * 59 + this.LanguageId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView.cs new file mode 100644 index 0000000000000000000000000000000000000000..8e170be6f8ae0e5da9518ba5fc4988749a3850c1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView.cs @@ -0,0 +1,668 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RelatedItemView <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// itemID. + /// uomCode. + /// mainPOSItemId. + /// uomItemName. + /// currentPrice. + /// uomITEMXXCUSTOM01. + /// uomITEMXXCUSTOM02. + /// uomITEMXXCUSTOM03. + /// uomITEMXXCUSTOM04. + /// uomITEMXXCUSTOM05. + /// uomITEMXXCUSTOM06. + /// uomITEMXXCUSTOM07. + /// uomITEMXXCUSTOM08. + /// uomITEMXXCUSTOM09. + /// uomITEMXXCUSTOM10. + /// uomITEMXXCUSTOM11. + /// uomITEMXXCUSTOM12. + /// uomITEMXXCUSTOM13. + /// uomITEMXXCUSTOM14. + /// uomITEMXXCUSTOM15. + /// uomITEMXXCUSTOM16. + /// uomITEMXXCUSTOM17. + /// uomITEMXXCUSTOM18. + /// uomITEMXXCUSTOM19. + /// uomITEMXXCUSTOM20. + /// uomITEMXXCUSTOM21. + /// uomITEMXXCUSTOM22. + /// uomITEMXXCUSTOM23. + /// uomITEMXXCUSTOM24. + /// uomITEMXXCUSTOM25. + /// uomITEMXXCUSTOM26. + /// uomITEMXXCUSTOM27. + /// uomITEMXXCUSTOM28. + /// uomITEMXXCUSTOM29. + /// uomITEMXXCUSTOM30. + public ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView(string itemID = default(string), string uomCode = default(string), string mainPOSItemId = default(string), string uomItemName = default(string), double? currentPrice = default(double?), string uomITEMXXCUSTOM01 = default(string), string uomITEMXXCUSTOM02 = default(string), string uomITEMXXCUSTOM03 = default(string), string uomITEMXXCUSTOM04 = default(string), string uomITEMXXCUSTOM05 = default(string), string uomITEMXXCUSTOM06 = default(string), string uomITEMXXCUSTOM07 = default(string), string uomITEMXXCUSTOM08 = default(string), string uomITEMXXCUSTOM09 = default(string), string uomITEMXXCUSTOM10 = default(string), string uomITEMXXCUSTOM11 = default(string), string uomITEMXXCUSTOM12 = default(string), string uomITEMXXCUSTOM13 = default(string), string uomITEMXXCUSTOM14 = default(string), string uomITEMXXCUSTOM15 = default(string), string uomITEMXXCUSTOM16 = default(string), string uomITEMXXCUSTOM17 = default(string), string uomITEMXXCUSTOM18 = default(string), string uomITEMXXCUSTOM19 = default(string), string uomITEMXXCUSTOM20 = default(string), string uomITEMXXCUSTOM21 = default(string), string uomITEMXXCUSTOM22 = default(string), string uomITEMXXCUSTOM23 = default(string), string uomITEMXXCUSTOM24 = default(string), string uomITEMXXCUSTOM25 = default(string), string uomITEMXXCUSTOM26 = default(string), string uomITEMXXCUSTOM27 = default(string), string uomITEMXXCUSTOM28 = default(string), string uomITEMXXCUSTOM29 = default(string), string uomITEMXXCUSTOM30 = default(string)) + { + this.ItemID = itemID; + this.UomCode = uomCode; + this.MainPOSItemId = mainPOSItemId; + this.UomItemName = uomItemName; + this.CurrentPrice = currentPrice; + this.UomITEMXXCUSTOM01 = uomITEMXXCUSTOM01; + this.UomITEMXXCUSTOM02 = uomITEMXXCUSTOM02; + this.UomITEMXXCUSTOM03 = uomITEMXXCUSTOM03; + this.UomITEMXXCUSTOM04 = uomITEMXXCUSTOM04; + this.UomITEMXXCUSTOM05 = uomITEMXXCUSTOM05; + this.UomITEMXXCUSTOM06 = uomITEMXXCUSTOM06; + this.UomITEMXXCUSTOM07 = uomITEMXXCUSTOM07; + this.UomITEMXXCUSTOM08 = uomITEMXXCUSTOM08; + this.UomITEMXXCUSTOM09 = uomITEMXXCUSTOM09; + this.UomITEMXXCUSTOM10 = uomITEMXXCUSTOM10; + this.UomITEMXXCUSTOM11 = uomITEMXXCUSTOM11; + this.UomITEMXXCUSTOM12 = uomITEMXXCUSTOM12; + this.UomITEMXXCUSTOM13 = uomITEMXXCUSTOM13; + this.UomITEMXXCUSTOM14 = uomITEMXXCUSTOM14; + this.UomITEMXXCUSTOM15 = uomITEMXXCUSTOM15; + this.UomITEMXXCUSTOM16 = uomITEMXXCUSTOM16; + this.UomITEMXXCUSTOM17 = uomITEMXXCUSTOM17; + this.UomITEMXXCUSTOM18 = uomITEMXXCUSTOM18; + this.UomITEMXXCUSTOM19 = uomITEMXXCUSTOM19; + this.UomITEMXXCUSTOM20 = uomITEMXXCUSTOM20; + this.UomITEMXXCUSTOM21 = uomITEMXXCUSTOM21; + this.UomITEMXXCUSTOM22 = uomITEMXXCUSTOM22; + this.UomITEMXXCUSTOM23 = uomITEMXXCUSTOM23; + this.UomITEMXXCUSTOM24 = uomITEMXXCUSTOM24; + this.UomITEMXXCUSTOM25 = uomITEMXXCUSTOM25; + this.UomITEMXXCUSTOM26 = uomITEMXXCUSTOM26; + this.UomITEMXXCUSTOM27 = uomITEMXXCUSTOM27; + this.UomITEMXXCUSTOM28 = uomITEMXXCUSTOM28; + this.UomITEMXXCUSTOM29 = uomITEMXXCUSTOM29; + this.UomITEMXXCUSTOM30 = uomITEMXXCUSTOM30; + } + + /// + /// Gets or Sets ItemID + /// + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// Gets or Sets UomCode + /// + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// Gets or Sets MainPOSItemId + /// + [DataMember(Name="mainPOSItemId", EmitDefaultValue=false)] + public string MainPOSItemId { get; set; } + + /// + /// Gets or Sets UomItemName + /// + [DataMember(Name="uomItemName", EmitDefaultValue=false)] + public string UomItemName { get; set; } + + /// + /// Gets or Sets CurrentPrice + /// + [DataMember(Name="currentPrice", EmitDefaultValue=false)] + public double? CurrentPrice { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM01 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_01", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM01 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM02 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_02", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM02 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM03 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_03", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM03 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM04 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_04", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM04 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM05 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_05", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM05 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM06 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_06", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM06 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM07 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_07", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM07 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM08 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_08", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM08 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM09 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_09", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM09 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM10 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_10", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM10 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM11 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_11", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM11 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM12 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_12", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM12 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM13 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_13", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM13 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM14 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_14", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM14 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM15 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_15", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM15 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM16 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_16", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM16 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM17 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_17", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM17 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM18 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_18", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM18 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM19 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_19", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM19 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM20 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_20", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM20 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM21 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_21", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM21 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM22 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_22", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM22 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM23 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_23", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM23 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM24 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_24", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM24 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM25 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_25", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM25 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM26 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_26", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM26 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM27 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_27", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM27 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM28 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_28", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM28 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM29 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_29", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM29 { get; set; } + + /// + /// Gets or Sets UomITEMXXCUSTOM30 + /// + [DataMember(Name="uom_ITEM_XX_CUSTOM_30", EmitDefaultValue=false)] + public string UomITEMXXCUSTOM30 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append(" MainPOSItemId: ").Append(MainPOSItemId).Append("\n"); + sb.Append(" UomItemName: ").Append(UomItemName).Append("\n"); + sb.Append(" CurrentPrice: ").Append(CurrentPrice).Append("\n"); + sb.Append(" UomITEMXXCUSTOM01: ").Append(UomITEMXXCUSTOM01).Append("\n"); + sb.Append(" UomITEMXXCUSTOM02: ").Append(UomITEMXXCUSTOM02).Append("\n"); + sb.Append(" UomITEMXXCUSTOM03: ").Append(UomITEMXXCUSTOM03).Append("\n"); + sb.Append(" UomITEMXXCUSTOM04: ").Append(UomITEMXXCUSTOM04).Append("\n"); + sb.Append(" UomITEMXXCUSTOM05: ").Append(UomITEMXXCUSTOM05).Append("\n"); + sb.Append(" UomITEMXXCUSTOM06: ").Append(UomITEMXXCUSTOM06).Append("\n"); + sb.Append(" UomITEMXXCUSTOM07: ").Append(UomITEMXXCUSTOM07).Append("\n"); + sb.Append(" UomITEMXXCUSTOM08: ").Append(UomITEMXXCUSTOM08).Append("\n"); + sb.Append(" UomITEMXXCUSTOM09: ").Append(UomITEMXXCUSTOM09).Append("\n"); + sb.Append(" UomITEMXXCUSTOM10: ").Append(UomITEMXXCUSTOM10).Append("\n"); + sb.Append(" UomITEMXXCUSTOM11: ").Append(UomITEMXXCUSTOM11).Append("\n"); + sb.Append(" UomITEMXXCUSTOM12: ").Append(UomITEMXXCUSTOM12).Append("\n"); + sb.Append(" UomITEMXXCUSTOM13: ").Append(UomITEMXXCUSTOM13).Append("\n"); + sb.Append(" UomITEMXXCUSTOM14: ").Append(UomITEMXXCUSTOM14).Append("\n"); + sb.Append(" UomITEMXXCUSTOM15: ").Append(UomITEMXXCUSTOM15).Append("\n"); + sb.Append(" UomITEMXXCUSTOM16: ").Append(UomITEMXXCUSTOM16).Append("\n"); + sb.Append(" UomITEMXXCUSTOM17: ").Append(UomITEMXXCUSTOM17).Append("\n"); + sb.Append(" UomITEMXXCUSTOM18: ").Append(UomITEMXXCUSTOM18).Append("\n"); + sb.Append(" UomITEMXXCUSTOM19: ").Append(UomITEMXXCUSTOM19).Append("\n"); + sb.Append(" UomITEMXXCUSTOM20: ").Append(UomITEMXXCUSTOM20).Append("\n"); + sb.Append(" UomITEMXXCUSTOM21: ").Append(UomITEMXXCUSTOM21).Append("\n"); + sb.Append(" UomITEMXXCUSTOM22: ").Append(UomITEMXXCUSTOM22).Append("\n"); + sb.Append(" UomITEMXXCUSTOM23: ").Append(UomITEMXXCUSTOM23).Append("\n"); + sb.Append(" UomITEMXXCUSTOM24: ").Append(UomITEMXXCUSTOM24).Append("\n"); + sb.Append(" UomITEMXXCUSTOM25: ").Append(UomITEMXXCUSTOM25).Append("\n"); + sb.Append(" UomITEMXXCUSTOM26: ").Append(UomITEMXXCUSTOM26).Append("\n"); + sb.Append(" UomITEMXXCUSTOM27: ").Append(UomITEMXXCUSTOM27).Append("\n"); + sb.Append(" UomITEMXXCUSTOM28: ").Append(UomITEMXXCUSTOM28).Append("\n"); + sb.Append(" UomITEMXXCUSTOM29: ").Append(UomITEMXXCUSTOM29).Append("\n"); + sb.Append(" UomITEMXXCUSTOM30: ").Append(UomITEMXXCUSTOM30).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ) && + ( + this.MainPOSItemId == input.MainPOSItemId || + (this.MainPOSItemId != null && + this.MainPOSItemId.Equals(input.MainPOSItemId)) + ) && + ( + this.UomItemName == input.UomItemName || + (this.UomItemName != null && + this.UomItemName.Equals(input.UomItemName)) + ) && + ( + this.CurrentPrice == input.CurrentPrice || + (this.CurrentPrice != null && + this.CurrentPrice.Equals(input.CurrentPrice)) + ) && + ( + this.UomITEMXXCUSTOM01 == input.UomITEMXXCUSTOM01 || + (this.UomITEMXXCUSTOM01 != null && + this.UomITEMXXCUSTOM01.Equals(input.UomITEMXXCUSTOM01)) + ) && + ( + this.UomITEMXXCUSTOM02 == input.UomITEMXXCUSTOM02 || + (this.UomITEMXXCUSTOM02 != null && + this.UomITEMXXCUSTOM02.Equals(input.UomITEMXXCUSTOM02)) + ) && + ( + this.UomITEMXXCUSTOM03 == input.UomITEMXXCUSTOM03 || + (this.UomITEMXXCUSTOM03 != null && + this.UomITEMXXCUSTOM03.Equals(input.UomITEMXXCUSTOM03)) + ) && + ( + this.UomITEMXXCUSTOM04 == input.UomITEMXXCUSTOM04 || + (this.UomITEMXXCUSTOM04 != null && + this.UomITEMXXCUSTOM04.Equals(input.UomITEMXXCUSTOM04)) + ) && + ( + this.UomITEMXXCUSTOM05 == input.UomITEMXXCUSTOM05 || + (this.UomITEMXXCUSTOM05 != null && + this.UomITEMXXCUSTOM05.Equals(input.UomITEMXXCUSTOM05)) + ) && + ( + this.UomITEMXXCUSTOM06 == input.UomITEMXXCUSTOM06 || + (this.UomITEMXXCUSTOM06 != null && + this.UomITEMXXCUSTOM06.Equals(input.UomITEMXXCUSTOM06)) + ) && + ( + this.UomITEMXXCUSTOM07 == input.UomITEMXXCUSTOM07 || + (this.UomITEMXXCUSTOM07 != null && + this.UomITEMXXCUSTOM07.Equals(input.UomITEMXXCUSTOM07)) + ) && + ( + this.UomITEMXXCUSTOM08 == input.UomITEMXXCUSTOM08 || + (this.UomITEMXXCUSTOM08 != null && + this.UomITEMXXCUSTOM08.Equals(input.UomITEMXXCUSTOM08)) + ) && + ( + this.UomITEMXXCUSTOM09 == input.UomITEMXXCUSTOM09 || + (this.UomITEMXXCUSTOM09 != null && + this.UomITEMXXCUSTOM09.Equals(input.UomITEMXXCUSTOM09)) + ) && + ( + this.UomITEMXXCUSTOM10 == input.UomITEMXXCUSTOM10 || + (this.UomITEMXXCUSTOM10 != null && + this.UomITEMXXCUSTOM10.Equals(input.UomITEMXXCUSTOM10)) + ) && + ( + this.UomITEMXXCUSTOM11 == input.UomITEMXXCUSTOM11 || + (this.UomITEMXXCUSTOM11 != null && + this.UomITEMXXCUSTOM11.Equals(input.UomITEMXXCUSTOM11)) + ) && + ( + this.UomITEMXXCUSTOM12 == input.UomITEMXXCUSTOM12 || + (this.UomITEMXXCUSTOM12 != null && + this.UomITEMXXCUSTOM12.Equals(input.UomITEMXXCUSTOM12)) + ) && + ( + this.UomITEMXXCUSTOM13 == input.UomITEMXXCUSTOM13 || + (this.UomITEMXXCUSTOM13 != null && + this.UomITEMXXCUSTOM13.Equals(input.UomITEMXXCUSTOM13)) + ) && + ( + this.UomITEMXXCUSTOM14 == input.UomITEMXXCUSTOM14 || + (this.UomITEMXXCUSTOM14 != null && + this.UomITEMXXCUSTOM14.Equals(input.UomITEMXXCUSTOM14)) + ) && + ( + this.UomITEMXXCUSTOM15 == input.UomITEMXXCUSTOM15 || + (this.UomITEMXXCUSTOM15 != null && + this.UomITEMXXCUSTOM15.Equals(input.UomITEMXXCUSTOM15)) + ) && + ( + this.UomITEMXXCUSTOM16 == input.UomITEMXXCUSTOM16 || + (this.UomITEMXXCUSTOM16 != null && + this.UomITEMXXCUSTOM16.Equals(input.UomITEMXXCUSTOM16)) + ) && + ( + this.UomITEMXXCUSTOM17 == input.UomITEMXXCUSTOM17 || + (this.UomITEMXXCUSTOM17 != null && + this.UomITEMXXCUSTOM17.Equals(input.UomITEMXXCUSTOM17)) + ) && + ( + this.UomITEMXXCUSTOM18 == input.UomITEMXXCUSTOM18 || + (this.UomITEMXXCUSTOM18 != null && + this.UomITEMXXCUSTOM18.Equals(input.UomITEMXXCUSTOM18)) + ) && + ( + this.UomITEMXXCUSTOM19 == input.UomITEMXXCUSTOM19 || + (this.UomITEMXXCUSTOM19 != null && + this.UomITEMXXCUSTOM19.Equals(input.UomITEMXXCUSTOM19)) + ) && + ( + this.UomITEMXXCUSTOM20 == input.UomITEMXXCUSTOM20 || + (this.UomITEMXXCUSTOM20 != null && + this.UomITEMXXCUSTOM20.Equals(input.UomITEMXXCUSTOM20)) + ) && + ( + this.UomITEMXXCUSTOM21 == input.UomITEMXXCUSTOM21 || + (this.UomITEMXXCUSTOM21 != null && + this.UomITEMXXCUSTOM21.Equals(input.UomITEMXXCUSTOM21)) + ) && + ( + this.UomITEMXXCUSTOM22 == input.UomITEMXXCUSTOM22 || + (this.UomITEMXXCUSTOM22 != null && + this.UomITEMXXCUSTOM22.Equals(input.UomITEMXXCUSTOM22)) + ) && + ( + this.UomITEMXXCUSTOM23 == input.UomITEMXXCUSTOM23 || + (this.UomITEMXXCUSTOM23 != null && + this.UomITEMXXCUSTOM23.Equals(input.UomITEMXXCUSTOM23)) + ) && + ( + this.UomITEMXXCUSTOM24 == input.UomITEMXXCUSTOM24 || + (this.UomITEMXXCUSTOM24 != null && + this.UomITEMXXCUSTOM24.Equals(input.UomITEMXXCUSTOM24)) + ) && + ( + this.UomITEMXXCUSTOM25 == input.UomITEMXXCUSTOM25 || + (this.UomITEMXXCUSTOM25 != null && + this.UomITEMXXCUSTOM25.Equals(input.UomITEMXXCUSTOM25)) + ) && + ( + this.UomITEMXXCUSTOM26 == input.UomITEMXXCUSTOM26 || + (this.UomITEMXXCUSTOM26 != null && + this.UomITEMXXCUSTOM26.Equals(input.UomITEMXXCUSTOM26)) + ) && + ( + this.UomITEMXXCUSTOM27 == input.UomITEMXXCUSTOM27 || + (this.UomITEMXXCUSTOM27 != null && + this.UomITEMXXCUSTOM27.Equals(input.UomITEMXXCUSTOM27)) + ) && + ( + this.UomITEMXXCUSTOM28 == input.UomITEMXXCUSTOM28 || + (this.UomITEMXXCUSTOM28 != null && + this.UomITEMXXCUSTOM28.Equals(input.UomITEMXXCUSTOM28)) + ) && + ( + this.UomITEMXXCUSTOM29 == input.UomITEMXXCUSTOM29 || + (this.UomITEMXXCUSTOM29 != null && + this.UomITEMXXCUSTOM29.Equals(input.UomITEMXXCUSTOM29)) + ) && + ( + this.UomITEMXXCUSTOM30 == input.UomITEMXXCUSTOM30 || + (this.UomITEMXXCUSTOM30 != null && + this.UomITEMXXCUSTOM30.Equals(input.UomITEMXXCUSTOM30)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + if (this.MainPOSItemId != null) + hashCode = hashCode * 59 + this.MainPOSItemId.GetHashCode(); + if (this.UomItemName != null) + hashCode = hashCode * 59 + this.UomItemName.GetHashCode(); + if (this.CurrentPrice != null) + hashCode = hashCode * 59 + this.CurrentPrice.GetHashCode(); + if (this.UomITEMXXCUSTOM01 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM01.GetHashCode(); + if (this.UomITEMXXCUSTOM02 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM02.GetHashCode(); + if (this.UomITEMXXCUSTOM03 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM03.GetHashCode(); + if (this.UomITEMXXCUSTOM04 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM04.GetHashCode(); + if (this.UomITEMXXCUSTOM05 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM05.GetHashCode(); + if (this.UomITEMXXCUSTOM06 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM06.GetHashCode(); + if (this.UomITEMXXCUSTOM07 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM07.GetHashCode(); + if (this.UomITEMXXCUSTOM08 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM08.GetHashCode(); + if (this.UomITEMXXCUSTOM09 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM09.GetHashCode(); + if (this.UomITEMXXCUSTOM10 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM10.GetHashCode(); + if (this.UomITEMXXCUSTOM11 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM11.GetHashCode(); + if (this.UomITEMXXCUSTOM12 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM12.GetHashCode(); + if (this.UomITEMXXCUSTOM13 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM13.GetHashCode(); + if (this.UomITEMXXCUSTOM14 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM14.GetHashCode(); + if (this.UomITEMXXCUSTOM15 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM15.GetHashCode(); + if (this.UomITEMXXCUSTOM16 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM16.GetHashCode(); + if (this.UomITEMXXCUSTOM17 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM17.GetHashCode(); + if (this.UomITEMXXCUSTOM18 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM18.GetHashCode(); + if (this.UomITEMXXCUSTOM19 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM19.GetHashCode(); + if (this.UomITEMXXCUSTOM20 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM20.GetHashCode(); + if (this.UomITEMXXCUSTOM21 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM21.GetHashCode(); + if (this.UomITEMXXCUSTOM22 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM22.GetHashCode(); + if (this.UomITEMXXCUSTOM23 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM23.GetHashCode(); + if (this.UomITEMXXCUSTOM24 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM24.GetHashCode(); + if (this.UomITEMXXCUSTOM25 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM25.GetHashCode(); + if (this.UomITEMXXCUSTOM26 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM26.GetHashCode(); + if (this.UomITEMXXCUSTOM27 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM27.GetHashCode(); + if (this.UomITEMXXCUSTOM28 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM28.GetHashCode(); + if (this.UomITEMXXCUSTOM29 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM29.GetHashCode(); + if (this.UomITEMXXCUSTOM30 != null) + hashCode = hashCode * 59 + this.UomITEMXXCUSTOM30.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..80df24330f4f12258dda7645e8cce24ef9b4658b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO.cs @@ -0,0 +1,189 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WicCategoryDO <p>Represents one Wic Category.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Category descriptor.<br /></p>. + /// <p>Subcategory descriptor.<br /></p>. + /// <p>Descriptor for the UOM of the Benefit.<br /></p>. + public ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO(ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey key = default(ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey), string wicCategoryDescription = default(string), string wicSubcategoryDescription = default(string), string wicUomDescription = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO and cannot be null"); + } + else + { + this.Key = key; + } + this.WicCategoryDescription = wicCategoryDescription; + this.WicSubcategoryDescription = wicSubcategoryDescription; + this.WicUomDescription = wicUomDescription; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey Key { get; set; } + + /// + /// <p>Category descriptor.<br /></p> + /// + /// <p>Category descriptor.<br /></p> + [DataMember(Name="wicCategoryDescription", EmitDefaultValue=false)] + public string WicCategoryDescription { get; set; } + + /// + /// <p>Subcategory descriptor.<br /></p> + /// + /// <p>Subcategory descriptor.<br /></p> + [DataMember(Name="wicSubcategoryDescription", EmitDefaultValue=false)] + public string WicSubcategoryDescription { get; set; } + + /// + /// <p>Descriptor for the UOM of the Benefit.<br /></p> + /// + /// <p>Descriptor for the UOM of the Benefit.<br /></p> + [DataMember(Name="wicUomDescription", EmitDefaultValue=false)] + public string WicUomDescription { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" WicCategoryDescription: ").Append(WicCategoryDescription).Append("\n"); + sb.Append(" WicSubcategoryDescription: ").Append(WicSubcategoryDescription).Append("\n"); + sb.Append(" WicUomDescription: ").Append(WicUomDescription).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.WicCategoryDescription == input.WicCategoryDescription || + (this.WicCategoryDescription != null && + this.WicCategoryDescription.Equals(input.WicCategoryDescription)) + ) && + ( + this.WicSubcategoryDescription == input.WicSubcategoryDescription || + (this.WicSubcategoryDescription != null && + this.WicSubcategoryDescription.Equals(input.WicSubcategoryDescription)) + ) && + ( + this.WicUomDescription == input.WicUomDescription || + (this.WicUomDescription != null && + this.WicUomDescription.Equals(input.WicUomDescription)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.WicCategoryDescription != null) + hashCode = hashCode * 59 + this.WicCategoryDescription.GetHashCode(); + if (this.WicSubcategoryDescription != null) + hashCode = hashCode * 59 + this.WicSubcategoryDescription.GetHashCode(); + if (this.WicUomDescription != null) + hashCode = hashCode * 59 + this.WicUomDescription.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c31ea9221dd60d4317f6906624544a36ead4898 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WicCategoryDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Code indicating the eWic Category.<br /></p> (required). + /// <p>Code indicating the Sub Category of the eWic Category.<br /></p> (required). + /// <p>State Identifier.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey(string wicCategory = default(string), string wicSubcategory = default(string), string stateId = default(string)) + { + // to ensure "wicCategory" is required (not null) + if (wicCategory == null) + { + throw new InvalidDataException("wicCategory is a required property for ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey and cannot be null"); + } + else + { + this.WicCategory = wicCategory; + } + // to ensure "wicSubcategory" is required (not null) + if (wicSubcategory == null) + { + throw new InvalidDataException("wicSubcategory is a required property for ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey and cannot be null"); + } + else + { + this.WicSubcategory = wicSubcategory; + } + // to ensure "stateId" is required (not null) + if (stateId == null) + { + throw new InvalidDataException("stateId is a required property for ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey and cannot be null"); + } + else + { + this.StateId = stateId; + } + } + + /// + /// <p>Code indicating the eWic Category.<br /></p> + /// + /// <p>Code indicating the eWic Category.<br /></p> + [DataMember(Name="wicCategory", EmitDefaultValue=false)] + public string WicCategory { get; set; } + + /// + /// <p>Code indicating the Sub Category of the eWic Category.<br /></p> + /// + /// <p>Code indicating the Sub Category of the eWic Category.<br /></p> + [DataMember(Name="wicSubcategory", EmitDefaultValue=false)] + public string WicSubcategory { get; set; } + + /// + /// <p>State Identifier.<br /></p> + /// + /// <p>State Identifier.<br /></p> + [DataMember(Name="stateId", EmitDefaultValue=false)] + public string StateId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey {\n"); + sb.Append(" WicCategory: ").Append(WicCategory).Append("\n"); + sb.Append(" WicSubcategory: ").Append(WicSubcategory).Append("\n"); + sb.Append(" StateId: ").Append(StateId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey input) + { + if (input == null) + return false; + + return + ( + this.WicCategory == input.WicCategory || + (this.WicCategory != null && + this.WicCategory.Equals(input.WicCategory)) + ) && + ( + this.WicSubcategory == input.WicSubcategory || + (this.WicSubcategory != null && + this.WicSubcategory.Equals(input.WicSubcategory)) + ) && + ( + this.StateId == input.StateId || + (this.StateId != null && + this.StateId.Equals(input.StateId)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.WicCategory != null) + hashCode = hashCode * 59 + this.WicCategory.GetHashCode(); + if (this.WicSubcategory != null) + hashCode = hashCode * 59 + this.WicSubcategory.GetHashCode(); + if (this.StateId != null) + hashCode = hashCode * 59 + this.StateId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..3c6b04559183fd5de5e34b6b85d0263ec2129296 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount.cs @@ -0,0 +1,308 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyBankAccount <p>Information about bank account.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Bank description.<br /></p>. + /// <p>Bank account number in a national format, not international.<br /></p>. + /// <p>Bank identification code in a national format.<br /></p>. + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p>. + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey key = default(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey), string bankDescription = default(string), string bankAccountNumber = default(string), string nationalBankIdentificationCode = default(string), string internationalBankAccountNumber = default(string), string bankIdentificationCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount and cannot be null"); + } + else + { + this.Key = key; + } + this.BankDescription = bankDescription; + this.BankAccountNumber = bankAccountNumber; + this.NationalBankIdentificationCode = nationalBankIdentificationCode; + this.InternationalBankAccountNumber = internationalBankAccountNumber; + this.BankIdentificationCode = bankIdentificationCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey Key { get; set; } + + /// + /// <p>Bank description.<br /></p> + /// + /// <p>Bank description.<br /></p> + [DataMember(Name="bankDescription", EmitDefaultValue=false)] + public string BankDescription { get; set; } + + /// + /// <p>Bank account number in a national format, not international.<br /></p> + /// + /// <p>Bank account number in a national format, not international.<br /></p> + [DataMember(Name="bankAccountNumber", EmitDefaultValue=false)] + public string BankAccountNumber { get; set; } + + /// + /// <p>Bank identification code in a national format.<br /></p> + /// + /// <p>Bank identification code in a national format.<br /></p> + [DataMember(Name="nationalBankIdentificationCode", EmitDefaultValue=false)] + public string NationalBankIdentificationCode { get; set; } + + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + [DataMember(Name="internationalBankAccountNumber", EmitDefaultValue=false)] + public string InternationalBankAccountNumber { get; set; } + + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + [DataMember(Name="bankIdentificationCode", EmitDefaultValue=false)] + public string BankIdentificationCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" BankDescription: ").Append(BankDescription).Append("\n"); + sb.Append(" BankAccountNumber: ").Append(BankAccountNumber).Append("\n"); + sb.Append(" NationalBankIdentificationCode: ").Append(NationalBankIdentificationCode).Append("\n"); + sb.Append(" InternationalBankAccountNumber: ").Append(InternationalBankAccountNumber).Append("\n"); + sb.Append(" BankIdentificationCode: ").Append(BankIdentificationCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.BankDescription == input.BankDescription || + (this.BankDescription != null && + this.BankDescription.Equals(input.BankDescription)) + ) && + ( + this.BankAccountNumber == input.BankAccountNumber || + (this.BankAccountNumber != null && + this.BankAccountNumber.Equals(input.BankAccountNumber)) + ) && + ( + this.NationalBankIdentificationCode == input.NationalBankIdentificationCode || + (this.NationalBankIdentificationCode != null && + this.NationalBankIdentificationCode.Equals(input.NationalBankIdentificationCode)) + ) && + ( + this.InternationalBankAccountNumber == input.InternationalBankAccountNumber || + (this.InternationalBankAccountNumber != null && + this.InternationalBankAccountNumber.Equals(input.InternationalBankAccountNumber)) + ) && + ( + this.BankIdentificationCode == input.BankIdentificationCode || + (this.BankIdentificationCode != null && + this.BankIdentificationCode.Equals(input.BankIdentificationCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.BankDescription != null) + hashCode = hashCode * 59 + this.BankDescription.GetHashCode(); + if (this.BankAccountNumber != null) + hashCode = hashCode * 59 + this.BankAccountNumber.GetHashCode(); + if (this.NationalBankIdentificationCode != null) + hashCode = hashCode * 59 + this.NationalBankIdentificationCode.GetHashCode(); + if (this.InternationalBankAccountNumber != null) + hashCode = hashCode * 59 + this.InternationalBankAccountNumber.GetHashCode(); + if (this.BankIdentificationCode != null) + hashCode = hashCode * 59 + this.BankIdentificationCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6b02f24e713ac005895c0e2aac761683e7f4f155 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyBankAccount.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> (required). + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey(string partyID = default(string), string businessUnitGroupID = default(string), string bankAccountTypeCode = default(string)) + { + // to ensure "partyID" is required (not null) + if (partyID == null) + { + throw new InvalidDataException("partyID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey and cannot be null"); + } + else + { + this.PartyID = partyID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "bankAccountTypeCode" is required (not null) + if (bankAccountTypeCode == null) + { + throw new InvalidDataException("bankAccountTypeCode is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey and cannot be null"); + } + else + { + this.BankAccountTypeCode = bankAccountTypeCode; + } + } + + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + [DataMember(Name="bankAccountTypeCode", EmitDefaultValue=false)] + public string BankAccountTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey {\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" BankAccountTypeCode: ").Append(BankAccountTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey input) + { + if (input == null) + return false; + + return + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.BankAccountTypeCode == input.BankAccountTypeCode || + (this.BankAccountTypeCode != null && + this.BankAccountTypeCode.Equals(input.BankAccountTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.BankAccountTypeCode != null) + hashCode = hashCode * 59 + this.BankAccountTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..991cf5aa5934c9920d98866b3c9c3c7616aba9df --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO.cs @@ -0,0 +1,342 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyDO <p>An individual or firm that exchanges information and/or goods and services with the store.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The type code of the organization.<br /></p>. + /// <p>The type code of the party.<br /></p>. + /// <p>The 1st line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p>. + /// <p>The 2nd line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p>. + /// <p>List of PartyRoleAssignment<br /></p>. + /// <p>List of PartyIdentification<br /></p>. + /// <p>List of PartyBankAccount<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey key = default(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey), string organizationTypeCode = default(string), string partyTypeCode = default(string), string businessDescription1 = default(string), string businessDescription2 = default(string), List partyRoleAssignmentList = default(List), List partyIdentificationList = default(List), List partyBankAccountList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO and cannot be null"); + } + else + { + this.Key = key; + } + this.OrganizationTypeCode = organizationTypeCode; + this.PartyTypeCode = partyTypeCode; + this.BusinessDescription1 = businessDescription1; + this.BusinessDescription2 = businessDescription2; + this.PartyRoleAssignmentList = partyRoleAssignmentList; + this.PartyIdentificationList = partyIdentificationList; + this.PartyBankAccountList = partyBankAccountList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey Key { get; set; } + + /// + /// <p>The type code of the organization.<br /></p> + /// + /// <p>The type code of the organization.<br /></p> + [DataMember(Name="organizationTypeCode", EmitDefaultValue=false)] + public string OrganizationTypeCode { get; set; } + + /// + /// <p>The type code of the party.<br /></p> + /// + /// <p>The type code of the party.<br /></p> + [DataMember(Name="partyTypeCode", EmitDefaultValue=false)] + public string PartyTypeCode { get; set; } + + /// + /// <p>The 1st line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + /// + /// <p>The 1st line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + [DataMember(Name="businessDescription1", EmitDefaultValue=false)] + public string BusinessDescription1 { get; set; } + + /// + /// <p>The 2nd line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + /// + /// <p>The 2nd line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + [DataMember(Name="businessDescription2", EmitDefaultValue=false)] + public string BusinessDescription2 { get; set; } + + /// + /// <p>List of PartyRoleAssignment<br /></p> + /// + /// <p>List of PartyRoleAssignment<br /></p> + [DataMember(Name="partyRoleAssignmentList", EmitDefaultValue=false)] + public List PartyRoleAssignmentList { get; set; } + + /// + /// <p>List of PartyIdentification<br /></p> + /// + /// <p>List of PartyIdentification<br /></p> + [DataMember(Name="partyIdentificationList", EmitDefaultValue=false)] + public List PartyIdentificationList { get; set; } + + /// + /// <p>List of PartyBankAccount<br /></p> + /// + /// <p>List of PartyBankAccount<br /></p> + [DataMember(Name="partyBankAccountList", EmitDefaultValue=false)] + public List PartyBankAccountList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" OrganizationTypeCode: ").Append(OrganizationTypeCode).Append("\n"); + sb.Append(" PartyTypeCode: ").Append(PartyTypeCode).Append("\n"); + sb.Append(" BusinessDescription1: ").Append(BusinessDescription1).Append("\n"); + sb.Append(" BusinessDescription2: ").Append(BusinessDescription2).Append("\n"); + sb.Append(" PartyRoleAssignmentList: ").Append(PartyRoleAssignmentList).Append("\n"); + sb.Append(" PartyIdentificationList: ").Append(PartyIdentificationList).Append("\n"); + sb.Append(" PartyBankAccountList: ").Append(PartyBankAccountList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.OrganizationTypeCode == input.OrganizationTypeCode || + (this.OrganizationTypeCode != null && + this.OrganizationTypeCode.Equals(input.OrganizationTypeCode)) + ) && + ( + this.PartyTypeCode == input.PartyTypeCode || + (this.PartyTypeCode != null && + this.PartyTypeCode.Equals(input.PartyTypeCode)) + ) && + ( + this.BusinessDescription1 == input.BusinessDescription1 || + (this.BusinessDescription1 != null && + this.BusinessDescription1.Equals(input.BusinessDescription1)) + ) && + ( + this.BusinessDescription2 == input.BusinessDescription2 || + (this.BusinessDescription2 != null && + this.BusinessDescription2.Equals(input.BusinessDescription2)) + ) && + ( + this.PartyRoleAssignmentList == input.PartyRoleAssignmentList || + this.PartyRoleAssignmentList != null && + this.PartyRoleAssignmentList.SequenceEqual(input.PartyRoleAssignmentList) + ) && + ( + this.PartyIdentificationList == input.PartyIdentificationList || + this.PartyIdentificationList != null && + this.PartyIdentificationList.SequenceEqual(input.PartyIdentificationList) + ) && + ( + this.PartyBankAccountList == input.PartyBankAccountList || + this.PartyBankAccountList != null && + this.PartyBankAccountList.SequenceEqual(input.PartyBankAccountList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.OrganizationTypeCode != null) + hashCode = hashCode * 59 + this.OrganizationTypeCode.GetHashCode(); + if (this.PartyTypeCode != null) + hashCode = hashCode * 59 + this.PartyTypeCode.GetHashCode(); + if (this.BusinessDescription1 != null) + hashCode = hashCode * 59 + this.BusinessDescription1.GetHashCode(); + if (this.BusinessDescription2 != null) + hashCode = hashCode * 59 + this.BusinessDescription2.GetHashCode(); + if (this.PartyRoleAssignmentList != null) + hashCode = hashCode * 59 + this.PartyRoleAssignmentList.GetHashCode(); + if (this.PartyIdentificationList != null) + hashCode = hashCode * 59 + this.PartyIdentificationList.GetHashCode(); + if (this.PartyBankAccountList != null) + hashCode = hashCode * 59 + this.PartyBankAccountList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..43f5987f73aa50209c80f2b26bc2e92133f43789 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique, system assigned identity for the party.<br /></p> (required). + /// <p>A unique system assigned identifier for a business unit group.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey(string partyID = default(string), string businessUnitGroupID = default(string)) + { + // to ensure "partyID" is required (not null) + if (partyID == null) + { + throw new InvalidDataException("partyID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey and cannot be null"); + } + else + { + this.PartyID = partyID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + } + + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>A unique system assigned identifier for a business unit group.<br /></p> + /// + /// <p>A unique system assigned identifier for a business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey {\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey input) + { + if (input == null) + return false; + + return + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification.cs new file mode 100644 index 0000000000000000000000000000000000000000..9ddf862bcb23666ca62086e09587b0335b903fb9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification.cs @@ -0,0 +1,274 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyIdentification <p>An official number that may be used to identify the Party. People have multiple forms of such identification: Drivers License number , Passport number, Credit / Debit Card number, Social Security number, Tax number, etc... Businesses may also have multiple identifiers to prove that they are a legal entity: Company Incorporation number, Tax number, etc...<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The number on the Identification that identifies the Party, e. g. BusinessNumber, SalesTaxNumber..<br /></p>. + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party. Used for information about customer cards.<br /></p>. + /// <p>Defines why this identifier is locked. Used for information about customer cards.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey key = default(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey), string identifier = default(string), string externalPartyIdentificationProviderID = default(string), string lockingTypeCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification and cannot be null"); + } + else + { + this.Key = key; + } + this.Identifier = identifier; + this.ExternalPartyIdentificationProviderID = externalPartyIdentificationProviderID; + this.LockingTypeCode = lockingTypeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey Key { get; set; } + + /// + /// <p>The number on the Identification that identifies the Party, e. g. BusinessNumber, SalesTaxNumber..<br /></p> + /// + /// <p>The number on the Identification that identifies the Party, e. g. BusinessNumber, SalesTaxNumber..<br /></p> + [DataMember(Name="identifier", EmitDefaultValue=false)] + public string Identifier { get; set; } + + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party. Used for information about customer cards.<br /></p> + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party. Used for information about customer cards.<br /></p> + [DataMember(Name="externalPartyIdentificationProviderID", EmitDefaultValue=false)] + public string ExternalPartyIdentificationProviderID { get; set; } + + /// + /// <p>Defines why this identifier is locked. Used for information about customer cards.<br /></p> + /// + /// <p>Defines why this identifier is locked. Used for information about customer cards.<br /></p> + [DataMember(Name="lockingTypeCode", EmitDefaultValue=false)] + public string LockingTypeCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Identifier: ").Append(Identifier).Append("\n"); + sb.Append(" ExternalPartyIdentificationProviderID: ").Append(ExternalPartyIdentificationProviderID).Append("\n"); + sb.Append(" LockingTypeCode: ").Append(LockingTypeCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Identifier == input.Identifier || + (this.Identifier != null && + this.Identifier.Equals(input.Identifier)) + ) && + ( + this.ExternalPartyIdentificationProviderID == input.ExternalPartyIdentificationProviderID || + (this.ExternalPartyIdentificationProviderID != null && + this.ExternalPartyIdentificationProviderID.Equals(input.ExternalPartyIdentificationProviderID)) + ) && + ( + this.LockingTypeCode == input.LockingTypeCode || + (this.LockingTypeCode != null && + this.LockingTypeCode.Equals(input.LockingTypeCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Identifier != null) + hashCode = hashCode * 59 + this.Identifier.GetHashCode(); + if (this.ExternalPartyIdentificationProviderID != null) + hashCode = hashCode * 59 + this.ExternalPartyIdentificationProviderID.GetHashCode(); + if (this.LockingTypeCode != null) + hashCode = hashCode * 59 + this.LockingTypeCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f23b63d605e5cf1379d16fa8ed15f65b49fc4cba --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyIdentification.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique, system assigned identity for the party.<br /></p> (required). + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>A code denoting a form of identification, e. g. BusinessTypeCode, TaxTypeCode.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey(string partyID = default(string), string businessUnitGroupID = default(string), string partyIdentificationTypeCode = default(string)) + { + // to ensure "partyID" is required (not null) + if (partyID == null) + { + throw new InvalidDataException("partyID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey and cannot be null"); + } + else + { + this.PartyID = partyID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "partyIdentificationTypeCode" is required (not null) + if (partyIdentificationTypeCode == null) + { + throw new InvalidDataException("partyIdentificationTypeCode is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey and cannot be null"); + } + else + { + this.PartyIdentificationTypeCode = partyIdentificationTypeCode; + } + } + + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A code denoting a form of identification, e. g. BusinessTypeCode, TaxTypeCode.<br /></p> + /// + /// <p>A code denoting a form of identification, e. g. BusinessTypeCode, TaxTypeCode.<br /></p> + [DataMember(Name="partyIdentificationTypeCode", EmitDefaultValue=false)] + public string PartyIdentificationTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey {\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" PartyIdentificationTypeCode: ").Append(PartyIdentificationTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey input) + { + if (input == null) + return false; + + return + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.PartyIdentificationTypeCode == input.PartyIdentificationTypeCode || + (this.PartyIdentificationTypeCode != null && + this.PartyIdentificationTypeCode.Equals(input.PartyIdentificationTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.PartyIdentificationTypeCode != null) + hashCode = hashCode * 59 + this.PartyIdentificationTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment.cs new file mode 100644 index 0000000000000000000000000000000000000000..c0ecb8f322a30f32a8ab167d0887063f7c3cb956 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment.cs @@ -0,0 +1,223 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyRoleAssignment <p>Temporal record of when the Party became (and ceased to be) related to the Retail Enterprise via the PartyRole.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey key = default(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey Key { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6bc88dbe7b4d289c8ca2c49db1bba9e1d35d92ee --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartyRoleAssignment.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique, system assigned identity for the party.<br /></p> (required). + /// <p>A unique system assigned identifier for the business unit group.<br /></p> (required). + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs.<br /></p> (required). + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey(string partyID = default(string), string businessUnitGroupID = default(string), string partyRoleTypeCode = default(string), int? sequenceNumber = default(int?)) + { + // to ensure "partyID" is required (not null) + if (partyID == null) + { + throw new InvalidDataException("partyID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey and cannot be null"); + } + else + { + this.PartyID = partyID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "partyRoleTypeCode" is required (not null) + if (partyRoleTypeCode == null) + { + throw new InvalidDataException("partyRoleTypeCode is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey and cannot be null"); + } + else + { + this.PartyRoleTypeCode = partyRoleTypeCode; + } + // to ensure "sequenceNumber" is required (not null) + if (sequenceNumber == null) + { + throw new InvalidDataException("sequenceNumber is a required property for ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey and cannot be null"); + } + else + { + this.SequenceNumber = sequenceNumber; + } + } + + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>A unique system assigned identifier for the business unit group.<br /></p> + /// + /// <p>A unique system assigned identifier for the business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs.<br /></p> + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs.<br /></p> + [DataMember(Name="partyRoleTypeCode", EmitDefaultValue=false)] + public string PartyRoleTypeCode { get; set; } + + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey {\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" PartyRoleTypeCode: ").Append(PartyRoleTypeCode).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey input) + { + if (input == null) + return false; + + return + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.PartyRoleTypeCode == input.PartyRoleTypeCode || + (this.PartyRoleTypeCode != null && + this.PartyRoleTypeCode.Equals(input.PartyRoleTypeCode)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.PartyRoleTypeCode != null) + hashCode = hashCode * 59 + this.PartyRoleTypeCode.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..80d8c58a8df3a8719565a825968e385c8915d501 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO.cs @@ -0,0 +1,375 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PersonDO <p>A individual of interest to the retail store or retail enterprise.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>A combination of ISO-639-1 and ISO-3661-1 to denote a language as spoken in a particular country. <br /></p>. + /// <p>Extra words that don't form part of the person's name but are normally printed before the FirstName as a courtesy title. For instance, Mr. Ms., Miss, Dr., Prof. etc. This represents the primary salutation for this Person.<br /></p>. + /// <p>A person's first name. In western cultures, this is the given name, in other cultures it may be the family name.<br /></p> (required). + /// <p>A person's last name. In western cultures, this is the family (or patronymic) name, in other cultures it may be the given name.<br /></p> (required). + /// <p>The year part of the Person's date of birth.<br /></p>. + /// <p>A number in the range 1-12 denoting the month part of the Person's date of birth.<br /></p>. + /// <p>A number in the range 1-31denoting the day of the month part of the Person's date of birth.<br /></p>. + /// <p>A code for specifying a person's gender.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO(ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey key = default(ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey), string languageID = default(string), string salutation = default(string), string firstName = default(string), string lastName = default(string), int? birthYearNumber = default(int?), int? birthMonthNumber = default(int?), int? birthDayNumber = default(int?), string genderType = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "firstName" is required (not null) + if (firstName == null) + { + throw new InvalidDataException("firstName is a required property for ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO and cannot be null"); + } + else + { + this.FirstName = firstName; + } + // to ensure "lastName" is required (not null) + if (lastName == null) + { + throw new InvalidDataException("lastName is a required property for ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO and cannot be null"); + } + else + { + this.LastName = lastName; + } + this.LanguageID = languageID; + this.Salutation = salutation; + this.BirthYearNumber = birthYearNumber; + this.BirthMonthNumber = birthMonthNumber; + this.BirthDayNumber = birthDayNumber; + this.GenderType = genderType; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey Key { get; set; } + + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 to denote a language as spoken in a particular country. <br /></p> + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 to denote a language as spoken in a particular country. <br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Extra words that don't form part of the person's name but are normally printed before the FirstName as a courtesy title. For instance, Mr. Ms., Miss, Dr., Prof. etc. This represents the primary salutation for this Person.<br /></p> + /// + /// <p>Extra words that don't form part of the person's name but are normally printed before the FirstName as a courtesy title. For instance, Mr. Ms., Miss, Dr., Prof. etc. This represents the primary salutation for this Person.<br /></p> + [DataMember(Name="salutation", EmitDefaultValue=false)] + public string Salutation { get; set; } + + /// + /// <p>A person's first name. In western cultures, this is the given name, in other cultures it may be the family name.<br /></p> + /// + /// <p>A person's first name. In western cultures, this is the given name, in other cultures it may be the family name.<br /></p> + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// <p>A person's last name. In western cultures, this is the family (or patronymic) name, in other cultures it may be the given name.<br /></p> + /// + /// <p>A person's last name. In western cultures, this is the family (or patronymic) name, in other cultures it may be the given name.<br /></p> + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// <p>The year part of the Person's date of birth.<br /></p> + /// + /// <p>The year part of the Person's date of birth.<br /></p> + [DataMember(Name="birthYearNumber", EmitDefaultValue=false)] + public int? BirthYearNumber { get; set; } + + /// + /// <p>A number in the range 1-12 denoting the month part of the Person's date of birth.<br /></p> + /// + /// <p>A number in the range 1-12 denoting the month part of the Person's date of birth.<br /></p> + [DataMember(Name="birthMonthNumber", EmitDefaultValue=false)] + public int? BirthMonthNumber { get; set; } + + /// + /// <p>A number in the range 1-31denoting the day of the month part of the Person's date of birth.<br /></p> + /// + /// <p>A number in the range 1-31denoting the day of the month part of the Person's date of birth.<br /></p> + [DataMember(Name="birthDayNumber", EmitDefaultValue=false)] + public int? BirthDayNumber { get; set; } + + /// + /// <p>A code for specifying a person's gender.<br /></p> + /// + /// <p>A code for specifying a person's gender.<br /></p> + [DataMember(Name="genderType", EmitDefaultValue=false)] + public string GenderType { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" Salutation: ").Append(Salutation).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" BirthYearNumber: ").Append(BirthYearNumber).Append("\n"); + sb.Append(" BirthMonthNumber: ").Append(BirthMonthNumber).Append("\n"); + sb.Append(" BirthDayNumber: ").Append(BirthDayNumber).Append("\n"); + sb.Append(" GenderType: ").Append(GenderType).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.Salutation == input.Salutation || + (this.Salutation != null && + this.Salutation.Equals(input.Salutation)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.BirthYearNumber == input.BirthYearNumber || + (this.BirthYearNumber != null && + this.BirthYearNumber.Equals(input.BirthYearNumber)) + ) && + ( + this.BirthMonthNumber == input.BirthMonthNumber || + (this.BirthMonthNumber != null && + this.BirthMonthNumber.Equals(input.BirthMonthNumber)) + ) && + ( + this.BirthDayNumber == input.BirthDayNumber || + (this.BirthDayNumber != null && + this.BirthDayNumber.Equals(input.BirthDayNumber)) + ) && + ( + this.GenderType == input.GenderType || + (this.GenderType != null && + this.GenderType.Equals(input.GenderType)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.Salutation != null) + hashCode = hashCode * 59 + this.Salutation.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.BirthYearNumber != null) + hashCode = hashCode * 59 + this.BirthYearNumber.GetHashCode(); + if (this.BirthMonthNumber != null) + hashCode = hashCode * 59 + this.BirthMonthNumber.GetHashCode(); + if (this.BirthDayNumber != null) + hashCode = hashCode * 59 + this.BirthDayNumber.GetHashCode(); + if (this.GenderType != null) + hashCode = hashCode * 59 + this.GenderType.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e8a12cca55fe6721e9bf978963fd0d853d278474 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PersonDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>A unique, system assigned identity for a Party. <br /></p> (required). + public ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey(string businessUnitGroupID = default(string), string partyID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "partyID" is required (not null) + if (partyID == null) + { + throw new InvalidDataException("partyID is a required property for ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey and cannot be null"); + } + else + { + this.PartyID = partyID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique, system assigned identity for a Party. <br /></p> + /// + /// <p>A unique, system assigned identity for a Party. <br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..6d8a2fe78d1309414d7fbde0fe57bb06e8a075d9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO.cs @@ -0,0 +1,282 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuellingPointDO <p>A device used to deliver fuel.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The type of protocol this FuellingPoint uses.<br /></p> (required). + /// <p>The version of the protocol this FuellingPoint uses.<br /></p>. + /// <p>Additional parameters for fuelling point<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey key = default(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey), string protocolTypeCode = default(string), string protocolVersionCode = default(string), List fuellingPointParameterList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "protocolTypeCode" is required (not null) + if (protocolTypeCode == null) + { + throw new InvalidDataException("protocolTypeCode is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO and cannot be null"); + } + else + { + this.ProtocolTypeCode = protocolTypeCode; + } + this.ProtocolVersionCode = protocolVersionCode; + this.FuellingPointParameterList = fuellingPointParameterList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey Key { get; set; } + + /// + /// <p>The type of protocol this FuellingPoint uses.<br /></p> + /// + /// <p>The type of protocol this FuellingPoint uses.<br /></p> + [DataMember(Name="protocolTypeCode", EmitDefaultValue=false)] + public string ProtocolTypeCode { get; set; } + + /// + /// <p>The version of the protocol this FuellingPoint uses.<br /></p> + /// + /// <p>The version of the protocol this FuellingPoint uses.<br /></p> + [DataMember(Name="protocolVersionCode", EmitDefaultValue=false)] + public string ProtocolVersionCode { get; set; } + + /// + /// <p>Additional parameters for fuelling point<br /></p> + /// + /// <p>Additional parameters for fuelling point<br /></p> + [DataMember(Name="fuellingPointParameterList", EmitDefaultValue=false)] + public List FuellingPointParameterList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ProtocolTypeCode: ").Append(ProtocolTypeCode).Append("\n"); + sb.Append(" ProtocolVersionCode: ").Append(ProtocolVersionCode).Append("\n"); + sb.Append(" FuellingPointParameterList: ").Append(FuellingPointParameterList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ProtocolTypeCode == input.ProtocolTypeCode || + (this.ProtocolTypeCode != null && + this.ProtocolTypeCode.Equals(input.ProtocolTypeCode)) + ) && + ( + this.ProtocolVersionCode == input.ProtocolVersionCode || + (this.ProtocolVersionCode != null && + this.ProtocolVersionCode.Equals(input.ProtocolVersionCode)) + ) && + ( + this.FuellingPointParameterList == input.FuellingPointParameterList || + this.FuellingPointParameterList != null && + this.FuellingPointParameterList.SequenceEqual(input.FuellingPointParameterList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ProtocolTypeCode != null) + hashCode = hashCode * 59 + this.ProtocolTypeCode.GetHashCode(); + if (this.ProtocolVersionCode != null) + hashCode = hashCode * 59 + this.ProtocolVersionCode.GetHashCode(); + if (this.FuellingPointParameterList != null) + hashCode = hashCode * 59 + this.FuellingPointParameterList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7640acaad01d0b9e947501ad42b0f0af4d80a2d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuellingPointDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey(string businessUnitGroupID = default(string), string fuellingPointID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "fuellingPointID" is required (not null) + if (fuellingPointID == null) + { + throw new InvalidDataException("fuellingPointID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey and cannot be null"); + } + else + { + this.FuellingPointID = fuellingPointID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + [DataMember(Name="fuellingPointID", EmitDefaultValue=false)] + public string FuellingPointID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" FuellingPointID: ").Append(FuellingPointID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.FuellingPointID == input.FuellingPointID || + (this.FuellingPointID != null && + this.FuellingPointID.Equals(input.FuellingPointID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.FuellingPointID != null) + hashCode = hashCode * 59 + this.FuellingPointID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..1a9dacfea089128e533327d05b2cb3fe937893b2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO.cs @@ -0,0 +1,274 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuellingPointParameterDO <p>Additional parameters for fuelling point<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Code of fueling point parameter.<br /></p>. + /// <p>Name of a fueling point parameter.<br /></p>. + /// <p>Value of a fueling point parameter.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey key = default(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey), string fuellingPointParameterCode = default(string), string fuellingPointParameterName = default(string), string fuellingPointParameterValue = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO and cannot be null"); + } + else + { + this.Key = key; + } + this.FuellingPointParameterCode = fuellingPointParameterCode; + this.FuellingPointParameterName = fuellingPointParameterName; + this.FuellingPointParameterValue = fuellingPointParameterValue; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey Key { get; set; } + + /// + /// <p>Code of fueling point parameter.<br /></p> + /// + /// <p>Code of fueling point parameter.<br /></p> + [DataMember(Name="fuellingPointParameterCode", EmitDefaultValue=false)] + public string FuellingPointParameterCode { get; set; } + + /// + /// <p>Name of a fueling point parameter.<br /></p> + /// + /// <p>Name of a fueling point parameter.<br /></p> + [DataMember(Name="fuellingPointParameterName", EmitDefaultValue=false)] + public string FuellingPointParameterName { get; set; } + + /// + /// <p>Value of a fueling point parameter.<br /></p> + /// + /// <p>Value of a fueling point parameter.<br /></p> + [DataMember(Name="fuellingPointParameterValue", EmitDefaultValue=false)] + public string FuellingPointParameterValue { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" FuellingPointParameterCode: ").Append(FuellingPointParameterCode).Append("\n"); + sb.Append(" FuellingPointParameterName: ").Append(FuellingPointParameterName).Append("\n"); + sb.Append(" FuellingPointParameterValue: ").Append(FuellingPointParameterValue).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.FuellingPointParameterCode == input.FuellingPointParameterCode || + (this.FuellingPointParameterCode != null && + this.FuellingPointParameterCode.Equals(input.FuellingPointParameterCode)) + ) && + ( + this.FuellingPointParameterName == input.FuellingPointParameterName || + (this.FuellingPointParameterName != null && + this.FuellingPointParameterName.Equals(input.FuellingPointParameterName)) + ) && + ( + this.FuellingPointParameterValue == input.FuellingPointParameterValue || + (this.FuellingPointParameterValue != null && + this.FuellingPointParameterValue.Equals(input.FuellingPointParameterValue)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.FuellingPointParameterCode != null) + hashCode = hashCode * 59 + this.FuellingPointParameterCode.GetHashCode(); + if (this.FuellingPointParameterName != null) + hashCode = hashCode * 59 + this.FuellingPointParameterName.GetHashCode(); + if (this.FuellingPointParameterValue != null) + hashCode = hashCode * 59 + this.FuellingPointParameterValue.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..1996b9190911efdfdbd67fba03aacad6fdf80e2c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuellingPointParameterDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey(string fuellingPointParameterID = default(string)) + { + // to ensure "fuellingPointParameterID" is required (not null) + if (fuellingPointParameterID == null) + { + throw new InvalidDataException("fuellingPointParameterID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey and cannot be null"); + } + else + { + this.FuellingPointParameterID = fuellingPointParameterID; + } + } + + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + [DataMember(Name="fuellingPointParameterID", EmitDefaultValue=false)] + public string FuellingPointParameterID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey {\n"); + sb.Append(" FuellingPointParameterID: ").Append(FuellingPointParameterID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey input) + { + if (input == null) + return false; + + return + ( + this.FuellingPointParameterID == input.FuellingPointParameterID || + (this.FuellingPointParameterID != null && + this.FuellingPointParameterID.Equals(input.FuellingPointParameterID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FuellingPointParameterID != null) + hashCode = hashCode * 59 + this.FuellingPointParameterID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..3b7ef4d2026d7ddcc85763d29d351960ce27c241 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO.cs @@ -0,0 +1,315 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GradeDO <p>Grade of a fuel.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The barcode, point of sale scan code or other keyed identifying number used at POS and the internal stock keping ItemID for the item.<br /></p> (required). + /// <p>A unique identifier for this Tank<br /></p> (required). + /// <p>A unique identifier for this Tank<br /></p>. + /// <p>The percentage of the final blend that the given BULK ITEM constitutes. This ratio refers to the first tank. Meaning that the ratio for the 2nd tank in case of blended grades is 100 - BlendPercentage.<br /></p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO(ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey key = default(ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey), string posItemID = default(string), string firstTankID = default(string), string secondTankID = default(string), double? blendPercentage = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "posItemID" is required (not null) + if (posItemID == null) + { + throw new InvalidDataException("posItemID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO and cannot be null"); + } + else + { + this.PosItemID = posItemID; + } + // to ensure "firstTankID" is required (not null) + if (firstTankID == null) + { + throw new InvalidDataException("firstTankID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO and cannot be null"); + } + else + { + this.FirstTankID = firstTankID; + } + // to ensure "blendPercentage" is required (not null) + if (blendPercentage == null) + { + throw new InvalidDataException("blendPercentage is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO and cannot be null"); + } + else + { + this.BlendPercentage = blendPercentage; + } + this.SecondTankID = secondTankID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey Key { get; set; } + + /// + /// <p>The barcode, point of sale scan code or other keyed identifying number used at POS and the internal stock keping ItemID for the item.<br /></p> + /// + /// <p>The barcode, point of sale scan code or other keyed identifying number used at POS and the internal stock keping ItemID for the item.<br /></p> + [DataMember(Name="posItemID", EmitDefaultValue=false)] + public string PosItemID { get; set; } + + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + [DataMember(Name="firstTankID", EmitDefaultValue=false)] + public string FirstTankID { get; set; } + + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + [DataMember(Name="secondTankID", EmitDefaultValue=false)] + public string SecondTankID { get; set; } + + /// + /// <p>The percentage of the final blend that the given BULK ITEM constitutes. This ratio refers to the first tank. Meaning that the ratio for the 2nd tank in case of blended grades is 100 - BlendPercentage.<br /></p> + /// + /// <p>The percentage of the final blend that the given BULK ITEM constitutes. This ratio refers to the first tank. Meaning that the ratio for the 2nd tank in case of blended grades is 100 - BlendPercentage.<br /></p> + [DataMember(Name="blendPercentage", EmitDefaultValue=false)] + public double? BlendPercentage { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PosItemID: ").Append(PosItemID).Append("\n"); + sb.Append(" FirstTankID: ").Append(FirstTankID).Append("\n"); + sb.Append(" SecondTankID: ").Append(SecondTankID).Append("\n"); + sb.Append(" BlendPercentage: ").Append(BlendPercentage).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PosItemID == input.PosItemID || + (this.PosItemID != null && + this.PosItemID.Equals(input.PosItemID)) + ) && + ( + this.FirstTankID == input.FirstTankID || + (this.FirstTankID != null && + this.FirstTankID.Equals(input.FirstTankID)) + ) && + ( + this.SecondTankID == input.SecondTankID || + (this.SecondTankID != null && + this.SecondTankID.Equals(input.SecondTankID)) + ) && + ( + this.BlendPercentage == input.BlendPercentage || + (this.BlendPercentage != null && + this.BlendPercentage.Equals(input.BlendPercentage)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PosItemID != null) + hashCode = hashCode * 59 + this.PosItemID.GetHashCode(); + if (this.FirstTankID != null) + hashCode = hashCode * 59 + this.FirstTankID.GetHashCode(); + if (this.SecondTankID != null) + hashCode = hashCode * 59 + this.SecondTankID.GetHashCode(); + if (this.BlendPercentage != null) + hashCode = hashCode * 59 + this.BlendPercentage.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c005e394e560a119528b45584680f6e85eb56834 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GradeDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>The identifier of the fuel grade.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey(string businessUnitGroupID = default(string), string fuelGradeID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "fuelGradeID" is required (not null) + if (fuelGradeID == null) + { + throw new InvalidDataException("fuelGradeID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey and cannot be null"); + } + else + { + this.FuelGradeID = fuelGradeID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The identifier of the fuel grade.<br /></p> + /// + /// <p>The identifier of the fuel grade.<br /></p> + [DataMember(Name="fuelGradeID", EmitDefaultValue=false)] + public string FuelGradeID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" FuelGradeID: ").Append(FuelGradeID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.FuelGradeID == input.FuelGradeID || + (this.FuelGradeID != null && + this.FuelGradeID.Equals(input.FuelGradeID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.FuelGradeID != null) + hashCode = hashCode * 59 + this.FuelGradeID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..53d5cf0804b0ecc9c3abfc4e0dd109615a1731d3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO.cs @@ -0,0 +1,290 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// NozzleDO <p>That part of the FUELING POINT that blends and measures the volume of fuel dispensed during a FUELING TRANSACTION.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>A unique identifier for this Tank<br /></p> (required). + /// <p>For RFID Tags which are connected to the nozzle to identify grade, car and customer.<br /></p>. + /// <p>The identifier of the fuel grade.<br /></p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO(ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey key = default(ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey), string tankID = default(string), string rfTagNo = default(string), string fuelGradeID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "tankID" is required (not null) + if (tankID == null) + { + throw new InvalidDataException("tankID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO and cannot be null"); + } + else + { + this.TankID = tankID; + } + // to ensure "fuelGradeID" is required (not null) + if (fuelGradeID == null) + { + throw new InvalidDataException("fuelGradeID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO and cannot be null"); + } + else + { + this.FuelGradeID = fuelGradeID; + } + this.RfTagNo = rfTagNo; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey Key { get; set; } + + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + [DataMember(Name="tankID", EmitDefaultValue=false)] + public string TankID { get; set; } + + /// + /// <p>For RFID Tags which are connected to the nozzle to identify grade, car and customer.<br /></p> + /// + /// <p>For RFID Tags which are connected to the nozzle to identify grade, car and customer.<br /></p> + [DataMember(Name="rfTagNo", EmitDefaultValue=false)] + public string RfTagNo { get; set; } + + /// + /// <p>The identifier of the fuel grade.<br /></p> + /// + /// <p>The identifier of the fuel grade.<br /></p> + [DataMember(Name="fuelGradeID", EmitDefaultValue=false)] + public string FuelGradeID { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TankID: ").Append(TankID).Append("\n"); + sb.Append(" RfTagNo: ").Append(RfTagNo).Append("\n"); + sb.Append(" FuelGradeID: ").Append(FuelGradeID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TankID == input.TankID || + (this.TankID != null && + this.TankID.Equals(input.TankID)) + ) && + ( + this.RfTagNo == input.RfTagNo || + (this.RfTagNo != null && + this.RfTagNo.Equals(input.RfTagNo)) + ) && + ( + this.FuelGradeID == input.FuelGradeID || + (this.FuelGradeID != null && + this.FuelGradeID.Equals(input.FuelGradeID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TankID != null) + hashCode = hashCode * 59 + this.TankID.GetHashCode(); + if (this.RfTagNo != null) + hashCode = hashCode * 59 + this.RfTagNo.GetHashCode(); + if (this.FuelGradeID != null) + hashCode = hashCode * 59 + this.FuelGradeID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca7a88cfc36224a84ad8a2a15086b5c08cbfb52c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// NozzleDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>A unique identifier for the Nozzle<br /></p> (required). + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey(string businessUnitGroupID = default(string), string nozzleID = default(string), string fuellingPointID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "nozzleID" is required (not null) + if (nozzleID == null) + { + throw new InvalidDataException("nozzleID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey and cannot be null"); + } + else + { + this.NozzleID = nozzleID; + } + // to ensure "fuellingPointID" is required (not null) + if (fuellingPointID == null) + { + throw new InvalidDataException("fuellingPointID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey and cannot be null"); + } + else + { + this.FuellingPointID = fuellingPointID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique identifier for the Nozzle<br /></p> + /// + /// <p>A unique identifier for the Nozzle<br /></p> + [DataMember(Name="nozzleID", EmitDefaultValue=false)] + public string NozzleID { get; set; } + + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + [DataMember(Name="fuellingPointID", EmitDefaultValue=false)] + public string FuellingPointID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" NozzleID: ").Append(NozzleID).Append("\n"); + sb.Append(" FuellingPointID: ").Append(FuellingPointID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.NozzleID == input.NozzleID || + (this.NozzleID != null && + this.NozzleID.Equals(input.NozzleID)) + ) && + ( + this.FuellingPointID == input.FuellingPointID || + (this.FuellingPointID != null && + this.FuellingPointID.Equals(input.FuellingPointID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.NozzleID != null) + hashCode = hashCode * 59 + this.NozzleID.GetHashCode(); + if (this.FuellingPointID != null) + hashCode = hashCode * 59 + this.FuellingPointID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..73b05f1661d4b166e5f142461aa9f4de180aa216 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO.cs @@ -0,0 +1,814 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TankDO <p>A kind of Location used to store a FuelItem that is measured &amp; dispensed by one or more FuelingPoints<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Generated ID of a fuel grade.<br /></p> (required). + /// <p>The largest capacity that the tank safely holds, taking temperature effects into consideration.<br /></p>. + /// <p>The volume to which a tank may be emptied without prumping vapour into the line. The amount of product that just reaches the entrance of the suction pipe.<br /></p>. + /// <p>The diameter of the tank<br /></p>. + /// <p>The level at which the TankLevelGuage will set off the 'High Water Alarm'<br /></p>. + /// <p>Reference to BusinessUnitGroupItem<br /></p>. + /// <p>The UOM of the Item<br /></p>. + /// fuelProductID. + /// fuelName. + /// tankGroupID. + /// tankLevelGaugeID. + /// xxcustom08. + /// xxcustom10. + /// xxcustom09. + /// xxcustom07. + /// <p>Additional field for custom development.<br /></p>. + /// xxcustom06. + /// xxcustom11. + /// xxcustom12. + /// xxcustom13. + /// xxcustom14. + /// xxcustom15. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// xxcustom16. + /// xxcustom17. + /// xxcustom18. + /// xxcustom19. + /// xxcustom20. + /// xxcustom21. + /// xxcustom22. + /// xxcustom23. + /// xxcustom24. + /// xxcustom25. + /// xxcustom26. + /// xxcustom27. + /// xxcustom28. + /// xxcustom29. + /// xxcustom30. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO(ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey key = default(ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey), string fuelGradeID = default(string), double? maximumSafeFillCapacity = default(double?), double? lowCapacity = default(double?), double? tankDiameter = default(double?), double? highWaterSetPoint = default(double?), string itemID = default(string), string unitOfMeasureCode = default(string), int? fuelProductID = default(int?), string fuelName = default(string), int? tankGroupID = default(int?), int? tankLevelGaugeID = default(int?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "fuelGradeID" is required (not null) + if (fuelGradeID == null) + { + throw new InvalidDataException("fuelGradeID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO and cannot be null"); + } + else + { + this.FuelGradeID = fuelGradeID; + } + this.MaximumSafeFillCapacity = maximumSafeFillCapacity; + this.LowCapacity = lowCapacity; + this.TankDiameter = tankDiameter; + this.HighWaterSetPoint = highWaterSetPoint; + this.ItemID = itemID; + this.UnitOfMeasureCode = unitOfMeasureCode; + this.FuelProductID = fuelProductID; + this.FuelName = fuelName; + this.TankGroupID = tankGroupID; + this.TankLevelGaugeID = tankLevelGaugeID; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey Key { get; set; } + + /// + /// <p>Generated ID of a fuel grade.<br /></p> + /// + /// <p>Generated ID of a fuel grade.<br /></p> + [DataMember(Name="fuelGradeID", EmitDefaultValue=false)] + public string FuelGradeID { get; set; } + + /// + /// <p>The largest capacity that the tank safely holds, taking temperature effects into consideration.<br /></p> + /// + /// <p>The largest capacity that the tank safely holds, taking temperature effects into consideration.<br /></p> + [DataMember(Name="maximumSafeFillCapacity", EmitDefaultValue=false)] + public double? MaximumSafeFillCapacity { get; set; } + + /// + /// <p>The volume to which a tank may be emptied without prumping vapour into the line. The amount of product that just reaches the entrance of the suction pipe.<br /></p> + /// + /// <p>The volume to which a tank may be emptied without prumping vapour into the line. The amount of product that just reaches the entrance of the suction pipe.<br /></p> + [DataMember(Name="lowCapacity", EmitDefaultValue=false)] + public double? LowCapacity { get; set; } + + /// + /// <p>The diameter of the tank<br /></p> + /// + /// <p>The diameter of the tank<br /></p> + [DataMember(Name="tankDiameter", EmitDefaultValue=false)] + public double? TankDiameter { get; set; } + + /// + /// <p>The level at which the TankLevelGuage will set off the 'High Water Alarm'<br /></p> + /// + /// <p>The level at which the TankLevelGuage will set off the 'High Water Alarm'<br /></p> + [DataMember(Name="highWaterSetPoint", EmitDefaultValue=false)] + public double? HighWaterSetPoint { get; set; } + + /// + /// <p>Reference to BusinessUnitGroupItem<br /></p> + /// + /// <p>Reference to BusinessUnitGroupItem<br /></p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The UOM of the Item<br /></p> + /// + /// <p>The UOM of the Item<br /></p> + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// Gets or Sets FuelProductID + /// + [DataMember(Name="fuelProductID", EmitDefaultValue=false)] + public int? FuelProductID { get; set; } + + /// + /// Gets or Sets FuelName + /// + [DataMember(Name="fuelName", EmitDefaultValue=false)] + public string FuelName { get; set; } + + /// + /// Gets or Sets TankGroupID + /// + [DataMember(Name="tankGroupID", EmitDefaultValue=false)] + public int? TankGroupID { get; set; } + + /// + /// Gets or Sets TankLevelGaugeID + /// + [DataMember(Name="tankLevelGaugeID", EmitDefaultValue=false)] + public int? TankLevelGaugeID { get; set; } + + /// + /// Gets or Sets Xxcustom08 + /// + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Gets or Sets Xxcustom10 + /// + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Gets or Sets Xxcustom09 + /// + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Gets or Sets Xxcustom07 + /// + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Gets or Sets Xxcustom06 + /// + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Gets or Sets Xxcustom11 + /// + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Gets or Sets Xxcustom12 + /// + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Gets or Sets Xxcustom13 + /// + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Gets or Sets Xxcustom14 + /// + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Gets or Sets Xxcustom15 + /// + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets Xxcustom16 + /// + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Gets or Sets Xxcustom17 + /// + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Gets or Sets Xxcustom18 + /// + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Gets or Sets Xxcustom19 + /// + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Gets or Sets Xxcustom20 + /// + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Gets or Sets Xxcustom21 + /// + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Gets or Sets Xxcustom22 + /// + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Gets or Sets Xxcustom23 + /// + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Gets or Sets Xxcustom24 + /// + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Gets or Sets Xxcustom25 + /// + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Gets or Sets Xxcustom26 + /// + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Gets or Sets Xxcustom27 + /// + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Gets or Sets Xxcustom28 + /// + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Gets or Sets Xxcustom29 + /// + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Gets or Sets Xxcustom30 + /// + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" FuelGradeID: ").Append(FuelGradeID).Append("\n"); + sb.Append(" MaximumSafeFillCapacity: ").Append(MaximumSafeFillCapacity).Append("\n"); + sb.Append(" LowCapacity: ").Append(LowCapacity).Append("\n"); + sb.Append(" TankDiameter: ").Append(TankDiameter).Append("\n"); + sb.Append(" HighWaterSetPoint: ").Append(HighWaterSetPoint).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" FuelProductID: ").Append(FuelProductID).Append("\n"); + sb.Append(" FuelName: ").Append(FuelName).Append("\n"); + sb.Append(" TankGroupID: ").Append(TankGroupID).Append("\n"); + sb.Append(" TankLevelGaugeID: ").Append(TankLevelGaugeID).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.FuelGradeID == input.FuelGradeID || + (this.FuelGradeID != null && + this.FuelGradeID.Equals(input.FuelGradeID)) + ) && + ( + this.MaximumSafeFillCapacity == input.MaximumSafeFillCapacity || + (this.MaximumSafeFillCapacity != null && + this.MaximumSafeFillCapacity.Equals(input.MaximumSafeFillCapacity)) + ) && + ( + this.LowCapacity == input.LowCapacity || + (this.LowCapacity != null && + this.LowCapacity.Equals(input.LowCapacity)) + ) && + ( + this.TankDiameter == input.TankDiameter || + (this.TankDiameter != null && + this.TankDiameter.Equals(input.TankDiameter)) + ) && + ( + this.HighWaterSetPoint == input.HighWaterSetPoint || + (this.HighWaterSetPoint != null && + this.HighWaterSetPoint.Equals(input.HighWaterSetPoint)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.FuelProductID == input.FuelProductID || + (this.FuelProductID != null && + this.FuelProductID.Equals(input.FuelProductID)) + ) && + ( + this.FuelName == input.FuelName || + (this.FuelName != null && + this.FuelName.Equals(input.FuelName)) + ) && + ( + this.TankGroupID == input.TankGroupID || + (this.TankGroupID != null && + this.TankGroupID.Equals(input.TankGroupID)) + ) && + ( + this.TankLevelGaugeID == input.TankLevelGaugeID || + (this.TankLevelGaugeID != null && + this.TankLevelGaugeID.Equals(input.TankLevelGaugeID)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.FuelGradeID != null) + hashCode = hashCode * 59 + this.FuelGradeID.GetHashCode(); + if (this.MaximumSafeFillCapacity != null) + hashCode = hashCode * 59 + this.MaximumSafeFillCapacity.GetHashCode(); + if (this.LowCapacity != null) + hashCode = hashCode * 59 + this.LowCapacity.GetHashCode(); + if (this.TankDiameter != null) + hashCode = hashCode * 59 + this.TankDiameter.GetHashCode(); + if (this.HighWaterSetPoint != null) + hashCode = hashCode * 59 + this.HighWaterSetPoint.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.FuelProductID != null) + hashCode = hashCode * 59 + this.FuelProductID.GetHashCode(); + if (this.FuelName != null) + hashCode = hashCode * 59 + this.FuelName.GetHashCode(); + if (this.TankGroupID != null) + hashCode = hashCode * 59 + this.TankGroupID.GetHashCode(); + if (this.TankLevelGaugeID != null) + hashCode = hashCode * 59 + this.TankLevelGaugeID.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c03eb4402bbdeb39706249a3c142dbb84807e374 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TankDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> (required). + /// <p>A unique identifier for this Tank<br /></p> (required). + public ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey(string businessUnitGroupID = default(string), string tankID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "tankID" is required (not null) + if (tankID == null) + { + throw new InvalidDataException("tankID is a required property for ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey and cannot be null"); + } + else + { + this.TankID = tankID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + [DataMember(Name="tankID", EmitDefaultValue=false)] + public string TankID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TankID: ").Append(TankID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TankID == input.TankID || + (this.TankID != null && + this.TankID.Equals(input.TankID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TankID != null) + hashCode = hashCode * 59 + this.TankID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..814b0fd537d628853e610b4060a93c78f182baf8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO.cs @@ -0,0 +1,261 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PriceContractReadDO <p>The view object which consolidates data from Price Contract tables.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of a contract which was created for a customer or customer group<br /></p>. + /// <p>Reference to the Item.<br /></p>. + /// <p>The POS Item ID.<br /></p>. + /// <p>The UOM of the Item.<br /></p>. + /// <p>Effective (start) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Expiration (end) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The agreed sales unit price for the item.<br /></p>. + /// <p>A unique system assigned identifier for the Customer.<br /></p>. + /// <p>Customer group ID.<br /></p>. + public ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO(string priceContractID = default(string), string itemID = default(string), string posItemID = default(string), string unitOfMeasureCode = default(string), string effectiveDateTime = default(string), string expirationDateTime = default(string), double? saleUnitRetailPriceAmount = default(double?), string customerID = default(string), string customerGroupID = default(string)) + { + this.PriceContractID = priceContractID; + this.ItemID = itemID; + this.PosItemID = posItemID; + this.UnitOfMeasureCode = unitOfMeasureCode; + this.EffectiveDateTime = effectiveDateTime; + this.ExpirationDateTime = expirationDateTime; + this.SaleUnitRetailPriceAmount = saleUnitRetailPriceAmount; + this.CustomerID = customerID; + this.CustomerGroupID = customerGroupID; + } + + /// + /// <p>The identifier of a contract which was created for a customer or customer group<br /></p> + /// + /// <p>The identifier of a contract which was created for a customer or customer group<br /></p> + [DataMember(Name="priceContractID", EmitDefaultValue=false)] + public string PriceContractID { get; set; } + + /// + /// <p>Reference to the Item.<br /></p> + /// + /// <p>Reference to the Item.<br /></p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The POS Item ID.<br /></p> + /// + /// <p>The POS Item ID.<br /></p> + [DataMember(Name="posItemID", EmitDefaultValue=false)] + public string PosItemID { get; set; } + + /// + /// <p>The UOM of the Item.<br /></p> + /// + /// <p>The UOM of the Item.<br /></p> + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// <p>Effective (start) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Effective (start) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="effectiveDateTime", EmitDefaultValue=false)] + public string EffectiveDateTime { get; set; } + + /// + /// <p>Expiration (end) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration (end) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationDateTime", EmitDefaultValue=false)] + public string ExpirationDateTime { get; set; } + + /// + /// <p>The agreed sales unit price for the item.<br /></p> + /// + /// <p>The agreed sales unit price for the item.<br /></p> + [DataMember(Name="saleUnitRetailPriceAmount", EmitDefaultValue=false)] + public double? SaleUnitRetailPriceAmount { get; set; } + + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>Customer group ID.<br /></p> + /// + /// <p>Customer group ID.<br /></p> + [DataMember(Name="customerGroupID", EmitDefaultValue=false)] + public string CustomerGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO {\n"); + sb.Append(" PriceContractID: ").Append(PriceContractID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" PosItemID: ").Append(PosItemID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" EffectiveDateTime: ").Append(EffectiveDateTime).Append("\n"); + sb.Append(" ExpirationDateTime: ").Append(ExpirationDateTime).Append("\n"); + sb.Append(" SaleUnitRetailPriceAmount: ").Append(SaleUnitRetailPriceAmount).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" CustomerGroupID: ").Append(CustomerGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO input) + { + if (input == null) + return false; + + return + ( + this.PriceContractID == input.PriceContractID || + (this.PriceContractID != null && + this.PriceContractID.Equals(input.PriceContractID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.PosItemID == input.PosItemID || + (this.PosItemID != null && + this.PosItemID.Equals(input.PosItemID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.EffectiveDateTime == input.EffectiveDateTime || + (this.EffectiveDateTime != null && + this.EffectiveDateTime.Equals(input.EffectiveDateTime)) + ) && + ( + this.ExpirationDateTime == input.ExpirationDateTime || + (this.ExpirationDateTime != null && + this.ExpirationDateTime.Equals(input.ExpirationDateTime)) + ) && + ( + this.SaleUnitRetailPriceAmount == input.SaleUnitRetailPriceAmount || + (this.SaleUnitRetailPriceAmount != null && + this.SaleUnitRetailPriceAmount.Equals(input.SaleUnitRetailPriceAmount)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.CustomerGroupID == input.CustomerGroupID || + (this.CustomerGroupID != null && + this.CustomerGroupID.Equals(input.CustomerGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PriceContractID != null) + hashCode = hashCode * 59 + this.PriceContractID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.PosItemID != null) + hashCode = hashCode * 59 + this.PosItemID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.EffectiveDateTime != null) + hashCode = hashCode * 59 + this.EffectiveDateTime.GetHashCode(); + if (this.ExpirationDateTime != null) + hashCode = hashCode * 59 + this.ExpirationDateTime.GetHashCode(); + if (this.SaleUnitRetailPriceAmount != null) + hashCode = hashCode * 59 + this.SaleUnitRetailPriceAmount.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.CustomerGroupID != null) + hashCode = hashCode * 59 + this.CustomerGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..ef8695e882e4b518cf381b7f489050c3d5463f2b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO.cs @@ -0,0 +1,749 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RelatedItemAssociationTypeDO <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The name of the association type<br /></p>. + /// <p>A sequential number that indicates the order being used when displaying the association types in the launchpad function.<br /></p>. + /// <p>The type of the purpose of the item association.<br /> Values:<br /></p><br /><pre> * null - default, used for e.g. Variant, Bundle, Subtype, Ingredient<br /> * Meal - Component without Alternative items<br /> * MealAlternative - Component with Alternative items<br /> * Condiment - Condiment component<br /></pre>. + /// <p>List of translations<br /></p>. + /// packageID. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey key = default(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey), string name = default(string), int? sortSequence = default(int?), string purposeTypeCode = default(string), List translationList = default(List), string packageID = default(string), string tid = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO and cannot be null"); + } + else + { + this.Key = key; + } + this.Name = name; + this.SortSequence = sortSequence; + this.PurposeTypeCode = purposeTypeCode; + this.TranslationList = translationList; + this.PackageID = packageID; + this.Tid = tid; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey Key { get; set; } + + /// + /// <p>The name of the association type<br /></p> + /// + /// <p>The name of the association type<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>A sequential number that indicates the order being used when displaying the association types in the launchpad function.<br /></p> + /// + /// <p>A sequential number that indicates the order being used when displaying the association types in the launchpad function.<br /></p> + [DataMember(Name="sortSequence", EmitDefaultValue=false)] + public int? SortSequence { get; set; } + + /// + /// <p>The type of the purpose of the item association.<br /> Values:<br /></p><br /><pre> * null - default, used for e.g. Variant, Bundle, Subtype, Ingredient<br /> * Meal - Component without Alternative items<br /> * MealAlternative - Component with Alternative items<br /> * Condiment - Condiment component<br /></pre> + /// + /// <p>The type of the purpose of the item association.<br /> Values:<br /></p><br /><pre> * null - default, used for e.g. Variant, Bundle, Subtype, Ingredient<br /> * Meal - Component without Alternative items<br /> * MealAlternative - Component with Alternative items<br /> * Condiment - Condiment component<br /></pre> + [DataMember(Name="purposeTypeCode", EmitDefaultValue=false)] + public string PurposeTypeCode { get; set; } + + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// Gets or Sets PackageID + /// + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" SortSequence: ").Append(SortSequence).Append("\n"); + sb.Append(" PurposeTypeCode: ").Append(PurposeTypeCode).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.SortSequence == input.SortSequence || + (this.SortSequence != null && + this.SortSequence.Equals(input.SortSequence)) + ) && + ( + this.PurposeTypeCode == input.PurposeTypeCode || + (this.PurposeTypeCode != null && + this.PurposeTypeCode.Equals(input.PurposeTypeCode)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.SortSequence != null) + hashCode = hashCode * 59 + this.SortSequence.GetHashCode(); + if (this.PurposeTypeCode != null) + hashCode = hashCode * 59 + this.PurposeTypeCode.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..90aa4a15af7e8ab0399113ab922e4668518b8b20 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RelatedItemAssociationTypeDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The type of the association<br /></p> (required). + public ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey(string relatedItemAssociationTypeCode = default(string)) + { + // to ensure "relatedItemAssociationTypeCode" is required (not null) + if (relatedItemAssociationTypeCode == null) + { + throw new InvalidDataException("relatedItemAssociationTypeCode is a required property for ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey and cannot be null"); + } + else + { + this.RelatedItemAssociationTypeCode = relatedItemAssociationTypeCode; + } + } + + /// + /// <p>The type of the association<br /></p> + /// + /// <p>The type of the association<br /></p> + [DataMember(Name="relatedItemAssociationTypeCode", EmitDefaultValue=false)] + public string RelatedItemAssociationTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey {\n"); + sb.Append(" RelatedItemAssociationTypeCode: ").Append(RelatedItemAssociationTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey input) + { + if (input == null) + return false; + + return + ( + this.RelatedItemAssociationTypeCode == input.RelatedItemAssociationTypeCode || + (this.RelatedItemAssociationTypeCode != null && + this.RelatedItemAssociationTypeCode.Equals(input.RelatedItemAssociationTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RelatedItemAssociationTypeCode != null) + hashCode = hashCode * 59 + this.RelatedItemAssociationTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..6e956209201e0d67ed0b621d970919f6e871f62b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO.cs @@ -0,0 +1,257 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ScaleDomainDO <p>Scale domains are used for grouping scale items, e.g. meat, cheese, sausages.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Scales domain description<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO(ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey key = default(ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey), string description = default(string), string packageID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO and cannot be null"); + } + else + { + this.Key = key; + } + this.Description = description; + this.PackageID = packageID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey Key { get; set; } + + /// + /// <p>Scales domain description<br /></p> + /// + /// <p>Scales domain description<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c541d5ea72fb00d3755b8cd4bab4df62d373687e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ScaleDomainDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group.<br /></p> (required). + /// <p>Scales domain identifier<br /></p> (required). + public ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey(string businessUnitGroupID = default(string), string scaleDomainID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "scaleDomainID" is required (not null) + if (scaleDomainID == null) + { + throw new InvalidDataException("scaleDomainID is a required property for ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey and cannot be null"); + } + else + { + this.ScaleDomainID = scaleDomainID; + } + } + + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Scales domain identifier<br /></p> + /// + /// <p>Scales domain identifier<br /></p> + [DataMember(Name="scaleDomainID", EmitDefaultValue=false)] + public string ScaleDomainID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ScaleDomainID: ").Append(ScaleDomainID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ScaleDomainID == input.ScaleDomainID || + (this.ScaleDomainID != null && + this.ScaleDomainID.Equals(input.ScaleDomainID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ScaleDomainID != null) + hashCode = hashCode * 59 + this.ScaleDomainID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..3d756042c63e807a3143b1b65cedcb4e50743c28 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO.cs @@ -0,0 +1,1239 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderDO <p>Tender includes all the forms of payment that are accepted by the retail store in settling sales and other transactions.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO : IEquatable, IValidatableObject + { + /// + /// <p>Defines type of tender pickup:<br /></p><br /><ul><br /> <li> NOT_ALLOWED(01) - Not allowed</li><br /> <li> ALLOWED(02) - Allowed</li><br /></ul> + /// + /// <p>Defines type of tender pickup:<br /></p><br /><ul><br /> <li> NOT_ALLOWED(01) - Not allowed</li><br /> <li> ALLOWED(02) - Allowed</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PickupTypeCodeEnum + { + + /// + /// Enum NOTALLOWED for value: NOT_ALLOWED + /// + [EnumMember(Value = "NOT_ALLOWED")] + NOTALLOWED = 1, + + /// + /// Enum ALLOWED for value: ALLOWED + /// + [EnumMember(Value = "ALLOWED")] + ALLOWED = 2 + } + + /// + /// <p>Defines type of tender pickup:<br /></p><br /><ul><br /> <li> NOT_ALLOWED(01) - Not allowed</li><br /> <li> ALLOWED(02) - Allowed</li><br /></ul> + /// + /// <p>Defines type of tender pickup:<br /></p><br /><ul><br /> <li> NOT_ALLOWED(01) - Not allowed</li><br /> <li> ALLOWED(02) - Allowed</li><br /></ul> + [DataMember(Name="pickupTypeCode", EmitDefaultValue=false)] + public PickupTypeCodeEnum? PickupTypeCode { get; set; } + /// + /// <p>A typecode to define how a tender is picked up from safe / delivered to bank:<br /></p><br /><ul><br /> <li> NO_DELIVERY(00) - no delivery</li><br /> <li> MANUAL_DELIVERY(01) - manual delivery</li><br /> <li> AUTOMATIC_DELIVERY(02) - automatic delivery</li><br /></ul> + /// + /// <p>A typecode to define how a tender is picked up from safe / delivered to bank:<br /></p><br /><ul><br /> <li> NO_DELIVERY(00) - no delivery</li><br /> <li> MANUAL_DELIVERY(01) - manual delivery</li><br /> <li> AUTOMATIC_DELIVERY(02) - automatic delivery</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum DeliveryTypeCodeEnum + { + + /// + /// Enum NODELIVERY for value: NO_DELIVERY + /// + [EnumMember(Value = "NO_DELIVERY")] + NODELIVERY = 1, + + /// + /// Enum MANUALDELIVERY for value: MANUAL_DELIVERY + /// + [EnumMember(Value = "MANUAL_DELIVERY")] + MANUALDELIVERY = 2, + + /// + /// Enum AUTOMATICDELIVERY for value: AUTOMATIC_DELIVERY + /// + [EnumMember(Value = "AUTOMATIC_DELIVERY")] + AUTOMATICDELIVERY = 3, + + /// + /// Enum BANKPAYMENTONLY for value: BANK_PAYMENT_ONLY + /// + [EnumMember(Value = "BANK_PAYMENT_ONLY")] + BANKPAYMENTONLY = 4, + + /// + /// Enum SAFEBAGPACKINGONLY for value: SAFEBAG_PACKING_ONLY + /// + [EnumMember(Value = "SAFEBAG_PACKING_ONLY")] + SAFEBAGPACKINGONLY = 5, + + /// + /// Enum SAFEPAYOUTONLY for value: SAFE_PAYOUT_ONLY + /// + [EnumMember(Value = "SAFE_PAYOUT_ONLY")] + SAFEPAYOUTONLY = 6 + } + + /// + /// <p>A typecode to define how a tender is picked up from safe / delivered to bank:<br /></p><br /><ul><br /> <li> NO_DELIVERY(00) - no delivery</li><br /> <li> MANUAL_DELIVERY(01) - manual delivery</li><br /> <li> AUTOMATIC_DELIVERY(02) - automatic delivery</li><br /></ul> + /// + /// <p>A typecode to define how a tender is picked up from safe / delivered to bank:<br /></p><br /><ul><br /> <li> NO_DELIVERY(00) - no delivery</li><br /> <li> MANUAL_DELIVERY(01) - manual delivery</li><br /> <li> AUTOMATIC_DELIVERY(02) - automatic delivery</li><br /></ul> + [DataMember(Name="deliveryTypeCode", EmitDefaultValue=false)] + public DeliveryTypeCodeEnum? DeliveryTypeCode { get; set; } + /// + /// <p>Defines whether payment amount should be entered.<br /></p><br /><ul><br /> <li> REQUIRED(01) - required</li><br /> <li> OPTIONAL(02) - optional</li><br /> <li> PROHIBITED(03) - prohibited</li><br /> <li> CONFIRM(04) - confirm</li><br /></ul> + /// + /// <p>Defines whether payment amount should be entered.<br /></p><br /><ul><br /> <li> REQUIRED(01) - required</li><br /> <li> OPTIONAL(02) - optional</li><br /> <li> PROHIBITED(03) - prohibited</li><br /> <li> CONFIRM(04) - confirm</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum InputAmountConstraintEnum + { + + /// + /// Enum REQUIRED for value: REQUIRED + /// + [EnumMember(Value = "REQUIRED")] + REQUIRED = 1, + + /// + /// Enum OPTIONAL for value: OPTIONAL + /// + [EnumMember(Value = "OPTIONAL")] + OPTIONAL = 2, + + /// + /// Enum PROHIBITED for value: PROHIBITED + /// + [EnumMember(Value = "PROHIBITED")] + PROHIBITED = 3, + + /// + /// Enum CONFIRM for value: CONFIRM + /// + [EnumMember(Value = "CONFIRM")] + CONFIRM = 4 + } + + /// + /// <p>Defines whether payment amount should be entered.<br /></p><br /><ul><br /> <li> REQUIRED(01) - required</li><br /> <li> OPTIONAL(02) - optional</li><br /> <li> PROHIBITED(03) - prohibited</li><br /> <li> CONFIRM(04) - confirm</li><br /></ul> + /// + /// <p>Defines whether payment amount should be entered.<br /></p><br /><ul><br /> <li> REQUIRED(01) - required</li><br /> <li> OPTIONAL(02) - optional</li><br /> <li> PROHIBITED(03) - prohibited</li><br /> <li> CONFIRM(04) - confirm</li><br /></ul> + [DataMember(Name="inputAmountConstraint", EmitDefaultValue=false)] + public InputAmountConstraintEnum? InputAmountConstraint { get; set; } + /// + /// <p>Defines what amount is allowed.<br /></p><br /><ul><br /> <li> EXACTLY(01) - EXACTLY</li><br /> <li> EXACTLY_AND_LESS(02) - EXACTLY_AND_LESS</li><br /> <li> EXACTLY_AND_MORE(03) - EXACTLY_AND_MORE</li><br /> <li> ALL(04) - ALL</li><br /></ul> + /// + /// <p>Defines what amount is allowed.<br /></p><br /><ul><br /> <li> EXACTLY(01) - EXACTLY</li><br /> <li> EXACTLY_AND_LESS(02) - EXACTLY_AND_LESS</li><br /> <li> EXACTLY_AND_MORE(03) - EXACTLY_AND_MORE</li><br /> <li> ALL(04) - ALL</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum AllowedAmountTypeCodeEnum + { + + /// + /// Enum EXACTLY for value: EXACTLY + /// + [EnumMember(Value = "EXACTLY")] + EXACTLY = 1, + + /// + /// Enum EXACTLYANDLESS for value: EXACTLY_AND_LESS + /// + [EnumMember(Value = "EXACTLY_AND_LESS")] + EXACTLYANDLESS = 2, + + /// + /// Enum EXACTLYANDMORE for value: EXACTLY_AND_MORE + /// + [EnumMember(Value = "EXACTLY_AND_MORE")] + EXACTLYANDMORE = 3, + + /// + /// Enum ALL for value: ALL + /// + [EnumMember(Value = "ALL")] + ALL = 4 + } + + /// + /// <p>Defines what amount is allowed.<br /></p><br /><ul><br /> <li> EXACTLY(01) - EXACTLY</li><br /> <li> EXACTLY_AND_LESS(02) - EXACTLY_AND_LESS</li><br /> <li> EXACTLY_AND_MORE(03) - EXACTLY_AND_MORE</li><br /> <li> ALL(04) - ALL</li><br /></ul> + /// + /// <p>Defines what amount is allowed.<br /></p><br /><ul><br /> <li> EXACTLY(01) - EXACTLY</li><br /> <li> EXACTLY_AND_LESS(02) - EXACTLY_AND_LESS</li><br /> <li> EXACTLY_AND_MORE(03) - EXACTLY_AND_MORE</li><br /> <li> ALL(04) - ALL</li><br /></ul> + [DataMember(Name="allowedAmountTypeCode", EmitDefaultValue=false)] + public AllowedAmountTypeCodeEnum? AllowedAmountTypeCode { get; set; } + /// + /// <p>Defines the tender group used by POS payment functions:<br /></p><br /><ul><br /> <li> CASH,</li><br /> <li> TERMINAL,</li><br /> <li> GIFT_CERT,</li><br /> <li> COUPON,</li><br /> <li> CHEQUE,</li><br /> <li> CREDIT,</li><br /> <li> PROMOTION,</li><br /> <li> POINTS,</li><br /> <li> CASHENGINE</li><br /></ul> + /// + /// <p>Defines the tender group used by POS payment functions:<br /></p><br /><ul><br /> <li> CASH,</li><br /> <li> TERMINAL,</li><br /> <li> GIFT_CERT,</li><br /> <li> COUPON,</li><br /> <li> CHEQUE,</li><br /> <li> CREDIT,</li><br /> <li> PROMOTION,</li><br /> <li> POINTS,</li><br /> <li> CASHENGINE</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum TenderGroupCodeEnum + { + + /// + /// Enum CASH for value: CASH + /// + [EnumMember(Value = "CASH")] + CASH = 1, + + /// + /// Enum TERMINAL for value: TERMINAL + /// + [EnumMember(Value = "TERMINAL")] + TERMINAL = 2, + + /// + /// Enum GIFTCERT for value: GIFT_CERT + /// + [EnumMember(Value = "GIFT_CERT")] + GIFTCERT = 3, + + /// + /// Enum COUPON for value: COUPON + /// + [EnumMember(Value = "COUPON")] + COUPON = 4, + + /// + /// Enum CHEQUE for value: CHEQUE + /// + [EnumMember(Value = "CHEQUE")] + CHEQUE = 5, + + /// + /// Enum CREDIT for value: CREDIT + /// + [EnumMember(Value = "CREDIT")] + CREDIT = 6, + + /// + /// Enum PROMOTION for value: PROMOTION + /// + [EnumMember(Value = "PROMOTION")] + PROMOTION = 7, + + /// + /// Enum POINTS for value: POINTS + /// + [EnumMember(Value = "POINTS")] + POINTS = 8, + + /// + /// Enum CASHENGINE for value: CASHENGINE + /// + [EnumMember(Value = "CASHENGINE")] + CASHENGINE = 9 + } + + /// + /// <p>Defines the tender group used by POS payment functions:<br /></p><br /><ul><br /> <li> CASH,</li><br /> <li> TERMINAL,</li><br /> <li> GIFT_CERT,</li><br /> <li> COUPON,</li><br /> <li> CHEQUE,</li><br /> <li> CREDIT,</li><br /> <li> PROMOTION,</li><br /> <li> POINTS,</li><br /> <li> CASHENGINE</li><br /></ul> + /// + /// <p>Defines the tender group used by POS payment functions:<br /></p><br /><ul><br /> <li> CASH,</li><br /> <li> TERMINAL,</li><br /> <li> GIFT_CERT,</li><br /> <li> COUPON,</li><br /> <li> CHEQUE,</li><br /> <li> CREDIT,</li><br /> <li> PROMOTION,</li><br /> <li> POINTS,</li><br /> <li> CASHENGINE</li><br /></ul> + [DataMember(Name="tenderGroupCode", EmitDefaultValue=false)] + public TenderGroupCodeEnum? TenderGroupCode { get; set; } + /// + /// <p>Determines whether the tender can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li> SALES_AND_RETURNS(00) - for sales and returns</li><br /> <li> SALES(01) - only for sales</li><br /> <li> RETURNS(02) - only for returns</li><br /></ul> + /// + /// <p>Determines whether the tender can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li> SALES_AND_RETURNS(00) - for sales and returns</li><br /> <li> SALES(01) - only for sales</li><br /> <li> RETURNS(02) - only for returns</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum SaleReturnTypeCodeEnum + { + + /// + /// Enum SALESANDRETURNS for value: SALES_AND_RETURNS + /// + [EnumMember(Value = "SALES_AND_RETURNS")] + SALESANDRETURNS = 1, + + /// + /// Enum SALES for value: SALES + /// + [EnumMember(Value = "SALES")] + SALES = 2, + + /// + /// Enum RETURNS for value: RETURNS + /// + [EnumMember(Value = "RETURNS")] + RETURNS = 3 + } + + /// + /// <p>Determines whether the tender can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li> SALES_AND_RETURNS(00) - for sales and returns</li><br /> <li> SALES(01) - only for sales</li><br /> <li> RETURNS(02) - only for returns</li><br /></ul> + /// + /// <p>Determines whether the tender can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li> SALES_AND_RETURNS(00) - for sales and returns</li><br /> <li> SALES(01) - only for sales</li><br /> <li> RETURNS(02) - only for returns</li><br /></ul> + [DataMember(Name="saleReturnTypeCode", EmitDefaultValue=false)] + public SaleReturnTypeCodeEnum? SaleReturnTypeCode { get; set; } + /// + /// <p>Determines whether for this tender will be printed sales receipt:<br /></p><br /><ul><br /> <li> AUTOMATIC_PRINTOUT(00) - automatic printout of sales receipt</li><br /> <li> OPTIONAL_PRINTOUT(01) - optional printout (decision by user)</li><br /> <li> NO_AUTOMATIC_PRINTOUT(02) - no automatic printout</li><br /> <li> RECEIPT_AS_EMAIL(03) - receipt as email</li><br /></ul> + /// + /// <p>Determines whether for this tender will be printed sales receipt:<br /></p><br /><ul><br /> <li> AUTOMATIC_PRINTOUT(00) - automatic printout of sales receipt</li><br /> <li> OPTIONAL_PRINTOUT(01) - optional printout (decision by user)</li><br /> <li> NO_AUTOMATIC_PRINTOUT(02) - no automatic printout</li><br /> <li> RECEIPT_AS_EMAIL(03) - receipt as email</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum ReceiptPrintoutTypeCodeEnum + { + + /// + /// Enum AUTOMATICPRINTOUT for value: AUTOMATIC_PRINTOUT + /// + [EnumMember(Value = "AUTOMATIC_PRINTOUT")] + AUTOMATICPRINTOUT = 1, + + /// + /// Enum OPTIONALPRINTOUT for value: OPTIONAL_PRINTOUT + /// + [EnumMember(Value = "OPTIONAL_PRINTOUT")] + OPTIONALPRINTOUT = 2, + + /// + /// Enum NOAUTOMATICPRINTOUT for value: NO_AUTOMATIC_PRINTOUT + /// + [EnumMember(Value = "NO_AUTOMATIC_PRINTOUT")] + NOAUTOMATICPRINTOUT = 3, + + /// + /// Enum RECEIPTASEMAIL for value: RECEIPT_AS_EMAIL + /// + [EnumMember(Value = "RECEIPT_AS_EMAIL")] + RECEIPTASEMAIL = 4 + } + + /// + /// <p>Determines whether for this tender will be printed sales receipt:<br /></p><br /><ul><br /> <li> AUTOMATIC_PRINTOUT(00) - automatic printout of sales receipt</li><br /> <li> OPTIONAL_PRINTOUT(01) - optional printout (decision by user)</li><br /> <li> NO_AUTOMATIC_PRINTOUT(02) - no automatic printout</li><br /> <li> RECEIPT_AS_EMAIL(03) - receipt as email</li><br /></ul> + /// + /// <p>Determines whether for this tender will be printed sales receipt:<br /></p><br /><ul><br /> <li> AUTOMATIC_PRINTOUT(00) - automatic printout of sales receipt</li><br /> <li> OPTIONAL_PRINTOUT(01) - optional printout (decision by user)</li><br /> <li> NO_AUTOMATIC_PRINTOUT(02) - no automatic printout</li><br /> <li> RECEIPT_AS_EMAIL(03) - receipt as email</li><br /></ul> + [DataMember(Name="receiptPrintoutTypeCode", EmitDefaultValue=false)] + public ReceiptPrintoutTypeCodeEnum? ReceiptPrintoutTypeCode { get; set; } + /// + /// <p>A typecode to signify that only a specific group of items can be purchased using this tender.<br /> Possible values:<br /></p><br /><ul><br /> <li> WIC - tender is allowed only for items with WICFlag</li><br /> <li> FOST- tender is allowed only for items with AllowFoodStampFlag</li><br /></ul> + /// + /// <p>A typecode to signify that only a specific group of items can be purchased using this tender.<br /> Possible values:<br /></p><br /><ul><br /> <li> WIC - tender is allowed only for items with WICFlag</li><br /> <li> FOST- tender is allowed only for items with AllowFoodStampFlag</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum ItemRestrictApplyTypeCodeEnum + { + + /// + /// Enum WIC for value: WIC + /// + [EnumMember(Value = "WIC")] + WIC = 1, + + /// + /// Enum FOST for value: FOST + /// + [EnumMember(Value = "FOST")] + FOST = 2 + } + + /// + /// <p>A typecode to signify that only a specific group of items can be purchased using this tender.<br /> Possible values:<br /></p><br /><ul><br /> <li> WIC - tender is allowed only for items with WICFlag</li><br /> <li> FOST- tender is allowed only for items with AllowFoodStampFlag</li><br /></ul> + /// + /// <p>A typecode to signify that only a specific group of items can be purchased using this tender.<br /> Possible values:<br /></p><br /><ul><br /> <li> WIC - tender is allowed only for items with WICFlag</li><br /> <li> FOST- tender is allowed only for items with AllowFoodStampFlag</li><br /></ul> + [DataMember(Name="itemRestrictApplyTypeCode", EmitDefaultValue=false)] + public ItemRestrictApplyTypeCodeEnum? ItemRestrictApplyTypeCode { get; set; } + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [JsonConverter(typeof(StringEnumConverter))] + public enum OriginEnum + { + + /// + /// Enum PARENTCOPY for value: PARENT_COPY + /// + [EnumMember(Value = "PARENT_COPY")] + PARENTCOPY = 1, + + /// + /// Enum IMPORT for value: IMPORT + /// + [EnumMember(Value = "IMPORT")] + IMPORT = 2, + + /// + /// Enum MANUAL for value: MANUAL + /// + [EnumMember(Value = "MANUAL")] + MANUAL = 3 + } + + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [DataMember(Name="origin", EmitDefaultValue=false)] + public OriginEnum? Origin { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>A code to denote a group of tenders with common characteristics, e.g. payment cards, certificates, etc.<br /></p> (required). + /// <p>Description of the tender type.<br /></p>. + /// <p>The minimum value that can be accepted for an individual tender. For example, certain retailers will not accept card payments below $5.<br /></p>. + /// <p>The maximum amount that can be accepted for a specific tender type.<br /></p>. + /// <p>A flag to signify that specific groups of items cannot be purchased using certain tender types. For example, food stamps cannot be used to purchase alcohol or tobacco items.<br /></p>. + /// <p>A flag that signifies that the cash drawer opens if a certain specific tender type is offered by the customer. For example, cash.<br /></p>. + /// <p>The maximum change that can be offered to a customer for a specific tender type.<br /></p>. + /// <p>Determines whether the tender should be shown in accounting functions for tills.<br /></p>. + /// <p>Determines whether denomination is applicable for the tender.<br /></p>. + /// <p>Defines type of tender pickup:<br /></p><br /><ul><br /> <li> NOT_ALLOWED(01) - Not allowed</li><br /> <li> ALLOWED(02) - Allowed</li><br /></ul>. + /// <p>Determines whether change is possible.<br /></p>. + /// <p>Defines if the tender count is registered in accounting functions.<br /></p>. + /// <p>Defines if the tender amount is registered in accounting functions.<br /></p>. + /// <p>Defines whether a sales transaction which contains this tender can be voided later.<br /></p>. + /// <p>Determines whether this tender is allowed for deposit.<br /></p>. + /// <p>Determines whether this tender can be used for payment and accounting.<br /></p>. + /// <p>A typecode to define how a tender is picked up from safe / delivered to bank:<br /></p><br /><ul><br /> <li> NO_DELIVERY(00) - no delivery</li><br /> <li> MANUAL_DELIVERY(01) - manual delivery</li><br /> <li> AUTOMATIC_DELIVERY(02) - automatic delivery</li><br /></ul>. + /// <p>Determines whether the tender should be shown in safe accounting functions.<br /></p>. + /// <p>Defines whether payment amount should be entered.<br /></p><br /><ul><br /> <li> REQUIRED(01) - required</li><br /> <li> OPTIONAL(02) - optional</li><br /> <li> PROHIBITED(03) - prohibited</li><br /> <li> CONFIRM(04) - confirm</li><br /></ul>. + /// <p>Defines what amount is allowed.<br /></p><br /><ul><br /> <li> EXACTLY(01) - EXACTLY</li><br /> <li> EXACTLY_AND_LESS(02) - EXACTLY_AND_LESS</li><br /> <li> EXACTLY_AND_MORE(03) - EXACTLY_AND_MORE</li><br /> <li> ALL(04) - ALL</li><br /></ul>. + /// <p>Defines the tender group used by POS payment functions:<br /></p><br /><ul><br /> <li> CASH,</li><br /> <li> TERMINAL,</li><br /> <li> GIFT_CERT,</li><br /> <li> COUPON,</li><br /> <li> CHEQUE,</li><br /> <li> CREDIT,</li><br /> <li> PROMOTION,</li><br /> <li> POINTS,</li><br /> <li> CASHENGINE</li><br /></ul>. + /// <p>This flag determines whether the current value of the tender in the till is checked.<br /></p>. + /// <p>If this flag is set to true, a warning is shown on POS in the case that the actual amount of the till for that tender is equal or larger than the PickupWarningLimit<br /></p>. + /// <p>Defines the limit for a tender pickup from the till, see also PickupWarningFlag<br /></p>. + /// <p>Defines whether this tender can be voided during the tender registration process (i.e. while the transaction is not finished yet)<br /></p>. + /// <p>Additional tender description which is used on POS side.<br /></p>. + /// <p>Defines whether this tender can be used only exclusively, i.e. no other tenders can be combined with it in one transaction.<br /></p>. + /// <p>Determines whether the tender can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li> SALES_AND_RETURNS(00) - for sales and returns</li><br /> <li> SALES(01) - only for sales</li><br /> <li> RETURNS(02) - only for returns</li><br /></ul>. + /// <p>Sort sequence for tenders in reports and backoffice functions.<br /></p>. + /// <p>Determines whether this tender will be counted for safe.<br /></p>. + /// <p>Determines whether for this tender will be printed sales receipt:<br /></p><br /><ul><br /> <li> AUTOMATIC_PRINTOUT(00) - automatic printout of sales receipt</li><br /> <li> OPTIONAL_PRINTOUT(01) - optional printout (decision by user)</li><br /> <li> NO_AUTOMATIC_PRINTOUT(02) - no automatic printout</li><br /> <li> RECEIPT_AS_EMAIL(03) - receipt as email</li><br /></ul>. + /// <p>Determines whether negative values can be input; is used in the context of foreign turnover registration.<br /></p>. + /// <p>A typecode to signify that only a specific group of items can be purchased using this tender.<br /> Possible values:<br /></p><br /><ul><br /> <li> WIC - tender is allowed only for items with WICFlag</li><br /> <li> FOST- tender is allowed only for items with AllowFoodStampFlag</li><br /></ul>. + /// <p>Determines whether the tender amount has to be rounded according to the rounding rules of the main currency<br /></p>. + /// <p>Reference to the tender handling rule (tender fields additional to ARTS)<br /></p>. + /// <p>List of tender restriction rules.<br /></p>. + /// <p>List of translations for the tender.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>The identifier of the currency used for the tender.<br /></p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey key = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey), string tenderClassCode = default(string), string description = default(string), double? minimumAcceptAmount = default(double?), double? maximumAcceptAmount = default(double?), bool? itemRestrictionsApplyFlag = default(bool?), bool? openCashDrawerRequiredFlag = default(bool?), double? changeThresholdAmount = default(double?), bool? tillCountFlag = default(bool?), bool? denominationFlag = default(bool?), PickupTypeCodeEnum? pickupTypeCode = default(PickupTypeCodeEnum?), bool? changeAllowedFlag = default(bool?), bool? unitCountRequiredFlag = default(bool?), bool? amountCountRequiredFlag = default(bool?), bool? voidingAllowedFlag = default(bool?), bool? depositAllowedFlag = default(bool?), bool? blockingFlag = default(bool?), DeliveryTypeCodeEnum? deliveryTypeCode = default(DeliveryTypeCodeEnum?), bool? controlledBySafeFlag = default(bool?), InputAmountConstraintEnum? inputAmountConstraint = default(InputAmountConstraintEnum?), AllowedAmountTypeCodeEnum? allowedAmountTypeCode = default(AllowedAmountTypeCodeEnum?), TenderGroupCodeEnum? tenderGroupCode = default(TenderGroupCodeEnum?), bool? checkAvailableAmountFlag = default(bool?), bool? pickupWarningFlag = default(bool?), double? pickupWarningLimit = default(double?), bool? immediateVoidingAllowedFlag = default(bool?), string receiptPrinterName = default(string), bool? exclusiveFlag = default(bool?), SaleReturnTypeCodeEnum? saleReturnTypeCode = default(SaleReturnTypeCodeEnum?), int? sortSequence = default(int?), bool? safeCountFlag = default(bool?), ReceiptPrintoutTypeCodeEnum? receiptPrintoutTypeCode = default(ReceiptPrintoutTypeCodeEnum?), bool? negativeValueAllowedFlag = default(bool?), ItemRestrictApplyTypeCodeEnum? itemRestrictApplyTypeCode = default(ItemRestrictApplyTypeCodeEnum?), bool? roundingRequiredFlag = default(bool?), string tenderHandlingRuleID = default(string), List tenderRestrictionRuleList = default(List), List translationList = default(List), string packageID = default(string), OriginEnum? origin = default(OriginEnum?), string tid = default(string), string xxcustom05 = default(string), string isocurrencyCode = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "tenderClassCode" is required (not null) + if (tenderClassCode == null) + { + throw new InvalidDataException("tenderClassCode is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO and cannot be null"); + } + else + { + this.TenderClassCode = tenderClassCode; + } + // to ensure "isocurrencyCode" is required (not null) + if (isocurrencyCode == null) + { + throw new InvalidDataException("isocurrencyCode is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO and cannot be null"); + } + else + { + this.IsocurrencyCode = isocurrencyCode; + } + this.Description = description; + this.MinimumAcceptAmount = minimumAcceptAmount; + this.MaximumAcceptAmount = maximumAcceptAmount; + this.ItemRestrictionsApplyFlag = itemRestrictionsApplyFlag; + this.OpenCashDrawerRequiredFlag = openCashDrawerRequiredFlag; + this.ChangeThresholdAmount = changeThresholdAmount; + this.TillCountFlag = tillCountFlag; + this.DenominationFlag = denominationFlag; + this.PickupTypeCode = pickupTypeCode; + this.ChangeAllowedFlag = changeAllowedFlag; + this.UnitCountRequiredFlag = unitCountRequiredFlag; + this.AmountCountRequiredFlag = amountCountRequiredFlag; + this.VoidingAllowedFlag = voidingAllowedFlag; + this.DepositAllowedFlag = depositAllowedFlag; + this.BlockingFlag = blockingFlag; + this.DeliveryTypeCode = deliveryTypeCode; + this.ControlledBySafeFlag = controlledBySafeFlag; + this.InputAmountConstraint = inputAmountConstraint; + this.AllowedAmountTypeCode = allowedAmountTypeCode; + this.TenderGroupCode = tenderGroupCode; + this.CheckAvailableAmountFlag = checkAvailableAmountFlag; + this.PickupWarningFlag = pickupWarningFlag; + this.PickupWarningLimit = pickupWarningLimit; + this.ImmediateVoidingAllowedFlag = immediateVoidingAllowedFlag; + this.ReceiptPrinterName = receiptPrinterName; + this.ExclusiveFlag = exclusiveFlag; + this.SaleReturnTypeCode = saleReturnTypeCode; + this.SortSequence = sortSequence; + this.SafeCountFlag = safeCountFlag; + this.ReceiptPrintoutTypeCode = receiptPrintoutTypeCode; + this.NegativeValueAllowedFlag = negativeValueAllowedFlag; + this.ItemRestrictApplyTypeCode = itemRestrictApplyTypeCode; + this.RoundingRequiredFlag = roundingRequiredFlag; + this.TenderHandlingRuleID = tenderHandlingRuleID; + this.TenderRestrictionRuleList = tenderRestrictionRuleList; + this.TranslationList = translationList; + this.PackageID = packageID; + this.Origin = origin; + this.Tid = tid; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey Key { get; set; } + + /// + /// <p>A code to denote a group of tenders with common characteristics, e.g. payment cards, certificates, etc.<br /></p> + /// + /// <p>A code to denote a group of tenders with common characteristics, e.g. payment cards, certificates, etc.<br /></p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>Description of the tender type.<br /></p> + /// + /// <p>Description of the tender type.<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The minimum value that can be accepted for an individual tender. For example, certain retailers will not accept card payments below $5.<br /></p> + /// + /// <p>The minimum value that can be accepted for an individual tender. For example, certain retailers will not accept card payments below $5.<br /></p> + [DataMember(Name="minimumAcceptAmount", EmitDefaultValue=false)] + public double? MinimumAcceptAmount { get; set; } + + /// + /// <p>The maximum amount that can be accepted for a specific tender type.<br /></p> + /// + /// <p>The maximum amount that can be accepted for a specific tender type.<br /></p> + [DataMember(Name="maximumAcceptAmount", EmitDefaultValue=false)] + public double? MaximumAcceptAmount { get; set; } + + /// + /// <p>A flag to signify that specific groups of items cannot be purchased using certain tender types. For example, food stamps cannot be used to purchase alcohol or tobacco items.<br /></p> + /// + /// <p>A flag to signify that specific groups of items cannot be purchased using certain tender types. For example, food stamps cannot be used to purchase alcohol or tobacco items.<br /></p> + [DataMember(Name="itemRestrictionsApplyFlag", EmitDefaultValue=false)] + public bool? ItemRestrictionsApplyFlag { get; set; } + + /// + /// <p>A flag that signifies that the cash drawer opens if a certain specific tender type is offered by the customer. For example, cash.<br /></p> + /// + /// <p>A flag that signifies that the cash drawer opens if a certain specific tender type is offered by the customer. For example, cash.<br /></p> + [DataMember(Name="openCashDrawerRequiredFlag", EmitDefaultValue=false)] + public bool? OpenCashDrawerRequiredFlag { get; set; } + + /// + /// <p>The maximum change that can be offered to a customer for a specific tender type.<br /></p> + /// + /// <p>The maximum change that can be offered to a customer for a specific tender type.<br /></p> + [DataMember(Name="changeThresholdAmount", EmitDefaultValue=false)] + public double? ChangeThresholdAmount { get; set; } + + /// + /// <p>Determines whether the tender should be shown in accounting functions for tills.<br /></p> + /// + /// <p>Determines whether the tender should be shown in accounting functions for tills.<br /></p> + [DataMember(Name="tillCountFlag", EmitDefaultValue=false)] + public bool? TillCountFlag { get; set; } + + /// + /// <p>Determines whether denomination is applicable for the tender.<br /></p> + /// + /// <p>Determines whether denomination is applicable for the tender.<br /></p> + [DataMember(Name="denominationFlag", EmitDefaultValue=false)] + public bool? DenominationFlag { get; set; } + + + /// + /// <p>Determines whether change is possible.<br /></p> + /// + /// <p>Determines whether change is possible.<br /></p> + [DataMember(Name="changeAllowedFlag", EmitDefaultValue=false)] + public bool? ChangeAllowedFlag { get; set; } + + /// + /// <p>Defines if the tender count is registered in accounting functions.<br /></p> + /// + /// <p>Defines if the tender count is registered in accounting functions.<br /></p> + [DataMember(Name="unitCountRequiredFlag", EmitDefaultValue=false)] + public bool? UnitCountRequiredFlag { get; set; } + + /// + /// <p>Defines if the tender amount is registered in accounting functions.<br /></p> + /// + /// <p>Defines if the tender amount is registered in accounting functions.<br /></p> + [DataMember(Name="amountCountRequiredFlag", EmitDefaultValue=false)] + public bool? AmountCountRequiredFlag { get; set; } + + /// + /// <p>Defines whether a sales transaction which contains this tender can be voided later.<br /></p> + /// + /// <p>Defines whether a sales transaction which contains this tender can be voided later.<br /></p> + [DataMember(Name="voidingAllowedFlag", EmitDefaultValue=false)] + public bool? VoidingAllowedFlag { get; set; } + + /// + /// <p>Determines whether this tender is allowed for deposit.<br /></p> + /// + /// <p>Determines whether this tender is allowed for deposit.<br /></p> + [DataMember(Name="depositAllowedFlag", EmitDefaultValue=false)] + public bool? DepositAllowedFlag { get; set; } + + /// + /// <p>Determines whether this tender can be used for payment and accounting.<br /></p> + /// + /// <p>Determines whether this tender can be used for payment and accounting.<br /></p> + [DataMember(Name="blockingFlag", EmitDefaultValue=false)] + public bool? BlockingFlag { get; set; } + + + /// + /// <p>Determines whether the tender should be shown in safe accounting functions.<br /></p> + /// + /// <p>Determines whether the tender should be shown in safe accounting functions.<br /></p> + [DataMember(Name="controlledBySafeFlag", EmitDefaultValue=false)] + public bool? ControlledBySafeFlag { get; set; } + + + + + /// + /// <p>This flag determines whether the current value of the tender in the till is checked.<br /></p> + /// + /// <p>This flag determines whether the current value of the tender in the till is checked.<br /></p> + [DataMember(Name="checkAvailableAmountFlag", EmitDefaultValue=false)] + public bool? CheckAvailableAmountFlag { get; set; } + + /// + /// <p>If this flag is set to true, a warning is shown on POS in the case that the actual amount of the till for that tender is equal or larger than the PickupWarningLimit<br /></p> + /// + /// <p>If this flag is set to true, a warning is shown on POS in the case that the actual amount of the till for that tender is equal or larger than the PickupWarningLimit<br /></p> + [DataMember(Name="pickupWarningFlag", EmitDefaultValue=false)] + public bool? PickupWarningFlag { get; set; } + + /// + /// <p>Defines the limit for a tender pickup from the till, see also PickupWarningFlag<br /></p> + /// + /// <p>Defines the limit for a tender pickup from the till, see also PickupWarningFlag<br /></p> + [DataMember(Name="pickupWarningLimit", EmitDefaultValue=false)] + public double? PickupWarningLimit { get; set; } + + /// + /// <p>Defines whether this tender can be voided during the tender registration process (i.e. while the transaction is not finished yet)<br /></p> + /// + /// <p>Defines whether this tender can be voided during the tender registration process (i.e. while the transaction is not finished yet)<br /></p> + [DataMember(Name="immediateVoidingAllowedFlag", EmitDefaultValue=false)] + public bool? ImmediateVoidingAllowedFlag { get; set; } + + /// + /// <p>Additional tender description which is used on POS side.<br /></p> + /// + /// <p>Additional tender description which is used on POS side.<br /></p> + [DataMember(Name="receiptPrinterName", EmitDefaultValue=false)] + public string ReceiptPrinterName { get; set; } + + /// + /// <p>Defines whether this tender can be used only exclusively, i.e. no other tenders can be combined with it in one transaction.<br /></p> + /// + /// <p>Defines whether this tender can be used only exclusively, i.e. no other tenders can be combined with it in one transaction.<br /></p> + [DataMember(Name="exclusiveFlag", EmitDefaultValue=false)] + public bool? ExclusiveFlag { get; set; } + + + /// + /// <p>Sort sequence for tenders in reports and backoffice functions.<br /></p> + /// + /// <p>Sort sequence for tenders in reports and backoffice functions.<br /></p> + [DataMember(Name="sortSequence", EmitDefaultValue=false)] + public int? SortSequence { get; set; } + + /// + /// <p>Determines whether this tender will be counted for safe.<br /></p> + /// + /// <p>Determines whether this tender will be counted for safe.<br /></p> + [DataMember(Name="safeCountFlag", EmitDefaultValue=false)] + public bool? SafeCountFlag { get; set; } + + + /// + /// <p>Determines whether negative values can be input; is used in the context of foreign turnover registration.<br /></p> + /// + /// <p>Determines whether negative values can be input; is used in the context of foreign turnover registration.<br /></p> + [DataMember(Name="negativeValueAllowedFlag", EmitDefaultValue=false)] + public bool? NegativeValueAllowedFlag { get; set; } + + + /// + /// <p>Determines whether the tender amount has to be rounded according to the rounding rules of the main currency<br /></p> + /// + /// <p>Determines whether the tender amount has to be rounded according to the rounding rules of the main currency<br /></p> + [DataMember(Name="roundingRequiredFlag", EmitDefaultValue=false)] + public bool? RoundingRequiredFlag { get; set; } + + /// + /// <p>Reference to the tender handling rule (tender fields additional to ARTS)<br /></p> + /// + /// <p>Reference to the tender handling rule (tender fields additional to ARTS)<br /></p> + [DataMember(Name="tenderHandlingRuleID", EmitDefaultValue=false)] + public string TenderHandlingRuleID { get; set; } + + /// + /// <p>List of tender restriction rules.<br /></p> + /// + /// <p>List of tender restriction rules.<br /></p> + [DataMember(Name="tenderRestrictionRuleList", EmitDefaultValue=false)] + public List TenderRestrictionRuleList { get; set; } + + /// + /// <p>List of translations for the tender.<br /></p> + /// + /// <p>List of translations for the tender.<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>The identifier of the currency used for the tender.<br /></p> + /// + /// <p>The identifier of the currency used for the tender.<br /></p> + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" MinimumAcceptAmount: ").Append(MinimumAcceptAmount).Append("\n"); + sb.Append(" MaximumAcceptAmount: ").Append(MaximumAcceptAmount).Append("\n"); + sb.Append(" ItemRestrictionsApplyFlag: ").Append(ItemRestrictionsApplyFlag).Append("\n"); + sb.Append(" OpenCashDrawerRequiredFlag: ").Append(OpenCashDrawerRequiredFlag).Append("\n"); + sb.Append(" ChangeThresholdAmount: ").Append(ChangeThresholdAmount).Append("\n"); + sb.Append(" TillCountFlag: ").Append(TillCountFlag).Append("\n"); + sb.Append(" DenominationFlag: ").Append(DenominationFlag).Append("\n"); + sb.Append(" PickupTypeCode: ").Append(PickupTypeCode).Append("\n"); + sb.Append(" ChangeAllowedFlag: ").Append(ChangeAllowedFlag).Append("\n"); + sb.Append(" UnitCountRequiredFlag: ").Append(UnitCountRequiredFlag).Append("\n"); + sb.Append(" AmountCountRequiredFlag: ").Append(AmountCountRequiredFlag).Append("\n"); + sb.Append(" VoidingAllowedFlag: ").Append(VoidingAllowedFlag).Append("\n"); + sb.Append(" DepositAllowedFlag: ").Append(DepositAllowedFlag).Append("\n"); + sb.Append(" BlockingFlag: ").Append(BlockingFlag).Append("\n"); + sb.Append(" DeliveryTypeCode: ").Append(DeliveryTypeCode).Append("\n"); + sb.Append(" ControlledBySafeFlag: ").Append(ControlledBySafeFlag).Append("\n"); + sb.Append(" InputAmountConstraint: ").Append(InputAmountConstraint).Append("\n"); + sb.Append(" AllowedAmountTypeCode: ").Append(AllowedAmountTypeCode).Append("\n"); + sb.Append(" TenderGroupCode: ").Append(TenderGroupCode).Append("\n"); + sb.Append(" CheckAvailableAmountFlag: ").Append(CheckAvailableAmountFlag).Append("\n"); + sb.Append(" PickupWarningFlag: ").Append(PickupWarningFlag).Append("\n"); + sb.Append(" PickupWarningLimit: ").Append(PickupWarningLimit).Append("\n"); + sb.Append(" ImmediateVoidingAllowedFlag: ").Append(ImmediateVoidingAllowedFlag).Append("\n"); + sb.Append(" ReceiptPrinterName: ").Append(ReceiptPrinterName).Append("\n"); + sb.Append(" ExclusiveFlag: ").Append(ExclusiveFlag).Append("\n"); + sb.Append(" SaleReturnTypeCode: ").Append(SaleReturnTypeCode).Append("\n"); + sb.Append(" SortSequence: ").Append(SortSequence).Append("\n"); + sb.Append(" SafeCountFlag: ").Append(SafeCountFlag).Append("\n"); + sb.Append(" ReceiptPrintoutTypeCode: ").Append(ReceiptPrintoutTypeCode).Append("\n"); + sb.Append(" NegativeValueAllowedFlag: ").Append(NegativeValueAllowedFlag).Append("\n"); + sb.Append(" ItemRestrictApplyTypeCode: ").Append(ItemRestrictApplyTypeCode).Append("\n"); + sb.Append(" RoundingRequiredFlag: ").Append(RoundingRequiredFlag).Append("\n"); + sb.Append(" TenderHandlingRuleID: ").Append(TenderHandlingRuleID).Append("\n"); + sb.Append(" TenderRestrictionRuleList: ").Append(TenderRestrictionRuleList).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.MinimumAcceptAmount == input.MinimumAcceptAmount || + (this.MinimumAcceptAmount != null && + this.MinimumAcceptAmount.Equals(input.MinimumAcceptAmount)) + ) && + ( + this.MaximumAcceptAmount == input.MaximumAcceptAmount || + (this.MaximumAcceptAmount != null && + this.MaximumAcceptAmount.Equals(input.MaximumAcceptAmount)) + ) && + ( + this.ItemRestrictionsApplyFlag == input.ItemRestrictionsApplyFlag || + (this.ItemRestrictionsApplyFlag != null && + this.ItemRestrictionsApplyFlag.Equals(input.ItemRestrictionsApplyFlag)) + ) && + ( + this.OpenCashDrawerRequiredFlag == input.OpenCashDrawerRequiredFlag || + (this.OpenCashDrawerRequiredFlag != null && + this.OpenCashDrawerRequiredFlag.Equals(input.OpenCashDrawerRequiredFlag)) + ) && + ( + this.ChangeThresholdAmount == input.ChangeThresholdAmount || + (this.ChangeThresholdAmount != null && + this.ChangeThresholdAmount.Equals(input.ChangeThresholdAmount)) + ) && + ( + this.TillCountFlag == input.TillCountFlag || + (this.TillCountFlag != null && + this.TillCountFlag.Equals(input.TillCountFlag)) + ) && + ( + this.DenominationFlag == input.DenominationFlag || + (this.DenominationFlag != null && + this.DenominationFlag.Equals(input.DenominationFlag)) + ) && + ( + this.PickupTypeCode == input.PickupTypeCode || + (this.PickupTypeCode != null && + this.PickupTypeCode.Equals(input.PickupTypeCode)) + ) && + ( + this.ChangeAllowedFlag == input.ChangeAllowedFlag || + (this.ChangeAllowedFlag != null && + this.ChangeAllowedFlag.Equals(input.ChangeAllowedFlag)) + ) && + ( + this.UnitCountRequiredFlag == input.UnitCountRequiredFlag || + (this.UnitCountRequiredFlag != null && + this.UnitCountRequiredFlag.Equals(input.UnitCountRequiredFlag)) + ) && + ( + this.AmountCountRequiredFlag == input.AmountCountRequiredFlag || + (this.AmountCountRequiredFlag != null && + this.AmountCountRequiredFlag.Equals(input.AmountCountRequiredFlag)) + ) && + ( + this.VoidingAllowedFlag == input.VoidingAllowedFlag || + (this.VoidingAllowedFlag != null && + this.VoidingAllowedFlag.Equals(input.VoidingAllowedFlag)) + ) && + ( + this.DepositAllowedFlag == input.DepositAllowedFlag || + (this.DepositAllowedFlag != null && + this.DepositAllowedFlag.Equals(input.DepositAllowedFlag)) + ) && + ( + this.BlockingFlag == input.BlockingFlag || + (this.BlockingFlag != null && + this.BlockingFlag.Equals(input.BlockingFlag)) + ) && + ( + this.DeliveryTypeCode == input.DeliveryTypeCode || + (this.DeliveryTypeCode != null && + this.DeliveryTypeCode.Equals(input.DeliveryTypeCode)) + ) && + ( + this.ControlledBySafeFlag == input.ControlledBySafeFlag || + (this.ControlledBySafeFlag != null && + this.ControlledBySafeFlag.Equals(input.ControlledBySafeFlag)) + ) && + ( + this.InputAmountConstraint == input.InputAmountConstraint || + (this.InputAmountConstraint != null && + this.InputAmountConstraint.Equals(input.InputAmountConstraint)) + ) && + ( + this.AllowedAmountTypeCode == input.AllowedAmountTypeCode || + (this.AllowedAmountTypeCode != null && + this.AllowedAmountTypeCode.Equals(input.AllowedAmountTypeCode)) + ) && + ( + this.TenderGroupCode == input.TenderGroupCode || + (this.TenderGroupCode != null && + this.TenderGroupCode.Equals(input.TenderGroupCode)) + ) && + ( + this.CheckAvailableAmountFlag == input.CheckAvailableAmountFlag || + (this.CheckAvailableAmountFlag != null && + this.CheckAvailableAmountFlag.Equals(input.CheckAvailableAmountFlag)) + ) && + ( + this.PickupWarningFlag == input.PickupWarningFlag || + (this.PickupWarningFlag != null && + this.PickupWarningFlag.Equals(input.PickupWarningFlag)) + ) && + ( + this.PickupWarningLimit == input.PickupWarningLimit || + (this.PickupWarningLimit != null && + this.PickupWarningLimit.Equals(input.PickupWarningLimit)) + ) && + ( + this.ImmediateVoidingAllowedFlag == input.ImmediateVoidingAllowedFlag || + (this.ImmediateVoidingAllowedFlag != null && + this.ImmediateVoidingAllowedFlag.Equals(input.ImmediateVoidingAllowedFlag)) + ) && + ( + this.ReceiptPrinterName == input.ReceiptPrinterName || + (this.ReceiptPrinterName != null && + this.ReceiptPrinterName.Equals(input.ReceiptPrinterName)) + ) && + ( + this.ExclusiveFlag == input.ExclusiveFlag || + (this.ExclusiveFlag != null && + this.ExclusiveFlag.Equals(input.ExclusiveFlag)) + ) && + ( + this.SaleReturnTypeCode == input.SaleReturnTypeCode || + (this.SaleReturnTypeCode != null && + this.SaleReturnTypeCode.Equals(input.SaleReturnTypeCode)) + ) && + ( + this.SortSequence == input.SortSequence || + (this.SortSequence != null && + this.SortSequence.Equals(input.SortSequence)) + ) && + ( + this.SafeCountFlag == input.SafeCountFlag || + (this.SafeCountFlag != null && + this.SafeCountFlag.Equals(input.SafeCountFlag)) + ) && + ( + this.ReceiptPrintoutTypeCode == input.ReceiptPrintoutTypeCode || + (this.ReceiptPrintoutTypeCode != null && + this.ReceiptPrintoutTypeCode.Equals(input.ReceiptPrintoutTypeCode)) + ) && + ( + this.NegativeValueAllowedFlag == input.NegativeValueAllowedFlag || + (this.NegativeValueAllowedFlag != null && + this.NegativeValueAllowedFlag.Equals(input.NegativeValueAllowedFlag)) + ) && + ( + this.ItemRestrictApplyTypeCode == input.ItemRestrictApplyTypeCode || + (this.ItemRestrictApplyTypeCode != null && + this.ItemRestrictApplyTypeCode.Equals(input.ItemRestrictApplyTypeCode)) + ) && + ( + this.RoundingRequiredFlag == input.RoundingRequiredFlag || + (this.RoundingRequiredFlag != null && + this.RoundingRequiredFlag.Equals(input.RoundingRequiredFlag)) + ) && + ( + this.TenderHandlingRuleID == input.TenderHandlingRuleID || + (this.TenderHandlingRuleID != null && + this.TenderHandlingRuleID.Equals(input.TenderHandlingRuleID)) + ) && + ( + this.TenderRestrictionRuleList == input.TenderRestrictionRuleList || + this.TenderRestrictionRuleList != null && + this.TenderRestrictionRuleList.SequenceEqual(input.TenderRestrictionRuleList) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.MinimumAcceptAmount != null) + hashCode = hashCode * 59 + this.MinimumAcceptAmount.GetHashCode(); + if (this.MaximumAcceptAmount != null) + hashCode = hashCode * 59 + this.MaximumAcceptAmount.GetHashCode(); + if (this.ItemRestrictionsApplyFlag != null) + hashCode = hashCode * 59 + this.ItemRestrictionsApplyFlag.GetHashCode(); + if (this.OpenCashDrawerRequiredFlag != null) + hashCode = hashCode * 59 + this.OpenCashDrawerRequiredFlag.GetHashCode(); + if (this.ChangeThresholdAmount != null) + hashCode = hashCode * 59 + this.ChangeThresholdAmount.GetHashCode(); + if (this.TillCountFlag != null) + hashCode = hashCode * 59 + this.TillCountFlag.GetHashCode(); + if (this.DenominationFlag != null) + hashCode = hashCode * 59 + this.DenominationFlag.GetHashCode(); + if (this.PickupTypeCode != null) + hashCode = hashCode * 59 + this.PickupTypeCode.GetHashCode(); + if (this.ChangeAllowedFlag != null) + hashCode = hashCode * 59 + this.ChangeAllowedFlag.GetHashCode(); + if (this.UnitCountRequiredFlag != null) + hashCode = hashCode * 59 + this.UnitCountRequiredFlag.GetHashCode(); + if (this.AmountCountRequiredFlag != null) + hashCode = hashCode * 59 + this.AmountCountRequiredFlag.GetHashCode(); + if (this.VoidingAllowedFlag != null) + hashCode = hashCode * 59 + this.VoidingAllowedFlag.GetHashCode(); + if (this.DepositAllowedFlag != null) + hashCode = hashCode * 59 + this.DepositAllowedFlag.GetHashCode(); + if (this.BlockingFlag != null) + hashCode = hashCode * 59 + this.BlockingFlag.GetHashCode(); + if (this.DeliveryTypeCode != null) + hashCode = hashCode * 59 + this.DeliveryTypeCode.GetHashCode(); + if (this.ControlledBySafeFlag != null) + hashCode = hashCode * 59 + this.ControlledBySafeFlag.GetHashCode(); + if (this.InputAmountConstraint != null) + hashCode = hashCode * 59 + this.InputAmountConstraint.GetHashCode(); + if (this.AllowedAmountTypeCode != null) + hashCode = hashCode * 59 + this.AllowedAmountTypeCode.GetHashCode(); + if (this.TenderGroupCode != null) + hashCode = hashCode * 59 + this.TenderGroupCode.GetHashCode(); + if (this.CheckAvailableAmountFlag != null) + hashCode = hashCode * 59 + this.CheckAvailableAmountFlag.GetHashCode(); + if (this.PickupWarningFlag != null) + hashCode = hashCode * 59 + this.PickupWarningFlag.GetHashCode(); + if (this.PickupWarningLimit != null) + hashCode = hashCode * 59 + this.PickupWarningLimit.GetHashCode(); + if (this.ImmediateVoidingAllowedFlag != null) + hashCode = hashCode * 59 + this.ImmediateVoidingAllowedFlag.GetHashCode(); + if (this.ReceiptPrinterName != null) + hashCode = hashCode * 59 + this.ReceiptPrinterName.GetHashCode(); + if (this.ExclusiveFlag != null) + hashCode = hashCode * 59 + this.ExclusiveFlag.GetHashCode(); + if (this.SaleReturnTypeCode != null) + hashCode = hashCode * 59 + this.SaleReturnTypeCode.GetHashCode(); + if (this.SortSequence != null) + hashCode = hashCode * 59 + this.SortSequence.GetHashCode(); + if (this.SafeCountFlag != null) + hashCode = hashCode * 59 + this.SafeCountFlag.GetHashCode(); + if (this.ReceiptPrintoutTypeCode != null) + hashCode = hashCode * 59 + this.ReceiptPrintoutTypeCode.GetHashCode(); + if (this.NegativeValueAllowedFlag != null) + hashCode = hashCode * 59 + this.NegativeValueAllowedFlag.GetHashCode(); + if (this.ItemRestrictApplyTypeCode != null) + hashCode = hashCode * 59 + this.ItemRestrictApplyTypeCode.GetHashCode(); + if (this.RoundingRequiredFlag != null) + hashCode = hashCode * 59 + this.RoundingRequiredFlag.GetHashCode(); + if (this.TenderHandlingRuleID != null) + hashCode = hashCode * 59 + this.TenderHandlingRuleID.GetHashCode(); + if (this.TenderRestrictionRuleList != null) + hashCode = hashCode * 59 + this.TenderRestrictionRuleList.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d10ef61e8e0f51b48770306c489d125176676770 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>A code which uniquely identifies the type of tender, e.g. cash, check, payment card, etc.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey(string businessUnitGroupID = default(string), string tenderTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A code which uniquely identifies the type of tender, e.g. cash, check, payment card, etc.<br /></p> + /// + /// <p>A code which uniquely identifies the type of tender, e.g. cash, check, payment card, etc.<br /></p> + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule.cs new file mode 100644 index 0000000000000000000000000000000000000000..fd7638fbfbfc11692b3cdc251abbf0c248fc42cd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule.cs @@ -0,0 +1,223 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRestrictionRule <p>Describes in which situations which tenders are forbidden<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey key = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey Key { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c2c877e280cf209b540735e8ad2045e068ebe7bf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRestrictionRule.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p> (required). + /// <p>Transaction type;<br /> 0 = irrelevant (tender is forbidden for any transaction type)<br /></p> (required). + /// <p>Position type;<br /> 0 = irrelevant (tender is forbidden for any position type)<br /></p> (required). + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey(string businessUnitGroupID = default(string), string tenderTypeCode = default(string), string forbiddenTransactionTypeCode = default(string), string forbiddenLineItemTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + // to ensure "forbiddenTransactionTypeCode" is required (not null) + if (forbiddenTransactionTypeCode == null) + { + throw new InvalidDataException("forbiddenTransactionTypeCode is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey and cannot be null"); + } + else + { + this.ForbiddenTransactionTypeCode = forbiddenTransactionTypeCode; + } + // to ensure "forbiddenLineItemTypeCode" is required (not null) + if (forbiddenLineItemTypeCode == null) + { + throw new InvalidDataException("forbiddenLineItemTypeCode is a required property for ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey and cannot be null"); + } + else + { + this.ForbiddenLineItemTypeCode = forbiddenLineItemTypeCode; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p> + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p> + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// <p>Transaction type;<br /> 0 = irrelevant (tender is forbidden for any transaction type)<br /></p> + /// + /// <p>Transaction type;<br /> 0 = irrelevant (tender is forbidden for any transaction type)<br /></p> + [DataMember(Name="forbiddenTransactionTypeCode", EmitDefaultValue=false)] + public string ForbiddenTransactionTypeCode { get; set; } + + /// + /// <p>Position type;<br /> 0 = irrelevant (tender is forbidden for any position type)<br /></p> + /// + /// <p>Position type;<br /> 0 = irrelevant (tender is forbidden for any position type)<br /></p> + [DataMember(Name="forbiddenLineItemTypeCode", EmitDefaultValue=false)] + public string ForbiddenLineItemTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" ForbiddenTransactionTypeCode: ").Append(ForbiddenTransactionTypeCode).Append("\n"); + sb.Append(" ForbiddenLineItemTypeCode: ").Append(ForbiddenLineItemTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.ForbiddenTransactionTypeCode == input.ForbiddenTransactionTypeCode || + (this.ForbiddenTransactionTypeCode != null && + this.ForbiddenTransactionTypeCode.Equals(input.ForbiddenTransactionTypeCode)) + ) && + ( + this.ForbiddenLineItemTypeCode == input.ForbiddenLineItemTypeCode || + (this.ForbiddenLineItemTypeCode != null && + this.ForbiddenLineItemTypeCode.Equals(input.ForbiddenLineItemTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.ForbiddenTransactionTypeCode != null) + hashCode = hashCode * 59 + this.ForbiddenTransactionTypeCode.GetHashCode(); + if (this.ForbiddenLineItemTypeCode != null) + hashCode = hashCode * 59 + this.ForbiddenLineItemTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..836ee56fe8a61f51f3e0e4ca2c1a1011ab39d27d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO.cs @@ -0,0 +1,284 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAdjustmentRuleDO <p>Possible transformations from one tender to another.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO : IEquatable, IValidatableObject + { + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [JsonConverter(typeof(StringEnumConverter))] + public enum OriginEnum + { + + /// + /// Enum PARENTCOPY for value: PARENT_COPY + /// + [EnumMember(Value = "PARENT_COPY")] + PARENTCOPY = 1, + + /// + /// Enum IMPORT for value: IMPORT + /// + [EnumMember(Value = "IMPORT")] + IMPORT = 2, + + /// + /// Enum MANUAL for value: MANUAL + /// + [EnumMember(Value = "MANUAL")] + MANUAL = 3 + } + + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [DataMember(Name="origin", EmitDefaultValue=false)] + public OriginEnum? Origin { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO(ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey key = default(ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey), string packageID = default(string), OriginEnum? origin = default(OriginEnum?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO and cannot be null"); + } + else + { + this.Key = key; + } + this.PackageID = packageID; + this.Origin = origin; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey Key { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2504d0e323422d2d590622b74cb1c8a9b82c499f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAdjustmentRuleDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>Tender from which is to be transformed.<br /></p> (required). + /// <p>Tender to which is to be transformed.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey(string businessUnitGroupID = default(string), string originalTenderTypeCode = default(string), string newTenderTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "originalTenderTypeCode" is required (not null) + if (originalTenderTypeCode == null) + { + throw new InvalidDataException("originalTenderTypeCode is a required property for ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey and cannot be null"); + } + else + { + this.OriginalTenderTypeCode = originalTenderTypeCode; + } + // to ensure "newTenderTypeCode" is required (not null) + if (newTenderTypeCode == null) + { + throw new InvalidDataException("newTenderTypeCode is a required property for ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey and cannot be null"); + } + else + { + this.NewTenderTypeCode = newTenderTypeCode; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Tender from which is to be transformed.<br /></p> + /// + /// <p>Tender from which is to be transformed.<br /></p> + [DataMember(Name="originalTenderTypeCode", EmitDefaultValue=false)] + public string OriginalTenderTypeCode { get; set; } + + /// + /// <p>Tender to which is to be transformed.<br /></p> + /// + /// <p>Tender to which is to be transformed.<br /></p> + [DataMember(Name="newTenderTypeCode", EmitDefaultValue=false)] + public string NewTenderTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" OriginalTenderTypeCode: ").Append(OriginalTenderTypeCode).Append("\n"); + sb.Append(" NewTenderTypeCode: ").Append(NewTenderTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.OriginalTenderTypeCode == input.OriginalTenderTypeCode || + (this.OriginalTenderTypeCode != null && + this.OriginalTenderTypeCode.Equals(input.OriginalTenderTypeCode)) + ) && + ( + this.NewTenderTypeCode == input.NewTenderTypeCode || + (this.NewTenderTypeCode != null && + this.NewTenderTypeCode.Equals(input.NewTenderTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.OriginalTenderTypeCode != null) + hashCode = hashCode * 59 + this.OriginalTenderTypeCode.GetHashCode(); + if (this.NewTenderTypeCode != null) + hashCode = hashCode * 59 + this.NewTenderTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..776cff5beeef23511d8c77ff455915178c26f457 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillDO.cs @@ -0,0 +1,600 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillDO <p>Tills<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTillDtoDomTillDO : IEquatable, IValidatableObject + { + /// + /// <p>The assignment mode which is used for that till<br /></p><br /><ul><br /> <li> DRAWER_FOR_ONLY_ONE_CASHIER01(01)</li><br /> <li> JOINT_DRAWER_FOR_SEVERAL_CASHIERS(02)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_REGISTER(03)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_RECYCLER(04)</li><br /></ul> + /// + /// <p>The assignment mode which is used for that till<br /></p><br /><ul><br /> <li> DRAWER_FOR_ONLY_ONE_CASHIER01(01)</li><br /> <li> JOINT_DRAWER_FOR_SEVERAL_CASHIERS(02)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_REGISTER(03)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_RECYCLER(04)</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum AssignmentTypeCodeEnum + { + + /// + /// Enum DRAWERFORONLYONECASHIER for value: DRAWER_FOR_ONLY_ONE_CASHIER + /// + [EnumMember(Value = "DRAWER_FOR_ONLY_ONE_CASHIER")] + DRAWERFORONLYONECASHIER = 1, + + /// + /// Enum JOINTDRAWERFORSEVERALCASHIERS for value: JOINT_DRAWER_FOR_SEVERAL_CASHIERS + /// + [EnumMember(Value = "JOINT_DRAWER_FOR_SEVERAL_CASHIERS")] + JOINTDRAWERFORSEVERALCASHIERS = 2, + + /// + /// Enum DRAWERFORONLYONECASHREGISTER for value: DRAWER_FOR_ONLY_ONE_CASH_REGISTER + /// + [EnumMember(Value = "DRAWER_FOR_ONLY_ONE_CASH_REGISTER")] + DRAWERFORONLYONECASHREGISTER = 3, + + /// + /// Enum DRAWERFORONLYONECASHRECYCLER for value: DRAWER_FOR_ONLY_ONE_CASH_RECYCLER + /// + [EnumMember(Value = "DRAWER_FOR_ONLY_ONE_CASH_RECYCLER")] + DRAWERFORONLYONECASHRECYCLER = 4, + + /// + /// Enum DRAWERWITHOUTASSIGNMENT for value: DRAWER_WITHOUT_ASSIGNMENT + /// + [EnumMember(Value = "DRAWER_WITHOUT_ASSIGNMENT")] + DRAWERWITHOUTASSIGNMENT = 5 + } + + /// + /// <p>The assignment mode which is used for that till<br /></p><br /><ul><br /> <li> DRAWER_FOR_ONLY_ONE_CASHIER01(01)</li><br /> <li> JOINT_DRAWER_FOR_SEVERAL_CASHIERS(02)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_REGISTER(03)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_RECYCLER(04)</li><br /></ul> + /// + /// <p>The assignment mode which is used for that till<br /></p><br /><ul><br /> <li> DRAWER_FOR_ONLY_ONE_CASHIER01(01)</li><br /> <li> JOINT_DRAWER_FOR_SEVERAL_CASHIERS(02)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_REGISTER(03)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_RECYCLER(04)</li><br /></ul> + [DataMember(Name="assignmentTypeCode", EmitDefaultValue=false)] + public AssignmentTypeCodeEnum AssignmentTypeCode { get; set; } + /// + /// <p>Determines how the till is to be cleared<br /></p><br /><ul><br /> <li> VARIABLE_CHANGE(01)</li><br /> <li> FIXED_CHANGE_AMOUNT(02)</li><br /> <li> COMPLETE_PICKUP(03)</li><br /> <li> MANUAL_CHANGE(04)</li><br /> <li> COMPLETE_PICKUP_TARGET(13)</li><br /></ul> + /// + /// <p>Determines how the till is to be cleared<br /></p><br /><ul><br /> <li> VARIABLE_CHANGE(01)</li><br /> <li> FIXED_CHANGE_AMOUNT(02)</li><br /> <li> COMPLETE_PICKUP(03)</li><br /> <li> MANUAL_CHANGE(04)</li><br /> <li> COMPLETE_PICKUP_TARGET(13)</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum TillClearingTypeCodeEnum + { + + /// + /// Enum VARIABLECHANGE for value: VARIABLE_CHANGE + /// + [EnumMember(Value = "VARIABLE_CHANGE")] + VARIABLECHANGE = 1, + + /// + /// Enum FIXEDCHANGEAMOUNT for value: FIXED_CHANGE_AMOUNT + /// + [EnumMember(Value = "FIXED_CHANGE_AMOUNT")] + FIXEDCHANGEAMOUNT = 2, + + /// + /// Enum COMPLETEPICKUP for value: COMPLETE_PICKUP + /// + [EnumMember(Value = "COMPLETE_PICKUP")] + COMPLETEPICKUP = 3, + + /// + /// Enum MANUALCHANGE for value: MANUAL_CHANGE + /// + [EnumMember(Value = "MANUAL_CHANGE")] + MANUALCHANGE = 4, + + /// + /// Enum COMPLETEPICKUPTARGET for value: COMPLETE_PICKUP_TARGET + /// + [EnumMember(Value = "COMPLETE_PICKUP_TARGET")] + COMPLETEPICKUPTARGET = 5 + } + + /// + /// <p>Determines how the till is to be cleared<br /></p><br /><ul><br /> <li> VARIABLE_CHANGE(01)</li><br /> <li> FIXED_CHANGE_AMOUNT(02)</li><br /> <li> COMPLETE_PICKUP(03)</li><br /> <li> MANUAL_CHANGE(04)</li><br /> <li> COMPLETE_PICKUP_TARGET(13)</li><br /></ul> + /// + /// <p>Determines how the till is to be cleared<br /></p><br /><ul><br /> <li> VARIABLE_CHANGE(01)</li><br /> <li> FIXED_CHANGE_AMOUNT(02)</li><br /> <li> COMPLETE_PICKUP(03)</li><br /> <li> MANUAL_CHANGE(04)</li><br /> <li> COMPLETE_PICKUP_TARGET(13)</li><br /></ul> + [DataMember(Name="tillClearingTypeCode", EmitDefaultValue=false)] + public TillClearingTypeCodeEnum TillClearingTypeCode { get; set; } + /// + /// <p>Defines the settlement mode<br /></p><br /><ul><br /> <li> CONTINUOUS_USE(01)</li><br /> <li> ON_A_DAILY_BASIS(02)</li><br /></ul> + /// + /// <p>Defines the settlement mode<br /></p><br /><ul><br /> <li> CONTINUOUS_USE(01)</li><br /> <li> ON_A_DAILY_BASIS(02)</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum SettlementTypeCodeEnum + { + + /// + /// Enum CONTINUOUSUSE for value: CONTINUOUS_USE + /// + [EnumMember(Value = "CONTINUOUS_USE")] + CONTINUOUSUSE = 1, + + /// + /// Enum ONADAILYBASIS for value: ON_A_DAILY_BASIS + /// + [EnumMember(Value = "ON_A_DAILY_BASIS")] + ONADAILYBASIS = 2 + } + + /// + /// <p>Defines the settlement mode<br /></p><br /><ul><br /> <li> CONTINUOUS_USE(01)</li><br /> <li> ON_A_DAILY_BASIS(02)</li><br /></ul> + /// + /// <p>Defines the settlement mode<br /></p><br /><ul><br /> <li> CONTINUOUS_USE(01)</li><br /> <li> ON_A_DAILY_BASIS(02)</li><br /></ul> + [DataMember(Name="settlementTypeCode", EmitDefaultValue=false)] + public SettlementTypeCodeEnum SettlementTypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTillDtoDomTillDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>The opening Tender balance with which the Till will typically start.<br /></p> (required). + /// <p>Determines whether function 'loan' requires counting the cash money and registering the counted amount, or whether counting is skipped and the default amount is used<br /></p>. + /// <p>Determines whether the loan function should be used<br /></p>. + /// <p>Determines whether the till is locked<br /></p>. + /// <p>The barcode of the till<br /></p>. + /// <p>The assignment mode which is used for that till<br /></p><br /><ul><br /> <li> DRAWER_FOR_ONLY_ONE_CASHIER01(01)</li><br /> <li> JOINT_DRAWER_FOR_SEVERAL_CASHIERS(02)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_REGISTER(03)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_RECYCLER(04)</li><br /></ul> (required). + /// <p>ID of the workstation. It is only filled if till is assigned to workstation.<br /></p>. + /// <p>The list operators that are allowed to use the till.<br /></p>. + /// <p>Determines how the till is to be cleared<br /></p><br /><ul><br /> <li> VARIABLE_CHANGE(01)</li><br /> <li> FIXED_CHANGE_AMOUNT(02)</li><br /> <li> COMPLETE_PICKUP(03)</li><br /> <li> MANUAL_CHANGE(04)</li><br /> <li> COMPLETE_PICKUP_TARGET(13)</li><br /></ul> (required). + /// <p>Defines the settlement mode<br /></p><br /><ul><br /> <li> CONTINUOUS_USE(01)</li><br /> <li> ON_A_DAILY_BASIS(02)</li><br /></ul> (required). + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Determines whether the till is used for education.<br /></p> (required). + /// <p>date and time of the till status<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>TODO<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdTillDtoDomTillDO(ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey key = default(ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey), double? defaultOpeningCashBalanceAmount = default(double?), bool? loanCalculationRequiredFlag = default(bool?), bool? loanRequiredFlag = default(bool?), bool? blockingFlag = default(bool?), string tillBarcode = default(string), AssignmentTypeCodeEnum assignmentTypeCode = default(AssignmentTypeCodeEnum), string workstationID = default(string), List tillOperatorList = default(List), TillClearingTypeCodeEnum tillClearingTypeCode = default(TillClearingTypeCodeEnum), SettlementTypeCodeEnum settlementTypeCode = default(SettlementTypeCodeEnum), string packageID = default(string), bool? trainingModeFlag = default(bool?), string statusDateTimeStamp = default(string), bool? tillEnabled = default(bool?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDO and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "defaultOpeningCashBalanceAmount" is required (not null) + if (defaultOpeningCashBalanceAmount == null) + { + throw new InvalidDataException("defaultOpeningCashBalanceAmount is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDO and cannot be null"); + } + else + { + this.DefaultOpeningCashBalanceAmount = defaultOpeningCashBalanceAmount; + } + // to ensure "assignmentTypeCode" is required (not null) + if (assignmentTypeCode == null) + { + throw new InvalidDataException("assignmentTypeCode is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDO and cannot be null"); + } + else + { + this.AssignmentTypeCode = assignmentTypeCode; + } + // to ensure "tillClearingTypeCode" is required (not null) + if (tillClearingTypeCode == null) + { + throw new InvalidDataException("tillClearingTypeCode is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDO and cannot be null"); + } + else + { + this.TillClearingTypeCode = tillClearingTypeCode; + } + // to ensure "settlementTypeCode" is required (not null) + if (settlementTypeCode == null) + { + throw new InvalidDataException("settlementTypeCode is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDO and cannot be null"); + } + else + { + this.SettlementTypeCode = settlementTypeCode; + } + // to ensure "trainingModeFlag" is required (not null) + if (trainingModeFlag == null) + { + throw new InvalidDataException("trainingModeFlag is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDO and cannot be null"); + } + else + { + this.TrainingModeFlag = trainingModeFlag; + } + this.LoanCalculationRequiredFlag = loanCalculationRequiredFlag; + this.LoanRequiredFlag = loanRequiredFlag; + this.BlockingFlag = blockingFlag; + this.TillBarcode = tillBarcode; + this.WorkstationID = workstationID; + this.TillOperatorList = tillOperatorList; + this.PackageID = packageID; + this.StatusDateTimeStamp = statusDateTimeStamp; + this.TillEnabled = tillEnabled; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey Key { get; set; } + + /// + /// <p>The opening Tender balance with which the Till will typically start.<br /></p> + /// + /// <p>The opening Tender balance with which the Till will typically start.<br /></p> + [DataMember(Name="defaultOpeningCashBalanceAmount", EmitDefaultValue=false)] + public double? DefaultOpeningCashBalanceAmount { get; set; } + + /// + /// <p>Determines whether function 'loan' requires counting the cash money and registering the counted amount, or whether counting is skipped and the default amount is used<br /></p> + /// + /// <p>Determines whether function 'loan' requires counting the cash money and registering the counted amount, or whether counting is skipped and the default amount is used<br /></p> + [DataMember(Name="loanCalculationRequiredFlag", EmitDefaultValue=false)] + public bool? LoanCalculationRequiredFlag { get; set; } + + /// + /// <p>Determines whether the loan function should be used<br /></p> + /// + /// <p>Determines whether the loan function should be used<br /></p> + [DataMember(Name="loanRequiredFlag", EmitDefaultValue=false)] + public bool? LoanRequiredFlag { get; set; } + + /// + /// <p>Determines whether the till is locked<br /></p> + /// + /// <p>Determines whether the till is locked<br /></p> + [DataMember(Name="blockingFlag", EmitDefaultValue=false)] + public bool? BlockingFlag { get; set; } + + /// + /// <p>The barcode of the till<br /></p> + /// + /// <p>The barcode of the till<br /></p> + [DataMember(Name="tillBarcode", EmitDefaultValue=false)] + public string TillBarcode { get; set; } + + + /// + /// <p>ID of the workstation. It is only filled if till is assigned to workstation.<br /></p> + /// + /// <p>ID of the workstation. It is only filled if till is assigned to workstation.<br /></p> + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// <p>The list operators that are allowed to use the till.<br /></p> + /// + /// <p>The list operators that are allowed to use the till.<br /></p> + [DataMember(Name="tillOperatorList", EmitDefaultValue=false)] + public List TillOperatorList { get; set; } + + + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Determines whether the till is used for education.<br /></p> + /// + /// <p>Determines whether the till is used for education.<br /></p> + [DataMember(Name="trainingModeFlag", EmitDefaultValue=false)] + public bool? TrainingModeFlag { get; set; } + + /// + /// <p>date and time of the till status<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>date and time of the till status<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="statusDateTimeStamp", EmitDefaultValue=false)] + public string StatusDateTimeStamp { get; set; } + + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + [DataMember(Name="tillEnabled", EmitDefaultValue=false)] + public bool? TillEnabled { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTillDtoDomTillDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" DefaultOpeningCashBalanceAmount: ").Append(DefaultOpeningCashBalanceAmount).Append("\n"); + sb.Append(" LoanCalculationRequiredFlag: ").Append(LoanCalculationRequiredFlag).Append("\n"); + sb.Append(" LoanRequiredFlag: ").Append(LoanRequiredFlag).Append("\n"); + sb.Append(" BlockingFlag: ").Append(BlockingFlag).Append("\n"); + sb.Append(" TillBarcode: ").Append(TillBarcode).Append("\n"); + sb.Append(" AssignmentTypeCode: ").Append(AssignmentTypeCode).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" TillOperatorList: ").Append(TillOperatorList).Append("\n"); + sb.Append(" TillClearingTypeCode: ").Append(TillClearingTypeCode).Append("\n"); + sb.Append(" SettlementTypeCode: ").Append(SettlementTypeCode).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" TrainingModeFlag: ").Append(TrainingModeFlag).Append("\n"); + sb.Append(" StatusDateTimeStamp: ").Append(StatusDateTimeStamp).Append("\n"); + sb.Append(" TillEnabled: ").Append(TillEnabled).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTillDtoDomTillDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTillDtoDomTillDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTillDtoDomTillDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTillDtoDomTillDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.DefaultOpeningCashBalanceAmount == input.DefaultOpeningCashBalanceAmount || + (this.DefaultOpeningCashBalanceAmount != null && + this.DefaultOpeningCashBalanceAmount.Equals(input.DefaultOpeningCashBalanceAmount)) + ) && + ( + this.LoanCalculationRequiredFlag == input.LoanCalculationRequiredFlag || + (this.LoanCalculationRequiredFlag != null && + this.LoanCalculationRequiredFlag.Equals(input.LoanCalculationRequiredFlag)) + ) && + ( + this.LoanRequiredFlag == input.LoanRequiredFlag || + (this.LoanRequiredFlag != null && + this.LoanRequiredFlag.Equals(input.LoanRequiredFlag)) + ) && + ( + this.BlockingFlag == input.BlockingFlag || + (this.BlockingFlag != null && + this.BlockingFlag.Equals(input.BlockingFlag)) + ) && + ( + this.TillBarcode == input.TillBarcode || + (this.TillBarcode != null && + this.TillBarcode.Equals(input.TillBarcode)) + ) && + ( + this.AssignmentTypeCode == input.AssignmentTypeCode || + (this.AssignmentTypeCode != null && + this.AssignmentTypeCode.Equals(input.AssignmentTypeCode)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.TillOperatorList == input.TillOperatorList || + this.TillOperatorList != null && + this.TillOperatorList.SequenceEqual(input.TillOperatorList) + ) && + ( + this.TillClearingTypeCode == input.TillClearingTypeCode || + (this.TillClearingTypeCode != null && + this.TillClearingTypeCode.Equals(input.TillClearingTypeCode)) + ) && + ( + this.SettlementTypeCode == input.SettlementTypeCode || + (this.SettlementTypeCode != null && + this.SettlementTypeCode.Equals(input.SettlementTypeCode)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.TrainingModeFlag == input.TrainingModeFlag || + (this.TrainingModeFlag != null && + this.TrainingModeFlag.Equals(input.TrainingModeFlag)) + ) && + ( + this.StatusDateTimeStamp == input.StatusDateTimeStamp || + (this.StatusDateTimeStamp != null && + this.StatusDateTimeStamp.Equals(input.StatusDateTimeStamp)) + ) && + ( + this.TillEnabled == input.TillEnabled || + (this.TillEnabled != null && + this.TillEnabled.Equals(input.TillEnabled)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.DefaultOpeningCashBalanceAmount != null) + hashCode = hashCode * 59 + this.DefaultOpeningCashBalanceAmount.GetHashCode(); + if (this.LoanCalculationRequiredFlag != null) + hashCode = hashCode * 59 + this.LoanCalculationRequiredFlag.GetHashCode(); + if (this.LoanRequiredFlag != null) + hashCode = hashCode * 59 + this.LoanRequiredFlag.GetHashCode(); + if (this.BlockingFlag != null) + hashCode = hashCode * 59 + this.BlockingFlag.GetHashCode(); + if (this.TillBarcode != null) + hashCode = hashCode * 59 + this.TillBarcode.GetHashCode(); + if (this.AssignmentTypeCode != null) + hashCode = hashCode * 59 + this.AssignmentTypeCode.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.TillOperatorList != null) + hashCode = hashCode * 59 + this.TillOperatorList.GetHashCode(); + if (this.TillClearingTypeCode != null) + hashCode = hashCode * 59 + this.TillClearingTypeCode.GetHashCode(); + if (this.SettlementTypeCode != null) + hashCode = hashCode * 59 + this.SettlementTypeCode.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.TrainingModeFlag != null) + hashCode = hashCode * 59 + this.TrainingModeFlag.GetHashCode(); + if (this.StatusDateTimeStamp != null) + hashCode = hashCode * 59 + this.StatusDateTimeStamp.GetHashCode(); + if (this.TillEnabled != null) + hashCode = hashCode * 59 + this.TillEnabled.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..567cbfa33ad87e3c677fec5d04636cebedeb591f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier for the till.<br /></p> (required). + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey(string tillID = default(string), string businessUnitGroupID = default(string)) + { + // to ensure "tillID" is required (not null) + if (tillID == null) + { + throw new InvalidDataException("tillID is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey and cannot be null"); + } + else + { + this.TillID = tillID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + } + + /// + /// <p>The unique identifier for the till.<br /></p> + /// + /// <p>The unique identifier for the till.<br /></p> + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey {\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey input) + { + if (input == null) + return false; + + return + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..780415eaa543ee91549013ce3d71cfe1f5eb1599 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO.cs @@ -0,0 +1,240 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillOperatorDO <p>Allowed operators<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO(ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey key = default(ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey), string packageID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO and cannot be null"); + } + else + { + this.Key = key; + } + this.PackageID = packageID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey Key { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..09d756b725740c2df5bc9db30105e3294347f319 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillOperatorDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Identifier of the operator<br /></p> (required). + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>The unique identifier for the till.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey(string operatorID = default(string), string businessUnitGroupID = default(string), string tillID = default(string)) + { + // to ensure "operatorID" is required (not null) + if (operatorID == null) + { + throw new InvalidDataException("operatorID is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey and cannot be null"); + } + else + { + this.OperatorID = operatorID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "tillID" is required (not null) + if (tillID == null) + { + throw new InvalidDataException("tillID is a required property for ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey and cannot be null"); + } + else + { + this.TillID = tillID; + } + } + + /// + /// <p>Identifier of the operator<br /></p> + /// + /// <p>Identifier of the operator<br /></p> + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The unique identifier for the till.<br /></p> + /// + /// <p>The unique identifier for the till.<br /></p> + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey {\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey input) + { + if (input == null) + return false; + + return + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod.cs new file mode 100644 index 0000000000000000000000000000000000000000..0d44cadaa60d7a791c4cb87259527b86fd0a1db4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod.cs @@ -0,0 +1,342 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TimePeriod <p>Time periods.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod : IEquatable, IValidatableObject + { + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on.<br /></p> + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on.<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum DayOfWeekEnum + { + + /// + /// Enum MO for value: MO + /// + [EnumMember(Value = "MO")] + MO = 1, + + /// + /// Enum TU for value: TU + /// + [EnumMember(Value = "TU")] + TU = 2, + + /// + /// Enum WE for value: WE + /// + [EnumMember(Value = "WE")] + WE = 3, + + /// + /// Enum TH for value: TH + /// + [EnumMember(Value = "TH")] + TH = 4, + + /// + /// Enum FR for value: FR + /// + [EnumMember(Value = "FR")] + FR = 5, + + /// + /// Enum SA for value: SA + /// + [EnumMember(Value = "SA")] + SA = 6, + + /// + /// Enum SU for value: SU + /// + [EnumMember(Value = "SU")] + SU = 7 + } + + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on.<br /></p> + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on.<br /></p> + [DataMember(Name="dayOfWeek", EmitDefaultValue=false)] + public DayOfWeekEnum? DayOfWeek { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>A 2 character code denoting the day of the week that the time period falls on.<br /></p>. + /// <p>The time of day that the time period commences.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The duration included in the time period from the start time.<br /></p>. + /// <p>The time restriction in cron format.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod(ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey key = default(ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey), DayOfWeekEnum? dayOfWeek = default(DayOfWeekEnum?), string startTime = default(string), int? duration = default(int?), string timeRestriction = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod and cannot be null"); + } + else + { + this.Key = key; + } + this.DayOfWeek = dayOfWeek; + this.StartTime = startTime; + this.Duration = duration; + this.TimeRestriction = timeRestriction; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey Key { get; set; } + + + /// + /// <p>The time of day that the time period commences.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The time of day that the time period commences.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="startTime", EmitDefaultValue=false)] + public string StartTime { get; set; } + + /// + /// <p>The duration included in the time period from the start time.<br /></p> + /// + /// <p>The duration included in the time period from the start time.<br /></p> + [DataMember(Name="duration", EmitDefaultValue=false)] + public int? Duration { get; set; } + + /// + /// <p>The time restriction in cron format.<br /></p> + /// + /// <p>The time restriction in cron format.<br /></p> + [DataMember(Name="timeRestriction", EmitDefaultValue=false)] + public string TimeRestriction { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" DayOfWeek: ").Append(DayOfWeek).Append("\n"); + sb.Append(" StartTime: ").Append(StartTime).Append("\n"); + sb.Append(" Duration: ").Append(Duration).Append("\n"); + sb.Append(" TimeRestriction: ").Append(TimeRestriction).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.DayOfWeek == input.DayOfWeek || + (this.DayOfWeek != null && + this.DayOfWeek.Equals(input.DayOfWeek)) + ) && + ( + this.StartTime == input.StartTime || + (this.StartTime != null && + this.StartTime.Equals(input.StartTime)) + ) && + ( + this.Duration == input.Duration || + (this.Duration != null && + this.Duration.Equals(input.Duration)) + ) && + ( + this.TimeRestriction == input.TimeRestriction || + (this.TimeRestriction != null && + this.TimeRestriction.Equals(input.TimeRestriction)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.DayOfWeek != null) + hashCode = hashCode * 59 + this.DayOfWeek.GetHashCode(); + if (this.StartTime != null) + hashCode = hashCode * 59 + this.StartTime.GetHashCode(); + if (this.Duration != null) + hashCode = hashCode * 59 + this.Duration.GetHashCode(); + if (this.TimeRestriction != null) + hashCode = hashCode * 59 + this.TimeRestriction.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b79adfe9269bb0aed66d9ddf7703c510844222cb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TimePeriod.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>Internal generated ID for time period.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey(string businessUnitGroupID = default(string), string internalTimePeriodID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "internalTimePeriodID" is required (not null) + if (internalTimePeriodID == null) + { + throw new InvalidDataException("internalTimePeriodID is a required property for ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey and cannot be null"); + } + else + { + this.InternalTimePeriodID = internalTimePeriodID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Internal generated ID for time period.<br /></p> + /// + /// <p>Internal generated ID for time period.<br /></p> + [DataMember(Name="internalTimePeriodID", EmitDefaultValue=false)] + public string InternalTimePeriodID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" InternalTimePeriodID: ").Append(InternalTimePeriodID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.InternalTimePeriodID == input.InternalTimePeriodID || + (this.InternalTimePeriodID != null && + this.InternalTimePeriodID.Equals(input.InternalTimePeriodID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.InternalTimePeriodID != null) + hashCode = hashCode * 59 + this.InternalTimePeriodID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c8d4a7d873f5b13c982dcc9968386611798ac3c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkerDO <p>A person who provides services to a retail store. May be either an employee or a contractor.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO : IEquatable, IValidatableObject + { + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum OriginEnum + { + + /// + /// Enum IMPORT for value: IMPORT + /// + [EnumMember(Value = "IMPORT")] + IMPORT = 1, + + /// + /// Enum MANUAL for value: MANUAL + /// + [EnumMember(Value = "MANUAL")] + MANUAL = 2 + } + + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + [DataMember(Name="origin", EmitDefaultValue=false)] + public OriginEnum? Origin { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>A unique, system assigned identity for a party.<br /></p>. + /// <p>Personal information<br /></p>. + /// <p>Contact<br /></p>. + /// <p>List of the discount groups assigned to the employee.<br /></p>. + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p>. + /// <p>TaxID of the sales representative<br /></p>. + /// <p>The worker level in worker hierarchy. Used for security purposes - if a worker can maintain or see (GDPR) another user. <br /></p>. + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey key = default(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey), string partyID = default(string), ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO person = default(ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO), ComGkSoftwareGkrApiServerMdContactDtoDomContactDO contact = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactDO), List workerDiscountGroupAssignmentList = default(List), OriginEnum? origin = default(OriginEnum?), string packageID = default(string), string taxNumber = default(string), int? workerLevel = default(int?), string dataProtectCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO and cannot be null"); + } + else + { + this.Key = key; + } + this.PartyID = partyID; + this.Person = person; + this.Contact = contact; + this.WorkerDiscountGroupAssignmentList = workerDiscountGroupAssignmentList; + this.Origin = origin; + this.PackageID = packageID; + this.TaxNumber = taxNumber; + this.WorkerLevel = workerLevel; + this.DataProtectCode = dataProtectCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey Key { get; set; } + + /// + /// <p>A unique, system assigned identity for a party.<br /></p> + /// + /// <p>A unique, system assigned identity for a party.<br /></p> + [DataMember(Name="partyID", EmitDefaultValue=false)] + public string PartyID { get; set; } + + /// + /// <p>Personal information<br /></p> + /// + /// <p>Personal information<br /></p> + [DataMember(Name="person", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO Person { get; set; } + + /// + /// <p>Contact<br /></p> + /// + /// <p>Contact<br /></p> + [DataMember(Name="contact", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdContactDtoDomContactDO Contact { get; set; } + + /// + /// <p>List of the discount groups assigned to the employee.<br /></p> + /// + /// <p>List of the discount groups assigned to the employee.<br /></p> + [DataMember(Name="workerDiscountGroupAssignmentList", EmitDefaultValue=false)] + public List WorkerDiscountGroupAssignmentList { get; set; } + + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>TaxID of the sales representative<br /></p> + /// + /// <p>TaxID of the sales representative<br /></p> + [DataMember(Name="taxNumber", EmitDefaultValue=false)] + public string TaxNumber { get; set; } + + /// + /// <p>The worker level in worker hierarchy. Used for security purposes - if a worker can maintain or see (GDPR) another user. <br /></p> + /// + /// <p>The worker level in worker hierarchy. Used for security purposes - if a worker can maintain or see (GDPR) another user. <br /></p> + [DataMember(Name="workerLevel", EmitDefaultValue=false)] + public int? WorkerLevel { get; set; } + + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + [DataMember(Name="dataProtectCode", EmitDefaultValue=false)] + public string DataProtectCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PartyID: ").Append(PartyID).Append("\n"); + sb.Append(" Person: ").Append(Person).Append("\n"); + sb.Append(" Contact: ").Append(Contact).Append("\n"); + sb.Append(" WorkerDiscountGroupAssignmentList: ").Append(WorkerDiscountGroupAssignmentList).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" TaxNumber: ").Append(TaxNumber).Append("\n"); + sb.Append(" WorkerLevel: ").Append(WorkerLevel).Append("\n"); + sb.Append(" DataProtectCode: ").Append(DataProtectCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PartyID == input.PartyID || + (this.PartyID != null && + this.PartyID.Equals(input.PartyID)) + ) && + ( + this.Person == input.Person || + (this.Person != null && + this.Person.Equals(input.Person)) + ) && + ( + this.Contact == input.Contact || + (this.Contact != null && + this.Contact.Equals(input.Contact)) + ) && + ( + this.WorkerDiscountGroupAssignmentList == input.WorkerDiscountGroupAssignmentList || + this.WorkerDiscountGroupAssignmentList != null && + this.WorkerDiscountGroupAssignmentList.SequenceEqual(input.WorkerDiscountGroupAssignmentList) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.TaxNumber == input.TaxNumber || + (this.TaxNumber != null && + this.TaxNumber.Equals(input.TaxNumber)) + ) && + ( + this.WorkerLevel == input.WorkerLevel || + (this.WorkerLevel != null && + this.WorkerLevel.Equals(input.WorkerLevel)) + ) && + ( + this.DataProtectCode == input.DataProtectCode || + (this.DataProtectCode != null && + this.DataProtectCode.Equals(input.DataProtectCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PartyID != null) + hashCode = hashCode * 59 + this.PartyID.GetHashCode(); + if (this.Person != null) + hashCode = hashCode * 59 + this.Person.GetHashCode(); + if (this.Contact != null) + hashCode = hashCode * 59 + this.Contact.GetHashCode(); + if (this.WorkerDiscountGroupAssignmentList != null) + hashCode = hashCode * 59 + this.WorkerDiscountGroupAssignmentList.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.TaxNumber != null) + hashCode = hashCode * 59 + this.TaxNumber.GetHashCode(); + if (this.WorkerLevel != null) + hashCode = hashCode * 59 + this.WorkerLevel.GetHashCode(); + if (this.DataProtectCode != null) + hashCode = hashCode * 59 + this.DataProtectCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..aa68caa4521877764b7db5e0983fcf2b3772cc13 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkerDO.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> (required). + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey(string businessUnitGroupID = default(string), string workerID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "workerID" is required (not null) + if (workerID == null) + { + throw new InvalidDataException("workerID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey and cannot be null"); + } + else + { + this.WorkerID = workerID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment.cs new file mode 100644 index 0000000000000000000000000000000000000000..86b1e555f15cc3d927a01893bb4b3dd084927dfa --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment.cs @@ -0,0 +1,223 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkerDiscountGroupAssignment <p>A group of employees who share the same employee discount privilege.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey key = default(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey Key { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5c1a7221774f420a8638089360c10c36ceac820d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkerDiscountGroupAssignment.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group.<br /></p> (required). + /// <p>The identifier for a specific employee discount group.<br /></p> (required). + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> (required). + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey(string businessUnitGroupID = default(string), string employeeDiscountGroupID = default(string), string workerID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "employeeDiscountGroupID" is required (not null) + if (employeeDiscountGroupID == null) + { + throw new InvalidDataException("employeeDiscountGroupID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey and cannot be null"); + } + else + { + this.EmployeeDiscountGroupID = employeeDiscountGroupID; + } + // to ensure "workerID" is required (not null) + if (workerID == null) + { + throw new InvalidDataException("workerID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey and cannot be null"); + } + else + { + this.WorkerID = workerID; + } + } + + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The identifier for a specific employee discount group.<br /></p> + /// + /// <p>The identifier for a specific employee discount group.<br /></p> + [DataMember(Name="employeeDiscountGroupID", EmitDefaultValue=false)] + public string EmployeeDiscountGroupID { get; set; } + + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" EmployeeDiscountGroupID: ").Append(EmployeeDiscountGroupID).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.EmployeeDiscountGroupID == input.EmployeeDiscountGroupID || + (this.EmployeeDiscountGroupID != null && + this.EmployeeDiscountGroupID.Equals(input.EmployeeDiscountGroupID)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.EmployeeDiscountGroupID != null) + hashCode = hashCode * 59 + this.EmployeeDiscountGroupID.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObject.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObject.cs new file mode 100644 index 0000000000000000000000000000000000000000..90221512547d5c782bf4e427bd55d5dcc45ef8d0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObject.cs @@ -0,0 +1,265 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillCopyObject <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTcoDtoTillCopyObject : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTcoDtoTillCopyObject() { } + /// + /// Initializes a new instance of the class. + /// + /// Defines if loan must be entered. (required). + /// In certain conditions server is not able to provide reliable Server TCO. If such situation occur then this flag is set to true. And values are computed only locally. (required). + /// List of group-by-tender values. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + public ComGkSoftwareGkrApiTcoDtoTillCopyObject(bool? loanRequired = default(bool?), bool? localValuesOnly = default(bool?), List entryList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "loanRequired" is required (not null) + if (loanRequired == null) + { + throw new InvalidDataException("loanRequired is a required property for ComGkSoftwareGkrApiTcoDtoTillCopyObject and cannot be null"); + } + else + { + this.LoanRequired = loanRequired; + } + // to ensure "localValuesOnly" is required (not null) + if (localValuesOnly == null) + { + throw new InvalidDataException("localValuesOnly is a required property for ComGkSoftwareGkrApiTcoDtoTillCopyObject and cannot be null"); + } + else + { + this.LocalValuesOnly = localValuesOnly; + } + this.EntryList = entryList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// Defines if loan must be entered. + /// + /// Defines if loan must be entered. + [DataMember(Name="loanRequired", EmitDefaultValue=false)] + public bool? LoanRequired { get; set; } + + /// + /// In certain conditions server is not able to provide reliable Server TCO. If such situation occur then this flag is set to true. And values are computed only locally. + /// + /// In certain conditions server is not able to provide reliable Server TCO. If such situation occur then this flag is set to true. And values are computed only locally. + [DataMember(Name="localValuesOnly", EmitDefaultValue=false)] + public bool? LocalValuesOnly { get; set; } + + /// + /// List of group-by-tender values + /// + /// List of group-by-tender values + [DataMember(Name="entryList", EmitDefaultValue=false)] + public List EntryList { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTcoDtoTillCopyObject {\n"); + sb.Append(" LoanRequired: ").Append(LoanRequired).Append("\n"); + sb.Append(" LocalValuesOnly: ").Append(LocalValuesOnly).Append("\n"); + sb.Append(" EntryList: ").Append(EntryList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTcoDtoTillCopyObject); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTcoDtoTillCopyObject instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTcoDtoTillCopyObject to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTcoDtoTillCopyObject input) + { + if (input == null) + return false; + + return + ( + this.LoanRequired == input.LoanRequired || + (this.LoanRequired != null && + this.LoanRequired.Equals(input.LoanRequired)) + ) && + ( + this.LocalValuesOnly == input.LocalValuesOnly || + (this.LocalValuesOnly != null && + this.LocalValuesOnly.Equals(input.LocalValuesOnly)) + ) && + ( + this.EntryList == input.EntryList || + this.EntryList != null && + this.EntryList.SequenceEqual(input.EntryList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LoanRequired != null) + hashCode = hashCode * 59 + this.LoanRequired.GetHashCode(); + if (this.LocalValuesOnly != null) + hashCode = hashCode * 59 + this.LocalValuesOnly.GetHashCode(); + if (this.EntryList != null) + hashCode = hashCode * 59 + this.EntryList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..a8390d4450e772aafea65d1946683ba51f8ef0b8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry.cs @@ -0,0 +1,274 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillCopyObjectEntry <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Target value of the tender. + /// Target value of the tender in main currency. + /// Target value of the tender. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + /// Standard extension pattern for extending object in project. + public ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry(ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey key = default(ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey), double? foreignCurrencyAmount = default(double?), double? amount = default(double?), int? mediaUnitQuantity = default(int?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry and cannot be null"); + } + else + { + this.Key = key; + } + this.ForeignCurrencyAmount = foreignCurrencyAmount; + this.Amount = amount; + this.MediaUnitQuantity = mediaUnitQuantity; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey Key { get; set; } + + /// + /// Target value of the tender + /// + /// Target value of the tender + [DataMember(Name="foreignCurrencyAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyAmount { get; set; } + + /// + /// Target value of the tender in main currency + /// + /// Target value of the tender in main currency + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// Target value of the tender + /// + /// Target value of the tender + [DataMember(Name="mediaUnitQuantity", EmitDefaultValue=false)] + public int? MediaUnitQuantity { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ForeignCurrencyAmount: ").Append(ForeignCurrencyAmount).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" MediaUnitQuantity: ").Append(MediaUnitQuantity).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ForeignCurrencyAmount == input.ForeignCurrencyAmount || + (this.ForeignCurrencyAmount != null && + this.ForeignCurrencyAmount.Equals(input.ForeignCurrencyAmount)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.MediaUnitQuantity == input.MediaUnitQuantity || + (this.MediaUnitQuantity != null && + this.MediaUnitQuantity.Equals(input.MediaUnitQuantity)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ForeignCurrencyAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyAmount.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.MediaUnitQuantity != null) + hashCode = hashCode * 59 + this.MediaUnitQuantity.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..02e638838c35f0370fc1579b713bc2841f410071 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillCopyObjectEntry.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey() { } + /// + /// Initializes a new instance of the class. + /// + /// TenderTypeCode of the tender (required). + public ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey(string tenderTypeCode = default(string)) + { + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + } + + /// + /// TenderTypeCode of the tender + /// + /// TenderTypeCode of the tender + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey {\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey input) + { + if (input == null) + return false; + + return + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..e5addc53ebcce8add4426858547c08d0550776ed --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem.cs @@ -0,0 +1,876 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AdditionalBonusDiscountLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier for a promotion.. + /// A identifier for a specific price derivation rule.. + /// A unique identifier for a Price Derivation Rule Eligibility.. + /// The ident of the additional bonus. This is needed by PCE in order to establish a relationship between additional bonus items being provided to it in the request as additional bonus line items on the one hand and the corresponding promotion price derivation rules of type 'additional bonus' on the other hand. (required). + /// Reference to BusinessUnitGroupItem. + /// The UOM of the Item. + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id. + /// Unique system assigned identifier for a group or class of merchandise.. + /// System-generated unique identifier for a merchandise set (group of mechandise set elements). This is needed for technical reasons.. + /// Unique (within the context of the merchandise set) system-generated identifier of the mechandise set element. + /// Denotes the total additional bonus quantity that should be granted. Is 0 in case the AdditionalBonusDiscountLineItem does not belong to any applied promotion. (required). + /// Denotes the difference between TotalAdditionalBonusQuantity and the additional bonus items being present in the transaction (total quantity of sale return line items of type 'additional bonus' with concerning AdditionalBonusLineItem.AdditionalBonusID).positive value - there are not enough additional bonus items in the transaction providednegative value - there are too many additional bonus items in transaction provided0 value - match (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), string additionalBonusID = default(string), string itemID = default(string), string unitOfMeasureCode = default(string), string merchandiseHierarchyGroupIDQualifier = default(string), string merchandiseHierarchyGroupID = default(string), string merchandiseSetGroupID = default(string), string merchandiseSetID = default(string), double? totalAdditionalBonusQuantity = default(double?), double? quantityDifference = default(double?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "additionalBonusID" is required (not null) + if (additionalBonusID == null) + { + throw new InvalidDataException("additionalBonusID is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem and cannot be null"); + } + else + { + this.AdditionalBonusID = additionalBonusID; + } + // to ensure "totalAdditionalBonusQuantity" is required (not null) + if (totalAdditionalBonusQuantity == null) + { + throw new InvalidDataException("totalAdditionalBonusQuantity is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem and cannot be null"); + } + else + { + this.TotalAdditionalBonusQuantity = totalAdditionalBonusQuantity; + } + // to ensure "quantityDifference" is required (not null) + if (quantityDifference == null) + { + throw new InvalidDataException("quantityDifference is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem and cannot be null"); + } + else + { + this.QuantityDifference = quantityDifference; + } + this.PromotionID = promotionID; + this.PriceDerivationRuleID = priceDerivationRuleID; + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + this.ItemID = itemID; + this.UnitOfMeasureCode = unitOfMeasureCode; + this.MerchandiseHierarchyGroupIDQualifier = merchandiseHierarchyGroupIDQualifier; + this.MerchandiseHierarchyGroupID = merchandiseHierarchyGroupID; + this.MerchandiseSetGroupID = merchandiseSetGroupID; + this.MerchandiseSetID = merchandiseSetID; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey Key { get; set; } + + /// + /// The unique identifier for a promotion. + /// + /// The unique identifier for a promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// A identifier for a specific price derivation rule. + /// + /// A identifier for a specific price derivation rule. + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// A unique identifier for a Price Derivation Rule Eligibility. + /// + /// A unique identifier for a Price Derivation Rule Eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The ident of the additional bonus. This is needed by PCE in order to establish a relationship between additional bonus items being provided to it in the request as additional bonus line items on the one hand and the corresponding promotion price derivation rules of type 'additional bonus' on the other hand. + /// + /// The ident of the additional bonus. This is needed by PCE in order to establish a relationship between additional bonus items being provided to it in the request as additional bonus line items on the one hand and the corresponding promotion price derivation rules of type 'additional bonus' on the other hand. + [DataMember(Name="additionalBonusID", EmitDefaultValue=false)] + public string AdditionalBonusID { get; set; } + + /// + /// Reference to BusinessUnitGroupItem + /// + /// Reference to BusinessUnitGroupItem + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// The UOM of the Item + /// + /// The UOM of the Item + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id + [DataMember(Name="merchandiseHierarchyGroupIDQualifier", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupIDQualifier { get; set; } + + /// + /// Unique system assigned identifier for a group or class of merchandise. + /// + /// Unique system assigned identifier for a group or class of merchandise. + [DataMember(Name="merchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupID { get; set; } + + /// + /// System-generated unique identifier for a merchandise set (group of mechandise set elements). This is needed for technical reasons. + /// + /// System-generated unique identifier for a merchandise set (group of mechandise set elements). This is needed for technical reasons. + [DataMember(Name="merchandiseSetGroupID", EmitDefaultValue=false)] + public string MerchandiseSetGroupID { get; set; } + + /// + /// Unique (within the context of the merchandise set) system-generated identifier of the mechandise set element + /// + /// Unique (within the context of the merchandise set) system-generated identifier of the mechandise set element + [DataMember(Name="merchandiseSetID", EmitDefaultValue=false)] + public string MerchandiseSetID { get; set; } + + /// + /// Denotes the total additional bonus quantity that should be granted. Is 0 in case the AdditionalBonusDiscountLineItem does not belong to any applied promotion. + /// + /// Denotes the total additional bonus quantity that should be granted. Is 0 in case the AdditionalBonusDiscountLineItem does not belong to any applied promotion. + [DataMember(Name="totalAdditionalBonusQuantity", EmitDefaultValue=false)] + public double? TotalAdditionalBonusQuantity { get; set; } + + /// + /// Denotes the difference between TotalAdditionalBonusQuantity and the additional bonus items being present in the transaction (total quantity of sale return line items of type 'additional bonus' with concerning AdditionalBonusLineItem.AdditionalBonusID).positive value - there are not enough additional bonus items in the transaction providednegative value - there are too many additional bonus items in transaction provided0 value - match + /// + /// Denotes the difference between TotalAdditionalBonusQuantity and the additional bonus items being present in the transaction (total quantity of sale return line items of type 'additional bonus' with concerning AdditionalBonusLineItem.AdditionalBonusID).positive value - there are not enough additional bonus items in the transaction providednegative value - there are too many additional bonus items in transaction provided0 value - match + [DataMember(Name="quantityDifference", EmitDefaultValue=false)] + public double? QuantityDifference { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" AdditionalBonusID: ").Append(AdditionalBonusID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupIDQualifier: ").Append(MerchandiseHierarchyGroupIDQualifier).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupID: ").Append(MerchandiseHierarchyGroupID).Append("\n"); + sb.Append(" MerchandiseSetGroupID: ").Append(MerchandiseSetGroupID).Append("\n"); + sb.Append(" MerchandiseSetID: ").Append(MerchandiseSetID).Append("\n"); + sb.Append(" TotalAdditionalBonusQuantity: ").Append(TotalAdditionalBonusQuantity).Append("\n"); + sb.Append(" QuantityDifference: ").Append(QuantityDifference).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.AdditionalBonusID == input.AdditionalBonusID || + (this.AdditionalBonusID != null && + this.AdditionalBonusID.Equals(input.AdditionalBonusID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.MerchandiseHierarchyGroupIDQualifier == input.MerchandiseHierarchyGroupIDQualifier || + (this.MerchandiseHierarchyGroupIDQualifier != null && + this.MerchandiseHierarchyGroupIDQualifier.Equals(input.MerchandiseHierarchyGroupIDQualifier)) + ) && + ( + this.MerchandiseHierarchyGroupID == input.MerchandiseHierarchyGroupID || + (this.MerchandiseHierarchyGroupID != null && + this.MerchandiseHierarchyGroupID.Equals(input.MerchandiseHierarchyGroupID)) + ) && + ( + this.MerchandiseSetGroupID == input.MerchandiseSetGroupID || + (this.MerchandiseSetGroupID != null && + this.MerchandiseSetGroupID.Equals(input.MerchandiseSetGroupID)) + ) && + ( + this.MerchandiseSetID == input.MerchandiseSetID || + (this.MerchandiseSetID != null && + this.MerchandiseSetID.Equals(input.MerchandiseSetID)) + ) && + ( + this.TotalAdditionalBonusQuantity == input.TotalAdditionalBonusQuantity || + (this.TotalAdditionalBonusQuantity != null && + this.TotalAdditionalBonusQuantity.Equals(input.TotalAdditionalBonusQuantity)) + ) && + ( + this.QuantityDifference == input.QuantityDifference || + (this.QuantityDifference != null && + this.QuantityDifference.Equals(input.QuantityDifference)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.AdditionalBonusID != null) + hashCode = hashCode * 59 + this.AdditionalBonusID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.MerchandiseHierarchyGroupIDQualifier != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupIDQualifier.GetHashCode(); + if (this.MerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupID.GetHashCode(); + if (this.MerchandiseSetGroupID != null) + hashCode = hashCode * 59 + this.MerchandiseSetGroupID.GetHashCode(); + if (this.MerchandiseSetID != null) + hashCode = hashCode * 59 + this.MerchandiseSetID.GetHashCode(); + if (this.TotalAdditionalBonusQuantity != null) + hashCode = hashCode * 59 + this.TotalAdditionalBonusQuantity.GetHashCode(); + if (this.QuantityDifference != null) + hashCode = hashCode * 59 + this.QuantityDifference.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..450c724b1a08f9c4c7e5f12a10395ed74dec2976 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AdditionalBonusDiscountLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..90ff857908c609b6b6ce24fc7d3b4aa85d81d95f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem.cs @@ -0,0 +1,673 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AdditionalBonusLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The ident of the additional bonus. This is needed by PCE in order to find the corresponding promotion price derivation rules of type 'additional bonus'. (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey), string additionalBonusID = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "additionalBonusID" is required (not null) + if (additionalBonusID == null) + { + throw new InvalidDataException("additionalBonusID is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem and cannot be null"); + } + else + { + this.AdditionalBonusID = additionalBonusID; + } + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey Key { get; set; } + + /// + /// The ident of the additional bonus. This is needed by PCE in order to find the corresponding promotion price derivation rules of type 'additional bonus'. + /// + /// The ident of the additional bonus. This is needed by PCE in order to find the corresponding promotion price derivation rules of type 'additional bonus'. + [DataMember(Name="additionalBonusID", EmitDefaultValue=false)] + public string AdditionalBonusID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" AdditionalBonusID: ").Append(AdditionalBonusID).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.AdditionalBonusID == input.AdditionalBonusID || + (this.AdditionalBonusID != null && + this.AdditionalBonusID.Equals(input.AdditionalBonusID)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.AdditionalBonusID != null) + hashCode = hashCode * 59 + this.AdditionalBonusID.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d9e31ba34512a7bef3f6032bfd65f5bb91d321b4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AdditionalBonusLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. (required). + /// The sequence number of line item within the context of this RetailTransaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction. + /// + /// The sequence number of line item within the context of this RetailTransaction. + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..c5f682dca9a7dfba9522da4d0198eb1cf2253949 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem.cs @@ -0,0 +1,376 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckTenderLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The complete string of characters read from the MICR (Magnetic Ink Character Recognition) strip.Content varies by Country and/or Financial Institution but it usually contains BankID, CheckAccountNumber and CheckSequenceNumber - but there may be more data encoded in the MICR.. + /// A unique sequence number relating to a particular check authorization.. + /// A code to denote that approval has been received from the authorization center.. + /// The number from a bank issued card guaranteeing checks up to a certain value.. + /// The unique identifier of the bank or third party authorization center.. + /// The check account number. + /// Bank Identifier Code. Also known as SWIFT Code.. + /// International Bank Account Number. + /// A unique sequence number relating to a particular check authorization.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem(ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey), string fullMICR = default(string), int? checkSequenceNumber = default(int?), string adjudicationCode = default(string), string checkCardNumber = default(string), string bankID = default(string), string checkAccountNumber = default(string), string bankIdentifierCode = default(string), string internationalBankAccountNumber = default(string), string checkNumber = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem and cannot be null"); + } + else + { + this.Key = key; + } + this.FullMICR = fullMICR; + this.CheckSequenceNumber = checkSequenceNumber; + this.AdjudicationCode = adjudicationCode; + this.CheckCardNumber = checkCardNumber; + this.BankID = bankID; + this.CheckAccountNumber = checkAccountNumber; + this.BankIdentifierCode = bankIdentifierCode; + this.InternationalBankAccountNumber = internationalBankAccountNumber; + this.CheckNumber = checkNumber; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey Key { get; set; } + + /// + /// The complete string of characters read from the MICR (Magnetic Ink Character Recognition) strip.Content varies by Country and/or Financial Institution but it usually contains BankID, CheckAccountNumber and CheckSequenceNumber - but there may be more data encoded in the MICR. + /// + /// The complete string of characters read from the MICR (Magnetic Ink Character Recognition) strip.Content varies by Country and/or Financial Institution but it usually contains BankID, CheckAccountNumber and CheckSequenceNumber - but there may be more data encoded in the MICR. + [DataMember(Name="fullMICR", EmitDefaultValue=false)] + public string FullMICR { get; set; } + + /// + /// A unique sequence number relating to a particular check authorization. + /// + /// A unique sequence number relating to a particular check authorization. + [DataMember(Name="checkSequenceNumber", EmitDefaultValue=false)] + public int? CheckSequenceNumber { get; set; } + + /// + /// A code to denote that approval has been received from the authorization center. + /// + /// A code to denote that approval has been received from the authorization center. + [DataMember(Name="adjudicationCode", EmitDefaultValue=false)] + public string AdjudicationCode { get; set; } + + /// + /// The number from a bank issued card guaranteeing checks up to a certain value. + /// + /// The number from a bank issued card guaranteeing checks up to a certain value. + [DataMember(Name="checkCardNumber", EmitDefaultValue=false)] + public string CheckCardNumber { get; set; } + + /// + /// The unique identifier of the bank or third party authorization center. + /// + /// The unique identifier of the bank or third party authorization center. + [DataMember(Name="bankID", EmitDefaultValue=false)] + public string BankID { get; set; } + + /// + /// The check account number + /// + /// The check account number + [DataMember(Name="checkAccountNumber", EmitDefaultValue=false)] + public string CheckAccountNumber { get; set; } + + /// + /// Bank Identifier Code. Also known as SWIFT Code. + /// + /// Bank Identifier Code. Also known as SWIFT Code. + [DataMember(Name="bankIdentifierCode", EmitDefaultValue=false)] + public string BankIdentifierCode { get; set; } + + /// + /// International Bank Account Number + /// + /// International Bank Account Number + [DataMember(Name="internationalBankAccountNumber", EmitDefaultValue=false)] + public string InternationalBankAccountNumber { get; set; } + + /// + /// A unique sequence number relating to a particular check authorization. + /// + /// A unique sequence number relating to a particular check authorization. + [DataMember(Name="checkNumber", EmitDefaultValue=false)] + public string CheckNumber { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" FullMICR: ").Append(FullMICR).Append("\n"); + sb.Append(" CheckSequenceNumber: ").Append(CheckSequenceNumber).Append("\n"); + sb.Append(" AdjudicationCode: ").Append(AdjudicationCode).Append("\n"); + sb.Append(" CheckCardNumber: ").Append(CheckCardNumber).Append("\n"); + sb.Append(" BankID: ").Append(BankID).Append("\n"); + sb.Append(" CheckAccountNumber: ").Append(CheckAccountNumber).Append("\n"); + sb.Append(" BankIdentifierCode: ").Append(BankIdentifierCode).Append("\n"); + sb.Append(" InternationalBankAccountNumber: ").Append(InternationalBankAccountNumber).Append("\n"); + sb.Append(" CheckNumber: ").Append(CheckNumber).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.FullMICR == input.FullMICR || + (this.FullMICR != null && + this.FullMICR.Equals(input.FullMICR)) + ) && + ( + this.CheckSequenceNumber == input.CheckSequenceNumber || + (this.CheckSequenceNumber != null && + this.CheckSequenceNumber.Equals(input.CheckSequenceNumber)) + ) && + ( + this.AdjudicationCode == input.AdjudicationCode || + (this.AdjudicationCode != null && + this.AdjudicationCode.Equals(input.AdjudicationCode)) + ) && + ( + this.CheckCardNumber == input.CheckCardNumber || + (this.CheckCardNumber != null && + this.CheckCardNumber.Equals(input.CheckCardNumber)) + ) && + ( + this.BankID == input.BankID || + (this.BankID != null && + this.BankID.Equals(input.BankID)) + ) && + ( + this.CheckAccountNumber == input.CheckAccountNumber || + (this.CheckAccountNumber != null && + this.CheckAccountNumber.Equals(input.CheckAccountNumber)) + ) && + ( + this.BankIdentifierCode == input.BankIdentifierCode || + (this.BankIdentifierCode != null && + this.BankIdentifierCode.Equals(input.BankIdentifierCode)) + ) && + ( + this.InternationalBankAccountNumber == input.InternationalBankAccountNumber || + (this.InternationalBankAccountNumber != null && + this.InternationalBankAccountNumber.Equals(input.InternationalBankAccountNumber)) + ) && + ( + this.CheckNumber == input.CheckNumber || + (this.CheckNumber != null && + this.CheckNumber.Equals(input.CheckNumber)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.FullMICR != null) + hashCode = hashCode * 59 + this.FullMICR.GetHashCode(); + if (this.CheckSequenceNumber != null) + hashCode = hashCode * 59 + this.CheckSequenceNumber.GetHashCode(); + if (this.AdjudicationCode != null) + hashCode = hashCode * 59 + this.AdjudicationCode.GetHashCode(); + if (this.CheckCardNumber != null) + hashCode = hashCode * 59 + this.CheckCardNumber.GetHashCode(); + if (this.BankID != null) + hashCode = hashCode * 59 + this.BankID.GetHashCode(); + if (this.CheckAccountNumber != null) + hashCode = hashCode * 59 + this.CheckAccountNumber.GetHashCode(); + if (this.BankIdentifierCode != null) + hashCode = hashCode * 59 + this.BankIdentifierCode.GetHashCode(); + if (this.InternationalBankAccountNumber != null) + hashCode = hashCode * 59 + this.InternationalBankAccountNumber.GetHashCode(); + if (this.CheckNumber != null) + hashCode = hashCode * 59 + this.CheckNumber.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..7357b3fb2bec454ffbc2f9d2ccc0dcac6fff3382 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckTenderLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..3b4bcbed866bc96b777bee7a91a45d7ee517504d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction.cs @@ -0,0 +1,205 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CompleteTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// List of transactions that influence meaning of of the transaction. + /// True if this transaction state was checked against central service.False means that the state might not be quite right, but we optimisticallyallow client to continue. (required). + /// Checksum of correlated transactions, to be used while construction correlation attributes (required). + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction(ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey), List correlatedToList = default(List), bool? onlineChecked = default(bool?), string checksum = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "onlineChecked" is required (not null) + if (onlineChecked == null) + { + throw new InvalidDataException("onlineChecked is a required property for ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction and cannot be null"); + } + else + { + this.OnlineChecked = onlineChecked; + } + // to ensure "checksum" is required (not null) + if (checksum == null) + { + throw new InvalidDataException("checksum is a required property for ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction and cannot be null"); + } + else + { + this.Checksum = checksum; + } + this.CorrelatedToList = correlatedToList; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey Key { get; set; } + + /// + /// List of transactions that influence meaning of of the transaction + /// + /// List of transactions that influence meaning of of the transaction + [DataMember(Name="correlatedToList", EmitDefaultValue=false)] + public List CorrelatedToList { get; set; } + + /// + /// True if this transaction state was checked against central service.False means that the state might not be quite right, but we optimisticallyallow client to continue. + /// + /// True if this transaction state was checked against central service.False means that the state might not be quite right, but we optimisticallyallow client to continue. + [DataMember(Name="onlineChecked", EmitDefaultValue=false)] + public bool? OnlineChecked { get; set; } + + /// + /// Checksum of correlated transactions, to be used while construction correlation attributes + /// + /// Checksum of correlated transactions, to be used while construction correlation attributes + [DataMember(Name="checksum", EmitDefaultValue=false)] + public string Checksum { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CorrelatedToList: ").Append(CorrelatedToList).Append("\n"); + sb.Append(" OnlineChecked: ").Append(OnlineChecked).Append("\n"); + sb.Append(" Checksum: ").Append(Checksum).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CorrelatedToList == input.CorrelatedToList || + this.CorrelatedToList != null && + this.CorrelatedToList.SequenceEqual(input.CorrelatedToList) + ) && + ( + this.OnlineChecked == input.OnlineChecked || + (this.OnlineChecked != null && + this.OnlineChecked.Equals(input.OnlineChecked)) + ) && + ( + this.Checksum == input.Checksum || + (this.Checksum != null && + this.Checksum.Equals(input.Checksum)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CorrelatedToList != null) + hashCode = hashCode * 59 + this.CorrelatedToList.GetHashCode(); + if (this.OnlineChecked != null) + hashCode = hashCode * 59 + this.OnlineChecked.GetHashCode(); + if (this.Checksum != null) + hashCode = hashCode * 59 + this.Checksum.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5eb3b2303aad6d8b5aa0cb278150d4add2871a5d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CompleteTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// The transaction itself (required). + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction)) + { + // to ensure "transaction" is required (not null) + if (transaction == null) + { + throw new InvalidDataException("transaction is a required property for ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey and cannot be null"); + } + else + { + this.Transaction = transaction; + } + } + + /// + /// The transaction itself + /// + /// The transaction itself + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoControlTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoControlTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..ec35f659cc29dc9a0621a2acc5d15b184b8bb1e3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoControlTransaction.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ControlTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoControlTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoControlTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A code that describes the type of control transaction.. + /// data for fuel. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// data for no sale transactions. + /// data for sign on transactons. + /// data for sign off transactons. + /// data for till tender settlements. + /// data for store safe tender settlements. + /// data for safebag status changes. + /// data for safebag settlements. + /// data for tax refund. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoControlTransaction(ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey), string typeCode = default(string), ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction fuelingTransaction = default(ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), List posnoSaleTransactionList = default(List), List signOnTransactionList = default(List), List signOffTransactionList = default(List), List tillTenderSettlementTransactionList = default(List), List storeSafeSettlementTransactionList = default(List), List depositBagTransactionList = default(List), List depositBagSettlementTransactionList = default(List), List taxRefundTransactionList = default(List), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoControlTransaction and cannot be null"); + } + else + { + this.Key = key; + } + this.TypeCode = typeCode; + this.FuelingTransaction = fuelingTransaction; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.PosnoSaleTransactionList = posnoSaleTransactionList; + this.SignOnTransactionList = signOnTransactionList; + this.SignOffTransactionList = signOffTransactionList; + this.TillTenderSettlementTransactionList = tillTenderSettlementTransactionList; + this.StoreSafeSettlementTransactionList = storeSafeSettlementTransactionList; + this.DepositBagTransactionList = depositBagTransactionList; + this.DepositBagSettlementTransactionList = depositBagSettlementTransactionList; + this.TaxRefundTransactionList = taxRefundTransactionList; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey Key { get; set; } + + /// + /// A code that describes the type of control transaction. + /// + /// A code that describes the type of control transaction. + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// data for fuel + /// + /// data for fuel + [DataMember(Name="fuelingTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction FuelingTransaction { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// data for no sale transactions + /// + /// data for no sale transactions + [DataMember(Name="posnoSaleTransactionList", EmitDefaultValue=false)] + public List PosnoSaleTransactionList { get; set; } + + /// + /// data for sign on transactons + /// + /// data for sign on transactons + [DataMember(Name="signOnTransactionList", EmitDefaultValue=false)] + public List SignOnTransactionList { get; set; } + + /// + /// data for sign off transactons + /// + /// data for sign off transactons + [DataMember(Name="signOffTransactionList", EmitDefaultValue=false)] + public List SignOffTransactionList { get; set; } + + /// + /// data for till tender settlements + /// + /// data for till tender settlements + [DataMember(Name="tillTenderSettlementTransactionList", EmitDefaultValue=false)] + public List TillTenderSettlementTransactionList { get; set; } + + /// + /// data for store safe tender settlements + /// + /// data for store safe tender settlements + [DataMember(Name="storeSafeSettlementTransactionList", EmitDefaultValue=false)] + public List StoreSafeSettlementTransactionList { get; set; } + + /// + /// data for safebag status changes + /// + /// data for safebag status changes + [DataMember(Name="depositBagTransactionList", EmitDefaultValue=false)] + public List DepositBagTransactionList { get; set; } + + /// + /// data for safebag settlements + /// + /// data for safebag settlements + [DataMember(Name="depositBagSettlementTransactionList", EmitDefaultValue=false)] + public List DepositBagSettlementTransactionList { get; set; } + + /// + /// data for tax refund + /// + /// data for tax refund + [DataMember(Name="taxRefundTransactionList", EmitDefaultValue=false)] + public List TaxRefundTransactionList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoControlTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" FuelingTransaction: ").Append(FuelingTransaction).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" PosnoSaleTransactionList: ").Append(PosnoSaleTransactionList).Append("\n"); + sb.Append(" SignOnTransactionList: ").Append(SignOnTransactionList).Append("\n"); + sb.Append(" SignOffTransactionList: ").Append(SignOffTransactionList).Append("\n"); + sb.Append(" TillTenderSettlementTransactionList: ").Append(TillTenderSettlementTransactionList).Append("\n"); + sb.Append(" StoreSafeSettlementTransactionList: ").Append(StoreSafeSettlementTransactionList).Append("\n"); + sb.Append(" DepositBagTransactionList: ").Append(DepositBagTransactionList).Append("\n"); + sb.Append(" DepositBagSettlementTransactionList: ").Append(DepositBagSettlementTransactionList).Append("\n"); + sb.Append(" TaxRefundTransactionList: ").Append(TaxRefundTransactionList).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoControlTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoControlTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoControlTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoControlTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.FuelingTransaction == input.FuelingTransaction || + (this.FuelingTransaction != null && + this.FuelingTransaction.Equals(input.FuelingTransaction)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.PosnoSaleTransactionList == input.PosnoSaleTransactionList || + this.PosnoSaleTransactionList != null && + this.PosnoSaleTransactionList.SequenceEqual(input.PosnoSaleTransactionList) + ) && + ( + this.SignOnTransactionList == input.SignOnTransactionList || + this.SignOnTransactionList != null && + this.SignOnTransactionList.SequenceEqual(input.SignOnTransactionList) + ) && + ( + this.SignOffTransactionList == input.SignOffTransactionList || + this.SignOffTransactionList != null && + this.SignOffTransactionList.SequenceEqual(input.SignOffTransactionList) + ) && + ( + this.TillTenderSettlementTransactionList == input.TillTenderSettlementTransactionList || + this.TillTenderSettlementTransactionList != null && + this.TillTenderSettlementTransactionList.SequenceEqual(input.TillTenderSettlementTransactionList) + ) && + ( + this.StoreSafeSettlementTransactionList == input.StoreSafeSettlementTransactionList || + this.StoreSafeSettlementTransactionList != null && + this.StoreSafeSettlementTransactionList.SequenceEqual(input.StoreSafeSettlementTransactionList) + ) && + ( + this.DepositBagTransactionList == input.DepositBagTransactionList || + this.DepositBagTransactionList != null && + this.DepositBagTransactionList.SequenceEqual(input.DepositBagTransactionList) + ) && + ( + this.DepositBagSettlementTransactionList == input.DepositBagSettlementTransactionList || + this.DepositBagSettlementTransactionList != null && + this.DepositBagSettlementTransactionList.SequenceEqual(input.DepositBagSettlementTransactionList) + ) && + ( + this.TaxRefundTransactionList == input.TaxRefundTransactionList || + this.TaxRefundTransactionList != null && + this.TaxRefundTransactionList.SequenceEqual(input.TaxRefundTransactionList) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.FuelingTransaction != null) + hashCode = hashCode * 59 + this.FuelingTransaction.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.PosnoSaleTransactionList != null) + hashCode = hashCode * 59 + this.PosnoSaleTransactionList.GetHashCode(); + if (this.SignOnTransactionList != null) + hashCode = hashCode * 59 + this.SignOnTransactionList.GetHashCode(); + if (this.SignOffTransactionList != null) + hashCode = hashCode * 59 + this.SignOffTransactionList.GetHashCode(); + if (this.TillTenderSettlementTransactionList != null) + hashCode = hashCode * 59 + this.TillTenderSettlementTransactionList.GetHashCode(); + if (this.StoreSafeSettlementTransactionList != null) + hashCode = hashCode * 59 + this.StoreSafeSettlementTransactionList.GetHashCode(); + if (this.DepositBagTransactionList != null) + hashCode = hashCode * 59 + this.DepositBagTransactionList.GetHashCode(); + if (this.DepositBagSettlementTransactionList != null) + hashCode = hashCode * 59 + this.DepositBagSettlementTransactionList.GetHashCode(); + if (this.TaxRefundTransactionList != null) + hashCode = hashCode * 59 + this.TaxRefundTransactionList.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b7f401999bca6daa34fc4c23be5828fff7e4d39c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ControlTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..4c1ee82e0719015d996942f8744f3a2f50196e08 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination.cs @@ -0,0 +1,365 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagSettlementTenderDenomination <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The denomination type code. + /// Piece value  (required). + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) (required). + /// Count of coins in the roll  (required). + /// The count of the denomination (required). + /// The total amount of the denomination (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey key = default(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey), string typeCode = default(string), double? pieceValue = default(double?), bool? rollFlag = default(bool?), double? rollCapacity = default(double?), double? denominationCount = default(double?), double? denominationAmount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "pieceValue" is required (not null) + if (pieceValue == null) + { + throw new InvalidDataException("pieceValue is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination and cannot be null"); + } + else + { + this.PieceValue = pieceValue; + } + // to ensure "rollFlag" is required (not null) + if (rollFlag == null) + { + throw new InvalidDataException("rollFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination and cannot be null"); + } + else + { + this.RollFlag = rollFlag; + } + // to ensure "rollCapacity" is required (not null) + if (rollCapacity == null) + { + throw new InvalidDataException("rollCapacity is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination and cannot be null"); + } + else + { + this.RollCapacity = rollCapacity; + } + // to ensure "denominationCount" is required (not null) + if (denominationCount == null) + { + throw new InvalidDataException("denominationCount is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination and cannot be null"); + } + else + { + this.DenominationCount = denominationCount; + } + // to ensure "denominationAmount" is required (not null) + if (denominationAmount == null) + { + throw new InvalidDataException("denominationAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination and cannot be null"); + } + else + { + this.DenominationAmount = denominationAmount; + } + this.TypeCode = typeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey Key { get; set; } + + /// + /// The denomination type code + /// + /// The denomination type code + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// Piece value  + /// + /// Piece value  + [DataMember(Name="pieceValue", EmitDefaultValue=false)] + public double? PieceValue { get; set; } + + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + [DataMember(Name="rollFlag", EmitDefaultValue=false)] + public bool? RollFlag { get; set; } + + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + [DataMember(Name="rollCapacity", EmitDefaultValue=false)] + public double? RollCapacity { get; set; } + + /// + /// The count of the denomination + /// + /// The count of the denomination + [DataMember(Name="denominationCount", EmitDefaultValue=false)] + public double? DenominationCount { get; set; } + + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + [DataMember(Name="denominationAmount", EmitDefaultValue=false)] + public double? DenominationAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" PieceValue: ").Append(PieceValue).Append("\n"); + sb.Append(" RollFlag: ").Append(RollFlag).Append("\n"); + sb.Append(" RollCapacity: ").Append(RollCapacity).Append("\n"); + sb.Append(" DenominationCount: ").Append(DenominationCount).Append("\n"); + sb.Append(" DenominationAmount: ").Append(DenominationAmount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.PieceValue == input.PieceValue || + (this.PieceValue != null && + this.PieceValue.Equals(input.PieceValue)) + ) && + ( + this.RollFlag == input.RollFlag || + (this.RollFlag != null && + this.RollFlag.Equals(input.RollFlag)) + ) && + ( + this.RollCapacity == input.RollCapacity || + (this.RollCapacity != null && + this.RollCapacity.Equals(input.RollCapacity)) + ) && + ( + this.DenominationCount == input.DenominationCount || + (this.DenominationCount != null && + this.DenominationCount.Equals(input.DenominationCount)) + ) && + ( + this.DenominationAmount == input.DenominationAmount || + (this.DenominationAmount != null && + this.DenominationAmount.Equals(input.DenominationAmount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.PieceValue != null) + hashCode = hashCode * 59 + this.PieceValue.GetHashCode(); + if (this.RollFlag != null) + hashCode = hashCode * 59 + this.RollFlag.GetHashCode(); + if (this.RollCapacity != null) + hashCode = hashCode * 59 + this.RollCapacity.GetHashCode(); + if (this.DenominationCount != null) + hashCode = hashCode * 59 + this.DenominationCount.GetHashCode(); + if (this.DenominationAmount != null) + hashCode = hashCode * 59 + this.DenominationAmount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5cc99934a053dc033c58e18a8aa7ea8bfed12c09 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagSettlementTenderDenomination.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. (required). + /// Line number (incremental counter) of the denomination  (required). + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderTypeCode = default(string), int? denominationSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + // to ensure "denominationSequenceNumber" is required (not null) + if (denominationSequenceNumber == null) + { + throw new InvalidDataException("denominationSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.DenominationSequenceNumber = denominationSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + [DataMember(Name="denominationSequenceNumber", EmitDefaultValue=false)] + public int? DenominationSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" DenominationSequenceNumber: ").Append(DenominationSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.DenominationSequenceNumber == input.DenominationSequenceNumber || + (this.DenominationSequenceNumber != null && + this.DenominationSequenceNumber.Equals(input.DenominationSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.DenominationSequenceNumber != null) + hashCode = hashCode * 59 + this.DenominationSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..3e3cf78e17f9eb77a3f3affa0a7d58e4fe8323ad --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail.cs @@ -0,0 +1,602 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagSettlementTenderDetail <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Description of the tender. + /// The tender class code from master data. + /// The currency symbol. + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value!. + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  (required). + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  (required). + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  (required). + /// The opening tender balance (required). + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The closing tender balance in main currencyCorresponds to the target values. (required). + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The counted tender balance in main currency (required). + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount (required). + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity.. + /// denomination list for counted values. + /// Customizable information . + /// The currency code of the tender. + /// Customizable information . + /// Customizable information . + /// Customizable information . + /// Customizable information . + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey key = default(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey), string tenderDescription = default(string), string tenderClassCode = default(string), string currencySymbol = default(string), double? exchangeRate = default(double?), bool? exchangeRateMultiplyFlag = default(bool?), bool? unitCountRequiredFlag = default(bool?), bool? amountCountRequiredFlag = default(bool?), double? openBalanceAmount = default(double?), int? openMediaUnitQuantity = default(int?), double? closeBalanceAmount = default(double?), double? foreignCurrencyCloseBalanceAmount = default(double?), int? closeMediaUnitQuantity = default(int?), double? countedBalanceAmount = default(double?), double? foreignCurrencyCountedBalanceAmount = default(double?), int? countedMediaUnitQuantity = default(int?), double? overUnderBalanceAmount = default(double?), int? overUnderMediaUnitQuantity = default(int?), List depositBagSettlementTenderDenominationList = default(List), string xxcustom05 = default(string), string isocurrencyCode = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "exchangeRateMultiplyFlag" is required (not null) + if (exchangeRateMultiplyFlag == null) + { + throw new InvalidDataException("exchangeRateMultiplyFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.ExchangeRateMultiplyFlag = exchangeRateMultiplyFlag; + } + // to ensure "unitCountRequiredFlag" is required (not null) + if (unitCountRequiredFlag == null) + { + throw new InvalidDataException("unitCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.UnitCountRequiredFlag = unitCountRequiredFlag; + } + // to ensure "amountCountRequiredFlag" is required (not null) + if (amountCountRequiredFlag == null) + { + throw new InvalidDataException("amountCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.AmountCountRequiredFlag = amountCountRequiredFlag; + } + // to ensure "openBalanceAmount" is required (not null) + if (openBalanceAmount == null) + { + throw new InvalidDataException("openBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.OpenBalanceAmount = openBalanceAmount; + } + // to ensure "closeBalanceAmount" is required (not null) + if (closeBalanceAmount == null) + { + throw new InvalidDataException("closeBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.CloseBalanceAmount = closeBalanceAmount; + } + // to ensure "countedBalanceAmount" is required (not null) + if (countedBalanceAmount == null) + { + throw new InvalidDataException("countedBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.CountedBalanceAmount = countedBalanceAmount; + } + // to ensure "overUnderBalanceAmount" is required (not null) + if (overUnderBalanceAmount == null) + { + throw new InvalidDataException("overUnderBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail and cannot be null"); + } + else + { + this.OverUnderBalanceAmount = overUnderBalanceAmount; + } + this.TenderDescription = tenderDescription; + this.TenderClassCode = tenderClassCode; + this.CurrencySymbol = currencySymbol; + this.ExchangeRate = exchangeRate; + this.OpenMediaUnitQuantity = openMediaUnitQuantity; + this.ForeignCurrencyCloseBalanceAmount = foreignCurrencyCloseBalanceAmount; + this.CloseMediaUnitQuantity = closeMediaUnitQuantity; + this.ForeignCurrencyCountedBalanceAmount = foreignCurrencyCountedBalanceAmount; + this.CountedMediaUnitQuantity = countedMediaUnitQuantity; + this.OverUnderMediaUnitQuantity = overUnderMediaUnitQuantity; + this.DepositBagSettlementTenderDenominationList = depositBagSettlementTenderDenominationList; + this.Xxcustom05 = xxcustom05; + this.IsocurrencyCode = isocurrencyCode; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey Key { get; set; } + + /// + /// Description of the tender + /// + /// Description of the tender + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// The tender class code from master data + /// + /// The tender class code from master data + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// The currency symbol + /// + /// The currency symbol + [DataMember(Name="currencySymbol", EmitDefaultValue=false)] + public string CurrencySymbol { get; set; } + + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + [DataMember(Name="exchangeRateMultiplyFlag", EmitDefaultValue=false)] + public bool? ExchangeRateMultiplyFlag { get; set; } + + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + [DataMember(Name="unitCountRequiredFlag", EmitDefaultValue=false)] + public bool? UnitCountRequiredFlag { get; set; } + + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + [DataMember(Name="amountCountRequiredFlag", EmitDefaultValue=false)] + public bool? AmountCountRequiredFlag { get; set; } + + /// + /// The opening tender balance + /// + /// The opening tender balance + [DataMember(Name="openBalanceAmount", EmitDefaultValue=false)] + public double? OpenBalanceAmount { get; set; } + + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="openMediaUnitQuantity", EmitDefaultValue=false)] + public int? OpenMediaUnitQuantity { get; set; } + + /// + /// The closing tender balance in main currencyCorresponds to the target values. + /// + /// The closing tender balance in main currencyCorresponds to the target values. + [DataMember(Name="closeBalanceAmount", EmitDefaultValue=false)] + public double? CloseBalanceAmount { get; set; } + + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="foreignCurrencyCloseBalanceAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyCloseBalanceAmount { get; set; } + + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="closeMediaUnitQuantity", EmitDefaultValue=false)] + public int? CloseMediaUnitQuantity { get; set; } + + /// + /// The counted tender balance in main currency + /// + /// The counted tender balance in main currency + [DataMember(Name="countedBalanceAmount", EmitDefaultValue=false)] + public double? CountedBalanceAmount { get; set; } + + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="foreignCurrencyCountedBalanceAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyCountedBalanceAmount { get; set; } + + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="countedMediaUnitQuantity", EmitDefaultValue=false)] + public int? CountedMediaUnitQuantity { get; set; } + + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + [DataMember(Name="overUnderBalanceAmount", EmitDefaultValue=false)] + public double? OverUnderBalanceAmount { get; set; } + + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + [DataMember(Name="overUnderMediaUnitQuantity", EmitDefaultValue=false)] + public int? OverUnderMediaUnitQuantity { get; set; } + + /// + /// denomination list for counted values + /// + /// denomination list for counted values + [DataMember(Name="depositBagSettlementTenderDenominationList", EmitDefaultValue=false)] + public List DepositBagSettlementTenderDenominationList { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// The currency code of the tender + /// + /// The currency code of the tender + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" CurrencySymbol: ").Append(CurrencySymbol).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" ExchangeRateMultiplyFlag: ").Append(ExchangeRateMultiplyFlag).Append("\n"); + sb.Append(" UnitCountRequiredFlag: ").Append(UnitCountRequiredFlag).Append("\n"); + sb.Append(" AmountCountRequiredFlag: ").Append(AmountCountRequiredFlag).Append("\n"); + sb.Append(" OpenBalanceAmount: ").Append(OpenBalanceAmount).Append("\n"); + sb.Append(" OpenMediaUnitQuantity: ").Append(OpenMediaUnitQuantity).Append("\n"); + sb.Append(" CloseBalanceAmount: ").Append(CloseBalanceAmount).Append("\n"); + sb.Append(" ForeignCurrencyCloseBalanceAmount: ").Append(ForeignCurrencyCloseBalanceAmount).Append("\n"); + sb.Append(" CloseMediaUnitQuantity: ").Append(CloseMediaUnitQuantity).Append("\n"); + sb.Append(" CountedBalanceAmount: ").Append(CountedBalanceAmount).Append("\n"); + sb.Append(" ForeignCurrencyCountedBalanceAmount: ").Append(ForeignCurrencyCountedBalanceAmount).Append("\n"); + sb.Append(" CountedMediaUnitQuantity: ").Append(CountedMediaUnitQuantity).Append("\n"); + sb.Append(" OverUnderBalanceAmount: ").Append(OverUnderBalanceAmount).Append("\n"); + sb.Append(" OverUnderMediaUnitQuantity: ").Append(OverUnderMediaUnitQuantity).Append("\n"); + sb.Append(" DepositBagSettlementTenderDenominationList: ").Append(DepositBagSettlementTenderDenominationList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.CurrencySymbol == input.CurrencySymbol || + (this.CurrencySymbol != null && + this.CurrencySymbol.Equals(input.CurrencySymbol)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.ExchangeRateMultiplyFlag == input.ExchangeRateMultiplyFlag || + (this.ExchangeRateMultiplyFlag != null && + this.ExchangeRateMultiplyFlag.Equals(input.ExchangeRateMultiplyFlag)) + ) && + ( + this.UnitCountRequiredFlag == input.UnitCountRequiredFlag || + (this.UnitCountRequiredFlag != null && + this.UnitCountRequiredFlag.Equals(input.UnitCountRequiredFlag)) + ) && + ( + this.AmountCountRequiredFlag == input.AmountCountRequiredFlag || + (this.AmountCountRequiredFlag != null && + this.AmountCountRequiredFlag.Equals(input.AmountCountRequiredFlag)) + ) && + ( + this.OpenBalanceAmount == input.OpenBalanceAmount || + (this.OpenBalanceAmount != null && + this.OpenBalanceAmount.Equals(input.OpenBalanceAmount)) + ) && + ( + this.OpenMediaUnitQuantity == input.OpenMediaUnitQuantity || + (this.OpenMediaUnitQuantity != null && + this.OpenMediaUnitQuantity.Equals(input.OpenMediaUnitQuantity)) + ) && + ( + this.CloseBalanceAmount == input.CloseBalanceAmount || + (this.CloseBalanceAmount != null && + this.CloseBalanceAmount.Equals(input.CloseBalanceAmount)) + ) && + ( + this.ForeignCurrencyCloseBalanceAmount == input.ForeignCurrencyCloseBalanceAmount || + (this.ForeignCurrencyCloseBalanceAmount != null && + this.ForeignCurrencyCloseBalanceAmount.Equals(input.ForeignCurrencyCloseBalanceAmount)) + ) && + ( + this.CloseMediaUnitQuantity == input.CloseMediaUnitQuantity || + (this.CloseMediaUnitQuantity != null && + this.CloseMediaUnitQuantity.Equals(input.CloseMediaUnitQuantity)) + ) && + ( + this.CountedBalanceAmount == input.CountedBalanceAmount || + (this.CountedBalanceAmount != null && + this.CountedBalanceAmount.Equals(input.CountedBalanceAmount)) + ) && + ( + this.ForeignCurrencyCountedBalanceAmount == input.ForeignCurrencyCountedBalanceAmount || + (this.ForeignCurrencyCountedBalanceAmount != null && + this.ForeignCurrencyCountedBalanceAmount.Equals(input.ForeignCurrencyCountedBalanceAmount)) + ) && + ( + this.CountedMediaUnitQuantity == input.CountedMediaUnitQuantity || + (this.CountedMediaUnitQuantity != null && + this.CountedMediaUnitQuantity.Equals(input.CountedMediaUnitQuantity)) + ) && + ( + this.OverUnderBalanceAmount == input.OverUnderBalanceAmount || + (this.OverUnderBalanceAmount != null && + this.OverUnderBalanceAmount.Equals(input.OverUnderBalanceAmount)) + ) && + ( + this.OverUnderMediaUnitQuantity == input.OverUnderMediaUnitQuantity || + (this.OverUnderMediaUnitQuantity != null && + this.OverUnderMediaUnitQuantity.Equals(input.OverUnderMediaUnitQuantity)) + ) && + ( + this.DepositBagSettlementTenderDenominationList == input.DepositBagSettlementTenderDenominationList || + this.DepositBagSettlementTenderDenominationList != null && + this.DepositBagSettlementTenderDenominationList.SequenceEqual(input.DepositBagSettlementTenderDenominationList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.CurrencySymbol != null) + hashCode = hashCode * 59 + this.CurrencySymbol.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.ExchangeRateMultiplyFlag != null) + hashCode = hashCode * 59 + this.ExchangeRateMultiplyFlag.GetHashCode(); + if (this.UnitCountRequiredFlag != null) + hashCode = hashCode * 59 + this.UnitCountRequiredFlag.GetHashCode(); + if (this.AmountCountRequiredFlag != null) + hashCode = hashCode * 59 + this.AmountCountRequiredFlag.GetHashCode(); + if (this.OpenBalanceAmount != null) + hashCode = hashCode * 59 + this.OpenBalanceAmount.GetHashCode(); + if (this.OpenMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.OpenMediaUnitQuantity.GetHashCode(); + if (this.CloseBalanceAmount != null) + hashCode = hashCode * 59 + this.CloseBalanceAmount.GetHashCode(); + if (this.ForeignCurrencyCloseBalanceAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCloseBalanceAmount.GetHashCode(); + if (this.CloseMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.CloseMediaUnitQuantity.GetHashCode(); + if (this.CountedBalanceAmount != null) + hashCode = hashCode * 59 + this.CountedBalanceAmount.GetHashCode(); + if (this.ForeignCurrencyCountedBalanceAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCountedBalanceAmount.GetHashCode(); + if (this.CountedMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.CountedMediaUnitQuantity.GetHashCode(); + if (this.OverUnderBalanceAmount != null) + hashCode = hashCode * 59 + this.OverUnderBalanceAmount.GetHashCode(); + if (this.OverUnderMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.OverUnderMediaUnitQuantity.GetHashCode(); + if (this.DepositBagSettlementTenderDenominationList != null) + hashCode = hashCode * 59 + this.DepositBagSettlementTenderDenominationList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6691b239dc6efe8d1bf4c3e4b5e161fb9cbca09d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagSettlementTenderDetail.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A code which uniquely identifies the tender (required). + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..540ed7bff5ad7dd6af048bf476545cadd4ad8d21 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction.cs @@ -0,0 +1,290 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagSettlementTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. (required). + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. (required). + /// tender details. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey), string depositBagID = default(string), string depositBagNumber = default(string), List depositBagSettlementTenderDetailList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "depositBagID" is required (not null) + if (depositBagID == null) + { + throw new InvalidDataException("depositBagID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction and cannot be null"); + } + else + { + this.DepositBagID = depositBagID; + } + // to ensure "depositBagNumber" is required (not null) + if (depositBagNumber == null) + { + throw new InvalidDataException("depositBagNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction and cannot be null"); + } + else + { + this.DepositBagNumber = depositBagNumber; + } + this.DepositBagSettlementTenderDetailList = depositBagSettlementTenderDetailList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey Key { get; set; } + + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + [DataMember(Name="depositBagID", EmitDefaultValue=false)] + public string DepositBagID { get; set; } + + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + [DataMember(Name="depositBagNumber", EmitDefaultValue=false)] + public string DepositBagNumber { get; set; } + + /// + /// tender details + /// + /// tender details + [DataMember(Name="depositBagSettlementTenderDetailList", EmitDefaultValue=false)] + public List DepositBagSettlementTenderDetailList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" DepositBagID: ").Append(DepositBagID).Append("\n"); + sb.Append(" DepositBagNumber: ").Append(DepositBagNumber).Append("\n"); + sb.Append(" DepositBagSettlementTenderDetailList: ").Append(DepositBagSettlementTenderDetailList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.DepositBagID == input.DepositBagID || + (this.DepositBagID != null && + this.DepositBagID.Equals(input.DepositBagID)) + ) && + ( + this.DepositBagNumber == input.DepositBagNumber || + (this.DepositBagNumber != null && + this.DepositBagNumber.Equals(input.DepositBagNumber)) + ) && + ( + this.DepositBagSettlementTenderDetailList == input.DepositBagSettlementTenderDetailList || + this.DepositBagSettlementTenderDetailList != null && + this.DepositBagSettlementTenderDetailList.SequenceEqual(input.DepositBagSettlementTenderDetailList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.DepositBagID != null) + hashCode = hashCode * 59 + this.DepositBagID.GetHashCode(); + if (this.DepositBagNumber != null) + hashCode = hashCode * 59 + this.DepositBagNumber.GetHashCode(); + if (this.DepositBagSettlementTenderDetailList != null) + hashCode = hashCode * 59 + this.DepositBagSettlementTenderDetailList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b3209e76ed091669373fc56802f18ec5dcb6a583 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagSettlementTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..42fde54934c9a8623249d4e27ada794690bd596a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction.cs @@ -0,0 +1,273 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID (required). + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction(ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey), string depositBagID = default(string), string depositBagNumber = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "depositBagID" is required (not null) + if (depositBagID == null) + { + throw new InvalidDataException("depositBagID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction and cannot be null"); + } + else + { + this.DepositBagID = depositBagID; + } + // to ensure "depositBagNumber" is required (not null) + if (depositBagNumber == null) + { + throw new InvalidDataException("depositBagNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction and cannot be null"); + } + else + { + this.DepositBagNumber = depositBagNumber; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey Key { get; set; } + + /// + /// automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID + /// + /// automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID + [DataMember(Name="depositBagID", EmitDefaultValue=false)] + public string DepositBagID { get; set; } + + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + [DataMember(Name="depositBagNumber", EmitDefaultValue=false)] + public string DepositBagNumber { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" DepositBagID: ").Append(DepositBagID).Append("\n"); + sb.Append(" DepositBagNumber: ").Append(DepositBagNumber).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.DepositBagID == input.DepositBagID || + (this.DepositBagID != null && + this.DepositBagID.Equals(input.DepositBagID)) + ) && + ( + this.DepositBagNumber == input.DepositBagNumber || + (this.DepositBagNumber != null && + this.DepositBagNumber.Equals(input.DepositBagNumber)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.DepositBagID != null) + hashCode = hashCode * 59 + this.DepositBagID.GetHashCode(); + if (this.DepositBagNumber != null) + hashCode = hashCode * 59 + this.DepositBagNumber.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b112c9dc0fbd4497446ae8ba3093f45b0cd2bd54 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DepositBagTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..88ca5b74bc010f1fea9e81139505ae540384c231 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier.cs @@ -0,0 +1,467 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FrequentShopperPointsModifier <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the promotion.. + /// The unique identifier of the price derivation rule. . + /// The unique identifier of the root eligibility.. + /// The ident of the manual trigger (because one line item can have more than one trigger) . + /// The type code of the root eligibility. + /// The number of frequent shopper points earned  (required). + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned  (required). + /// The quantity the points' modifier applies to  (required). + /// The amount which was used as base for the points' calculation (required). + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  (required). + /// The sequence number of the LoyaltyRewardLineItem.Only filled for point shares of transaction related points discounts.. + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value!. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier(ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey key = default(ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), int? triggerSequenceNumber = default(int?), string eligibilityTypeCode = default(string), double? frequentShopperPointsEarnedCount = default(double?), double? frequentShopperPointsEarnedAmount = default(double?), double? appliedQuantity = default(double?), double? computationBaseAmount = default(double?), bool? externalSystemOriginatorFlag = default(bool?), int? prorateFrom = default(int?), double? pointsPercentage = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "frequentShopperPointsEarnedCount" is required (not null) + if (frequentShopperPointsEarnedCount == null) + { + throw new InvalidDataException("frequentShopperPointsEarnedCount is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier and cannot be null"); + } + else + { + this.FrequentShopperPointsEarnedCount = frequentShopperPointsEarnedCount; + } + // to ensure "frequentShopperPointsEarnedAmount" is required (not null) + if (frequentShopperPointsEarnedAmount == null) + { + throw new InvalidDataException("frequentShopperPointsEarnedAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier and cannot be null"); + } + else + { + this.FrequentShopperPointsEarnedAmount = frequentShopperPointsEarnedAmount; + } + // to ensure "appliedQuantity" is required (not null) + if (appliedQuantity == null) + { + throw new InvalidDataException("appliedQuantity is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier and cannot be null"); + } + else + { + this.AppliedQuantity = appliedQuantity; + } + // to ensure "computationBaseAmount" is required (not null) + if (computationBaseAmount == null) + { + throw new InvalidDataException("computationBaseAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier and cannot be null"); + } + else + { + this.ComputationBaseAmount = computationBaseAmount; + } + // to ensure "externalSystemOriginatorFlag" is required (not null) + if (externalSystemOriginatorFlag == null) + { + throw new InvalidDataException("externalSystemOriginatorFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier and cannot be null"); + } + else + { + this.ExternalSystemOriginatorFlag = externalSystemOriginatorFlag; + } + this.PromotionID = promotionID; + this.PriceDerivationRuleID = priceDerivationRuleID; + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + this.TriggerSequenceNumber = triggerSequenceNumber; + this.EligibilityTypeCode = eligibilityTypeCode; + this.ProrateFrom = prorateFrom; + this.PointsPercentage = pointsPercentage; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey Key { get; set; } + + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// The type code of the root eligibility + /// + /// The type code of the root eligibility + [DataMember(Name="eligibilityTypeCode", EmitDefaultValue=false)] + public string EligibilityTypeCode { get; set; } + + /// + /// The number of frequent shopper points earned  + /// + /// The number of frequent shopper points earned  + [DataMember(Name="frequentShopperPointsEarnedCount", EmitDefaultValue=false)] + public double? FrequentShopperPointsEarnedCount { get; set; } + + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned  + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned  + [DataMember(Name="frequentShopperPointsEarnedAmount", EmitDefaultValue=false)] + public double? FrequentShopperPointsEarnedAmount { get; set; } + + /// + /// The quantity the points' modifier applies to  + /// + /// The quantity the points' modifier applies to  + [DataMember(Name="appliedQuantity", EmitDefaultValue=false)] + public double? AppliedQuantity { get; set; } + + /// + /// The amount which was used as base for the points' calculation + /// + /// The amount which was used as base for the points' calculation + [DataMember(Name="computationBaseAmount", EmitDefaultValue=false)] + public double? ComputationBaseAmount { get; set; } + + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + [DataMember(Name="externalSystemOriginatorFlag", EmitDefaultValue=false)] + public bool? ExternalSystemOriginatorFlag { get; set; } + + /// + /// The sequence number of the LoyaltyRewardLineItem.Only filled for point shares of transaction related points discounts. + /// + /// The sequence number of the LoyaltyRewardLineItem.Only filled for point shares of transaction related points discounts. + [DataMember(Name="prorateFrom", EmitDefaultValue=false)] + public int? ProrateFrom { get; set; } + + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + [DataMember(Name="pointsPercentage", EmitDefaultValue=false)] + public double? PointsPercentage { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append(" EligibilityTypeCode: ").Append(EligibilityTypeCode).Append("\n"); + sb.Append(" FrequentShopperPointsEarnedCount: ").Append(FrequentShopperPointsEarnedCount).Append("\n"); + sb.Append(" FrequentShopperPointsEarnedAmount: ").Append(FrequentShopperPointsEarnedAmount).Append("\n"); + sb.Append(" AppliedQuantity: ").Append(AppliedQuantity).Append("\n"); + sb.Append(" ComputationBaseAmount: ").Append(ComputationBaseAmount).Append("\n"); + sb.Append(" ExternalSystemOriginatorFlag: ").Append(ExternalSystemOriginatorFlag).Append("\n"); + sb.Append(" ProrateFrom: ").Append(ProrateFrom).Append("\n"); + sb.Append(" PointsPercentage: ").Append(PointsPercentage).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ) && + ( + this.EligibilityTypeCode == input.EligibilityTypeCode || + (this.EligibilityTypeCode != null && + this.EligibilityTypeCode.Equals(input.EligibilityTypeCode)) + ) && + ( + this.FrequentShopperPointsEarnedCount == input.FrequentShopperPointsEarnedCount || + (this.FrequentShopperPointsEarnedCount != null && + this.FrequentShopperPointsEarnedCount.Equals(input.FrequentShopperPointsEarnedCount)) + ) && + ( + this.FrequentShopperPointsEarnedAmount == input.FrequentShopperPointsEarnedAmount || + (this.FrequentShopperPointsEarnedAmount != null && + this.FrequentShopperPointsEarnedAmount.Equals(input.FrequentShopperPointsEarnedAmount)) + ) && + ( + this.AppliedQuantity == input.AppliedQuantity || + (this.AppliedQuantity != null && + this.AppliedQuantity.Equals(input.AppliedQuantity)) + ) && + ( + this.ComputationBaseAmount == input.ComputationBaseAmount || + (this.ComputationBaseAmount != null && + this.ComputationBaseAmount.Equals(input.ComputationBaseAmount)) + ) && + ( + this.ExternalSystemOriginatorFlag == input.ExternalSystemOriginatorFlag || + (this.ExternalSystemOriginatorFlag != null && + this.ExternalSystemOriginatorFlag.Equals(input.ExternalSystemOriginatorFlag)) + ) && + ( + this.ProrateFrom == input.ProrateFrom || + (this.ProrateFrom != null && + this.ProrateFrom.Equals(input.ProrateFrom)) + ) && + ( + this.PointsPercentage == input.PointsPercentage || + (this.PointsPercentage != null && + this.PointsPercentage.Equals(input.PointsPercentage)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + if (this.EligibilityTypeCode != null) + hashCode = hashCode * 59 + this.EligibilityTypeCode.GetHashCode(); + if (this.FrequentShopperPointsEarnedCount != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsEarnedCount.GetHashCode(); + if (this.FrequentShopperPointsEarnedAmount != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsEarnedAmount.GetHashCode(); + if (this.AppliedQuantity != null) + hashCode = hashCode * 59 + this.AppliedQuantity.GetHashCode(); + if (this.ComputationBaseAmount != null) + hashCode = hashCode * 59 + this.ComputationBaseAmount.GetHashCode(); + if (this.ExternalSystemOriginatorFlag != null) + hashCode = hashCode * 59 + this.ExternalSystemOriginatorFlag.GetHashCode(); + if (this.ProrateFrom != null) + hashCode = hashCode * 59 + this.ProrateFrom.GetHashCode(); + if (this.PointsPercentage != null) + hashCode = hashCode * 59 + this.PointsPercentage.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..30803f5616cf86253dba0f6246c4d306ccce8053 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FrequentShopperPointsModifier.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The sequence number for this FrequentShopperPointsModifier allowing more than one points' modification to occur on each retail transaction line item.  (required). + public ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? frequentShopperPointsModifierSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "frequentShopperPointsModifierSequenceNumber" is required (not null) + if (frequentShopperPointsModifierSequenceNumber == null) + { + throw new InvalidDataException("frequentShopperPointsModifierSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey and cannot be null"); + } + else + { + this.FrequentShopperPointsModifierSequenceNumber = frequentShopperPointsModifierSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The sequence number for this FrequentShopperPointsModifier allowing more than one points' modification to occur on each retail transaction line item.  + /// + /// The sequence number for this FrequentShopperPointsModifier allowing more than one points' modification to occur on each retail transaction line item.  + [DataMember(Name="frequentShopperPointsModifierSequenceNumber", EmitDefaultValue=false)] + public int? FrequentShopperPointsModifierSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" FrequentShopperPointsModifierSequenceNumber: ").Append(FrequentShopperPointsModifierSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.FrequentShopperPointsModifierSequenceNumber == input.FrequentShopperPointsModifierSequenceNumber || + (this.FrequentShopperPointsModifierSequenceNumber != null && + this.FrequentShopperPointsModifierSequenceNumber.Equals(input.FrequentShopperPointsModifierSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.FrequentShopperPointsModifierSequenceNumber != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsModifierSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..ce465e6856badb71406caada8a317844d0eef7d8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem.cs @@ -0,0 +1,315 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuelSalesLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A status code denoting the mode of the Fuel Sale. Possible values are:Prepay: Where the FuelSaleLineItem happens before the FuelingTransactionPostPay: Where the FuelSaleLineItem happens after the Fueling TransactionPrepayRefund: Where the FuelSaleLineItem happens after a Prepay FuelSaleLineItem and the matching FuelingTransaction did not use all of the money (required). + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) (required). + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION (required). + /// A unique identifier for the FuelingPoint at a particular business unit group. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem(ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey), string fuelSaleStatusCode = default(string), string fuelGradeID = default(string), double? unitPrice = default(double?), string fuelingPointID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "fuelSaleStatusCode" is required (not null) + if (fuelSaleStatusCode == null) + { + throw new InvalidDataException("fuelSaleStatusCode is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem and cannot be null"); + } + else + { + this.FuelSaleStatusCode = fuelSaleStatusCode; + } + // to ensure "fuelGradeID" is required (not null) + if (fuelGradeID == null) + { + throw new InvalidDataException("fuelGradeID is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem and cannot be null"); + } + else + { + this.FuelGradeID = fuelGradeID; + } + // to ensure "unitPrice" is required (not null) + if (unitPrice == null) + { + throw new InvalidDataException("unitPrice is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem and cannot be null"); + } + else + { + this.UnitPrice = unitPrice; + } + this.FuelingPointID = fuelingPointID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey Key { get; set; } + + /// + /// A status code denoting the mode of the Fuel Sale. Possible values are:Prepay: Where the FuelSaleLineItem happens before the FuelingTransactionPostPay: Where the FuelSaleLineItem happens after the Fueling TransactionPrepayRefund: Where the FuelSaleLineItem happens after a Prepay FuelSaleLineItem and the matching FuelingTransaction did not use all of the money + /// + /// A status code denoting the mode of the Fuel Sale. Possible values are:Prepay: Where the FuelSaleLineItem happens before the FuelingTransactionPostPay: Where the FuelSaleLineItem happens after the Fueling TransactionPrepayRefund: Where the FuelSaleLineItem happens after a Prepay FuelSaleLineItem and the matching FuelingTransaction did not use all of the money + [DataMember(Name="fuelSaleStatusCode", EmitDefaultValue=false)] + public string FuelSaleStatusCode { get; set; } + + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + [DataMember(Name="fuelGradeID", EmitDefaultValue=false)] + public string FuelGradeID { get; set; } + + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + [DataMember(Name="unitPrice", EmitDefaultValue=false)] + public double? UnitPrice { get; set; } + + /// + /// A unique identifier for the FuelingPoint at a particular business unit group + /// + /// A unique identifier for the FuelingPoint at a particular business unit group + [DataMember(Name="fuelingPointID", EmitDefaultValue=false)] + public string FuelingPointID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" FuelSaleStatusCode: ").Append(FuelSaleStatusCode).Append("\n"); + sb.Append(" FuelGradeID: ").Append(FuelGradeID).Append("\n"); + sb.Append(" UnitPrice: ").Append(UnitPrice).Append("\n"); + sb.Append(" FuelingPointID: ").Append(FuelingPointID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.FuelSaleStatusCode == input.FuelSaleStatusCode || + (this.FuelSaleStatusCode != null && + this.FuelSaleStatusCode.Equals(input.FuelSaleStatusCode)) + ) && + ( + this.FuelGradeID == input.FuelGradeID || + (this.FuelGradeID != null && + this.FuelGradeID.Equals(input.FuelGradeID)) + ) && + ( + this.UnitPrice == input.UnitPrice || + (this.UnitPrice != null && + this.UnitPrice.Equals(input.UnitPrice)) + ) && + ( + this.FuelingPointID == input.FuelingPointID || + (this.FuelingPointID != null && + this.FuelingPointID.Equals(input.FuelingPointID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.FuelSaleStatusCode != null) + hashCode = hashCode * 59 + this.FuelSaleStatusCode.GetHashCode(); + if (this.FuelGradeID != null) + hashCode = hashCode * 59 + this.FuelGradeID.GetHashCode(); + if (this.UnitPrice != null) + hashCode = hashCode * 59 + this.UnitPrice.GetHashCode(); + if (this.FuelingPointID != null) + hashCode = hashCode * 59 + this.FuelingPointID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..472547ccb952a21f688dcd70f0a7c23b87fa110e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuelSalesLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. (required). + /// The sequence number of line item within the context of this RetailTransaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction. + /// + /// The sequence number of line item within the context of this RetailTransaction. + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..a1ab6cda39b521c6d05aaf7e57c59e0fc1e22142 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction.cs @@ -0,0 +1,551 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuelingTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Reference to the Item (required). + /// A unique identifier for the FuelingPoint at a particular BusinessUnitGroup. + /// A unique identifier for the Nozzle. + /// A two charcter code denoting the type of FuelingTransactionEvent being recorded.Possible values includePostPay: Where the FuelingTransaction is yet to be sold by a FuelSalesLineItem in a RetailTransactionPrePayCompletion: Where money has been collected for the FuelingTransaction in a previous FuelSalesLineItem and there is no refund required.PrePayRefund: Where too much money was collected for the FuelingTransaction in a previous FuelSalesLineItem, and a further FuelSalesLineItem in a RetailTransaction is required to deal with the refund.. + /// The date &amp; time of the completion of the fueling transaction; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// The date &amp; time of the completion of the fueling transaction (UTC0); UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The volume of fuel delivered in the fueling transaction. (required). + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION (required). + /// The number of milli-seconds elapsed between CUSTOMER lifting NOZZLE and FUELING TRANSACTION commencing<br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value!. + /// The number of seconds between FUELING TRANSACTION commencing and completing. <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value!. + /// The number of seconds elapsed between FUELING TRANSACTION completing and being sold at a point of sale. (required). + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) (required). + /// The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken. This code relates to the UCC data element 355. (required). + /// Restricts the possibility of using the fleet card for paying to dedicated merchandise only. The code maintained for the merchandise and the code on the fleet card which is intended to be used for paying the transaction have to match in order that this merchandise can be paid by using the fleet card. Whether/for which line items of the transacttion the matching is given is determined by the external payment provider.. + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the fueling transaction was for testing or calibrating the FUELING POINT.. + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the customer simply drove off wthout paying.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction(ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey), string itemID = default(string), string fuelingPointID = default(string), string nozzleID = default(string), string typeCode = default(string), string timeStamp = default(string), DateTime? timeStampUTC0 = default(DateTime?), double? volume = default(double?), double? unitPrice = default(double?), double? authorizationElapsedTime = default(double?), double? deliveryElapsedTime = default(double?), double? saleElapsedTime = default(double?), string fuelGradeID = default(string), string unitOfMeasureCode = default(string), string fleetCardPermissionTypeCode = default(string), string testDeliveryTypeCode = default(string), string driveOffTypeCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "timeStamp" is required (not null) + if (timeStamp == null) + { + throw new InvalidDataException("timeStamp is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.TimeStamp = timeStamp; + } + // to ensure "volume" is required (not null) + if (volume == null) + { + throw new InvalidDataException("volume is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.Volume = volume; + } + // to ensure "unitPrice" is required (not null) + if (unitPrice == null) + { + throw new InvalidDataException("unitPrice is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.UnitPrice = unitPrice; + } + // to ensure "saleElapsedTime" is required (not null) + if (saleElapsedTime == null) + { + throw new InvalidDataException("saleElapsedTime is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.SaleElapsedTime = saleElapsedTime; + } + // to ensure "fuelGradeID" is required (not null) + if (fuelGradeID == null) + { + throw new InvalidDataException("fuelGradeID is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.FuelGradeID = fuelGradeID; + } + // to ensure "unitOfMeasureCode" is required (not null) + if (unitOfMeasureCode == null) + { + throw new InvalidDataException("unitOfMeasureCode is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction and cannot be null"); + } + else + { + this.UnitOfMeasureCode = unitOfMeasureCode; + } + this.FuelingPointID = fuelingPointID; + this.NozzleID = nozzleID; + this.TypeCode = typeCode; + this.TimeStampUTC0 = timeStampUTC0; + this.AuthorizationElapsedTime = authorizationElapsedTime; + this.DeliveryElapsedTime = deliveryElapsedTime; + this.FleetCardPermissionTypeCode = fleetCardPermissionTypeCode; + this.TestDeliveryTypeCode = testDeliveryTypeCode; + this.DriveOffTypeCode = driveOffTypeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey Key { get; set; } + + /// + /// Reference to the Item + /// + /// Reference to the Item + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// A unique identifier for the FuelingPoint at a particular BusinessUnitGroup + /// + /// A unique identifier for the FuelingPoint at a particular BusinessUnitGroup + [DataMember(Name="fuelingPointID", EmitDefaultValue=false)] + public string FuelingPointID { get; set; } + + /// + /// A unique identifier for the Nozzle + /// + /// A unique identifier for the Nozzle + [DataMember(Name="nozzleID", EmitDefaultValue=false)] + public string NozzleID { get; set; } + + /// + /// A two charcter code denoting the type of FuelingTransactionEvent being recorded.Possible values includePostPay: Where the FuelingTransaction is yet to be sold by a FuelSalesLineItem in a RetailTransactionPrePayCompletion: Where money has been collected for the FuelingTransaction in a previous FuelSalesLineItem and there is no refund required.PrePayRefund: Where too much money was collected for the FuelingTransaction in a previous FuelSalesLineItem, and a further FuelSalesLineItem in a RetailTransaction is required to deal with the refund. + /// + /// A two charcter code denoting the type of FuelingTransactionEvent being recorded.Possible values includePostPay: Where the FuelingTransaction is yet to be sold by a FuelSalesLineItem in a RetailTransactionPrePayCompletion: Where money has been collected for the FuelingTransaction in a previous FuelSalesLineItem and there is no refund required.PrePayRefund: Where too much money was collected for the FuelingTransaction in a previous FuelSalesLineItem, and a further FuelSalesLineItem in a RetailTransaction is required to deal with the refund. + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// The date &amp; time of the completion of the fueling transaction; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date &amp; time of the completion of the fueling transaction; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="timeStamp", EmitDefaultValue=false)] + public string TimeStamp { get; set; } + + /// + /// The date &amp; time of the completion of the fueling transaction (UTC0); UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The date &amp; time of the completion of the fueling transaction (UTC0); UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="timeStampUTC0", EmitDefaultValue=false)] + public DateTime? TimeStampUTC0 { get; set; } + + /// + /// The volume of fuel delivered in the fueling transaction. + /// + /// The volume of fuel delivered in the fueling transaction. + [DataMember(Name="volume", EmitDefaultValue=false)] + public double? Volume { get; set; } + + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + [DataMember(Name="unitPrice", EmitDefaultValue=false)] + public double? UnitPrice { get; set; } + + /// + /// The number of milli-seconds elapsed between CUSTOMER lifting NOZZLE and FUELING TRANSACTION commencing<br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + /// + /// The number of milli-seconds elapsed between CUSTOMER lifting NOZZLE and FUELING TRANSACTION commencing<br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + [DataMember(Name="authorizationElapsedTime", EmitDefaultValue=false)] + public double? AuthorizationElapsedTime { get; set; } + + /// + /// The number of seconds between FUELING TRANSACTION commencing and completing. <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + /// + /// The number of seconds between FUELING TRANSACTION commencing and completing. <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + [DataMember(Name="deliveryElapsedTime", EmitDefaultValue=false)] + public double? DeliveryElapsedTime { get; set; } + + /// + /// The number of seconds elapsed between FUELING TRANSACTION completing and being sold at a point of sale. + /// + /// The number of seconds elapsed between FUELING TRANSACTION completing and being sold at a point of sale. + [DataMember(Name="saleElapsedTime", EmitDefaultValue=false)] + public double? SaleElapsedTime { get; set; } + + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + [DataMember(Name="fuelGradeID", EmitDefaultValue=false)] + public string FuelGradeID { get; set; } + + /// + /// The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken. This code relates to the UCC data element 355. + /// + /// The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken. This code relates to the UCC data element 355. + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// Restricts the possibility of using the fleet card for paying to dedicated merchandise only. The code maintained for the merchandise and the code on the fleet card which is intended to be used for paying the transaction have to match in order that this merchandise can be paid by using the fleet card. Whether/for which line items of the transacttion the matching is given is determined by the external payment provider. + /// + /// Restricts the possibility of using the fleet card for paying to dedicated merchandise only. The code maintained for the merchandise and the code on the fleet card which is intended to be used for paying the transaction have to match in order that this merchandise can be paid by using the fleet card. Whether/for which line items of the transacttion the matching is given is determined by the external payment provider. + [DataMember(Name="fleetCardPermissionTypeCode", EmitDefaultValue=false)] + public string FleetCardPermissionTypeCode { get; set; } + + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the fueling transaction was for testing or calibrating the FUELING POINT. + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the fueling transaction was for testing or calibrating the FUELING POINT. + [DataMember(Name="testDeliveryTypeCode", EmitDefaultValue=false)] + public string TestDeliveryTypeCode { get; set; } + + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the customer simply drove off wthout paying. + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the customer simply drove off wthout paying. + [DataMember(Name="driveOffTypeCode", EmitDefaultValue=false)] + public string DriveOffTypeCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" FuelingPointID: ").Append(FuelingPointID).Append("\n"); + sb.Append(" NozzleID: ").Append(NozzleID).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" TimeStamp: ").Append(TimeStamp).Append("\n"); + sb.Append(" TimeStampUTC0: ").Append(TimeStampUTC0).Append("\n"); + sb.Append(" Volume: ").Append(Volume).Append("\n"); + sb.Append(" UnitPrice: ").Append(UnitPrice).Append("\n"); + sb.Append(" AuthorizationElapsedTime: ").Append(AuthorizationElapsedTime).Append("\n"); + sb.Append(" DeliveryElapsedTime: ").Append(DeliveryElapsedTime).Append("\n"); + sb.Append(" SaleElapsedTime: ").Append(SaleElapsedTime).Append("\n"); + sb.Append(" FuelGradeID: ").Append(FuelGradeID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" FleetCardPermissionTypeCode: ").Append(FleetCardPermissionTypeCode).Append("\n"); + sb.Append(" TestDeliveryTypeCode: ").Append(TestDeliveryTypeCode).Append("\n"); + sb.Append(" DriveOffTypeCode: ").Append(DriveOffTypeCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.FuelingPointID == input.FuelingPointID || + (this.FuelingPointID != null && + this.FuelingPointID.Equals(input.FuelingPointID)) + ) && + ( + this.NozzleID == input.NozzleID || + (this.NozzleID != null && + this.NozzleID.Equals(input.NozzleID)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.TimeStamp == input.TimeStamp || + (this.TimeStamp != null && + this.TimeStamp.Equals(input.TimeStamp)) + ) && + ( + this.TimeStampUTC0 == input.TimeStampUTC0 || + (this.TimeStampUTC0 != null && + this.TimeStampUTC0.Equals(input.TimeStampUTC0)) + ) && + ( + this.Volume == input.Volume || + (this.Volume != null && + this.Volume.Equals(input.Volume)) + ) && + ( + this.UnitPrice == input.UnitPrice || + (this.UnitPrice != null && + this.UnitPrice.Equals(input.UnitPrice)) + ) && + ( + this.AuthorizationElapsedTime == input.AuthorizationElapsedTime || + (this.AuthorizationElapsedTime != null && + this.AuthorizationElapsedTime.Equals(input.AuthorizationElapsedTime)) + ) && + ( + this.DeliveryElapsedTime == input.DeliveryElapsedTime || + (this.DeliveryElapsedTime != null && + this.DeliveryElapsedTime.Equals(input.DeliveryElapsedTime)) + ) && + ( + this.SaleElapsedTime == input.SaleElapsedTime || + (this.SaleElapsedTime != null && + this.SaleElapsedTime.Equals(input.SaleElapsedTime)) + ) && + ( + this.FuelGradeID == input.FuelGradeID || + (this.FuelGradeID != null && + this.FuelGradeID.Equals(input.FuelGradeID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.FleetCardPermissionTypeCode == input.FleetCardPermissionTypeCode || + (this.FleetCardPermissionTypeCode != null && + this.FleetCardPermissionTypeCode.Equals(input.FleetCardPermissionTypeCode)) + ) && + ( + this.TestDeliveryTypeCode == input.TestDeliveryTypeCode || + (this.TestDeliveryTypeCode != null && + this.TestDeliveryTypeCode.Equals(input.TestDeliveryTypeCode)) + ) && + ( + this.DriveOffTypeCode == input.DriveOffTypeCode || + (this.DriveOffTypeCode != null && + this.DriveOffTypeCode.Equals(input.DriveOffTypeCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.FuelingPointID != null) + hashCode = hashCode * 59 + this.FuelingPointID.GetHashCode(); + if (this.NozzleID != null) + hashCode = hashCode * 59 + this.NozzleID.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.TimeStamp != null) + hashCode = hashCode * 59 + this.TimeStamp.GetHashCode(); + if (this.TimeStampUTC0 != null) + hashCode = hashCode * 59 + this.TimeStampUTC0.GetHashCode(); + if (this.Volume != null) + hashCode = hashCode * 59 + this.Volume.GetHashCode(); + if (this.UnitPrice != null) + hashCode = hashCode * 59 + this.UnitPrice.GetHashCode(); + if (this.AuthorizationElapsedTime != null) + hashCode = hashCode * 59 + this.AuthorizationElapsedTime.GetHashCode(); + if (this.DeliveryElapsedTime != null) + hashCode = hashCode * 59 + this.DeliveryElapsedTime.GetHashCode(); + if (this.SaleElapsedTime != null) + hashCode = hashCode * 59 + this.SaleElapsedTime.GetHashCode(); + if (this.FuelGradeID != null) + hashCode = hashCode * 59 + this.FuelGradeID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.FleetCardPermissionTypeCode != null) + hashCode = hashCode * 59 + this.FleetCardPermissionTypeCode.GetHashCode(); + if (this.TestDeliveryTypeCode != null) + hashCode = hashCode * 59 + this.TestDeliveryTypeCode.GetHashCode(); + if (this.DriveOffTypeCode != null) + hashCode = hashCode * 59 + this.DriveOffTypeCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..1d97a7464eb3c1938fd7b5d2a2179a311e0d6b50 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuelingTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members. (required). + /// A unique system assigned identifier for a group of BusinessUnits.  (required). + public ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey(string transactionID = default(string), string businessUnitGroupID = default(string)) + { + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + } + + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members. + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members. + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique system assigned identifier for a group of BusinessUnits.  + /// + /// A unique system assigned identifier for a group of BusinessUnits.  + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey {\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..7f4edb4f9a3190d2220725cb061be8f835930e8c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem.cs @@ -0,0 +1,384 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificateLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The type code of gift certificate that defines handling rules for it. + /// Identifies a gift certificate type. Corresponds to GiftCertificateClass.GiftCertificateTypeCode . + /// Determines whether the transaction amount was successfully posted to the Stored Value Server. Stays null in case that this information is not relevant for the current gift certificate line item . + /// Determines whether a cancellation was successfully posted to the Stored Value Server.Stays null in case that this information is not relevant for the current gift certificate line item . + /// The name of the adapter of the involved external system. + /// The expiration date of the gift certificate ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// The remaining balance of the gift certificate  (required). + /// The serial number that uniquely identifies a GIFT CERTIFICATE.. + /// Customizable information. + /// Customizable information. + /// The gift certificate server transaction ID . + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem(ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey), string giftCertificateHandlingTypeCode = default(string), string giftCertificateTypeCode = default(string), string bookingSuccessfulTypeCode = default(string), string bookingCancellationTypeCode = default(string), string externalSystemAdapterName = default(string), string expirationDate = default(string), double? remainingBalance = default(double?), string giftCertificateSerialNumber = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string gcstransactionUUID = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "remainingBalance" is required (not null) + if (remainingBalance == null) + { + throw new InvalidDataException("remainingBalance is a required property for ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem and cannot be null"); + } + else + { + this.RemainingBalance = remainingBalance; + } + this.GiftCertificateHandlingTypeCode = giftCertificateHandlingTypeCode; + this.GiftCertificateTypeCode = giftCertificateTypeCode; + this.BookingSuccessfulTypeCode = bookingSuccessfulTypeCode; + this.BookingCancellationTypeCode = bookingCancellationTypeCode; + this.ExternalSystemAdapterName = externalSystemAdapterName; + this.ExpirationDate = expirationDate; + this.GiftCertificateSerialNumber = giftCertificateSerialNumber; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.GcstransactionUUID = gcstransactionUUID; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey Key { get; set; } + + /// + /// The type code of gift certificate that defines handling rules for it + /// + /// The type code of gift certificate that defines handling rules for it + [DataMember(Name="giftCertificateHandlingTypeCode", EmitDefaultValue=false)] + public string GiftCertificateHandlingTypeCode { get; set; } + + /// + /// Identifies a gift certificate type. Corresponds to GiftCertificateClass.GiftCertificateTypeCode  + /// + /// Identifies a gift certificate type. Corresponds to GiftCertificateClass.GiftCertificateTypeCode  + [DataMember(Name="giftCertificateTypeCode", EmitDefaultValue=false)] + public string GiftCertificateTypeCode { get; set; } + + /// + /// Determines whether the transaction amount was successfully posted to the Stored Value Server. Stays null in case that this information is not relevant for the current gift certificate line item  + /// + /// Determines whether the transaction amount was successfully posted to the Stored Value Server. Stays null in case that this information is not relevant for the current gift certificate line item  + [DataMember(Name="bookingSuccessfulTypeCode", EmitDefaultValue=false)] + public string BookingSuccessfulTypeCode { get; set; } + + /// + /// Determines whether a cancellation was successfully posted to the Stored Value Server.Stays null in case that this information is not relevant for the current gift certificate line item  + /// + /// Determines whether a cancellation was successfully posted to the Stored Value Server.Stays null in case that this information is not relevant for the current gift certificate line item  + [DataMember(Name="bookingCancellationTypeCode", EmitDefaultValue=false)] + public string BookingCancellationTypeCode { get; set; } + + /// + /// The name of the adapter of the involved external system + /// + /// The name of the adapter of the involved external system + [DataMember(Name="externalSystemAdapterName", EmitDefaultValue=false)] + public string ExternalSystemAdapterName { get; set; } + + /// + /// The expiration date of the gift certificate ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The expiration date of the gift certificate ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationDate", EmitDefaultValue=false)] + public string ExpirationDate { get; set; } + + /// + /// The remaining balance of the gift certificate  + /// + /// The remaining balance of the gift certificate  + [DataMember(Name="remainingBalance", EmitDefaultValue=false)] + public double? RemainingBalance { get; set; } + + /// + /// The serial number that uniquely identifies a GIFT CERTIFICATE. + /// + /// The serial number that uniquely identifies a GIFT CERTIFICATE. + [DataMember(Name="giftCertificateSerialNumber", EmitDefaultValue=false)] + public string GiftCertificateSerialNumber { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// The gift certificate server transaction ID  + /// + /// The gift certificate server transaction ID  + [DataMember(Name="gcstransactionUUID", EmitDefaultValue=false)] + public string GcstransactionUUID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" GiftCertificateHandlingTypeCode: ").Append(GiftCertificateHandlingTypeCode).Append("\n"); + sb.Append(" GiftCertificateTypeCode: ").Append(GiftCertificateTypeCode).Append("\n"); + sb.Append(" BookingSuccessfulTypeCode: ").Append(BookingSuccessfulTypeCode).Append("\n"); + sb.Append(" BookingCancellationTypeCode: ").Append(BookingCancellationTypeCode).Append("\n"); + sb.Append(" ExternalSystemAdapterName: ").Append(ExternalSystemAdapterName).Append("\n"); + sb.Append(" ExpirationDate: ").Append(ExpirationDate).Append("\n"); + sb.Append(" RemainingBalance: ").Append(RemainingBalance).Append("\n"); + sb.Append(" GiftCertificateSerialNumber: ").Append(GiftCertificateSerialNumber).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" GcstransactionUUID: ").Append(GcstransactionUUID).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.GiftCertificateHandlingTypeCode == input.GiftCertificateHandlingTypeCode || + (this.GiftCertificateHandlingTypeCode != null && + this.GiftCertificateHandlingTypeCode.Equals(input.GiftCertificateHandlingTypeCode)) + ) && + ( + this.GiftCertificateTypeCode == input.GiftCertificateTypeCode || + (this.GiftCertificateTypeCode != null && + this.GiftCertificateTypeCode.Equals(input.GiftCertificateTypeCode)) + ) && + ( + this.BookingSuccessfulTypeCode == input.BookingSuccessfulTypeCode || + (this.BookingSuccessfulTypeCode != null && + this.BookingSuccessfulTypeCode.Equals(input.BookingSuccessfulTypeCode)) + ) && + ( + this.BookingCancellationTypeCode == input.BookingCancellationTypeCode || + (this.BookingCancellationTypeCode != null && + this.BookingCancellationTypeCode.Equals(input.BookingCancellationTypeCode)) + ) && + ( + this.ExternalSystemAdapterName == input.ExternalSystemAdapterName || + (this.ExternalSystemAdapterName != null && + this.ExternalSystemAdapterName.Equals(input.ExternalSystemAdapterName)) + ) && + ( + this.ExpirationDate == input.ExpirationDate || + (this.ExpirationDate != null && + this.ExpirationDate.Equals(input.ExpirationDate)) + ) && + ( + this.RemainingBalance == input.RemainingBalance || + (this.RemainingBalance != null && + this.RemainingBalance.Equals(input.RemainingBalance)) + ) && + ( + this.GiftCertificateSerialNumber == input.GiftCertificateSerialNumber || + (this.GiftCertificateSerialNumber != null && + this.GiftCertificateSerialNumber.Equals(input.GiftCertificateSerialNumber)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.GcstransactionUUID == input.GcstransactionUUID || + (this.GcstransactionUUID != null && + this.GcstransactionUUID.Equals(input.GcstransactionUUID)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.GiftCertificateHandlingTypeCode != null) + hashCode = hashCode * 59 + this.GiftCertificateHandlingTypeCode.GetHashCode(); + if (this.GiftCertificateTypeCode != null) + hashCode = hashCode * 59 + this.GiftCertificateTypeCode.GetHashCode(); + if (this.BookingSuccessfulTypeCode != null) + hashCode = hashCode * 59 + this.BookingSuccessfulTypeCode.GetHashCode(); + if (this.BookingCancellationTypeCode != null) + hashCode = hashCode * 59 + this.BookingCancellationTypeCode.GetHashCode(); + if (this.ExternalSystemAdapterName != null) + hashCode = hashCode * 59 + this.ExternalSystemAdapterName.GetHashCode(); + if (this.ExpirationDate != null) + hashCode = hashCode * 59 + this.ExpirationDate.GetHashCode(); + if (this.RemainingBalance != null) + hashCode = hashCode * 59 + this.RemainingBalance.GetHashCode(); + if (this.GiftCertificateSerialNumber != null) + hashCode = hashCode * 59 + this.GiftCertificateSerialNumber.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.GcstransactionUUID != null) + hashCode = hashCode * 59 + this.GcstransactionUUID.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6f20522f3380d3efb07092a0b83b8d69b9950dd2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificateLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate.cs new file mode 100644 index 0000000000000000000000000000000000000000..3be545afbb8da4726b4aa3aa37efeae76acf4419 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate.cs @@ -0,0 +1,324 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemAssociate <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A unique system-assigned identifier for the Person who is a particular Worker. . + /// The date and time that the associate performed the action for which a commission is payable. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// The first name of the worker who served the customer . + /// The last name of the worker who served the customer . + /// The UTC0 date and time that the associate performed the action for which a commission is payable. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate(ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey key = default(ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey), string workerID = default(string), string actionDatetime = default(string), string workerFirstName = default(string), string workerLastName = default(string), DateTime? actionDatetimeUTC0 = default(DateTime?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "actionDatetime" is required (not null) + if (actionDatetime == null) + { + throw new InvalidDataException("actionDatetime is a required property for ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate and cannot be null"); + } + else + { + this.ActionDatetime = actionDatetime; + } + // to ensure "actionDatetimeUTC0" is required (not null) + if (actionDatetimeUTC0 == null) + { + throw new InvalidDataException("actionDatetimeUTC0 is a required property for ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate and cannot be null"); + } + else + { + this.ActionDatetimeUTC0 = actionDatetimeUTC0; + } + this.WorkerID = workerID; + this.WorkerFirstName = workerFirstName; + this.WorkerLastName = workerLastName; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey Key { get; set; } + + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// The date and time that the associate performed the action for which a commission is payable. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time that the associate performed the action for which a commission is payable. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="actionDatetime", EmitDefaultValue=false)] + public string ActionDatetime { get; set; } + + /// + /// The first name of the worker who served the customer  + /// + /// The first name of the worker who served the customer  + [DataMember(Name="workerFirstName", EmitDefaultValue=false)] + public string WorkerFirstName { get; set; } + + /// + /// The last name of the worker who served the customer  + /// + /// The last name of the worker who served the customer  + [DataMember(Name="workerLastName", EmitDefaultValue=false)] + public string WorkerLastName { get; set; } + + /// + /// The UTC0 date and time that the associate performed the action for which a commission is payable. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 date and time that the associate performed the action for which a commission is payable. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="actionDatetimeUTC0", EmitDefaultValue=false)] + public DateTime? ActionDatetimeUTC0 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" ActionDatetime: ").Append(ActionDatetime).Append("\n"); + sb.Append(" WorkerFirstName: ").Append(WorkerFirstName).Append("\n"); + sb.Append(" WorkerLastName: ").Append(WorkerLastName).Append("\n"); + sb.Append(" ActionDatetimeUTC0: ").Append(ActionDatetimeUTC0).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.ActionDatetime == input.ActionDatetime || + (this.ActionDatetime != null && + this.ActionDatetime.Equals(input.ActionDatetime)) + ) && + ( + this.WorkerFirstName == input.WorkerFirstName || + (this.WorkerFirstName != null && + this.WorkerFirstName.Equals(input.WorkerFirstName)) + ) && + ( + this.WorkerLastName == input.WorkerLastName || + (this.WorkerLastName != null && + this.WorkerLastName.Equals(input.WorkerLastName)) + ) && + ( + this.ActionDatetimeUTC0 == input.ActionDatetimeUTC0 || + (this.ActionDatetimeUTC0 != null && + this.ActionDatetimeUTC0.Equals(input.ActionDatetimeUTC0)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.ActionDatetime != null) + hashCode = hashCode * 59 + this.ActionDatetime.GetHashCode(); + if (this.WorkerFirstName != null) + hashCode = hashCode * 59 + this.WorkerFirstName.GetHashCode(); + if (this.WorkerLastName != null) + hashCode = hashCode * 59 + this.WorkerLastName.GetHashCode(); + if (this.ActionDatetimeUTC0 != null) + hashCode = hashCode * 59 + this.ActionDatetimeUTC0.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..822887f7cc76cf59a5a24ca580730b76210676a9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemAssociate.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..644d4d77d37897a4ee7b8325c7c7f93ca8032d3f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem.cs @@ -0,0 +1,501 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoyaltyRewardLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The number of loyalty points awarded. <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// Describes the kind of loyalty reward, possible values include frequent shopper points, coupon, gift certificate . + /// The unique identifier of the promotion.. + /// The unique identifier of the price derivation rule. . + /// The unique identifier of the root eligibility.. + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned (PointsAwardedCount)  (required). + /// The ident of the manual trigger (because one line item can have more than one trigger) . + /// The amount which was used as base for the points' calculation  (required). + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  (required). + /// The number of the coupon the customer gets . + /// The monetary value of the coupon the customer gets  (required). + /// The monetary value printed or embossed on the GIFT CERTIFICATE. (required). + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value!. + /// list of coupon serials. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey), double? pointsAwardedCount = default(double?), string loyaltyRewardTypeCode = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), double? frequentShopperPointsEarnedAmount = default(double?), int? triggerSequenceNumber = default(int?), double? computationBaseAmount = default(double?), bool? externalSystemOriginatorFlag = default(bool?), string couponNumber = default(string), double? couponAmount = default(double?), double? giftCertificateFaceValueAmount = default(double?), double? pointsPercentage = default(double?), List loyaltyRewardLineItemCouponSerialList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "frequentShopperPointsEarnedAmount" is required (not null) + if (frequentShopperPointsEarnedAmount == null) + { + throw new InvalidDataException("frequentShopperPointsEarnedAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem and cannot be null"); + } + else + { + this.FrequentShopperPointsEarnedAmount = frequentShopperPointsEarnedAmount; + } + // to ensure "computationBaseAmount" is required (not null) + if (computationBaseAmount == null) + { + throw new InvalidDataException("computationBaseAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem and cannot be null"); + } + else + { + this.ComputationBaseAmount = computationBaseAmount; + } + // to ensure "externalSystemOriginatorFlag" is required (not null) + if (externalSystemOriginatorFlag == null) + { + throw new InvalidDataException("externalSystemOriginatorFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem and cannot be null"); + } + else + { + this.ExternalSystemOriginatorFlag = externalSystemOriginatorFlag; + } + // to ensure "couponAmount" is required (not null) + if (couponAmount == null) + { + throw new InvalidDataException("couponAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem and cannot be null"); + } + else + { + this.CouponAmount = couponAmount; + } + // to ensure "giftCertificateFaceValueAmount" is required (not null) + if (giftCertificateFaceValueAmount == null) + { + throw new InvalidDataException("giftCertificateFaceValueAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem and cannot be null"); + } + else + { + this.GiftCertificateFaceValueAmount = giftCertificateFaceValueAmount; + } + this.PointsAwardedCount = pointsAwardedCount; + this.LoyaltyRewardTypeCode = loyaltyRewardTypeCode; + this.PromotionID = promotionID; + this.PriceDerivationRuleID = priceDerivationRuleID; + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + this.TriggerSequenceNumber = triggerSequenceNumber; + this.CouponNumber = couponNumber; + this.PointsPercentage = pointsPercentage; + this.LoyaltyRewardLineItemCouponSerialList = loyaltyRewardLineItemCouponSerialList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey Key { get; set; } + + /// + /// The number of loyalty points awarded. <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of loyalty points awarded. <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="pointsAwardedCount", EmitDefaultValue=false)] + public double? PointsAwardedCount { get; set; } + + /// + /// Describes the kind of loyalty reward, possible values include frequent shopper points, coupon, gift certificate  + /// + /// Describes the kind of loyalty reward, possible values include frequent shopper points, coupon, gift certificate  + [DataMember(Name="loyaltyRewardTypeCode", EmitDefaultValue=false)] + public string LoyaltyRewardTypeCode { get; set; } + + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned (PointsAwardedCount)  + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned (PointsAwardedCount)  + [DataMember(Name="frequentShopperPointsEarnedAmount", EmitDefaultValue=false)] + public double? FrequentShopperPointsEarnedAmount { get; set; } + + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// The amount which was used as base for the points' calculation  + /// + /// The amount which was used as base for the points' calculation  + [DataMember(Name="computationBaseAmount", EmitDefaultValue=false)] + public double? ComputationBaseAmount { get; set; } + + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + [DataMember(Name="externalSystemOriginatorFlag", EmitDefaultValue=false)] + public bool? ExternalSystemOriginatorFlag { get; set; } + + /// + /// The number of the coupon the customer gets  + /// + /// The number of the coupon the customer gets  + [DataMember(Name="couponNumber", EmitDefaultValue=false)] + public string CouponNumber { get; set; } + + /// + /// The monetary value of the coupon the customer gets  + /// + /// The monetary value of the coupon the customer gets  + [DataMember(Name="couponAmount", EmitDefaultValue=false)] + public double? CouponAmount { get; set; } + + /// + /// The monetary value printed or embossed on the GIFT CERTIFICATE. + /// + /// The monetary value printed or embossed on the GIFT CERTIFICATE. + [DataMember(Name="giftCertificateFaceValueAmount", EmitDefaultValue=false)] + public double? GiftCertificateFaceValueAmount { get; set; } + + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + [DataMember(Name="pointsPercentage", EmitDefaultValue=false)] + public double? PointsPercentage { get; set; } + + /// + /// list of coupon serials + /// + /// list of coupon serials + [DataMember(Name="loyaltyRewardLineItemCouponSerialList", EmitDefaultValue=false)] + public List LoyaltyRewardLineItemCouponSerialList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PointsAwardedCount: ").Append(PointsAwardedCount).Append("\n"); + sb.Append(" LoyaltyRewardTypeCode: ").Append(LoyaltyRewardTypeCode).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" FrequentShopperPointsEarnedAmount: ").Append(FrequentShopperPointsEarnedAmount).Append("\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append(" ComputationBaseAmount: ").Append(ComputationBaseAmount).Append("\n"); + sb.Append(" ExternalSystemOriginatorFlag: ").Append(ExternalSystemOriginatorFlag).Append("\n"); + sb.Append(" CouponNumber: ").Append(CouponNumber).Append("\n"); + sb.Append(" CouponAmount: ").Append(CouponAmount).Append("\n"); + sb.Append(" GiftCertificateFaceValueAmount: ").Append(GiftCertificateFaceValueAmount).Append("\n"); + sb.Append(" PointsPercentage: ").Append(PointsPercentage).Append("\n"); + sb.Append(" LoyaltyRewardLineItemCouponSerialList: ").Append(LoyaltyRewardLineItemCouponSerialList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PointsAwardedCount == input.PointsAwardedCount || + (this.PointsAwardedCount != null && + this.PointsAwardedCount.Equals(input.PointsAwardedCount)) + ) && + ( + this.LoyaltyRewardTypeCode == input.LoyaltyRewardTypeCode || + (this.LoyaltyRewardTypeCode != null && + this.LoyaltyRewardTypeCode.Equals(input.LoyaltyRewardTypeCode)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.FrequentShopperPointsEarnedAmount == input.FrequentShopperPointsEarnedAmount || + (this.FrequentShopperPointsEarnedAmount != null && + this.FrequentShopperPointsEarnedAmount.Equals(input.FrequentShopperPointsEarnedAmount)) + ) && + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ) && + ( + this.ComputationBaseAmount == input.ComputationBaseAmount || + (this.ComputationBaseAmount != null && + this.ComputationBaseAmount.Equals(input.ComputationBaseAmount)) + ) && + ( + this.ExternalSystemOriginatorFlag == input.ExternalSystemOriginatorFlag || + (this.ExternalSystemOriginatorFlag != null && + this.ExternalSystemOriginatorFlag.Equals(input.ExternalSystemOriginatorFlag)) + ) && + ( + this.CouponNumber == input.CouponNumber || + (this.CouponNumber != null && + this.CouponNumber.Equals(input.CouponNumber)) + ) && + ( + this.CouponAmount == input.CouponAmount || + (this.CouponAmount != null && + this.CouponAmount.Equals(input.CouponAmount)) + ) && + ( + this.GiftCertificateFaceValueAmount == input.GiftCertificateFaceValueAmount || + (this.GiftCertificateFaceValueAmount != null && + this.GiftCertificateFaceValueAmount.Equals(input.GiftCertificateFaceValueAmount)) + ) && + ( + this.PointsPercentage == input.PointsPercentage || + (this.PointsPercentage != null && + this.PointsPercentage.Equals(input.PointsPercentage)) + ) && + ( + this.LoyaltyRewardLineItemCouponSerialList == input.LoyaltyRewardLineItemCouponSerialList || + this.LoyaltyRewardLineItemCouponSerialList != null && + this.LoyaltyRewardLineItemCouponSerialList.SequenceEqual(input.LoyaltyRewardLineItemCouponSerialList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PointsAwardedCount != null) + hashCode = hashCode * 59 + this.PointsAwardedCount.GetHashCode(); + if (this.LoyaltyRewardTypeCode != null) + hashCode = hashCode * 59 + this.LoyaltyRewardTypeCode.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.FrequentShopperPointsEarnedAmount != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsEarnedAmount.GetHashCode(); + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + if (this.ComputationBaseAmount != null) + hashCode = hashCode * 59 + this.ComputationBaseAmount.GetHashCode(); + if (this.ExternalSystemOriginatorFlag != null) + hashCode = hashCode * 59 + this.ExternalSystemOriginatorFlag.GetHashCode(); + if (this.CouponNumber != null) + hashCode = hashCode * 59 + this.CouponNumber.GetHashCode(); + if (this.CouponAmount != null) + hashCode = hashCode * 59 + this.CouponAmount.GetHashCode(); + if (this.GiftCertificateFaceValueAmount != null) + hashCode = hashCode * 59 + this.GiftCertificateFaceValueAmount.GetHashCode(); + if (this.PointsPercentage != null) + hashCode = hashCode * 59 + this.PointsPercentage.GetHashCode(); + if (this.LoyaltyRewardLineItemCouponSerialList != null) + hashCode = hashCode * 59 + this.LoyaltyRewardLineItemCouponSerialList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial.cs new file mode 100644 index 0000000000000000000000000000000000000000..2ffa4f7558e06af73ba4f15c825f0fdf5ea757dd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial.cs @@ -0,0 +1,707 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoyaltyRewardLineItemCouponSerial <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The coupon serial number (required). + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used. . + /// The couponing service transaction ID . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey key = default(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey), string couponSerialNumber = default(string), string bookingSuccessfulTypeCode = default(string), string bookingTransactionUUID = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "couponSerialNumber" is required (not null) + if (couponSerialNumber == null) + { + throw new InvalidDataException("couponSerialNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial and cannot be null"); + } + else + { + this.CouponSerialNumber = couponSerialNumber; + } + this.BookingSuccessfulTypeCode = bookingSuccessfulTypeCode; + this.BookingTransactionUUID = bookingTransactionUUID; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey Key { get; set; } + + /// + /// The coupon serial number + /// + /// The coupon serial number + [DataMember(Name="couponSerialNumber", EmitDefaultValue=false)] + public string CouponSerialNumber { get; set; } + + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + [DataMember(Name="bookingSuccessfulTypeCode", EmitDefaultValue=false)] + public string BookingSuccessfulTypeCode { get; set; } + + /// + /// The couponing service transaction ID  + /// + /// The couponing service transaction ID  + [DataMember(Name="bookingTransactionUUID", EmitDefaultValue=false)] + public string BookingTransactionUUID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CouponSerialNumber: ").Append(CouponSerialNumber).Append("\n"); + sb.Append(" BookingSuccessfulTypeCode: ").Append(BookingSuccessfulTypeCode).Append("\n"); + sb.Append(" BookingTransactionUUID: ").Append(BookingTransactionUUID).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CouponSerialNumber == input.CouponSerialNumber || + (this.CouponSerialNumber != null && + this.CouponSerialNumber.Equals(input.CouponSerialNumber)) + ) && + ( + this.BookingSuccessfulTypeCode == input.BookingSuccessfulTypeCode || + (this.BookingSuccessfulTypeCode != null && + this.BookingSuccessfulTypeCode.Equals(input.BookingSuccessfulTypeCode)) + ) && + ( + this.BookingTransactionUUID == input.BookingTransactionUUID || + (this.BookingTransactionUUID != null && + this.BookingTransactionUUID.Equals(input.BookingTransactionUUID)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CouponSerialNumber != null) + hashCode = hashCode * 59 + this.CouponSerialNumber.GetHashCode(); + if (this.BookingSuccessfulTypeCode != null) + hashCode = hashCode * 59 + this.BookingSuccessfulTypeCode.GetHashCode(); + if (this.BookingTransactionUUID != null) + hashCode = hashCode * 59 + this.BookingTransactionUUID.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..7868a6b6977a20a029a05159b47d1c21c587a258 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoyaltyRewardLineItemCouponSerial.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The sequence number of the coupon serial.This is relevant if multiple coupon serials are issued for one loyalty reward. (required). + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? couponSerialSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "couponSerialSequenceNumber" is required (not null) + if (couponSerialSequenceNumber == null) + { + throw new InvalidDataException("couponSerialSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey and cannot be null"); + } + else + { + this.CouponSerialSequenceNumber = couponSerialSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The sequence number of the coupon serial.This is relevant if multiple coupon serials are issued for one loyalty reward. + /// + /// The sequence number of the coupon serial.This is relevant if multiple coupon serials are issued for one loyalty reward. + [DataMember(Name="couponSerialSequenceNumber", EmitDefaultValue=false)] + public int? CouponSerialSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" CouponSerialSequenceNumber: ").Append(CouponSerialSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.CouponSerialSequenceNumber == input.CouponSerialSequenceNumber || + (this.CouponSerialSequenceNumber != null && + this.CouponSerialSequenceNumber.Equals(input.CouponSerialSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.CouponSerialSequenceNumber != null) + hashCode = hashCode * 59 + this.CouponSerialSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6801451690df477c5e8c0240ee56bb4d7c859ec0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoyaltyRewardLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..bb4460dea53596e167a7c1b20bf03491bd40d8d0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction.cs @@ -0,0 +1,240 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// POSNoSaleTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the till. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction(ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey), string tillID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction and cannot be null"); + } + else + { + this.Key = key; + } + this.TillID = tillID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey Key { get; set; } + + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..1658fbf8c678a987971f4364b719be925b39b3cb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// POSNoSaleTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..4f7f2170e9ac2c76d6e861fa9f2f4f24ce19e0f9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem.cs @@ -0,0 +1,308 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Determines whether the prepaid transaction was confirmed. Stays null in case that this information is not relevant for the current prepaid line item . + /// The name of the provider of the prepaid service . + /// The prepaid transaction ID . + /// The name of the adapter of the involved external system. + /// The ident of the prepaid PIN. The PIN itself must not be stored. The prepaid ident is needed for support purposes. . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem(ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey), string bookingSuccessfulTypeCode = default(string), string prepaidProviderName = default(string), string prepaidTransactionID = default(string), string externalSystemAdapterName = default(string), string prepaidID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem and cannot be null"); + } + else + { + this.Key = key; + } + this.BookingSuccessfulTypeCode = bookingSuccessfulTypeCode; + this.PrepaidProviderName = prepaidProviderName; + this.PrepaidTransactionID = prepaidTransactionID; + this.ExternalSystemAdapterName = externalSystemAdapterName; + this.PrepaidID = prepaidID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey Key { get; set; } + + /// + /// Determines whether the prepaid transaction was confirmed. Stays null in case that this information is not relevant for the current prepaid line item  + /// + /// Determines whether the prepaid transaction was confirmed. Stays null in case that this information is not relevant for the current prepaid line item  + [DataMember(Name="bookingSuccessfulTypeCode", EmitDefaultValue=false)] + public string BookingSuccessfulTypeCode { get; set; } + + /// + /// The name of the provider of the prepaid service  + /// + /// The name of the provider of the prepaid service  + [DataMember(Name="prepaidProviderName", EmitDefaultValue=false)] + public string PrepaidProviderName { get; set; } + + /// + /// The prepaid transaction ID  + /// + /// The prepaid transaction ID  + [DataMember(Name="prepaidTransactionID", EmitDefaultValue=false)] + public string PrepaidTransactionID { get; set; } + + /// + /// The name of the adapter of the involved external system + /// + /// The name of the adapter of the involved external system + [DataMember(Name="externalSystemAdapterName", EmitDefaultValue=false)] + public string ExternalSystemAdapterName { get; set; } + + /// + /// The ident of the prepaid PIN. The PIN itself must not be stored. The prepaid ident is needed for support purposes.  + /// + /// The ident of the prepaid PIN. The PIN itself must not be stored. The prepaid ident is needed for support purposes.  + [DataMember(Name="prepaidID", EmitDefaultValue=false)] + public string PrepaidID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" BookingSuccessfulTypeCode: ").Append(BookingSuccessfulTypeCode).Append("\n"); + sb.Append(" PrepaidProviderName: ").Append(PrepaidProviderName).Append("\n"); + sb.Append(" PrepaidTransactionID: ").Append(PrepaidTransactionID).Append("\n"); + sb.Append(" ExternalSystemAdapterName: ").Append(ExternalSystemAdapterName).Append("\n"); + sb.Append(" PrepaidID: ").Append(PrepaidID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.BookingSuccessfulTypeCode == input.BookingSuccessfulTypeCode || + (this.BookingSuccessfulTypeCode != null && + this.BookingSuccessfulTypeCode.Equals(input.BookingSuccessfulTypeCode)) + ) && + ( + this.PrepaidProviderName == input.PrepaidProviderName || + (this.PrepaidProviderName != null && + this.PrepaidProviderName.Equals(input.PrepaidProviderName)) + ) && + ( + this.PrepaidTransactionID == input.PrepaidTransactionID || + (this.PrepaidTransactionID != null && + this.PrepaidTransactionID.Equals(input.PrepaidTransactionID)) + ) && + ( + this.ExternalSystemAdapterName == input.ExternalSystemAdapterName || + (this.ExternalSystemAdapterName != null && + this.ExternalSystemAdapterName.Equals(input.ExternalSystemAdapterName)) + ) && + ( + this.PrepaidID == input.PrepaidID || + (this.PrepaidID != null && + this.PrepaidID.Equals(input.PrepaidID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.BookingSuccessfulTypeCode != null) + hashCode = hashCode * 59 + this.BookingSuccessfulTypeCode.GetHashCode(); + if (this.PrepaidProviderName != null) + hashCode = hashCode * 59 + this.PrepaidProviderName.GetHashCode(); + if (this.PrepaidTransactionID != null) + hashCode = hashCode * 59 + this.PrepaidTransactionID.GetHashCode(); + if (this.ExternalSystemAdapterName != null) + hashCode = hashCode * 59 + this.ExternalSystemAdapterName.GetHashCode(); + if (this.PrepaidID != null) + hashCode = hashCode * 59 + this.PrepaidID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c119133f333fc15c628b66d57e0e265f06cd7816 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..5302d6ba64073cd86e1a94d6750a5cc39427bc3d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem.cs @@ -0,0 +1,492 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PriceModificationLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the promotion.. + /// The unique identifier of the price derivation rule. . + /// The unique identifier of the root eligibility.. + /// The percentage value in case of percentage price modifiers.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value!. + /// The monetary amount that the price modification was adjusted by (after calculation from the percentage). <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The monetary value of the price modification that was given.  (required). + /// Indicates if this price modification was pro-rated across all of the Items in the RetailTransaction.Always true.. + /// The ident of the manual trigger (because a transaction item can have more than one trigger) . + /// The retail sale total price of the transaction before applying the current price modification line item  (required). + /// The retail sale total price of the transaction before applying the current price modification line item (required). + /// A monetary amount which results from applying a price modification line item but does not affect the transaction total  (required). + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied (required). + /// The amount which was used as base for calculation of the price modification (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem(ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), double? percentage = default(double?), double? roundingAmount = default(double?), double? amount = default(double?), bool? proRatedFlag = default(bool?), int? triggerSequenceNumber = default(int?), double? extendedAmountBeforeModification = default(double?), double? extendedAmountAfterModification = default(double?), double? extraAmount = default(double?), bool? externalSystemOriginatorFlag = default(bool?), double? calculationBaseAmount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem and cannot be null"); + } + else + { + this.Amount = amount; + } + // to ensure "extendedAmountBeforeModification" is required (not null) + if (extendedAmountBeforeModification == null) + { + throw new InvalidDataException("extendedAmountBeforeModification is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem and cannot be null"); + } + else + { + this.ExtendedAmountBeforeModification = extendedAmountBeforeModification; + } + // to ensure "extendedAmountAfterModification" is required (not null) + if (extendedAmountAfterModification == null) + { + throw new InvalidDataException("extendedAmountAfterModification is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem and cannot be null"); + } + else + { + this.ExtendedAmountAfterModification = extendedAmountAfterModification; + } + // to ensure "extraAmount" is required (not null) + if (extraAmount == null) + { + throw new InvalidDataException("extraAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem and cannot be null"); + } + else + { + this.ExtraAmount = extraAmount; + } + // to ensure "externalSystemOriginatorFlag" is required (not null) + if (externalSystemOriginatorFlag == null) + { + throw new InvalidDataException("externalSystemOriginatorFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem and cannot be null"); + } + else + { + this.ExternalSystemOriginatorFlag = externalSystemOriginatorFlag; + } + // to ensure "calculationBaseAmount" is required (not null) + if (calculationBaseAmount == null) + { + throw new InvalidDataException("calculationBaseAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem and cannot be null"); + } + else + { + this.CalculationBaseAmount = calculationBaseAmount; + } + this.PromotionID = promotionID; + this.PriceDerivationRuleID = priceDerivationRuleID; + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + this.Percentage = percentage; + this.RoundingAmount = roundingAmount; + this.ProRatedFlag = proRatedFlag; + this.TriggerSequenceNumber = triggerSequenceNumber; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey Key { get; set; } + + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The percentage value in case of percentage price modifiers.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + /// + /// The percentage value in case of percentage price modifiers.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + [DataMember(Name="percentage", EmitDefaultValue=false)] + public double? Percentage { get; set; } + + /// + /// The monetary amount that the price modification was adjusted by (after calculation from the percentage). <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount that the price modification was adjusted by (after calculation from the percentage). <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="roundingAmount", EmitDefaultValue=false)] + public double? RoundingAmount { get; set; } + + /// + /// The monetary value of the price modification that was given.  + /// + /// The monetary value of the price modification that was given.  + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// Indicates if this price modification was pro-rated across all of the Items in the RetailTransaction.Always true. + /// + /// Indicates if this price modification was pro-rated across all of the Items in the RetailTransaction.Always true. + [DataMember(Name="proRatedFlag", EmitDefaultValue=false)] + public bool? ProRatedFlag { get; set; } + + /// + /// The ident of the manual trigger (because a transaction item can have more than one trigger)  + /// + /// The ident of the manual trigger (because a transaction item can have more than one trigger)  + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// The retail sale total price of the transaction before applying the current price modification line item  + /// + /// The retail sale total price of the transaction before applying the current price modification line item  + [DataMember(Name="extendedAmountBeforeModification", EmitDefaultValue=false)] + public double? ExtendedAmountBeforeModification { get; set; } + + /// + /// The retail sale total price of the transaction before applying the current price modification line item + /// + /// The retail sale total price of the transaction before applying the current price modification line item + [DataMember(Name="extendedAmountAfterModification", EmitDefaultValue=false)] + public double? ExtendedAmountAfterModification { get; set; } + + /// + /// A monetary amount which results from applying a price modification line item but does not affect the transaction total  + /// + /// A monetary amount which results from applying a price modification line item but does not affect the transaction total  + [DataMember(Name="extraAmount", EmitDefaultValue=false)] + public double? ExtraAmount { get; set; } + + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied + [DataMember(Name="externalSystemOriginatorFlag", EmitDefaultValue=false)] + public bool? ExternalSystemOriginatorFlag { get; set; } + + /// + /// The amount which was used as base for calculation of the price modification + /// + /// The amount which was used as base for calculation of the price modification + [DataMember(Name="calculationBaseAmount", EmitDefaultValue=false)] + public double? CalculationBaseAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" Percentage: ").Append(Percentage).Append("\n"); + sb.Append(" RoundingAmount: ").Append(RoundingAmount).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" ProRatedFlag: ").Append(ProRatedFlag).Append("\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append(" ExtendedAmountBeforeModification: ").Append(ExtendedAmountBeforeModification).Append("\n"); + sb.Append(" ExtendedAmountAfterModification: ").Append(ExtendedAmountAfterModification).Append("\n"); + sb.Append(" ExtraAmount: ").Append(ExtraAmount).Append("\n"); + sb.Append(" ExternalSystemOriginatorFlag: ").Append(ExternalSystemOriginatorFlag).Append("\n"); + sb.Append(" CalculationBaseAmount: ").Append(CalculationBaseAmount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.Percentage == input.Percentage || + (this.Percentage != null && + this.Percentage.Equals(input.Percentage)) + ) && + ( + this.RoundingAmount == input.RoundingAmount || + (this.RoundingAmount != null && + this.RoundingAmount.Equals(input.RoundingAmount)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.ProRatedFlag == input.ProRatedFlag || + (this.ProRatedFlag != null && + this.ProRatedFlag.Equals(input.ProRatedFlag)) + ) && + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ) && + ( + this.ExtendedAmountBeforeModification == input.ExtendedAmountBeforeModification || + (this.ExtendedAmountBeforeModification != null && + this.ExtendedAmountBeforeModification.Equals(input.ExtendedAmountBeforeModification)) + ) && + ( + this.ExtendedAmountAfterModification == input.ExtendedAmountAfterModification || + (this.ExtendedAmountAfterModification != null && + this.ExtendedAmountAfterModification.Equals(input.ExtendedAmountAfterModification)) + ) && + ( + this.ExtraAmount == input.ExtraAmount || + (this.ExtraAmount != null && + this.ExtraAmount.Equals(input.ExtraAmount)) + ) && + ( + this.ExternalSystemOriginatorFlag == input.ExternalSystemOriginatorFlag || + (this.ExternalSystemOriginatorFlag != null && + this.ExternalSystemOriginatorFlag.Equals(input.ExternalSystemOriginatorFlag)) + ) && + ( + this.CalculationBaseAmount == input.CalculationBaseAmount || + (this.CalculationBaseAmount != null && + this.CalculationBaseAmount.Equals(input.CalculationBaseAmount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.Percentage != null) + hashCode = hashCode * 59 + this.Percentage.GetHashCode(); + if (this.RoundingAmount != null) + hashCode = hashCode * 59 + this.RoundingAmount.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.ProRatedFlag != null) + hashCode = hashCode * 59 + this.ProRatedFlag.GetHashCode(); + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + if (this.ExtendedAmountBeforeModification != null) + hashCode = hashCode * 59 + this.ExtendedAmountBeforeModification.GetHashCode(); + if (this.ExtendedAmountAfterModification != null) + hashCode = hashCode * 59 + this.ExtendedAmountAfterModification.GetHashCode(); + if (this.ExtraAmount != null) + hashCode = hashCode * 59 + this.ExtraAmount.GetHashCode(); + if (this.ExternalSystemOriginatorFlag != null) + hashCode = hashCode * 59 + this.ExternalSystemOriginatorFlag.GetHashCode(); + if (this.CalculationBaseAmount != null) + hashCode = hashCode * 59 + this.CalculationBaseAmount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..dd171756f99c545058ae7e91d6cb47e4320dbc46 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PriceModificationLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca093fbb5c9424fd183256215681640380e50478 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier.cs @@ -0,0 +1,652 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailPriceModifier <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the promotion.. + /// The unique identifier of the price derivation rule. . + /// The unique identifier of the root eligibility.. + /// The reason code for manual price overrides.. + /// The unit price that was valid before manual price override.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The percentage value in case of percentage price modifiers. (required). + /// The total amount of the retail price modifier. (required). + /// A type code used to identity manual price overrides.. + /// A mnemonic code denoting what kind of adjustment is being made to the retail price of the Item (Increase, Decrease).. + /// The unit price that was the result of the price modification. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The type code of the root eligibility. + /// The retail sale total price of the line item before applying the current price modifier  (required). + /// The retail sale total price of the line item after applying the current price modifier  (required). + /// The quantity the price modifier applies to. Always positive. (required). + /// The ident of the manual trigger (because one line item can have more than one trigger) . + /// A narrative description describing the reason for manual price overrides.. + /// A monetary amount which results from applying a price modifier but does not affect the line item total  (required). + /// The monetary amount that the price modifier was adjusted by.  (required). + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  (required). + /// The sequence number of the PriceModificationLineItem.Only filled for discount shares of transaction related discounts.. + /// The amount which was used as base for calculation of the price modification (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier(ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), string reasonCode = default(string), double? previousPrice = default(double?), double? percent = default(double?), double? amount = default(double?), string calculationMethodCode = default(string), string adjustmentMethodCode = default(string), double? newPrice = default(double?), string eligibilityTypeCode = default(string), double? extendedAmountBeforeModification = default(double?), double? extendedAmountAfterModification = default(double?), double? appliedQuantity = default(double?), int? triggerSequenceNumber = default(int?), string reasonDescription = default(string), double? extraAmount = default(double?), double? roundingAmount = default(double?), bool? externalSystemOriginatorFlag = default(bool?), int? prorateFrom = default(int?), double? calculationBaseAmount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "percent" is required (not null) + if (percent == null) + { + throw new InvalidDataException("percent is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.Percent = percent; + } + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.Amount = amount; + } + // to ensure "extendedAmountBeforeModification" is required (not null) + if (extendedAmountBeforeModification == null) + { + throw new InvalidDataException("extendedAmountBeforeModification is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.ExtendedAmountBeforeModification = extendedAmountBeforeModification; + } + // to ensure "extendedAmountAfterModification" is required (not null) + if (extendedAmountAfterModification == null) + { + throw new InvalidDataException("extendedAmountAfterModification is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.ExtendedAmountAfterModification = extendedAmountAfterModification; + } + // to ensure "appliedQuantity" is required (not null) + if (appliedQuantity == null) + { + throw new InvalidDataException("appliedQuantity is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.AppliedQuantity = appliedQuantity; + } + // to ensure "extraAmount" is required (not null) + if (extraAmount == null) + { + throw new InvalidDataException("extraAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.ExtraAmount = extraAmount; + } + // to ensure "roundingAmount" is required (not null) + if (roundingAmount == null) + { + throw new InvalidDataException("roundingAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.RoundingAmount = roundingAmount; + } + // to ensure "externalSystemOriginatorFlag" is required (not null) + if (externalSystemOriginatorFlag == null) + { + throw new InvalidDataException("externalSystemOriginatorFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.ExternalSystemOriginatorFlag = externalSystemOriginatorFlag; + } + // to ensure "calculationBaseAmount" is required (not null) + if (calculationBaseAmount == null) + { + throw new InvalidDataException("calculationBaseAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier and cannot be null"); + } + else + { + this.CalculationBaseAmount = calculationBaseAmount; + } + this.PromotionID = promotionID; + this.PriceDerivationRuleID = priceDerivationRuleID; + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + this.ReasonCode = reasonCode; + this.PreviousPrice = previousPrice; + this.CalculationMethodCode = calculationMethodCode; + this.AdjustmentMethodCode = adjustmentMethodCode; + this.NewPrice = newPrice; + this.EligibilityTypeCode = eligibilityTypeCode; + this.TriggerSequenceNumber = triggerSequenceNumber; + this.ReasonDescription = reasonDescription; + this.ProrateFrom = prorateFrom; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey Key { get; set; } + + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The reason code for manual price overrides. + /// + /// The reason code for manual price overrides. + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// The unit price that was valid before manual price override.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The unit price that was valid before manual price override.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="previousPrice", EmitDefaultValue=false)] + public double? PreviousPrice { get; set; } + + /// + /// The percentage value in case of percentage price modifiers. + /// + /// The percentage value in case of percentage price modifiers. + [DataMember(Name="percent", EmitDefaultValue=false)] + public double? Percent { get; set; } + + /// + /// The total amount of the retail price modifier. + /// + /// The total amount of the retail price modifier. + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// A type code used to identity manual price overrides. + /// + /// A type code used to identity manual price overrides. + [DataMember(Name="calculationMethodCode", EmitDefaultValue=false)] + public string CalculationMethodCode { get; set; } + + /// + /// A mnemonic code denoting what kind of adjustment is being made to the retail price of the Item (Increase, Decrease). + /// + /// A mnemonic code denoting what kind of adjustment is being made to the retail price of the Item (Increase, Decrease). + [DataMember(Name="adjustmentMethodCode", EmitDefaultValue=false)] + public string AdjustmentMethodCode { get; set; } + + /// + /// The unit price that was the result of the price modification. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The unit price that was the result of the price modification. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="newPrice", EmitDefaultValue=false)] + public double? NewPrice { get; set; } + + /// + /// The type code of the root eligibility + /// + /// The type code of the root eligibility + [DataMember(Name="eligibilityTypeCode", EmitDefaultValue=false)] + public string EligibilityTypeCode { get; set; } + + /// + /// The retail sale total price of the line item before applying the current price modifier  + /// + /// The retail sale total price of the line item before applying the current price modifier  + [DataMember(Name="extendedAmountBeforeModification", EmitDefaultValue=false)] + public double? ExtendedAmountBeforeModification { get; set; } + + /// + /// The retail sale total price of the line item after applying the current price modifier  + /// + /// The retail sale total price of the line item after applying the current price modifier  + [DataMember(Name="extendedAmountAfterModification", EmitDefaultValue=false)] + public double? ExtendedAmountAfterModification { get; set; } + + /// + /// The quantity the price modifier applies to. Always positive. + /// + /// The quantity the price modifier applies to. Always positive. + [DataMember(Name="appliedQuantity", EmitDefaultValue=false)] + public double? AppliedQuantity { get; set; } + + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// A narrative description describing the reason for manual price overrides. + /// + /// A narrative description describing the reason for manual price overrides. + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// A monetary amount which results from applying a price modifier but does not affect the line item total  + /// + /// A monetary amount which results from applying a price modifier but does not affect the line item total  + [DataMember(Name="extraAmount", EmitDefaultValue=false)] + public double? ExtraAmount { get; set; } + + /// + /// The monetary amount that the price modifier was adjusted by.  + /// + /// The monetary amount that the price modifier was adjusted by.  + [DataMember(Name="roundingAmount", EmitDefaultValue=false)] + public double? RoundingAmount { get; set; } + + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + [DataMember(Name="externalSystemOriginatorFlag", EmitDefaultValue=false)] + public bool? ExternalSystemOriginatorFlag { get; set; } + + /// + /// The sequence number of the PriceModificationLineItem.Only filled for discount shares of transaction related discounts. + /// + /// The sequence number of the PriceModificationLineItem.Only filled for discount shares of transaction related discounts. + [DataMember(Name="prorateFrom", EmitDefaultValue=false)] + public int? ProrateFrom { get; set; } + + /// + /// The amount which was used as base for calculation of the price modification + /// + /// The amount which was used as base for calculation of the price modification + [DataMember(Name="calculationBaseAmount", EmitDefaultValue=false)] + public double? CalculationBaseAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" PreviousPrice: ").Append(PreviousPrice).Append("\n"); + sb.Append(" Percent: ").Append(Percent).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" CalculationMethodCode: ").Append(CalculationMethodCode).Append("\n"); + sb.Append(" AdjustmentMethodCode: ").Append(AdjustmentMethodCode).Append("\n"); + sb.Append(" NewPrice: ").Append(NewPrice).Append("\n"); + sb.Append(" EligibilityTypeCode: ").Append(EligibilityTypeCode).Append("\n"); + sb.Append(" ExtendedAmountBeforeModification: ").Append(ExtendedAmountBeforeModification).Append("\n"); + sb.Append(" ExtendedAmountAfterModification: ").Append(ExtendedAmountAfterModification).Append("\n"); + sb.Append(" AppliedQuantity: ").Append(AppliedQuantity).Append("\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" ExtraAmount: ").Append(ExtraAmount).Append("\n"); + sb.Append(" RoundingAmount: ").Append(RoundingAmount).Append("\n"); + sb.Append(" ExternalSystemOriginatorFlag: ").Append(ExternalSystemOriginatorFlag).Append("\n"); + sb.Append(" ProrateFrom: ").Append(ProrateFrom).Append("\n"); + sb.Append(" CalculationBaseAmount: ").Append(CalculationBaseAmount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.PreviousPrice == input.PreviousPrice || + (this.PreviousPrice != null && + this.PreviousPrice.Equals(input.PreviousPrice)) + ) && + ( + this.Percent == input.Percent || + (this.Percent != null && + this.Percent.Equals(input.Percent)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.CalculationMethodCode == input.CalculationMethodCode || + (this.CalculationMethodCode != null && + this.CalculationMethodCode.Equals(input.CalculationMethodCode)) + ) && + ( + this.AdjustmentMethodCode == input.AdjustmentMethodCode || + (this.AdjustmentMethodCode != null && + this.AdjustmentMethodCode.Equals(input.AdjustmentMethodCode)) + ) && + ( + this.NewPrice == input.NewPrice || + (this.NewPrice != null && + this.NewPrice.Equals(input.NewPrice)) + ) && + ( + this.EligibilityTypeCode == input.EligibilityTypeCode || + (this.EligibilityTypeCode != null && + this.EligibilityTypeCode.Equals(input.EligibilityTypeCode)) + ) && + ( + this.ExtendedAmountBeforeModification == input.ExtendedAmountBeforeModification || + (this.ExtendedAmountBeforeModification != null && + this.ExtendedAmountBeforeModification.Equals(input.ExtendedAmountBeforeModification)) + ) && + ( + this.ExtendedAmountAfterModification == input.ExtendedAmountAfterModification || + (this.ExtendedAmountAfterModification != null && + this.ExtendedAmountAfterModification.Equals(input.ExtendedAmountAfterModification)) + ) && + ( + this.AppliedQuantity == input.AppliedQuantity || + (this.AppliedQuantity != null && + this.AppliedQuantity.Equals(input.AppliedQuantity)) + ) && + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.ExtraAmount == input.ExtraAmount || + (this.ExtraAmount != null && + this.ExtraAmount.Equals(input.ExtraAmount)) + ) && + ( + this.RoundingAmount == input.RoundingAmount || + (this.RoundingAmount != null && + this.RoundingAmount.Equals(input.RoundingAmount)) + ) && + ( + this.ExternalSystemOriginatorFlag == input.ExternalSystemOriginatorFlag || + (this.ExternalSystemOriginatorFlag != null && + this.ExternalSystemOriginatorFlag.Equals(input.ExternalSystemOriginatorFlag)) + ) && + ( + this.ProrateFrom == input.ProrateFrom || + (this.ProrateFrom != null && + this.ProrateFrom.Equals(input.ProrateFrom)) + ) && + ( + this.CalculationBaseAmount == input.CalculationBaseAmount || + (this.CalculationBaseAmount != null && + this.CalculationBaseAmount.Equals(input.CalculationBaseAmount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.PreviousPrice != null) + hashCode = hashCode * 59 + this.PreviousPrice.GetHashCode(); + if (this.Percent != null) + hashCode = hashCode * 59 + this.Percent.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.CalculationMethodCode != null) + hashCode = hashCode * 59 + this.CalculationMethodCode.GetHashCode(); + if (this.AdjustmentMethodCode != null) + hashCode = hashCode * 59 + this.AdjustmentMethodCode.GetHashCode(); + if (this.NewPrice != null) + hashCode = hashCode * 59 + this.NewPrice.GetHashCode(); + if (this.EligibilityTypeCode != null) + hashCode = hashCode * 59 + this.EligibilityTypeCode.GetHashCode(); + if (this.ExtendedAmountBeforeModification != null) + hashCode = hashCode * 59 + this.ExtendedAmountBeforeModification.GetHashCode(); + if (this.ExtendedAmountAfterModification != null) + hashCode = hashCode * 59 + this.ExtendedAmountAfterModification.GetHashCode(); + if (this.AppliedQuantity != null) + hashCode = hashCode * 59 + this.AppliedQuantity.GetHashCode(); + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.ExtraAmount != null) + hashCode = hashCode * 59 + this.ExtraAmount.GetHashCode(); + if (this.RoundingAmount != null) + hashCode = hashCode * 59 + this.RoundingAmount.GetHashCode(); + if (this.ExternalSystemOriginatorFlag != null) + hashCode = hashCode * 59 + this.ExternalSystemOriginatorFlag.GetHashCode(); + if (this.ProrateFrom != null) + hashCode = hashCode * 59 + this.ProrateFrom.GetHashCode(); + if (this.CalculationBaseAmount != null) + hashCode = hashCode * 59 + this.CalculationBaseAmount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..87699a19108b0a0cd190eee0ebe2ddae62501d56 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailPriceModifier.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The sequence number for this RetailPriceModifier allowing more than one price modification to occur on each retail transaction line item.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? retailPriceModifierSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "retailPriceModifierSequenceNumber" is required (not null) + if (retailPriceModifierSequenceNumber == null) + { + throw new InvalidDataException("retailPriceModifierSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey and cannot be null"); + } + else + { + this.RetailPriceModifierSequenceNumber = retailPriceModifierSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The sequence number for this RetailPriceModifier allowing more than one price modification to occur on each retail transaction line item.  + /// + /// The sequence number for this RetailPriceModifier allowing more than one price modification to occur on each retail transaction line item.  + [DataMember(Name="retailPriceModifierSequenceNumber", EmitDefaultValue=false)] + public int? RetailPriceModifierSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" RetailPriceModifierSequenceNumber: ").Append(RetailPriceModifierSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.RetailPriceModifierSequenceNumber == input.RetailPriceModifierSequenceNumber || + (this.RetailPriceModifierSequenceNumber != null && + this.RetailPriceModifierSequenceNumber.Equals(input.RetailPriceModifierSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.RetailPriceModifierSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailPriceModifierSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..055c093161d67458158cbb60693a37cb7f152763 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransaction.cs @@ -0,0 +1,714 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A retailer assigned code denoting a type of RetailTransaction. . + /// The unique identifier of the till. + /// The date and time when the receipt for this transaction was printed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// Determines whether for this sales transaction a receipt was printed  (required). + /// The timestamp used for promotion validity checks and calculation ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// The number of frequent shopper points that HAD been awarded for the purchase in case the customer HAD presented a loyalty card<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// list of line items. + /// list of total amounts. + /// list of promotion triggers. + /// list of external triggers. + /// list of customers. + /// list of coupons. + /// list of conditions. + /// list of used coupons. + /// terminal authorization list. + /// list of manufacturer coupons. + /// send receipt as mail is activated (required). + /// local part of entered e-mail address. + /// domain part of entered e-mail address. + /// invoice printout is activated. + /// number of the invoice. + /// The UTC0 timestamp corresponding to the date and time that was printed on the receipt for this transaction. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// The UTC0 timestamp used for promotion validity checks and calculation ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The name (identifier) for a particular table, at which customers sit to eat food purchased in a RetailTransaction. It may be a table 'number' like '10' or '10.1' or the name of the customer party like 'Mr Mustermann'.. + /// list of generic attributes being valid for the transaction. + /// A status of the promotion recommendation evaluation and a list of promotions being recommended for a transaction. In order to get those promotions applied the customer would have to extend his purchase.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// tax exempt data. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransaction(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey), string retailTransactionTypeCode = default(string), string tillID = default(string), string receiptDateTime = default(string), bool? receiptPrintoutFlag = default(bool?), string promotionTimestamp = default(string), double? frequentShopperLostPointsCount = default(double?), List retailTransactionLineItemList = default(List), List retailTransactionTotalList = default(List), List retailTransactionPromotionTriggerList = default(List), List retailTransactionExternalTriggerList = default(List), List retailTransactionCustomerList = default(List), List retailTransactionCouponSummaryList = default(List), List retailTransactionPromotionPriceDerivationRuleList = default(List), List retailTransactionModifierCouponList = default(List), List tenderAuthorizationList = default(List), List retailTransactionManufacturerCouponSummaryList = default(List), bool? emailRequestedFlag = default(bool?), string emailAddressLocalPart = default(string), string emailAddressDomainPart = default(string), string invoicePrintoutTypeCode = default(string), string invoiceNumber = default(string), DateTime? receiptDateTimeUTC0 = default(DateTime?), DateTime? promotionTimestampUTC0 = default(DateTime?), string tableName = default(string), List retailTransactionGenericAttributeList = default(List), ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup retailTransactionPromotionRecommendationGroup = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), List retailTransactionTaxExemptTriggerList = default(List), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "receiptDateTime" is required (not null) + if (receiptDateTime == null) + { + throw new InvalidDataException("receiptDateTime is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransaction and cannot be null"); + } + else + { + this.ReceiptDateTime = receiptDateTime; + } + // to ensure "receiptPrintoutFlag" is required (not null) + if (receiptPrintoutFlag == null) + { + throw new InvalidDataException("receiptPrintoutFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransaction and cannot be null"); + } + else + { + this.ReceiptPrintoutFlag = receiptPrintoutFlag; + } + // to ensure "emailRequestedFlag" is required (not null) + if (emailRequestedFlag == null) + { + throw new InvalidDataException("emailRequestedFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransaction and cannot be null"); + } + else + { + this.EmailRequestedFlag = emailRequestedFlag; + } + // to ensure "receiptDateTimeUTC0" is required (not null) + if (receiptDateTimeUTC0 == null) + { + throw new InvalidDataException("receiptDateTimeUTC0 is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransaction and cannot be null"); + } + else + { + this.ReceiptDateTimeUTC0 = receiptDateTimeUTC0; + } + this.RetailTransactionTypeCode = retailTransactionTypeCode; + this.TillID = tillID; + this.PromotionTimestamp = promotionTimestamp; + this.FrequentShopperLostPointsCount = frequentShopperLostPointsCount; + this.RetailTransactionLineItemList = retailTransactionLineItemList; + this.RetailTransactionTotalList = retailTransactionTotalList; + this.RetailTransactionPromotionTriggerList = retailTransactionPromotionTriggerList; + this.RetailTransactionExternalTriggerList = retailTransactionExternalTriggerList; + this.RetailTransactionCustomerList = retailTransactionCustomerList; + this.RetailTransactionCouponSummaryList = retailTransactionCouponSummaryList; + this.RetailTransactionPromotionPriceDerivationRuleList = retailTransactionPromotionPriceDerivationRuleList; + this.RetailTransactionModifierCouponList = retailTransactionModifierCouponList; + this.TenderAuthorizationList = tenderAuthorizationList; + this.RetailTransactionManufacturerCouponSummaryList = retailTransactionManufacturerCouponSummaryList; + this.EmailAddressLocalPart = emailAddressLocalPart; + this.EmailAddressDomainPart = emailAddressDomainPart; + this.InvoicePrintoutTypeCode = invoicePrintoutTypeCode; + this.InvoiceNumber = invoiceNumber; + this.PromotionTimestampUTC0 = promotionTimestampUTC0; + this.TableName = tableName; + this.RetailTransactionGenericAttributeList = retailTransactionGenericAttributeList; + this.RetailTransactionPromotionRecommendationGroup = retailTransactionPromotionRecommendationGroup; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.RetailTransactionTaxExemptTriggerList = retailTransactionTaxExemptTriggerList; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey Key { get; set; } + + /// + /// A retailer assigned code denoting a type of RetailTransaction.  + /// + /// A retailer assigned code denoting a type of RetailTransaction.  + [DataMember(Name="retailTransactionTypeCode", EmitDefaultValue=false)] + public string RetailTransactionTypeCode { get; set; } + + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// The date and time when the receipt for this transaction was printed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time when the receipt for this transaction was printed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="receiptDateTime", EmitDefaultValue=false)] + public string ReceiptDateTime { get; set; } + + /// + /// Determines whether for this sales transaction a receipt was printed  + /// + /// Determines whether for this sales transaction a receipt was printed  + [DataMember(Name="receiptPrintoutFlag", EmitDefaultValue=false)] + public bool? ReceiptPrintoutFlag { get; set; } + + /// + /// The timestamp used for promotion validity checks and calculation ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp used for promotion validity checks and calculation ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="promotionTimestamp", EmitDefaultValue=false)] + public string PromotionTimestamp { get; set; } + + /// + /// The number of frequent shopper points that HAD been awarded for the purchase in case the customer HAD presented a loyalty card<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of frequent shopper points that HAD been awarded for the purchase in case the customer HAD presented a loyalty card<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="frequentShopperLostPointsCount", EmitDefaultValue=false)] + public double? FrequentShopperLostPointsCount { get; set; } + + /// + /// list of line items + /// + /// list of line items + [DataMember(Name="retailTransactionLineItemList", EmitDefaultValue=false)] + public List RetailTransactionLineItemList { get; set; } + + /// + /// list of total amounts + /// + /// list of total amounts + [DataMember(Name="retailTransactionTotalList", EmitDefaultValue=false)] + public List RetailTransactionTotalList { get; set; } + + /// + /// list of promotion triggers + /// + /// list of promotion triggers + [DataMember(Name="retailTransactionPromotionTriggerList", EmitDefaultValue=false)] + public List RetailTransactionPromotionTriggerList { get; set; } + + /// + /// list of external triggers + /// + /// list of external triggers + [DataMember(Name="retailTransactionExternalTriggerList", EmitDefaultValue=false)] + public List RetailTransactionExternalTriggerList { get; set; } + + /// + /// list of customers + /// + /// list of customers + [DataMember(Name="retailTransactionCustomerList", EmitDefaultValue=false)] + public List RetailTransactionCustomerList { get; set; } + + /// + /// list of coupons + /// + /// list of coupons + [DataMember(Name="retailTransactionCouponSummaryList", EmitDefaultValue=false)] + public List RetailTransactionCouponSummaryList { get; set; } + + /// + /// list of conditions + /// + /// list of conditions + [DataMember(Name="retailTransactionPromotionPriceDerivationRuleList", EmitDefaultValue=false)] + public List RetailTransactionPromotionPriceDerivationRuleList { get; set; } + + /// + /// list of used coupons + /// + /// list of used coupons + [DataMember(Name="retailTransactionModifierCouponList", EmitDefaultValue=false)] + public List RetailTransactionModifierCouponList { get; set; } + + /// + /// terminal authorization list + /// + /// terminal authorization list + [DataMember(Name="tenderAuthorizationList", EmitDefaultValue=false)] + public List TenderAuthorizationList { get; set; } + + /// + /// list of manufacturer coupons + /// + /// list of manufacturer coupons + [DataMember(Name="retailTransactionManufacturerCouponSummaryList", EmitDefaultValue=false)] + public List RetailTransactionManufacturerCouponSummaryList { get; set; } + + /// + /// send receipt as mail is activated + /// + /// send receipt as mail is activated + [DataMember(Name="emailRequestedFlag", EmitDefaultValue=false)] + public bool? EmailRequestedFlag { get; set; } + + /// + /// local part of entered e-mail address + /// + /// local part of entered e-mail address + [DataMember(Name="emailAddressLocalPart", EmitDefaultValue=false)] + public string EmailAddressLocalPart { get; set; } + + /// + /// domain part of entered e-mail address + /// + /// domain part of entered e-mail address + [DataMember(Name="emailAddressDomainPart", EmitDefaultValue=false)] + public string EmailAddressDomainPart { get; set; } + + /// + /// invoice printout is activated + /// + /// invoice printout is activated + [DataMember(Name="invoicePrintoutTypeCode", EmitDefaultValue=false)] + public string InvoicePrintoutTypeCode { get; set; } + + /// + /// number of the invoice + /// + /// number of the invoice + [DataMember(Name="invoiceNumber", EmitDefaultValue=false)] + public string InvoiceNumber { get; set; } + + /// + /// The UTC0 timestamp corresponding to the date and time that was printed on the receipt for this transaction. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp corresponding to the date and time that was printed on the receipt for this transaction. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="receiptDateTimeUTC0", EmitDefaultValue=false)] + public DateTime? ReceiptDateTimeUTC0 { get; set; } + + /// + /// The UTC0 timestamp used for promotion validity checks and calculation ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp used for promotion validity checks and calculation ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="promotionTimestampUTC0", EmitDefaultValue=false)] + public DateTime? PromotionTimestampUTC0 { get; set; } + + /// + /// The name (identifier) for a particular table, at which customers sit to eat food purchased in a RetailTransaction. It may be a table 'number' like '10' or '10.1' or the name of the customer party like 'Mr Mustermann'. + /// + /// The name (identifier) for a particular table, at which customers sit to eat food purchased in a RetailTransaction. It may be a table 'number' like '10' or '10.1' or the name of the customer party like 'Mr Mustermann'. + [DataMember(Name="tableName", EmitDefaultValue=false)] + public string TableName { get; set; } + + /// + /// list of generic attributes being valid for the transaction + /// + /// list of generic attributes being valid for the transaction + [DataMember(Name="retailTransactionGenericAttributeList", EmitDefaultValue=false)] + public List RetailTransactionGenericAttributeList { get; set; } + + /// + /// A status of the promotion recommendation evaluation and a list of promotions being recommended for a transaction. In order to get those promotions applied the customer would have to extend his purchase. + /// + /// A status of the promotion recommendation evaluation and a list of promotions being recommended for a transaction. In order to get those promotions applied the customer would have to extend his purchase. + [DataMember(Name="retailTransactionPromotionRecommendationGroup", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup RetailTransactionPromotionRecommendationGroup { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// tax exempt data + /// + /// tax exempt data + [DataMember(Name="retailTransactionTaxExemptTriggerList", EmitDefaultValue=false)] + public List RetailTransactionTaxExemptTriggerList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" RetailTransactionTypeCode: ").Append(RetailTransactionTypeCode).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append(" ReceiptDateTime: ").Append(ReceiptDateTime).Append("\n"); + sb.Append(" ReceiptPrintoutFlag: ").Append(ReceiptPrintoutFlag).Append("\n"); + sb.Append(" PromotionTimestamp: ").Append(PromotionTimestamp).Append("\n"); + sb.Append(" FrequentShopperLostPointsCount: ").Append(FrequentShopperLostPointsCount).Append("\n"); + sb.Append(" RetailTransactionLineItemList: ").Append(RetailTransactionLineItemList).Append("\n"); + sb.Append(" RetailTransactionTotalList: ").Append(RetailTransactionTotalList).Append("\n"); + sb.Append(" RetailTransactionPromotionTriggerList: ").Append(RetailTransactionPromotionTriggerList).Append("\n"); + sb.Append(" RetailTransactionExternalTriggerList: ").Append(RetailTransactionExternalTriggerList).Append("\n"); + sb.Append(" RetailTransactionCustomerList: ").Append(RetailTransactionCustomerList).Append("\n"); + sb.Append(" RetailTransactionCouponSummaryList: ").Append(RetailTransactionCouponSummaryList).Append("\n"); + sb.Append(" RetailTransactionPromotionPriceDerivationRuleList: ").Append(RetailTransactionPromotionPriceDerivationRuleList).Append("\n"); + sb.Append(" RetailTransactionModifierCouponList: ").Append(RetailTransactionModifierCouponList).Append("\n"); + sb.Append(" TenderAuthorizationList: ").Append(TenderAuthorizationList).Append("\n"); + sb.Append(" RetailTransactionManufacturerCouponSummaryList: ").Append(RetailTransactionManufacturerCouponSummaryList).Append("\n"); + sb.Append(" EmailRequestedFlag: ").Append(EmailRequestedFlag).Append("\n"); + sb.Append(" EmailAddressLocalPart: ").Append(EmailAddressLocalPart).Append("\n"); + sb.Append(" EmailAddressDomainPart: ").Append(EmailAddressDomainPart).Append("\n"); + sb.Append(" InvoicePrintoutTypeCode: ").Append(InvoicePrintoutTypeCode).Append("\n"); + sb.Append(" InvoiceNumber: ").Append(InvoiceNumber).Append("\n"); + sb.Append(" ReceiptDateTimeUTC0: ").Append(ReceiptDateTimeUTC0).Append("\n"); + sb.Append(" PromotionTimestampUTC0: ").Append(PromotionTimestampUTC0).Append("\n"); + sb.Append(" TableName: ").Append(TableName).Append("\n"); + sb.Append(" RetailTransactionGenericAttributeList: ").Append(RetailTransactionGenericAttributeList).Append("\n"); + sb.Append(" RetailTransactionPromotionRecommendationGroup: ").Append(RetailTransactionPromotionRecommendationGroup).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" RetailTransactionTaxExemptTriggerList: ").Append(RetailTransactionTaxExemptTriggerList).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.RetailTransactionTypeCode == input.RetailTransactionTypeCode || + (this.RetailTransactionTypeCode != null && + this.RetailTransactionTypeCode.Equals(input.RetailTransactionTypeCode)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ) && + ( + this.ReceiptDateTime == input.ReceiptDateTime || + (this.ReceiptDateTime != null && + this.ReceiptDateTime.Equals(input.ReceiptDateTime)) + ) && + ( + this.ReceiptPrintoutFlag == input.ReceiptPrintoutFlag || + (this.ReceiptPrintoutFlag != null && + this.ReceiptPrintoutFlag.Equals(input.ReceiptPrintoutFlag)) + ) && + ( + this.PromotionTimestamp == input.PromotionTimestamp || + (this.PromotionTimestamp != null && + this.PromotionTimestamp.Equals(input.PromotionTimestamp)) + ) && + ( + this.FrequentShopperLostPointsCount == input.FrequentShopperLostPointsCount || + (this.FrequentShopperLostPointsCount != null && + this.FrequentShopperLostPointsCount.Equals(input.FrequentShopperLostPointsCount)) + ) && + ( + this.RetailTransactionLineItemList == input.RetailTransactionLineItemList || + this.RetailTransactionLineItemList != null && + this.RetailTransactionLineItemList.SequenceEqual(input.RetailTransactionLineItemList) + ) && + ( + this.RetailTransactionTotalList == input.RetailTransactionTotalList || + this.RetailTransactionTotalList != null && + this.RetailTransactionTotalList.SequenceEqual(input.RetailTransactionTotalList) + ) && + ( + this.RetailTransactionPromotionTriggerList == input.RetailTransactionPromotionTriggerList || + this.RetailTransactionPromotionTriggerList != null && + this.RetailTransactionPromotionTriggerList.SequenceEqual(input.RetailTransactionPromotionTriggerList) + ) && + ( + this.RetailTransactionExternalTriggerList == input.RetailTransactionExternalTriggerList || + this.RetailTransactionExternalTriggerList != null && + this.RetailTransactionExternalTriggerList.SequenceEqual(input.RetailTransactionExternalTriggerList) + ) && + ( + this.RetailTransactionCustomerList == input.RetailTransactionCustomerList || + this.RetailTransactionCustomerList != null && + this.RetailTransactionCustomerList.SequenceEqual(input.RetailTransactionCustomerList) + ) && + ( + this.RetailTransactionCouponSummaryList == input.RetailTransactionCouponSummaryList || + this.RetailTransactionCouponSummaryList != null && + this.RetailTransactionCouponSummaryList.SequenceEqual(input.RetailTransactionCouponSummaryList) + ) && + ( + this.RetailTransactionPromotionPriceDerivationRuleList == input.RetailTransactionPromotionPriceDerivationRuleList || + this.RetailTransactionPromotionPriceDerivationRuleList != null && + this.RetailTransactionPromotionPriceDerivationRuleList.SequenceEqual(input.RetailTransactionPromotionPriceDerivationRuleList) + ) && + ( + this.RetailTransactionModifierCouponList == input.RetailTransactionModifierCouponList || + this.RetailTransactionModifierCouponList != null && + this.RetailTransactionModifierCouponList.SequenceEqual(input.RetailTransactionModifierCouponList) + ) && + ( + this.TenderAuthorizationList == input.TenderAuthorizationList || + this.TenderAuthorizationList != null && + this.TenderAuthorizationList.SequenceEqual(input.TenderAuthorizationList) + ) && + ( + this.RetailTransactionManufacturerCouponSummaryList == input.RetailTransactionManufacturerCouponSummaryList || + this.RetailTransactionManufacturerCouponSummaryList != null && + this.RetailTransactionManufacturerCouponSummaryList.SequenceEqual(input.RetailTransactionManufacturerCouponSummaryList) + ) && + ( + this.EmailRequestedFlag == input.EmailRequestedFlag || + (this.EmailRequestedFlag != null && + this.EmailRequestedFlag.Equals(input.EmailRequestedFlag)) + ) && + ( + this.EmailAddressLocalPart == input.EmailAddressLocalPart || + (this.EmailAddressLocalPart != null && + this.EmailAddressLocalPart.Equals(input.EmailAddressLocalPart)) + ) && + ( + this.EmailAddressDomainPart == input.EmailAddressDomainPart || + (this.EmailAddressDomainPart != null && + this.EmailAddressDomainPart.Equals(input.EmailAddressDomainPart)) + ) && + ( + this.InvoicePrintoutTypeCode == input.InvoicePrintoutTypeCode || + (this.InvoicePrintoutTypeCode != null && + this.InvoicePrintoutTypeCode.Equals(input.InvoicePrintoutTypeCode)) + ) && + ( + this.InvoiceNumber == input.InvoiceNumber || + (this.InvoiceNumber != null && + this.InvoiceNumber.Equals(input.InvoiceNumber)) + ) && + ( + this.ReceiptDateTimeUTC0 == input.ReceiptDateTimeUTC0 || + (this.ReceiptDateTimeUTC0 != null && + this.ReceiptDateTimeUTC0.Equals(input.ReceiptDateTimeUTC0)) + ) && + ( + this.PromotionTimestampUTC0 == input.PromotionTimestampUTC0 || + (this.PromotionTimestampUTC0 != null && + this.PromotionTimestampUTC0.Equals(input.PromotionTimestampUTC0)) + ) && + ( + this.TableName == input.TableName || + (this.TableName != null && + this.TableName.Equals(input.TableName)) + ) && + ( + this.RetailTransactionGenericAttributeList == input.RetailTransactionGenericAttributeList || + this.RetailTransactionGenericAttributeList != null && + this.RetailTransactionGenericAttributeList.SequenceEqual(input.RetailTransactionGenericAttributeList) + ) && + ( + this.RetailTransactionPromotionRecommendationGroup == input.RetailTransactionPromotionRecommendationGroup || + (this.RetailTransactionPromotionRecommendationGroup != null && + this.RetailTransactionPromotionRecommendationGroup.Equals(input.RetailTransactionPromotionRecommendationGroup)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.RetailTransactionTaxExemptTriggerList == input.RetailTransactionTaxExemptTriggerList || + this.RetailTransactionTaxExemptTriggerList != null && + this.RetailTransactionTaxExemptTriggerList.SequenceEqual(input.RetailTransactionTaxExemptTriggerList) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.RetailTransactionTypeCode != null) + hashCode = hashCode * 59 + this.RetailTransactionTypeCode.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + if (this.ReceiptDateTime != null) + hashCode = hashCode * 59 + this.ReceiptDateTime.GetHashCode(); + if (this.ReceiptPrintoutFlag != null) + hashCode = hashCode * 59 + this.ReceiptPrintoutFlag.GetHashCode(); + if (this.PromotionTimestamp != null) + hashCode = hashCode * 59 + this.PromotionTimestamp.GetHashCode(); + if (this.FrequentShopperLostPointsCount != null) + hashCode = hashCode * 59 + this.FrequentShopperLostPointsCount.GetHashCode(); + if (this.RetailTransactionLineItemList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemList.GetHashCode(); + if (this.RetailTransactionTotalList != null) + hashCode = hashCode * 59 + this.RetailTransactionTotalList.GetHashCode(); + if (this.RetailTransactionPromotionTriggerList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionTriggerList.GetHashCode(); + if (this.RetailTransactionExternalTriggerList != null) + hashCode = hashCode * 59 + this.RetailTransactionExternalTriggerList.GetHashCode(); + if (this.RetailTransactionCustomerList != null) + hashCode = hashCode * 59 + this.RetailTransactionCustomerList.GetHashCode(); + if (this.RetailTransactionCouponSummaryList != null) + hashCode = hashCode * 59 + this.RetailTransactionCouponSummaryList.GetHashCode(); + if (this.RetailTransactionPromotionPriceDerivationRuleList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionPriceDerivationRuleList.GetHashCode(); + if (this.RetailTransactionModifierCouponList != null) + hashCode = hashCode * 59 + this.RetailTransactionModifierCouponList.GetHashCode(); + if (this.TenderAuthorizationList != null) + hashCode = hashCode * 59 + this.TenderAuthorizationList.GetHashCode(); + if (this.RetailTransactionManufacturerCouponSummaryList != null) + hashCode = hashCode * 59 + this.RetailTransactionManufacturerCouponSummaryList.GetHashCode(); + if (this.EmailRequestedFlag != null) + hashCode = hashCode * 59 + this.EmailRequestedFlag.GetHashCode(); + if (this.EmailAddressLocalPart != null) + hashCode = hashCode * 59 + this.EmailAddressLocalPart.GetHashCode(); + if (this.EmailAddressDomainPart != null) + hashCode = hashCode * 59 + this.EmailAddressDomainPart.GetHashCode(); + if (this.InvoicePrintoutTypeCode != null) + hashCode = hashCode * 59 + this.InvoicePrintoutTypeCode.GetHashCode(); + if (this.InvoiceNumber != null) + hashCode = hashCode * 59 + this.InvoiceNumber.GetHashCode(); + if (this.ReceiptDateTimeUTC0 != null) + hashCode = hashCode * 59 + this.ReceiptDateTimeUTC0.GetHashCode(); + if (this.PromotionTimestampUTC0 != null) + hashCode = hashCode * 59 + this.PromotionTimestampUTC0.GetHashCode(); + if (this.TableName != null) + hashCode = hashCode * 59 + this.TableName.GetHashCode(); + if (this.RetailTransactionGenericAttributeList != null) + hashCode = hashCode * 59 + this.RetailTransactionGenericAttributeList.GetHashCode(); + if (this.RetailTransactionPromotionRecommendationGroup != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionRecommendationGroup.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.RetailTransactionTaxExemptTriggerList != null) + hashCode = hashCode * 59 + this.RetailTransactionTaxExemptTriggerList.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..5dd93a06ef7d0ee853142563132bdd923edae6f1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary.cs @@ -0,0 +1,741 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCouponSerialSummary <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used. . + /// The couponing service transaction ID . + /// The last date and time when the coupon is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// The last date and time in UTC0 format when the coupon is effective; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// Defines if the coupon serial triggered a promotion price derivation rule. (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey), string bookingSuccessfulTypeCode = default(string), string bookingTransactionUUID = default(string), string expirationTimestamp = default(string), DateTime? expirationTimestampUTC0 = default(DateTime?), bool? appliedFlag = default(bool?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "appliedFlag" is required (not null) + if (appliedFlag == null) + { + throw new InvalidDataException("appliedFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary and cannot be null"); + } + else + { + this.AppliedFlag = appliedFlag; + } + this.BookingSuccessfulTypeCode = bookingSuccessfulTypeCode; + this.BookingTransactionUUID = bookingTransactionUUID; + this.ExpirationTimestamp = expirationTimestamp; + this.ExpirationTimestampUTC0 = expirationTimestampUTC0; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey Key { get; set; } + + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + [DataMember(Name="bookingSuccessfulTypeCode", EmitDefaultValue=false)] + public string BookingSuccessfulTypeCode { get; set; } + + /// + /// The couponing service transaction ID  + /// + /// The couponing service transaction ID  + [DataMember(Name="bookingTransactionUUID", EmitDefaultValue=false)] + public string BookingTransactionUUID { get; set; } + + /// + /// The last date and time when the coupon is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The last date and time when the coupon is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationTimestamp", EmitDefaultValue=false)] + public string ExpirationTimestamp { get; set; } + + /// + /// The last date and time in UTC0 format when the coupon is effective; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The last date and time in UTC0 format when the coupon is effective; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="expirationTimestampUTC0", EmitDefaultValue=false)] + public DateTime? ExpirationTimestampUTC0 { get; set; } + + /// + /// Defines if the coupon serial triggered a promotion price derivation rule. + /// + /// Defines if the coupon serial triggered a promotion price derivation rule. + [DataMember(Name="appliedFlag", EmitDefaultValue=false)] + public bool? AppliedFlag { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" BookingSuccessfulTypeCode: ").Append(BookingSuccessfulTypeCode).Append("\n"); + sb.Append(" BookingTransactionUUID: ").Append(BookingTransactionUUID).Append("\n"); + sb.Append(" ExpirationTimestamp: ").Append(ExpirationTimestamp).Append("\n"); + sb.Append(" ExpirationTimestampUTC0: ").Append(ExpirationTimestampUTC0).Append("\n"); + sb.Append(" AppliedFlag: ").Append(AppliedFlag).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.BookingSuccessfulTypeCode == input.BookingSuccessfulTypeCode || + (this.BookingSuccessfulTypeCode != null && + this.BookingSuccessfulTypeCode.Equals(input.BookingSuccessfulTypeCode)) + ) && + ( + this.BookingTransactionUUID == input.BookingTransactionUUID || + (this.BookingTransactionUUID != null && + this.BookingTransactionUUID.Equals(input.BookingTransactionUUID)) + ) && + ( + this.ExpirationTimestamp == input.ExpirationTimestamp || + (this.ExpirationTimestamp != null && + this.ExpirationTimestamp.Equals(input.ExpirationTimestamp)) + ) && + ( + this.ExpirationTimestampUTC0 == input.ExpirationTimestampUTC0 || + (this.ExpirationTimestampUTC0 != null && + this.ExpirationTimestampUTC0.Equals(input.ExpirationTimestampUTC0)) + ) && + ( + this.AppliedFlag == input.AppliedFlag || + (this.AppliedFlag != null && + this.AppliedFlag.Equals(input.AppliedFlag)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.BookingSuccessfulTypeCode != null) + hashCode = hashCode * 59 + this.BookingSuccessfulTypeCode.GetHashCode(); + if (this.BookingTransactionUUID != null) + hashCode = hashCode * 59 + this.BookingTransactionUUID.GetHashCode(); + if (this.ExpirationTimestamp != null) + hashCode = hashCode * 59 + this.ExpirationTimestamp.GetHashCode(); + if (this.ExpirationTimestampUTC0 != null) + hashCode = hashCode * 59 + this.ExpirationTimestampUTC0.GetHashCode(); + if (this.AppliedFlag != null) + hashCode = hashCode * 59 + this.AppliedFlag.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..28303a99cdb2d8e0b58951bae91f35f1beb0a135 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCouponSerialSummary.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The coupon number  (required). + /// The coupon serial number (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey(string businessUnitGroupID = default(string), string transactionID = default(string), string couponNumber = default(string), string couponSerialNumber = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "couponNumber" is required (not null) + if (couponNumber == null) + { + throw new InvalidDataException("couponNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey and cannot be null"); + } + else + { + this.CouponNumber = couponNumber; + } + // to ensure "couponSerialNumber" is required (not null) + if (couponSerialNumber == null) + { + throw new InvalidDataException("couponSerialNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey and cannot be null"); + } + else + { + this.CouponSerialNumber = couponSerialNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The coupon number  + /// + /// The coupon number  + [DataMember(Name="couponNumber", EmitDefaultValue=false)] + public string CouponNumber { get; set; } + + /// + /// The coupon serial number + /// + /// The coupon serial number + [DataMember(Name="couponSerialNumber", EmitDefaultValue=false)] + public string CouponSerialNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CouponNumber: ").Append(CouponNumber).Append("\n"); + sb.Append(" CouponSerialNumber: ").Append(CouponSerialNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CouponNumber == input.CouponNumber || + (this.CouponNumber != null && + this.CouponNumber.Equals(input.CouponNumber)) + ) && + ( + this.CouponSerialNumber == input.CouponSerialNumber || + (this.CouponSerialNumber != null && + this.CouponSerialNumber.Equals(input.CouponSerialNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CouponNumber != null) + hashCode = hashCode * 59 + this.CouponNumber.GetHashCode(); + if (this.CouponSerialNumber != null) + hashCode = hashCode * 59 + this.CouponSerialNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..b6cd0ae4ae51c5cb7bcf6f3c82a54a6a69f17f64 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary.cs @@ -0,0 +1,350 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCouponSummary <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Count of registered coupons  (required). + /// Number of used coupons <br>Fixed decimal precision expected, definition of used precision: double(10, 0). Be aware of this and round value!. + /// Determines how the new price is to be calculated in case that rebate information is given by PrivilegeValue . + /// Reduction amount, reduction percent or new price amount – depending on the chosen PrivilegeType<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// A unique system assigned identifier for the Customer.. + /// The customer type code. + /// list of coupon serials. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey), double? inputCount = default(double?), double? appliedCount = default(double?), string privilegeType = default(string), double? privilegeValue = default(double?), string customerID = default(string), string customerAddressTypeCode = default(string), List retailTransactionCouponSerialSummaryList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "inputCount" is required (not null) + if (inputCount == null) + { + throw new InvalidDataException("inputCount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary and cannot be null"); + } + else + { + this.InputCount = inputCount; + } + this.AppliedCount = appliedCount; + this.PrivilegeType = privilegeType; + this.PrivilegeValue = privilegeValue; + this.CustomerID = customerID; + this.CustomerAddressTypeCode = customerAddressTypeCode; + this.RetailTransactionCouponSerialSummaryList = retailTransactionCouponSerialSummaryList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey Key { get; set; } + + /// + /// Count of registered coupons  + /// + /// Count of registered coupons  + [DataMember(Name="inputCount", EmitDefaultValue=false)] + public double? InputCount { get; set; } + + /// + /// Number of used coupons <br>Fixed decimal precision expected, definition of used precision: double(10, 0). Be aware of this and round value! + /// + /// Number of used coupons <br>Fixed decimal precision expected, definition of used precision: double(10, 0). Be aware of this and round value! + [DataMember(Name="appliedCount", EmitDefaultValue=false)] + public double? AppliedCount { get; set; } + + /// + /// Determines how the new price is to be calculated in case that rebate information is given by PrivilegeValue  + /// + /// Determines how the new price is to be calculated in case that rebate information is given by PrivilegeValue  + [DataMember(Name="privilegeType", EmitDefaultValue=false)] + public string PrivilegeType { get; set; } + + /// + /// Reduction amount, reduction percent or new price amount – depending on the chosen PrivilegeType<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// Reduction amount, reduction percent or new price amount – depending on the chosen PrivilegeType<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="privilegeValue", EmitDefaultValue=false)] + public double? PrivilegeValue { get; set; } + + /// + /// A unique system assigned identifier for the Customer. + /// + /// A unique system assigned identifier for the Customer. + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// The customer type code + /// + /// The customer type code + [DataMember(Name="customerAddressTypeCode", EmitDefaultValue=false)] + public string CustomerAddressTypeCode { get; set; } + + /// + /// list of coupon serials + /// + /// list of coupon serials + [DataMember(Name="retailTransactionCouponSerialSummaryList", EmitDefaultValue=false)] + public List RetailTransactionCouponSerialSummaryList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" InputCount: ").Append(InputCount).Append("\n"); + sb.Append(" AppliedCount: ").Append(AppliedCount).Append("\n"); + sb.Append(" PrivilegeType: ").Append(PrivilegeType).Append("\n"); + sb.Append(" PrivilegeValue: ").Append(PrivilegeValue).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" CustomerAddressTypeCode: ").Append(CustomerAddressTypeCode).Append("\n"); + sb.Append(" RetailTransactionCouponSerialSummaryList: ").Append(RetailTransactionCouponSerialSummaryList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.InputCount == input.InputCount || + (this.InputCount != null && + this.InputCount.Equals(input.InputCount)) + ) && + ( + this.AppliedCount == input.AppliedCount || + (this.AppliedCount != null && + this.AppliedCount.Equals(input.AppliedCount)) + ) && + ( + this.PrivilegeType == input.PrivilegeType || + (this.PrivilegeType != null && + this.PrivilegeType.Equals(input.PrivilegeType)) + ) && + ( + this.PrivilegeValue == input.PrivilegeValue || + (this.PrivilegeValue != null && + this.PrivilegeValue.Equals(input.PrivilegeValue)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.CustomerAddressTypeCode == input.CustomerAddressTypeCode || + (this.CustomerAddressTypeCode != null && + this.CustomerAddressTypeCode.Equals(input.CustomerAddressTypeCode)) + ) && + ( + this.RetailTransactionCouponSerialSummaryList == input.RetailTransactionCouponSerialSummaryList || + this.RetailTransactionCouponSerialSummaryList != null && + this.RetailTransactionCouponSerialSummaryList.SequenceEqual(input.RetailTransactionCouponSerialSummaryList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.InputCount != null) + hashCode = hashCode * 59 + this.InputCount.GetHashCode(); + if (this.AppliedCount != null) + hashCode = hashCode * 59 + this.AppliedCount.GetHashCode(); + if (this.PrivilegeType != null) + hashCode = hashCode * 59 + this.PrivilegeType.GetHashCode(); + if (this.PrivilegeValue != null) + hashCode = hashCode * 59 + this.PrivilegeValue.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.CustomerAddressTypeCode != null) + hashCode = hashCode * 59 + this.CustomerAddressTypeCode.GetHashCode(); + if (this.RetailTransactionCouponSerialSummaryList != null) + hashCode = hashCode * 59 + this.RetailTransactionCouponSerialSummaryList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..bbf3b39a8e813de2b2d8f59f09fcfc1ef28626cd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCouponSummary.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The coupon number  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey(string businessUnitGroupID = default(string), string transactionID = default(string), string couponNumber = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "couponNumber" is required (not null) + if (couponNumber == null) + { + throw new InvalidDataException("couponNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey and cannot be null"); + } + else + { + this.CouponNumber = couponNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The coupon number  + /// + /// The coupon number  + [DataMember(Name="couponNumber", EmitDefaultValue=false)] + public string CouponNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CouponNumber: ").Append(CouponNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CouponNumber == input.CouponNumber || + (this.CouponNumber != null && + this.CouponNumber.Equals(input.CouponNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CouponNumber != null) + hashCode = hashCode * 59 + this.CouponNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer.cs new file mode 100644 index 0000000000000000000000000000000000000000..37c82fc091fb090ac62affc87dc69b6c1ffe053a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer.cs @@ -0,0 +1,554 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomer <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A code for specifying a persons gender. . + /// A number in the range 1-31denoting the day of the month part of the Person's date of birth. . + /// A number in the range 1-12 denoting the month part of the Person's date of birth. . + /// The year part of the Person's date of birth. . + /// The description of the customer type code. + /// If true, the customer is a dummy/unknown customer  (required). + /// The description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements . + /// A code that describes how this customer's identification is being entered (e.g. it is scanned, keyed, etc.) . + /// A person's first name.. + /// A person's last name.. + /// Defines the preferred printout settings for the customer. + /// Number of the customer to which this buyer / contact person belongs.. + /// First name line of the customer to which this buyer / contact person belongs.. + /// Second name line of the customer to which this buyer / contact person belongs.. + /// list of customer accounts. + /// list of customer groups. + /// list of contact methods (address, phone, mail, ...). + /// list of customer identitfication numbers. + /// An ORGANIZATION's legal trade name.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey), string genderType = default(string), int? birthDayNumber = default(int?), int? birthMonthNumber = default(int?), int? birthYearNumber = default(int?), string addressTypeDescription = default(string), bool? genericFlag = default(bool?), string businessDescription = default(string), string customerIDEntryMethodCode = default(string), string firstName = default(string), string lastName = default(string), string preferredReceiptPrintoutTypeCode = default(string), string parentCustomerID = default(string), string parentCustomerName1 = default(string), string parentCustomerName2 = default(string), List retailTransactionCustomerAccountList = default(List), List retailTransactionCustomerGroupAssignmentList = default(List), List retailTransactionCustomerContactMethodList = default(List), List retailTransactionCustomerIdentificationList = default(List), string organizationName = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "genericFlag" is required (not null) + if (genericFlag == null) + { + throw new InvalidDataException("genericFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer and cannot be null"); + } + else + { + this.GenericFlag = genericFlag; + } + this.GenderType = genderType; + this.BirthDayNumber = birthDayNumber; + this.BirthMonthNumber = birthMonthNumber; + this.BirthYearNumber = birthYearNumber; + this.AddressTypeDescription = addressTypeDescription; + this.BusinessDescription = businessDescription; + this.CustomerIDEntryMethodCode = customerIDEntryMethodCode; + this.FirstName = firstName; + this.LastName = lastName; + this.PreferredReceiptPrintoutTypeCode = preferredReceiptPrintoutTypeCode; + this.ParentCustomerID = parentCustomerID; + this.ParentCustomerName1 = parentCustomerName1; + this.ParentCustomerName2 = parentCustomerName2; + this.RetailTransactionCustomerAccountList = retailTransactionCustomerAccountList; + this.RetailTransactionCustomerGroupAssignmentList = retailTransactionCustomerGroupAssignmentList; + this.RetailTransactionCustomerContactMethodList = retailTransactionCustomerContactMethodList; + this.RetailTransactionCustomerIdentificationList = retailTransactionCustomerIdentificationList; + this.OrganizationName = organizationName; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey Key { get; set; } + + /// + /// A code for specifying a persons gender.  + /// + /// A code for specifying a persons gender.  + [DataMember(Name="genderType", EmitDefaultValue=false)] + public string GenderType { get; set; } + + /// + /// A number in the range 1-31denoting the day of the month part of the Person's date of birth.  + /// + /// A number in the range 1-31denoting the day of the month part of the Person's date of birth.  + [DataMember(Name="birthDayNumber", EmitDefaultValue=false)] + public int? BirthDayNumber { get; set; } + + /// + /// A number in the range 1-12 denoting the month part of the Person's date of birth.  + /// + /// A number in the range 1-12 denoting the month part of the Person's date of birth.  + [DataMember(Name="birthMonthNumber", EmitDefaultValue=false)] + public int? BirthMonthNumber { get; set; } + + /// + /// The year part of the Person's date of birth.  + /// + /// The year part of the Person's date of birth.  + [DataMember(Name="birthYearNumber", EmitDefaultValue=false)] + public int? BirthYearNumber { get; set; } + + /// + /// The description of the customer type code + /// + /// The description of the customer type code + [DataMember(Name="addressTypeDescription", EmitDefaultValue=false)] + public string AddressTypeDescription { get; set; } + + /// + /// If true, the customer is a dummy/unknown customer  + /// + /// If true, the customer is a dummy/unknown customer  + [DataMember(Name="genericFlag", EmitDefaultValue=false)] + public bool? GenericFlag { get; set; } + + /// + /// The description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements  + /// + /// The description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements  + [DataMember(Name="businessDescription", EmitDefaultValue=false)] + public string BusinessDescription { get; set; } + + /// + /// A code that describes how this customer's identification is being entered (e.g. it is scanned, keyed, etc.)  + /// + /// A code that describes how this customer's identification is being entered (e.g. it is scanned, keyed, etc.)  + [DataMember(Name="customerIDEntryMethodCode", EmitDefaultValue=false)] + public string CustomerIDEntryMethodCode { get; set; } + + /// + /// A person's first name. + /// + /// A person's first name. + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// A person's last name. + /// + /// A person's last name. + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// Defines the preferred printout settings for the customer + /// + /// Defines the preferred printout settings for the customer + [DataMember(Name="preferredReceiptPrintoutTypeCode", EmitDefaultValue=false)] + public string PreferredReceiptPrintoutTypeCode { get; set; } + + /// + /// Number of the customer to which this buyer / contact person belongs. + /// + /// Number of the customer to which this buyer / contact person belongs. + [DataMember(Name="parentCustomerID", EmitDefaultValue=false)] + public string ParentCustomerID { get; set; } + + /// + /// First name line of the customer to which this buyer / contact person belongs. + /// + /// First name line of the customer to which this buyer / contact person belongs. + [DataMember(Name="parentCustomerName1", EmitDefaultValue=false)] + public string ParentCustomerName1 { get; set; } + + /// + /// Second name line of the customer to which this buyer / contact person belongs. + /// + /// Second name line of the customer to which this buyer / contact person belongs. + [DataMember(Name="parentCustomerName2", EmitDefaultValue=false)] + public string ParentCustomerName2 { get; set; } + + /// + /// list of customer accounts + /// + /// list of customer accounts + [DataMember(Name="retailTransactionCustomerAccountList", EmitDefaultValue=false)] + public List RetailTransactionCustomerAccountList { get; set; } + + /// + /// list of customer groups + /// + /// list of customer groups + [DataMember(Name="retailTransactionCustomerGroupAssignmentList", EmitDefaultValue=false)] + public List RetailTransactionCustomerGroupAssignmentList { get; set; } + + /// + /// list of contact methods (address, phone, mail, ...) + /// + /// list of contact methods (address, phone, mail, ...) + [DataMember(Name="retailTransactionCustomerContactMethodList", EmitDefaultValue=false)] + public List RetailTransactionCustomerContactMethodList { get; set; } + + /// + /// list of customer identitfication numbers + /// + /// list of customer identitfication numbers + [DataMember(Name="retailTransactionCustomerIdentificationList", EmitDefaultValue=false)] + public List RetailTransactionCustomerIdentificationList { get; set; } + + /// + /// An ORGANIZATION's legal trade name. + /// + /// An ORGANIZATION's legal trade name. + [DataMember(Name="organizationName", EmitDefaultValue=false)] + public string OrganizationName { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" GenderType: ").Append(GenderType).Append("\n"); + sb.Append(" BirthDayNumber: ").Append(BirthDayNumber).Append("\n"); + sb.Append(" BirthMonthNumber: ").Append(BirthMonthNumber).Append("\n"); + sb.Append(" BirthYearNumber: ").Append(BirthYearNumber).Append("\n"); + sb.Append(" AddressTypeDescription: ").Append(AddressTypeDescription).Append("\n"); + sb.Append(" GenericFlag: ").Append(GenericFlag).Append("\n"); + sb.Append(" BusinessDescription: ").Append(BusinessDescription).Append("\n"); + sb.Append(" CustomerIDEntryMethodCode: ").Append(CustomerIDEntryMethodCode).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" PreferredReceiptPrintoutTypeCode: ").Append(PreferredReceiptPrintoutTypeCode).Append("\n"); + sb.Append(" ParentCustomerID: ").Append(ParentCustomerID).Append("\n"); + sb.Append(" ParentCustomerName1: ").Append(ParentCustomerName1).Append("\n"); + sb.Append(" ParentCustomerName2: ").Append(ParentCustomerName2).Append("\n"); + sb.Append(" RetailTransactionCustomerAccountList: ").Append(RetailTransactionCustomerAccountList).Append("\n"); + sb.Append(" RetailTransactionCustomerGroupAssignmentList: ").Append(RetailTransactionCustomerGroupAssignmentList).Append("\n"); + sb.Append(" RetailTransactionCustomerContactMethodList: ").Append(RetailTransactionCustomerContactMethodList).Append("\n"); + sb.Append(" RetailTransactionCustomerIdentificationList: ").Append(RetailTransactionCustomerIdentificationList).Append("\n"); + sb.Append(" OrganizationName: ").Append(OrganizationName).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.GenderType == input.GenderType || + (this.GenderType != null && + this.GenderType.Equals(input.GenderType)) + ) && + ( + this.BirthDayNumber == input.BirthDayNumber || + (this.BirthDayNumber != null && + this.BirthDayNumber.Equals(input.BirthDayNumber)) + ) && + ( + this.BirthMonthNumber == input.BirthMonthNumber || + (this.BirthMonthNumber != null && + this.BirthMonthNumber.Equals(input.BirthMonthNumber)) + ) && + ( + this.BirthYearNumber == input.BirthYearNumber || + (this.BirthYearNumber != null && + this.BirthYearNumber.Equals(input.BirthYearNumber)) + ) && + ( + this.AddressTypeDescription == input.AddressTypeDescription || + (this.AddressTypeDescription != null && + this.AddressTypeDescription.Equals(input.AddressTypeDescription)) + ) && + ( + this.GenericFlag == input.GenericFlag || + (this.GenericFlag != null && + this.GenericFlag.Equals(input.GenericFlag)) + ) && + ( + this.BusinessDescription == input.BusinessDescription || + (this.BusinessDescription != null && + this.BusinessDescription.Equals(input.BusinessDescription)) + ) && + ( + this.CustomerIDEntryMethodCode == input.CustomerIDEntryMethodCode || + (this.CustomerIDEntryMethodCode != null && + this.CustomerIDEntryMethodCode.Equals(input.CustomerIDEntryMethodCode)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.PreferredReceiptPrintoutTypeCode == input.PreferredReceiptPrintoutTypeCode || + (this.PreferredReceiptPrintoutTypeCode != null && + this.PreferredReceiptPrintoutTypeCode.Equals(input.PreferredReceiptPrintoutTypeCode)) + ) && + ( + this.ParentCustomerID == input.ParentCustomerID || + (this.ParentCustomerID != null && + this.ParentCustomerID.Equals(input.ParentCustomerID)) + ) && + ( + this.ParentCustomerName1 == input.ParentCustomerName1 || + (this.ParentCustomerName1 != null && + this.ParentCustomerName1.Equals(input.ParentCustomerName1)) + ) && + ( + this.ParentCustomerName2 == input.ParentCustomerName2 || + (this.ParentCustomerName2 != null && + this.ParentCustomerName2.Equals(input.ParentCustomerName2)) + ) && + ( + this.RetailTransactionCustomerAccountList == input.RetailTransactionCustomerAccountList || + this.RetailTransactionCustomerAccountList != null && + this.RetailTransactionCustomerAccountList.SequenceEqual(input.RetailTransactionCustomerAccountList) + ) && + ( + this.RetailTransactionCustomerGroupAssignmentList == input.RetailTransactionCustomerGroupAssignmentList || + this.RetailTransactionCustomerGroupAssignmentList != null && + this.RetailTransactionCustomerGroupAssignmentList.SequenceEqual(input.RetailTransactionCustomerGroupAssignmentList) + ) && + ( + this.RetailTransactionCustomerContactMethodList == input.RetailTransactionCustomerContactMethodList || + this.RetailTransactionCustomerContactMethodList != null && + this.RetailTransactionCustomerContactMethodList.SequenceEqual(input.RetailTransactionCustomerContactMethodList) + ) && + ( + this.RetailTransactionCustomerIdentificationList == input.RetailTransactionCustomerIdentificationList || + this.RetailTransactionCustomerIdentificationList != null && + this.RetailTransactionCustomerIdentificationList.SequenceEqual(input.RetailTransactionCustomerIdentificationList) + ) && + ( + this.OrganizationName == input.OrganizationName || + (this.OrganizationName != null && + this.OrganizationName.Equals(input.OrganizationName)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.GenderType != null) + hashCode = hashCode * 59 + this.GenderType.GetHashCode(); + if (this.BirthDayNumber != null) + hashCode = hashCode * 59 + this.BirthDayNumber.GetHashCode(); + if (this.BirthMonthNumber != null) + hashCode = hashCode * 59 + this.BirthMonthNumber.GetHashCode(); + if (this.BirthYearNumber != null) + hashCode = hashCode * 59 + this.BirthYearNumber.GetHashCode(); + if (this.AddressTypeDescription != null) + hashCode = hashCode * 59 + this.AddressTypeDescription.GetHashCode(); + if (this.GenericFlag != null) + hashCode = hashCode * 59 + this.GenericFlag.GetHashCode(); + if (this.BusinessDescription != null) + hashCode = hashCode * 59 + this.BusinessDescription.GetHashCode(); + if (this.CustomerIDEntryMethodCode != null) + hashCode = hashCode * 59 + this.CustomerIDEntryMethodCode.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.PreferredReceiptPrintoutTypeCode != null) + hashCode = hashCode * 59 + this.PreferredReceiptPrintoutTypeCode.GetHashCode(); + if (this.ParentCustomerID != null) + hashCode = hashCode * 59 + this.ParentCustomerID.GetHashCode(); + if (this.ParentCustomerName1 != null) + hashCode = hashCode * 59 + this.ParentCustomerName1.GetHashCode(); + if (this.ParentCustomerName2 != null) + hashCode = hashCode * 59 + this.ParentCustomerName2.GetHashCode(); + if (this.RetailTransactionCustomerAccountList != null) + hashCode = hashCode * 59 + this.RetailTransactionCustomerAccountList.GetHashCode(); + if (this.RetailTransactionCustomerGroupAssignmentList != null) + hashCode = hashCode * 59 + this.RetailTransactionCustomerGroupAssignmentList.GetHashCode(); + if (this.RetailTransactionCustomerContactMethodList != null) + hashCode = hashCode * 59 + this.RetailTransactionCustomerContactMethodList.GetHashCode(); + if (this.RetailTransactionCustomerIdentificationList != null) + hashCode = hashCode * 59 + this.RetailTransactionCustomerIdentificationList.GetHashCode(); + if (this.OrganizationName != null) + hashCode = hashCode * 59 + this.OrganizationName.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..889981bb79fd41f2279cba2a0912035500e1692b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount.cs @@ -0,0 +1,332 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerAccount <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The customer account number . + /// Determines what kind of customer account this is. (required). + /// The current balance of the customer account  (required). + /// Determines whether the request of customer account data was completed successfully  (required). + /// The external ident of the accounting transaction of the the customer account. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey), string customerAccountID = default(string), string customerAccountTypeCode = default(string), double? customerAccountBalance = default(double?), bool? customerAccountQuerySuccessfulFlag = default(bool?), string customerAccountTransactionID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "customerAccountTypeCode" is required (not null) + if (customerAccountTypeCode == null) + { + throw new InvalidDataException("customerAccountTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount and cannot be null"); + } + else + { + this.CustomerAccountTypeCode = customerAccountTypeCode; + } + // to ensure "customerAccountBalance" is required (not null) + if (customerAccountBalance == null) + { + throw new InvalidDataException("customerAccountBalance is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount and cannot be null"); + } + else + { + this.CustomerAccountBalance = customerAccountBalance; + } + // to ensure "customerAccountQuerySuccessfulFlag" is required (not null) + if (customerAccountQuerySuccessfulFlag == null) + { + throw new InvalidDataException("customerAccountQuerySuccessfulFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount and cannot be null"); + } + else + { + this.CustomerAccountQuerySuccessfulFlag = customerAccountQuerySuccessfulFlag; + } + this.CustomerAccountID = customerAccountID; + this.CustomerAccountTransactionID = customerAccountTransactionID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey Key { get; set; } + + /// + /// The customer account number  + /// + /// The customer account number  + [DataMember(Name="customerAccountID", EmitDefaultValue=false)] + public string CustomerAccountID { get; set; } + + /// + /// Determines what kind of customer account this is. + /// + /// Determines what kind of customer account this is. + [DataMember(Name="customerAccountTypeCode", EmitDefaultValue=false)] + public string CustomerAccountTypeCode { get; set; } + + /// + /// The current balance of the customer account  + /// + /// The current balance of the customer account  + [DataMember(Name="customerAccountBalance", EmitDefaultValue=false)] + public double? CustomerAccountBalance { get; set; } + + /// + /// Determines whether the request of customer account data was completed successfully  + /// + /// Determines whether the request of customer account data was completed successfully  + [DataMember(Name="customerAccountQuerySuccessfulFlag", EmitDefaultValue=false)] + public bool? CustomerAccountQuerySuccessfulFlag { get; set; } + + /// + /// The external ident of the accounting transaction of the the customer account + /// + /// The external ident of the accounting transaction of the the customer account + [DataMember(Name="customerAccountTransactionID", EmitDefaultValue=false)] + public string CustomerAccountTransactionID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CustomerAccountID: ").Append(CustomerAccountID).Append("\n"); + sb.Append(" CustomerAccountTypeCode: ").Append(CustomerAccountTypeCode).Append("\n"); + sb.Append(" CustomerAccountBalance: ").Append(CustomerAccountBalance).Append("\n"); + sb.Append(" CustomerAccountQuerySuccessfulFlag: ").Append(CustomerAccountQuerySuccessfulFlag).Append("\n"); + sb.Append(" CustomerAccountTransactionID: ").Append(CustomerAccountTransactionID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CustomerAccountID == input.CustomerAccountID || + (this.CustomerAccountID != null && + this.CustomerAccountID.Equals(input.CustomerAccountID)) + ) && + ( + this.CustomerAccountTypeCode == input.CustomerAccountTypeCode || + (this.CustomerAccountTypeCode != null && + this.CustomerAccountTypeCode.Equals(input.CustomerAccountTypeCode)) + ) && + ( + this.CustomerAccountBalance == input.CustomerAccountBalance || + (this.CustomerAccountBalance != null && + this.CustomerAccountBalance.Equals(input.CustomerAccountBalance)) + ) && + ( + this.CustomerAccountQuerySuccessfulFlag == input.CustomerAccountQuerySuccessfulFlag || + (this.CustomerAccountQuerySuccessfulFlag != null && + this.CustomerAccountQuerySuccessfulFlag.Equals(input.CustomerAccountQuerySuccessfulFlag)) + ) && + ( + this.CustomerAccountTransactionID == input.CustomerAccountTransactionID || + (this.CustomerAccountTransactionID != null && + this.CustomerAccountTransactionID.Equals(input.CustomerAccountTransactionID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CustomerAccountID != null) + hashCode = hashCode * 59 + this.CustomerAccountID.GetHashCode(); + if (this.CustomerAccountTypeCode != null) + hashCode = hashCode * 59 + this.CustomerAccountTypeCode.GetHashCode(); + if (this.CustomerAccountBalance != null) + hashCode = hashCode * 59 + this.CustomerAccountBalance.GetHashCode(); + if (this.CustomerAccountQuerySuccessfulFlag != null) + hashCode = hashCode * 59 + this.CustomerAccountQuerySuccessfulFlag.GetHashCode(); + if (this.CustomerAccountTransactionID != null) + hashCode = hashCode * 59 + this.CustomerAccountTransactionID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..484a3752007498c85e737fd08c009e95c83b3320 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerAccount.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique system assigned identifier for the Customer.  (required). + /// The customer type code (required). + /// Line number (incremental counter)  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey(string businessUnitGroupID = default(string), string transactionID = default(string), string customerID = default(string), string addressTypeCode = default(string), int? customerAccountSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "addressTypeCode" is required (not null) + if (addressTypeCode == null) + { + throw new InvalidDataException("addressTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey and cannot be null"); + } + else + { + this.AddressTypeCode = addressTypeCode; + } + // to ensure "customerAccountSequenceNumber" is required (not null) + if (customerAccountSequenceNumber == null) + { + throw new InvalidDataException("customerAccountSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey and cannot be null"); + } + else + { + this.CustomerAccountSequenceNumber = customerAccountSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// The customer type code + /// + /// The customer type code + [DataMember(Name="addressTypeCode", EmitDefaultValue=false)] + public string AddressTypeCode { get; set; } + + /// + /// Line number (incremental counter)  + /// + /// Line number (incremental counter)  + [DataMember(Name="customerAccountSequenceNumber", EmitDefaultValue=false)] + public int? CustomerAccountSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AddressTypeCode: ").Append(AddressTypeCode).Append("\n"); + sb.Append(" CustomerAccountSequenceNumber: ").Append(CustomerAccountSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AddressTypeCode == input.AddressTypeCode || + (this.AddressTypeCode != null && + this.AddressTypeCode.Equals(input.AddressTypeCode)) + ) && + ( + this.CustomerAccountSequenceNumber == input.CustomerAccountSequenceNumber || + (this.CustomerAccountSequenceNumber != null && + this.CustomerAccountSequenceNumber.Equals(input.CustomerAccountSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AddressTypeCode != null) + hashCode = hashCode * 59 + this.AddressTypeCode.GetHashCode(); + if (this.CustomerAccountSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerAccountSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod.cs new file mode 100644 index 0000000000000000000000000000000000000000..5c7fc733bc520c39f76b3380e8c1ab4e29105619 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod.cs @@ -0,0 +1,520 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerContactMethod <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Describes the type of contact. Possible values include e-mail address, address, telephone, internet URL.  (required). + /// The local-part portion is a domain-dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox. . + /// The domain portion identifies the point to which the mail is delivered. In the dot-atom form, this is interpreted as an Internet domain name (either a host name or a mail exchanger name) as described in [RFC1034], [RFC1035], and [RFC1123]. In the domain-literal form, the domain is interpreted as the literal Internet address of the particular host. In both cases, how addressing is used and how messages are transported to a particular host is covered in separate documents, such as [RFC5321]. . + /// The complete telephone number including the CountryCode, AreaCode, Telephone Number and ExtensionNumber. . + /// The internet URL. + /// The first line of the address, normally the street number and name. . + /// The second line of an address, normally the Flat or Building Suite number. . + /// The third line of the address. . + /// The fourth line of the address. . + /// The fifth line of the address. It is normally used for the salutation. . + /// The city, town or village component of the address . + /// This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city. . + /// The postal or zip code of the address . + /// The extension of the postal or zip code that further specifies a particular postal district. . + /// The County, State, Province, Territory etc component of the address . + /// The name of the County, State, Province, Territory etc. component of the address . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// The ISO-3166-1 two letter code of the country. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey), string contactTypeCode = default(string), string emailAddressLocalPart = default(string), string emailAddressDomainPart = default(string), string completePhoneNumber = default(string), string internetURL = default(string), string addressLine1 = default(string), string addressLine2 = default(string), string addressLine3 = default(string), string addressLine4 = default(string), string addressLine5 = default(string), string city = default(string), string subTerritoryName = default(string), string postalCode = default(string), string postalCodeExtension = default(string), string territory = default(string), string territoryName = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string isocountryCode = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "contactTypeCode" is required (not null) + if (contactTypeCode == null) + { + throw new InvalidDataException("contactTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod and cannot be null"); + } + else + { + this.ContactTypeCode = contactTypeCode; + } + this.EmailAddressLocalPart = emailAddressLocalPart; + this.EmailAddressDomainPart = emailAddressDomainPart; + this.CompletePhoneNumber = completePhoneNumber; + this.InternetURL = internetURL; + this.AddressLine1 = addressLine1; + this.AddressLine2 = addressLine2; + this.AddressLine3 = addressLine3; + this.AddressLine4 = addressLine4; + this.AddressLine5 = addressLine5; + this.City = city; + this.SubTerritoryName = subTerritoryName; + this.PostalCode = postalCode; + this.PostalCodeExtension = postalCodeExtension; + this.Territory = territory; + this.TerritoryName = territoryName; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.IsocountryCode = isocountryCode; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey Key { get; set; } + + /// + /// Describes the type of contact. Possible values include e-mail address, address, telephone, internet URL.  + /// + /// Describes the type of contact. Possible values include e-mail address, address, telephone, internet URL.  + [DataMember(Name="contactTypeCode", EmitDefaultValue=false)] + public string ContactTypeCode { get; set; } + + /// + /// The local-part portion is a domain-dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox.  + /// + /// The local-part portion is a domain-dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox.  + [DataMember(Name="emailAddressLocalPart", EmitDefaultValue=false)] + public string EmailAddressLocalPart { get; set; } + + /// + /// The domain portion identifies the point to which the mail is delivered. In the dot-atom form, this is interpreted as an Internet domain name (either a host name or a mail exchanger name) as described in [RFC1034], [RFC1035], and [RFC1123]. In the domain-literal form, the domain is interpreted as the literal Internet address of the particular host. In both cases, how addressing is used and how messages are transported to a particular host is covered in separate documents, such as [RFC5321].  + /// + /// The domain portion identifies the point to which the mail is delivered. In the dot-atom form, this is interpreted as an Internet domain name (either a host name or a mail exchanger name) as described in [RFC1034], [RFC1035], and [RFC1123]. In the domain-literal form, the domain is interpreted as the literal Internet address of the particular host. In both cases, how addressing is used and how messages are transported to a particular host is covered in separate documents, such as [RFC5321].  + [DataMember(Name="emailAddressDomainPart", EmitDefaultValue=false)] + public string EmailAddressDomainPart { get; set; } + + /// + /// The complete telephone number including the CountryCode, AreaCode, Telephone Number and ExtensionNumber.  + /// + /// The complete telephone number including the CountryCode, AreaCode, Telephone Number and ExtensionNumber.  + [DataMember(Name="completePhoneNumber", EmitDefaultValue=false)] + public string CompletePhoneNumber { get; set; } + + /// + /// The internet URL + /// + /// The internet URL + [DataMember(Name="internetURL", EmitDefaultValue=false)] + public string InternetURL { get; set; } + + /// + /// The first line of the address, normally the street number and name.  + /// + /// The first line of the address, normally the street number and name.  + [DataMember(Name="addressLine1", EmitDefaultValue=false)] + public string AddressLine1 { get; set; } + + /// + /// The second line of an address, normally the Flat or Building Suite number.  + /// + /// The second line of an address, normally the Flat or Building Suite number.  + [DataMember(Name="addressLine2", EmitDefaultValue=false)] + public string AddressLine2 { get; set; } + + /// + /// The third line of the address.  + /// + /// The third line of the address.  + [DataMember(Name="addressLine3", EmitDefaultValue=false)] + public string AddressLine3 { get; set; } + + /// + /// The fourth line of the address.  + /// + /// The fourth line of the address.  + [DataMember(Name="addressLine4", EmitDefaultValue=false)] + public string AddressLine4 { get; set; } + + /// + /// The fifth line of the address. It is normally used for the salutation.  + /// + /// The fifth line of the address. It is normally used for the salutation.  + [DataMember(Name="addressLine5", EmitDefaultValue=false)] + public string AddressLine5 { get; set; } + + /// + /// The city, town or village component of the address  + /// + /// The city, town or village component of the address  + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.  + /// + /// This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.  + [DataMember(Name="subTerritoryName", EmitDefaultValue=false)] + public string SubTerritoryName { get; set; } + + /// + /// The postal or zip code of the address  + /// + /// The postal or zip code of the address  + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// The extension of the postal or zip code that further specifies a particular postal district.  + /// + /// The extension of the postal or zip code that further specifies a particular postal district.  + [DataMember(Name="postalCodeExtension", EmitDefaultValue=false)] + public string PostalCodeExtension { get; set; } + + /// + /// The County, State, Province, Territory etc component of the address  + /// + /// The County, State, Province, Territory etc component of the address  + [DataMember(Name="territory", EmitDefaultValue=false)] + public string Territory { get; set; } + + /// + /// The name of the County, State, Province, Territory etc. component of the address  + /// + /// The name of the County, State, Province, Territory etc. component of the address  + [DataMember(Name="territoryName", EmitDefaultValue=false)] + public string TerritoryName { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// The ISO-3166-1 two letter code of the country + /// + /// The ISO-3166-1 two letter code of the country + [DataMember(Name="isocountryCode", EmitDefaultValue=false)] + public string IsocountryCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ContactTypeCode: ").Append(ContactTypeCode).Append("\n"); + sb.Append(" EmailAddressLocalPart: ").Append(EmailAddressLocalPart).Append("\n"); + sb.Append(" EmailAddressDomainPart: ").Append(EmailAddressDomainPart).Append("\n"); + sb.Append(" CompletePhoneNumber: ").Append(CompletePhoneNumber).Append("\n"); + sb.Append(" InternetURL: ").Append(InternetURL).Append("\n"); + sb.Append(" AddressLine1: ").Append(AddressLine1).Append("\n"); + sb.Append(" AddressLine2: ").Append(AddressLine2).Append("\n"); + sb.Append(" AddressLine3: ").Append(AddressLine3).Append("\n"); + sb.Append(" AddressLine4: ").Append(AddressLine4).Append("\n"); + sb.Append(" AddressLine5: ").Append(AddressLine5).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" SubTerritoryName: ").Append(SubTerritoryName).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" PostalCodeExtension: ").Append(PostalCodeExtension).Append("\n"); + sb.Append(" Territory: ").Append(Territory).Append("\n"); + sb.Append(" TerritoryName: ").Append(TerritoryName).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" IsocountryCode: ").Append(IsocountryCode).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ContactTypeCode == input.ContactTypeCode || + (this.ContactTypeCode != null && + this.ContactTypeCode.Equals(input.ContactTypeCode)) + ) && + ( + this.EmailAddressLocalPart == input.EmailAddressLocalPart || + (this.EmailAddressLocalPart != null && + this.EmailAddressLocalPart.Equals(input.EmailAddressLocalPart)) + ) && + ( + this.EmailAddressDomainPart == input.EmailAddressDomainPart || + (this.EmailAddressDomainPart != null && + this.EmailAddressDomainPart.Equals(input.EmailAddressDomainPart)) + ) && + ( + this.CompletePhoneNumber == input.CompletePhoneNumber || + (this.CompletePhoneNumber != null && + this.CompletePhoneNumber.Equals(input.CompletePhoneNumber)) + ) && + ( + this.InternetURL == input.InternetURL || + (this.InternetURL != null && + this.InternetURL.Equals(input.InternetURL)) + ) && + ( + this.AddressLine1 == input.AddressLine1 || + (this.AddressLine1 != null && + this.AddressLine1.Equals(input.AddressLine1)) + ) && + ( + this.AddressLine2 == input.AddressLine2 || + (this.AddressLine2 != null && + this.AddressLine2.Equals(input.AddressLine2)) + ) && + ( + this.AddressLine3 == input.AddressLine3 || + (this.AddressLine3 != null && + this.AddressLine3.Equals(input.AddressLine3)) + ) && + ( + this.AddressLine4 == input.AddressLine4 || + (this.AddressLine4 != null && + this.AddressLine4.Equals(input.AddressLine4)) + ) && + ( + this.AddressLine5 == input.AddressLine5 || + (this.AddressLine5 != null && + this.AddressLine5.Equals(input.AddressLine5)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.SubTerritoryName == input.SubTerritoryName || + (this.SubTerritoryName != null && + this.SubTerritoryName.Equals(input.SubTerritoryName)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.PostalCodeExtension == input.PostalCodeExtension || + (this.PostalCodeExtension != null && + this.PostalCodeExtension.Equals(input.PostalCodeExtension)) + ) && + ( + this.Territory == input.Territory || + (this.Territory != null && + this.Territory.Equals(input.Territory)) + ) && + ( + this.TerritoryName == input.TerritoryName || + (this.TerritoryName != null && + this.TerritoryName.Equals(input.TerritoryName)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.IsocountryCode == input.IsocountryCode || + (this.IsocountryCode != null && + this.IsocountryCode.Equals(input.IsocountryCode)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ContactTypeCode != null) + hashCode = hashCode * 59 + this.ContactTypeCode.GetHashCode(); + if (this.EmailAddressLocalPart != null) + hashCode = hashCode * 59 + this.EmailAddressLocalPart.GetHashCode(); + if (this.EmailAddressDomainPart != null) + hashCode = hashCode * 59 + this.EmailAddressDomainPart.GetHashCode(); + if (this.CompletePhoneNumber != null) + hashCode = hashCode * 59 + this.CompletePhoneNumber.GetHashCode(); + if (this.InternetURL != null) + hashCode = hashCode * 59 + this.InternetURL.GetHashCode(); + if (this.AddressLine1 != null) + hashCode = hashCode * 59 + this.AddressLine1.GetHashCode(); + if (this.AddressLine2 != null) + hashCode = hashCode * 59 + this.AddressLine2.GetHashCode(); + if (this.AddressLine3 != null) + hashCode = hashCode * 59 + this.AddressLine3.GetHashCode(); + if (this.AddressLine4 != null) + hashCode = hashCode * 59 + this.AddressLine4.GetHashCode(); + if (this.AddressLine5 != null) + hashCode = hashCode * 59 + this.AddressLine5.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.SubTerritoryName != null) + hashCode = hashCode * 59 + this.SubTerritoryName.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.PostalCodeExtension != null) + hashCode = hashCode * 59 + this.PostalCodeExtension.GetHashCode(); + if (this.Territory != null) + hashCode = hashCode * 59 + this.Territory.GetHashCode(); + if (this.TerritoryName != null) + hashCode = hashCode * 59 + this.TerritoryName.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.IsocountryCode != null) + hashCode = hashCode * 59 + this.IsocountryCode.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..226b06391778dbe2c75da465b9eef66f58b76a6b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerContactMethod.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique system assigned identifier for the Customer.  (required). + /// The customer type code (required). + /// A retailer defined code denoting a reason for contacting a Party.  (required). + /// A retailer assigned code denoting a method of contacting a Party. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey(string businessUnitGroupID = default(string), string transactionID = default(string), string customerID = default(string), string addressTypeCode = default(string), string contactPurposeTypeCode = default(string), string contactMethodTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "addressTypeCode" is required (not null) + if (addressTypeCode == null) + { + throw new InvalidDataException("addressTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey and cannot be null"); + } + else + { + this.AddressTypeCode = addressTypeCode; + } + // to ensure "contactPurposeTypeCode" is required (not null) + if (contactPurposeTypeCode == null) + { + throw new InvalidDataException("contactPurposeTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey and cannot be null"); + } + else + { + this.ContactPurposeTypeCode = contactPurposeTypeCode; + } + // to ensure "contactMethodTypeCode" is required (not null) + if (contactMethodTypeCode == null) + { + throw new InvalidDataException("contactMethodTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey and cannot be null"); + } + else + { + this.ContactMethodTypeCode = contactMethodTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// The customer type code + /// + /// The customer type code + [DataMember(Name="addressTypeCode", EmitDefaultValue=false)] + public string AddressTypeCode { get; set; } + + /// + /// A retailer defined code denoting a reason for contacting a Party.  + /// + /// A retailer defined code denoting a reason for contacting a Party.  + [DataMember(Name="contactPurposeTypeCode", EmitDefaultValue=false)] + public string ContactPurposeTypeCode { get; set; } + + /// + /// A retailer assigned code denoting a method of contacting a Party. + /// + /// A retailer assigned code denoting a method of contacting a Party. + [DataMember(Name="contactMethodTypeCode", EmitDefaultValue=false)] + public string ContactMethodTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AddressTypeCode: ").Append(AddressTypeCode).Append("\n"); + sb.Append(" ContactPurposeTypeCode: ").Append(ContactPurposeTypeCode).Append("\n"); + sb.Append(" ContactMethodTypeCode: ").Append(ContactMethodTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AddressTypeCode == input.AddressTypeCode || + (this.AddressTypeCode != null && + this.AddressTypeCode.Equals(input.AddressTypeCode)) + ) && + ( + this.ContactPurposeTypeCode == input.ContactPurposeTypeCode || + (this.ContactPurposeTypeCode != null && + this.ContactPurposeTypeCode.Equals(input.ContactPurposeTypeCode)) + ) && + ( + this.ContactMethodTypeCode == input.ContactMethodTypeCode || + (this.ContactMethodTypeCode != null && + this.ContactMethodTypeCode.Equals(input.ContactMethodTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AddressTypeCode != null) + hashCode = hashCode * 59 + this.AddressTypeCode.GetHashCode(); + if (this.ContactPurposeTypeCode != null) + hashCode = hashCode * 59 + this.ContactPurposeTypeCode.GetHashCode(); + if (this.ContactMethodTypeCode != null) + hashCode = hashCode * 59 + this.ContactMethodTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment.cs new file mode 100644 index 0000000000000000000000000000000000000000..d3e66c0f03441e299581d545623768d6d451b98a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment.cs @@ -0,0 +1,223 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerGroupAssignment <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..258dcf7605203e6fdfb2a3e425764555bfb4d994 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerGroupAssignment.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique system assigned identifier for the Customer.  (required). + /// The customer type code (required). + /// A unique identification number assigned to a customer group  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey(string businessUnitGroupID = default(string), string transactionID = default(string), string customerID = default(string), string addressTypeCode = default(string), string customerGroupID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "addressTypeCode" is required (not null) + if (addressTypeCode == null) + { + throw new InvalidDataException("addressTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey and cannot be null"); + } + else + { + this.AddressTypeCode = addressTypeCode; + } + // to ensure "customerGroupID" is required (not null) + if (customerGroupID == null) + { + throw new InvalidDataException("customerGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey and cannot be null"); + } + else + { + this.CustomerGroupID = customerGroupID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// The customer type code + /// + /// The customer type code + [DataMember(Name="addressTypeCode", EmitDefaultValue=false)] + public string AddressTypeCode { get; set; } + + /// + /// A unique identification number assigned to a customer group  + /// + /// A unique identification number assigned to a customer group  + [DataMember(Name="customerGroupID", EmitDefaultValue=false)] + public string CustomerGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AddressTypeCode: ").Append(AddressTypeCode).Append("\n"); + sb.Append(" CustomerGroupID: ").Append(CustomerGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AddressTypeCode == input.AddressTypeCode || + (this.AddressTypeCode != null && + this.AddressTypeCode.Equals(input.AddressTypeCode)) + ) && + ( + this.CustomerGroupID == input.CustomerGroupID || + (this.CustomerGroupID != null && + this.CustomerGroupID.Equals(input.CustomerGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AddressTypeCode != null) + hashCode = hashCode * 59 + this.AddressTypeCode.GetHashCode(); + if (this.CustomerGroupID != null) + hashCode = hashCode * 59 + this.CustomerGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification.cs new file mode 100644 index 0000000000000000000000000000000000000000..a20f405e99c08e10e496be98b5ae56a3252e47e6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerIdentification <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The number or character sequence on the identification that identifies the party. (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey), string identifier = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "identifier" is required (not null) + if (identifier == null) + { + throw new InvalidDataException("identifier is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification and cannot be null"); + } + else + { + this.Identifier = identifier; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey Key { get; set; } + + /// + /// The number or character sequence on the identification that identifies the party. + /// + /// The number or character sequence on the identification that identifies the party. + [DataMember(Name="identifier", EmitDefaultValue=false)] + public string Identifier { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Identifier: ").Append(Identifier).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Identifier == input.Identifier || + (this.Identifier != null && + this.Identifier.Equals(input.Identifier)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Identifier != null) + hashCode = hashCode * 59 + this.Identifier.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..84462a2d896838f35664bed2fef83b24c3c2dbef --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomerIdentification.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique system assigned identifier for the Customer.  (required). + /// The customer type code (required). + /// A code denoting a form of identification that the customer uses to identify themselves.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string customerID = default(string), string addressTypeCode = default(string), string partyIdentificationTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "addressTypeCode" is required (not null) + if (addressTypeCode == null) + { + throw new InvalidDataException("addressTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey and cannot be null"); + } + else + { + this.AddressTypeCode = addressTypeCode; + } + // to ensure "partyIdentificationTypeCode" is required (not null) + if (partyIdentificationTypeCode == null) + { + throw new InvalidDataException("partyIdentificationTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey and cannot be null"); + } + else + { + this.PartyIdentificationTypeCode = partyIdentificationTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// The customer type code + /// + /// The customer type code + [DataMember(Name="addressTypeCode", EmitDefaultValue=false)] + public string AddressTypeCode { get; set; } + + /// + /// A code denoting a form of identification that the customer uses to identify themselves.  + /// + /// A code denoting a form of identification that the customer uses to identify themselves.  + [DataMember(Name="partyIdentificationTypeCode", EmitDefaultValue=false)] + public string PartyIdentificationTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AddressTypeCode: ").Append(AddressTypeCode).Append("\n"); + sb.Append(" PartyIdentificationTypeCode: ").Append(PartyIdentificationTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AddressTypeCode == input.AddressTypeCode || + (this.AddressTypeCode != null && + this.AddressTypeCode.Equals(input.AddressTypeCode)) + ) && + ( + this.PartyIdentificationTypeCode == input.PartyIdentificationTypeCode || + (this.PartyIdentificationTypeCode != null && + this.PartyIdentificationTypeCode.Equals(input.PartyIdentificationTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AddressTypeCode != null) + hashCode = hashCode * 59 + this.AddressTypeCode.GetHashCode(); + if (this.PartyIdentificationTypeCode != null) + hashCode = hashCode * 59 + this.PartyIdentificationTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..70ee23530721c927389727b40a85704d7fafbce2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionCustomer.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique system assigned identifier for the Customer.  (required). + /// The customer type code (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey(string businessUnitGroupID = default(string), string transactionID = default(string), string customerID = default(string), string addressTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "addressTypeCode" is required (not null) + if (addressTypeCode == null) + { + throw new InvalidDataException("addressTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey and cannot be null"); + } + else + { + this.AddressTypeCode = addressTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// The customer type code + /// + /// The customer type code + [DataMember(Name="addressTypeCode", EmitDefaultValue=false)] + public string AddressTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AddressTypeCode: ").Append(AddressTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AddressTypeCode == input.AddressTypeCode || + (this.AddressTypeCode != null && + this.AddressTypeCode.Equals(input.AddressTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AddressTypeCode != null) + hashCode = hashCode * 59 + this.AddressTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..3805eb7e5c7d107085821771c3bb814cde52d4ac --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionExternalTrigger <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The value (amount). Its type is determined by TriggerTypeCode. (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey), double? triggerAmount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "triggerAmount" is required (not null) + if (triggerAmount == null) + { + throw new InvalidDataException("triggerAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger and cannot be null"); + } + else + { + this.TriggerAmount = triggerAmount; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey Key { get; set; } + + /// + /// The value (amount). Its type is determined by TriggerTypeCode. + /// + /// The value (amount). Its type is determined by TriggerTypeCode. + [DataMember(Name="triggerAmount", EmitDefaultValue=false)] + public double? TriggerAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TriggerAmount: ").Append(TriggerAmount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TriggerAmount == input.TriggerAmount || + (this.TriggerAmount != null && + this.TriggerAmount.Equals(input.TriggerAmount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TriggerAmount != null) + hashCode = hashCode * 59 + this.TriggerAmount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..83549d657983729799fcda8e01de6dfa0af1f84e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionExternalTrigger.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The type of the TriggerValue, e.g. 00 - turnover of the (current) year 01 - rebate amount which was granted during the (current) year  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey(string businessUnitGroupID = default(string), string transactionID = default(string), string triggerTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "triggerTypeCode" is required (not null) + if (triggerTypeCode == null) + { + throw new InvalidDataException("triggerTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey and cannot be null"); + } + else + { + this.TriggerTypeCode = triggerTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The type of the TriggerValue, e.g. 00 - turnover of the (current) year 01 - rebate amount which was granted during the (current) year  + /// + /// The type of the TriggerValue, e.g. 00 - turnover of the (current) year 01 - rebate amount which was granted during the (current) year  + [DataMember(Name="triggerTypeCode", EmitDefaultValue=false)] + public string TriggerTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TriggerTypeCode: ").Append(TriggerTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TriggerTypeCode == input.TriggerTypeCode || + (this.TriggerTypeCode != null && + this.TriggerTypeCode.Equals(input.TriggerTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TriggerTypeCode != null) + hashCode = hashCode * 59 + this.TriggerTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute.cs new file mode 100644 index 0000000000000000000000000000000000000000..547320a08cb211d73834694562ac92adc4ceea83 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute.cs @@ -0,0 +1,715 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionGenericAttribute <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The key of the generic attribute.The key may not be unique in the scope of the transaction. (required). + /// The value of the generic attribute.. + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey), string genericAttributeKey = default(string), string genericAttributeValue = default(string), bool? customFlag = default(bool?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "genericAttributeKey" is required (not null) + if (genericAttributeKey == null) + { + throw new InvalidDataException("genericAttributeKey is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute and cannot be null"); + } + else + { + this.GenericAttributeKey = genericAttributeKey; + } + // to ensure "customFlag" is required (not null) + if (customFlag == null) + { + throw new InvalidDataException("customFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute and cannot be null"); + } + else + { + this.CustomFlag = customFlag; + } + this.GenericAttributeValue = genericAttributeValue; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey Key { get; set; } + + /// + /// The key of the generic attribute.The key may not be unique in the scope of the transaction. + /// + /// The key of the generic attribute.The key may not be unique in the scope of the transaction. + [DataMember(Name="genericAttributeKey", EmitDefaultValue=false)] + public string GenericAttributeKey { get; set; } + + /// + /// The value of the generic attribute. + /// + /// The value of the generic attribute. + [DataMember(Name="genericAttributeValue", EmitDefaultValue=false)] + public string GenericAttributeValue { get; set; } + + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + [DataMember(Name="customFlag", EmitDefaultValue=false)] + public bool? CustomFlag { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" GenericAttributeKey: ").Append(GenericAttributeKey).Append("\n"); + sb.Append(" GenericAttributeValue: ").Append(GenericAttributeValue).Append("\n"); + sb.Append(" CustomFlag: ").Append(CustomFlag).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.GenericAttributeKey == input.GenericAttributeKey || + (this.GenericAttributeKey != null && + this.GenericAttributeKey.Equals(input.GenericAttributeKey)) + ) && + ( + this.GenericAttributeValue == input.GenericAttributeValue || + (this.GenericAttributeValue != null && + this.GenericAttributeValue.Equals(input.GenericAttributeValue)) + ) && + ( + this.CustomFlag == input.CustomFlag || + (this.CustomFlag != null && + this.CustomFlag.Equals(input.CustomFlag)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.GenericAttributeKey != null) + hashCode = hashCode * 59 + this.GenericAttributeKey.GetHashCode(); + if (this.GenericAttributeValue != null) + hashCode = hashCode * 59 + this.GenericAttributeValue.GetHashCode(); + if (this.CustomFlag != null) + hashCode = hashCode * 59 + this.CustomFlag.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c0d4cc946e5f81f4f268d4fd8c0c5ee5051ef343 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionGenericAttribute.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of generic attribute within the scope of the transaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? genericAttributeSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "genericAttributeSequenceNumber" is required (not null) + if (genericAttributeSequenceNumber == null) + { + throw new InvalidDataException("genericAttributeSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey and cannot be null"); + } + else + { + this.GenericAttributeSequenceNumber = genericAttributeSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of generic attribute within the scope of the transaction. + /// + /// The sequence number of generic attribute within the scope of the transaction. + [DataMember(Name="genericAttributeSequenceNumber", EmitDefaultValue=false)] + public int? GenericAttributeSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" GenericAttributeSequenceNumber: ").Append(GenericAttributeSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.GenericAttributeSequenceNumber == input.GenericAttributeSequenceNumber || + (this.GenericAttributeSequenceNumber != null && + this.GenericAttributeSequenceNumber.Equals(input.GenericAttributeSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.GenericAttributeSequenceNumber != null) + hashCode = hashCode * 59 + this.GenericAttributeSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2475d0f8e1c1c00869d6da3883adcb2c1e69851c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..6e44bfc2a4ece19718eb9064b78c1d92f45a70eb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem.cs @@ -0,0 +1,937 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// An external identifier for the related customer order.. + /// A unique system assigned identifier for the LineItem of the CustomerOrder. . + /// The start time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// A boolean indicator that tells if this line item is VOIDED or not.. + /// The end time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// A retailer assigned code to denote how the RetailTransactionLineItem was entered at the Workstation. It is filled just for retail transaction line item.. + /// A code to denote the type of retail transaction line item, such as Sale/Return, Void, Tender .... + /// Describes whether the line item was voided immediately after registering it, voided by another line item or internally voided . + /// id of the workstation where the line item was created. + /// type of the workstation where the line item was created. + /// A code that indicates the online/offline state when transaction was completed.. + /// The UTC0 start time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The UTC0 end time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// list of line item associations. + /// list of additional parameters. + /// list of binary data. + /// list of translations for line item texts. + /// list of data for line item related authorizations. + /// list of line item extensions. + /// list of line item audit events. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// sale return line item. + /// tender line item. + /// void line item. + /// rounding line item. + /// transaction related discount. + /// transaction related bonuspoints. + /// worker discount line item. + /// transaction related tax. + /// additional gift certificate data for SaleReturnLineItem, TenderLineItem or VoidsLineItem. + /// additional prepaid data for SaleReturnLineItem or VoidsLineItem. + /// additional bonuspoints redemption data. + /// data for additional bonus itemsA type of RETAIL TRANSACTION LINE ITEM that records PCE's response for the application of a promotion price derivation rule of type 'additional bonus'.. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey), string externalCustomerOrderID = default(string), int? customerOrderSequenceNumber = default(int?), string beginDateTimestamp = default(string), bool? voidFlag = default(bool?), string endDateTimestamp = default(string), string entryMethodCode = default(string), string retailTransactionLineItemTypeCode = default(string), string voidTypeCode = default(string), string workstationID = default(string), string workstationTypeCode = default(string), string keyedOfflineCode = default(string), DateTime? beginDateTimestampUTC0 = default(DateTime?), DateTime? endDateTimestampUTC0 = default(DateTime?), List retailTransactionLineItemAssociationList = default(List), List retailTransactionLineItemAdditionalParameterList = default(List), List retailTransactionLineItemBinaryDataList = default(List), List retailTransactionLineItemI18NTextList = default(List), List retailTransactionLineItemResourceOverrideList = default(List), List retailTransactionLineItemExtensionList = default(List), List retailTransactionLineItemAuditEventList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), List saleReturnLineItemList = default(List), List tenderLineItemList = default(List), List voidsLineItemList = default(List), List roundingLineItemList = default(List), List priceModificationLineItemList = default(List), List loyaltyRewardLineItemList = default(List), List workerDiscountLineItemList = default(List), List taxLineItemList = default(List), List giftCertificateLineItemList = default(List), List prepaidLineItemList = default(List), List retailTransactionLineItemFrequentShopperPointsRedemptionList = default(List), List additionalBonusDiscountLineItemList = default(List), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem and cannot be null"); + } + else + { + this.Key = key; + } + this.ExternalCustomerOrderID = externalCustomerOrderID; + this.CustomerOrderSequenceNumber = customerOrderSequenceNumber; + this.BeginDateTimestamp = beginDateTimestamp; + this.VoidFlag = voidFlag; + this.EndDateTimestamp = endDateTimestamp; + this.EntryMethodCode = entryMethodCode; + this.RetailTransactionLineItemTypeCode = retailTransactionLineItemTypeCode; + this.VoidTypeCode = voidTypeCode; + this.WorkstationID = workstationID; + this.WorkstationTypeCode = workstationTypeCode; + this.KeyedOfflineCode = keyedOfflineCode; + this.BeginDateTimestampUTC0 = beginDateTimestampUTC0; + this.EndDateTimestampUTC0 = endDateTimestampUTC0; + this.RetailTransactionLineItemAssociationList = retailTransactionLineItemAssociationList; + this.RetailTransactionLineItemAdditionalParameterList = retailTransactionLineItemAdditionalParameterList; + this.RetailTransactionLineItemBinaryDataList = retailTransactionLineItemBinaryDataList; + this.RetailTransactionLineItemI18NTextList = retailTransactionLineItemI18NTextList; + this.RetailTransactionLineItemResourceOverrideList = retailTransactionLineItemResourceOverrideList; + this.RetailTransactionLineItemExtensionList = retailTransactionLineItemExtensionList; + this.RetailTransactionLineItemAuditEventList = retailTransactionLineItemAuditEventList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.SaleReturnLineItemList = saleReturnLineItemList; + this.TenderLineItemList = tenderLineItemList; + this.VoidsLineItemList = voidsLineItemList; + this.RoundingLineItemList = roundingLineItemList; + this.PriceModificationLineItemList = priceModificationLineItemList; + this.LoyaltyRewardLineItemList = loyaltyRewardLineItemList; + this.WorkerDiscountLineItemList = workerDiscountLineItemList; + this.TaxLineItemList = taxLineItemList; + this.GiftCertificateLineItemList = giftCertificateLineItemList; + this.PrepaidLineItemList = prepaidLineItemList; + this.RetailTransactionLineItemFrequentShopperPointsRedemptionList = retailTransactionLineItemFrequentShopperPointsRedemptionList; + this.AdditionalBonusDiscountLineItemList = additionalBonusDiscountLineItemList; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey Key { get; set; } + + /// + /// An external identifier for the related customer order. + /// + /// An external identifier for the related customer order. + [DataMember(Name="externalCustomerOrderID", EmitDefaultValue=false)] + public string ExternalCustomerOrderID { get; set; } + + /// + /// A unique system assigned identifier for the LineItem of the CustomerOrder.  + /// + /// A unique system assigned identifier for the LineItem of the CustomerOrder.  + [DataMember(Name="customerOrderSequenceNumber", EmitDefaultValue=false)] + public int? CustomerOrderSequenceNumber { get; set; } + + /// + /// The start time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The start time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="beginDateTimestamp", EmitDefaultValue=false)] + public string BeginDateTimestamp { get; set; } + + /// + /// A boolean indicator that tells if this line item is VOIDED or not. + /// + /// A boolean indicator that tells if this line item is VOIDED or not. + [DataMember(Name="voidFlag", EmitDefaultValue=false)] + public bool? VoidFlag { get; set; } + + /// + /// The end time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The end time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="endDateTimestamp", EmitDefaultValue=false)] + public string EndDateTimestamp { get; set; } + + /// + /// A retailer assigned code to denote how the RetailTransactionLineItem was entered at the Workstation. It is filled just for retail transaction line item. + /// + /// A retailer assigned code to denote how the RetailTransactionLineItem was entered at the Workstation. It is filled just for retail transaction line item. + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// A code to denote the type of retail transaction line item, such as Sale/Return, Void, Tender ... + /// + /// A code to denote the type of retail transaction line item, such as Sale/Return, Void, Tender ... + [DataMember(Name="retailTransactionLineItemTypeCode", EmitDefaultValue=false)] + public string RetailTransactionLineItemTypeCode { get; set; } + + /// + /// Describes whether the line item was voided immediately after registering it, voided by another line item or internally voided  + /// + /// Describes whether the line item was voided immediately after registering it, voided by another line item or internally voided  + [DataMember(Name="voidTypeCode", EmitDefaultValue=false)] + public string VoidTypeCode { get; set; } + + /// + /// id of the workstation where the line item was created + /// + /// id of the workstation where the line item was created + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// type of the workstation where the line item was created + /// + /// type of the workstation where the line item was created + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// A code that indicates the online/offline state when transaction was completed. + /// + /// A code that indicates the online/offline state when transaction was completed. + [DataMember(Name="keyedOfflineCode", EmitDefaultValue=false)] + public string KeyedOfflineCode { get; set; } + + /// + /// The UTC0 start time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 start time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="beginDateTimestampUTC0", EmitDefaultValue=false)] + public DateTime? BeginDateTimestampUTC0 { get; set; } + + /// + /// The UTC0 end time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 end time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="endDateTimestampUTC0", EmitDefaultValue=false)] + public DateTime? EndDateTimestampUTC0 { get; set; } + + /// + /// list of line item associations + /// + /// list of line item associations + [DataMember(Name="retailTransactionLineItemAssociationList", EmitDefaultValue=false)] + public List RetailTransactionLineItemAssociationList { get; set; } + + /// + /// list of additional parameters + /// + /// list of additional parameters + [DataMember(Name="retailTransactionLineItemAdditionalParameterList", EmitDefaultValue=false)] + public List RetailTransactionLineItemAdditionalParameterList { get; set; } + + /// + /// list of binary data + /// + /// list of binary data + [DataMember(Name="retailTransactionLineItemBinaryDataList", EmitDefaultValue=false)] + public List RetailTransactionLineItemBinaryDataList { get; set; } + + /// + /// list of translations for line item texts + /// + /// list of translations for line item texts + [DataMember(Name="retailTransactionLineItemI18NTextList", EmitDefaultValue=false)] + public List RetailTransactionLineItemI18NTextList { get; set; } + + /// + /// list of data for line item related authorizations + /// + /// list of data for line item related authorizations + [DataMember(Name="retailTransactionLineItemResourceOverrideList", EmitDefaultValue=false)] + public List RetailTransactionLineItemResourceOverrideList { get; set; } + + /// + /// list of line item extensions + /// + /// list of line item extensions + [DataMember(Name="retailTransactionLineItemExtensionList", EmitDefaultValue=false)] + public List RetailTransactionLineItemExtensionList { get; set; } + + /// + /// list of line item audit events + /// + /// list of line item audit events + [DataMember(Name="retailTransactionLineItemAuditEventList", EmitDefaultValue=false)] + public List RetailTransactionLineItemAuditEventList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// sale return line item + /// + /// sale return line item + [DataMember(Name="saleReturnLineItemList", EmitDefaultValue=false)] + public List SaleReturnLineItemList { get; set; } + + /// + /// tender line item + /// + /// tender line item + [DataMember(Name="tenderLineItemList", EmitDefaultValue=false)] + public List TenderLineItemList { get; set; } + + /// + /// void line item + /// + /// void line item + [DataMember(Name="voidsLineItemList", EmitDefaultValue=false)] + public List VoidsLineItemList { get; set; } + + /// + /// rounding line item + /// + /// rounding line item + [DataMember(Name="roundingLineItemList", EmitDefaultValue=false)] + public List RoundingLineItemList { get; set; } + + /// + /// transaction related discount + /// + /// transaction related discount + [DataMember(Name="priceModificationLineItemList", EmitDefaultValue=false)] + public List PriceModificationLineItemList { get; set; } + + /// + /// transaction related bonuspoints + /// + /// transaction related bonuspoints + [DataMember(Name="loyaltyRewardLineItemList", EmitDefaultValue=false)] + public List LoyaltyRewardLineItemList { get; set; } + + /// + /// worker discount line item + /// + /// worker discount line item + [DataMember(Name="workerDiscountLineItemList", EmitDefaultValue=false)] + public List WorkerDiscountLineItemList { get; set; } + + /// + /// transaction related tax + /// + /// transaction related tax + [DataMember(Name="taxLineItemList", EmitDefaultValue=false)] + public List TaxLineItemList { get; set; } + + /// + /// additional gift certificate data for SaleReturnLineItem, TenderLineItem or VoidsLineItem + /// + /// additional gift certificate data for SaleReturnLineItem, TenderLineItem or VoidsLineItem + [DataMember(Name="giftCertificateLineItemList", EmitDefaultValue=false)] + public List GiftCertificateLineItemList { get; set; } + + /// + /// additional prepaid data for SaleReturnLineItem or VoidsLineItem + /// + /// additional prepaid data for SaleReturnLineItem or VoidsLineItem + [DataMember(Name="prepaidLineItemList", EmitDefaultValue=false)] + public List PrepaidLineItemList { get; set; } + + /// + /// additional bonuspoints redemption data + /// + /// additional bonuspoints redemption data + [DataMember(Name="retailTransactionLineItemFrequentShopperPointsRedemptionList", EmitDefaultValue=false)] + public List RetailTransactionLineItemFrequentShopperPointsRedemptionList { get; set; } + + /// + /// data for additional bonus itemsA type of RETAIL TRANSACTION LINE ITEM that records PCE's response for the application of a promotion price derivation rule of type 'additional bonus'. + /// + /// data for additional bonus itemsA type of RETAIL TRANSACTION LINE ITEM that records PCE's response for the application of a promotion price derivation rule of type 'additional bonus'. + [DataMember(Name="additionalBonusDiscountLineItemList", EmitDefaultValue=false)] + public List AdditionalBonusDiscountLineItemList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ExternalCustomerOrderID: ").Append(ExternalCustomerOrderID).Append("\n"); + sb.Append(" CustomerOrderSequenceNumber: ").Append(CustomerOrderSequenceNumber).Append("\n"); + sb.Append(" BeginDateTimestamp: ").Append(BeginDateTimestamp).Append("\n"); + sb.Append(" VoidFlag: ").Append(VoidFlag).Append("\n"); + sb.Append(" EndDateTimestamp: ").Append(EndDateTimestamp).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" RetailTransactionLineItemTypeCode: ").Append(RetailTransactionLineItemTypeCode).Append("\n"); + sb.Append(" VoidTypeCode: ").Append(VoidTypeCode).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" KeyedOfflineCode: ").Append(KeyedOfflineCode).Append("\n"); + sb.Append(" BeginDateTimestampUTC0: ").Append(BeginDateTimestampUTC0).Append("\n"); + sb.Append(" EndDateTimestampUTC0: ").Append(EndDateTimestampUTC0).Append("\n"); + sb.Append(" RetailTransactionLineItemAssociationList: ").Append(RetailTransactionLineItemAssociationList).Append("\n"); + sb.Append(" RetailTransactionLineItemAdditionalParameterList: ").Append(RetailTransactionLineItemAdditionalParameterList).Append("\n"); + sb.Append(" RetailTransactionLineItemBinaryDataList: ").Append(RetailTransactionLineItemBinaryDataList).Append("\n"); + sb.Append(" RetailTransactionLineItemI18NTextList: ").Append(RetailTransactionLineItemI18NTextList).Append("\n"); + sb.Append(" RetailTransactionLineItemResourceOverrideList: ").Append(RetailTransactionLineItemResourceOverrideList).Append("\n"); + sb.Append(" RetailTransactionLineItemExtensionList: ").Append(RetailTransactionLineItemExtensionList).Append("\n"); + sb.Append(" RetailTransactionLineItemAuditEventList: ").Append(RetailTransactionLineItemAuditEventList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" SaleReturnLineItemList: ").Append(SaleReturnLineItemList).Append("\n"); + sb.Append(" TenderLineItemList: ").Append(TenderLineItemList).Append("\n"); + sb.Append(" VoidsLineItemList: ").Append(VoidsLineItemList).Append("\n"); + sb.Append(" RoundingLineItemList: ").Append(RoundingLineItemList).Append("\n"); + sb.Append(" PriceModificationLineItemList: ").Append(PriceModificationLineItemList).Append("\n"); + sb.Append(" LoyaltyRewardLineItemList: ").Append(LoyaltyRewardLineItemList).Append("\n"); + sb.Append(" WorkerDiscountLineItemList: ").Append(WorkerDiscountLineItemList).Append("\n"); + sb.Append(" TaxLineItemList: ").Append(TaxLineItemList).Append("\n"); + sb.Append(" GiftCertificateLineItemList: ").Append(GiftCertificateLineItemList).Append("\n"); + sb.Append(" PrepaidLineItemList: ").Append(PrepaidLineItemList).Append("\n"); + sb.Append(" RetailTransactionLineItemFrequentShopperPointsRedemptionList: ").Append(RetailTransactionLineItemFrequentShopperPointsRedemptionList).Append("\n"); + sb.Append(" AdditionalBonusDiscountLineItemList: ").Append(AdditionalBonusDiscountLineItemList).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ExternalCustomerOrderID == input.ExternalCustomerOrderID || + (this.ExternalCustomerOrderID != null && + this.ExternalCustomerOrderID.Equals(input.ExternalCustomerOrderID)) + ) && + ( + this.CustomerOrderSequenceNumber == input.CustomerOrderSequenceNumber || + (this.CustomerOrderSequenceNumber != null && + this.CustomerOrderSequenceNumber.Equals(input.CustomerOrderSequenceNumber)) + ) && + ( + this.BeginDateTimestamp == input.BeginDateTimestamp || + (this.BeginDateTimestamp != null && + this.BeginDateTimestamp.Equals(input.BeginDateTimestamp)) + ) && + ( + this.VoidFlag == input.VoidFlag || + (this.VoidFlag != null && + this.VoidFlag.Equals(input.VoidFlag)) + ) && + ( + this.EndDateTimestamp == input.EndDateTimestamp || + (this.EndDateTimestamp != null && + this.EndDateTimestamp.Equals(input.EndDateTimestamp)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.RetailTransactionLineItemTypeCode == input.RetailTransactionLineItemTypeCode || + (this.RetailTransactionLineItemTypeCode != null && + this.RetailTransactionLineItemTypeCode.Equals(input.RetailTransactionLineItemTypeCode)) + ) && + ( + this.VoidTypeCode == input.VoidTypeCode || + (this.VoidTypeCode != null && + this.VoidTypeCode.Equals(input.VoidTypeCode)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.KeyedOfflineCode == input.KeyedOfflineCode || + (this.KeyedOfflineCode != null && + this.KeyedOfflineCode.Equals(input.KeyedOfflineCode)) + ) && + ( + this.BeginDateTimestampUTC0 == input.BeginDateTimestampUTC0 || + (this.BeginDateTimestampUTC0 != null && + this.BeginDateTimestampUTC0.Equals(input.BeginDateTimestampUTC0)) + ) && + ( + this.EndDateTimestampUTC0 == input.EndDateTimestampUTC0 || + (this.EndDateTimestampUTC0 != null && + this.EndDateTimestampUTC0.Equals(input.EndDateTimestampUTC0)) + ) && + ( + this.RetailTransactionLineItemAssociationList == input.RetailTransactionLineItemAssociationList || + this.RetailTransactionLineItemAssociationList != null && + this.RetailTransactionLineItemAssociationList.SequenceEqual(input.RetailTransactionLineItemAssociationList) + ) && + ( + this.RetailTransactionLineItemAdditionalParameterList == input.RetailTransactionLineItemAdditionalParameterList || + this.RetailTransactionLineItemAdditionalParameterList != null && + this.RetailTransactionLineItemAdditionalParameterList.SequenceEqual(input.RetailTransactionLineItemAdditionalParameterList) + ) && + ( + this.RetailTransactionLineItemBinaryDataList == input.RetailTransactionLineItemBinaryDataList || + this.RetailTransactionLineItemBinaryDataList != null && + this.RetailTransactionLineItemBinaryDataList.SequenceEqual(input.RetailTransactionLineItemBinaryDataList) + ) && + ( + this.RetailTransactionLineItemI18NTextList == input.RetailTransactionLineItemI18NTextList || + this.RetailTransactionLineItemI18NTextList != null && + this.RetailTransactionLineItemI18NTextList.SequenceEqual(input.RetailTransactionLineItemI18NTextList) + ) && + ( + this.RetailTransactionLineItemResourceOverrideList == input.RetailTransactionLineItemResourceOverrideList || + this.RetailTransactionLineItemResourceOverrideList != null && + this.RetailTransactionLineItemResourceOverrideList.SequenceEqual(input.RetailTransactionLineItemResourceOverrideList) + ) && + ( + this.RetailTransactionLineItemExtensionList == input.RetailTransactionLineItemExtensionList || + this.RetailTransactionLineItemExtensionList != null && + this.RetailTransactionLineItemExtensionList.SequenceEqual(input.RetailTransactionLineItemExtensionList) + ) && + ( + this.RetailTransactionLineItemAuditEventList == input.RetailTransactionLineItemAuditEventList || + this.RetailTransactionLineItemAuditEventList != null && + this.RetailTransactionLineItemAuditEventList.SequenceEqual(input.RetailTransactionLineItemAuditEventList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.SaleReturnLineItemList == input.SaleReturnLineItemList || + this.SaleReturnLineItemList != null && + this.SaleReturnLineItemList.SequenceEqual(input.SaleReturnLineItemList) + ) && + ( + this.TenderLineItemList == input.TenderLineItemList || + this.TenderLineItemList != null && + this.TenderLineItemList.SequenceEqual(input.TenderLineItemList) + ) && + ( + this.VoidsLineItemList == input.VoidsLineItemList || + this.VoidsLineItemList != null && + this.VoidsLineItemList.SequenceEqual(input.VoidsLineItemList) + ) && + ( + this.RoundingLineItemList == input.RoundingLineItemList || + this.RoundingLineItemList != null && + this.RoundingLineItemList.SequenceEqual(input.RoundingLineItemList) + ) && + ( + this.PriceModificationLineItemList == input.PriceModificationLineItemList || + this.PriceModificationLineItemList != null && + this.PriceModificationLineItemList.SequenceEqual(input.PriceModificationLineItemList) + ) && + ( + this.LoyaltyRewardLineItemList == input.LoyaltyRewardLineItemList || + this.LoyaltyRewardLineItemList != null && + this.LoyaltyRewardLineItemList.SequenceEqual(input.LoyaltyRewardLineItemList) + ) && + ( + this.WorkerDiscountLineItemList == input.WorkerDiscountLineItemList || + this.WorkerDiscountLineItemList != null && + this.WorkerDiscountLineItemList.SequenceEqual(input.WorkerDiscountLineItemList) + ) && + ( + this.TaxLineItemList == input.TaxLineItemList || + this.TaxLineItemList != null && + this.TaxLineItemList.SequenceEqual(input.TaxLineItemList) + ) && + ( + this.GiftCertificateLineItemList == input.GiftCertificateLineItemList || + this.GiftCertificateLineItemList != null && + this.GiftCertificateLineItemList.SequenceEqual(input.GiftCertificateLineItemList) + ) && + ( + this.PrepaidLineItemList == input.PrepaidLineItemList || + this.PrepaidLineItemList != null && + this.PrepaidLineItemList.SequenceEqual(input.PrepaidLineItemList) + ) && + ( + this.RetailTransactionLineItemFrequentShopperPointsRedemptionList == input.RetailTransactionLineItemFrequentShopperPointsRedemptionList || + this.RetailTransactionLineItemFrequentShopperPointsRedemptionList != null && + this.RetailTransactionLineItemFrequentShopperPointsRedemptionList.SequenceEqual(input.RetailTransactionLineItemFrequentShopperPointsRedemptionList) + ) && + ( + this.AdditionalBonusDiscountLineItemList == input.AdditionalBonusDiscountLineItemList || + this.AdditionalBonusDiscountLineItemList != null && + this.AdditionalBonusDiscountLineItemList.SequenceEqual(input.AdditionalBonusDiscountLineItemList) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ExternalCustomerOrderID != null) + hashCode = hashCode * 59 + this.ExternalCustomerOrderID.GetHashCode(); + if (this.CustomerOrderSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerOrderSequenceNumber.GetHashCode(); + if (this.BeginDateTimestamp != null) + hashCode = hashCode * 59 + this.BeginDateTimestamp.GetHashCode(); + if (this.VoidFlag != null) + hashCode = hashCode * 59 + this.VoidFlag.GetHashCode(); + if (this.EndDateTimestamp != null) + hashCode = hashCode * 59 + this.EndDateTimestamp.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.RetailTransactionLineItemTypeCode != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemTypeCode.GetHashCode(); + if (this.VoidTypeCode != null) + hashCode = hashCode * 59 + this.VoidTypeCode.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.KeyedOfflineCode != null) + hashCode = hashCode * 59 + this.KeyedOfflineCode.GetHashCode(); + if (this.BeginDateTimestampUTC0 != null) + hashCode = hashCode * 59 + this.BeginDateTimestampUTC0.GetHashCode(); + if (this.EndDateTimestampUTC0 != null) + hashCode = hashCode * 59 + this.EndDateTimestampUTC0.GetHashCode(); + if (this.RetailTransactionLineItemAssociationList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemAssociationList.GetHashCode(); + if (this.RetailTransactionLineItemAdditionalParameterList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemAdditionalParameterList.GetHashCode(); + if (this.RetailTransactionLineItemBinaryDataList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemBinaryDataList.GetHashCode(); + if (this.RetailTransactionLineItemI18NTextList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemI18NTextList.GetHashCode(); + if (this.RetailTransactionLineItemResourceOverrideList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemResourceOverrideList.GetHashCode(); + if (this.RetailTransactionLineItemExtensionList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemExtensionList.GetHashCode(); + if (this.RetailTransactionLineItemAuditEventList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemAuditEventList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.SaleReturnLineItemList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemList.GetHashCode(); + if (this.TenderLineItemList != null) + hashCode = hashCode * 59 + this.TenderLineItemList.GetHashCode(); + if (this.VoidsLineItemList != null) + hashCode = hashCode * 59 + this.VoidsLineItemList.GetHashCode(); + if (this.RoundingLineItemList != null) + hashCode = hashCode * 59 + this.RoundingLineItemList.GetHashCode(); + if (this.PriceModificationLineItemList != null) + hashCode = hashCode * 59 + this.PriceModificationLineItemList.GetHashCode(); + if (this.LoyaltyRewardLineItemList != null) + hashCode = hashCode * 59 + this.LoyaltyRewardLineItemList.GetHashCode(); + if (this.WorkerDiscountLineItemList != null) + hashCode = hashCode * 59 + this.WorkerDiscountLineItemList.GetHashCode(); + if (this.TaxLineItemList != null) + hashCode = hashCode * 59 + this.TaxLineItemList.GetHashCode(); + if (this.GiftCertificateLineItemList != null) + hashCode = hashCode * 59 + this.GiftCertificateLineItemList.GetHashCode(); + if (this.PrepaidLineItemList != null) + hashCode = hashCode * 59 + this.PrepaidLineItemList.GetHashCode(); + if (this.RetailTransactionLineItemFrequentShopperPointsRedemptionList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemFrequentShopperPointsRedemptionList.GetHashCode(); + if (this.AdditionalBonusDiscountLineItemList != null) + hashCode = hashCode * 59 + this.AdditionalBonusDiscountLineItemList.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter.cs new file mode 100644 index 0000000000000000000000000000000000000000..4012a626b89049624b853f8bef0186908065e117 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter.cs @@ -0,0 +1,265 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemAdditionalParameter <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The name of the parameter, e.g. the name/title of an additional input field  (required). + /// The value of the parameter, e.g. user input for an additional input field . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey), string parameterName = default(string), string parameterValue = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "parameterName" is required (not null) + if (parameterName == null) + { + throw new InvalidDataException("parameterName is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter and cannot be null"); + } + else + { + this.ParameterName = parameterName; + } + this.ParameterValue = parameterValue; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey Key { get; set; } + + /// + /// The name of the parameter, e.g. the name/title of an additional input field  + /// + /// The name of the parameter, e.g. the name/title of an additional input field  + [DataMember(Name="parameterName", EmitDefaultValue=false)] + public string ParameterName { get; set; } + + /// + /// The value of the parameter, e.g. user input for an additional input field  + /// + /// The value of the parameter, e.g. user input for an additional input field  + [DataMember(Name="parameterValue", EmitDefaultValue=false)] + public string ParameterValue { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ParameterName: ").Append(ParameterName).Append("\n"); + sb.Append(" ParameterValue: ").Append(ParameterValue).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ParameterName == input.ParameterName || + (this.ParameterName != null && + this.ParameterName.Equals(input.ParameterName)) + ) && + ( + this.ParameterValue == input.ParameterValue || + (this.ParameterValue != null && + this.ParameterValue.Equals(input.ParameterValue)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ParameterName != null) + hashCode = hashCode * 59 + this.ParameterName.GetHashCode(); + if (this.ParameterValue != null) + hashCode = hashCode * 59 + this.ParameterValue.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ae5bb5d932bacea46e26057eee92551e08cd27b4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemAdditionalParameter.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The external parameter ident (is needed for export), e.g. ident of an additional input field  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string externalParameterID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "externalParameterID" is required (not null) + if (externalParameterID == null) + { + throw new InvalidDataException("externalParameterID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey and cannot be null"); + } + else + { + this.ExternalParameterID = externalParameterID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The external parameter ident (is needed for export), e.g. ident of an additional input field  + /// + /// The external parameter ident (is needed for export), e.g. ident of an additional input field  + [DataMember(Name="externalParameterID", EmitDefaultValue=false)] + public string ExternalParameterID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" ExternalParameterID: ").Append(ExternalParameterID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.ExternalParameterID == input.ExternalParameterID || + (this.ExternalParameterID != null && + this.ExternalParameterID.Equals(input.ExternalParameterID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.ExternalParameterID != null) + hashCode = hashCode * 59 + this.ExternalParameterID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation.cs new file mode 100644 index 0000000000000000000000000000000000000000..f998b36aa9cfc96e71b698bfa96a49301f25bcc0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation.cs @@ -0,0 +1,239 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemAssociation <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// toTransactionID. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string toTransactionID = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.ToTransactionID = toTransactionID; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets ToTransactionID + /// + [DataMember(Name="toTransactionID", EmitDefaultValue=false)] + public string ToTransactionID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" ToTransactionID: ").Append(ToTransactionID).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.ToTransactionID == input.ToTransactionID || + (this.ToTransactionID != null && + this.ToTransactionID.Equals(input.ToTransactionID)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.ToTransactionID != null) + hashCode = hashCode * 59 + this.ToTransactionID.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9ff4328d2d0ba4ad0972f83b0aa056eaf3ae299a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey.cs @@ -0,0 +1,288 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemAssociation.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. (required). + /// The sequence number of line item (required). + /// The transaction id of the linked transaction. (required). + /// The sequence number of the linked line item. (required). + /// A retailer assigned code denoting the relationship between the two items. (required). + /// A unique system assigned identifier for the the business unit group of the linked transaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? lineItemSequenceNumber = default(int?), string toTransactionID = default(string), int? toLineItemSequenceNumber = default(int?), string lineItemAssociationTypeCode = default(string), string toBusinessUnitGroupID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "lineItemSequenceNumber" is required (not null) + if (lineItemSequenceNumber == null) + { + throw new InvalidDataException("lineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey and cannot be null"); + } + else + { + this.LineItemSequenceNumber = lineItemSequenceNumber; + } + // to ensure "toTransactionID" is required (not null) + if (toTransactionID == null) + { + throw new InvalidDataException("toTransactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey and cannot be null"); + } + else + { + this.ToTransactionID = toTransactionID; + } + // to ensure "toLineItemSequenceNumber" is required (not null) + if (toLineItemSequenceNumber == null) + { + throw new InvalidDataException("toLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey and cannot be null"); + } + else + { + this.ToLineItemSequenceNumber = toLineItemSequenceNumber; + } + // to ensure "lineItemAssociationTypeCode" is required (not null) + if (lineItemAssociationTypeCode == null) + { + throw new InvalidDataException("lineItemAssociationTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey and cannot be null"); + } + else + { + this.LineItemAssociationTypeCode = lineItemAssociationTypeCode; + } + // to ensure "toBusinessUnitGroupID" is required (not null) + if (toBusinessUnitGroupID == null) + { + throw new InvalidDataException("toBusinessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey and cannot be null"); + } + else + { + this.ToBusinessUnitGroupID = toBusinessUnitGroupID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. + /// + /// A universally unique identifier (UUID) for the Transaction. + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item + /// + /// The sequence number of line item + [DataMember(Name="lineItemSequenceNumber", EmitDefaultValue=false)] + public int? LineItemSequenceNumber { get; set; } + + /// + /// The transaction id of the linked transaction. + /// + /// The transaction id of the linked transaction. + [DataMember(Name="toTransactionID", EmitDefaultValue=false)] + public string ToTransactionID { get; set; } + + /// + /// The sequence number of the linked line item. + /// + /// The sequence number of the linked line item. + [DataMember(Name="toLineItemSequenceNumber", EmitDefaultValue=false)] + public int? ToLineItemSequenceNumber { get; set; } + + /// + /// A retailer assigned code denoting the relationship between the two items. + /// + /// A retailer assigned code denoting the relationship between the two items. + [DataMember(Name="lineItemAssociationTypeCode", EmitDefaultValue=false)] + public string LineItemAssociationTypeCode { get; set; } + + /// + /// A unique system assigned identifier for the the business unit group of the linked transaction. + /// + /// A unique system assigned identifier for the the business unit group of the linked transaction. + [DataMember(Name="toBusinessUnitGroupID", EmitDefaultValue=false)] + public string ToBusinessUnitGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" LineItemSequenceNumber: ").Append(LineItemSequenceNumber).Append("\n"); + sb.Append(" ToTransactionID: ").Append(ToTransactionID).Append("\n"); + sb.Append(" ToLineItemSequenceNumber: ").Append(ToLineItemSequenceNumber).Append("\n"); + sb.Append(" LineItemAssociationTypeCode: ").Append(LineItemAssociationTypeCode).Append("\n"); + sb.Append(" ToBusinessUnitGroupID: ").Append(ToBusinessUnitGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.LineItemSequenceNumber == input.LineItemSequenceNumber || + (this.LineItemSequenceNumber != null && + this.LineItemSequenceNumber.Equals(input.LineItemSequenceNumber)) + ) && + ( + this.ToTransactionID == input.ToTransactionID || + (this.ToTransactionID != null && + this.ToTransactionID.Equals(input.ToTransactionID)) + ) && + ( + this.ToLineItemSequenceNumber == input.ToLineItemSequenceNumber || + (this.ToLineItemSequenceNumber != null && + this.ToLineItemSequenceNumber.Equals(input.ToLineItemSequenceNumber)) + ) && + ( + this.LineItemAssociationTypeCode == input.LineItemAssociationTypeCode || + (this.LineItemAssociationTypeCode != null && + this.LineItemAssociationTypeCode.Equals(input.LineItemAssociationTypeCode)) + ) && + ( + this.ToBusinessUnitGroupID == input.ToBusinessUnitGroupID || + (this.ToBusinessUnitGroupID != null && + this.ToBusinessUnitGroupID.Equals(input.ToBusinessUnitGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.LineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.LineItemSequenceNumber.GetHashCode(); + if (this.ToTransactionID != null) + hashCode = hashCode * 59 + this.ToTransactionID.GetHashCode(); + if (this.ToLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.ToLineItemSequenceNumber.GetHashCode(); + if (this.LineItemAssociationTypeCode != null) + hashCode = hashCode * 59 + this.LineItemAssociationTypeCode.GetHashCode(); + if (this.ToBusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.ToBusinessUnitGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..fb605eb13a63080cb1a31da0251da53fa0fbd9bc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent.cs @@ -0,0 +1,349 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemAuditEvent <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// ID of the workstation. + /// Type code of the workstation. + /// Type code of the audit event (required). + /// Additional event content. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey), string creationTimestamp = default(string), DateTime? creationTimestampUTC0 = default(DateTime?), string workstationID = default(string), string workstationTypeCode = default(string), string eventTypeCode = default(string), Object content = default(Object), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "creationTimestamp" is required (not null) + if (creationTimestamp == null) + { + throw new InvalidDataException("creationTimestamp is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent and cannot be null"); + } + else + { + this.CreationTimestamp = creationTimestamp; + } + // to ensure "creationTimestampUTC0" is required (not null) + if (creationTimestampUTC0 == null) + { + throw new InvalidDataException("creationTimestampUTC0 is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent and cannot be null"); + } + else + { + this.CreationTimestampUTC0 = creationTimestampUTC0; + } + // to ensure "eventTypeCode" is required (not null) + if (eventTypeCode == null) + { + throw new InvalidDataException("eventTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent and cannot be null"); + } + else + { + this.EventTypeCode = eventTypeCode; + } + this.WorkstationID = workstationID; + this.WorkstationTypeCode = workstationTypeCode; + this.Content = content; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey Key { get; set; } + + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="creationTimestamp", EmitDefaultValue=false)] + public string CreationTimestamp { get; set; } + + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="creationTimestampUTC0", EmitDefaultValue=false)] + public DateTime? CreationTimestampUTC0 { get; set; } + + /// + /// ID of the workstation + /// + /// ID of the workstation + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// Type code of the workstation + /// + /// Type code of the workstation + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// Type code of the audit event + /// + /// Type code of the audit event + [DataMember(Name="eventTypeCode", EmitDefaultValue=false)] + public string EventTypeCode { get; set; } + + /// + /// Additional event content + /// + /// Additional event content + [DataMember(Name="content", EmitDefaultValue=false)] + public Object Content { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CreationTimestamp: ").Append(CreationTimestamp).Append("\n"); + sb.Append(" CreationTimestampUTC0: ").Append(CreationTimestampUTC0).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" EventTypeCode: ").Append(EventTypeCode).Append("\n"); + sb.Append(" Content: ").Append(Content).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CreationTimestamp == input.CreationTimestamp || + (this.CreationTimestamp != null && + this.CreationTimestamp.Equals(input.CreationTimestamp)) + ) && + ( + this.CreationTimestampUTC0 == input.CreationTimestampUTC0 || + (this.CreationTimestampUTC0 != null && + this.CreationTimestampUTC0.Equals(input.CreationTimestampUTC0)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.EventTypeCode == input.EventTypeCode || + (this.EventTypeCode != null && + this.EventTypeCode.Equals(input.EventTypeCode)) + ) && + ( + this.Content == input.Content || + (this.Content != null && + this.Content.Equals(input.Content)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CreationTimestamp != null) + hashCode = hashCode * 59 + this.CreationTimestamp.GetHashCode(); + if (this.CreationTimestampUTC0 != null) + hashCode = hashCode * 59 + this.CreationTimestampUTC0.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.EventTypeCode != null) + hashCode = hashCode * 59 + this.EventTypeCode.GetHashCode(); + if (this.Content != null) + hashCode = hashCode * 59 + this.Content.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e147e739f4179a3112cbc27d040e8e3b84acb4bf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemAuditEvent.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey() { } + /// + /// Initializes a new instance of the class. + /// + /// ID of the business unit group (required). + /// ID of the transaction (required). + /// The sequence number of line item within the context of this RetailTransaction. Must be updated during retrieve. (required). + /// A unique identifier (within the context of the Transaction) for this event entry.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? eventSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "eventSequenceNumber" is required (not null) + if (eventSequenceNumber == null) + { + throw new InvalidDataException("eventSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey and cannot be null"); + } + else + { + this.EventSequenceNumber = eventSequenceNumber; + } + } + + /// + /// ID of the business unit group + /// + /// ID of the business unit group + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// ID of the transaction + /// + /// ID of the transaction + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction. Must be updated during retrieve. + /// + /// The sequence number of line item within the context of this RetailTransaction. Must be updated during retrieve. + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + [DataMember(Name="eventSequenceNumber", EmitDefaultValue=false)] + public int? EventSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" EventSequenceNumber: ").Append(EventSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.EventSequenceNumber == input.EventSequenceNumber || + (this.EventSequenceNumber != null && + this.EventSequenceNumber.Equals(input.EventSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.EventSequenceNumber != null) + hashCode = hashCode * 59 + this.EventSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData.cs new file mode 100644 index 0000000000000000000000000000000000000000..38340762b5c0ee37ddf5c115f739b34b9476c760 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData.cs @@ -0,0 +1,298 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemBinaryData <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The name of the binary data entry  (required). + /// The binary object  (required). + /// The length of the binary object (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey), string name = default(string), Object content = default(Object), double? contentLength = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "name" is required (not null) + if (name == null) + { + throw new InvalidDataException("name is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData and cannot be null"); + } + else + { + this.Name = name; + } + // to ensure "content" is required (not null) + if (content == null) + { + throw new InvalidDataException("content is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData and cannot be null"); + } + else + { + this.Content = content; + } + // to ensure "contentLength" is required (not null) + if (contentLength == null) + { + throw new InvalidDataException("contentLength is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData and cannot be null"); + } + else + { + this.ContentLength = contentLength; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey Key { get; set; } + + /// + /// The name of the binary data entry  + /// + /// The name of the binary data entry  + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// The binary object  + /// + /// The binary object  + [DataMember(Name="content", EmitDefaultValue=false)] + public Object Content { get; set; } + + /// + /// The length of the binary object + /// + /// The length of the binary object + [DataMember(Name="contentLength", EmitDefaultValue=false)] + public double? ContentLength { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Content: ").Append(Content).Append("\n"); + sb.Append(" ContentLength: ").Append(ContentLength).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Content == input.Content || + (this.Content != null && + this.Content.Equals(input.Content)) + ) && + ( + this.ContentLength == input.ContentLength || + (this.ContentLength != null && + this.ContentLength.Equals(input.ContentLength)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Content != null) + hashCode = hashCode * 59 + this.Content.GetHashCode(); + if (this.ContentLength != null) + hashCode = hashCode * 59 + this.ContentLength.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9334b585b393afa6d31e3036cd02d428a6f219bf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemBinaryData.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// A unique identifier (within the context of the Transaction) for this binary data entry.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? binaryDataSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "binaryDataSequenceNumber" is required (not null) + if (binaryDataSequenceNumber == null) + { + throw new InvalidDataException("binaryDataSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey and cannot be null"); + } + else + { + this.BinaryDataSequenceNumber = binaryDataSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + [DataMember(Name="binaryDataSequenceNumber", EmitDefaultValue=false)] + public int? BinaryDataSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" BinaryDataSequenceNumber: ").Append(BinaryDataSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.BinaryDataSequenceNumber == input.BinaryDataSequenceNumber || + (this.BinaryDataSequenceNumber != null && + this.BinaryDataSequenceNumber.Equals(input.BinaryDataSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.BinaryDataSequenceNumber != null) + hashCode = hashCode * 59 + this.BinaryDataSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..52eb1fd8236d6a9c0ec97ec1d86fffb591105537 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension.cs @@ -0,0 +1,240 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemExtension <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The value of the key-value pair . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey), string extensionValue = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension and cannot be null"); + } + else + { + this.Key = key; + } + this.ExtensionValue = extensionValue; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey Key { get; set; } + + /// + /// The value of the key-value pair  + /// + /// The value of the key-value pair  + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..df63b3a563d0fcd88dd3ecbd5191b517b6df5c69 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemExtension.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The key of the key-value pair  (required). + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string extensionKey = default(string), int? extensionSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "extensionKey" is required (not null) + if (extensionKey == null) + { + throw new InvalidDataException("extensionKey is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey and cannot be null"); + } + else + { + this.ExtensionKey = extensionKey; + } + // to ensure "extensionSequenceNumber" is required (not null) + if (extensionSequenceNumber == null) + { + throw new InvalidDataException("extensionSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey and cannot be null"); + } + else + { + this.ExtensionSequenceNumber = extensionSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The key of the key-value pair  + /// + /// The key of the key-value pair  + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + [DataMember(Name="extensionSequenceNumber", EmitDefaultValue=false)] + public int? ExtensionSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionSequenceNumber: ").Append(ExtensionSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionSequenceNumber == input.ExtensionSequenceNumber || + (this.ExtensionSequenceNumber != null && + this.ExtensionSequenceNumber.Equals(input.ExtensionSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionSequenceNumber != null) + hashCode = hashCode * 59 + this.ExtensionSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ca64a1daa68090f9ff9692cdba2b912bc671753 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption.cs @@ -0,0 +1,298 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemFrequentShopperPointsRedemption <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The customer account number (required). + /// A universally unique identifier (UUID) for the redemption transaction. This may be assembled from alternate key members (required). + /// The number of frequent shopper points redeemed (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey), string customerAccountID = default(string), string redemptionTransactionID = default(string), double? frequentShopperPointsRedeemedCount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "customerAccountID" is required (not null) + if (customerAccountID == null) + { + throw new InvalidDataException("customerAccountID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption and cannot be null"); + } + else + { + this.CustomerAccountID = customerAccountID; + } + // to ensure "redemptionTransactionID" is required (not null) + if (redemptionTransactionID == null) + { + throw new InvalidDataException("redemptionTransactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption and cannot be null"); + } + else + { + this.RedemptionTransactionID = redemptionTransactionID; + } + // to ensure "frequentShopperPointsRedeemedCount" is required (not null) + if (frequentShopperPointsRedeemedCount == null) + { + throw new InvalidDataException("frequentShopperPointsRedeemedCount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption and cannot be null"); + } + else + { + this.FrequentShopperPointsRedeemedCount = frequentShopperPointsRedeemedCount; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey Key { get; set; } + + /// + /// The customer account number + /// + /// The customer account number + [DataMember(Name="customerAccountID", EmitDefaultValue=false)] + public string CustomerAccountID { get; set; } + + /// + /// A universally unique identifier (UUID) for the redemption transaction. This may be assembled from alternate key members + /// + /// A universally unique identifier (UUID) for the redemption transaction. This may be assembled from alternate key members + [DataMember(Name="redemptionTransactionID", EmitDefaultValue=false)] + public string RedemptionTransactionID { get; set; } + + /// + /// The number of frequent shopper points redeemed + /// + /// The number of frequent shopper points redeemed + [DataMember(Name="frequentShopperPointsRedeemedCount", EmitDefaultValue=false)] + public double? FrequentShopperPointsRedeemedCount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CustomerAccountID: ").Append(CustomerAccountID).Append("\n"); + sb.Append(" RedemptionTransactionID: ").Append(RedemptionTransactionID).Append("\n"); + sb.Append(" FrequentShopperPointsRedeemedCount: ").Append(FrequentShopperPointsRedeemedCount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CustomerAccountID == input.CustomerAccountID || + (this.CustomerAccountID != null && + this.CustomerAccountID.Equals(input.CustomerAccountID)) + ) && + ( + this.RedemptionTransactionID == input.RedemptionTransactionID || + (this.RedemptionTransactionID != null && + this.RedemptionTransactionID.Equals(input.RedemptionTransactionID)) + ) && + ( + this.FrequentShopperPointsRedeemedCount == input.FrequentShopperPointsRedeemedCount || + (this.FrequentShopperPointsRedeemedCount != null && + this.FrequentShopperPointsRedeemedCount.Equals(input.FrequentShopperPointsRedeemedCount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CustomerAccountID != null) + hashCode = hashCode * 59 + this.CustomerAccountID.GetHashCode(); + if (this.RedemptionTransactionID != null) + hashCode = hashCode * 59 + this.RedemptionTransactionID.GetHashCode(); + if (this.FrequentShopperPointsRedeemedCount != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsRedeemedCount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..72b7ce8db870d09dc2dab70ce5e69c929cca0778 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemFrequentShopperPointsRedemption.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction. + /// + /// The sequence number of line item within the context of this RetailTransaction. + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText.cs new file mode 100644 index 0000000000000000000000000000000000000000..ba9f14ddde16ab40dc9f70062c6788eb0aa0baa8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText.cs @@ -0,0 +1,265 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemI18NText <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The text in the nominated language . + /// Determines whether Text is a reference to a picture or whether Text is common text  (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey), string text = default(string), bool? pictureFlag = default(bool?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "pictureFlag" is required (not null) + if (pictureFlag == null) + { + throw new InvalidDataException("pictureFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText and cannot be null"); + } + else + { + this.PictureFlag = pictureFlag; + } + this.Text = text; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey Key { get; set; } + + /// + /// The text in the nominated language  + /// + /// The text in the nominated language  + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// Determines whether Text is a reference to a picture or whether Text is common text  + /// + /// Determines whether Text is a reference to a picture or whether Text is common text  + [DataMember(Name="pictureFlag", EmitDefaultValue=false)] + public bool? PictureFlag { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" PictureFlag: ").Append(PictureFlag).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.PictureFlag == input.PictureFlag || + (this.PictureFlag != null && + this.PictureFlag.Equals(input.PictureFlag)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.PictureFlag != null) + hashCode = hashCode * 59 + this.PictureFlag.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..1bafa3804e47858a6dad1390b27b72f088504b5d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemI18NText.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// Line number (incremental counter) of the text  (required). + /// A combination of ISO-639-1 and ISO-3661-1 to denote a lanuage as spoken in a particular country.  (required). + /// Category code of the text (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? textSequenceNumber = default(int?), string languageID = default(string), string category = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "textSequenceNumber" is required (not null) + if (textSequenceNumber == null) + { + throw new InvalidDataException("textSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey and cannot be null"); + } + else + { + this.TextSequenceNumber = textSequenceNumber; + } + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + // to ensure "category" is required (not null) + if (category == null) + { + throw new InvalidDataException("category is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey and cannot be null"); + } + else + { + this.Category = category; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Line number (incremental counter) of the text  + /// + /// Line number (incremental counter) of the text  + [DataMember(Name="textSequenceNumber", EmitDefaultValue=false)] + public int? TextSequenceNumber { get; set; } + + /// + /// A combination of ISO-639-1 and ISO-3661-1 to denote a lanuage as spoken in a particular country.  + /// + /// A combination of ISO-639-1 and ISO-3661-1 to denote a lanuage as spoken in a particular country.  + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// Category code of the text + /// + /// Category code of the text + [DataMember(Name="category", EmitDefaultValue=false)] + public string Category { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" TextSequenceNumber: ").Append(TextSequenceNumber).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" Category: ").Append(Category).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.TextSequenceNumber == input.TextSequenceNumber || + (this.TextSequenceNumber != null && + this.TextSequenceNumber.Equals(input.TextSequenceNumber)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.Category == input.Category || + (this.Category != null && + this.Category.Equals(input.Category)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.TextSequenceNumber != null) + hashCode = hashCode * 59 + this.TextSequenceNumber.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.Category != null) + hashCode = hashCode * 59 + this.Category.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b1e82afefd9ad9a1c2fef02daab2d8898fe6609e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride.cs new file mode 100644 index 0000000000000000000000000000000000000000..65331aab58c8be9d23a3ecb1ac8e3395d2a0e286 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride.cs @@ -0,0 +1,384 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemResourceOverride <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A unqiue system assigned identifier for the action to which access may be granted to some Operators and Workstations.  . + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  (required). + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc... . + /// The name of the person assigned to the WorkerID that was used to approve this LineItemResourceOverride . + /// The first name of the person assigned to the WorkerID that was used to approve this line item resource override . + /// A unqiue system assigned identifier for a set of WorkerID with similar resource access control permissions. . + /// A unique system-assigned identifier for the Person who is a particular Worker.. + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey), string resourceID = default(string), string operatorID = default(string), string overrideTimestamp = default(string), string entryMethodCode = default(string), string approverName = default(string), string approverFirstName = default(string), string workGroupID = default(string), string workerID = default(string), DateTime? overrideTimestampUTC0 = default(DateTime?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "operatorID" is required (not null) + if (operatorID == null) + { + throw new InvalidDataException("operatorID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride and cannot be null"); + } + else + { + this.OperatorID = operatorID; + } + this.ResourceID = resourceID; + this.OverrideTimestamp = overrideTimestamp; + this.EntryMethodCode = entryMethodCode; + this.ApproverName = approverName; + this.ApproverFirstName = approverFirstName; + this.WorkGroupID = workGroupID; + this.WorkerID = workerID; + this.OverrideTimestampUTC0 = overrideTimestampUTC0; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey Key { get; set; } + + /// + /// A unqiue system assigned identifier for the action to which access may be granted to some Operators and Workstations.   + /// + /// A unqiue system assigned identifier for the action to which access may be granted to some Operators and Workstations.   + [DataMember(Name="resourceID", EmitDefaultValue=false)] + public string ResourceID { get; set; } + + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="overrideTimestamp", EmitDefaultValue=false)] + public string OverrideTimestamp { get; set; } + + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// The name of the person assigned to the WorkerID that was used to approve this LineItemResourceOverride  + /// + /// The name of the person assigned to the WorkerID that was used to approve this LineItemResourceOverride  + [DataMember(Name="approverName", EmitDefaultValue=false)] + public string ApproverName { get; set; } + + /// + /// The first name of the person assigned to the WorkerID that was used to approve this line item resource override  + /// + /// The first name of the person assigned to the WorkerID that was used to approve this line item resource override  + [DataMember(Name="approverFirstName", EmitDefaultValue=false)] + public string ApproverFirstName { get; set; } + + /// + /// A unqiue system assigned identifier for a set of WorkerID with similar resource access control permissions.  + /// + /// A unqiue system assigned identifier for a set of WorkerID with similar resource access control permissions.  + [DataMember(Name="workGroupID", EmitDefaultValue=false)] + public string WorkGroupID { get; set; } + + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="overrideTimestampUTC0", EmitDefaultValue=false)] + public DateTime? OverrideTimestampUTC0 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ResourceID: ").Append(ResourceID).Append("\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" OverrideTimestamp: ").Append(OverrideTimestamp).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" ApproverName: ").Append(ApproverName).Append("\n"); + sb.Append(" ApproverFirstName: ").Append(ApproverFirstName).Append("\n"); + sb.Append(" WorkGroupID: ").Append(WorkGroupID).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" OverrideTimestampUTC0: ").Append(OverrideTimestampUTC0).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ResourceID == input.ResourceID || + (this.ResourceID != null && + this.ResourceID.Equals(input.ResourceID)) + ) && + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.OverrideTimestamp == input.OverrideTimestamp || + (this.OverrideTimestamp != null && + this.OverrideTimestamp.Equals(input.OverrideTimestamp)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.ApproverName == input.ApproverName || + (this.ApproverName != null && + this.ApproverName.Equals(input.ApproverName)) + ) && + ( + this.ApproverFirstName == input.ApproverFirstName || + (this.ApproverFirstName != null && + this.ApproverFirstName.Equals(input.ApproverFirstName)) + ) && + ( + this.WorkGroupID == input.WorkGroupID || + (this.WorkGroupID != null && + this.WorkGroupID.Equals(input.WorkGroupID)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.OverrideTimestampUTC0 == input.OverrideTimestampUTC0 || + (this.OverrideTimestampUTC0 != null && + this.OverrideTimestampUTC0.Equals(input.OverrideTimestampUTC0)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ResourceID != null) + hashCode = hashCode * 59 + this.ResourceID.GetHashCode(); + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.OverrideTimestamp != null) + hashCode = hashCode * 59 + this.OverrideTimestamp.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.ApproverName != null) + hashCode = hashCode * 59 + this.ApproverName.GetHashCode(); + if (this.ApproverFirstName != null) + hashCode = hashCode * 59 + this.ApproverFirstName.GetHashCode(); + if (this.WorkGroupID != null) + hashCode = hashCode * 59 + this.WorkGroupID.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.OverrideTimestampUTC0 != null) + hashCode = hashCode * 59 + this.OverrideTimestampUTC0.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c400c1269e68820f8abc24480f76720551e18dcd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemResourceOverride.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// Line number (incremental counter)  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? resourceOverrideSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "resourceOverrideSequenceNumber" is required (not null) + if (resourceOverrideSequenceNumber == null) + { + throw new InvalidDataException("resourceOverrideSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey and cannot be null"); + } + else + { + this.ResourceOverrideSequenceNumber = resourceOverrideSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Line number (incremental counter)  + /// + /// Line number (incremental counter)  + [DataMember(Name="resourceOverrideSequenceNumber", EmitDefaultValue=false)] + public int? ResourceOverrideSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" ResourceOverrideSequenceNumber: ").Append(ResourceOverrideSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.ResourceOverrideSequenceNumber == input.ResourceOverrideSequenceNumber || + (this.ResourceOverrideSequenceNumber != null && + this.ResourceOverrideSequenceNumber.Equals(input.ResourceOverrideSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.ResourceOverrideSequenceNumber != null) + hashCode = hashCode * 59 + this.ResourceOverrideSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..6963eceeaf916be0420ca3b04ee0bd0e73ade2c8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary.cs @@ -0,0 +1,432 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionManufacturerCouponSummary <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The 6 to 12 digit GS1 Company Prefix of the manufacturer that is funding this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. (required). + /// A 6-digit number (assigned by the holder of the ManufacturerCompanyCode) that identifies this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. (required). + /// A flag to denote whether the manufacturer coupon was key entered or scanned (required). + /// The number how often the manufacturer coupon was registered (required). + /// The number how often the manufacturer coupon was applied (required). + /// The number of intervals for which the manufacturer coupon was applied (required). + /// The total discount amount that is granted by applying the manufacturer coupon according to its AppliedCount (required). + /// The reference to the corresponding tender line item. + /// list of validating sale line items. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey), string manufacturerCompanyCode = default(string), string manufacturerOfferCode = default(string), bool? keyEnteredFlag = default(bool?), double? inputCount = default(double?), double? appliedCount = default(double?), double? appliedIntervalCount = default(double?), double? totalAmount = default(double?), int? tenderLineItemSequenceNumber = default(int?), List saleLineItemValidationList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "manufacturerCompanyCode" is required (not null) + if (manufacturerCompanyCode == null) + { + throw new InvalidDataException("manufacturerCompanyCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.ManufacturerCompanyCode = manufacturerCompanyCode; + } + // to ensure "manufacturerOfferCode" is required (not null) + if (manufacturerOfferCode == null) + { + throw new InvalidDataException("manufacturerOfferCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.ManufacturerOfferCode = manufacturerOfferCode; + } + // to ensure "keyEnteredFlag" is required (not null) + if (keyEnteredFlag == null) + { + throw new InvalidDataException("keyEnteredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.KeyEnteredFlag = keyEnteredFlag; + } + // to ensure "inputCount" is required (not null) + if (inputCount == null) + { + throw new InvalidDataException("inputCount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.InputCount = inputCount; + } + // to ensure "appliedCount" is required (not null) + if (appliedCount == null) + { + throw new InvalidDataException("appliedCount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.AppliedCount = appliedCount; + } + // to ensure "appliedIntervalCount" is required (not null) + if (appliedIntervalCount == null) + { + throw new InvalidDataException("appliedIntervalCount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.AppliedIntervalCount = appliedIntervalCount; + } + // to ensure "totalAmount" is required (not null) + if (totalAmount == null) + { + throw new InvalidDataException("totalAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary and cannot be null"); + } + else + { + this.TotalAmount = totalAmount; + } + this.TenderLineItemSequenceNumber = tenderLineItemSequenceNumber; + this.SaleLineItemValidationList = saleLineItemValidationList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey Key { get; set; } + + /// + /// The 6 to 12 digit GS1 Company Prefix of the manufacturer that is funding this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + /// + /// The 6 to 12 digit GS1 Company Prefix of the manufacturer that is funding this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + [DataMember(Name="manufacturerCompanyCode", EmitDefaultValue=false)] + public string ManufacturerCompanyCode { get; set; } + + /// + /// A 6-digit number (assigned by the holder of the ManufacturerCompanyCode) that identifies this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + /// + /// A 6-digit number (assigned by the holder of the ManufacturerCompanyCode) that identifies this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + [DataMember(Name="manufacturerOfferCode", EmitDefaultValue=false)] + public string ManufacturerOfferCode { get; set; } + + /// + /// A flag to denote whether the manufacturer coupon was key entered or scanned + /// + /// A flag to denote whether the manufacturer coupon was key entered or scanned + [DataMember(Name="keyEnteredFlag", EmitDefaultValue=false)] + public bool? KeyEnteredFlag { get; set; } + + /// + /// The number how often the manufacturer coupon was registered + /// + /// The number how often the manufacturer coupon was registered + [DataMember(Name="inputCount", EmitDefaultValue=false)] + public double? InputCount { get; set; } + + /// + /// The number how often the manufacturer coupon was applied + /// + /// The number how often the manufacturer coupon was applied + [DataMember(Name="appliedCount", EmitDefaultValue=false)] + public double? AppliedCount { get; set; } + + /// + /// The number of intervals for which the manufacturer coupon was applied + /// + /// The number of intervals for which the manufacturer coupon was applied + [DataMember(Name="appliedIntervalCount", EmitDefaultValue=false)] + public double? AppliedIntervalCount { get; set; } + + /// + /// The total discount amount that is granted by applying the manufacturer coupon according to its AppliedCount + /// + /// The total discount amount that is granted by applying the manufacturer coupon according to its AppliedCount + [DataMember(Name="totalAmount", EmitDefaultValue=false)] + public double? TotalAmount { get; set; } + + /// + /// The reference to the corresponding tender line item + /// + /// The reference to the corresponding tender line item + [DataMember(Name="tenderLineItemSequenceNumber", EmitDefaultValue=false)] + public int? TenderLineItemSequenceNumber { get; set; } + + /// + /// list of validating sale line items + /// + /// list of validating sale line items + [DataMember(Name="saleLineItemValidationList", EmitDefaultValue=false)] + public List SaleLineItemValidationList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ManufacturerCompanyCode: ").Append(ManufacturerCompanyCode).Append("\n"); + sb.Append(" ManufacturerOfferCode: ").Append(ManufacturerOfferCode).Append("\n"); + sb.Append(" KeyEnteredFlag: ").Append(KeyEnteredFlag).Append("\n"); + sb.Append(" InputCount: ").Append(InputCount).Append("\n"); + sb.Append(" AppliedCount: ").Append(AppliedCount).Append("\n"); + sb.Append(" AppliedIntervalCount: ").Append(AppliedIntervalCount).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" TenderLineItemSequenceNumber: ").Append(TenderLineItemSequenceNumber).Append("\n"); + sb.Append(" SaleLineItemValidationList: ").Append(SaleLineItemValidationList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ManufacturerCompanyCode == input.ManufacturerCompanyCode || + (this.ManufacturerCompanyCode != null && + this.ManufacturerCompanyCode.Equals(input.ManufacturerCompanyCode)) + ) && + ( + this.ManufacturerOfferCode == input.ManufacturerOfferCode || + (this.ManufacturerOfferCode != null && + this.ManufacturerOfferCode.Equals(input.ManufacturerOfferCode)) + ) && + ( + this.KeyEnteredFlag == input.KeyEnteredFlag || + (this.KeyEnteredFlag != null && + this.KeyEnteredFlag.Equals(input.KeyEnteredFlag)) + ) && + ( + this.InputCount == input.InputCount || + (this.InputCount != null && + this.InputCount.Equals(input.InputCount)) + ) && + ( + this.AppliedCount == input.AppliedCount || + (this.AppliedCount != null && + this.AppliedCount.Equals(input.AppliedCount)) + ) && + ( + this.AppliedIntervalCount == input.AppliedIntervalCount || + (this.AppliedIntervalCount != null && + this.AppliedIntervalCount.Equals(input.AppliedIntervalCount)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.TenderLineItemSequenceNumber == input.TenderLineItemSequenceNumber || + (this.TenderLineItemSequenceNumber != null && + this.TenderLineItemSequenceNumber.Equals(input.TenderLineItemSequenceNumber)) + ) && + ( + this.SaleLineItemValidationList == input.SaleLineItemValidationList || + this.SaleLineItemValidationList != null && + this.SaleLineItemValidationList.SequenceEqual(input.SaleLineItemValidationList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ManufacturerCompanyCode != null) + hashCode = hashCode * 59 + this.ManufacturerCompanyCode.GetHashCode(); + if (this.ManufacturerOfferCode != null) + hashCode = hashCode * 59 + this.ManufacturerOfferCode.GetHashCode(); + if (this.KeyEnteredFlag != null) + hashCode = hashCode * 59 + this.KeyEnteredFlag.GetHashCode(); + if (this.InputCount != null) + hashCode = hashCode * 59 + this.InputCount.GetHashCode(); + if (this.AppliedCount != null) + hashCode = hashCode * 59 + this.AppliedCount.GetHashCode(); + if (this.AppliedIntervalCount != null) + hashCode = hashCode * 59 + this.AppliedIntervalCount.GetHashCode(); + if (this.TotalAmount != null) + hashCode = hashCode * 59 + this.TotalAmount.GetHashCode(); + if (this.TenderLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.TenderLineItemSequenceNumber.GetHashCode(); + if (this.SaleLineItemValidationList != null) + hashCode = hashCode * 59 + this.SaleLineItemValidationList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..bd0c71dd42717347b2356c0e21b8f9ab53d814fc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionManufacturerCouponSummary.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The barcode on the manufacturer coupon in GS1 interface format. In case that the manufacturer coupon was key entered this information is assembled by the entered information (ManufacturerCompanyCode, ManufacturerOfferCode, TotalAmount) by using the GS1 interface format. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey(string businessUnitGroupID = default(string), string transactionID = default(string), string manufacturerCouponScanCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "manufacturerCouponScanCode" is required (not null) + if (manufacturerCouponScanCode == null) + { + throw new InvalidDataException("manufacturerCouponScanCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey and cannot be null"); + } + else + { + this.ManufacturerCouponScanCode = manufacturerCouponScanCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The barcode on the manufacturer coupon in GS1 interface format. In case that the manufacturer coupon was key entered this information is assembled by the entered information (ManufacturerCompanyCode, ManufacturerOfferCode, TotalAmount) by using the GS1 interface format. + /// + /// The barcode on the manufacturer coupon in GS1 interface format. In case that the manufacturer coupon was key entered this information is assembled by the entered information (ManufacturerCompanyCode, ManufacturerOfferCode, TotalAmount) by using the GS1 interface format. + [DataMember(Name="manufacturerCouponScanCode", EmitDefaultValue=false)] + public string ManufacturerCouponScanCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" ManufacturerCouponScanCode: ").Append(ManufacturerCouponScanCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.ManufacturerCouponScanCode == input.ManufacturerCouponScanCode || + (this.ManufacturerCouponScanCode != null && + this.ManufacturerCouponScanCode.Equals(input.ManufacturerCouponScanCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.ManufacturerCouponScanCode != null) + hashCode = hashCode * 59 + this.ManufacturerCouponScanCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation.cs new file mode 100644 index 0000000000000000000000000000000000000000..e24130f3e19c60ddb89b907d86863ced3e2650bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation.cs @@ -0,0 +1,223 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionManufacturerCouponValidation <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..08baa31be47ea838c07c6ec1e1eb6e49565264cf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionManufacturerCouponValidation.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// Short description (required). + /// Reference to the sale line item the manufacturer coupon was applied to (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string manufacturerCouponScanCode = default(string), int? saleLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "manufacturerCouponScanCode" is required (not null) + if (manufacturerCouponScanCode == null) + { + throw new InvalidDataException("manufacturerCouponScanCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey and cannot be null"); + } + else + { + this.ManufacturerCouponScanCode = manufacturerCouponScanCode; + } + // to ensure "saleLineItemSequenceNumber" is required (not null) + if (saleLineItemSequenceNumber == null) + { + throw new InvalidDataException("saleLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey and cannot be null"); + } + else + { + this.SaleLineItemSequenceNumber = saleLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Short description + /// + /// Short description + [DataMember(Name="manufacturerCouponScanCode", EmitDefaultValue=false)] + public string ManufacturerCouponScanCode { get; set; } + + /// + /// Reference to the sale line item the manufacturer coupon was applied to + /// + /// Reference to the sale line item the manufacturer coupon was applied to + [DataMember(Name="saleLineItemSequenceNumber", EmitDefaultValue=false)] + public int? SaleLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" ManufacturerCouponScanCode: ").Append(ManufacturerCouponScanCode).Append("\n"); + sb.Append(" SaleLineItemSequenceNumber: ").Append(SaleLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.ManufacturerCouponScanCode == input.ManufacturerCouponScanCode || + (this.ManufacturerCouponScanCode != null && + this.ManufacturerCouponScanCode.Equals(input.ManufacturerCouponScanCode)) + ) && + ( + this.SaleLineItemSequenceNumber == input.SaleLineItemSequenceNumber || + (this.SaleLineItemSequenceNumber != null && + this.SaleLineItemSequenceNumber.Equals(input.SaleLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.ManufacturerCouponScanCode != null) + hashCode = hashCode * 59 + this.ManufacturerCouponScanCode.GetHashCode(); + if (this.SaleLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.SaleLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon.cs new file mode 100644 index 0000000000000000000000000000000000000000..694890767d8313a9d1844e4bc1d01588fb89382a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionModifierCoupon <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The coupon number that was used to trigger the modifier (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey), string couponNumber = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "couponNumber" is required (not null) + if (couponNumber == null) + { + throw new InvalidDataException("couponNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon and cannot be null"); + } + else + { + this.CouponNumber = couponNumber; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey Key { get; set; } + + /// + /// The coupon number that was used to trigger the modifier + /// + /// The coupon number that was used to trigger the modifier + [DataMember(Name="couponNumber", EmitDefaultValue=false)] + public string CouponNumber { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CouponNumber: ").Append(CouponNumber).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CouponNumber == input.CouponNumber || + (this.CouponNumber != null && + this.CouponNumber.Equals(input.CouponNumber)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CouponNumber != null) + hashCode = hashCode * 59 + this.CouponNumber.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f87916532ed011ab9c75daa2602a46c074876ea7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionModifierCoupon.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier of the promotion. (required). + /// The unique identifier of the price derivation rule.  (required). + /// The unique identifier of the root eligibility. (required). + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), int? couponSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + // to ensure "couponSequenceNumber" is required (not null) + if (couponSequenceNumber == null) + { + throw new InvalidDataException("couponSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey and cannot be null"); + } + else + { + this.CouponSequenceNumber = couponSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + [DataMember(Name="couponSequenceNumber", EmitDefaultValue=false)] + public int? CouponSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" CouponSequenceNumber: ").Append(CouponSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.CouponSequenceNumber == input.CouponSequenceNumber || + (this.CouponSequenceNumber != null && + this.CouponSequenceNumber.Equals(input.CouponSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.CouponSequenceNumber != null) + hashCode = hashCode * 59 + this.CouponSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter.cs new file mode 100644 index 0000000000000000000000000000000000000000..bface0dee06103622f15f327f3a05e256ba94557 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionExternalActionParameter <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The parameter value (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey), string parameterValue = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "parameterValue" is required (not null) + if (parameterValue == null) + { + throw new InvalidDataException("parameterValue is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter and cannot be null"); + } + else + { + this.ParameterValue = parameterValue; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey Key { get; set; } + + /// + /// The parameter value + /// + /// The parameter value + [DataMember(Name="parameterValue", EmitDefaultValue=false)] + public string ParameterValue { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ParameterValue: ").Append(ParameterValue).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ParameterValue == input.ParameterValue || + (this.ParameterValue != null && + this.ParameterValue.Equals(input.ParameterValue)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ParameterValue != null) + hashCode = hashCode * 59 + this.ParameterValue.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..dde9bd864b26dfa15c8e7b5e4b93607db463e768 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionExternalActionParameter.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier of the promotion.  (required). + /// The unique identifier of the price derivation rule.   (required). + /// The unique identifier of the root eligibility. (required). + /// The parameter ident (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), string parameterID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + // to ensure "parameterID" is required (not null) + if (parameterID == null) + { + throw new InvalidDataException("parameterID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey and cannot be null"); + } + else + { + this.ParameterID = parameterID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier of the promotion.  + /// + /// The unique identifier of the promotion.  + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.   + /// + /// The unique identifier of the price derivation rule.   + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The parameter ident + /// + /// The parameter ident + [DataMember(Name="parameterID", EmitDefaultValue=false)] + public string ParameterID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" ParameterID: ").Append(ParameterID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.ParameterID == input.ParameterID || + (this.ParameterID != null && + this.ParameterID.Equals(input.ParameterID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.ParameterID != null) + hashCode = hashCode * 59 + this.ParameterID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText.cs new file mode 100644 index 0000000000000000000000000000000000000000..e9ca569c4a7a4306dfe78d0f84215287fdfc068e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionExternalActionText <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The text itself (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey), string text = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "text" is required (not null) + if (text == null) + { + throw new InvalidDataException("text is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText and cannot be null"); + } + else + { + this.Text = text; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey Key { get; set; } + + /// + /// The text itself + /// + /// The text itself + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2e7265b6146590b6cdbcbc22d0777e0a4df3d67b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey.cs @@ -0,0 +1,288 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionExternalActionText.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier of the promotion.  (required). + /// The unique identifier of the price derivation rule.   (required). + /// The unique identifier of the root eligibility. (required). + /// The text ident (required). + /// A combination of  ISO-639-1 and ISO-3661-1  to denote a lanuage as spoken in a particular country. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), string textID = default(string), string languageID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + // to ensure "textID" is required (not null) + if (textID == null) + { + throw new InvalidDataException("textID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey and cannot be null"); + } + else + { + this.TextID = textID; + } + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier of the promotion.  + /// + /// The unique identifier of the promotion.  + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.   + /// + /// The unique identifier of the price derivation rule.   + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The text ident + /// + /// The text ident + [DataMember(Name="textID", EmitDefaultValue=false)] + public string TextID { get; set; } + + /// + /// A combination of  ISO-639-1 and ISO-3661-1  to denote a lanuage as spoken in a particular country. + /// + /// A combination of  ISO-639-1 and ISO-3661-1  to denote a lanuage as spoken in a particular country. + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" TextID: ").Append(TextID).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.TextID == input.TextID || + (this.TextID != null && + this.TextID.Equals(input.TextID)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.TextID != null) + hashCode = hashCode * 59 + this.TextID.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule.cs new file mode 100644 index 0000000000000000000000000000000000000000..133241cf397edaa1ce8821a37da32469538bdc4a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule.cs @@ -0,0 +1,1152 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionPriceDerivationRule <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Short description of the promotion . + /// Text to be printed on the receipt . + /// Sequence - for collision handling . + /// Resolution - for collision handling . + /// The typecode of the promotion price derivation rule . + /// This type code defines the base for applying the condition and it defines the calculation time.. + /// A code denoting the method of modifying the price that is being applied to the transaction resp. line item . + /// Business description for this price derivation rule. . + /// The typecode of the originator of the promotion . + /// The external identifier of the promotion . + /// The external identifier of the price derivation rule . + /// The quantity of items fulfilling the eligibility which is required to be purchased to trigger the price derivation rule.  (required). + /// End of the date range in which the gift certificate is valid ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// Determines how the discount influences the transaction.. + /// Determines whether disocunt or frequent shopper points are awarded by the price derivation rule  (required). + /// The count of default loyalty points assigned to the customer group  (required). + /// Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt  (required). + /// A code which uniquely identifies the tender in case of rebate as tender.. + /// Promotion type name . + /// Defines the calculation base for transaction related discounts.. + /// Exchange rate for the conversion from points into local currency  (required). + /// Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true). (required). + /// Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only  (required). + /// The number of the printout coupon . + /// The type code of the printout rule.. + /// The formatted text of the printout coupon . + /// Determines whether this price derivation rule is an exclusive one  (required). + /// Determines whether an additional user interaction (pressing a button) is necessary in order to fulfill the eligibility for applying the price derivation rule  (required). + /// Indicates whether all price derivation rules which were applied before are to be considered (true) or not (false). (required). + /// Determines how this price derivation rule works in relation to other applicable price derivation rules . + /// Describes how often the current price derivation rule was applied  (required). + /// Describes how long (how many days) the printed coupon/gift certificate is valid  (required). + /// The ident of the action which is to be performed by the client which invoked the pricing engine. + /// The description of the action which is to be performed by the client which invoked the pricing engine. + /// The texts for the action which is to be performed by the client which invoked the pricing engine. + /// The parameters for the action which is to be performed by the client which invoked the pricing engine. + /// Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:- In case that no price derivation rules were applied before, it is the original price/total.- Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest. - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence <= CalculationBaseSequence (or the original price if no such price derivation rule was applied).. + /// Another external ident of the promotion.It is needed by/known to the retailer.. + /// The price type code of the additional price which got applied. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey), string promotionDescription = default(string), string receiptPrinterName = default(string), string promotionPriceDerivationRuleSequence = default(string), string promotionPriceDerivationRuleResolution = default(string), string promotionPriceDerivationRuleTypeCode = default(string), string transactionControlBreakCode = default(string), string priceModificationMethodCode = default(string), string priceDerivationRuleDescription = default(string), string promotionOriginatorTypeCode = default(string), string externalPromotionID = default(string), string externalPriceDerivationRuleID = default(string), double? triggerQuantity = default(double?), string giftCertificateExpirationDate = default(string), string discountMethodCode = default(string), bool? frequentShopperPointsFlag = default(bool?), double? customerGroupLoyaltyPointsDefaultQuantity = default(double?), bool? prohibitPrintFlag = default(bool?), string tenderTypeCode = default(string), string promotionTypeName = default(string), string calculationBase = default(string), double? pointsConversionAmount = default(double?), bool? noEffectOnSubsequentPriceDerivationRulesFlag = default(bool?), bool? prohibitTransactionRelatedPriceDerivationRulesFlag = default(bool?), string couponPrintoutID = default(string), string couponPrintoutRule = default(string), Object couponPrintoutText = default(Object), bool? exclusiveFlag = default(bool?), bool? requireUserInteractionFlag = default(bool?), bool? considerPreviousPriceDerivationRulesFlag = default(bool?), string concurrenceControlVector = default(string), double? appliedCount = default(double?), double? printoutValidityPeriod = default(double?), string externalActionID = default(string), string externalActionDescription = default(string), List externalActionTextList = default(List), List externalActionParameterList = default(List), string calculationBaseSequence = default(string), string externalOfferID = default(string), string additionalPriceTypeCode = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "triggerQuantity" is required (not null) + if (triggerQuantity == null) + { + throw new InvalidDataException("triggerQuantity is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.TriggerQuantity = triggerQuantity; + } + // to ensure "frequentShopperPointsFlag" is required (not null) + if (frequentShopperPointsFlag == null) + { + throw new InvalidDataException("frequentShopperPointsFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.FrequentShopperPointsFlag = frequentShopperPointsFlag; + } + // to ensure "customerGroupLoyaltyPointsDefaultQuantity" is required (not null) + if (customerGroupLoyaltyPointsDefaultQuantity == null) + { + throw new InvalidDataException("customerGroupLoyaltyPointsDefaultQuantity is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.CustomerGroupLoyaltyPointsDefaultQuantity = customerGroupLoyaltyPointsDefaultQuantity; + } + // to ensure "prohibitPrintFlag" is required (not null) + if (prohibitPrintFlag == null) + { + throw new InvalidDataException("prohibitPrintFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.ProhibitPrintFlag = prohibitPrintFlag; + } + // to ensure "pointsConversionAmount" is required (not null) + if (pointsConversionAmount == null) + { + throw new InvalidDataException("pointsConversionAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.PointsConversionAmount = pointsConversionAmount; + } + // to ensure "noEffectOnSubsequentPriceDerivationRulesFlag" is required (not null) + if (noEffectOnSubsequentPriceDerivationRulesFlag == null) + { + throw new InvalidDataException("noEffectOnSubsequentPriceDerivationRulesFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.NoEffectOnSubsequentPriceDerivationRulesFlag = noEffectOnSubsequentPriceDerivationRulesFlag; + } + // to ensure "prohibitTransactionRelatedPriceDerivationRulesFlag" is required (not null) + if (prohibitTransactionRelatedPriceDerivationRulesFlag == null) + { + throw new InvalidDataException("prohibitTransactionRelatedPriceDerivationRulesFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.ProhibitTransactionRelatedPriceDerivationRulesFlag = prohibitTransactionRelatedPriceDerivationRulesFlag; + } + // to ensure "exclusiveFlag" is required (not null) + if (exclusiveFlag == null) + { + throw new InvalidDataException("exclusiveFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.ExclusiveFlag = exclusiveFlag; + } + // to ensure "requireUserInteractionFlag" is required (not null) + if (requireUserInteractionFlag == null) + { + throw new InvalidDataException("requireUserInteractionFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.RequireUserInteractionFlag = requireUserInteractionFlag; + } + // to ensure "considerPreviousPriceDerivationRulesFlag" is required (not null) + if (considerPreviousPriceDerivationRulesFlag == null) + { + throw new InvalidDataException("considerPreviousPriceDerivationRulesFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.ConsiderPreviousPriceDerivationRulesFlag = considerPreviousPriceDerivationRulesFlag; + } + // to ensure "appliedCount" is required (not null) + if (appliedCount == null) + { + throw new InvalidDataException("appliedCount is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.AppliedCount = appliedCount; + } + // to ensure "printoutValidityPeriod" is required (not null) + if (printoutValidityPeriod == null) + { + throw new InvalidDataException("printoutValidityPeriod is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule and cannot be null"); + } + else + { + this.PrintoutValidityPeriod = printoutValidityPeriod; + } + this.PromotionDescription = promotionDescription; + this.ReceiptPrinterName = receiptPrinterName; + this.PromotionPriceDerivationRuleSequence = promotionPriceDerivationRuleSequence; + this.PromotionPriceDerivationRuleResolution = promotionPriceDerivationRuleResolution; + this.PromotionPriceDerivationRuleTypeCode = promotionPriceDerivationRuleTypeCode; + this.TransactionControlBreakCode = transactionControlBreakCode; + this.PriceModificationMethodCode = priceModificationMethodCode; + this.PriceDerivationRuleDescription = priceDerivationRuleDescription; + this.PromotionOriginatorTypeCode = promotionOriginatorTypeCode; + this.ExternalPromotionID = externalPromotionID; + this.ExternalPriceDerivationRuleID = externalPriceDerivationRuleID; + this.GiftCertificateExpirationDate = giftCertificateExpirationDate; + this.DiscountMethodCode = discountMethodCode; + this.TenderTypeCode = tenderTypeCode; + this.PromotionTypeName = promotionTypeName; + this.CalculationBase = calculationBase; + this.CouponPrintoutID = couponPrintoutID; + this.CouponPrintoutRule = couponPrintoutRule; + this.CouponPrintoutText = couponPrintoutText; + this.ConcurrenceControlVector = concurrenceControlVector; + this.ExternalActionID = externalActionID; + this.ExternalActionDescription = externalActionDescription; + this.ExternalActionTextList = externalActionTextList; + this.ExternalActionParameterList = externalActionParameterList; + this.CalculationBaseSequence = calculationBaseSequence; + this.ExternalOfferID = externalOfferID; + this.AdditionalPriceTypeCode = additionalPriceTypeCode; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey Key { get; set; } + + /// + /// Short description of the promotion  + /// + /// Short description of the promotion  + [DataMember(Name="promotionDescription", EmitDefaultValue=false)] + public string PromotionDescription { get; set; } + + /// + /// Text to be printed on the receipt  + /// + /// Text to be printed on the receipt  + [DataMember(Name="receiptPrinterName", EmitDefaultValue=false)] + public string ReceiptPrinterName { get; set; } + + /// + /// Sequence - for collision handling  + /// + /// Sequence - for collision handling  + [DataMember(Name="promotionPriceDerivationRuleSequence", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleSequence { get; set; } + + /// + /// Resolution - for collision handling  + /// + /// Resolution - for collision handling  + [DataMember(Name="promotionPriceDerivationRuleResolution", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleResolution { get; set; } + + /// + /// The typecode of the promotion price derivation rule  + /// + /// The typecode of the promotion price derivation rule  + [DataMember(Name="promotionPriceDerivationRuleTypeCode", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleTypeCode { get; set; } + + /// + /// This type code defines the base for applying the condition and it defines the calculation time. + /// + /// This type code defines the base for applying the condition and it defines the calculation time. + [DataMember(Name="transactionControlBreakCode", EmitDefaultValue=false)] + public string TransactionControlBreakCode { get; set; } + + /// + /// A code denoting the method of modifying the price that is being applied to the transaction resp. line item  + /// + /// A code denoting the method of modifying the price that is being applied to the transaction resp. line item  + [DataMember(Name="priceModificationMethodCode", EmitDefaultValue=false)] + public string PriceModificationMethodCode { get; set; } + + /// + /// Business description for this price derivation rule.  + /// + /// Business description for this price derivation rule.  + [DataMember(Name="priceDerivationRuleDescription", EmitDefaultValue=false)] + public string PriceDerivationRuleDescription { get; set; } + + /// + /// The typecode of the originator of the promotion  + /// + /// The typecode of the originator of the promotion  + [DataMember(Name="promotionOriginatorTypeCode", EmitDefaultValue=false)] + public string PromotionOriginatorTypeCode { get; set; } + + /// + /// The external identifier of the promotion  + /// + /// The external identifier of the promotion  + [DataMember(Name="externalPromotionID", EmitDefaultValue=false)] + public string ExternalPromotionID { get; set; } + + /// + /// The external identifier of the price derivation rule  + /// + /// The external identifier of the price derivation rule  + [DataMember(Name="externalPriceDerivationRuleID", EmitDefaultValue=false)] + public string ExternalPriceDerivationRuleID { get; set; } + + /// + /// The quantity of items fulfilling the eligibility which is required to be purchased to trigger the price derivation rule.  + /// + /// The quantity of items fulfilling the eligibility which is required to be purchased to trigger the price derivation rule.  + [DataMember(Name="triggerQuantity", EmitDefaultValue=false)] + public double? TriggerQuantity { get; set; } + + /// + /// End of the date range in which the gift certificate is valid ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// End of the date range in which the gift certificate is valid ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="giftCertificateExpirationDate", EmitDefaultValue=false)] + public string GiftCertificateExpirationDate { get; set; } + + /// + /// Determines how the discount influences the transaction. + /// + /// Determines how the discount influences the transaction. + [DataMember(Name="discountMethodCode", EmitDefaultValue=false)] + public string DiscountMethodCode { get; set; } + + /// + /// Determines whether disocunt or frequent shopper points are awarded by the price derivation rule  + /// + /// Determines whether disocunt or frequent shopper points are awarded by the price derivation rule  + [DataMember(Name="frequentShopperPointsFlag", EmitDefaultValue=false)] + public bool? FrequentShopperPointsFlag { get; set; } + + /// + /// The count of default loyalty points assigned to the customer group  + /// + /// The count of default loyalty points assigned to the customer group  + [DataMember(Name="customerGroupLoyaltyPointsDefaultQuantity", EmitDefaultValue=false)] + public double? CustomerGroupLoyaltyPointsDefaultQuantity { get; set; } + + /// + /// Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt  + /// + /// Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt  + [DataMember(Name="prohibitPrintFlag", EmitDefaultValue=false)] + public bool? ProhibitPrintFlag { get; set; } + + /// + /// A code which uniquely identifies the tender in case of rebate as tender. + /// + /// A code which uniquely identifies the tender in case of rebate as tender. + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Promotion type name  + /// + /// Promotion type name  + [DataMember(Name="promotionTypeName", EmitDefaultValue=false)] + public string PromotionTypeName { get; set; } + + /// + /// Defines the calculation base for transaction related discounts. + /// + /// Defines the calculation base for transaction related discounts. + [DataMember(Name="calculationBase", EmitDefaultValue=false)] + public string CalculationBase { get; set; } + + /// + /// Exchange rate for the conversion from points into local currency  + /// + /// Exchange rate for the conversion from points into local currency  + [DataMember(Name="pointsConversionAmount", EmitDefaultValue=false)] + public double? PointsConversionAmount { get; set; } + + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true). + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true). + [DataMember(Name="noEffectOnSubsequentPriceDerivationRulesFlag", EmitDefaultValue=false)] + public bool? NoEffectOnSubsequentPriceDerivationRulesFlag { get; set; } + + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only  + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only  + [DataMember(Name="prohibitTransactionRelatedPriceDerivationRulesFlag", EmitDefaultValue=false)] + public bool? ProhibitTransactionRelatedPriceDerivationRulesFlag { get; set; } + + /// + /// The number of the printout coupon  + /// + /// The number of the printout coupon  + [DataMember(Name="couponPrintoutID", EmitDefaultValue=false)] + public string CouponPrintoutID { get; set; } + + /// + /// The type code of the printout rule. + /// + /// The type code of the printout rule. + [DataMember(Name="couponPrintoutRule", EmitDefaultValue=false)] + public string CouponPrintoutRule { get; set; } + + /// + /// The formatted text of the printout coupon  + /// + /// The formatted text of the printout coupon  + [DataMember(Name="couponPrintoutText", EmitDefaultValue=false)] + public Object CouponPrintoutText { get; set; } + + /// + /// Determines whether this price derivation rule is an exclusive one  + /// + /// Determines whether this price derivation rule is an exclusive one  + [DataMember(Name="exclusiveFlag", EmitDefaultValue=false)] + public bool? ExclusiveFlag { get; set; } + + /// + /// Determines whether an additional user interaction (pressing a button) is necessary in order to fulfill the eligibility for applying the price derivation rule  + /// + /// Determines whether an additional user interaction (pressing a button) is necessary in order to fulfill the eligibility for applying the price derivation rule  + [DataMember(Name="requireUserInteractionFlag", EmitDefaultValue=false)] + public bool? RequireUserInteractionFlag { get; set; } + + /// + /// Indicates whether all price derivation rules which were applied before are to be considered (true) or not (false). + /// + /// Indicates whether all price derivation rules which were applied before are to be considered (true) or not (false). + [DataMember(Name="considerPreviousPriceDerivationRulesFlag", EmitDefaultValue=false)] + public bool? ConsiderPreviousPriceDerivationRulesFlag { get; set; } + + /// + /// Determines how this price derivation rule works in relation to other applicable price derivation rules  + /// + /// Determines how this price derivation rule works in relation to other applicable price derivation rules  + [DataMember(Name="concurrenceControlVector", EmitDefaultValue=false)] + public string ConcurrenceControlVector { get; set; } + + /// + /// Describes how often the current price derivation rule was applied  + /// + /// Describes how often the current price derivation rule was applied  + [DataMember(Name="appliedCount", EmitDefaultValue=false)] + public double? AppliedCount { get; set; } + + /// + /// Describes how long (how many days) the printed coupon/gift certificate is valid  + /// + /// Describes how long (how many days) the printed coupon/gift certificate is valid  + [DataMember(Name="printoutValidityPeriod", EmitDefaultValue=false)] + public double? PrintoutValidityPeriod { get; set; } + + /// + /// The ident of the action which is to be performed by the client which invoked the pricing engine + /// + /// The ident of the action which is to be performed by the client which invoked the pricing engine + [DataMember(Name="externalActionID", EmitDefaultValue=false)] + public string ExternalActionID { get; set; } + + /// + /// The description of the action which is to be performed by the client which invoked the pricing engine + /// + /// The description of the action which is to be performed by the client which invoked the pricing engine + [DataMember(Name="externalActionDescription", EmitDefaultValue=false)] + public string ExternalActionDescription { get; set; } + + /// + /// The texts for the action which is to be performed by the client which invoked the pricing engine + /// + /// The texts for the action which is to be performed by the client which invoked the pricing engine + [DataMember(Name="externalActionTextList", EmitDefaultValue=false)] + public List ExternalActionTextList { get; set; } + + /// + /// The parameters for the action which is to be performed by the client which invoked the pricing engine + /// + /// The parameters for the action which is to be performed by the client which invoked the pricing engine + [DataMember(Name="externalActionParameterList", EmitDefaultValue=false)] + public List ExternalActionParameterList { get; set; } + + /// + /// Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:- In case that no price derivation rules were applied before, it is the original price/total.- Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest. - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence <= CalculationBaseSequence (or the original price if no such price derivation rule was applied). + /// + /// Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:- In case that no price derivation rules were applied before, it is the original price/total.- Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest. - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence <= CalculationBaseSequence (or the original price if no such price derivation rule was applied). + [DataMember(Name="calculationBaseSequence", EmitDefaultValue=false)] + public string CalculationBaseSequence { get; set; } + + /// + /// Another external ident of the promotion.It is needed by/known to the retailer. + /// + /// Another external ident of the promotion.It is needed by/known to the retailer. + [DataMember(Name="externalOfferID", EmitDefaultValue=false)] + public string ExternalOfferID { get; set; } + + /// + /// The price type code of the additional price which got applied + /// + /// The price type code of the additional price which got applied + [DataMember(Name="additionalPriceTypeCode", EmitDefaultValue=false)] + public string AdditionalPriceTypeCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PromotionDescription: ").Append(PromotionDescription).Append("\n"); + sb.Append(" ReceiptPrinterName: ").Append(ReceiptPrinterName).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleSequence: ").Append(PromotionPriceDerivationRuleSequence).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleResolution: ").Append(PromotionPriceDerivationRuleResolution).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleTypeCode: ").Append(PromotionPriceDerivationRuleTypeCode).Append("\n"); + sb.Append(" TransactionControlBreakCode: ").Append(TransactionControlBreakCode).Append("\n"); + sb.Append(" PriceModificationMethodCode: ").Append(PriceModificationMethodCode).Append("\n"); + sb.Append(" PriceDerivationRuleDescription: ").Append(PriceDerivationRuleDescription).Append("\n"); + sb.Append(" PromotionOriginatorTypeCode: ").Append(PromotionOriginatorTypeCode).Append("\n"); + sb.Append(" ExternalPromotionID: ").Append(ExternalPromotionID).Append("\n"); + sb.Append(" ExternalPriceDerivationRuleID: ").Append(ExternalPriceDerivationRuleID).Append("\n"); + sb.Append(" TriggerQuantity: ").Append(TriggerQuantity).Append("\n"); + sb.Append(" GiftCertificateExpirationDate: ").Append(GiftCertificateExpirationDate).Append("\n"); + sb.Append(" DiscountMethodCode: ").Append(DiscountMethodCode).Append("\n"); + sb.Append(" FrequentShopperPointsFlag: ").Append(FrequentShopperPointsFlag).Append("\n"); + sb.Append(" CustomerGroupLoyaltyPointsDefaultQuantity: ").Append(CustomerGroupLoyaltyPointsDefaultQuantity).Append("\n"); + sb.Append(" ProhibitPrintFlag: ").Append(ProhibitPrintFlag).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" PromotionTypeName: ").Append(PromotionTypeName).Append("\n"); + sb.Append(" CalculationBase: ").Append(CalculationBase).Append("\n"); + sb.Append(" PointsConversionAmount: ").Append(PointsConversionAmount).Append("\n"); + sb.Append(" NoEffectOnSubsequentPriceDerivationRulesFlag: ").Append(NoEffectOnSubsequentPriceDerivationRulesFlag).Append("\n"); + sb.Append(" ProhibitTransactionRelatedPriceDerivationRulesFlag: ").Append(ProhibitTransactionRelatedPriceDerivationRulesFlag).Append("\n"); + sb.Append(" CouponPrintoutID: ").Append(CouponPrintoutID).Append("\n"); + sb.Append(" CouponPrintoutRule: ").Append(CouponPrintoutRule).Append("\n"); + sb.Append(" CouponPrintoutText: ").Append(CouponPrintoutText).Append("\n"); + sb.Append(" ExclusiveFlag: ").Append(ExclusiveFlag).Append("\n"); + sb.Append(" RequireUserInteractionFlag: ").Append(RequireUserInteractionFlag).Append("\n"); + sb.Append(" ConsiderPreviousPriceDerivationRulesFlag: ").Append(ConsiderPreviousPriceDerivationRulesFlag).Append("\n"); + sb.Append(" ConcurrenceControlVector: ").Append(ConcurrenceControlVector).Append("\n"); + sb.Append(" AppliedCount: ").Append(AppliedCount).Append("\n"); + sb.Append(" PrintoutValidityPeriod: ").Append(PrintoutValidityPeriod).Append("\n"); + sb.Append(" ExternalActionID: ").Append(ExternalActionID).Append("\n"); + sb.Append(" ExternalActionDescription: ").Append(ExternalActionDescription).Append("\n"); + sb.Append(" ExternalActionTextList: ").Append(ExternalActionTextList).Append("\n"); + sb.Append(" ExternalActionParameterList: ").Append(ExternalActionParameterList).Append("\n"); + sb.Append(" CalculationBaseSequence: ").Append(CalculationBaseSequence).Append("\n"); + sb.Append(" ExternalOfferID: ").Append(ExternalOfferID).Append("\n"); + sb.Append(" AdditionalPriceTypeCode: ").Append(AdditionalPriceTypeCode).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PromotionDescription == input.PromotionDescription || + (this.PromotionDescription != null && + this.PromotionDescription.Equals(input.PromotionDescription)) + ) && + ( + this.ReceiptPrinterName == input.ReceiptPrinterName || + (this.ReceiptPrinterName != null && + this.ReceiptPrinterName.Equals(input.ReceiptPrinterName)) + ) && + ( + this.PromotionPriceDerivationRuleSequence == input.PromotionPriceDerivationRuleSequence || + (this.PromotionPriceDerivationRuleSequence != null && + this.PromotionPriceDerivationRuleSequence.Equals(input.PromotionPriceDerivationRuleSequence)) + ) && + ( + this.PromotionPriceDerivationRuleResolution == input.PromotionPriceDerivationRuleResolution || + (this.PromotionPriceDerivationRuleResolution != null && + this.PromotionPriceDerivationRuleResolution.Equals(input.PromotionPriceDerivationRuleResolution)) + ) && + ( + this.PromotionPriceDerivationRuleTypeCode == input.PromotionPriceDerivationRuleTypeCode || + (this.PromotionPriceDerivationRuleTypeCode != null && + this.PromotionPriceDerivationRuleTypeCode.Equals(input.PromotionPriceDerivationRuleTypeCode)) + ) && + ( + this.TransactionControlBreakCode == input.TransactionControlBreakCode || + (this.TransactionControlBreakCode != null && + this.TransactionControlBreakCode.Equals(input.TransactionControlBreakCode)) + ) && + ( + this.PriceModificationMethodCode == input.PriceModificationMethodCode || + (this.PriceModificationMethodCode != null && + this.PriceModificationMethodCode.Equals(input.PriceModificationMethodCode)) + ) && + ( + this.PriceDerivationRuleDescription == input.PriceDerivationRuleDescription || + (this.PriceDerivationRuleDescription != null && + this.PriceDerivationRuleDescription.Equals(input.PriceDerivationRuleDescription)) + ) && + ( + this.PromotionOriginatorTypeCode == input.PromotionOriginatorTypeCode || + (this.PromotionOriginatorTypeCode != null && + this.PromotionOriginatorTypeCode.Equals(input.PromotionOriginatorTypeCode)) + ) && + ( + this.ExternalPromotionID == input.ExternalPromotionID || + (this.ExternalPromotionID != null && + this.ExternalPromotionID.Equals(input.ExternalPromotionID)) + ) && + ( + this.ExternalPriceDerivationRuleID == input.ExternalPriceDerivationRuleID || + (this.ExternalPriceDerivationRuleID != null && + this.ExternalPriceDerivationRuleID.Equals(input.ExternalPriceDerivationRuleID)) + ) && + ( + this.TriggerQuantity == input.TriggerQuantity || + (this.TriggerQuantity != null && + this.TriggerQuantity.Equals(input.TriggerQuantity)) + ) && + ( + this.GiftCertificateExpirationDate == input.GiftCertificateExpirationDate || + (this.GiftCertificateExpirationDate != null && + this.GiftCertificateExpirationDate.Equals(input.GiftCertificateExpirationDate)) + ) && + ( + this.DiscountMethodCode == input.DiscountMethodCode || + (this.DiscountMethodCode != null && + this.DiscountMethodCode.Equals(input.DiscountMethodCode)) + ) && + ( + this.FrequentShopperPointsFlag == input.FrequentShopperPointsFlag || + (this.FrequentShopperPointsFlag != null && + this.FrequentShopperPointsFlag.Equals(input.FrequentShopperPointsFlag)) + ) && + ( + this.CustomerGroupLoyaltyPointsDefaultQuantity == input.CustomerGroupLoyaltyPointsDefaultQuantity || + (this.CustomerGroupLoyaltyPointsDefaultQuantity != null && + this.CustomerGroupLoyaltyPointsDefaultQuantity.Equals(input.CustomerGroupLoyaltyPointsDefaultQuantity)) + ) && + ( + this.ProhibitPrintFlag == input.ProhibitPrintFlag || + (this.ProhibitPrintFlag != null && + this.ProhibitPrintFlag.Equals(input.ProhibitPrintFlag)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.PromotionTypeName == input.PromotionTypeName || + (this.PromotionTypeName != null && + this.PromotionTypeName.Equals(input.PromotionTypeName)) + ) && + ( + this.CalculationBase == input.CalculationBase || + (this.CalculationBase != null && + this.CalculationBase.Equals(input.CalculationBase)) + ) && + ( + this.PointsConversionAmount == input.PointsConversionAmount || + (this.PointsConversionAmount != null && + this.PointsConversionAmount.Equals(input.PointsConversionAmount)) + ) && + ( + this.NoEffectOnSubsequentPriceDerivationRulesFlag == input.NoEffectOnSubsequentPriceDerivationRulesFlag || + (this.NoEffectOnSubsequentPriceDerivationRulesFlag != null && + this.NoEffectOnSubsequentPriceDerivationRulesFlag.Equals(input.NoEffectOnSubsequentPriceDerivationRulesFlag)) + ) && + ( + this.ProhibitTransactionRelatedPriceDerivationRulesFlag == input.ProhibitTransactionRelatedPriceDerivationRulesFlag || + (this.ProhibitTransactionRelatedPriceDerivationRulesFlag != null && + this.ProhibitTransactionRelatedPriceDerivationRulesFlag.Equals(input.ProhibitTransactionRelatedPriceDerivationRulesFlag)) + ) && + ( + this.CouponPrintoutID == input.CouponPrintoutID || + (this.CouponPrintoutID != null && + this.CouponPrintoutID.Equals(input.CouponPrintoutID)) + ) && + ( + this.CouponPrintoutRule == input.CouponPrintoutRule || + (this.CouponPrintoutRule != null && + this.CouponPrintoutRule.Equals(input.CouponPrintoutRule)) + ) && + ( + this.CouponPrintoutText == input.CouponPrintoutText || + (this.CouponPrintoutText != null && + this.CouponPrintoutText.Equals(input.CouponPrintoutText)) + ) && + ( + this.ExclusiveFlag == input.ExclusiveFlag || + (this.ExclusiveFlag != null && + this.ExclusiveFlag.Equals(input.ExclusiveFlag)) + ) && + ( + this.RequireUserInteractionFlag == input.RequireUserInteractionFlag || + (this.RequireUserInteractionFlag != null && + this.RequireUserInteractionFlag.Equals(input.RequireUserInteractionFlag)) + ) && + ( + this.ConsiderPreviousPriceDerivationRulesFlag == input.ConsiderPreviousPriceDerivationRulesFlag || + (this.ConsiderPreviousPriceDerivationRulesFlag != null && + this.ConsiderPreviousPriceDerivationRulesFlag.Equals(input.ConsiderPreviousPriceDerivationRulesFlag)) + ) && + ( + this.ConcurrenceControlVector == input.ConcurrenceControlVector || + (this.ConcurrenceControlVector != null && + this.ConcurrenceControlVector.Equals(input.ConcurrenceControlVector)) + ) && + ( + this.AppliedCount == input.AppliedCount || + (this.AppliedCount != null && + this.AppliedCount.Equals(input.AppliedCount)) + ) && + ( + this.PrintoutValidityPeriod == input.PrintoutValidityPeriod || + (this.PrintoutValidityPeriod != null && + this.PrintoutValidityPeriod.Equals(input.PrintoutValidityPeriod)) + ) && + ( + this.ExternalActionID == input.ExternalActionID || + (this.ExternalActionID != null && + this.ExternalActionID.Equals(input.ExternalActionID)) + ) && + ( + this.ExternalActionDescription == input.ExternalActionDescription || + (this.ExternalActionDescription != null && + this.ExternalActionDescription.Equals(input.ExternalActionDescription)) + ) && + ( + this.ExternalActionTextList == input.ExternalActionTextList || + this.ExternalActionTextList != null && + this.ExternalActionTextList.SequenceEqual(input.ExternalActionTextList) + ) && + ( + this.ExternalActionParameterList == input.ExternalActionParameterList || + this.ExternalActionParameterList != null && + this.ExternalActionParameterList.SequenceEqual(input.ExternalActionParameterList) + ) && + ( + this.CalculationBaseSequence == input.CalculationBaseSequence || + (this.CalculationBaseSequence != null && + this.CalculationBaseSequence.Equals(input.CalculationBaseSequence)) + ) && + ( + this.ExternalOfferID == input.ExternalOfferID || + (this.ExternalOfferID != null && + this.ExternalOfferID.Equals(input.ExternalOfferID)) + ) && + ( + this.AdditionalPriceTypeCode == input.AdditionalPriceTypeCode || + (this.AdditionalPriceTypeCode != null && + this.AdditionalPriceTypeCode.Equals(input.AdditionalPriceTypeCode)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PromotionDescription != null) + hashCode = hashCode * 59 + this.PromotionDescription.GetHashCode(); + if (this.ReceiptPrinterName != null) + hashCode = hashCode * 59 + this.ReceiptPrinterName.GetHashCode(); + if (this.PromotionPriceDerivationRuleSequence != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleSequence.GetHashCode(); + if (this.PromotionPriceDerivationRuleResolution != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleResolution.GetHashCode(); + if (this.PromotionPriceDerivationRuleTypeCode != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleTypeCode.GetHashCode(); + if (this.TransactionControlBreakCode != null) + hashCode = hashCode * 59 + this.TransactionControlBreakCode.GetHashCode(); + if (this.PriceModificationMethodCode != null) + hashCode = hashCode * 59 + this.PriceModificationMethodCode.GetHashCode(); + if (this.PriceDerivationRuleDescription != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleDescription.GetHashCode(); + if (this.PromotionOriginatorTypeCode != null) + hashCode = hashCode * 59 + this.PromotionOriginatorTypeCode.GetHashCode(); + if (this.ExternalPromotionID != null) + hashCode = hashCode * 59 + this.ExternalPromotionID.GetHashCode(); + if (this.ExternalPriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.ExternalPriceDerivationRuleID.GetHashCode(); + if (this.TriggerQuantity != null) + hashCode = hashCode * 59 + this.TriggerQuantity.GetHashCode(); + if (this.GiftCertificateExpirationDate != null) + hashCode = hashCode * 59 + this.GiftCertificateExpirationDate.GetHashCode(); + if (this.DiscountMethodCode != null) + hashCode = hashCode * 59 + this.DiscountMethodCode.GetHashCode(); + if (this.FrequentShopperPointsFlag != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsFlag.GetHashCode(); + if (this.CustomerGroupLoyaltyPointsDefaultQuantity != null) + hashCode = hashCode * 59 + this.CustomerGroupLoyaltyPointsDefaultQuantity.GetHashCode(); + if (this.ProhibitPrintFlag != null) + hashCode = hashCode * 59 + this.ProhibitPrintFlag.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.PromotionTypeName != null) + hashCode = hashCode * 59 + this.PromotionTypeName.GetHashCode(); + if (this.CalculationBase != null) + hashCode = hashCode * 59 + this.CalculationBase.GetHashCode(); + if (this.PointsConversionAmount != null) + hashCode = hashCode * 59 + this.PointsConversionAmount.GetHashCode(); + if (this.NoEffectOnSubsequentPriceDerivationRulesFlag != null) + hashCode = hashCode * 59 + this.NoEffectOnSubsequentPriceDerivationRulesFlag.GetHashCode(); + if (this.ProhibitTransactionRelatedPriceDerivationRulesFlag != null) + hashCode = hashCode * 59 + this.ProhibitTransactionRelatedPriceDerivationRulesFlag.GetHashCode(); + if (this.CouponPrintoutID != null) + hashCode = hashCode * 59 + this.CouponPrintoutID.GetHashCode(); + if (this.CouponPrintoutRule != null) + hashCode = hashCode * 59 + this.CouponPrintoutRule.GetHashCode(); + if (this.CouponPrintoutText != null) + hashCode = hashCode * 59 + this.CouponPrintoutText.GetHashCode(); + if (this.ExclusiveFlag != null) + hashCode = hashCode * 59 + this.ExclusiveFlag.GetHashCode(); + if (this.RequireUserInteractionFlag != null) + hashCode = hashCode * 59 + this.RequireUserInteractionFlag.GetHashCode(); + if (this.ConsiderPreviousPriceDerivationRulesFlag != null) + hashCode = hashCode * 59 + this.ConsiderPreviousPriceDerivationRulesFlag.GetHashCode(); + if (this.ConcurrenceControlVector != null) + hashCode = hashCode * 59 + this.ConcurrenceControlVector.GetHashCode(); + if (this.AppliedCount != null) + hashCode = hashCode * 59 + this.AppliedCount.GetHashCode(); + if (this.PrintoutValidityPeriod != null) + hashCode = hashCode * 59 + this.PrintoutValidityPeriod.GetHashCode(); + if (this.ExternalActionID != null) + hashCode = hashCode * 59 + this.ExternalActionID.GetHashCode(); + if (this.ExternalActionDescription != null) + hashCode = hashCode * 59 + this.ExternalActionDescription.GetHashCode(); + if (this.ExternalActionTextList != null) + hashCode = hashCode * 59 + this.ExternalActionTextList.GetHashCode(); + if (this.ExternalActionParameterList != null) + hashCode = hashCode * 59 + this.ExternalActionParameterList.GetHashCode(); + if (this.CalculationBaseSequence != null) + hashCode = hashCode * 59 + this.CalculationBaseSequence.GetHashCode(); + if (this.ExternalOfferID != null) + hashCode = hashCode * 59 + this.ExternalOfferID.GetHashCode(); + if (this.AdditionalPriceTypeCode != null) + hashCode = hashCode * 59 + this.AdditionalPriceTypeCode.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..81ba15bd076a7ed15de3c4291b97e40d039c6666 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionPriceDerivationRule.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier of the promotion.  (required). + /// The unique identifier of the price derivation rule.   (required). + /// The unique identifier of the root eligibility. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier of the promotion.  + /// + /// The unique identifier of the promotion.  + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.   + /// + /// The unique identifier of the price derivation rule.   + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation.cs new file mode 100644 index 0000000000000000000000000000000000000000..98def465d72639fbec6e661dd6511b3135156240 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation.cs @@ -0,0 +1,824 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendation <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The external identifier of the promotion (required). + /// Defines the type of price derivation rule. (required). + /// This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME). (required). + /// Sequence - for collision handling (required). + /// Resolution - for collision handling (required). + /// The list of eligibilities of the promotion being recommended for the transaction which are satisfied already. + /// The list of eligibilities of the promotion being recommended for the transaction which have not been fulfilled yet. + /// The list of benefits from the promotion being recommended for the transaction. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey), string externalPromotionID = default(string), string ruleTypeCode = default(string), string transactionControlBreakCode = default(string), string promotionPriceDerivationRuleSequence = default(string), string promotionPriceDerivationRuleResolution = default(string), List retailTransactionPromotionRecommendationFulfilledTriggerList = default(List), List retailTransactionPromotionRecommendationMissingTriggerList = default(List), List retailTransactionPromotionRecommendationBenefitList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "externalPromotionID" is required (not null) + if (externalPromotionID == null) + { + throw new InvalidDataException("externalPromotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation and cannot be null"); + } + else + { + this.ExternalPromotionID = externalPromotionID; + } + // to ensure "ruleTypeCode" is required (not null) + if (ruleTypeCode == null) + { + throw new InvalidDataException("ruleTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation and cannot be null"); + } + else + { + this.RuleTypeCode = ruleTypeCode; + } + // to ensure "transactionControlBreakCode" is required (not null) + if (transactionControlBreakCode == null) + { + throw new InvalidDataException("transactionControlBreakCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation and cannot be null"); + } + else + { + this.TransactionControlBreakCode = transactionControlBreakCode; + } + // to ensure "promotionPriceDerivationRuleSequence" is required (not null) + if (promotionPriceDerivationRuleSequence == null) + { + throw new InvalidDataException("promotionPriceDerivationRuleSequence is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation and cannot be null"); + } + else + { + this.PromotionPriceDerivationRuleSequence = promotionPriceDerivationRuleSequence; + } + // to ensure "promotionPriceDerivationRuleResolution" is required (not null) + if (promotionPriceDerivationRuleResolution == null) + { + throw new InvalidDataException("promotionPriceDerivationRuleResolution is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation and cannot be null"); + } + else + { + this.PromotionPriceDerivationRuleResolution = promotionPriceDerivationRuleResolution; + } + this.RetailTransactionPromotionRecommendationFulfilledTriggerList = retailTransactionPromotionRecommendationFulfilledTriggerList; + this.RetailTransactionPromotionRecommendationMissingTriggerList = retailTransactionPromotionRecommendationMissingTriggerList; + this.RetailTransactionPromotionRecommendationBenefitList = retailTransactionPromotionRecommendationBenefitList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey Key { get; set; } + + /// + /// The external identifier of the promotion + /// + /// The external identifier of the promotion + [DataMember(Name="externalPromotionID", EmitDefaultValue=false)] + public string ExternalPromotionID { get; set; } + + /// + /// Defines the type of price derivation rule. + /// + /// Defines the type of price derivation rule. + [DataMember(Name="ruleTypeCode", EmitDefaultValue=false)] + public string RuleTypeCode { get; set; } + + /// + /// This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME). + /// + /// This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME). + [DataMember(Name="transactionControlBreakCode", EmitDefaultValue=false)] + public string TransactionControlBreakCode { get; set; } + + /// + /// Sequence - for collision handling + /// + /// Sequence - for collision handling + [DataMember(Name="promotionPriceDerivationRuleSequence", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleSequence { get; set; } + + /// + /// Resolution - for collision handling + /// + /// Resolution - for collision handling + [DataMember(Name="promotionPriceDerivationRuleResolution", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleResolution { get; set; } + + /// + /// The list of eligibilities of the promotion being recommended for the transaction which are satisfied already + /// + /// The list of eligibilities of the promotion being recommended for the transaction which are satisfied already + [DataMember(Name="retailTransactionPromotionRecommendationFulfilledTriggerList", EmitDefaultValue=false)] + public List RetailTransactionPromotionRecommendationFulfilledTriggerList { get; set; } + + /// + /// The list of eligibilities of the promotion being recommended for the transaction which have not been fulfilled yet + /// + /// The list of eligibilities of the promotion being recommended for the transaction which have not been fulfilled yet + [DataMember(Name="retailTransactionPromotionRecommendationMissingTriggerList", EmitDefaultValue=false)] + public List RetailTransactionPromotionRecommendationMissingTriggerList { get; set; } + + /// + /// The list of benefits from the promotion being recommended for the transaction + /// + /// The list of benefits from the promotion being recommended for the transaction + [DataMember(Name="retailTransactionPromotionRecommendationBenefitList", EmitDefaultValue=false)] + public List RetailTransactionPromotionRecommendationBenefitList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ExternalPromotionID: ").Append(ExternalPromotionID).Append("\n"); + sb.Append(" RuleTypeCode: ").Append(RuleTypeCode).Append("\n"); + sb.Append(" TransactionControlBreakCode: ").Append(TransactionControlBreakCode).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleSequence: ").Append(PromotionPriceDerivationRuleSequence).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleResolution: ").Append(PromotionPriceDerivationRuleResolution).Append("\n"); + sb.Append(" RetailTransactionPromotionRecommendationFulfilledTriggerList: ").Append(RetailTransactionPromotionRecommendationFulfilledTriggerList).Append("\n"); + sb.Append(" RetailTransactionPromotionRecommendationMissingTriggerList: ").Append(RetailTransactionPromotionRecommendationMissingTriggerList).Append("\n"); + sb.Append(" RetailTransactionPromotionRecommendationBenefitList: ").Append(RetailTransactionPromotionRecommendationBenefitList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ExternalPromotionID == input.ExternalPromotionID || + (this.ExternalPromotionID != null && + this.ExternalPromotionID.Equals(input.ExternalPromotionID)) + ) && + ( + this.RuleTypeCode == input.RuleTypeCode || + (this.RuleTypeCode != null && + this.RuleTypeCode.Equals(input.RuleTypeCode)) + ) && + ( + this.TransactionControlBreakCode == input.TransactionControlBreakCode || + (this.TransactionControlBreakCode != null && + this.TransactionControlBreakCode.Equals(input.TransactionControlBreakCode)) + ) && + ( + this.PromotionPriceDerivationRuleSequence == input.PromotionPriceDerivationRuleSequence || + (this.PromotionPriceDerivationRuleSequence != null && + this.PromotionPriceDerivationRuleSequence.Equals(input.PromotionPriceDerivationRuleSequence)) + ) && + ( + this.PromotionPriceDerivationRuleResolution == input.PromotionPriceDerivationRuleResolution || + (this.PromotionPriceDerivationRuleResolution != null && + this.PromotionPriceDerivationRuleResolution.Equals(input.PromotionPriceDerivationRuleResolution)) + ) && + ( + this.RetailTransactionPromotionRecommendationFulfilledTriggerList == input.RetailTransactionPromotionRecommendationFulfilledTriggerList || + this.RetailTransactionPromotionRecommendationFulfilledTriggerList != null && + this.RetailTransactionPromotionRecommendationFulfilledTriggerList.SequenceEqual(input.RetailTransactionPromotionRecommendationFulfilledTriggerList) + ) && + ( + this.RetailTransactionPromotionRecommendationMissingTriggerList == input.RetailTransactionPromotionRecommendationMissingTriggerList || + this.RetailTransactionPromotionRecommendationMissingTriggerList != null && + this.RetailTransactionPromotionRecommendationMissingTriggerList.SequenceEqual(input.RetailTransactionPromotionRecommendationMissingTriggerList) + ) && + ( + this.RetailTransactionPromotionRecommendationBenefitList == input.RetailTransactionPromotionRecommendationBenefitList || + this.RetailTransactionPromotionRecommendationBenefitList != null && + this.RetailTransactionPromotionRecommendationBenefitList.SequenceEqual(input.RetailTransactionPromotionRecommendationBenefitList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ExternalPromotionID != null) + hashCode = hashCode * 59 + this.ExternalPromotionID.GetHashCode(); + if (this.RuleTypeCode != null) + hashCode = hashCode * 59 + this.RuleTypeCode.GetHashCode(); + if (this.TransactionControlBreakCode != null) + hashCode = hashCode * 59 + this.TransactionControlBreakCode.GetHashCode(); + if (this.PromotionPriceDerivationRuleSequence != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleSequence.GetHashCode(); + if (this.PromotionPriceDerivationRuleResolution != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleResolution.GetHashCode(); + if (this.RetailTransactionPromotionRecommendationFulfilledTriggerList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionRecommendationFulfilledTriggerList.GetHashCode(); + if (this.RetailTransactionPromotionRecommendationMissingTriggerList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionRecommendationMissingTriggerList.GetHashCode(); + if (this.RetailTransactionPromotionRecommendationBenefitList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionRecommendationBenefitList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit.cs new file mode 100644 index 0000000000000000000000000000000000000000..36c1539af5ef22c35eeeb1bf55a5046e90172d63 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit.cs @@ -0,0 +1,826 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationBenefit <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The rule matching item id of the recommended promotion. Only relevant in case of mix and match, otherwise null.. + /// The type of the recommended promotion's benefit. (required). + /// A code that indicates the type of the matching item or bonus item. This is filled only in case of mix&amp;match and additional bonus.. + /// The matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus.. + /// The qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus.. + /// A code denoting the method of modifying the price that is being applied. + /// The price modification value. It is interpreted according to the PriceModificationMethodCode.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// Defines in case of BuyNGetM, how many items out of the triggering items within a single interval are taken into account for the calculation base. This parameter is used for subsequent discount as well.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// The count of that mix &amp; match item which is needed in the context of the mix &amp; match rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// An additional qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey), string matchingItemID = default(string), string benefitTypeCode = default(string), string priceDerivationItemTypeCode = default(string), string priceDerivationItemID = default(string), string priceDerivationItemIDQualifier = default(string), string priceModificationMethodCode = default(string), double? priceModificationValue = default(double?), double? toBeDiscountedQuantity = default(double?), double? matchingItemRequiredQuantity = default(double?), string priceDerivationItemIDQualifier2 = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "benefitTypeCode" is required (not null) + if (benefitTypeCode == null) + { + throw new InvalidDataException("benefitTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit and cannot be null"); + } + else + { + this.BenefitTypeCode = benefitTypeCode; + } + this.MatchingItemID = matchingItemID; + this.PriceDerivationItemTypeCode = priceDerivationItemTypeCode; + this.PriceDerivationItemID = priceDerivationItemID; + this.PriceDerivationItemIDQualifier = priceDerivationItemIDQualifier; + this.PriceModificationMethodCode = priceModificationMethodCode; + this.PriceModificationValue = priceModificationValue; + this.ToBeDiscountedQuantity = toBeDiscountedQuantity; + this.MatchingItemRequiredQuantity = matchingItemRequiredQuantity; + this.PriceDerivationItemIDQualifier2 = priceDerivationItemIDQualifier2; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey Key { get; set; } + + /// + /// The rule matching item id of the recommended promotion. Only relevant in case of mix and match, otherwise null. + /// + /// The rule matching item id of the recommended promotion. Only relevant in case of mix and match, otherwise null. + [DataMember(Name="matchingItemID", EmitDefaultValue=false)] + public string MatchingItemID { get; set; } + + /// + /// The type of the recommended promotion's benefit. + /// + /// The type of the recommended promotion's benefit. + [DataMember(Name="benefitTypeCode", EmitDefaultValue=false)] + public string BenefitTypeCode { get; set; } + + /// + /// A code that indicates the type of the matching item or bonus item. This is filled only in case of mix&amp;match and additional bonus. + /// + /// A code that indicates the type of the matching item or bonus item. This is filled only in case of mix&amp;match and additional bonus. + [DataMember(Name="priceDerivationItemTypeCode", EmitDefaultValue=false)] + public string PriceDerivationItemTypeCode { get; set; } + + /// + /// The matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + /// + /// The matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + [DataMember(Name="priceDerivationItemID", EmitDefaultValue=false)] + public string PriceDerivationItemID { get; set; } + + /// + /// The qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + /// + /// The qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + [DataMember(Name="priceDerivationItemIDQualifier", EmitDefaultValue=false)] + public string PriceDerivationItemIDQualifier { get; set; } + + /// + /// A code denoting the method of modifying the price that is being applied + /// + /// A code denoting the method of modifying the price that is being applied + [DataMember(Name="priceModificationMethodCode", EmitDefaultValue=false)] + public string PriceModificationMethodCode { get; set; } + + /// + /// The price modification value. It is interpreted according to the PriceModificationMethodCode.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The price modification value. It is interpreted according to the PriceModificationMethodCode.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="priceModificationValue", EmitDefaultValue=false)] + public double? PriceModificationValue { get; set; } + + /// + /// Defines in case of BuyNGetM, how many items out of the triggering items within a single interval are taken into account for the calculation base. This parameter is used for subsequent discount as well.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// Defines in case of BuyNGetM, how many items out of the triggering items within a single interval are taken into account for the calculation base. This parameter is used for subsequent discount as well.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="toBeDiscountedQuantity", EmitDefaultValue=false)] + public double? ToBeDiscountedQuantity { get; set; } + + /// + /// The count of that mix &amp; match item which is needed in the context of the mix &amp; match rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The count of that mix &amp; match item which is needed in the context of the mix &amp; match rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="matchingItemRequiredQuantity", EmitDefaultValue=false)] + public double? MatchingItemRequiredQuantity { get; set; } + + /// + /// An additional qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus.  + /// + /// An additional qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus.  + [DataMember(Name="priceDerivationItemIDQualifier2", EmitDefaultValue=false)] + public string PriceDerivationItemIDQualifier2 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" MatchingItemID: ").Append(MatchingItemID).Append("\n"); + sb.Append(" BenefitTypeCode: ").Append(BenefitTypeCode).Append("\n"); + sb.Append(" PriceDerivationItemTypeCode: ").Append(PriceDerivationItemTypeCode).Append("\n"); + sb.Append(" PriceDerivationItemID: ").Append(PriceDerivationItemID).Append("\n"); + sb.Append(" PriceDerivationItemIDQualifier: ").Append(PriceDerivationItemIDQualifier).Append("\n"); + sb.Append(" PriceModificationMethodCode: ").Append(PriceModificationMethodCode).Append("\n"); + sb.Append(" PriceModificationValue: ").Append(PriceModificationValue).Append("\n"); + sb.Append(" ToBeDiscountedQuantity: ").Append(ToBeDiscountedQuantity).Append("\n"); + sb.Append(" MatchingItemRequiredQuantity: ").Append(MatchingItemRequiredQuantity).Append("\n"); + sb.Append(" PriceDerivationItemIDQualifier2: ").Append(PriceDerivationItemIDQualifier2).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.MatchingItemID == input.MatchingItemID || + (this.MatchingItemID != null && + this.MatchingItemID.Equals(input.MatchingItemID)) + ) && + ( + this.BenefitTypeCode == input.BenefitTypeCode || + (this.BenefitTypeCode != null && + this.BenefitTypeCode.Equals(input.BenefitTypeCode)) + ) && + ( + this.PriceDerivationItemTypeCode == input.PriceDerivationItemTypeCode || + (this.PriceDerivationItemTypeCode != null && + this.PriceDerivationItemTypeCode.Equals(input.PriceDerivationItemTypeCode)) + ) && + ( + this.PriceDerivationItemID == input.PriceDerivationItemID || + (this.PriceDerivationItemID != null && + this.PriceDerivationItemID.Equals(input.PriceDerivationItemID)) + ) && + ( + this.PriceDerivationItemIDQualifier == input.PriceDerivationItemIDQualifier || + (this.PriceDerivationItemIDQualifier != null && + this.PriceDerivationItemIDQualifier.Equals(input.PriceDerivationItemIDQualifier)) + ) && + ( + this.PriceModificationMethodCode == input.PriceModificationMethodCode || + (this.PriceModificationMethodCode != null && + this.PriceModificationMethodCode.Equals(input.PriceModificationMethodCode)) + ) && + ( + this.PriceModificationValue == input.PriceModificationValue || + (this.PriceModificationValue != null && + this.PriceModificationValue.Equals(input.PriceModificationValue)) + ) && + ( + this.ToBeDiscountedQuantity == input.ToBeDiscountedQuantity || + (this.ToBeDiscountedQuantity != null && + this.ToBeDiscountedQuantity.Equals(input.ToBeDiscountedQuantity)) + ) && + ( + this.MatchingItemRequiredQuantity == input.MatchingItemRequiredQuantity || + (this.MatchingItemRequiredQuantity != null && + this.MatchingItemRequiredQuantity.Equals(input.MatchingItemRequiredQuantity)) + ) && + ( + this.PriceDerivationItemIDQualifier2 == input.PriceDerivationItemIDQualifier2 || + (this.PriceDerivationItemIDQualifier2 != null && + this.PriceDerivationItemIDQualifier2.Equals(input.PriceDerivationItemIDQualifier2)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.MatchingItemID != null) + hashCode = hashCode * 59 + this.MatchingItemID.GetHashCode(); + if (this.BenefitTypeCode != null) + hashCode = hashCode * 59 + this.BenefitTypeCode.GetHashCode(); + if (this.PriceDerivationItemTypeCode != null) + hashCode = hashCode * 59 + this.PriceDerivationItemTypeCode.GetHashCode(); + if (this.PriceDerivationItemID != null) + hashCode = hashCode * 59 + this.PriceDerivationItemID.GetHashCode(); + if (this.PriceDerivationItemIDQualifier != null) + hashCode = hashCode * 59 + this.PriceDerivationItemIDQualifier.GetHashCode(); + if (this.PriceModificationMethodCode != null) + hashCode = hashCode * 59 + this.PriceModificationMethodCode.GetHashCode(); + if (this.PriceModificationValue != null) + hashCode = hashCode * 59 + this.PriceModificationValue.GetHashCode(); + if (this.ToBeDiscountedQuantity != null) + hashCode = hashCode * 59 + this.ToBeDiscountedQuantity.GetHashCode(); + if (this.MatchingItemRequiredQuantity != null) + hashCode = hashCode * 59 + this.MatchingItemRequiredQuantity.GetHashCode(); + if (this.PriceDerivationItemIDQualifier2 != null) + hashCode = hashCode * 59 + this.PriceDerivationItemIDQualifier2.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b05e0e2cf3b2fc25d03e7e73b6df002f42ffe51b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationBenefit.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the promotion. (required). + /// The unique identifier for the price derivation rule. (required). + /// The unique identifier for the root price derivation rule eligibility. (required). + /// The sequence number of the benefit item. This ensures the unique identification in case of mix&amp;match as well as for subsequent discounts. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string rootPriceDerivationRuleEligibilityID = default(string), int? sequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "rootPriceDerivationRuleEligibilityID" is required (not null) + if (rootPriceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("rootPriceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey and cannot be null"); + } + else + { + this.RootPriceDerivationRuleEligibilityID = rootPriceDerivationRuleEligibilityID; + } + // to ensure "sequenceNumber" is required (not null) + if (sequenceNumber == null) + { + throw new InvalidDataException("sequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey and cannot be null"); + } + else + { + this.SequenceNumber = sequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + [DataMember(Name="rootPriceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string RootPriceDerivationRuleEligibilityID { get; set; } + + /// + /// The sequence number of the benefit item. This ensures the unique identification in case of mix&amp;match as well as for subsequent discounts. + /// + /// The sequence number of the benefit item. This ensures the unique identification in case of mix&amp;match as well as for subsequent discounts. + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" RootPriceDerivationRuleEligibilityID: ").Append(RootPriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.RootPriceDerivationRuleEligibilityID == input.RootPriceDerivationRuleEligibilityID || + (this.RootPriceDerivationRuleEligibilityID != null && + this.RootPriceDerivationRuleEligibilityID.Equals(input.RootPriceDerivationRuleEligibilityID)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.RootPriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.RootPriceDerivationRuleEligibilityID.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..43fd37809c9c6e831209d60fdde32ccda2ab5c4b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger.cs @@ -0,0 +1,868 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTrigger <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A code that indicates the type of the price derivation rule eligibility. (required). + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.).. + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). (required). + /// A code for the type of threshold which applies to the eligibility.. + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The list of references to the line items fulfilling the eligibility of the promotion being recommended for the transaction. + /// Further information regarding to the trigger.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey), string eligibilityTypeCode = default(string), string triggerID = default(string), string triggerIDQualifier = default(string), string thresholdTypeCode = default(string), double? thresholdQuantity = default(double?), double? thresholdAmount = default(double?), double? intervalQuantity = default(double?), double? intervalAmount = default(double?), double? limitQuantity = default(double?), double? limitAmount = default(double?), List retailTransactionPromotionRecommendationFulfilledTriggerReferenceList = default(List), string triggerIDQualifier2 = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "eligibilityTypeCode" is required (not null) + if (eligibilityTypeCode == null) + { + throw new InvalidDataException("eligibilityTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger and cannot be null"); + } + else + { + this.EligibilityTypeCode = eligibilityTypeCode; + } + // to ensure "triggerIDQualifier" is required (not null) + if (triggerIDQualifier == null) + { + throw new InvalidDataException("triggerIDQualifier is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger and cannot be null"); + } + else + { + this.TriggerIDQualifier = triggerIDQualifier; + } + this.TriggerID = triggerID; + this.ThresholdTypeCode = thresholdTypeCode; + this.ThresholdQuantity = thresholdQuantity; + this.ThresholdAmount = thresholdAmount; + this.IntervalQuantity = intervalQuantity; + this.IntervalAmount = intervalAmount; + this.LimitQuantity = limitQuantity; + this.LimitAmount = limitAmount; + this.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList = retailTransactionPromotionRecommendationFulfilledTriggerReferenceList; + this.TriggerIDQualifier2 = triggerIDQualifier2; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey Key { get; set; } + + /// + /// A code that indicates the type of the price derivation rule eligibility. + /// + /// A code that indicates the type of the price derivation rule eligibility. + [DataMember(Name="eligibilityTypeCode", EmitDefaultValue=false)] + public string EligibilityTypeCode { get; set; } + + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + [DataMember(Name="triggerID", EmitDefaultValue=false)] + public string TriggerID { get; set; } + + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + [DataMember(Name="triggerIDQualifier", EmitDefaultValue=false)] + public string TriggerIDQualifier { get; set; } + + /// + /// A code for the type of threshold which applies to the eligibility. + /// + /// A code for the type of threshold which applies to the eligibility. + [DataMember(Name="thresholdTypeCode", EmitDefaultValue=false)] + public string ThresholdTypeCode { get; set; } + + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="thresholdQuantity", EmitDefaultValue=false)] + public double? ThresholdQuantity { get; set; } + + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="thresholdAmount", EmitDefaultValue=false)] + public double? ThresholdAmount { get; set; } + + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="intervalQuantity", EmitDefaultValue=false)] + public double? IntervalQuantity { get; set; } + + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="intervalAmount", EmitDefaultValue=false)] + public double? IntervalAmount { get; set; } + + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="limitQuantity", EmitDefaultValue=false)] + public double? LimitQuantity { get; set; } + + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="limitAmount", EmitDefaultValue=false)] + public double? LimitAmount { get; set; } + + /// + /// The list of references to the line items fulfilling the eligibility of the promotion being recommended for the transaction + /// + /// The list of references to the line items fulfilling the eligibility of the promotion being recommended for the transaction + [DataMember(Name="retailTransactionPromotionRecommendationFulfilledTriggerReferenceList", EmitDefaultValue=false)] + public List RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList { get; set; } + + /// + /// Further information regarding to the trigger. + /// + /// Further information regarding to the trigger. + [DataMember(Name="triggerIDQualifier2", EmitDefaultValue=false)] + public string TriggerIDQualifier2 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" EligibilityTypeCode: ").Append(EligibilityTypeCode).Append("\n"); + sb.Append(" TriggerID: ").Append(TriggerID).Append("\n"); + sb.Append(" TriggerIDQualifier: ").Append(TriggerIDQualifier).Append("\n"); + sb.Append(" ThresholdTypeCode: ").Append(ThresholdTypeCode).Append("\n"); + sb.Append(" ThresholdQuantity: ").Append(ThresholdQuantity).Append("\n"); + sb.Append(" ThresholdAmount: ").Append(ThresholdAmount).Append("\n"); + sb.Append(" IntervalQuantity: ").Append(IntervalQuantity).Append("\n"); + sb.Append(" IntervalAmount: ").Append(IntervalAmount).Append("\n"); + sb.Append(" LimitQuantity: ").Append(LimitQuantity).Append("\n"); + sb.Append(" LimitAmount: ").Append(LimitAmount).Append("\n"); + sb.Append(" RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList: ").Append(RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList).Append("\n"); + sb.Append(" TriggerIDQualifier2: ").Append(TriggerIDQualifier2).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.EligibilityTypeCode == input.EligibilityTypeCode || + (this.EligibilityTypeCode != null && + this.EligibilityTypeCode.Equals(input.EligibilityTypeCode)) + ) && + ( + this.TriggerID == input.TriggerID || + (this.TriggerID != null && + this.TriggerID.Equals(input.TriggerID)) + ) && + ( + this.TriggerIDQualifier == input.TriggerIDQualifier || + (this.TriggerIDQualifier != null && + this.TriggerIDQualifier.Equals(input.TriggerIDQualifier)) + ) && + ( + this.ThresholdTypeCode == input.ThresholdTypeCode || + (this.ThresholdTypeCode != null && + this.ThresholdTypeCode.Equals(input.ThresholdTypeCode)) + ) && + ( + this.ThresholdQuantity == input.ThresholdQuantity || + (this.ThresholdQuantity != null && + this.ThresholdQuantity.Equals(input.ThresholdQuantity)) + ) && + ( + this.ThresholdAmount == input.ThresholdAmount || + (this.ThresholdAmount != null && + this.ThresholdAmount.Equals(input.ThresholdAmount)) + ) && + ( + this.IntervalQuantity == input.IntervalQuantity || + (this.IntervalQuantity != null && + this.IntervalQuantity.Equals(input.IntervalQuantity)) + ) && + ( + this.IntervalAmount == input.IntervalAmount || + (this.IntervalAmount != null && + this.IntervalAmount.Equals(input.IntervalAmount)) + ) && + ( + this.LimitQuantity == input.LimitQuantity || + (this.LimitQuantity != null && + this.LimitQuantity.Equals(input.LimitQuantity)) + ) && + ( + this.LimitAmount == input.LimitAmount || + (this.LimitAmount != null && + this.LimitAmount.Equals(input.LimitAmount)) + ) && + ( + this.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList == input.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList || + this.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList != null && + this.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList.SequenceEqual(input.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList) + ) && + ( + this.TriggerIDQualifier2 == input.TriggerIDQualifier2 || + (this.TriggerIDQualifier2 != null && + this.TriggerIDQualifier2.Equals(input.TriggerIDQualifier2)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.EligibilityTypeCode != null) + hashCode = hashCode * 59 + this.EligibilityTypeCode.GetHashCode(); + if (this.TriggerID != null) + hashCode = hashCode * 59 + this.TriggerID.GetHashCode(); + if (this.TriggerIDQualifier != null) + hashCode = hashCode * 59 + this.TriggerIDQualifier.GetHashCode(); + if (this.ThresholdTypeCode != null) + hashCode = hashCode * 59 + this.ThresholdTypeCode.GetHashCode(); + if (this.ThresholdQuantity != null) + hashCode = hashCode * 59 + this.ThresholdQuantity.GetHashCode(); + if (this.ThresholdAmount != null) + hashCode = hashCode * 59 + this.ThresholdAmount.GetHashCode(); + if (this.IntervalQuantity != null) + hashCode = hashCode * 59 + this.IntervalQuantity.GetHashCode(); + if (this.IntervalAmount != null) + hashCode = hashCode * 59 + this.IntervalAmount.GetHashCode(); + if (this.LimitQuantity != null) + hashCode = hashCode * 59 + this.LimitQuantity.GetHashCode(); + if (this.LimitAmount != null) + hashCode = hashCode * 59 + this.LimitAmount.GetHashCode(); + if (this.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList.GetHashCode(); + if (this.TriggerIDQualifier2 != null) + hashCode = hashCode * 59 + this.TriggerIDQualifier2.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6a8a4f90f105c8b563f53908a2555d17dfeb5a65 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTrigger.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the promotion. (required). + /// The unique identifier for the price derivation rule. (required). + /// The unique identifier for the root price derivation rule eligibility. (required). + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string rootPriceDerivationRuleEligibilityID = default(string), string priceDerivationRuleEligibilityID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "rootPriceDerivationRuleEligibilityID" is required (not null) + if (rootPriceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("rootPriceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey and cannot be null"); + } + else + { + this.RootPriceDerivationRuleEligibilityID = rootPriceDerivationRuleEligibilityID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + [DataMember(Name="rootPriceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string RootPriceDerivationRuleEligibilityID { get; set; } + + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" RootPriceDerivationRuleEligibilityID: ").Append(RootPriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.RootPriceDerivationRuleEligibilityID == input.RootPriceDerivationRuleEligibilityID || + (this.RootPriceDerivationRuleEligibilityID != null && + this.RootPriceDerivationRuleEligibilityID.Equals(input.RootPriceDerivationRuleEligibilityID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.RootPriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.RootPriceDerivationRuleEligibilityID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference.cs new file mode 100644 index 0000000000000000000000000000000000000000..fcfdf81c5bdacbad33b1fd81572803fe1a4412b9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference.cs @@ -0,0 +1,648 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTriggerReference <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f60b24e12e31d14036188de21309c8387aa1afe2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey.cs @@ -0,0 +1,288 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTriggerReference.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the promotion. (required). + /// The unique identifier for the price derivation rule. (required). + /// The unique identifier for the root price derivation rule eligibility. (required). + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree (required). + /// The sequence number of line item within the context of this retail transaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string rootPriceDerivationRuleEligibilityID = default(string), string priceDerivationRuleEligibilityID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "rootPriceDerivationRuleEligibilityID" is required (not null) + if (rootPriceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("rootPriceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.RootPriceDerivationRuleEligibilityID = rootPriceDerivationRuleEligibilityID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + [DataMember(Name="rootPriceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string RootPriceDerivationRuleEligibilityID { get; set; } + + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The sequence number of line item within the context of this retail transaction. + /// + /// The sequence number of line item within the context of this retail transaction. + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" RootPriceDerivationRuleEligibilityID: ").Append(RootPriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.RootPriceDerivationRuleEligibilityID == input.RootPriceDerivationRuleEligibilityID || + (this.RootPriceDerivationRuleEligibilityID != null && + this.RootPriceDerivationRuleEligibilityID.Equals(input.RootPriceDerivationRuleEligibilityID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.RootPriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.RootPriceDerivationRuleEligibilityID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..ef8ae0adc4584e3aa7e5b2334eba793bbeec47e1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup.cs @@ -0,0 +1,690 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationGroup <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The status of the promotion recommendations evaluation. (required). + /// A list of promotion recommendations.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey), string recommendationStatusCode = default(string), List retailTransactionPromotionRecommendationList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "recommendationStatusCode" is required (not null) + if (recommendationStatusCode == null) + { + throw new InvalidDataException("recommendationStatusCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup and cannot be null"); + } + else + { + this.RecommendationStatusCode = recommendationStatusCode; + } + this.RetailTransactionPromotionRecommendationList = retailTransactionPromotionRecommendationList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey Key { get; set; } + + /// + /// The status of the promotion recommendations evaluation. + /// + /// The status of the promotion recommendations evaluation. + [DataMember(Name="recommendationStatusCode", EmitDefaultValue=false)] + public string RecommendationStatusCode { get; set; } + + /// + /// A list of promotion recommendations. + /// + /// A list of promotion recommendations. + [DataMember(Name="retailTransactionPromotionRecommendationList", EmitDefaultValue=false)] + public List RetailTransactionPromotionRecommendationList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" RecommendationStatusCode: ").Append(RecommendationStatusCode).Append("\n"); + sb.Append(" RetailTransactionPromotionRecommendationList: ").Append(RetailTransactionPromotionRecommendationList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.RecommendationStatusCode == input.RecommendationStatusCode || + (this.RecommendationStatusCode != null && + this.RecommendationStatusCode.Equals(input.RecommendationStatusCode)) + ) && + ( + this.RetailTransactionPromotionRecommendationList == input.RetailTransactionPromotionRecommendationList || + this.RetailTransactionPromotionRecommendationList != null && + this.RetailTransactionPromotionRecommendationList.SequenceEqual(input.RetailTransactionPromotionRecommendationList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.RecommendationStatusCode != null) + hashCode = hashCode * 59 + this.RecommendationStatusCode.GetHashCode(); + if (this.RetailTransactionPromotionRecommendationList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionRecommendationList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..94440d5ab64fd276c0ba8369f98830363c9da218 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationGroup.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..cfdd0d4d55c3650cfb3b4936209640ddea7eda54 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendation.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the promotion. (required). + /// The unique identifier for the price derivation rule. (required). + /// The unique identifier for the root price derivation rule eligibility. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string rootPriceDerivationRuleEligibilityID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "rootPriceDerivationRuleEligibilityID" is required (not null) + if (rootPriceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("rootPriceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey and cannot be null"); + } + else + { + this.RootPriceDerivationRuleEligibilityID = rootPriceDerivationRuleEligibilityID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + [DataMember(Name="rootPriceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string RootPriceDerivationRuleEligibilityID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" RootPriceDerivationRuleEligibilityID: ").Append(RootPriceDerivationRuleEligibilityID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.RootPriceDerivationRuleEligibilityID == input.RootPriceDerivationRuleEligibilityID || + (this.RootPriceDerivationRuleEligibilityID != null && + this.RootPriceDerivationRuleEligibilityID.Equals(input.RootPriceDerivationRuleEligibilityID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.RootPriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.RootPriceDerivationRuleEligibilityID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..3a6c4fea904b3e6c2916a3748b467ad252d116ca --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger.cs @@ -0,0 +1,894 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationMissingTrigger <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A code that indicates the type of the price derivation rule eligibility. (required). + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.).. + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier).. + /// A code for the type of threshold which applies to the eligibility.. + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The missing quantity to reach the threshold quantity. Only filled in case of quantity-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// The missing amount to reach the threshold amount. Only filled in case of amount-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// Further information regarding to the trigger.. + /// The list of references to the line items partially fulfilling the eligibility of the promotion being recommended for the transaction. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey), string eligibilityTypeCode = default(string), string triggerID = default(string), string triggerIDQualifier = default(string), string thresholdTypeCode = default(string), double? thresholdQuantity = default(double?), double? thresholdAmount = default(double?), double? intervalQuantity = default(double?), double? intervalAmount = default(double?), double? limitQuantity = default(double?), double? limitAmount = default(double?), double? missingQuantity = default(double?), double? missingAmount = default(double?), string triggerIDQualifier2 = default(string), List retailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "eligibilityTypeCode" is required (not null) + if (eligibilityTypeCode == null) + { + throw new InvalidDataException("eligibilityTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger and cannot be null"); + } + else + { + this.EligibilityTypeCode = eligibilityTypeCode; + } + this.TriggerID = triggerID; + this.TriggerIDQualifier = triggerIDQualifier; + this.ThresholdTypeCode = thresholdTypeCode; + this.ThresholdQuantity = thresholdQuantity; + this.ThresholdAmount = thresholdAmount; + this.IntervalQuantity = intervalQuantity; + this.IntervalAmount = intervalAmount; + this.LimitQuantity = limitQuantity; + this.LimitAmount = limitAmount; + this.MissingQuantity = missingQuantity; + this.MissingAmount = missingAmount; + this.TriggerIDQualifier2 = triggerIDQualifier2; + this.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList = retailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey Key { get; set; } + + /// + /// A code that indicates the type of the price derivation rule eligibility. + /// + /// A code that indicates the type of the price derivation rule eligibility. + [DataMember(Name="eligibilityTypeCode", EmitDefaultValue=false)] + public string EligibilityTypeCode { get; set; } + + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + [DataMember(Name="triggerID", EmitDefaultValue=false)] + public string TriggerID { get; set; } + + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + [DataMember(Name="triggerIDQualifier", EmitDefaultValue=false)] + public string TriggerIDQualifier { get; set; } + + /// + /// A code for the type of threshold which applies to the eligibility. + /// + /// A code for the type of threshold which applies to the eligibility. + [DataMember(Name="thresholdTypeCode", EmitDefaultValue=false)] + public string ThresholdTypeCode { get; set; } + + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="thresholdQuantity", EmitDefaultValue=false)] + public double? ThresholdQuantity { get; set; } + + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="thresholdAmount", EmitDefaultValue=false)] + public double? ThresholdAmount { get; set; } + + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="intervalQuantity", EmitDefaultValue=false)] + public double? IntervalQuantity { get; set; } + + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="intervalAmount", EmitDefaultValue=false)] + public double? IntervalAmount { get; set; } + + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="limitQuantity", EmitDefaultValue=false)] + public double? LimitQuantity { get; set; } + + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="limitAmount", EmitDefaultValue=false)] + public double? LimitAmount { get; set; } + + /// + /// The missing quantity to reach the threshold quantity. Only filled in case of quantity-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The missing quantity to reach the threshold quantity. Only filled in case of quantity-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="missingQuantity", EmitDefaultValue=false)] + public double? MissingQuantity { get; set; } + + /// + /// The missing amount to reach the threshold amount. Only filled in case of amount-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The missing amount to reach the threshold amount. Only filled in case of amount-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="missingAmount", EmitDefaultValue=false)] + public double? MissingAmount { get; set; } + + /// + /// Further information regarding to the trigger. + /// + /// Further information regarding to the trigger. + [DataMember(Name="triggerIDQualifier2", EmitDefaultValue=false)] + public string TriggerIDQualifier2 { get; set; } + + /// + /// The list of references to the line items partially fulfilling the eligibility of the promotion being recommended for the transaction + /// + /// The list of references to the line items partially fulfilling the eligibility of the promotion being recommended for the transaction + [DataMember(Name="retailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList", EmitDefaultValue=false)] + public List RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" EligibilityTypeCode: ").Append(EligibilityTypeCode).Append("\n"); + sb.Append(" TriggerID: ").Append(TriggerID).Append("\n"); + sb.Append(" TriggerIDQualifier: ").Append(TriggerIDQualifier).Append("\n"); + sb.Append(" ThresholdTypeCode: ").Append(ThresholdTypeCode).Append("\n"); + sb.Append(" ThresholdQuantity: ").Append(ThresholdQuantity).Append("\n"); + sb.Append(" ThresholdAmount: ").Append(ThresholdAmount).Append("\n"); + sb.Append(" IntervalQuantity: ").Append(IntervalQuantity).Append("\n"); + sb.Append(" IntervalAmount: ").Append(IntervalAmount).Append("\n"); + sb.Append(" LimitQuantity: ").Append(LimitQuantity).Append("\n"); + sb.Append(" LimitAmount: ").Append(LimitAmount).Append("\n"); + sb.Append(" MissingQuantity: ").Append(MissingQuantity).Append("\n"); + sb.Append(" MissingAmount: ").Append(MissingAmount).Append("\n"); + sb.Append(" TriggerIDQualifier2: ").Append(TriggerIDQualifier2).Append("\n"); + sb.Append(" RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList: ").Append(RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.EligibilityTypeCode == input.EligibilityTypeCode || + (this.EligibilityTypeCode != null && + this.EligibilityTypeCode.Equals(input.EligibilityTypeCode)) + ) && + ( + this.TriggerID == input.TriggerID || + (this.TriggerID != null && + this.TriggerID.Equals(input.TriggerID)) + ) && + ( + this.TriggerIDQualifier == input.TriggerIDQualifier || + (this.TriggerIDQualifier != null && + this.TriggerIDQualifier.Equals(input.TriggerIDQualifier)) + ) && + ( + this.ThresholdTypeCode == input.ThresholdTypeCode || + (this.ThresholdTypeCode != null && + this.ThresholdTypeCode.Equals(input.ThresholdTypeCode)) + ) && + ( + this.ThresholdQuantity == input.ThresholdQuantity || + (this.ThresholdQuantity != null && + this.ThresholdQuantity.Equals(input.ThresholdQuantity)) + ) && + ( + this.ThresholdAmount == input.ThresholdAmount || + (this.ThresholdAmount != null && + this.ThresholdAmount.Equals(input.ThresholdAmount)) + ) && + ( + this.IntervalQuantity == input.IntervalQuantity || + (this.IntervalQuantity != null && + this.IntervalQuantity.Equals(input.IntervalQuantity)) + ) && + ( + this.IntervalAmount == input.IntervalAmount || + (this.IntervalAmount != null && + this.IntervalAmount.Equals(input.IntervalAmount)) + ) && + ( + this.LimitQuantity == input.LimitQuantity || + (this.LimitQuantity != null && + this.LimitQuantity.Equals(input.LimitQuantity)) + ) && + ( + this.LimitAmount == input.LimitAmount || + (this.LimitAmount != null && + this.LimitAmount.Equals(input.LimitAmount)) + ) && + ( + this.MissingQuantity == input.MissingQuantity || + (this.MissingQuantity != null && + this.MissingQuantity.Equals(input.MissingQuantity)) + ) && + ( + this.MissingAmount == input.MissingAmount || + (this.MissingAmount != null && + this.MissingAmount.Equals(input.MissingAmount)) + ) && + ( + this.TriggerIDQualifier2 == input.TriggerIDQualifier2 || + (this.TriggerIDQualifier2 != null && + this.TriggerIDQualifier2.Equals(input.TriggerIDQualifier2)) + ) && + ( + this.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList == input.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList || + this.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList != null && + this.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList.SequenceEqual(input.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.EligibilityTypeCode != null) + hashCode = hashCode * 59 + this.EligibilityTypeCode.GetHashCode(); + if (this.TriggerID != null) + hashCode = hashCode * 59 + this.TriggerID.GetHashCode(); + if (this.TriggerIDQualifier != null) + hashCode = hashCode * 59 + this.TriggerIDQualifier.GetHashCode(); + if (this.ThresholdTypeCode != null) + hashCode = hashCode * 59 + this.ThresholdTypeCode.GetHashCode(); + if (this.ThresholdQuantity != null) + hashCode = hashCode * 59 + this.ThresholdQuantity.GetHashCode(); + if (this.ThresholdAmount != null) + hashCode = hashCode * 59 + this.ThresholdAmount.GetHashCode(); + if (this.IntervalQuantity != null) + hashCode = hashCode * 59 + this.IntervalQuantity.GetHashCode(); + if (this.IntervalAmount != null) + hashCode = hashCode * 59 + this.IntervalAmount.GetHashCode(); + if (this.LimitQuantity != null) + hashCode = hashCode * 59 + this.LimitQuantity.GetHashCode(); + if (this.LimitAmount != null) + hashCode = hashCode * 59 + this.LimitAmount.GetHashCode(); + if (this.MissingQuantity != null) + hashCode = hashCode * 59 + this.MissingQuantity.GetHashCode(); + if (this.MissingAmount != null) + hashCode = hashCode * 59 + this.MissingAmount.GetHashCode(); + if (this.TriggerIDQualifier2 != null) + hashCode = hashCode * 59 + this.TriggerIDQualifier2.GetHashCode(); + if (this.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList != null) + hashCode = hashCode * 59 + this.RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e78e207e8c8384846c30098e3cbe3d36a0311c93 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationMissingTrigger.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the promotion. (required). + /// The unique identifier for the price derivation rule. (required). + /// The unique identifier for the root price derivation rule eligibility. (required). + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string rootPriceDerivationRuleEligibilityID = default(string), string priceDerivationRuleEligibilityID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "rootPriceDerivationRuleEligibilityID" is required (not null) + if (rootPriceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("rootPriceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey and cannot be null"); + } + else + { + this.RootPriceDerivationRuleEligibilityID = rootPriceDerivationRuleEligibilityID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + [DataMember(Name="rootPriceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string RootPriceDerivationRuleEligibilityID { get; set; } + + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" RootPriceDerivationRuleEligibilityID: ").Append(RootPriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.RootPriceDerivationRuleEligibilityID == input.RootPriceDerivationRuleEligibilityID || + (this.RootPriceDerivationRuleEligibilityID != null && + this.RootPriceDerivationRuleEligibilityID.Equals(input.RootPriceDerivationRuleEligibilityID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.RootPriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.RootPriceDerivationRuleEligibilityID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.cs new file mode 100644 index 0000000000000000000000000000000000000000..34d243ede0ac6565eb552e2fa97d80eb25bb4744 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.cs @@ -0,0 +1,648 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..3971b55211d4e0c39cd222411c6b160a1c792c7c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey.cs @@ -0,0 +1,288 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the promotion. (required). + /// The unique identifier for the price derivation rule. (required). + /// The unique identifier for the root price derivation rule eligibility. (required). + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree (required). + /// The sequence number of line item within the context of this retail transaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string rootPriceDerivationRuleEligibilityID = default(string), string priceDerivationRuleEligibilityID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "rootPriceDerivationRuleEligibilityID" is required (not null) + if (rootPriceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("rootPriceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.RootPriceDerivationRuleEligibilityID = rootPriceDerivationRuleEligibilityID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + [DataMember(Name="rootPriceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string RootPriceDerivationRuleEligibilityID { get; set; } + + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The sequence number of line item within the context of this retail transaction. + /// + /// The sequence number of line item within the context of this retail transaction. + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" RootPriceDerivationRuleEligibilityID: ").Append(RootPriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.RootPriceDerivationRuleEligibilityID == input.RootPriceDerivationRuleEligibilityID || + (this.RootPriceDerivationRuleEligibilityID != null && + this.RootPriceDerivationRuleEligibilityID.Equals(input.RootPriceDerivationRuleEligibilityID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.RootPriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.RootPriceDerivationRuleEligibilityID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..2d3f03107b7886bca4dfc61767abbfe0f60aa1e6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger.cs @@ -0,0 +1,399 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionTrigger <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The type of the trigger (referencing to POS configuration) (required). + /// The value of the trigger (referencing to POS configuration) (required). + /// Defines the method for price modification. (required). + /// Reduction amount, reduction percent or new price amount (required). + /// Reason code for the manual discount. + /// A narrative description describing the manual discount reason.. + /// An additional information concerning the trigger . + /// A value which is to be added to the sequence of the condition (which comes from the master data) (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey), string triggerType = default(string), string triggerValue = default(string), string privilegeType = default(string), double? privilegeValue = default(double?), string reasonCode = default(string), string reasonDescription = default(string), string reference_ = default(string), string triggerSequenceAddend = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "triggerType" is required (not null) + if (triggerType == null) + { + throw new InvalidDataException("triggerType is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger and cannot be null"); + } + else + { + this.TriggerType = triggerType; + } + // to ensure "triggerValue" is required (not null) + if (triggerValue == null) + { + throw new InvalidDataException("triggerValue is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger and cannot be null"); + } + else + { + this.TriggerValue = triggerValue; + } + // to ensure "privilegeType" is required (not null) + if (privilegeType == null) + { + throw new InvalidDataException("privilegeType is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger and cannot be null"); + } + else + { + this.PrivilegeType = privilegeType; + } + // to ensure "privilegeValue" is required (not null) + if (privilegeValue == null) + { + throw new InvalidDataException("privilegeValue is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger and cannot be null"); + } + else + { + this.PrivilegeValue = privilegeValue; + } + // to ensure "triggerSequenceAddend" is required (not null) + if (triggerSequenceAddend == null) + { + throw new InvalidDataException("triggerSequenceAddend is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger and cannot be null"); + } + else + { + this.TriggerSequenceAddend = triggerSequenceAddend; + } + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.Reference_ = reference_; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey Key { get; set; } + + /// + /// The type of the trigger (referencing to POS configuration) + /// + /// The type of the trigger (referencing to POS configuration) + [DataMember(Name="triggerType", EmitDefaultValue=false)] + public string TriggerType { get; set; } + + /// + /// The value of the trigger (referencing to POS configuration) + /// + /// The value of the trigger (referencing to POS configuration) + [DataMember(Name="triggerValue", EmitDefaultValue=false)] + public string TriggerValue { get; set; } + + /// + /// Defines the method for price modification. + /// + /// Defines the method for price modification. + [DataMember(Name="privilegeType", EmitDefaultValue=false)] + public string PrivilegeType { get; set; } + + /// + /// Reduction amount, reduction percent or new price amount + /// + /// Reduction amount, reduction percent or new price amount + [DataMember(Name="privilegeValue", EmitDefaultValue=false)] + public double? PrivilegeValue { get; set; } + + /// + /// Reason code for the manual discount + /// + /// Reason code for the manual discount + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A narrative description describing the manual discount reason. + /// + /// A narrative description describing the manual discount reason. + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// An additional information concerning the trigger  + /// + /// An additional information concerning the trigger  + [DataMember(Name="reference_", EmitDefaultValue=false)] + public string Reference_ { get; set; } + + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data) + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data) + [DataMember(Name="triggerSequenceAddend", EmitDefaultValue=false)] + public string TriggerSequenceAddend { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TriggerType: ").Append(TriggerType).Append("\n"); + sb.Append(" TriggerValue: ").Append(TriggerValue).Append("\n"); + sb.Append(" PrivilegeType: ").Append(PrivilegeType).Append("\n"); + sb.Append(" PrivilegeValue: ").Append(PrivilegeValue).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" Reference_: ").Append(Reference_).Append("\n"); + sb.Append(" TriggerSequenceAddend: ").Append(TriggerSequenceAddend).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TriggerType == input.TriggerType || + (this.TriggerType != null && + this.TriggerType.Equals(input.TriggerType)) + ) && + ( + this.TriggerValue == input.TriggerValue || + (this.TriggerValue != null && + this.TriggerValue.Equals(input.TriggerValue)) + ) && + ( + this.PrivilegeType == input.PrivilegeType || + (this.PrivilegeType != null && + this.PrivilegeType.Equals(input.PrivilegeType)) + ) && + ( + this.PrivilegeValue == input.PrivilegeValue || + (this.PrivilegeValue != null && + this.PrivilegeValue.Equals(input.PrivilegeValue)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.Reference_ == input.Reference_ || + (this.Reference_ != null && + this.Reference_.Equals(input.Reference_)) + ) && + ( + this.TriggerSequenceAddend == input.TriggerSequenceAddend || + (this.TriggerSequenceAddend != null && + this.TriggerSequenceAddend.Equals(input.TriggerSequenceAddend)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TriggerType != null) + hashCode = hashCode * 59 + this.TriggerType.GetHashCode(); + if (this.TriggerValue != null) + hashCode = hashCode * 59 + this.TriggerValue.GetHashCode(); + if (this.PrivilegeType != null) + hashCode = hashCode * 59 + this.PrivilegeType.GetHashCode(); + if (this.PrivilegeValue != null) + hashCode = hashCode * 59 + this.PrivilegeValue.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.Reference_ != null) + hashCode = hashCode * 59 + this.Reference_.GetHashCode(); + if (this.TriggerSequenceAddend != null) + hashCode = hashCode * 59 + this.TriggerSequenceAddend.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e6c1fdd04f0f7c93a4b8a523423d87f56b804e67 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPromotionTrigger.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The ident of the trigger (because a transaction item can have more than one trigger)  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? triggerSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "triggerSequenceNumber" is required (not null) + if (triggerSequenceNumber == null) + { + throw new InvalidDataException("triggerSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey and cannot be null"); + } + else + { + this.TriggerSequenceNumber = triggerSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The ident of the trigger (because a transaction item can have more than one trigger)  + /// + /// The ident of the trigger (because a transaction item can have more than one trigger)  + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..bbc4058d6a61d157bee9231ab4cd78ff16b2b7be --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger.cs @@ -0,0 +1,274 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionTaxExemptTrigger <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Tax exempt reason code. + /// A narrative description for the tax exempt reason code. . + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey), string reasonCode = default(string), string reasonDescription = default(string), string taxCertificateID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger and cannot be null"); + } + else + { + this.Key = key; + } + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.TaxCertificateID = taxCertificateID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey Key { get; set; } + + /// + /// Tax exempt reason code + /// + /// Tax exempt reason code + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A narrative description for the tax exempt reason code.  + /// + /// A narrative description for the tax exempt reason code.  + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority + [DataMember(Name="taxCertificateID", EmitDefaultValue=false)] + public string TaxCertificateID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" TaxCertificateID: ").Append(TaxCertificateID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.TaxCertificateID == input.TaxCertificateID || + (this.TaxCertificateID != null && + this.TaxCertificateID.Equals(input.TaxCertificateID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.TaxCertificateID != null) + hashCode = hashCode * 59 + this.TaxCertificateID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a0629e77bc9fcd8514b08cd8e81e0d28dac1a0a7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionTaxExemptTrigger.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal.cs new file mode 100644 index 0000000000000000000000000000000000000000..483e397643e763b808dea194a919ddda397edd7d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal.cs @@ -0,0 +1,240 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionTotal <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The monetary value of the transaction total.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey key = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey), double? amount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal and cannot be null"); + } + else + { + this.Key = key; + } + this.Amount = amount; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey Key { get; set; } + + /// + /// The monetary value of the transaction total.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary value of the transaction total.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b699f1ac548ed99570ddd4ed96ad817e8601618b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionTotal.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique assigned mnemonic identifier that identifies the TransactionTotalType  (required). + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey(string businessUnitGroupID = default(string), string transactionID = default(string), string transactionTotalTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "transactionTotalTypeCode" is required (not null) + if (transactionTotalTypeCode == null) + { + throw new InvalidDataException("transactionTotalTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey and cannot be null"); + } + else + { + this.TransactionTotalTypeCode = transactionTotalTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique assigned mnemonic identifier that identifies the TransactionTotalType  + /// + /// A unique assigned mnemonic identifier that identifies the TransactionTotalType  + [DataMember(Name="transactionTotalTypeCode", EmitDefaultValue=false)] + public string TransactionTotalTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TransactionTotalTypeCode: ").Append(TransactionTotalTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TransactionTotalTypeCode == input.TransactionTotalTypeCode || + (this.TransactionTotalTypeCode != null && + this.TransactionTotalTypeCode.Equals(input.TransactionTotalTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TransactionTotalTypeCode != null) + hashCode = hashCode * 59 + this.TransactionTotalTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoReturnLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoReturnLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..430791e1c04b9487725c9b85e55c5e576fd9b10f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoReturnLineItem.cs @@ -0,0 +1,257 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoReturnLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoReturnLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The code of the return reason. + /// A narrative description describing the use of the retailer assigned return reason code. . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoReturnLineItem(ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey), string returnReasonCode = default(string), string returnReasonDescription = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoReturnLineItem and cannot be null"); + } + else + { + this.Key = key; + } + this.ReturnReasonCode = returnReasonCode; + this.ReturnReasonDescription = returnReasonDescription; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey Key { get; set; } + + /// + /// The code of the return reason + /// + /// The code of the return reason + [DataMember(Name="returnReasonCode", EmitDefaultValue=false)] + public string ReturnReasonCode { get; set; } + + /// + /// A narrative description describing the use of the retailer assigned return reason code.  + /// + /// A narrative description describing the use of the retailer assigned return reason code.  + [DataMember(Name="returnReasonDescription", EmitDefaultValue=false)] + public string ReturnReasonDescription { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoReturnLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ReturnReasonCode: ").Append(ReturnReasonCode).Append("\n"); + sb.Append(" ReturnReasonDescription: ").Append(ReturnReasonDescription).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoReturnLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoReturnLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoReturnLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoReturnLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ReturnReasonCode == input.ReturnReasonCode || + (this.ReturnReasonCode != null && + this.ReturnReasonCode.Equals(input.ReturnReasonCode)) + ) && + ( + this.ReturnReasonDescription == input.ReturnReasonDescription || + (this.ReturnReasonDescription != null && + this.ReturnReasonDescription.Equals(input.ReturnReasonDescription)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ReturnReasonCode != null) + hashCode = hashCode * 59 + this.ReturnReasonCode.GetHashCode(); + if (this.ReturnReasonDescription != null) + hashCode = hashCode * 59 + this.ReturnReasonDescription.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9a0cd01b18152835eb5f29d83948a416a547774b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..88e3f6955ae6321b6445a7cfee5da6c0d3b973bd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem.cs @@ -0,0 +1,282 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RoundingLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A flag denoting that the amount was rounded up.. + /// The applied rounding difference<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// Determines which part of the transaction the rounding applies to. Possible values include codes for change, subtotal  (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem(ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey), bool? roundUpFlag = default(bool?), double? amount = default(double?), string typeCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "typeCode" is required (not null) + if (typeCode == null) + { + throw new InvalidDataException("typeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem and cannot be null"); + } + else + { + this.TypeCode = typeCode; + } + this.RoundUpFlag = roundUpFlag; + this.Amount = amount; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey Key { get; set; } + + /// + /// A flag denoting that the amount was rounded up. + /// + /// A flag denoting that the amount was rounded up. + [DataMember(Name="roundUpFlag", EmitDefaultValue=false)] + public bool? RoundUpFlag { get; set; } + + /// + /// The applied rounding difference<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The applied rounding difference<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// Determines which part of the transaction the rounding applies to. Possible values include codes for change, subtotal  + /// + /// Determines which part of the transaction the rounding applies to. Possible values include codes for change, subtotal  + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" RoundUpFlag: ").Append(RoundUpFlag).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.RoundUpFlag == input.RoundUpFlag || + (this.RoundUpFlag != null && + this.RoundUpFlag.Equals(input.RoundUpFlag)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.RoundUpFlag != null) + hashCode = hashCode * 59 + this.RoundUpFlag.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ac26988a60a20df3a00d0e0aac819078599a945b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RoundingLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..f82f76c4c99f99bc998f3918e5594e04693ed4f2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem.cs @@ -0,0 +1,1899 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A unique identifier for the item. + /// The code used to specify the unit of the item. + /// The type code of the line item. + /// The sub type code of the line item. + /// The regular per-unit price (required). + /// The number of items the regular price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// The actual per-unit price<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The number of items the actual price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// The single quantity of a line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6 (required). + /// The units of the line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// The product of multiplying Quantity, Units and ActualUnitPrice.Different calculation rule for ExtendedAmount in case of package prices (see Transaction Calculation Rules). (required). + /// The monetary total of all line item discounts that were applied to this Item.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// A code that describes how this line item's retail selling unit price is being entered.. + /// A code denoting the sign of the line item.. + /// A unique retailer defined reason code (e.g. reason for Pay In / Pay Out). + /// A universally unique identifier used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.. + /// Determines how the input of quantity was done on POS.. + /// The registered length <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// The registered width <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// The registered height <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value!. + /// Describes how the weight was registered . + /// The receipt printout text . + /// The item description. + /// A flag to indicate whether food stamps can be tendered for this item.  (required). + /// The complete number which was registered on the POS originally . + /// If this flag is set to true, automatically a negative line item is created when registering this item. Corresponds to ItemSellingRule.NegativeLineItemFlag (required). + /// A flag to indicate whether this ITEM can be discounted. Corresponds to Item.DiscountFlag  (required). + /// A flag to denote that the Item is eligible for frequent shopper points. Corresponds to ItemSellingRule.FrequentShopperPointsEligibilityFlag  (required). + /// A code which is used by the loyalty engine in order to determine whether the item can get rebate/points; possible values: 0..9 Corresponds to ItemSellingRule.DiscountTypeCode. + /// Describes how the price of the item can be changed on POS.Corresponds to ItemSellingRule.PriceChangeTypeCode. + /// The price type code.. + /// The line item total including taxes and discounts  (required). + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise. . + /// A narrative description describing the use of the retailer assigned reason code. . + /// Determines whether the loyalty engine should care about the line item as a trigger; this information is needed because it may happen that another process (e.g. a return regarding to an existing transaction) applies rules for the line item which the loyalty engine is not allowed to change  (required). + /// The business name for the merchandise structure. . + /// A description of the merchandise structure. . + /// Item class code . + /// If this flag is set to true, no tax exemption is allowed for the line item  (required). + /// A flag to denote whether or not this item may be returned. (required). + /// The duration of the item's warranty (in months) <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value!. + /// Deposit type of the item. + /// A code to denote the tax exemption status from sales and use tax.. + /// The ident of the invoice which is related to this line item . + /// The main pos item id. + /// A qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id . + /// Unique system assigned identifier for the merchandise group.. + /// The amount that reduces the taxable amount of a line item. (required). + /// The id of the taxable TaxableGroup. + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup.. + /// The tare weight of the item.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value!. + /// The original id of the taxable group.. + /// The GS1 designated three digit coupon family code for the manufacturer item. + /// The GS1 designated 6 through 12 digit company prefix for the manufacturer of the item. + /// The ident of the price group the item belongs to in terms of split pricing. + /// A flag to denote that the price of the line item was fixed/cannot be changed. One possible reason is that this price was calculated by a legally certified system such as a scale. Another possibility is that it was retrieved from a barcode.See also SellUnitRetailPriceEntryMethodCode. (required). + /// reference to the root item. + /// list of line item extensions. + /// list of related set items. + /// list of prices. + /// list of line item related taxes. + /// list of line item discounts. + /// list of line item points discounts. + /// line of line item promotion triggers. + /// list of characteristics. + /// list of used coupons. + /// list of line items that caused a condition. + /// list of merchandise groups that are directly linked to the item. + /// External reference number. In case of selling a fuel item, this is the FuelingTransactionID. + /// line item with additional fuel data. + /// list of additional prices. + /// A list of prices used to calculate the line items extended amount out of a package price.i.e. 3 items with price 3/$1.00 will result in 1@ $0.34 and 2@ $0.33. + /// list of generic attributes being valid for the line item. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// The ID used to identify the item.. + /// A unique identifier for the POS department . + /// A flag denoting if this Item is allowed in a WIC transaction  (required). + /// additional return data. + /// additional data for sales order. + /// serial number. + /// line item associate. + /// tax exempt data. + /// Data for additional bonus items which were added to the transaction by the client based on the recommendation of PCE (AdditionalBonusDiscountLineItem). PCE cannot use such line items nor as trigger neither for granting a benefit to it.. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey), string itemID = default(string), string unitOfMeasureCode = default(string), string itemType = default(string), string subItemType = default(string), double? regularUnitPrice = default(double?), double? regularUnitPriceQuantity = default(double?), double? actualUnitPrice = default(double?), double? actualUnitPriceQuantity = default(double?), int? quantity = default(int?), double? units = default(double?), double? extendedAmount = default(double?), double? extendedDiscountAmount = default(double?), string sellUnitRetailPriceEntryMethodCode = default(string), string actionCode = default(string), string reasonCode = default(string), string itemTraceableUnitID = default(string), string quantityInputMethod = default(string), double? length = default(double?), double? width = default(double?), double? height = default(double?), bool? manualWeightInputFlag = default(bool?), string receiptText = default(string), string receiptDescription = default(string), bool? allowFoodStampFlag = default(bool?), string registrationNumber = default(string), bool? negativeLineItemFlag = default(bool?), bool? discountFlag = default(bool?), bool? frequentShopperPointsEligibilityFlag = default(bool?), string discountTypeCode = default(string), string priceChangeTypeCode = default(string), string priceTypeCode = default(string), double? grandExtendedAmount = default(double?), string reasonCodeGroupCode = default(string), string reasonDescription = default(string), bool? notConsideredByLoyaltyEngineFlag = default(bool?), string merchandiseHierarchyGroupName = default(string), string merchandiseHierarchyGroupDescription = default(string), string itemClassCode = default(string), bool? prohibitTaxExemptFlag = default(bool?), bool? prohibitReturnFlag = default(bool?), double? warrantyDuration = default(double?), string depositTypeCode = default(string), string taxExemptCode = default(string), string invoiceID = default(string), string mainPOSItemID = default(string), string mainMerchandiseHierarchyGroupIDQualifier = default(string), string mainMerchandiseHierarchyGroupID = default(string), double? taxReductionAmount = default(double?), string taxGroupID = default(string), string taxReceiptPrintCode = default(string), double? tareCount = default(double?), string originalTaxGroupID = default(string), string manufacturerFamilyCode = default(string), string manufacturerCompanyCode = default(string), string priceGroupID = default(string), bool? fixedPriceFlag = default(bool?), string rootItemID = default(string), List saleReturnLineItemExtensionList = default(List), List saleReturnLineItemCollectionList = default(List), List saleReturnLineItemPriceList = default(List), List saleReturnTaxLineItemList = default(List), List retailPriceModifierList = default(List), List frequentShopperPointsModifierList = default(List), List saleReturnLineItemPromotionTriggerList = default(List), List saleReturnLineItemCharacteristicList = default(List), List saleReturnLineItemModifierCouponList = default(List), List saleReturnLineItemModifierReferenceList = default(List), List saleReturnLineItemMerchandiseHierarchyGroupList = default(List), string externalReferenceID = default(string), ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem fuelSalesLineItem = default(ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem), List saleReturnLineItemAdditionalPriceList = default(List), List saleReturnLineItemSplitPackageList = default(List), List saleReturnLineItemGenericAttributeList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string positemID = default(string), string posdepartmentID = default(string), bool? wicflag = default(bool?), List returnLineItemList = default(List), List saleReturnLineItemSalesOrderList = default(List), List serializedUnitModiferList = default(List), List lineItemAssociateList = default(List), List saleReturnTaxExemptTriggerList = default(List), List additionalBonusLineItemList = default(List), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "regularUnitPrice" is required (not null) + if (regularUnitPrice == null) + { + throw new InvalidDataException("regularUnitPrice is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.RegularUnitPrice = regularUnitPrice; + } + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.Quantity = quantity; + } + // to ensure "extendedAmount" is required (not null) + if (extendedAmount == null) + { + throw new InvalidDataException("extendedAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.ExtendedAmount = extendedAmount; + } + // to ensure "allowFoodStampFlag" is required (not null) + if (allowFoodStampFlag == null) + { + throw new InvalidDataException("allowFoodStampFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.AllowFoodStampFlag = allowFoodStampFlag; + } + // to ensure "negativeLineItemFlag" is required (not null) + if (negativeLineItemFlag == null) + { + throw new InvalidDataException("negativeLineItemFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.NegativeLineItemFlag = negativeLineItemFlag; + } + // to ensure "discountFlag" is required (not null) + if (discountFlag == null) + { + throw new InvalidDataException("discountFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.DiscountFlag = discountFlag; + } + // to ensure "frequentShopperPointsEligibilityFlag" is required (not null) + if (frequentShopperPointsEligibilityFlag == null) + { + throw new InvalidDataException("frequentShopperPointsEligibilityFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.FrequentShopperPointsEligibilityFlag = frequentShopperPointsEligibilityFlag; + } + // to ensure "grandExtendedAmount" is required (not null) + if (grandExtendedAmount == null) + { + throw new InvalidDataException("grandExtendedAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.GrandExtendedAmount = grandExtendedAmount; + } + // to ensure "notConsideredByLoyaltyEngineFlag" is required (not null) + if (notConsideredByLoyaltyEngineFlag == null) + { + throw new InvalidDataException("notConsideredByLoyaltyEngineFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.NotConsideredByLoyaltyEngineFlag = notConsideredByLoyaltyEngineFlag; + } + // to ensure "prohibitTaxExemptFlag" is required (not null) + if (prohibitTaxExemptFlag == null) + { + throw new InvalidDataException("prohibitTaxExemptFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.ProhibitTaxExemptFlag = prohibitTaxExemptFlag; + } + // to ensure "prohibitReturnFlag" is required (not null) + if (prohibitReturnFlag == null) + { + throw new InvalidDataException("prohibitReturnFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.ProhibitReturnFlag = prohibitReturnFlag; + } + // to ensure "taxReductionAmount" is required (not null) + if (taxReductionAmount == null) + { + throw new InvalidDataException("taxReductionAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.TaxReductionAmount = taxReductionAmount; + } + // to ensure "fixedPriceFlag" is required (not null) + if (fixedPriceFlag == null) + { + throw new InvalidDataException("fixedPriceFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.FixedPriceFlag = fixedPriceFlag; + } + // to ensure "wicflag" is required (not null) + if (wicflag == null) + { + throw new InvalidDataException("wicflag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem and cannot be null"); + } + else + { + this.Wicflag = wicflag; + } + this.ItemID = itemID; + this.UnitOfMeasureCode = unitOfMeasureCode; + this.ItemType = itemType; + this.SubItemType = subItemType; + this.RegularUnitPriceQuantity = regularUnitPriceQuantity; + this.ActualUnitPrice = actualUnitPrice; + this.ActualUnitPriceQuantity = actualUnitPriceQuantity; + this.Units = units; + this.ExtendedDiscountAmount = extendedDiscountAmount; + this.SellUnitRetailPriceEntryMethodCode = sellUnitRetailPriceEntryMethodCode; + this.ActionCode = actionCode; + this.ReasonCode = reasonCode; + this.ItemTraceableUnitID = itemTraceableUnitID; + this.QuantityInputMethod = quantityInputMethod; + this.Length = length; + this.Width = width; + this.Height = height; + this.ManualWeightInputFlag = manualWeightInputFlag; + this.ReceiptText = receiptText; + this.ReceiptDescription = receiptDescription; + this.RegistrationNumber = registrationNumber; + this.DiscountTypeCode = discountTypeCode; + this.PriceChangeTypeCode = priceChangeTypeCode; + this.PriceTypeCode = priceTypeCode; + this.ReasonCodeGroupCode = reasonCodeGroupCode; + this.ReasonDescription = reasonDescription; + this.MerchandiseHierarchyGroupName = merchandiseHierarchyGroupName; + this.MerchandiseHierarchyGroupDescription = merchandiseHierarchyGroupDescription; + this.ItemClassCode = itemClassCode; + this.WarrantyDuration = warrantyDuration; + this.DepositTypeCode = depositTypeCode; + this.TaxExemptCode = taxExemptCode; + this.InvoiceID = invoiceID; + this.MainPOSItemID = mainPOSItemID; + this.MainMerchandiseHierarchyGroupIDQualifier = mainMerchandiseHierarchyGroupIDQualifier; + this.MainMerchandiseHierarchyGroupID = mainMerchandiseHierarchyGroupID; + this.TaxGroupID = taxGroupID; + this.TaxReceiptPrintCode = taxReceiptPrintCode; + this.TareCount = tareCount; + this.OriginalTaxGroupID = originalTaxGroupID; + this.ManufacturerFamilyCode = manufacturerFamilyCode; + this.ManufacturerCompanyCode = manufacturerCompanyCode; + this.PriceGroupID = priceGroupID; + this.RootItemID = rootItemID; + this.SaleReturnLineItemExtensionList = saleReturnLineItemExtensionList; + this.SaleReturnLineItemCollectionList = saleReturnLineItemCollectionList; + this.SaleReturnLineItemPriceList = saleReturnLineItemPriceList; + this.SaleReturnTaxLineItemList = saleReturnTaxLineItemList; + this.RetailPriceModifierList = retailPriceModifierList; + this.FrequentShopperPointsModifierList = frequentShopperPointsModifierList; + this.SaleReturnLineItemPromotionTriggerList = saleReturnLineItemPromotionTriggerList; + this.SaleReturnLineItemCharacteristicList = saleReturnLineItemCharacteristicList; + this.SaleReturnLineItemModifierCouponList = saleReturnLineItemModifierCouponList; + this.SaleReturnLineItemModifierReferenceList = saleReturnLineItemModifierReferenceList; + this.SaleReturnLineItemMerchandiseHierarchyGroupList = saleReturnLineItemMerchandiseHierarchyGroupList; + this.ExternalReferenceID = externalReferenceID; + this.FuelSalesLineItem = fuelSalesLineItem; + this.SaleReturnLineItemAdditionalPriceList = saleReturnLineItemAdditionalPriceList; + this.SaleReturnLineItemSplitPackageList = saleReturnLineItemSplitPackageList; + this.SaleReturnLineItemGenericAttributeList = saleReturnLineItemGenericAttributeList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.PositemID = positemID; + this.PosdepartmentID = posdepartmentID; + this.ReturnLineItemList = returnLineItemList; + this.SaleReturnLineItemSalesOrderList = saleReturnLineItemSalesOrderList; + this.SerializedUnitModiferList = serializedUnitModiferList; + this.LineItemAssociateList = lineItemAssociateList; + this.SaleReturnTaxExemptTriggerList = saleReturnTaxExemptTriggerList; + this.AdditionalBonusLineItemList = additionalBonusLineItemList; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey Key { get; set; } + + /// + /// A unique identifier for the item + /// + /// A unique identifier for the item + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// The code used to specify the unit of the item + /// + /// The code used to specify the unit of the item + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// The type code of the line item + /// + /// The type code of the line item + [DataMember(Name="itemType", EmitDefaultValue=false)] + public string ItemType { get; set; } + + /// + /// The sub type code of the line item + /// + /// The sub type code of the line item + [DataMember(Name="subItemType", EmitDefaultValue=false)] + public string SubItemType { get; set; } + + /// + /// The regular per-unit price + /// + /// The regular per-unit price + [DataMember(Name="regularUnitPrice", EmitDefaultValue=false)] + public double? RegularUnitPrice { get; set; } + + /// + /// The number of items the regular price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of items the regular price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="regularUnitPriceQuantity", EmitDefaultValue=false)] + public double? RegularUnitPriceQuantity { get; set; } + + /// + /// The actual per-unit price<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The actual per-unit price<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="actualUnitPrice", EmitDefaultValue=false)] + public double? ActualUnitPrice { get; set; } + + /// + /// The number of items the actual price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of items the actual price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="actualUnitPriceQuantity", EmitDefaultValue=false)] + public double? ActualUnitPriceQuantity { get; set; } + + /// + /// The single quantity of a line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6 + /// + /// The single quantity of a line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6 + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// The units of the line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The units of the line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// The product of multiplying Quantity, Units and ActualUnitPrice.Different calculation rule for ExtendedAmount in case of package prices (see Transaction Calculation Rules). + /// + /// The product of multiplying Quantity, Units and ActualUnitPrice.Different calculation rule for ExtendedAmount in case of package prices (see Transaction Calculation Rules). + [DataMember(Name="extendedAmount", EmitDefaultValue=false)] + public double? ExtendedAmount { get; set; } + + /// + /// The monetary total of all line item discounts that were applied to this Item.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary total of all line item discounts that were applied to this Item.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="extendedDiscountAmount", EmitDefaultValue=false)] + public double? ExtendedDiscountAmount { get; set; } + + /// + /// A code that describes how this line item's retail selling unit price is being entered. + /// + /// A code that describes how this line item's retail selling unit price is being entered. + [DataMember(Name="sellUnitRetailPriceEntryMethodCode", EmitDefaultValue=false)] + public string SellUnitRetailPriceEntryMethodCode { get; set; } + + /// + /// A code denoting the sign of the line item. + /// + /// A code denoting the sign of the line item. + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// A unique retailer defined reason code (e.g. reason for Pay In / Pay Out) + /// + /// A unique retailer defined reason code (e.g. reason for Pay In / Pay Out) + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A universally unique identifier used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item. + /// + /// A universally unique identifier used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item. + [DataMember(Name="itemTraceableUnitID", EmitDefaultValue=false)] + public string ItemTraceableUnitID { get; set; } + + /// + /// Determines how the input of quantity was done on POS. + /// + /// Determines how the input of quantity was done on POS. + [DataMember(Name="quantityInputMethod", EmitDefaultValue=false)] + public string QuantityInputMethod { get; set; } + + /// + /// The registered length <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The registered length <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="length", EmitDefaultValue=false)] + public double? Length { get; set; } + + /// + /// The registered width <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The registered width <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="width", EmitDefaultValue=false)] + public double? Width { get; set; } + + /// + /// The registered height <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The registered height <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + [DataMember(Name="height", EmitDefaultValue=false)] + public double? Height { get; set; } + + /// + /// Describes how the weight was registered  + /// + /// Describes how the weight was registered  + [DataMember(Name="manualWeightInputFlag", EmitDefaultValue=false)] + public bool? ManualWeightInputFlag { get; set; } + + /// + /// The receipt printout text  + /// + /// The receipt printout text  + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// The item description + /// + /// The item description + [DataMember(Name="receiptDescription", EmitDefaultValue=false)] + public string ReceiptDescription { get; set; } + + /// + /// A flag to indicate whether food stamps can be tendered for this item.  + /// + /// A flag to indicate whether food stamps can be tendered for this item.  + [DataMember(Name="allowFoodStampFlag", EmitDefaultValue=false)] + public bool? AllowFoodStampFlag { get; set; } + + /// + /// The complete number which was registered on the POS originally  + /// + /// The complete number which was registered on the POS originally  + [DataMember(Name="registrationNumber", EmitDefaultValue=false)] + public string RegistrationNumber { get; set; } + + /// + /// If this flag is set to true, automatically a negative line item is created when registering this item. Corresponds to ItemSellingRule.NegativeLineItemFlag + /// + /// If this flag is set to true, automatically a negative line item is created when registering this item. Corresponds to ItemSellingRule.NegativeLineItemFlag + [DataMember(Name="negativeLineItemFlag", EmitDefaultValue=false)] + public bool? NegativeLineItemFlag { get; set; } + + /// + /// A flag to indicate whether this ITEM can be discounted. Corresponds to Item.DiscountFlag  + /// + /// A flag to indicate whether this ITEM can be discounted. Corresponds to Item.DiscountFlag  + [DataMember(Name="discountFlag", EmitDefaultValue=false)] + public bool? DiscountFlag { get; set; } + + /// + /// A flag to denote that the Item is eligible for frequent shopper points. Corresponds to ItemSellingRule.FrequentShopperPointsEligibilityFlag  + /// + /// A flag to denote that the Item is eligible for frequent shopper points. Corresponds to ItemSellingRule.FrequentShopperPointsEligibilityFlag  + [DataMember(Name="frequentShopperPointsEligibilityFlag", EmitDefaultValue=false)] + public bool? FrequentShopperPointsEligibilityFlag { get; set; } + + /// + /// A code which is used by the loyalty engine in order to determine whether the item can get rebate/points; possible values: 0..9 Corresponds to ItemSellingRule.DiscountTypeCode + /// + /// A code which is used by the loyalty engine in order to determine whether the item can get rebate/points; possible values: 0..9 Corresponds to ItemSellingRule.DiscountTypeCode + [DataMember(Name="discountTypeCode", EmitDefaultValue=false)] + public string DiscountTypeCode { get; set; } + + /// + /// Describes how the price of the item can be changed on POS.Corresponds to ItemSellingRule.PriceChangeTypeCode + /// + /// Describes how the price of the item can be changed on POS.Corresponds to ItemSellingRule.PriceChangeTypeCode + [DataMember(Name="priceChangeTypeCode", EmitDefaultValue=false)] + public string PriceChangeTypeCode { get; set; } + + /// + /// The price type code. + /// + /// The price type code. + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// The line item total including taxes and discounts  + /// + /// The line item total including taxes and discounts  + [DataMember(Name="grandExtendedAmount", EmitDefaultValue=false)] + public double? GrandExtendedAmount { get; set; } + + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// A narrative description describing the use of the retailer assigned reason code.  + /// + /// A narrative description describing the use of the retailer assigned reason code.  + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// Determines whether the loyalty engine should care about the line item as a trigger; this information is needed because it may happen that another process (e.g. a return regarding to an existing transaction) applies rules for the line item which the loyalty engine is not allowed to change  + /// + /// Determines whether the loyalty engine should care about the line item as a trigger; this information is needed because it may happen that another process (e.g. a return regarding to an existing transaction) applies rules for the line item which the loyalty engine is not allowed to change  + [DataMember(Name="notConsideredByLoyaltyEngineFlag", EmitDefaultValue=false)] + public bool? NotConsideredByLoyaltyEngineFlag { get; set; } + + /// + /// The business name for the merchandise structure.  + /// + /// The business name for the merchandise structure.  + [DataMember(Name="merchandiseHierarchyGroupName", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupName { get; set; } + + /// + /// A description of the merchandise structure.  + /// + /// A description of the merchandise structure.  + [DataMember(Name="merchandiseHierarchyGroupDescription", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupDescription { get; set; } + + /// + /// Item class code  + /// + /// Item class code  + [DataMember(Name="itemClassCode", EmitDefaultValue=false)] + public string ItemClassCode { get; set; } + + /// + /// If this flag is set to true, no tax exemption is allowed for the line item  + /// + /// If this flag is set to true, no tax exemption is allowed for the line item  + [DataMember(Name="prohibitTaxExemptFlag", EmitDefaultValue=false)] + public bool? ProhibitTaxExemptFlag { get; set; } + + /// + /// A flag to denote whether or not this item may be returned. + /// + /// A flag to denote whether or not this item may be returned. + [DataMember(Name="prohibitReturnFlag", EmitDefaultValue=false)] + public bool? ProhibitReturnFlag { get; set; } + + /// + /// The duration of the item's warranty (in months) <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + /// + /// The duration of the item's warranty (in months) <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + [DataMember(Name="warrantyDuration", EmitDefaultValue=false)] + public double? WarrantyDuration { get; set; } + + /// + /// Deposit type of the item + /// + /// Deposit type of the item + [DataMember(Name="depositTypeCode", EmitDefaultValue=false)] + public string DepositTypeCode { get; set; } + + /// + /// A code to denote the tax exemption status from sales and use tax. + /// + /// A code to denote the tax exemption status from sales and use tax. + [DataMember(Name="taxExemptCode", EmitDefaultValue=false)] + public string TaxExemptCode { get; set; } + + /// + /// The ident of the invoice which is related to this line item  + /// + /// The ident of the invoice which is related to this line item  + [DataMember(Name="invoiceID", EmitDefaultValue=false)] + public string InvoiceID { get; set; } + + /// + /// The main pos item id + /// + /// The main pos item id + [DataMember(Name="mainPOSItemID", EmitDefaultValue=false)] + public string MainPOSItemID { get; set; } + + /// + /// A qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + /// + /// A qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + [DataMember(Name="mainMerchandiseHierarchyGroupIDQualifier", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupIDQualifier { get; set; } + + /// + /// Unique system assigned identifier for the merchandise group. + /// + /// Unique system assigned identifier for the merchandise group. + [DataMember(Name="mainMerchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupID { get; set; } + + /// + /// The amount that reduces the taxable amount of a line item. + /// + /// The amount that reduces the taxable amount of a line item. + [DataMember(Name="taxReductionAmount", EmitDefaultValue=false)] + public double? TaxReductionAmount { get; set; } + + /// + /// The id of the taxable TaxableGroup + /// + /// The id of the taxable TaxableGroup + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + [DataMember(Name="taxReceiptPrintCode", EmitDefaultValue=false)] + public string TaxReceiptPrintCode { get; set; } + + /// + /// The tare weight of the item.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The tare weight of the item.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + [DataMember(Name="tareCount", EmitDefaultValue=false)] + public double? TareCount { get; set; } + + /// + /// The original id of the taxable group. + /// + /// The original id of the taxable group. + [DataMember(Name="originalTaxGroupID", EmitDefaultValue=false)] + public string OriginalTaxGroupID { get; set; } + + /// + /// The GS1 designated three digit coupon family code for the manufacturer item + /// + /// The GS1 designated three digit coupon family code for the manufacturer item + [DataMember(Name="manufacturerFamilyCode", EmitDefaultValue=false)] + public string ManufacturerFamilyCode { get; set; } + + /// + /// The GS1 designated 6 through 12 digit company prefix for the manufacturer of the item + /// + /// The GS1 designated 6 through 12 digit company prefix for the manufacturer of the item + [DataMember(Name="manufacturerCompanyCode", EmitDefaultValue=false)] + public string ManufacturerCompanyCode { get; set; } + + /// + /// The ident of the price group the item belongs to in terms of split pricing + /// + /// The ident of the price group the item belongs to in terms of split pricing + [DataMember(Name="priceGroupID", EmitDefaultValue=false)] + public string PriceGroupID { get; set; } + + /// + /// A flag to denote that the price of the line item was fixed/cannot be changed. One possible reason is that this price was calculated by a legally certified system such as a scale. Another possibility is that it was retrieved from a barcode.See also SellUnitRetailPriceEntryMethodCode. + /// + /// A flag to denote that the price of the line item was fixed/cannot be changed. One possible reason is that this price was calculated by a legally certified system such as a scale. Another possibility is that it was retrieved from a barcode.See also SellUnitRetailPriceEntryMethodCode. + [DataMember(Name="fixedPriceFlag", EmitDefaultValue=false)] + public bool? FixedPriceFlag { get; set; } + + /// + /// reference to the root item + /// + /// reference to the root item + [DataMember(Name="rootItemID", EmitDefaultValue=false)] + public string RootItemID { get; set; } + + /// + /// list of line item extensions + /// + /// list of line item extensions + [DataMember(Name="saleReturnLineItemExtensionList", EmitDefaultValue=false)] + public List SaleReturnLineItemExtensionList { get; set; } + + /// + /// list of related set items + /// + /// list of related set items + [DataMember(Name="saleReturnLineItemCollectionList", EmitDefaultValue=false)] + public List SaleReturnLineItemCollectionList { get; set; } + + /// + /// list of prices + /// + /// list of prices + [DataMember(Name="saleReturnLineItemPriceList", EmitDefaultValue=false)] + public List SaleReturnLineItemPriceList { get; set; } + + /// + /// list of line item related taxes + /// + /// list of line item related taxes + [DataMember(Name="saleReturnTaxLineItemList", EmitDefaultValue=false)] + public List SaleReturnTaxLineItemList { get; set; } + + /// + /// list of line item discounts + /// + /// list of line item discounts + [DataMember(Name="retailPriceModifierList", EmitDefaultValue=false)] + public List RetailPriceModifierList { get; set; } + + /// + /// list of line item points discounts + /// + /// list of line item points discounts + [DataMember(Name="frequentShopperPointsModifierList", EmitDefaultValue=false)] + public List FrequentShopperPointsModifierList { get; set; } + + /// + /// line of line item promotion triggers + /// + /// line of line item promotion triggers + [DataMember(Name="saleReturnLineItemPromotionTriggerList", EmitDefaultValue=false)] + public List SaleReturnLineItemPromotionTriggerList { get; set; } + + /// + /// list of characteristics + /// + /// list of characteristics + [DataMember(Name="saleReturnLineItemCharacteristicList", EmitDefaultValue=false)] + public List SaleReturnLineItemCharacteristicList { get; set; } + + /// + /// list of used coupons + /// + /// list of used coupons + [DataMember(Name="saleReturnLineItemModifierCouponList", EmitDefaultValue=false)] + public List SaleReturnLineItemModifierCouponList { get; set; } + + /// + /// list of line items that caused a condition + /// + /// list of line items that caused a condition + [DataMember(Name="saleReturnLineItemModifierReferenceList", EmitDefaultValue=false)] + public List SaleReturnLineItemModifierReferenceList { get; set; } + + /// + /// list of merchandise groups that are directly linked to the item + /// + /// list of merchandise groups that are directly linked to the item + [DataMember(Name="saleReturnLineItemMerchandiseHierarchyGroupList", EmitDefaultValue=false)] + public List SaleReturnLineItemMerchandiseHierarchyGroupList { get; set; } + + /// + /// External reference number. In case of selling a fuel item, this is the FuelingTransactionID + /// + /// External reference number. In case of selling a fuel item, this is the FuelingTransactionID + [DataMember(Name="externalReferenceID", EmitDefaultValue=false)] + public string ExternalReferenceID { get; set; } + + /// + /// line item with additional fuel data + /// + /// line item with additional fuel data + [DataMember(Name="fuelSalesLineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem FuelSalesLineItem { get; set; } + + /// + /// list of additional prices + /// + /// list of additional prices + [DataMember(Name="saleReturnLineItemAdditionalPriceList", EmitDefaultValue=false)] + public List SaleReturnLineItemAdditionalPriceList { get; set; } + + /// + /// A list of prices used to calculate the line items extended amount out of a package price.i.e. 3 items with price 3/$1.00 will result in 1@ $0.34 and 2@ $0.33 + /// + /// A list of prices used to calculate the line items extended amount out of a package price.i.e. 3 items with price 3/$1.00 will result in 1@ $0.34 and 2@ $0.33 + [DataMember(Name="saleReturnLineItemSplitPackageList", EmitDefaultValue=false)] + public List SaleReturnLineItemSplitPackageList { get; set; } + + /// + /// list of generic attributes being valid for the line item + /// + /// list of generic attributes being valid for the line item + [DataMember(Name="saleReturnLineItemGenericAttributeList", EmitDefaultValue=false)] + public List SaleReturnLineItemGenericAttributeList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// The ID used to identify the item. + /// + /// The ID used to identify the item. + [DataMember(Name="positemID", EmitDefaultValue=false)] + public string PositemID { get; set; } + + /// + /// A unique identifier for the POS department  + /// + /// A unique identifier for the POS department  + [DataMember(Name="posdepartmentID", EmitDefaultValue=false)] + public string PosdepartmentID { get; set; } + + /// + /// A flag denoting if this Item is allowed in a WIC transaction  + /// + /// A flag denoting if this Item is allowed in a WIC transaction  + [DataMember(Name="wicflag", EmitDefaultValue=false)] + public bool? Wicflag { get; set; } + + /// + /// additional return data + /// + /// additional return data + [DataMember(Name="returnLineItemList", EmitDefaultValue=false)] + public List ReturnLineItemList { get; set; } + + /// + /// additional data for sales order + /// + /// additional data for sales order + [DataMember(Name="saleReturnLineItemSalesOrderList", EmitDefaultValue=false)] + public List SaleReturnLineItemSalesOrderList { get; set; } + + /// + /// serial number + /// + /// serial number + [DataMember(Name="serializedUnitModiferList", EmitDefaultValue=false)] + public List SerializedUnitModiferList { get; set; } + + /// + /// line item associate + /// + /// line item associate + [DataMember(Name="lineItemAssociateList", EmitDefaultValue=false)] + public List LineItemAssociateList { get; set; } + + /// + /// tax exempt data + /// + /// tax exempt data + [DataMember(Name="saleReturnTaxExemptTriggerList", EmitDefaultValue=false)] + public List SaleReturnTaxExemptTriggerList { get; set; } + + /// + /// Data for additional bonus items which were added to the transaction by the client based on the recommendation of PCE (AdditionalBonusDiscountLineItem). PCE cannot use such line items nor as trigger neither for granting a benefit to it. + /// + /// Data for additional bonus items which were added to the transaction by the client based on the recommendation of PCE (AdditionalBonusDiscountLineItem). PCE cannot use such line items nor as trigger neither for granting a benefit to it. + [DataMember(Name="additionalBonusLineItemList", EmitDefaultValue=false)] + public List AdditionalBonusLineItemList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" ItemType: ").Append(ItemType).Append("\n"); + sb.Append(" SubItemType: ").Append(SubItemType).Append("\n"); + sb.Append(" RegularUnitPrice: ").Append(RegularUnitPrice).Append("\n"); + sb.Append(" RegularUnitPriceQuantity: ").Append(RegularUnitPriceQuantity).Append("\n"); + sb.Append(" ActualUnitPrice: ").Append(ActualUnitPrice).Append("\n"); + sb.Append(" ActualUnitPriceQuantity: ").Append(ActualUnitPriceQuantity).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" ExtendedAmount: ").Append(ExtendedAmount).Append("\n"); + sb.Append(" ExtendedDiscountAmount: ").Append(ExtendedDiscountAmount).Append("\n"); + sb.Append(" SellUnitRetailPriceEntryMethodCode: ").Append(SellUnitRetailPriceEntryMethodCode).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ItemTraceableUnitID: ").Append(ItemTraceableUnitID).Append("\n"); + sb.Append(" QuantityInputMethod: ").Append(QuantityInputMethod).Append("\n"); + sb.Append(" Length: ").Append(Length).Append("\n"); + sb.Append(" Width: ").Append(Width).Append("\n"); + sb.Append(" Height: ").Append(Height).Append("\n"); + sb.Append(" ManualWeightInputFlag: ").Append(ManualWeightInputFlag).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" ReceiptDescription: ").Append(ReceiptDescription).Append("\n"); + sb.Append(" AllowFoodStampFlag: ").Append(AllowFoodStampFlag).Append("\n"); + sb.Append(" RegistrationNumber: ").Append(RegistrationNumber).Append("\n"); + sb.Append(" NegativeLineItemFlag: ").Append(NegativeLineItemFlag).Append("\n"); + sb.Append(" DiscountFlag: ").Append(DiscountFlag).Append("\n"); + sb.Append(" FrequentShopperPointsEligibilityFlag: ").Append(FrequentShopperPointsEligibilityFlag).Append("\n"); + sb.Append(" DiscountTypeCode: ").Append(DiscountTypeCode).Append("\n"); + sb.Append(" PriceChangeTypeCode: ").Append(PriceChangeTypeCode).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" GrandExtendedAmount: ").Append(GrandExtendedAmount).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" NotConsideredByLoyaltyEngineFlag: ").Append(NotConsideredByLoyaltyEngineFlag).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupName: ").Append(MerchandiseHierarchyGroupName).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupDescription: ").Append(MerchandiseHierarchyGroupDescription).Append("\n"); + sb.Append(" ItemClassCode: ").Append(ItemClassCode).Append("\n"); + sb.Append(" ProhibitTaxExemptFlag: ").Append(ProhibitTaxExemptFlag).Append("\n"); + sb.Append(" ProhibitReturnFlag: ").Append(ProhibitReturnFlag).Append("\n"); + sb.Append(" WarrantyDuration: ").Append(WarrantyDuration).Append("\n"); + sb.Append(" DepositTypeCode: ").Append(DepositTypeCode).Append("\n"); + sb.Append(" TaxExemptCode: ").Append(TaxExemptCode).Append("\n"); + sb.Append(" InvoiceID: ").Append(InvoiceID).Append("\n"); + sb.Append(" MainPOSItemID: ").Append(MainPOSItemID).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupIDQualifier: ").Append(MainMerchandiseHierarchyGroupIDQualifier).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupID: ").Append(MainMerchandiseHierarchyGroupID).Append("\n"); + sb.Append(" TaxReductionAmount: ").Append(TaxReductionAmount).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" TaxReceiptPrintCode: ").Append(TaxReceiptPrintCode).Append("\n"); + sb.Append(" TareCount: ").Append(TareCount).Append("\n"); + sb.Append(" OriginalTaxGroupID: ").Append(OriginalTaxGroupID).Append("\n"); + sb.Append(" ManufacturerFamilyCode: ").Append(ManufacturerFamilyCode).Append("\n"); + sb.Append(" ManufacturerCompanyCode: ").Append(ManufacturerCompanyCode).Append("\n"); + sb.Append(" PriceGroupID: ").Append(PriceGroupID).Append("\n"); + sb.Append(" FixedPriceFlag: ").Append(FixedPriceFlag).Append("\n"); + sb.Append(" RootItemID: ").Append(RootItemID).Append("\n"); + sb.Append(" SaleReturnLineItemExtensionList: ").Append(SaleReturnLineItemExtensionList).Append("\n"); + sb.Append(" SaleReturnLineItemCollectionList: ").Append(SaleReturnLineItemCollectionList).Append("\n"); + sb.Append(" SaleReturnLineItemPriceList: ").Append(SaleReturnLineItemPriceList).Append("\n"); + sb.Append(" SaleReturnTaxLineItemList: ").Append(SaleReturnTaxLineItemList).Append("\n"); + sb.Append(" RetailPriceModifierList: ").Append(RetailPriceModifierList).Append("\n"); + sb.Append(" FrequentShopperPointsModifierList: ").Append(FrequentShopperPointsModifierList).Append("\n"); + sb.Append(" SaleReturnLineItemPromotionTriggerList: ").Append(SaleReturnLineItemPromotionTriggerList).Append("\n"); + sb.Append(" SaleReturnLineItemCharacteristicList: ").Append(SaleReturnLineItemCharacteristicList).Append("\n"); + sb.Append(" SaleReturnLineItemModifierCouponList: ").Append(SaleReturnLineItemModifierCouponList).Append("\n"); + sb.Append(" SaleReturnLineItemModifierReferenceList: ").Append(SaleReturnLineItemModifierReferenceList).Append("\n"); + sb.Append(" SaleReturnLineItemMerchandiseHierarchyGroupList: ").Append(SaleReturnLineItemMerchandiseHierarchyGroupList).Append("\n"); + sb.Append(" ExternalReferenceID: ").Append(ExternalReferenceID).Append("\n"); + sb.Append(" FuelSalesLineItem: ").Append(FuelSalesLineItem).Append("\n"); + sb.Append(" SaleReturnLineItemAdditionalPriceList: ").Append(SaleReturnLineItemAdditionalPriceList).Append("\n"); + sb.Append(" SaleReturnLineItemSplitPackageList: ").Append(SaleReturnLineItemSplitPackageList).Append("\n"); + sb.Append(" SaleReturnLineItemGenericAttributeList: ").Append(SaleReturnLineItemGenericAttributeList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" PositemID: ").Append(PositemID).Append("\n"); + sb.Append(" PosdepartmentID: ").Append(PosdepartmentID).Append("\n"); + sb.Append(" Wicflag: ").Append(Wicflag).Append("\n"); + sb.Append(" ReturnLineItemList: ").Append(ReturnLineItemList).Append("\n"); + sb.Append(" SaleReturnLineItemSalesOrderList: ").Append(SaleReturnLineItemSalesOrderList).Append("\n"); + sb.Append(" SerializedUnitModiferList: ").Append(SerializedUnitModiferList).Append("\n"); + sb.Append(" LineItemAssociateList: ").Append(LineItemAssociateList).Append("\n"); + sb.Append(" SaleReturnTaxExemptTriggerList: ").Append(SaleReturnTaxExemptTriggerList).Append("\n"); + sb.Append(" AdditionalBonusLineItemList: ").Append(AdditionalBonusLineItemList).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.ItemType == input.ItemType || + (this.ItemType != null && + this.ItemType.Equals(input.ItemType)) + ) && + ( + this.SubItemType == input.SubItemType || + (this.SubItemType != null && + this.SubItemType.Equals(input.SubItemType)) + ) && + ( + this.RegularUnitPrice == input.RegularUnitPrice || + (this.RegularUnitPrice != null && + this.RegularUnitPrice.Equals(input.RegularUnitPrice)) + ) && + ( + this.RegularUnitPriceQuantity == input.RegularUnitPriceQuantity || + (this.RegularUnitPriceQuantity != null && + this.RegularUnitPriceQuantity.Equals(input.RegularUnitPriceQuantity)) + ) && + ( + this.ActualUnitPrice == input.ActualUnitPrice || + (this.ActualUnitPrice != null && + this.ActualUnitPrice.Equals(input.ActualUnitPrice)) + ) && + ( + this.ActualUnitPriceQuantity == input.ActualUnitPriceQuantity || + (this.ActualUnitPriceQuantity != null && + this.ActualUnitPriceQuantity.Equals(input.ActualUnitPriceQuantity)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.ExtendedAmount == input.ExtendedAmount || + (this.ExtendedAmount != null && + this.ExtendedAmount.Equals(input.ExtendedAmount)) + ) && + ( + this.ExtendedDiscountAmount == input.ExtendedDiscountAmount || + (this.ExtendedDiscountAmount != null && + this.ExtendedDiscountAmount.Equals(input.ExtendedDiscountAmount)) + ) && + ( + this.SellUnitRetailPriceEntryMethodCode == input.SellUnitRetailPriceEntryMethodCode || + (this.SellUnitRetailPriceEntryMethodCode != null && + this.SellUnitRetailPriceEntryMethodCode.Equals(input.SellUnitRetailPriceEntryMethodCode)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ItemTraceableUnitID == input.ItemTraceableUnitID || + (this.ItemTraceableUnitID != null && + this.ItemTraceableUnitID.Equals(input.ItemTraceableUnitID)) + ) && + ( + this.QuantityInputMethod == input.QuantityInputMethod || + (this.QuantityInputMethod != null && + this.QuantityInputMethod.Equals(input.QuantityInputMethod)) + ) && + ( + this.Length == input.Length || + (this.Length != null && + this.Length.Equals(input.Length)) + ) && + ( + this.Width == input.Width || + (this.Width != null && + this.Width.Equals(input.Width)) + ) && + ( + this.Height == input.Height || + (this.Height != null && + this.Height.Equals(input.Height)) + ) && + ( + this.ManualWeightInputFlag == input.ManualWeightInputFlag || + (this.ManualWeightInputFlag != null && + this.ManualWeightInputFlag.Equals(input.ManualWeightInputFlag)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.ReceiptDescription == input.ReceiptDescription || + (this.ReceiptDescription != null && + this.ReceiptDescription.Equals(input.ReceiptDescription)) + ) && + ( + this.AllowFoodStampFlag == input.AllowFoodStampFlag || + (this.AllowFoodStampFlag != null && + this.AllowFoodStampFlag.Equals(input.AllowFoodStampFlag)) + ) && + ( + this.RegistrationNumber == input.RegistrationNumber || + (this.RegistrationNumber != null && + this.RegistrationNumber.Equals(input.RegistrationNumber)) + ) && + ( + this.NegativeLineItemFlag == input.NegativeLineItemFlag || + (this.NegativeLineItemFlag != null && + this.NegativeLineItemFlag.Equals(input.NegativeLineItemFlag)) + ) && + ( + this.DiscountFlag == input.DiscountFlag || + (this.DiscountFlag != null && + this.DiscountFlag.Equals(input.DiscountFlag)) + ) && + ( + this.FrequentShopperPointsEligibilityFlag == input.FrequentShopperPointsEligibilityFlag || + (this.FrequentShopperPointsEligibilityFlag != null && + this.FrequentShopperPointsEligibilityFlag.Equals(input.FrequentShopperPointsEligibilityFlag)) + ) && + ( + this.DiscountTypeCode == input.DiscountTypeCode || + (this.DiscountTypeCode != null && + this.DiscountTypeCode.Equals(input.DiscountTypeCode)) + ) && + ( + this.PriceChangeTypeCode == input.PriceChangeTypeCode || + (this.PriceChangeTypeCode != null && + this.PriceChangeTypeCode.Equals(input.PriceChangeTypeCode)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.GrandExtendedAmount == input.GrandExtendedAmount || + (this.GrandExtendedAmount != null && + this.GrandExtendedAmount.Equals(input.GrandExtendedAmount)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.NotConsideredByLoyaltyEngineFlag == input.NotConsideredByLoyaltyEngineFlag || + (this.NotConsideredByLoyaltyEngineFlag != null && + this.NotConsideredByLoyaltyEngineFlag.Equals(input.NotConsideredByLoyaltyEngineFlag)) + ) && + ( + this.MerchandiseHierarchyGroupName == input.MerchandiseHierarchyGroupName || + (this.MerchandiseHierarchyGroupName != null && + this.MerchandiseHierarchyGroupName.Equals(input.MerchandiseHierarchyGroupName)) + ) && + ( + this.MerchandiseHierarchyGroupDescription == input.MerchandiseHierarchyGroupDescription || + (this.MerchandiseHierarchyGroupDescription != null && + this.MerchandiseHierarchyGroupDescription.Equals(input.MerchandiseHierarchyGroupDescription)) + ) && + ( + this.ItemClassCode == input.ItemClassCode || + (this.ItemClassCode != null && + this.ItemClassCode.Equals(input.ItemClassCode)) + ) && + ( + this.ProhibitTaxExemptFlag == input.ProhibitTaxExemptFlag || + (this.ProhibitTaxExemptFlag != null && + this.ProhibitTaxExemptFlag.Equals(input.ProhibitTaxExemptFlag)) + ) && + ( + this.ProhibitReturnFlag == input.ProhibitReturnFlag || + (this.ProhibitReturnFlag != null && + this.ProhibitReturnFlag.Equals(input.ProhibitReturnFlag)) + ) && + ( + this.WarrantyDuration == input.WarrantyDuration || + (this.WarrantyDuration != null && + this.WarrantyDuration.Equals(input.WarrantyDuration)) + ) && + ( + this.DepositTypeCode == input.DepositTypeCode || + (this.DepositTypeCode != null && + this.DepositTypeCode.Equals(input.DepositTypeCode)) + ) && + ( + this.TaxExemptCode == input.TaxExemptCode || + (this.TaxExemptCode != null && + this.TaxExemptCode.Equals(input.TaxExemptCode)) + ) && + ( + this.InvoiceID == input.InvoiceID || + (this.InvoiceID != null && + this.InvoiceID.Equals(input.InvoiceID)) + ) && + ( + this.MainPOSItemID == input.MainPOSItemID || + (this.MainPOSItemID != null && + this.MainPOSItemID.Equals(input.MainPOSItemID)) + ) && + ( + this.MainMerchandiseHierarchyGroupIDQualifier == input.MainMerchandiseHierarchyGroupIDQualifier || + (this.MainMerchandiseHierarchyGroupIDQualifier != null && + this.MainMerchandiseHierarchyGroupIDQualifier.Equals(input.MainMerchandiseHierarchyGroupIDQualifier)) + ) && + ( + this.MainMerchandiseHierarchyGroupID == input.MainMerchandiseHierarchyGroupID || + (this.MainMerchandiseHierarchyGroupID != null && + this.MainMerchandiseHierarchyGroupID.Equals(input.MainMerchandiseHierarchyGroupID)) + ) && + ( + this.TaxReductionAmount == input.TaxReductionAmount || + (this.TaxReductionAmount != null && + this.TaxReductionAmount.Equals(input.TaxReductionAmount)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.TaxReceiptPrintCode == input.TaxReceiptPrintCode || + (this.TaxReceiptPrintCode != null && + this.TaxReceiptPrintCode.Equals(input.TaxReceiptPrintCode)) + ) && + ( + this.TareCount == input.TareCount || + (this.TareCount != null && + this.TareCount.Equals(input.TareCount)) + ) && + ( + this.OriginalTaxGroupID == input.OriginalTaxGroupID || + (this.OriginalTaxGroupID != null && + this.OriginalTaxGroupID.Equals(input.OriginalTaxGroupID)) + ) && + ( + this.ManufacturerFamilyCode == input.ManufacturerFamilyCode || + (this.ManufacturerFamilyCode != null && + this.ManufacturerFamilyCode.Equals(input.ManufacturerFamilyCode)) + ) && + ( + this.ManufacturerCompanyCode == input.ManufacturerCompanyCode || + (this.ManufacturerCompanyCode != null && + this.ManufacturerCompanyCode.Equals(input.ManufacturerCompanyCode)) + ) && + ( + this.PriceGroupID == input.PriceGroupID || + (this.PriceGroupID != null && + this.PriceGroupID.Equals(input.PriceGroupID)) + ) && + ( + this.FixedPriceFlag == input.FixedPriceFlag || + (this.FixedPriceFlag != null && + this.FixedPriceFlag.Equals(input.FixedPriceFlag)) + ) && + ( + this.RootItemID == input.RootItemID || + (this.RootItemID != null && + this.RootItemID.Equals(input.RootItemID)) + ) && + ( + this.SaleReturnLineItemExtensionList == input.SaleReturnLineItemExtensionList || + this.SaleReturnLineItemExtensionList != null && + this.SaleReturnLineItemExtensionList.SequenceEqual(input.SaleReturnLineItemExtensionList) + ) && + ( + this.SaleReturnLineItemCollectionList == input.SaleReturnLineItemCollectionList || + this.SaleReturnLineItemCollectionList != null && + this.SaleReturnLineItemCollectionList.SequenceEqual(input.SaleReturnLineItemCollectionList) + ) && + ( + this.SaleReturnLineItemPriceList == input.SaleReturnLineItemPriceList || + this.SaleReturnLineItemPriceList != null && + this.SaleReturnLineItemPriceList.SequenceEqual(input.SaleReturnLineItemPriceList) + ) && + ( + this.SaleReturnTaxLineItemList == input.SaleReturnTaxLineItemList || + this.SaleReturnTaxLineItemList != null && + this.SaleReturnTaxLineItemList.SequenceEqual(input.SaleReturnTaxLineItemList) + ) && + ( + this.RetailPriceModifierList == input.RetailPriceModifierList || + this.RetailPriceModifierList != null && + this.RetailPriceModifierList.SequenceEqual(input.RetailPriceModifierList) + ) && + ( + this.FrequentShopperPointsModifierList == input.FrequentShopperPointsModifierList || + this.FrequentShopperPointsModifierList != null && + this.FrequentShopperPointsModifierList.SequenceEqual(input.FrequentShopperPointsModifierList) + ) && + ( + this.SaleReturnLineItemPromotionTriggerList == input.SaleReturnLineItemPromotionTriggerList || + this.SaleReturnLineItemPromotionTriggerList != null && + this.SaleReturnLineItemPromotionTriggerList.SequenceEqual(input.SaleReturnLineItemPromotionTriggerList) + ) && + ( + this.SaleReturnLineItemCharacteristicList == input.SaleReturnLineItemCharacteristicList || + this.SaleReturnLineItemCharacteristicList != null && + this.SaleReturnLineItemCharacteristicList.SequenceEqual(input.SaleReturnLineItemCharacteristicList) + ) && + ( + this.SaleReturnLineItemModifierCouponList == input.SaleReturnLineItemModifierCouponList || + this.SaleReturnLineItemModifierCouponList != null && + this.SaleReturnLineItemModifierCouponList.SequenceEqual(input.SaleReturnLineItemModifierCouponList) + ) && + ( + this.SaleReturnLineItemModifierReferenceList == input.SaleReturnLineItemModifierReferenceList || + this.SaleReturnLineItemModifierReferenceList != null && + this.SaleReturnLineItemModifierReferenceList.SequenceEqual(input.SaleReturnLineItemModifierReferenceList) + ) && + ( + this.SaleReturnLineItemMerchandiseHierarchyGroupList == input.SaleReturnLineItemMerchandiseHierarchyGroupList || + this.SaleReturnLineItemMerchandiseHierarchyGroupList != null && + this.SaleReturnLineItemMerchandiseHierarchyGroupList.SequenceEqual(input.SaleReturnLineItemMerchandiseHierarchyGroupList) + ) && + ( + this.ExternalReferenceID == input.ExternalReferenceID || + (this.ExternalReferenceID != null && + this.ExternalReferenceID.Equals(input.ExternalReferenceID)) + ) && + ( + this.FuelSalesLineItem == input.FuelSalesLineItem || + (this.FuelSalesLineItem != null && + this.FuelSalesLineItem.Equals(input.FuelSalesLineItem)) + ) && + ( + this.SaleReturnLineItemAdditionalPriceList == input.SaleReturnLineItemAdditionalPriceList || + this.SaleReturnLineItemAdditionalPriceList != null && + this.SaleReturnLineItemAdditionalPriceList.SequenceEqual(input.SaleReturnLineItemAdditionalPriceList) + ) && + ( + this.SaleReturnLineItemSplitPackageList == input.SaleReturnLineItemSplitPackageList || + this.SaleReturnLineItemSplitPackageList != null && + this.SaleReturnLineItemSplitPackageList.SequenceEqual(input.SaleReturnLineItemSplitPackageList) + ) && + ( + this.SaleReturnLineItemGenericAttributeList == input.SaleReturnLineItemGenericAttributeList || + this.SaleReturnLineItemGenericAttributeList != null && + this.SaleReturnLineItemGenericAttributeList.SequenceEqual(input.SaleReturnLineItemGenericAttributeList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.PositemID == input.PositemID || + (this.PositemID != null && + this.PositemID.Equals(input.PositemID)) + ) && + ( + this.PosdepartmentID == input.PosdepartmentID || + (this.PosdepartmentID != null && + this.PosdepartmentID.Equals(input.PosdepartmentID)) + ) && + ( + this.Wicflag == input.Wicflag || + (this.Wicflag != null && + this.Wicflag.Equals(input.Wicflag)) + ) && + ( + this.ReturnLineItemList == input.ReturnLineItemList || + this.ReturnLineItemList != null && + this.ReturnLineItemList.SequenceEqual(input.ReturnLineItemList) + ) && + ( + this.SaleReturnLineItemSalesOrderList == input.SaleReturnLineItemSalesOrderList || + this.SaleReturnLineItemSalesOrderList != null && + this.SaleReturnLineItemSalesOrderList.SequenceEqual(input.SaleReturnLineItemSalesOrderList) + ) && + ( + this.SerializedUnitModiferList == input.SerializedUnitModiferList || + this.SerializedUnitModiferList != null && + this.SerializedUnitModiferList.SequenceEqual(input.SerializedUnitModiferList) + ) && + ( + this.LineItemAssociateList == input.LineItemAssociateList || + this.LineItemAssociateList != null && + this.LineItemAssociateList.SequenceEqual(input.LineItemAssociateList) + ) && + ( + this.SaleReturnTaxExemptTriggerList == input.SaleReturnTaxExemptTriggerList || + this.SaleReturnTaxExemptTriggerList != null && + this.SaleReturnTaxExemptTriggerList.SequenceEqual(input.SaleReturnTaxExemptTriggerList) + ) && + ( + this.AdditionalBonusLineItemList == input.AdditionalBonusLineItemList || + this.AdditionalBonusLineItemList != null && + this.AdditionalBonusLineItemList.SequenceEqual(input.AdditionalBonusLineItemList) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.ItemType != null) + hashCode = hashCode * 59 + this.ItemType.GetHashCode(); + if (this.SubItemType != null) + hashCode = hashCode * 59 + this.SubItemType.GetHashCode(); + if (this.RegularUnitPrice != null) + hashCode = hashCode * 59 + this.RegularUnitPrice.GetHashCode(); + if (this.RegularUnitPriceQuantity != null) + hashCode = hashCode * 59 + this.RegularUnitPriceQuantity.GetHashCode(); + if (this.ActualUnitPrice != null) + hashCode = hashCode * 59 + this.ActualUnitPrice.GetHashCode(); + if (this.ActualUnitPriceQuantity != null) + hashCode = hashCode * 59 + this.ActualUnitPriceQuantity.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.ExtendedAmount != null) + hashCode = hashCode * 59 + this.ExtendedAmount.GetHashCode(); + if (this.ExtendedDiscountAmount != null) + hashCode = hashCode * 59 + this.ExtendedDiscountAmount.GetHashCode(); + if (this.SellUnitRetailPriceEntryMethodCode != null) + hashCode = hashCode * 59 + this.SellUnitRetailPriceEntryMethodCode.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ItemTraceableUnitID != null) + hashCode = hashCode * 59 + this.ItemTraceableUnitID.GetHashCode(); + if (this.QuantityInputMethod != null) + hashCode = hashCode * 59 + this.QuantityInputMethod.GetHashCode(); + if (this.Length != null) + hashCode = hashCode * 59 + this.Length.GetHashCode(); + if (this.Width != null) + hashCode = hashCode * 59 + this.Width.GetHashCode(); + if (this.Height != null) + hashCode = hashCode * 59 + this.Height.GetHashCode(); + if (this.ManualWeightInputFlag != null) + hashCode = hashCode * 59 + this.ManualWeightInputFlag.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.ReceiptDescription != null) + hashCode = hashCode * 59 + this.ReceiptDescription.GetHashCode(); + if (this.AllowFoodStampFlag != null) + hashCode = hashCode * 59 + this.AllowFoodStampFlag.GetHashCode(); + if (this.RegistrationNumber != null) + hashCode = hashCode * 59 + this.RegistrationNumber.GetHashCode(); + if (this.NegativeLineItemFlag != null) + hashCode = hashCode * 59 + this.NegativeLineItemFlag.GetHashCode(); + if (this.DiscountFlag != null) + hashCode = hashCode * 59 + this.DiscountFlag.GetHashCode(); + if (this.FrequentShopperPointsEligibilityFlag != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsEligibilityFlag.GetHashCode(); + if (this.DiscountTypeCode != null) + hashCode = hashCode * 59 + this.DiscountTypeCode.GetHashCode(); + if (this.PriceChangeTypeCode != null) + hashCode = hashCode * 59 + this.PriceChangeTypeCode.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.GrandExtendedAmount != null) + hashCode = hashCode * 59 + this.GrandExtendedAmount.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.NotConsideredByLoyaltyEngineFlag != null) + hashCode = hashCode * 59 + this.NotConsideredByLoyaltyEngineFlag.GetHashCode(); + if (this.MerchandiseHierarchyGroupName != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupName.GetHashCode(); + if (this.MerchandiseHierarchyGroupDescription != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupDescription.GetHashCode(); + if (this.ItemClassCode != null) + hashCode = hashCode * 59 + this.ItemClassCode.GetHashCode(); + if (this.ProhibitTaxExemptFlag != null) + hashCode = hashCode * 59 + this.ProhibitTaxExemptFlag.GetHashCode(); + if (this.ProhibitReturnFlag != null) + hashCode = hashCode * 59 + this.ProhibitReturnFlag.GetHashCode(); + if (this.WarrantyDuration != null) + hashCode = hashCode * 59 + this.WarrantyDuration.GetHashCode(); + if (this.DepositTypeCode != null) + hashCode = hashCode * 59 + this.DepositTypeCode.GetHashCode(); + if (this.TaxExemptCode != null) + hashCode = hashCode * 59 + this.TaxExemptCode.GetHashCode(); + if (this.InvoiceID != null) + hashCode = hashCode * 59 + this.InvoiceID.GetHashCode(); + if (this.MainPOSItemID != null) + hashCode = hashCode * 59 + this.MainPOSItemID.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupIDQualifier != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupIDQualifier.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupID.GetHashCode(); + if (this.TaxReductionAmount != null) + hashCode = hashCode * 59 + this.TaxReductionAmount.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.TaxReceiptPrintCode != null) + hashCode = hashCode * 59 + this.TaxReceiptPrintCode.GetHashCode(); + if (this.TareCount != null) + hashCode = hashCode * 59 + this.TareCount.GetHashCode(); + if (this.OriginalTaxGroupID != null) + hashCode = hashCode * 59 + this.OriginalTaxGroupID.GetHashCode(); + if (this.ManufacturerFamilyCode != null) + hashCode = hashCode * 59 + this.ManufacturerFamilyCode.GetHashCode(); + if (this.ManufacturerCompanyCode != null) + hashCode = hashCode * 59 + this.ManufacturerCompanyCode.GetHashCode(); + if (this.PriceGroupID != null) + hashCode = hashCode * 59 + this.PriceGroupID.GetHashCode(); + if (this.FixedPriceFlag != null) + hashCode = hashCode * 59 + this.FixedPriceFlag.GetHashCode(); + if (this.RootItemID != null) + hashCode = hashCode * 59 + this.RootItemID.GetHashCode(); + if (this.SaleReturnLineItemExtensionList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemExtensionList.GetHashCode(); + if (this.SaleReturnLineItemCollectionList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemCollectionList.GetHashCode(); + if (this.SaleReturnLineItemPriceList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemPriceList.GetHashCode(); + if (this.SaleReturnTaxLineItemList != null) + hashCode = hashCode * 59 + this.SaleReturnTaxLineItemList.GetHashCode(); + if (this.RetailPriceModifierList != null) + hashCode = hashCode * 59 + this.RetailPriceModifierList.GetHashCode(); + if (this.FrequentShopperPointsModifierList != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsModifierList.GetHashCode(); + if (this.SaleReturnLineItemPromotionTriggerList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemPromotionTriggerList.GetHashCode(); + if (this.SaleReturnLineItemCharacteristicList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemCharacteristicList.GetHashCode(); + if (this.SaleReturnLineItemModifierCouponList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemModifierCouponList.GetHashCode(); + if (this.SaleReturnLineItemModifierReferenceList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemModifierReferenceList.GetHashCode(); + if (this.SaleReturnLineItemMerchandiseHierarchyGroupList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemMerchandiseHierarchyGroupList.GetHashCode(); + if (this.ExternalReferenceID != null) + hashCode = hashCode * 59 + this.ExternalReferenceID.GetHashCode(); + if (this.FuelSalesLineItem != null) + hashCode = hashCode * 59 + this.FuelSalesLineItem.GetHashCode(); + if (this.SaleReturnLineItemAdditionalPriceList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemAdditionalPriceList.GetHashCode(); + if (this.SaleReturnLineItemSplitPackageList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemSplitPackageList.GetHashCode(); + if (this.SaleReturnLineItemGenericAttributeList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemGenericAttributeList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.PositemID != null) + hashCode = hashCode * 59 + this.PositemID.GetHashCode(); + if (this.PosdepartmentID != null) + hashCode = hashCode * 59 + this.PosdepartmentID.GetHashCode(); + if (this.Wicflag != null) + hashCode = hashCode * 59 + this.Wicflag.GetHashCode(); + if (this.ReturnLineItemList != null) + hashCode = hashCode * 59 + this.ReturnLineItemList.GetHashCode(); + if (this.SaleReturnLineItemSalesOrderList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemSalesOrderList.GetHashCode(); + if (this.SerializedUnitModiferList != null) + hashCode = hashCode * 59 + this.SerializedUnitModiferList.GetHashCode(); + if (this.LineItemAssociateList != null) + hashCode = hashCode * 59 + this.LineItemAssociateList.GetHashCode(); + if (this.SaleReturnTaxExemptTriggerList != null) + hashCode = hashCode * 59 + this.SaleReturnTaxExemptTriggerList.GetHashCode(); + if (this.AdditionalBonusLineItemList != null) + hashCode = hashCode * 59 + this.AdditionalBonusLineItemList.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..f612b2e284191670891d7b77739dacdef132c6e6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice.cs @@ -0,0 +1,265 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemAdditionalPrice <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The price  (required). + /// The quantity the price is defined for, i.e. 3 for $1.00. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey), double? priceAmount = default(double?), int? packagePriceQuantity = default(int?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "priceAmount" is required (not null) + if (priceAmount == null) + { + throw new InvalidDataException("priceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice and cannot be null"); + } + else + { + this.PriceAmount = priceAmount; + } + this.PackagePriceQuantity = packagePriceQuantity; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey Key { get; set; } + + /// + /// The price  + /// + /// The price  + [DataMember(Name="priceAmount", EmitDefaultValue=false)] + public double? PriceAmount { get; set; } + + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + [DataMember(Name="packagePriceQuantity", EmitDefaultValue=false)] + public int? PackagePriceQuantity { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PriceAmount: ").Append(PriceAmount).Append("\n"); + sb.Append(" PackagePriceQuantity: ").Append(PackagePriceQuantity).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PriceAmount == input.PriceAmount || + (this.PriceAmount != null && + this.PriceAmount.Equals(input.PriceAmount)) + ) && + ( + this.PackagePriceQuantity == input.PackagePriceQuantity || + (this.PackagePriceQuantity != null && + this.PackagePriceQuantity.Equals(input.PackagePriceQuantity)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PriceAmount != null) + hashCode = hashCode * 59 + this.PriceAmount.GetHashCode(); + if (this.PackagePriceQuantity != null) + hashCode = hashCode * 59 + this.PackagePriceQuantity.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..187ae05a92dae9fce76f0fa565ce06b02202016e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemAdditionalPrice.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The price type code  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string priceTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "priceTypeCode" is required (not null) + if (priceTypeCode == null) + { + throw new InvalidDataException("priceTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey and cannot be null"); + } + else + { + this.PriceTypeCode = priceTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The price type code  + /// + /// The price type code  + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic.cs new file mode 100644 index 0000000000000000000000000000000000000000..a0878580542fd4443559e12416ffebb9a1d6a4fb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic.cs @@ -0,0 +1,265 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemCharacteristic <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The ident of the characteristic's value  (required). + /// The name of the characteristic's value. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey), string characteristicValueID = default(string), string characteristicValueName = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "characteristicValueID" is required (not null) + if (characteristicValueID == null) + { + throw new InvalidDataException("characteristicValueID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic and cannot be null"); + } + else + { + this.CharacteristicValueID = characteristicValueID; + } + this.CharacteristicValueName = characteristicValueName; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey Key { get; set; } + + /// + /// The ident of the characteristic's value  + /// + /// The ident of the characteristic's value  + [DataMember(Name="characteristicValueID", EmitDefaultValue=false)] + public string CharacteristicValueID { get; set; } + + /// + /// The name of the characteristic's value + /// + /// The name of the characteristic's value + [DataMember(Name="characteristicValueName", EmitDefaultValue=false)] + public string CharacteristicValueName { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CharacteristicValueID: ").Append(CharacteristicValueID).Append("\n"); + sb.Append(" CharacteristicValueName: ").Append(CharacteristicValueName).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CharacteristicValueID == input.CharacteristicValueID || + (this.CharacteristicValueID != null && + this.CharacteristicValueID.Equals(input.CharacteristicValueID)) + ) && + ( + this.CharacteristicValueName == input.CharacteristicValueName || + (this.CharacteristicValueName != null && + this.CharacteristicValueName.Equals(input.CharacteristicValueName)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CharacteristicValueID != null) + hashCode = hashCode * 59 + this.CharacteristicValueID.GetHashCode(); + if (this.CharacteristicValueName != null) + hashCode = hashCode * 59 + this.CharacteristicValueName.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..12143538fd6739fec898b939e56ddcb722c4e48c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemCharacteristic.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The identifier of the characteristic  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string characteristicID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "characteristicID" is required (not null) + if (characteristicID == null) + { + throw new InvalidDataException("characteristicID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey and cannot be null"); + } + else + { + this.CharacteristicID = characteristicID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The identifier of the characteristic  + /// + /// The identifier of the characteristic  + [DataMember(Name="characteristicID", EmitDefaultValue=false)] + public string CharacteristicID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" CharacteristicID: ").Append(CharacteristicID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.CharacteristicID == input.CharacteristicID || + (this.CharacteristicID != null && + this.CharacteristicID.Equals(input.CharacteristicID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.CharacteristicID != null) + hashCode = hashCode * 59 + this.CharacteristicID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection.cs new file mode 100644 index 0000000000000000000000000000000000000000..5a713d042bafe5ca91b86d9d5f82a5322372adbf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection.cs @@ -0,0 +1,290 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemCollection <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The single quantity of the item (required). + /// The units of the item (required). + /// The receipt printout text . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey), int? quantity = default(int?), double? units = default(double?), string receiptText = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection and cannot be null"); + } + else + { + this.Quantity = quantity; + } + // to ensure "units" is required (not null) + if (units == null) + { + throw new InvalidDataException("units is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection and cannot be null"); + } + else + { + this.Units = units; + } + this.ReceiptText = receiptText; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey Key { get; set; } + + /// + /// The single quantity of the item + /// + /// The single quantity of the item + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// The units of the item + /// + /// The units of the item + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// The receipt printout text  + /// + /// The receipt printout text  + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..7f47d83038ad7f2f3e0b80085c191a572980a078 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemCollection.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// A unique identifier for the item (required). + /// The code used to specify the units of the item (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string itemID = default(string), string itemBaggingUnitOfMeasureCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "itemBaggingUnitOfMeasureCode" is required (not null) + if (itemBaggingUnitOfMeasureCode == null) + { + throw new InvalidDataException("itemBaggingUnitOfMeasureCode is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey and cannot be null"); + } + else + { + this.ItemBaggingUnitOfMeasureCode = itemBaggingUnitOfMeasureCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// A unique identifier for the item + /// + /// A unique identifier for the item + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// The code used to specify the units of the item + /// + /// The code used to specify the units of the item + [DataMember(Name="itemBaggingUnitOfMeasureCode", EmitDefaultValue=false)] + public string ItemBaggingUnitOfMeasureCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" ItemBaggingUnitOfMeasureCode: ").Append(ItemBaggingUnitOfMeasureCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.ItemBaggingUnitOfMeasureCode == input.ItemBaggingUnitOfMeasureCode || + (this.ItemBaggingUnitOfMeasureCode != null && + this.ItemBaggingUnitOfMeasureCode.Equals(input.ItemBaggingUnitOfMeasureCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.ItemBaggingUnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.ItemBaggingUnitOfMeasureCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..268940d54d50fb77cfd30b04687db8f0fa7d05ab --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension.cs @@ -0,0 +1,240 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemExtension <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The value of the key-value pair . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey), string extensionValue = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension and cannot be null"); + } + else + { + this.Key = key; + } + this.ExtensionValue = extensionValue; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey Key { get; set; } + + /// + /// The value of the key-value pair  + /// + /// The value of the key-value pair  + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..1e60a3cb5113703f555190c64a17f7025ade312b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemExtension.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The key of the key-value pair  (required). + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string extensionKey = default(string), int? extensionSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "extensionKey" is required (not null) + if (extensionKey == null) + { + throw new InvalidDataException("extensionKey is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey and cannot be null"); + } + else + { + this.ExtensionKey = extensionKey; + } + // to ensure "extensionSequenceNumber" is required (not null) + if (extensionSequenceNumber == null) + { + throw new InvalidDataException("extensionSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey and cannot be null"); + } + else + { + this.ExtensionSequenceNumber = extensionSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The key of the key-value pair  + /// + /// The key of the key-value pair  + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + [DataMember(Name="extensionSequenceNumber", EmitDefaultValue=false)] + public int? ExtensionSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionSequenceNumber: ").Append(ExtensionSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionSequenceNumber == input.ExtensionSequenceNumber || + (this.ExtensionSequenceNumber != null && + this.ExtensionSequenceNumber.Equals(input.ExtensionSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionSequenceNumber != null) + hashCode = hashCode * 59 + this.ExtensionSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute.cs new file mode 100644 index 0000000000000000000000000000000000000000..01f397da4cb258d4811d1236f35641bf63bfa6ae --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute.cs @@ -0,0 +1,715 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemGenericAttribute <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The key of the generic attribute.The key may not be unique in the scope of a single line item. (required). + /// The value of the generic attribute.. + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey), string genericAttributeKey = default(string), string genericAttributeValue = default(string), bool? customFlag = default(bool?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "genericAttributeKey" is required (not null) + if (genericAttributeKey == null) + { + throw new InvalidDataException("genericAttributeKey is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute and cannot be null"); + } + else + { + this.GenericAttributeKey = genericAttributeKey; + } + // to ensure "customFlag" is required (not null) + if (customFlag == null) + { + throw new InvalidDataException("customFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute and cannot be null"); + } + else + { + this.CustomFlag = customFlag; + } + this.GenericAttributeValue = genericAttributeValue; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey Key { get; set; } + + /// + /// The key of the generic attribute.The key may not be unique in the scope of a single line item. + /// + /// The key of the generic attribute.The key may not be unique in the scope of a single line item. + [DataMember(Name="genericAttributeKey", EmitDefaultValue=false)] + public string GenericAttributeKey { get; set; } + + /// + /// The value of the generic attribute. + /// + /// The value of the generic attribute. + [DataMember(Name="genericAttributeValue", EmitDefaultValue=false)] + public string GenericAttributeValue { get; set; } + + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + [DataMember(Name="customFlag", EmitDefaultValue=false)] + public bool? CustomFlag { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" GenericAttributeKey: ").Append(GenericAttributeKey).Append("\n"); + sb.Append(" GenericAttributeValue: ").Append(GenericAttributeValue).Append("\n"); + sb.Append(" CustomFlag: ").Append(CustomFlag).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.GenericAttributeKey == input.GenericAttributeKey || + (this.GenericAttributeKey != null && + this.GenericAttributeKey.Equals(input.GenericAttributeKey)) + ) && + ( + this.GenericAttributeValue == input.GenericAttributeValue || + (this.GenericAttributeValue != null && + this.GenericAttributeValue.Equals(input.GenericAttributeValue)) + ) && + ( + this.CustomFlag == input.CustomFlag || + (this.CustomFlag != null && + this.CustomFlag.Equals(input.CustomFlag)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.GenericAttributeKey != null) + hashCode = hashCode * 59 + this.GenericAttributeKey.GetHashCode(); + if (this.GenericAttributeValue != null) + hashCode = hashCode * 59 + this.GenericAttributeValue.GetHashCode(); + if (this.CustomFlag != null) + hashCode = hashCode * 59 + this.CustomFlag.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..bad49ebcb94ae424923587a085b46f0be7226fd9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemGenericAttribute.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The sequence number of generic attribute within the scope of the line item. (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? genericAttributeSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "genericAttributeSequenceNumber" is required (not null) + if (genericAttributeSequenceNumber == null) + { + throw new InvalidDataException("genericAttributeSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey and cannot be null"); + } + else + { + this.GenericAttributeSequenceNumber = genericAttributeSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The sequence number of generic attribute within the scope of the line item. + /// + /// The sequence number of generic attribute within the scope of the line item. + [DataMember(Name="genericAttributeSequenceNumber", EmitDefaultValue=false)] + public int? GenericAttributeSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" GenericAttributeSequenceNumber: ").Append(GenericAttributeSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.GenericAttributeSequenceNumber == input.GenericAttributeSequenceNumber || + (this.GenericAttributeSequenceNumber != null && + this.GenericAttributeSequenceNumber.Equals(input.GenericAttributeSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.GenericAttributeSequenceNumber != null) + hashCode = hashCode * 59 + this.GenericAttributeSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9eda309e27a2aef187f750ad515565ec057d2c73 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..7595269b152602d541f627209cf3fce56163a393 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup.cs @@ -0,0 +1,308 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemMerchandiseHierarchyGroup <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The timestamp when this assignment becomes active ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// The last date and time when this assignment is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// Defines the current status for the assignment; examples of valid codes include: AC/null = Active, IA = Inactive. + /// The UTC0 timestamp when this assignment becomes active ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The last UTC0 date and time when this assignment is effective ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey), string timeStampEffective = default(string), string timeStampExpiration = default(string), string statusCode = default(string), DateTime? timeStampEffectiveUTC0 = default(DateTime?), DateTime? timeStampExpirationUTC0 = default(DateTime?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup and cannot be null"); + } + else + { + this.Key = key; + } + this.TimeStampEffective = timeStampEffective; + this.TimeStampExpiration = timeStampExpiration; + this.StatusCode = statusCode; + this.TimeStampEffectiveUTC0 = timeStampEffectiveUTC0; + this.TimeStampExpirationUTC0 = timeStampExpirationUTC0; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey Key { get; set; } + + /// + /// The timestamp when this assignment becomes active ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp when this assignment becomes active ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="timeStampEffective", EmitDefaultValue=false)] + public string TimeStampEffective { get; set; } + + /// + /// The last date and time when this assignment is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The last date and time when this assignment is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="timeStampExpiration", EmitDefaultValue=false)] + public string TimeStampExpiration { get; set; } + + /// + /// Defines the current status for the assignment; examples of valid codes include: AC/null = Active, IA = Inactive + /// + /// Defines the current status for the assignment; examples of valid codes include: AC/null = Active, IA = Inactive + [DataMember(Name="statusCode", EmitDefaultValue=false)] + public string StatusCode { get; set; } + + /// + /// The UTC0 timestamp when this assignment becomes active ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp when this assignment becomes active ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="timeStampEffectiveUTC0", EmitDefaultValue=false)] + public DateTime? TimeStampEffectiveUTC0 { get; set; } + + /// + /// The last UTC0 date and time when this assignment is effective ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The last UTC0 date and time when this assignment is effective ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="timeStampExpirationUTC0", EmitDefaultValue=false)] + public DateTime? TimeStampExpirationUTC0 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TimeStampEffective: ").Append(TimeStampEffective).Append("\n"); + sb.Append(" TimeStampExpiration: ").Append(TimeStampExpiration).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" TimeStampEffectiveUTC0: ").Append(TimeStampEffectiveUTC0).Append("\n"); + sb.Append(" TimeStampExpirationUTC0: ").Append(TimeStampExpirationUTC0).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TimeStampEffective == input.TimeStampEffective || + (this.TimeStampEffective != null && + this.TimeStampEffective.Equals(input.TimeStampEffective)) + ) && + ( + this.TimeStampExpiration == input.TimeStampExpiration || + (this.TimeStampExpiration != null && + this.TimeStampExpiration.Equals(input.TimeStampExpiration)) + ) && + ( + this.StatusCode == input.StatusCode || + (this.StatusCode != null && + this.StatusCode.Equals(input.StatusCode)) + ) && + ( + this.TimeStampEffectiveUTC0 == input.TimeStampEffectiveUTC0 || + (this.TimeStampEffectiveUTC0 != null && + this.TimeStampEffectiveUTC0.Equals(input.TimeStampEffectiveUTC0)) + ) && + ( + this.TimeStampExpirationUTC0 == input.TimeStampExpirationUTC0 || + (this.TimeStampExpirationUTC0 != null && + this.TimeStampExpirationUTC0.Equals(input.TimeStampExpirationUTC0)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TimeStampEffective != null) + hashCode = hashCode * 59 + this.TimeStampEffective.GetHashCode(); + if (this.TimeStampExpiration != null) + hashCode = hashCode * 59 + this.TimeStampExpiration.GetHashCode(); + if (this.StatusCode != null) + hashCode = hashCode * 59 + this.StatusCode.GetHashCode(); + if (this.TimeStampEffectiveUTC0 != null) + hashCode = hashCode * 59 + this.TimeStampEffectiveUTC0.GetHashCode(); + if (this.TimeStampExpirationUTC0 != null) + hashCode = hashCode * 59 + this.TimeStampExpirationUTC0.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4dc0b81be333aba1d72c573fce2583dfebfc3f05 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemMerchandiseHierarchyGroup.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  (required). + /// Unique system assigned identifier for the merchandise group.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string merchandiseHierarchyGroupIDQualifier = default(string), string merchandiseHierarchyGroupID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "merchandiseHierarchyGroupIDQualifier" is required (not null) + if (merchandiseHierarchyGroupIDQualifier == null) + { + throw new InvalidDataException("merchandiseHierarchyGroupIDQualifier is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey and cannot be null"); + } + else + { + this.MerchandiseHierarchyGroupIDQualifier = merchandiseHierarchyGroupIDQualifier; + } + // to ensure "merchandiseHierarchyGroupID" is required (not null) + if (merchandiseHierarchyGroupID == null) + { + throw new InvalidDataException("merchandiseHierarchyGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey and cannot be null"); + } + else + { + this.MerchandiseHierarchyGroupID = merchandiseHierarchyGroupID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + [DataMember(Name="merchandiseHierarchyGroupIDQualifier", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupIDQualifier { get; set; } + + /// + /// Unique system assigned identifier for the merchandise group.  + /// + /// Unique system assigned identifier for the merchandise group.  + [DataMember(Name="merchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupIDQualifier: ").Append(MerchandiseHierarchyGroupIDQualifier).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupID: ").Append(MerchandiseHierarchyGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.MerchandiseHierarchyGroupIDQualifier == input.MerchandiseHierarchyGroupIDQualifier || + (this.MerchandiseHierarchyGroupIDQualifier != null && + this.MerchandiseHierarchyGroupIDQualifier.Equals(input.MerchandiseHierarchyGroupIDQualifier)) + ) && + ( + this.MerchandiseHierarchyGroupID == input.MerchandiseHierarchyGroupID || + (this.MerchandiseHierarchyGroupID != null && + this.MerchandiseHierarchyGroupID.Equals(input.MerchandiseHierarchyGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.MerchandiseHierarchyGroupIDQualifier != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupIDQualifier.GetHashCode(); + if (this.MerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon.cs new file mode 100644 index 0000000000000000000000000000000000000000..b821f5236320909d12f9871b4c07fe01b5ddd38b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemModifierCoupon <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The coupon number that was used to trigger the modifier (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey), string couponNumber = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "couponNumber" is required (not null) + if (couponNumber == null) + { + throw new InvalidDataException("couponNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon and cannot be null"); + } + else + { + this.CouponNumber = couponNumber; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey Key { get; set; } + + /// + /// The coupon number that was used to trigger the modifier + /// + /// The coupon number that was used to trigger the modifier + [DataMember(Name="couponNumber", EmitDefaultValue=false)] + public string CouponNumber { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CouponNumber: ").Append(CouponNumber).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CouponNumber == input.CouponNumber || + (this.CouponNumber != null && + this.CouponNumber.Equals(input.CouponNumber)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CouponNumber != null) + hashCode = hashCode * 59 + this.CouponNumber.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d7b4093d0e2869e627b9c42a15f4b59878bda821 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey.cs @@ -0,0 +1,313 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemModifierCoupon.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The sequence number of the related FrequentShopperPointsModifier resp. RetailPriceModifier  (required). + /// The unique identifier of the promotion. (required). + /// The unique identifier of the price derivation rule.  (required). + /// The unique identifier of the root eligibility. (required). + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? modifierSequenceNumber = default(int?), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), int? couponSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "modifierSequenceNumber" is required (not null) + if (modifierSequenceNumber == null) + { + throw new InvalidDataException("modifierSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.ModifierSequenceNumber = modifierSequenceNumber; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + // to ensure "couponSequenceNumber" is required (not null) + if (couponSequenceNumber == null) + { + throw new InvalidDataException("couponSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey and cannot be null"); + } + else + { + this.CouponSequenceNumber = couponSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The sequence number of the related FrequentShopperPointsModifier resp. RetailPriceModifier  + /// + /// The sequence number of the related FrequentShopperPointsModifier resp. RetailPriceModifier  + [DataMember(Name="modifierSequenceNumber", EmitDefaultValue=false)] + public int? ModifierSequenceNumber { get; set; } + + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + [DataMember(Name="couponSequenceNumber", EmitDefaultValue=false)] + public int? CouponSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" ModifierSequenceNumber: ").Append(ModifierSequenceNumber).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" CouponSequenceNumber: ").Append(CouponSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.ModifierSequenceNumber == input.ModifierSequenceNumber || + (this.ModifierSequenceNumber != null && + this.ModifierSequenceNumber.Equals(input.ModifierSequenceNumber)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.CouponSequenceNumber == input.CouponSequenceNumber || + (this.CouponSequenceNumber != null && + this.CouponSequenceNumber.Equals(input.CouponSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.ModifierSequenceNumber != null) + hashCode = hashCode * 59 + this.ModifierSequenceNumber.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.CouponSequenceNumber != null) + hashCode = hashCode * 59 + this.CouponSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd03a54676fe2f4be6e28c84bf45551766dfc86f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemModifierReference <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The quantity share of that line item which was necessary for fulfilling the price derivation rule eligibilities (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey), double? referenceQuantity = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "referenceQuantity" is required (not null) + if (referenceQuantity == null) + { + throw new InvalidDataException("referenceQuantity is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference and cannot be null"); + } + else + { + this.ReferenceQuantity = referenceQuantity; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey Key { get; set; } + + /// + /// The quantity share of that line item which was necessary for fulfilling the price derivation rule eligibilities + /// + /// The quantity share of that line item which was necessary for fulfilling the price derivation rule eligibilities + [DataMember(Name="referenceQuantity", EmitDefaultValue=false)] + public double? ReferenceQuantity { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ReferenceQuantity: ").Append(ReferenceQuantity).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ReferenceQuantity == input.ReferenceQuantity || + (this.ReferenceQuantity != null && + this.ReferenceQuantity.Equals(input.ReferenceQuantity)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ReferenceQuantity != null) + hashCode = hashCode * 59 + this.ReferenceQuantity.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ae3ba816ac48575088ea9e1ea135e04ca813e038 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey.cs @@ -0,0 +1,263 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemModifierReference.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier of the promotion. (required). + /// The unique identifier of the price derivation rule.  (required). + /// The unique identifier of the root eligibility. (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey(string businessUnitGroupID = default(string), string transactionID = default(string), string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "priceDerivationRuleID" is required (not null) + if (priceDerivationRuleID == null) + { + throw new InvalidDataException("priceDerivationRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey and cannot be null"); + } + else + { + this.PriceDerivationRuleID = priceDerivationRuleID; + } + // to ensure "priceDerivationRuleEligibilityID" is required (not null) + if (priceDerivationRuleEligibilityID == null) + { + throw new InvalidDataException("priceDerivationRuleEligibilityID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey and cannot be null"); + } + else + { + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..689249419bd9fc57006de333f5fc0d80d1902fd1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice.cs @@ -0,0 +1,282 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemPrice <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The price  (required). + /// An additional information concerning the price . + /// The quantity the price is defined for, i.e. 3 for $1.00. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey), double? priceAmount = default(double?), string description = default(string), int? packagePriceQuantity = default(int?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "priceAmount" is required (not null) + if (priceAmount == null) + { + throw new InvalidDataException("priceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice and cannot be null"); + } + else + { + this.PriceAmount = priceAmount; + } + this.Description = description; + this.PackagePriceQuantity = packagePriceQuantity; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey Key { get; set; } + + /// + /// The price  + /// + /// The price  + [DataMember(Name="priceAmount", EmitDefaultValue=false)] + public double? PriceAmount { get; set; } + + /// + /// An additional information concerning the price  + /// + /// An additional information concerning the price  + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + [DataMember(Name="packagePriceQuantity", EmitDefaultValue=false)] + public int? PackagePriceQuantity { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" PriceAmount: ").Append(PriceAmount).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" PackagePriceQuantity: ").Append(PackagePriceQuantity).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.PriceAmount == input.PriceAmount || + (this.PriceAmount != null && + this.PriceAmount.Equals(input.PriceAmount)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.PackagePriceQuantity == input.PackagePriceQuantity || + (this.PackagePriceQuantity != null && + this.PackagePriceQuantity.Equals(input.PackagePriceQuantity)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.PriceAmount != null) + hashCode = hashCode * 59 + this.PriceAmount.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.PackagePriceQuantity != null) + hashCode = hashCode * 59 + this.PackagePriceQuantity.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..29ba9851fe4bcf86d61941af4cd0106ab617057e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemPrice.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The price type code  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), string priceTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "priceTypeCode" is required (not null) + if (priceTypeCode == null) + { + throw new InvalidDataException("priceTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey and cannot be null"); + } + else + { + this.PriceTypeCode = priceTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The price type code  + /// + /// The price type code  + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..1cc352f8691a03bf7c1c000755589575b701b36f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger.cs @@ -0,0 +1,399 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemPromotionTrigger <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The type of the trigger (referencing to POS configuration) (required). + /// The value of the trigger (referencing to POS configuration) (required). + /// Defines the method for price modification. (required). + /// Reduction amount, reduction percent or new price amount (required). + /// Reason code for the manual discount. + /// A narrative description describing the manual discount reason.. + /// An additional information concerning the trigger . + /// A value which is to be added to the sequence of the condition (which comes from the master data)  (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey), string triggerType = default(string), string triggerValue = default(string), string privilegeType = default(string), double? privilegeValue = default(double?), string reasonCode = default(string), string reasonDescription = default(string), string reference_ = default(string), string triggerSequenceAddend = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "triggerType" is required (not null) + if (triggerType == null) + { + throw new InvalidDataException("triggerType is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.TriggerType = triggerType; + } + // to ensure "triggerValue" is required (not null) + if (triggerValue == null) + { + throw new InvalidDataException("triggerValue is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.TriggerValue = triggerValue; + } + // to ensure "privilegeType" is required (not null) + if (privilegeType == null) + { + throw new InvalidDataException("privilegeType is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.PrivilegeType = privilegeType; + } + // to ensure "privilegeValue" is required (not null) + if (privilegeValue == null) + { + throw new InvalidDataException("privilegeValue is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.PrivilegeValue = privilegeValue; + } + // to ensure "triggerSequenceAddend" is required (not null) + if (triggerSequenceAddend == null) + { + throw new InvalidDataException("triggerSequenceAddend is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.TriggerSequenceAddend = triggerSequenceAddend; + } + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.Reference_ = reference_; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey Key { get; set; } + + /// + /// The type of the trigger (referencing to POS configuration) + /// + /// The type of the trigger (referencing to POS configuration) + [DataMember(Name="triggerType", EmitDefaultValue=false)] + public string TriggerType { get; set; } + + /// + /// The value of the trigger (referencing to POS configuration) + /// + /// The value of the trigger (referencing to POS configuration) + [DataMember(Name="triggerValue", EmitDefaultValue=false)] + public string TriggerValue { get; set; } + + /// + /// Defines the method for price modification. + /// + /// Defines the method for price modification. + [DataMember(Name="privilegeType", EmitDefaultValue=false)] + public string PrivilegeType { get; set; } + + /// + /// Reduction amount, reduction percent or new price amount + /// + /// Reduction amount, reduction percent or new price amount + [DataMember(Name="privilegeValue", EmitDefaultValue=false)] + public double? PrivilegeValue { get; set; } + + /// + /// Reason code for the manual discount + /// + /// Reason code for the manual discount + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A narrative description describing the manual discount reason. + /// + /// A narrative description describing the manual discount reason. + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// An additional information concerning the trigger  + /// + /// An additional information concerning the trigger  + [DataMember(Name="reference_", EmitDefaultValue=false)] + public string Reference_ { get; set; } + + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data)  + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data)  + [DataMember(Name="triggerSequenceAddend", EmitDefaultValue=false)] + public string TriggerSequenceAddend { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TriggerType: ").Append(TriggerType).Append("\n"); + sb.Append(" TriggerValue: ").Append(TriggerValue).Append("\n"); + sb.Append(" PrivilegeType: ").Append(PrivilegeType).Append("\n"); + sb.Append(" PrivilegeValue: ").Append(PrivilegeValue).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" Reference_: ").Append(Reference_).Append("\n"); + sb.Append(" TriggerSequenceAddend: ").Append(TriggerSequenceAddend).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TriggerType == input.TriggerType || + (this.TriggerType != null && + this.TriggerType.Equals(input.TriggerType)) + ) && + ( + this.TriggerValue == input.TriggerValue || + (this.TriggerValue != null && + this.TriggerValue.Equals(input.TriggerValue)) + ) && + ( + this.PrivilegeType == input.PrivilegeType || + (this.PrivilegeType != null && + this.PrivilegeType.Equals(input.PrivilegeType)) + ) && + ( + this.PrivilegeValue == input.PrivilegeValue || + (this.PrivilegeValue != null && + this.PrivilegeValue.Equals(input.PrivilegeValue)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.Reference_ == input.Reference_ || + (this.Reference_ != null && + this.Reference_.Equals(input.Reference_)) + ) && + ( + this.TriggerSequenceAddend == input.TriggerSequenceAddend || + (this.TriggerSequenceAddend != null && + this.TriggerSequenceAddend.Equals(input.TriggerSequenceAddend)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TriggerType != null) + hashCode = hashCode * 59 + this.TriggerType.GetHashCode(); + if (this.TriggerValue != null) + hashCode = hashCode * 59 + this.TriggerValue.GetHashCode(); + if (this.PrivilegeType != null) + hashCode = hashCode * 59 + this.PrivilegeType.GetHashCode(); + if (this.PrivilegeValue != null) + hashCode = hashCode * 59 + this.PrivilegeValue.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.Reference_ != null) + hashCode = hashCode * 59 + this.Reference_.GetHashCode(); + if (this.TriggerSequenceAddend != null) + hashCode = hashCode * 59 + this.TriggerSequenceAddend.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..77ebfea2e123ee87e0acfa37570b460511e2ce56 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemPromotionTrigger.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The ident of the trigger (because one line item can have more than one trigger)  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? triggerSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "triggerSequenceNumber" is required (not null) + if (triggerSequenceNumber == null) + { + throw new InvalidDataException("triggerSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey and cannot be null"); + } + else + { + this.TriggerSequenceNumber = triggerSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The ident of the trigger (because one line item can have more than one trigger)  + /// + /// The ident of the trigger (because one line item can have more than one trigger)  + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder.cs new file mode 100644 index 0000000000000000000000000000000000000000..45c7a729bc79ca9d30b34d868208e2ae192271ce --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder.cs @@ -0,0 +1,274 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemSalesOrder <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The type code of the related sales order . + /// The delivery type code of the related sales order . + /// The delivery date that was requested by the customer; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey), string salesOrderTypeCode = default(string), string salesOrderDeliveryTypeCode = default(string), string requestedDeliveryDate = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder and cannot be null"); + } + else + { + this.Key = key; + } + this.SalesOrderTypeCode = salesOrderTypeCode; + this.SalesOrderDeliveryTypeCode = salesOrderDeliveryTypeCode; + this.RequestedDeliveryDate = requestedDeliveryDate; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey Key { get; set; } + + /// + /// The type code of the related sales order  + /// + /// The type code of the related sales order  + [DataMember(Name="salesOrderTypeCode", EmitDefaultValue=false)] + public string SalesOrderTypeCode { get; set; } + + /// + /// The delivery type code of the related sales order  + /// + /// The delivery type code of the related sales order  + [DataMember(Name="salesOrderDeliveryTypeCode", EmitDefaultValue=false)] + public string SalesOrderDeliveryTypeCode { get; set; } + + /// + /// The delivery date that was requested by the customer; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The delivery date that was requested by the customer; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestedDeliveryDate", EmitDefaultValue=false)] + public string RequestedDeliveryDate { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" SalesOrderTypeCode: ").Append(SalesOrderTypeCode).Append("\n"); + sb.Append(" SalesOrderDeliveryTypeCode: ").Append(SalesOrderDeliveryTypeCode).Append("\n"); + sb.Append(" RequestedDeliveryDate: ").Append(RequestedDeliveryDate).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.SalesOrderTypeCode == input.SalesOrderTypeCode || + (this.SalesOrderTypeCode != null && + this.SalesOrderTypeCode.Equals(input.SalesOrderTypeCode)) + ) && + ( + this.SalesOrderDeliveryTypeCode == input.SalesOrderDeliveryTypeCode || + (this.SalesOrderDeliveryTypeCode != null && + this.SalesOrderDeliveryTypeCode.Equals(input.SalesOrderDeliveryTypeCode)) + ) && + ( + this.RequestedDeliveryDate == input.RequestedDeliveryDate || + (this.RequestedDeliveryDate != null && + this.RequestedDeliveryDate.Equals(input.RequestedDeliveryDate)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.SalesOrderTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderTypeCode.GetHashCode(); + if (this.SalesOrderDeliveryTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderDeliveryTypeCode.GetHashCode(); + if (this.RequestedDeliveryDate != null) + hashCode = hashCode * 59 + this.RequestedDeliveryDate.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..fb85012564e9dcd6d122c53e685a23ad82da9f16 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemSalesOrder.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage.cs new file mode 100644 index 0000000000000000000000000000000000000000..32dfe1cebd56b0aec2fc27c4cd9c01dea975c332 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemSplitPackage <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The number of items this split price is applied to.see Transaction Calculation Rules (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey), int? splitQuantity = default(int?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "splitQuantity" is required (not null) + if (splitQuantity == null) + { + throw new InvalidDataException("splitQuantity is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage and cannot be null"); + } + else + { + this.SplitQuantity = splitQuantity; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey Key { get; set; } + + /// + /// The number of items this split price is applied to.see Transaction Calculation Rules + /// + /// The number of items this split price is applied to.see Transaction Calculation Rules + [DataMember(Name="splitQuantity", EmitDefaultValue=false)] + public int? SplitQuantity { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" SplitQuantity: ").Append(SplitQuantity).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.SplitQuantity == input.SplitQuantity || + (this.SplitQuantity != null && + this.SplitQuantity.Equals(input.SplitQuantity)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.SplitQuantity != null) + hashCode = hashCode * 59 + this.SplitQuantity.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8324555cd712c9323783d2ccac57a57e214f627b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemSplitPackage.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// The price rounded according to the algorithmsee Transaction Calculation Rules (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), double? splitPrice = default(double?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "splitPrice" is required (not null) + if (splitPrice == null) + { + throw new InvalidDataException("splitPrice is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey and cannot be null"); + } + else + { + this.SplitPrice = splitPrice; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// The price rounded according to the algorithmsee Transaction Calculation Rules + /// + /// The price rounded according to the algorithmsee Transaction Calculation Rules + [DataMember(Name="splitPrice", EmitDefaultValue=false)] + public double? SplitPrice { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" SplitPrice: ").Append(SplitPrice).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.SplitPrice == input.SplitPrice || + (this.SplitPrice != null && + this.SplitPrice.Equals(input.SplitPrice)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.SplitPrice != null) + hashCode = hashCode * 59 + this.SplitPrice.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..87a7b66b468feaa04f4efb496aa2b2ae8b2dfc07 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger.cs @@ -0,0 +1,274 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnTaxExemptTrigger <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Tax exempt reason code. + /// A narrative description for the tax exempt reason code. . + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey), string reasonCode = default(string), string reasonDescription = default(string), string taxCertificateID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger and cannot be null"); + } + else + { + this.Key = key; + } + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.TaxCertificateID = taxCertificateID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey Key { get; set; } + + /// + /// Tax exempt reason code + /// + /// Tax exempt reason code + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A narrative description for the tax exempt reason code.  + /// + /// A narrative description for the tax exempt reason code.  + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority. + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority. + [DataMember(Name="taxCertificateID", EmitDefaultValue=false)] + public string TaxCertificateID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" TaxCertificateID: ").Append(TaxCertificateID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.TaxCertificateID == input.TaxCertificateID || + (this.TaxCertificateID != null && + this.TaxCertificateID.Equals(input.TaxCertificateID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.TaxCertificateID != null) + hashCode = hashCode * 59 + this.TaxCertificateID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..42f65a62f1a85732a12dffe9db2d7d238cccc6b3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnTaxExemptTrigger.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..a4010fce4cec73277f08f0e2593d4c2a80f305b1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem.cs @@ -0,0 +1,426 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnTaxLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// System assigned unique identifier for the TaxGroupRule. . + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes, . + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule. . + /// The monetary amount for which tax is applicable.  (required). + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value!. + /// The percentage of the taxable portion of the taxable amount that is being collected as tax by this LineItem. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value!. + /// The monetary value tax that is being collected by this LineItem. (required). + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body. . + /// The name of the tax authority. This is to be printed on the receipt in some cases . + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup.. + /// Customizable information. + /// Customizable information. + /// tax override data. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey), string taxGroupRuleID = default(string), bool? taxIncludedInPricesFlag = default(bool?), bool? taxAtSourceFlag = default(bool?), double? taxableAmount = default(double?), double? taxablePercent = default(double?), double? taxPercent = default(double?), double? taxAmount = default(double?), string taxAuthorityID = default(string), string taxAuthorityName = default(string), string receiptPrintCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), List saleReturnTaxOverrideModifierList = default(List), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "taxableAmount" is required (not null) + if (taxableAmount == null) + { + throw new InvalidDataException("taxableAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem and cannot be null"); + } + else + { + this.TaxableAmount = taxableAmount; + } + // to ensure "taxAmount" is required (not null) + if (taxAmount == null) + { + throw new InvalidDataException("taxAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem and cannot be null"); + } + else + { + this.TaxAmount = taxAmount; + } + this.TaxGroupRuleID = taxGroupRuleID; + this.TaxIncludedInPricesFlag = taxIncludedInPricesFlag; + this.TaxAtSourceFlag = taxAtSourceFlag; + this.TaxablePercent = taxablePercent; + this.TaxPercent = taxPercent; + this.TaxAuthorityID = taxAuthorityID; + this.TaxAuthorityName = taxAuthorityName; + this.ReceiptPrintCode = receiptPrintCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.SaleReturnTaxOverrideModifierList = saleReturnTaxOverrideModifierList; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey Key { get; set; } + + /// + /// System assigned unique identifier for the TaxGroupRule.  + /// + /// System assigned unique identifier for the TaxGroupRule.  + [DataMember(Name="taxGroupRuleID", EmitDefaultValue=false)] + public string TaxGroupRuleID { get; set; } + + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + [DataMember(Name="taxIncludedInPricesFlag", EmitDefaultValue=false)] + public bool? TaxIncludedInPricesFlag { get; set; } + + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + [DataMember(Name="taxAtSourceFlag", EmitDefaultValue=false)] + public bool? TaxAtSourceFlag { get; set; } + + /// + /// The monetary amount for which tax is applicable.  + /// + /// The monetary amount for which tax is applicable.  + [DataMember(Name="taxableAmount", EmitDefaultValue=false)] + public double? TaxableAmount { get; set; } + + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + [DataMember(Name="taxablePercent", EmitDefaultValue=false)] + public double? TaxablePercent { get; set; } + + /// + /// The percentage of the taxable portion of the taxable amount that is being collected as tax by this LineItem. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable portion of the taxable amount that is being collected as tax by this LineItem. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + [DataMember(Name="taxPercent", EmitDefaultValue=false)] + public double? TaxPercent { get; set; } + + /// + /// The monetary value tax that is being collected by this LineItem. + /// + /// The monetary value tax that is being collected by this LineItem. + [DataMember(Name="taxAmount", EmitDefaultValue=false)] + public double? TaxAmount { get; set; } + + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + [DataMember(Name="taxAuthorityID", EmitDefaultValue=false)] + public string TaxAuthorityID { get; set; } + + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + [DataMember(Name="taxAuthorityName", EmitDefaultValue=false)] + public string TaxAuthorityName { get; set; } + + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + [DataMember(Name="receiptPrintCode", EmitDefaultValue=false)] + public string ReceiptPrintCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// tax override data + /// + /// tax override data + [DataMember(Name="saleReturnTaxOverrideModifierList", EmitDefaultValue=false)] + public List SaleReturnTaxOverrideModifierList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TaxGroupRuleID: ").Append(TaxGroupRuleID).Append("\n"); + sb.Append(" TaxIncludedInPricesFlag: ").Append(TaxIncludedInPricesFlag).Append("\n"); + sb.Append(" TaxAtSourceFlag: ").Append(TaxAtSourceFlag).Append("\n"); + sb.Append(" TaxableAmount: ").Append(TaxableAmount).Append("\n"); + sb.Append(" TaxablePercent: ").Append(TaxablePercent).Append("\n"); + sb.Append(" TaxPercent: ").Append(TaxPercent).Append("\n"); + sb.Append(" TaxAmount: ").Append(TaxAmount).Append("\n"); + sb.Append(" TaxAuthorityID: ").Append(TaxAuthorityID).Append("\n"); + sb.Append(" TaxAuthorityName: ").Append(TaxAuthorityName).Append("\n"); + sb.Append(" ReceiptPrintCode: ").Append(ReceiptPrintCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" SaleReturnTaxOverrideModifierList: ").Append(SaleReturnTaxOverrideModifierList).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TaxGroupRuleID == input.TaxGroupRuleID || + (this.TaxGroupRuleID != null && + this.TaxGroupRuleID.Equals(input.TaxGroupRuleID)) + ) && + ( + this.TaxIncludedInPricesFlag == input.TaxIncludedInPricesFlag || + (this.TaxIncludedInPricesFlag != null && + this.TaxIncludedInPricesFlag.Equals(input.TaxIncludedInPricesFlag)) + ) && + ( + this.TaxAtSourceFlag == input.TaxAtSourceFlag || + (this.TaxAtSourceFlag != null && + this.TaxAtSourceFlag.Equals(input.TaxAtSourceFlag)) + ) && + ( + this.TaxableAmount == input.TaxableAmount || + (this.TaxableAmount != null && + this.TaxableAmount.Equals(input.TaxableAmount)) + ) && + ( + this.TaxablePercent == input.TaxablePercent || + (this.TaxablePercent != null && + this.TaxablePercent.Equals(input.TaxablePercent)) + ) && + ( + this.TaxPercent == input.TaxPercent || + (this.TaxPercent != null && + this.TaxPercent.Equals(input.TaxPercent)) + ) && + ( + this.TaxAmount == input.TaxAmount || + (this.TaxAmount != null && + this.TaxAmount.Equals(input.TaxAmount)) + ) && + ( + this.TaxAuthorityID == input.TaxAuthorityID || + (this.TaxAuthorityID != null && + this.TaxAuthorityID.Equals(input.TaxAuthorityID)) + ) && + ( + this.TaxAuthorityName == input.TaxAuthorityName || + (this.TaxAuthorityName != null && + this.TaxAuthorityName.Equals(input.TaxAuthorityName)) + ) && + ( + this.ReceiptPrintCode == input.ReceiptPrintCode || + (this.ReceiptPrintCode != null && + this.ReceiptPrintCode.Equals(input.ReceiptPrintCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.SaleReturnTaxOverrideModifierList == input.SaleReturnTaxOverrideModifierList || + this.SaleReturnTaxOverrideModifierList != null && + this.SaleReturnTaxOverrideModifierList.SequenceEqual(input.SaleReturnTaxOverrideModifierList) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TaxGroupRuleID != null) + hashCode = hashCode * 59 + this.TaxGroupRuleID.GetHashCode(); + if (this.TaxIncludedInPricesFlag != null) + hashCode = hashCode * 59 + this.TaxIncludedInPricesFlag.GetHashCode(); + if (this.TaxAtSourceFlag != null) + hashCode = hashCode * 59 + this.TaxAtSourceFlag.GetHashCode(); + if (this.TaxableAmount != null) + hashCode = hashCode * 59 + this.TaxableAmount.GetHashCode(); + if (this.TaxablePercent != null) + hashCode = hashCode * 59 + this.TaxablePercent.GetHashCode(); + if (this.TaxPercent != null) + hashCode = hashCode * 59 + this.TaxPercent.GetHashCode(); + if (this.TaxAmount != null) + hashCode = hashCode * 59 + this.TaxAmount.GetHashCode(); + if (this.TaxAuthorityID != null) + hashCode = hashCode * 59 + this.TaxAuthorityID.GetHashCode(); + if (this.TaxAuthorityName != null) + hashCode = hashCode * 59 + this.TaxAuthorityName.GetHashCode(); + if (this.ReceiptPrintCode != null) + hashCode = hashCode * 59 + this.ReceiptPrintCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.SaleReturnTaxOverrideModifierList != null) + hashCode = hashCode * 59 + this.SaleReturnTaxOverrideModifierList.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..bf97db9f0652c186d10cd01da4342ddf8bd2cbdc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnTaxLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// Line number (incremental counter) of the tax entry (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? taxSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "taxSequenceNumber" is required (not null) + if (taxSequenceNumber == null) + { + throw new InvalidDataException("taxSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.TaxSequenceNumber = taxSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Line number (incremental counter) of the tax entry + /// + /// Line number (incremental counter) of the tax entry + [DataMember(Name="taxSequenceNumber", EmitDefaultValue=false)] + public int? TaxSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" TaxSequenceNumber: ").Append(TaxSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.TaxSequenceNumber == input.TaxSequenceNumber || + (this.TaxSequenceNumber != null && + this.TaxSequenceNumber.Equals(input.TaxSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.TaxSequenceNumber != null) + hashCode = hashCode * 59 + this.TaxSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..d20a856ecf3d9020d0a12dfd361a217fcd1e01cd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier.cs @@ -0,0 +1,367 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnTaxOverrideModifier <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// System assigned unique identifier for the TaxGroupRule.  (required). + /// The monetary amount for which tax is applicable at the new rate. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The original amount of Tax that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The new amount of Tax that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The original tax rate that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value!. + /// The new tax rate that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value!. + /// A retailer assigned reason code denoting why this TaxOverride is being granted.  . + /// A narrative description describing the use of the retailer assigned tax override reason code. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey key = default(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey), string taxGroupRuleID = default(string), double? taxableAmount = default(double?), double? originalTaxAmount = default(double?), double? newTaxAmount = default(double?), double? originalTaxPercent = default(double?), double? newTaxPercent = default(double?), string reasonCode = default(string), string reasonDescription = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "taxGroupRuleID" is required (not null) + if (taxGroupRuleID == null) + { + throw new InvalidDataException("taxGroupRuleID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier and cannot be null"); + } + else + { + this.TaxGroupRuleID = taxGroupRuleID; + } + this.TaxableAmount = taxableAmount; + this.OriginalTaxAmount = originalTaxAmount; + this.NewTaxAmount = newTaxAmount; + this.OriginalTaxPercent = originalTaxPercent; + this.NewTaxPercent = newTaxPercent; + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey Key { get; set; } + + /// + /// System assigned unique identifier for the TaxGroupRule.  + /// + /// System assigned unique identifier for the TaxGroupRule.  + [DataMember(Name="taxGroupRuleID", EmitDefaultValue=false)] + public string TaxGroupRuleID { get; set; } + + /// + /// The monetary amount for which tax is applicable at the new rate. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount for which tax is applicable at the new rate. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="taxableAmount", EmitDefaultValue=false)] + public double? TaxableAmount { get; set; } + + /// + /// The original amount of Tax that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The original amount of Tax that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="originalTaxAmount", EmitDefaultValue=false)] + public double? OriginalTaxAmount { get; set; } + + /// + /// The new amount of Tax that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The new amount of Tax that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="newTaxAmount", EmitDefaultValue=false)] + public double? NewTaxAmount { get; set; } + + /// + /// The original tax rate that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The original tax rate that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + [DataMember(Name="originalTaxPercent", EmitDefaultValue=false)] + public double? OriginalTaxPercent { get; set; } + + /// + /// The new tax rate that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The new tax rate that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + [DataMember(Name="newTaxPercent", EmitDefaultValue=false)] + public double? NewTaxPercent { get; set; } + + /// + /// A retailer assigned reason code denoting why this TaxOverride is being granted.   + /// + /// A retailer assigned reason code denoting why this TaxOverride is being granted.   + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A narrative description describing the use of the retailer assigned tax override reason code + /// + /// A narrative description describing the use of the retailer assigned tax override reason code + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TaxGroupRuleID: ").Append(TaxGroupRuleID).Append("\n"); + sb.Append(" TaxableAmount: ").Append(TaxableAmount).Append("\n"); + sb.Append(" OriginalTaxAmount: ").Append(OriginalTaxAmount).Append("\n"); + sb.Append(" NewTaxAmount: ").Append(NewTaxAmount).Append("\n"); + sb.Append(" OriginalTaxPercent: ").Append(OriginalTaxPercent).Append("\n"); + sb.Append(" NewTaxPercent: ").Append(NewTaxPercent).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TaxGroupRuleID == input.TaxGroupRuleID || + (this.TaxGroupRuleID != null && + this.TaxGroupRuleID.Equals(input.TaxGroupRuleID)) + ) && + ( + this.TaxableAmount == input.TaxableAmount || + (this.TaxableAmount != null && + this.TaxableAmount.Equals(input.TaxableAmount)) + ) && + ( + this.OriginalTaxAmount == input.OriginalTaxAmount || + (this.OriginalTaxAmount != null && + this.OriginalTaxAmount.Equals(input.OriginalTaxAmount)) + ) && + ( + this.NewTaxAmount == input.NewTaxAmount || + (this.NewTaxAmount != null && + this.NewTaxAmount.Equals(input.NewTaxAmount)) + ) && + ( + this.OriginalTaxPercent == input.OriginalTaxPercent || + (this.OriginalTaxPercent != null && + this.OriginalTaxPercent.Equals(input.OriginalTaxPercent)) + ) && + ( + this.NewTaxPercent == input.NewTaxPercent || + (this.NewTaxPercent != null && + this.NewTaxPercent.Equals(input.NewTaxPercent)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TaxGroupRuleID != null) + hashCode = hashCode * 59 + this.TaxGroupRuleID.GetHashCode(); + if (this.TaxableAmount != null) + hashCode = hashCode * 59 + this.TaxableAmount.GetHashCode(); + if (this.OriginalTaxAmount != null) + hashCode = hashCode * 59 + this.OriginalTaxAmount.GetHashCode(); + if (this.NewTaxAmount != null) + hashCode = hashCode * 59 + this.NewTaxAmount.GetHashCode(); + if (this.OriginalTaxPercent != null) + hashCode = hashCode * 59 + this.OriginalTaxPercent.GetHashCode(); + if (this.NewTaxPercent != null) + hashCode = hashCode * 59 + this.NewTaxPercent.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e7caa0678e66a78b1f48ba7f2978d08c7a4b05f0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnTaxOverrideModifier.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + /// Line number (incremental counter) of the tax entry  (required). + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? taxSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "taxSequenceNumber" is required (not null) + if (taxSequenceNumber == null) + { + throw new InvalidDataException("taxSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey and cannot be null"); + } + else + { + this.TaxSequenceNumber = taxSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Line number (incremental counter) of the tax entry  + /// + /// Line number (incremental counter) of the tax entry  + [DataMember(Name="taxSequenceNumber", EmitDefaultValue=false)] + public int? TaxSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" TaxSequenceNumber: ").Append(TaxSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.TaxSequenceNumber == input.TaxSequenceNumber || + (this.TaxSequenceNumber != null && + this.TaxSequenceNumber.Equals(input.TaxSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.TaxSequenceNumber != null) + hashCode = hashCode * 59 + this.TaxSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer.cs new file mode 100644 index 0000000000000000000000000000000000000000..219090e460b55930435c6a0dbde5cd10db01ecb0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer.cs @@ -0,0 +1,273 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SerializedUnitModifer <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Fix 0 (required). + /// The serial number of the line item (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer(ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey key = default(ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey), string serializedItemID = default(string), string serialNumber = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "serializedItemID" is required (not null) + if (serializedItemID == null) + { + throw new InvalidDataException("serializedItemID is a required property for ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer and cannot be null"); + } + else + { + this.SerializedItemID = serializedItemID; + } + // to ensure "serialNumber" is required (not null) + if (serialNumber == null) + { + throw new InvalidDataException("serialNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer and cannot be null"); + } + else + { + this.SerialNumber = serialNumber; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey Key { get; set; } + + /// + /// Fix 0 + /// + /// Fix 0 + [DataMember(Name="serializedItemID", EmitDefaultValue=false)] + public string SerializedItemID { get; set; } + + /// + /// The serial number of the line item + /// + /// The serial number of the line item + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" SerializedItemID: ").Append(SerializedItemID).Append("\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.SerializedItemID == input.SerializedItemID || + (this.SerializedItemID != null && + this.SerializedItemID.Equals(input.SerializedItemID)) + ) && + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.SerializedItemID != null) + hashCode = hashCode * 59 + this.SerializedItemID.GetHashCode(); + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..17361ae965f4d42878dc17f72c295bc702a59c73 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SerializedUnitModifer.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..68d0e64e018f0d01d92f98b7eb8aa8ee86d101c7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction.cs @@ -0,0 +1,316 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SignOffTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the till (required). + /// Last workstation where the till was used. Only filled in case of forced log out.. + /// Last worker logged on till. Only filled in case of forced log out.. + /// First name of last worker logged on till. Only filled in case of forced log out.. + /// Last name of last worker logged on till. Only filled in case of forced log out.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction(ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey), string tillID = default(string), string lastWorkstationID = default(string), string lastWorkerID = default(string), string lastWorkerFirstName = default(string), string lastWorkerLastName = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "tillID" is required (not null) + if (tillID == null) + { + throw new InvalidDataException("tillID is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction and cannot be null"); + } + else + { + this.TillID = tillID; + } + this.LastWorkstationID = lastWorkstationID; + this.LastWorkerID = lastWorkerID; + this.LastWorkerFirstName = lastWorkerFirstName; + this.LastWorkerLastName = lastWorkerLastName; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey Key { get; set; } + + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// Last workstation where the till was used. Only filled in case of forced log out. + /// + /// Last workstation where the till was used. Only filled in case of forced log out. + [DataMember(Name="lastWorkstationID", EmitDefaultValue=false)] + public string LastWorkstationID { get; set; } + + /// + /// Last worker logged on till. Only filled in case of forced log out. + /// + /// Last worker logged on till. Only filled in case of forced log out. + [DataMember(Name="lastWorkerID", EmitDefaultValue=false)] + public string LastWorkerID { get; set; } + + /// + /// First name of last worker logged on till. Only filled in case of forced log out. + /// + /// First name of last worker logged on till. Only filled in case of forced log out. + [DataMember(Name="lastWorkerFirstName", EmitDefaultValue=false)] + public string LastWorkerFirstName { get; set; } + + /// + /// Last name of last worker logged on till. Only filled in case of forced log out. + /// + /// Last name of last worker logged on till. Only filled in case of forced log out. + [DataMember(Name="lastWorkerLastName", EmitDefaultValue=false)] + public string LastWorkerLastName { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append(" LastWorkstationID: ").Append(LastWorkstationID).Append("\n"); + sb.Append(" LastWorkerID: ").Append(LastWorkerID).Append("\n"); + sb.Append(" LastWorkerFirstName: ").Append(LastWorkerFirstName).Append("\n"); + sb.Append(" LastWorkerLastName: ").Append(LastWorkerLastName).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ) && + ( + this.LastWorkstationID == input.LastWorkstationID || + (this.LastWorkstationID != null && + this.LastWorkstationID.Equals(input.LastWorkstationID)) + ) && + ( + this.LastWorkerID == input.LastWorkerID || + (this.LastWorkerID != null && + this.LastWorkerID.Equals(input.LastWorkerID)) + ) && + ( + this.LastWorkerFirstName == input.LastWorkerFirstName || + (this.LastWorkerFirstName != null && + this.LastWorkerFirstName.Equals(input.LastWorkerFirstName)) + ) && + ( + this.LastWorkerLastName == input.LastWorkerLastName || + (this.LastWorkerLastName != null && + this.LastWorkerLastName.Equals(input.LastWorkerLastName)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + if (this.LastWorkstationID != null) + hashCode = hashCode * 59 + this.LastWorkstationID.GetHashCode(); + if (this.LastWorkerID != null) + hashCode = hashCode * 59 + this.LastWorkerID.GetHashCode(); + if (this.LastWorkerFirstName != null) + hashCode = hashCode * 59 + this.LastWorkerFirstName.GetHashCode(); + if (this.LastWorkerLastName != null) + hashCode = hashCode * 59 + this.LastWorkerLastName.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..65aa592320a2110a61d24a895c6f4f605d411ed1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SignOffTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..04c69268c0ec98b6d56ef30b8b9c805613ab9dd1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SignOnTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the till (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction(ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey), string tillID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "tillID" is required (not null) + if (tillID == null) + { + throw new InvalidDataException("tillID is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction and cannot be null"); + } + else + { + this.TillID = tillID; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey Key { get; set; } + + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5e09c3ca41fa176a4e12f0ee5f058ac16bcf8014 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SignOnTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..0837d4ac23fad32831468aeecf35259d7a3e1f13 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination.cs @@ -0,0 +1,365 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreSafeSettlementTenderDenomination <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The denomination type code. + /// Piece value  (required). + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) (required). + /// Count of coins in the roll  (required). + /// The count of the denomination (required). + /// The total amount of the denomination (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey key = default(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey), string typeCode = default(string), double? pieceValue = default(double?), bool? rollFlag = default(bool?), double? rollCapacity = default(double?), double? denominationCount = default(double?), double? denominationAmount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "pieceValue" is required (not null) + if (pieceValue == null) + { + throw new InvalidDataException("pieceValue is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination and cannot be null"); + } + else + { + this.PieceValue = pieceValue; + } + // to ensure "rollFlag" is required (not null) + if (rollFlag == null) + { + throw new InvalidDataException("rollFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination and cannot be null"); + } + else + { + this.RollFlag = rollFlag; + } + // to ensure "rollCapacity" is required (not null) + if (rollCapacity == null) + { + throw new InvalidDataException("rollCapacity is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination and cannot be null"); + } + else + { + this.RollCapacity = rollCapacity; + } + // to ensure "denominationCount" is required (not null) + if (denominationCount == null) + { + throw new InvalidDataException("denominationCount is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination and cannot be null"); + } + else + { + this.DenominationCount = denominationCount; + } + // to ensure "denominationAmount" is required (not null) + if (denominationAmount == null) + { + throw new InvalidDataException("denominationAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination and cannot be null"); + } + else + { + this.DenominationAmount = denominationAmount; + } + this.TypeCode = typeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey Key { get; set; } + + /// + /// The denomination type code + /// + /// The denomination type code + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// Piece value  + /// + /// Piece value  + [DataMember(Name="pieceValue", EmitDefaultValue=false)] + public double? PieceValue { get; set; } + + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + [DataMember(Name="rollFlag", EmitDefaultValue=false)] + public bool? RollFlag { get; set; } + + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + [DataMember(Name="rollCapacity", EmitDefaultValue=false)] + public double? RollCapacity { get; set; } + + /// + /// The count of the denomination + /// + /// The count of the denomination + [DataMember(Name="denominationCount", EmitDefaultValue=false)] + public double? DenominationCount { get; set; } + + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + [DataMember(Name="denominationAmount", EmitDefaultValue=false)] + public double? DenominationAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" PieceValue: ").Append(PieceValue).Append("\n"); + sb.Append(" RollFlag: ").Append(RollFlag).Append("\n"); + sb.Append(" RollCapacity: ").Append(RollCapacity).Append("\n"); + sb.Append(" DenominationCount: ").Append(DenominationCount).Append("\n"); + sb.Append(" DenominationAmount: ").Append(DenominationAmount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.PieceValue == input.PieceValue || + (this.PieceValue != null && + this.PieceValue.Equals(input.PieceValue)) + ) && + ( + this.RollFlag == input.RollFlag || + (this.RollFlag != null && + this.RollFlag.Equals(input.RollFlag)) + ) && + ( + this.RollCapacity == input.RollCapacity || + (this.RollCapacity != null && + this.RollCapacity.Equals(input.RollCapacity)) + ) && + ( + this.DenominationCount == input.DenominationCount || + (this.DenominationCount != null && + this.DenominationCount.Equals(input.DenominationCount)) + ) && + ( + this.DenominationAmount == input.DenominationAmount || + (this.DenominationAmount != null && + this.DenominationAmount.Equals(input.DenominationAmount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.PieceValue != null) + hashCode = hashCode * 59 + this.PieceValue.GetHashCode(); + if (this.RollFlag != null) + hashCode = hashCode * 59 + this.RollFlag.GetHashCode(); + if (this.RollCapacity != null) + hashCode = hashCode * 59 + this.RollCapacity.GetHashCode(); + if (this.DenominationCount != null) + hashCode = hashCode * 59 + this.DenominationCount.GetHashCode(); + if (this.DenominationAmount != null) + hashCode = hashCode * 59 + this.DenominationAmount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5e57b291173542f8177fc9bf33c4e1cfa566a46f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreSafeSettlementTenderDenomination.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. (required). + /// Line number (incremental counter) of the denomination  (required). + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderRepositoryID = default(string), string tenderTypeCode = default(string), int? denominationSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderRepositoryID" is required (not null) + if (tenderRepositoryID == null) + { + throw new InvalidDataException("tenderRepositoryID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TenderRepositoryID = tenderRepositoryID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + // to ensure "denominationSequenceNumber" is required (not null) + if (denominationSequenceNumber == null) + { + throw new InvalidDataException("denominationSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.DenominationSequenceNumber = denominationSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="tenderRepositoryID", EmitDefaultValue=false)] + public string TenderRepositoryID { get; set; } + + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + [DataMember(Name="denominationSequenceNumber", EmitDefaultValue=false)] + public int? DenominationSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderRepositoryID: ").Append(TenderRepositoryID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" DenominationSequenceNumber: ").Append(DenominationSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderRepositoryID == input.TenderRepositoryID || + (this.TenderRepositoryID != null && + this.TenderRepositoryID.Equals(input.TenderRepositoryID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.DenominationSequenceNumber == input.DenominationSequenceNumber || + (this.DenominationSequenceNumber != null && + this.DenominationSequenceNumber.Equals(input.DenominationSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderRepositoryID != null) + hashCode = hashCode * 59 + this.TenderRepositoryID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.DenominationSequenceNumber != null) + hashCode = hashCode * 59 + this.DenominationSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..c997a8c0216e8e3c2a509adc749b891ece2edb64 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail.cs @@ -0,0 +1,602 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreSafeSettlementTenderDetail <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The opening tender balance (required). + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The closing tender balance in main currencyCorresponds to the target values. (required). + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The counted tender balance in main currencyCorresponds to the target values. (required). + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount. (required). + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity.. + /// The currency symbol. + /// Description of the tender. + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  (required). + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  (required). + /// The tender class code from master data. + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value!. + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  (required). + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// denomination list for counted values. + /// Customizable information . + /// The currency code of the tender. + /// Customizable information . + /// Customizable information . + /// Customizable information . + /// Customizable information . + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey key = default(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey), double? openBalanceAmount = default(double?), int? openMediaUnitQuantity = default(int?), double? closeBalanceAmount = default(double?), int? closeMediaUnitQuantity = default(int?), double? countedBalanceAmount = default(double?), int? countedMediaUnitQuantity = default(int?), double? overUnderBalanceAmount = default(double?), int? overUnderMediaUnitQuantity = default(int?), string currencySymbol = default(string), string tenderDescription = default(string), bool? unitCountRequiredFlag = default(bool?), bool? amountCountRequiredFlag = default(bool?), string tenderClassCode = default(string), double? exchangeRate = default(double?), bool? exchangeRateMultiplyFlag = default(bool?), double? foreignCurrencyCountedBalanceAmount = default(double?), double? foreignCurrencyCloseBalanceAmount = default(double?), List storeSafeSettlementTenderDenominationList = default(List), string xxcustom05 = default(string), string isocurrencyCode = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "openBalanceAmount" is required (not null) + if (openBalanceAmount == null) + { + throw new InvalidDataException("openBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.OpenBalanceAmount = openBalanceAmount; + } + // to ensure "closeBalanceAmount" is required (not null) + if (closeBalanceAmount == null) + { + throw new InvalidDataException("closeBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.CloseBalanceAmount = closeBalanceAmount; + } + // to ensure "countedBalanceAmount" is required (not null) + if (countedBalanceAmount == null) + { + throw new InvalidDataException("countedBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.CountedBalanceAmount = countedBalanceAmount; + } + // to ensure "overUnderBalanceAmount" is required (not null) + if (overUnderBalanceAmount == null) + { + throw new InvalidDataException("overUnderBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.OverUnderBalanceAmount = overUnderBalanceAmount; + } + // to ensure "unitCountRequiredFlag" is required (not null) + if (unitCountRequiredFlag == null) + { + throw new InvalidDataException("unitCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.UnitCountRequiredFlag = unitCountRequiredFlag; + } + // to ensure "amountCountRequiredFlag" is required (not null) + if (amountCountRequiredFlag == null) + { + throw new InvalidDataException("amountCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.AmountCountRequiredFlag = amountCountRequiredFlag; + } + // to ensure "exchangeRateMultiplyFlag" is required (not null) + if (exchangeRateMultiplyFlag == null) + { + throw new InvalidDataException("exchangeRateMultiplyFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail and cannot be null"); + } + else + { + this.ExchangeRateMultiplyFlag = exchangeRateMultiplyFlag; + } + this.OpenMediaUnitQuantity = openMediaUnitQuantity; + this.CloseMediaUnitQuantity = closeMediaUnitQuantity; + this.CountedMediaUnitQuantity = countedMediaUnitQuantity; + this.OverUnderMediaUnitQuantity = overUnderMediaUnitQuantity; + this.CurrencySymbol = currencySymbol; + this.TenderDescription = tenderDescription; + this.TenderClassCode = tenderClassCode; + this.ExchangeRate = exchangeRate; + this.ForeignCurrencyCountedBalanceAmount = foreignCurrencyCountedBalanceAmount; + this.ForeignCurrencyCloseBalanceAmount = foreignCurrencyCloseBalanceAmount; + this.StoreSafeSettlementTenderDenominationList = storeSafeSettlementTenderDenominationList; + this.Xxcustom05 = xxcustom05; + this.IsocurrencyCode = isocurrencyCode; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey Key { get; set; } + + /// + /// The opening tender balance + /// + /// The opening tender balance + [DataMember(Name="openBalanceAmount", EmitDefaultValue=false)] + public double? OpenBalanceAmount { get; set; } + + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="openMediaUnitQuantity", EmitDefaultValue=false)] + public int? OpenMediaUnitQuantity { get; set; } + + /// + /// The closing tender balance in main currencyCorresponds to the target values. + /// + /// The closing tender balance in main currencyCorresponds to the target values. + [DataMember(Name="closeBalanceAmount", EmitDefaultValue=false)] + public double? CloseBalanceAmount { get; set; } + + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="closeMediaUnitQuantity", EmitDefaultValue=false)] + public int? CloseMediaUnitQuantity { get; set; } + + /// + /// The counted tender balance in main currencyCorresponds to the target values. + /// + /// The counted tender balance in main currencyCorresponds to the target values. + [DataMember(Name="countedBalanceAmount", EmitDefaultValue=false)] + public double? CountedBalanceAmount { get; set; } + + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="countedMediaUnitQuantity", EmitDefaultValue=false)] + public int? CountedMediaUnitQuantity { get; set; } + + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount. + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount. + [DataMember(Name="overUnderBalanceAmount", EmitDefaultValue=false)] + public double? OverUnderBalanceAmount { get; set; } + + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + [DataMember(Name="overUnderMediaUnitQuantity", EmitDefaultValue=false)] + public int? OverUnderMediaUnitQuantity { get; set; } + + /// + /// The currency symbol + /// + /// The currency symbol + [DataMember(Name="currencySymbol", EmitDefaultValue=false)] + public string CurrencySymbol { get; set; } + + /// + /// Description of the tender + /// + /// Description of the tender + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + [DataMember(Name="unitCountRequiredFlag", EmitDefaultValue=false)] + public bool? UnitCountRequiredFlag { get; set; } + + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + [DataMember(Name="amountCountRequiredFlag", EmitDefaultValue=false)] + public bool? AmountCountRequiredFlag { get; set; } + + /// + /// The tender class code from master data + /// + /// The tender class code from master data + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + [DataMember(Name="exchangeRateMultiplyFlag", EmitDefaultValue=false)] + public bool? ExchangeRateMultiplyFlag { get; set; } + + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="foreignCurrencyCountedBalanceAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyCountedBalanceAmount { get; set; } + + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="foreignCurrencyCloseBalanceAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyCloseBalanceAmount { get; set; } + + /// + /// denomination list for counted values + /// + /// denomination list for counted values + [DataMember(Name="storeSafeSettlementTenderDenominationList", EmitDefaultValue=false)] + public List StoreSafeSettlementTenderDenominationList { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// The currency code of the tender + /// + /// The currency code of the tender + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" OpenBalanceAmount: ").Append(OpenBalanceAmount).Append("\n"); + sb.Append(" OpenMediaUnitQuantity: ").Append(OpenMediaUnitQuantity).Append("\n"); + sb.Append(" CloseBalanceAmount: ").Append(CloseBalanceAmount).Append("\n"); + sb.Append(" CloseMediaUnitQuantity: ").Append(CloseMediaUnitQuantity).Append("\n"); + sb.Append(" CountedBalanceAmount: ").Append(CountedBalanceAmount).Append("\n"); + sb.Append(" CountedMediaUnitQuantity: ").Append(CountedMediaUnitQuantity).Append("\n"); + sb.Append(" OverUnderBalanceAmount: ").Append(OverUnderBalanceAmount).Append("\n"); + sb.Append(" OverUnderMediaUnitQuantity: ").Append(OverUnderMediaUnitQuantity).Append("\n"); + sb.Append(" CurrencySymbol: ").Append(CurrencySymbol).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" UnitCountRequiredFlag: ").Append(UnitCountRequiredFlag).Append("\n"); + sb.Append(" AmountCountRequiredFlag: ").Append(AmountCountRequiredFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" ExchangeRateMultiplyFlag: ").Append(ExchangeRateMultiplyFlag).Append("\n"); + sb.Append(" ForeignCurrencyCountedBalanceAmount: ").Append(ForeignCurrencyCountedBalanceAmount).Append("\n"); + sb.Append(" ForeignCurrencyCloseBalanceAmount: ").Append(ForeignCurrencyCloseBalanceAmount).Append("\n"); + sb.Append(" StoreSafeSettlementTenderDenominationList: ").Append(StoreSafeSettlementTenderDenominationList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.OpenBalanceAmount == input.OpenBalanceAmount || + (this.OpenBalanceAmount != null && + this.OpenBalanceAmount.Equals(input.OpenBalanceAmount)) + ) && + ( + this.OpenMediaUnitQuantity == input.OpenMediaUnitQuantity || + (this.OpenMediaUnitQuantity != null && + this.OpenMediaUnitQuantity.Equals(input.OpenMediaUnitQuantity)) + ) && + ( + this.CloseBalanceAmount == input.CloseBalanceAmount || + (this.CloseBalanceAmount != null && + this.CloseBalanceAmount.Equals(input.CloseBalanceAmount)) + ) && + ( + this.CloseMediaUnitQuantity == input.CloseMediaUnitQuantity || + (this.CloseMediaUnitQuantity != null && + this.CloseMediaUnitQuantity.Equals(input.CloseMediaUnitQuantity)) + ) && + ( + this.CountedBalanceAmount == input.CountedBalanceAmount || + (this.CountedBalanceAmount != null && + this.CountedBalanceAmount.Equals(input.CountedBalanceAmount)) + ) && + ( + this.CountedMediaUnitQuantity == input.CountedMediaUnitQuantity || + (this.CountedMediaUnitQuantity != null && + this.CountedMediaUnitQuantity.Equals(input.CountedMediaUnitQuantity)) + ) && + ( + this.OverUnderBalanceAmount == input.OverUnderBalanceAmount || + (this.OverUnderBalanceAmount != null && + this.OverUnderBalanceAmount.Equals(input.OverUnderBalanceAmount)) + ) && + ( + this.OverUnderMediaUnitQuantity == input.OverUnderMediaUnitQuantity || + (this.OverUnderMediaUnitQuantity != null && + this.OverUnderMediaUnitQuantity.Equals(input.OverUnderMediaUnitQuantity)) + ) && + ( + this.CurrencySymbol == input.CurrencySymbol || + (this.CurrencySymbol != null && + this.CurrencySymbol.Equals(input.CurrencySymbol)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.UnitCountRequiredFlag == input.UnitCountRequiredFlag || + (this.UnitCountRequiredFlag != null && + this.UnitCountRequiredFlag.Equals(input.UnitCountRequiredFlag)) + ) && + ( + this.AmountCountRequiredFlag == input.AmountCountRequiredFlag || + (this.AmountCountRequiredFlag != null && + this.AmountCountRequiredFlag.Equals(input.AmountCountRequiredFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.ExchangeRateMultiplyFlag == input.ExchangeRateMultiplyFlag || + (this.ExchangeRateMultiplyFlag != null && + this.ExchangeRateMultiplyFlag.Equals(input.ExchangeRateMultiplyFlag)) + ) && + ( + this.ForeignCurrencyCountedBalanceAmount == input.ForeignCurrencyCountedBalanceAmount || + (this.ForeignCurrencyCountedBalanceAmount != null && + this.ForeignCurrencyCountedBalanceAmount.Equals(input.ForeignCurrencyCountedBalanceAmount)) + ) && + ( + this.ForeignCurrencyCloseBalanceAmount == input.ForeignCurrencyCloseBalanceAmount || + (this.ForeignCurrencyCloseBalanceAmount != null && + this.ForeignCurrencyCloseBalanceAmount.Equals(input.ForeignCurrencyCloseBalanceAmount)) + ) && + ( + this.StoreSafeSettlementTenderDenominationList == input.StoreSafeSettlementTenderDenominationList || + this.StoreSafeSettlementTenderDenominationList != null && + this.StoreSafeSettlementTenderDenominationList.SequenceEqual(input.StoreSafeSettlementTenderDenominationList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.OpenBalanceAmount != null) + hashCode = hashCode * 59 + this.OpenBalanceAmount.GetHashCode(); + if (this.OpenMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.OpenMediaUnitQuantity.GetHashCode(); + if (this.CloseBalanceAmount != null) + hashCode = hashCode * 59 + this.CloseBalanceAmount.GetHashCode(); + if (this.CloseMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.CloseMediaUnitQuantity.GetHashCode(); + if (this.CountedBalanceAmount != null) + hashCode = hashCode * 59 + this.CountedBalanceAmount.GetHashCode(); + if (this.CountedMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.CountedMediaUnitQuantity.GetHashCode(); + if (this.OverUnderBalanceAmount != null) + hashCode = hashCode * 59 + this.OverUnderBalanceAmount.GetHashCode(); + if (this.OverUnderMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.OverUnderMediaUnitQuantity.GetHashCode(); + if (this.CurrencySymbol != null) + hashCode = hashCode * 59 + this.CurrencySymbol.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.UnitCountRequiredFlag != null) + hashCode = hashCode * 59 + this.UnitCountRequiredFlag.GetHashCode(); + if (this.AmountCountRequiredFlag != null) + hashCode = hashCode * 59 + this.AmountCountRequiredFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.ExchangeRateMultiplyFlag != null) + hashCode = hashCode * 59 + this.ExchangeRateMultiplyFlag.GetHashCode(); + if (this.ForeignCurrencyCountedBalanceAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCountedBalanceAmount.GetHashCode(); + if (this.ForeignCurrencyCloseBalanceAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCloseBalanceAmount.GetHashCode(); + if (this.StoreSafeSettlementTenderDenominationList != null) + hashCode = hashCode * 59 + this.StoreSafeSettlementTenderDenominationList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f65ecf035a4fe5584f0a60ff1666c8f0fe3f13fe --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreSafeSettlementTenderDetail.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// A code which uniquely identifies the tender (required). + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderRepositoryID = default(string), string tenderTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderRepositoryID" is required (not null) + if (tenderRepositoryID == null) + { + throw new InvalidDataException("tenderRepositoryID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TenderRepositoryID = tenderRepositoryID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="tenderRepositoryID", EmitDefaultValue=false)] + public string TenderRepositoryID { get; set; } + + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderRepositoryID: ").Append(TenderRepositoryID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderRepositoryID == input.TenderRepositoryID || + (this.TenderRepositoryID != null && + this.TenderRepositoryID.Equals(input.TenderRepositoryID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderRepositoryID != null) + hashCode = hashCode * 59 + this.TenderRepositoryID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..46a5b98db71c5ef2e62893161e362ed470fee064 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction.cs @@ -0,0 +1,240 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreSafeSettlementTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// tender details. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey), List storeSafeSettlementTenderDetailList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction and cannot be null"); + } + else + { + this.Key = key; + } + this.StoreSafeSettlementTenderDetailList = storeSafeSettlementTenderDetailList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey Key { get; set; } + + /// + /// tender details + /// + /// tender details + [DataMember(Name="storeSafeSettlementTenderDetailList", EmitDefaultValue=false)] + public List StoreSafeSettlementTenderDetailList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" StoreSafeSettlementTenderDetailList: ").Append(StoreSafeSettlementTenderDetailList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.StoreSafeSettlementTenderDetailList == input.StoreSafeSettlementTenderDetailList || + this.StoreSafeSettlementTenderDetailList != null && + this.StoreSafeSettlementTenderDetailList.SequenceEqual(input.StoreSafeSettlementTenderDetailList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.StoreSafeSettlementTenderDetailList != null) + hashCode = hashCode * 59 + this.StoreSafeSettlementTenderDetailList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..54c5f5497aabe321a558787fd00d9fe5283aa577 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreSafeSettlementTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..723de3499128371f8b67408d9edff93fe122afd3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxLineItem.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TaxLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTaxLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTaxLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes, . + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule. . + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value!. + /// The monetary value of the transaction for which tax is being calculated.  (required). + /// The percentage of the taxable amount that should is tax. Derived by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value!. + /// The monetary amount of sales Tax calculated by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// System assigned unique identifier for the TaxGroupRule.. + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body. . + /// The name of the tax authority. This is to be printed on the receipt in some cases . + /// A tax group which links a TAX AUTHORITY to the merchandise to which the tax applies. . + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTaxLineItem(ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey), bool? taxIncludedInPricesFlag = default(bool?), bool? taxAtSourceFlag = default(bool?), double? taxablePercent = default(double?), double? taxableAmount = default(double?), double? taxPercent = default(double?), double? taxAmount = default(double?), string taxGroupRuleID = default(string), string taxAuthorityID = default(string), string taxAuthorityName = default(string), string taxGroupID = default(string), string receiptPrintCode = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "taxableAmount" is required (not null) + if (taxableAmount == null) + { + throw new InvalidDataException("taxableAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxLineItem and cannot be null"); + } + else + { + this.TaxableAmount = taxableAmount; + } + this.TaxIncludedInPricesFlag = taxIncludedInPricesFlag; + this.TaxAtSourceFlag = taxAtSourceFlag; + this.TaxablePercent = taxablePercent; + this.TaxPercent = taxPercent; + this.TaxAmount = taxAmount; + this.TaxGroupRuleID = taxGroupRuleID; + this.TaxAuthorityID = taxAuthorityID; + this.TaxAuthorityName = taxAuthorityName; + this.TaxGroupID = taxGroupID; + this.ReceiptPrintCode = receiptPrintCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey Key { get; set; } + + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + [DataMember(Name="taxIncludedInPricesFlag", EmitDefaultValue=false)] + public bool? TaxIncludedInPricesFlag { get; set; } + + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + [DataMember(Name="taxAtSourceFlag", EmitDefaultValue=false)] + public bool? TaxAtSourceFlag { get; set; } + + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + [DataMember(Name="taxablePercent", EmitDefaultValue=false)] + public double? TaxablePercent { get; set; } + + /// + /// The monetary value of the transaction for which tax is being calculated.  + /// + /// The monetary value of the transaction for which tax is being calculated.  + [DataMember(Name="taxableAmount", EmitDefaultValue=false)] + public double? TaxableAmount { get; set; } + + /// + /// The percentage of the taxable amount that should is tax. Derived by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable amount that should is tax. Derived by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + [DataMember(Name="taxPercent", EmitDefaultValue=false)] + public double? TaxPercent { get; set; } + + /// + /// The monetary amount of sales Tax calculated by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount of sales Tax calculated by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="taxAmount", EmitDefaultValue=false)] + public double? TaxAmount { get; set; } + + /// + /// System assigned unique identifier for the TaxGroupRule. + /// + /// System assigned unique identifier for the TaxGroupRule. + [DataMember(Name="taxGroupRuleID", EmitDefaultValue=false)] + public string TaxGroupRuleID { get; set; } + + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + [DataMember(Name="taxAuthorityID", EmitDefaultValue=false)] + public string TaxAuthorityID { get; set; } + + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + [DataMember(Name="taxAuthorityName", EmitDefaultValue=false)] + public string TaxAuthorityName { get; set; } + + /// + /// A tax group which links a TAX AUTHORITY to the merchandise to which the tax applies.  + /// + /// A tax group which links a TAX AUTHORITY to the merchandise to which the tax applies.  + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + [DataMember(Name="receiptPrintCode", EmitDefaultValue=false)] + public string ReceiptPrintCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTaxLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TaxIncludedInPricesFlag: ").Append(TaxIncludedInPricesFlag).Append("\n"); + sb.Append(" TaxAtSourceFlag: ").Append(TaxAtSourceFlag).Append("\n"); + sb.Append(" TaxablePercent: ").Append(TaxablePercent).Append("\n"); + sb.Append(" TaxableAmount: ").Append(TaxableAmount).Append("\n"); + sb.Append(" TaxPercent: ").Append(TaxPercent).Append("\n"); + sb.Append(" TaxAmount: ").Append(TaxAmount).Append("\n"); + sb.Append(" TaxGroupRuleID: ").Append(TaxGroupRuleID).Append("\n"); + sb.Append(" TaxAuthorityID: ").Append(TaxAuthorityID).Append("\n"); + sb.Append(" TaxAuthorityName: ").Append(TaxAuthorityName).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" ReceiptPrintCode: ").Append(ReceiptPrintCode).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTaxLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTaxLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTaxLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTaxLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TaxIncludedInPricesFlag == input.TaxIncludedInPricesFlag || + (this.TaxIncludedInPricesFlag != null && + this.TaxIncludedInPricesFlag.Equals(input.TaxIncludedInPricesFlag)) + ) && + ( + this.TaxAtSourceFlag == input.TaxAtSourceFlag || + (this.TaxAtSourceFlag != null && + this.TaxAtSourceFlag.Equals(input.TaxAtSourceFlag)) + ) && + ( + this.TaxablePercent == input.TaxablePercent || + (this.TaxablePercent != null && + this.TaxablePercent.Equals(input.TaxablePercent)) + ) && + ( + this.TaxableAmount == input.TaxableAmount || + (this.TaxableAmount != null && + this.TaxableAmount.Equals(input.TaxableAmount)) + ) && + ( + this.TaxPercent == input.TaxPercent || + (this.TaxPercent != null && + this.TaxPercent.Equals(input.TaxPercent)) + ) && + ( + this.TaxAmount == input.TaxAmount || + (this.TaxAmount != null && + this.TaxAmount.Equals(input.TaxAmount)) + ) && + ( + this.TaxGroupRuleID == input.TaxGroupRuleID || + (this.TaxGroupRuleID != null && + this.TaxGroupRuleID.Equals(input.TaxGroupRuleID)) + ) && + ( + this.TaxAuthorityID == input.TaxAuthorityID || + (this.TaxAuthorityID != null && + this.TaxAuthorityID.Equals(input.TaxAuthorityID)) + ) && + ( + this.TaxAuthorityName == input.TaxAuthorityName || + (this.TaxAuthorityName != null && + this.TaxAuthorityName.Equals(input.TaxAuthorityName)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.ReceiptPrintCode == input.ReceiptPrintCode || + (this.ReceiptPrintCode != null && + this.ReceiptPrintCode.Equals(input.ReceiptPrintCode)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TaxIncludedInPricesFlag != null) + hashCode = hashCode * 59 + this.TaxIncludedInPricesFlag.GetHashCode(); + if (this.TaxAtSourceFlag != null) + hashCode = hashCode * 59 + this.TaxAtSourceFlag.GetHashCode(); + if (this.TaxablePercent != null) + hashCode = hashCode * 59 + this.TaxablePercent.GetHashCode(); + if (this.TaxableAmount != null) + hashCode = hashCode * 59 + this.TaxableAmount.GetHashCode(); + if (this.TaxPercent != null) + hashCode = hashCode * 59 + this.TaxPercent.GetHashCode(); + if (this.TaxAmount != null) + hashCode = hashCode * 59 + this.TaxAmount.GetHashCode(); + if (this.TaxGroupRuleID != null) + hashCode = hashCode * 59 + this.TaxGroupRuleID.GetHashCode(); + if (this.TaxAuthorityID != null) + hashCode = hashCode * 59 + this.TaxAuthorityID.GetHashCode(); + if (this.TaxAuthorityName != null) + hashCode = hashCode * 59 + this.TaxAuthorityName.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.ReceiptPrintCode != null) + hashCode = hashCode * 59 + this.ReceiptPrintCode.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4e33311b15697a65c4e8a6c4e3ee33b68969a9b4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TaxLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..70b8888ed360933ea6242082725a74cf50a08e0b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction.cs @@ -0,0 +1,374 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TaxRefundTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the tax refund document. This is returned from tax refund service. (required). + /// A universally unique identifier (UUID) for the transaction in the external system. Provided by the service provider.. + /// Fiscal invoice number for countries, where this is required.. + /// The summarized gross amout for all sale transactions of this tax refund (required). + /// The summarized gross amout for all sale transactions of this tax refund<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The resulting tax refund amount (required). + /// The used tax refund service provider (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction(ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey), string taxRefundDocumentID = default(string), string externalTransactionID = default(string), string storeInvoiceID = default(string), double? totalGrossAmount = default(double?), double? totalTaxAmount = default(double?), double? totalRefundAmount = default(double?), string taxRefundServiceProviderName = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "taxRefundDocumentID" is required (not null) + if (taxRefundDocumentID == null) + { + throw new InvalidDataException("taxRefundDocumentID is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction and cannot be null"); + } + else + { + this.TaxRefundDocumentID = taxRefundDocumentID; + } + // to ensure "totalGrossAmount" is required (not null) + if (totalGrossAmount == null) + { + throw new InvalidDataException("totalGrossAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction and cannot be null"); + } + else + { + this.TotalGrossAmount = totalGrossAmount; + } + // to ensure "totalRefundAmount" is required (not null) + if (totalRefundAmount == null) + { + throw new InvalidDataException("totalRefundAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction and cannot be null"); + } + else + { + this.TotalRefundAmount = totalRefundAmount; + } + // to ensure "taxRefundServiceProviderName" is required (not null) + if (taxRefundServiceProviderName == null) + { + throw new InvalidDataException("taxRefundServiceProviderName is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction and cannot be null"); + } + else + { + this.TaxRefundServiceProviderName = taxRefundServiceProviderName; + } + this.ExternalTransactionID = externalTransactionID; + this.StoreInvoiceID = storeInvoiceID; + this.TotalTaxAmount = totalTaxAmount; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey Key { get; set; } + + /// + /// The unique identifier of the tax refund document. This is returned from tax refund service. + /// + /// The unique identifier of the tax refund document. This is returned from tax refund service. + [DataMember(Name="taxRefundDocumentID", EmitDefaultValue=false)] + public string TaxRefundDocumentID { get; set; } + + /// + /// A universally unique identifier (UUID) for the transaction in the external system. Provided by the service provider. + /// + /// A universally unique identifier (UUID) for the transaction in the external system. Provided by the service provider. + [DataMember(Name="externalTransactionID", EmitDefaultValue=false)] + public string ExternalTransactionID { get; set; } + + /// + /// Fiscal invoice number for countries, where this is required. + /// + /// Fiscal invoice number for countries, where this is required. + [DataMember(Name="storeInvoiceID", EmitDefaultValue=false)] + public string StoreInvoiceID { get; set; } + + /// + /// The summarized gross amout for all sale transactions of this tax refund + /// + /// The summarized gross amout for all sale transactions of this tax refund + [DataMember(Name="totalGrossAmount", EmitDefaultValue=false)] + public double? TotalGrossAmount { get; set; } + + /// + /// The summarized gross amout for all sale transactions of this tax refund<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The summarized gross amout for all sale transactions of this tax refund<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="totalTaxAmount", EmitDefaultValue=false)] + public double? TotalTaxAmount { get; set; } + + /// + /// The resulting tax refund amount + /// + /// The resulting tax refund amount + [DataMember(Name="totalRefundAmount", EmitDefaultValue=false)] + public double? TotalRefundAmount { get; set; } + + /// + /// The used tax refund service provider + /// + /// The used tax refund service provider + [DataMember(Name="taxRefundServiceProviderName", EmitDefaultValue=false)] + public string TaxRefundServiceProviderName { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TaxRefundDocumentID: ").Append(TaxRefundDocumentID).Append("\n"); + sb.Append(" ExternalTransactionID: ").Append(ExternalTransactionID).Append("\n"); + sb.Append(" StoreInvoiceID: ").Append(StoreInvoiceID).Append("\n"); + sb.Append(" TotalGrossAmount: ").Append(TotalGrossAmount).Append("\n"); + sb.Append(" TotalTaxAmount: ").Append(TotalTaxAmount).Append("\n"); + sb.Append(" TotalRefundAmount: ").Append(TotalRefundAmount).Append("\n"); + sb.Append(" TaxRefundServiceProviderName: ").Append(TaxRefundServiceProviderName).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TaxRefundDocumentID == input.TaxRefundDocumentID || + (this.TaxRefundDocumentID != null && + this.TaxRefundDocumentID.Equals(input.TaxRefundDocumentID)) + ) && + ( + this.ExternalTransactionID == input.ExternalTransactionID || + (this.ExternalTransactionID != null && + this.ExternalTransactionID.Equals(input.ExternalTransactionID)) + ) && + ( + this.StoreInvoiceID == input.StoreInvoiceID || + (this.StoreInvoiceID != null && + this.StoreInvoiceID.Equals(input.StoreInvoiceID)) + ) && + ( + this.TotalGrossAmount == input.TotalGrossAmount || + (this.TotalGrossAmount != null && + this.TotalGrossAmount.Equals(input.TotalGrossAmount)) + ) && + ( + this.TotalTaxAmount == input.TotalTaxAmount || + (this.TotalTaxAmount != null && + this.TotalTaxAmount.Equals(input.TotalTaxAmount)) + ) && + ( + this.TotalRefundAmount == input.TotalRefundAmount || + (this.TotalRefundAmount != null && + this.TotalRefundAmount.Equals(input.TotalRefundAmount)) + ) && + ( + this.TaxRefundServiceProviderName == input.TaxRefundServiceProviderName || + (this.TaxRefundServiceProviderName != null && + this.TaxRefundServiceProviderName.Equals(input.TaxRefundServiceProviderName)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TaxRefundDocumentID != null) + hashCode = hashCode * 59 + this.TaxRefundDocumentID.GetHashCode(); + if (this.ExternalTransactionID != null) + hashCode = hashCode * 59 + this.ExternalTransactionID.GetHashCode(); + if (this.StoreInvoiceID != null) + hashCode = hashCode * 59 + this.StoreInvoiceID.GetHashCode(); + if (this.TotalGrossAmount != null) + hashCode = hashCode * 59 + this.TotalGrossAmount.GetHashCode(); + if (this.TotalTaxAmount != null) + hashCode = hashCode * 59 + this.TotalTaxAmount.GetHashCode(); + if (this.TotalRefundAmount != null) + hashCode = hashCode * 59 + this.TotalRefundAmount.GetHashCode(); + if (this.TaxRefundServiceProviderName != null) + hashCode = hashCode * 59 + this.TaxRefundServiceProviderName.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8c11f75d646fea9eeac3ff415f9883badf288df8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TaxRefundTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..631cc7d767303e2dab3e23b435fa6409a40e4fd9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAmountAdjustmentTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier of the till (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction(ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey), string tillID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "tillID" is required (not null) + if (tillID == null) + { + throw new InvalidDataException("tillID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction and cannot be null"); + } + else + { + this.TillID = tillID; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey Key { get; set; } + + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a4da9fa2894a3bf92d0b181e92d86ee3e6c5244c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAmountAdjustmentTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization.cs new file mode 100644 index 0000000000000000000000000000000000000000..6edb3f2d6cc929662c67dea9df18c8598370bb32 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization.cs @@ -0,0 +1,928 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAuthorization <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The sequence number of line item within the context of this RetailTransaction. . + /// A code denoting which kind of card is being accepted. . + /// The account number appearing on a debit/credit card and identifying the card issuer's customer account to be charged or credited for the transaction. . + /// The IssueSequence number of the credit card being used. . + /// The expiration date of the Credit or Debit card, as taken from the card in MMYY format. . + /// A unique identifier (which may be assigned by the external authorization agency) for this TenderAuthorization . + /// The status of of the card transaction. + /// The last error message sent by the terminal . + /// The type of the terminal transaction . + /// Denotes that the Tender was authorized within the retail enterprise (usually because the connection to the host was down) and this TenderAuthorization must be approved by the host when it comes online. . + /// The monetary value of the purchases for which an authorization is being requested. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// The system time when the terminal transaction ended ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt. . + /// The transaction sequence number of the terminal . + /// Numeric code assigned by ISO to identify national currencies . + /// A code denoting how a CardHolder was verified during a TenderAuthorization.. + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization. . + /// Unique identifier of terminal transaction . + /// Used terminal defined in POS configuration.(e.g. „REAECT“, „Thales“, „Secpos“, ...) If the payment is carried out without a terminal or the terminal is not connected to the cash register: 'OFFLINE' This information is necessary for later cancellation of the terminal payment. . + /// A financial institution assigned identifier for ther Retail Enterprise or RetailStore that is conducting theTenderAuthorization. . + /// The terminal authorization number . + /// The adjudication code returned by the external agency to this TenderAuthorizationRequest . + /// An error message in text form . + /// A flag denoting that this TenderAuthorization was authorized by an external agency. . + /// The activation sequence number. + /// The transaction reference number;is used in the context of purchase reservation and reservation adjustment. + /// The transaction type sent back by the terminal;possible transaction types are debit and credit (required). + /// The tender description sent back by the terminal. + /// The application identifier sent back by the terminal. + /// The (coded) application PAN sent back by the terminal. + /// The transaction currency code sent back by the terminal. + /// The UTC0 Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The system time corresponding to UTC0 when the terminal transaction ended ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The token is a unique number assigned by the payment processor to a card when a EFT transaction is processed. You can think of it like a replacement for the PAN that can be safely stored. This token needs to be retrieved from the terminal and stored in the DB (TenderAuthorization looks like the place to put it). The token is needed in order to do refunds/voids of previous EFT transactions without the need for the customer to swipe/insert their card on the terminal. In order for the terminal (T+) to do a void of an EFT transaction we need the token, reference number, approval code and amount. Currently only the approval code and amount is passed to the terminal for voids. The token and reference number are needed to be sent to the terminal for voids. The reference number is already stored in TenderAuthorization, it just needs to be passed to the terminal. Example: 0:AmEx:AX:997309203571006:0120. + /// IBAN - International Bank Account Number for SEPA Direct Debit. + /// BIC - Bank Identifier Code. Also known as SWIFT Code for SEPA Direct Debit.. + /// Creditor ID for SEPA Direct Debit (ELV). + /// Mandate ID for SEPA Direct Debit (ELV). + /// Pre-notification text for SEPA Direct Debit (ELV). + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization. . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization(ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey), int? tenderLineItemSequenceNumber = default(int?), string cardType = default(string), string accountNumber = default(string), string cardIssueSequenceNumber = default(string), string cardExpirationDate = default(string), string referenceNumber = default(string), int? terminalTransactionStatus = default(int?), int? terminalTransactionErrorNumber = default(int?), int? terminalTransactionType = default(int?), bool? forceOnlineFlag = default(bool?), double? requestedAmount = default(double?), string authorizationDatetime = default(string), string terminalTransactionEndTimestamp = default(string), int? relatedTenderAuthorizatonSequenceNumber = default(int?), string terminalSequenceNumber = default(string), string requestedISOCurrencyNumber = default(string), string cardHolderVerificationTypeCode = default(string), int? tenderAuthorizationTerminalID = default(int?), int? traceNumber = default(int?), string terminalType = default(string), string merchantNumber = default(string), string approvalCode = default(string), string adjudicationCode = default(string), string adjudicationText = default(string), bool? hostAuthorizedFlag = default(bool?), int? activationSequenceNumber = default(int?), string terminalTransactionReferenceNumber = default(string), string terminalTransactionTypeCode = default(string), string terminalTenderDescription = default(string), string applicationID = default(string), string encryptedPAN = default(string), string terminalTransactionCurrencyCode = default(string), DateTime? authorizationDatetimeUTC0 = default(DateTime?), DateTime? terminalTransactionEndTimestampUTC0 = default(DateTime?), string terminalTransactionToken = default(string), string internationalBankAccountNumber = default(string), string bankIdentifierCode = default(string), string creditorID = default(string), string mandateID = default(string), string prenotificationText = default(string), string tenderAuthorizationTerminalID2 = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "terminalTransactionTypeCode" is required (not null) + if (terminalTransactionTypeCode == null) + { + throw new InvalidDataException("terminalTransactionTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization and cannot be null"); + } + else + { + this.TerminalTransactionTypeCode = terminalTransactionTypeCode; + } + this.TenderLineItemSequenceNumber = tenderLineItemSequenceNumber; + this.CardType = cardType; + this.AccountNumber = accountNumber; + this.CardIssueSequenceNumber = cardIssueSequenceNumber; + this.CardExpirationDate = cardExpirationDate; + this.ReferenceNumber = referenceNumber; + this.TerminalTransactionStatus = terminalTransactionStatus; + this.TerminalTransactionErrorNumber = terminalTransactionErrorNumber; + this.TerminalTransactionType = terminalTransactionType; + this.ForceOnlineFlag = forceOnlineFlag; + this.RequestedAmount = requestedAmount; + this.AuthorizationDatetime = authorizationDatetime; + this.TerminalTransactionEndTimestamp = terminalTransactionEndTimestamp; + this.RelatedTenderAuthorizatonSequenceNumber = relatedTenderAuthorizatonSequenceNumber; + this.TerminalSequenceNumber = terminalSequenceNumber; + this.RequestedISOCurrencyNumber = requestedISOCurrencyNumber; + this.CardHolderVerificationTypeCode = cardHolderVerificationTypeCode; + this.TenderAuthorizationTerminalID = tenderAuthorizationTerminalID; + this.TraceNumber = traceNumber; + this.TerminalType = terminalType; + this.MerchantNumber = merchantNumber; + this.ApprovalCode = approvalCode; + this.AdjudicationCode = adjudicationCode; + this.AdjudicationText = adjudicationText; + this.HostAuthorizedFlag = hostAuthorizedFlag; + this.ActivationSequenceNumber = activationSequenceNumber; + this.TerminalTransactionReferenceNumber = terminalTransactionReferenceNumber; + this.TerminalTenderDescription = terminalTenderDescription; + this.ApplicationID = applicationID; + this.EncryptedPAN = encryptedPAN; + this.TerminalTransactionCurrencyCode = terminalTransactionCurrencyCode; + this.AuthorizationDatetimeUTC0 = authorizationDatetimeUTC0; + this.TerminalTransactionEndTimestampUTC0 = terminalTransactionEndTimestampUTC0; + this.TerminalTransactionToken = terminalTransactionToken; + this.InternationalBankAccountNumber = internationalBankAccountNumber; + this.BankIdentifierCode = bankIdentifierCode; + this.CreditorID = creditorID; + this.MandateID = mandateID; + this.PrenotificationText = prenotificationText; + this.TenderAuthorizationTerminalID2 = tenderAuthorizationTerminalID2; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey Key { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="tenderLineItemSequenceNumber", EmitDefaultValue=false)] + public int? TenderLineItemSequenceNumber { get; set; } + + /// + /// A code denoting which kind of card is being accepted.  + /// + /// A code denoting which kind of card is being accepted.  + [DataMember(Name="cardType", EmitDefaultValue=false)] + public string CardType { get; set; } + + /// + /// The account number appearing on a debit/credit card and identifying the card issuer's customer account to be charged or credited for the transaction.  + /// + /// The account number appearing on a debit/credit card and identifying the card issuer's customer account to be charged or credited for the transaction.  + [DataMember(Name="accountNumber", EmitDefaultValue=false)] + public string AccountNumber { get; set; } + + /// + /// The IssueSequence number of the credit card being used.  + /// + /// The IssueSequence number of the credit card being used.  + [DataMember(Name="cardIssueSequenceNumber", EmitDefaultValue=false)] + public string CardIssueSequenceNumber { get; set; } + + /// + /// The expiration date of the Credit or Debit card, as taken from the card in MMYY format.  + /// + /// The expiration date of the Credit or Debit card, as taken from the card in MMYY format.  + [DataMember(Name="cardExpirationDate", EmitDefaultValue=false)] + public string CardExpirationDate { get; set; } + + /// + /// A unique identifier (which may be assigned by the external authorization agency) for this TenderAuthorization  + /// + /// A unique identifier (which may be assigned by the external authorization agency) for this TenderAuthorization  + [DataMember(Name="referenceNumber", EmitDefaultValue=false)] + public string ReferenceNumber { get; set; } + + /// + /// The status of of the card transaction + /// + /// The status of of the card transaction + [DataMember(Name="terminalTransactionStatus", EmitDefaultValue=false)] + public int? TerminalTransactionStatus { get; set; } + + /// + /// The last error message sent by the terminal  + /// + /// The last error message sent by the terminal  + [DataMember(Name="terminalTransactionErrorNumber", EmitDefaultValue=false)] + public int? TerminalTransactionErrorNumber { get; set; } + + /// + /// The type of the terminal transaction  + /// + /// The type of the terminal transaction  + [DataMember(Name="terminalTransactionType", EmitDefaultValue=false)] + public int? TerminalTransactionType { get; set; } + + /// + /// Denotes that the Tender was authorized within the retail enterprise (usually because the connection to the host was down) and this TenderAuthorization must be approved by the host when it comes online.  + /// + /// Denotes that the Tender was authorized within the retail enterprise (usually because the connection to the host was down) and this TenderAuthorization must be approved by the host when it comes online.  + [DataMember(Name="forceOnlineFlag", EmitDefaultValue=false)] + public bool? ForceOnlineFlag { get; set; } + + /// + /// The monetary value of the purchases for which an authorization is being requested. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary value of the purchases for which an authorization is being requested. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="requestedAmount", EmitDefaultValue=false)] + public double? RequestedAmount { get; set; } + + /// + /// The Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="authorizationDatetime", EmitDefaultValue=false)] + public string AuthorizationDatetime { get; set; } + + /// + /// The system time when the terminal transaction ended ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The system time when the terminal transaction ended ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="terminalTransactionEndTimestamp", EmitDefaultValue=false)] + public string TerminalTransactionEndTimestamp { get; set; } + + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + [DataMember(Name="relatedTenderAuthorizatonSequenceNumber", EmitDefaultValue=false)] + public int? RelatedTenderAuthorizatonSequenceNumber { get; set; } + + /// + /// The transaction sequence number of the terminal  + /// + /// The transaction sequence number of the terminal  + [DataMember(Name="terminalSequenceNumber", EmitDefaultValue=false)] + public string TerminalSequenceNumber { get; set; } + + /// + /// Numeric code assigned by ISO to identify national currencies  + /// + /// Numeric code assigned by ISO to identify national currencies  + [DataMember(Name="requestedISOCurrencyNumber", EmitDefaultValue=false)] + public string RequestedISOCurrencyNumber { get; set; } + + /// + /// A code denoting how a CardHolder was verified during a TenderAuthorization. + /// + /// A code denoting how a CardHolder was verified during a TenderAuthorization. + [DataMember(Name="cardHolderVerificationTypeCode", EmitDefaultValue=false)] + public string CardHolderVerificationTypeCode { get; set; } + + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + [DataMember(Name="tenderAuthorizationTerminalID", EmitDefaultValue=false)] + public int? TenderAuthorizationTerminalID { get; set; } + + /// + /// Unique identifier of terminal transaction  + /// + /// Unique identifier of terminal transaction  + [DataMember(Name="traceNumber", EmitDefaultValue=false)] + public int? TraceNumber { get; set; } + + /// + /// Used terminal defined in POS configuration.(e.g. „REAECT“, „Thales“, „Secpos“, ...) If the payment is carried out without a terminal or the terminal is not connected to the cash register: 'OFFLINE' This information is necessary for later cancellation of the terminal payment.  + /// + /// Used terminal defined in POS configuration.(e.g. „REAECT“, „Thales“, „Secpos“, ...) If the payment is carried out without a terminal or the terminal is not connected to the cash register: 'OFFLINE' This information is necessary for later cancellation of the terminal payment.  + [DataMember(Name="terminalType", EmitDefaultValue=false)] + public string TerminalType { get; set; } + + /// + /// A financial institution assigned identifier for ther Retail Enterprise or RetailStore that is conducting theTenderAuthorization.  + /// + /// A financial institution assigned identifier for ther Retail Enterprise or RetailStore that is conducting theTenderAuthorization.  + [DataMember(Name="merchantNumber", EmitDefaultValue=false)] + public string MerchantNumber { get; set; } + + /// + /// The terminal authorization number  + /// + /// The terminal authorization number  + [DataMember(Name="approvalCode", EmitDefaultValue=false)] + public string ApprovalCode { get; set; } + + /// + /// The adjudication code returned by the external agency to this TenderAuthorizationRequest  + /// + /// The adjudication code returned by the external agency to this TenderAuthorizationRequest  + [DataMember(Name="adjudicationCode", EmitDefaultValue=false)] + public string AdjudicationCode { get; set; } + + /// + /// An error message in text form  + /// + /// An error message in text form  + [DataMember(Name="adjudicationText", EmitDefaultValue=false)] + public string AdjudicationText { get; set; } + + /// + /// A flag denoting that this TenderAuthorization was authorized by an external agency.  + /// + /// A flag denoting that this TenderAuthorization was authorized by an external agency.  + [DataMember(Name="hostAuthorizedFlag", EmitDefaultValue=false)] + public bool? HostAuthorizedFlag { get; set; } + + /// + /// The activation sequence number + /// + /// The activation sequence number + [DataMember(Name="activationSequenceNumber", EmitDefaultValue=false)] + public int? ActivationSequenceNumber { get; set; } + + /// + /// The transaction reference number;is used in the context of purchase reservation and reservation adjustment + /// + /// The transaction reference number;is used in the context of purchase reservation and reservation adjustment + [DataMember(Name="terminalTransactionReferenceNumber", EmitDefaultValue=false)] + public string TerminalTransactionReferenceNumber { get; set; } + + /// + /// The transaction type sent back by the terminal;possible transaction types are debit and credit + /// + /// The transaction type sent back by the terminal;possible transaction types are debit and credit + [DataMember(Name="terminalTransactionTypeCode", EmitDefaultValue=false)] + public string TerminalTransactionTypeCode { get; set; } + + /// + /// The tender description sent back by the terminal + /// + /// The tender description sent back by the terminal + [DataMember(Name="terminalTenderDescription", EmitDefaultValue=false)] + public string TerminalTenderDescription { get; set; } + + /// + /// The application identifier sent back by the terminal + /// + /// The application identifier sent back by the terminal + [DataMember(Name="applicationID", EmitDefaultValue=false)] + public string ApplicationID { get; set; } + + /// + /// The (coded) application PAN sent back by the terminal + /// + /// The (coded) application PAN sent back by the terminal + [DataMember(Name="encryptedPAN", EmitDefaultValue=false)] + public string EncryptedPAN { get; set; } + + /// + /// The transaction currency code sent back by the terminal + /// + /// The transaction currency code sent back by the terminal + [DataMember(Name="terminalTransactionCurrencyCode", EmitDefaultValue=false)] + public string TerminalTransactionCurrencyCode { get; set; } + + /// + /// The UTC0 Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="authorizationDatetimeUTC0", EmitDefaultValue=false)] + public DateTime? AuthorizationDatetimeUTC0 { get; set; } + + /// + /// The system time corresponding to UTC0 when the terminal transaction ended ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The system time corresponding to UTC0 when the terminal transaction ended ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="terminalTransactionEndTimestampUTC0", EmitDefaultValue=false)] + public DateTime? TerminalTransactionEndTimestampUTC0 { get; set; } + + /// + /// The token is a unique number assigned by the payment processor to a card when a EFT transaction is processed. You can think of it like a replacement for the PAN that can be safely stored. This token needs to be retrieved from the terminal and stored in the DB (TenderAuthorization looks like the place to put it). The token is needed in order to do refunds/voids of previous EFT transactions without the need for the customer to swipe/insert their card on the terminal. In order for the terminal (T+) to do a void of an EFT transaction we need the token, reference number, approval code and amount. Currently only the approval code and amount is passed to the terminal for voids. The token and reference number are needed to be sent to the terminal for voids. The reference number is already stored in TenderAuthorization, it just needs to be passed to the terminal. Example: 0:AmEx:AX:997309203571006:0120 + /// + /// The token is a unique number assigned by the payment processor to a card when a EFT transaction is processed. You can think of it like a replacement for the PAN that can be safely stored. This token needs to be retrieved from the terminal and stored in the DB (TenderAuthorization looks like the place to put it). The token is needed in order to do refunds/voids of previous EFT transactions without the need for the customer to swipe/insert their card on the terminal. In order for the terminal (T+) to do a void of an EFT transaction we need the token, reference number, approval code and amount. Currently only the approval code and amount is passed to the terminal for voids. The token and reference number are needed to be sent to the terminal for voids. The reference number is already stored in TenderAuthorization, it just needs to be passed to the terminal. Example: 0:AmEx:AX:997309203571006:0120 + [DataMember(Name="terminalTransactionToken", EmitDefaultValue=false)] + public string TerminalTransactionToken { get; set; } + + /// + /// IBAN - International Bank Account Number for SEPA Direct Debit + /// + /// IBAN - International Bank Account Number for SEPA Direct Debit + [DataMember(Name="internationalBankAccountNumber", EmitDefaultValue=false)] + public string InternationalBankAccountNumber { get; set; } + + /// + /// BIC - Bank Identifier Code. Also known as SWIFT Code for SEPA Direct Debit. + /// + /// BIC - Bank Identifier Code. Also known as SWIFT Code for SEPA Direct Debit. + [DataMember(Name="bankIdentifierCode", EmitDefaultValue=false)] + public string BankIdentifierCode { get; set; } + + /// + /// Creditor ID for SEPA Direct Debit (ELV) + /// + /// Creditor ID for SEPA Direct Debit (ELV) + [DataMember(Name="creditorID", EmitDefaultValue=false)] + public string CreditorID { get; set; } + + /// + /// Mandate ID for SEPA Direct Debit (ELV) + /// + /// Mandate ID for SEPA Direct Debit (ELV) + [DataMember(Name="mandateID", EmitDefaultValue=false)] + public string MandateID { get; set; } + + /// + /// Pre-notification text for SEPA Direct Debit (ELV) + /// + /// Pre-notification text for SEPA Direct Debit (ELV) + [DataMember(Name="prenotificationText", EmitDefaultValue=false)] + public string PrenotificationText { get; set; } + + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + [DataMember(Name="tenderAuthorizationTerminalID2", EmitDefaultValue=false)] + public string TenderAuthorizationTerminalID2 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TenderLineItemSequenceNumber: ").Append(TenderLineItemSequenceNumber).Append("\n"); + sb.Append(" CardType: ").Append(CardType).Append("\n"); + sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n"); + sb.Append(" CardIssueSequenceNumber: ").Append(CardIssueSequenceNumber).Append("\n"); + sb.Append(" CardExpirationDate: ").Append(CardExpirationDate).Append("\n"); + sb.Append(" ReferenceNumber: ").Append(ReferenceNumber).Append("\n"); + sb.Append(" TerminalTransactionStatus: ").Append(TerminalTransactionStatus).Append("\n"); + sb.Append(" TerminalTransactionErrorNumber: ").Append(TerminalTransactionErrorNumber).Append("\n"); + sb.Append(" TerminalTransactionType: ").Append(TerminalTransactionType).Append("\n"); + sb.Append(" ForceOnlineFlag: ").Append(ForceOnlineFlag).Append("\n"); + sb.Append(" RequestedAmount: ").Append(RequestedAmount).Append("\n"); + sb.Append(" AuthorizationDatetime: ").Append(AuthorizationDatetime).Append("\n"); + sb.Append(" TerminalTransactionEndTimestamp: ").Append(TerminalTransactionEndTimestamp).Append("\n"); + sb.Append(" RelatedTenderAuthorizatonSequenceNumber: ").Append(RelatedTenderAuthorizatonSequenceNumber).Append("\n"); + sb.Append(" TerminalSequenceNumber: ").Append(TerminalSequenceNumber).Append("\n"); + sb.Append(" RequestedISOCurrencyNumber: ").Append(RequestedISOCurrencyNumber).Append("\n"); + sb.Append(" CardHolderVerificationTypeCode: ").Append(CardHolderVerificationTypeCode).Append("\n"); + sb.Append(" TenderAuthorizationTerminalID: ").Append(TenderAuthorizationTerminalID).Append("\n"); + sb.Append(" TraceNumber: ").Append(TraceNumber).Append("\n"); + sb.Append(" TerminalType: ").Append(TerminalType).Append("\n"); + sb.Append(" MerchantNumber: ").Append(MerchantNumber).Append("\n"); + sb.Append(" ApprovalCode: ").Append(ApprovalCode).Append("\n"); + sb.Append(" AdjudicationCode: ").Append(AdjudicationCode).Append("\n"); + sb.Append(" AdjudicationText: ").Append(AdjudicationText).Append("\n"); + sb.Append(" HostAuthorizedFlag: ").Append(HostAuthorizedFlag).Append("\n"); + sb.Append(" ActivationSequenceNumber: ").Append(ActivationSequenceNumber).Append("\n"); + sb.Append(" TerminalTransactionReferenceNumber: ").Append(TerminalTransactionReferenceNumber).Append("\n"); + sb.Append(" TerminalTransactionTypeCode: ").Append(TerminalTransactionTypeCode).Append("\n"); + sb.Append(" TerminalTenderDescription: ").Append(TerminalTenderDescription).Append("\n"); + sb.Append(" ApplicationID: ").Append(ApplicationID).Append("\n"); + sb.Append(" EncryptedPAN: ").Append(EncryptedPAN).Append("\n"); + sb.Append(" TerminalTransactionCurrencyCode: ").Append(TerminalTransactionCurrencyCode).Append("\n"); + sb.Append(" AuthorizationDatetimeUTC0: ").Append(AuthorizationDatetimeUTC0).Append("\n"); + sb.Append(" TerminalTransactionEndTimestampUTC0: ").Append(TerminalTransactionEndTimestampUTC0).Append("\n"); + sb.Append(" TerminalTransactionToken: ").Append(TerminalTransactionToken).Append("\n"); + sb.Append(" InternationalBankAccountNumber: ").Append(InternationalBankAccountNumber).Append("\n"); + sb.Append(" BankIdentifierCode: ").Append(BankIdentifierCode).Append("\n"); + sb.Append(" CreditorID: ").Append(CreditorID).Append("\n"); + sb.Append(" MandateID: ").Append(MandateID).Append("\n"); + sb.Append(" PrenotificationText: ").Append(PrenotificationText).Append("\n"); + sb.Append(" TenderAuthorizationTerminalID2: ").Append(TenderAuthorizationTerminalID2).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TenderLineItemSequenceNumber == input.TenderLineItemSequenceNumber || + (this.TenderLineItemSequenceNumber != null && + this.TenderLineItemSequenceNumber.Equals(input.TenderLineItemSequenceNumber)) + ) && + ( + this.CardType == input.CardType || + (this.CardType != null && + this.CardType.Equals(input.CardType)) + ) && + ( + this.AccountNumber == input.AccountNumber || + (this.AccountNumber != null && + this.AccountNumber.Equals(input.AccountNumber)) + ) && + ( + this.CardIssueSequenceNumber == input.CardIssueSequenceNumber || + (this.CardIssueSequenceNumber != null && + this.CardIssueSequenceNumber.Equals(input.CardIssueSequenceNumber)) + ) && + ( + this.CardExpirationDate == input.CardExpirationDate || + (this.CardExpirationDate != null && + this.CardExpirationDate.Equals(input.CardExpirationDate)) + ) && + ( + this.ReferenceNumber == input.ReferenceNumber || + (this.ReferenceNumber != null && + this.ReferenceNumber.Equals(input.ReferenceNumber)) + ) && + ( + this.TerminalTransactionStatus == input.TerminalTransactionStatus || + (this.TerminalTransactionStatus != null && + this.TerminalTransactionStatus.Equals(input.TerminalTransactionStatus)) + ) && + ( + this.TerminalTransactionErrorNumber == input.TerminalTransactionErrorNumber || + (this.TerminalTransactionErrorNumber != null && + this.TerminalTransactionErrorNumber.Equals(input.TerminalTransactionErrorNumber)) + ) && + ( + this.TerminalTransactionType == input.TerminalTransactionType || + (this.TerminalTransactionType != null && + this.TerminalTransactionType.Equals(input.TerminalTransactionType)) + ) && + ( + this.ForceOnlineFlag == input.ForceOnlineFlag || + (this.ForceOnlineFlag != null && + this.ForceOnlineFlag.Equals(input.ForceOnlineFlag)) + ) && + ( + this.RequestedAmount == input.RequestedAmount || + (this.RequestedAmount != null && + this.RequestedAmount.Equals(input.RequestedAmount)) + ) && + ( + this.AuthorizationDatetime == input.AuthorizationDatetime || + (this.AuthorizationDatetime != null && + this.AuthorizationDatetime.Equals(input.AuthorizationDatetime)) + ) && + ( + this.TerminalTransactionEndTimestamp == input.TerminalTransactionEndTimestamp || + (this.TerminalTransactionEndTimestamp != null && + this.TerminalTransactionEndTimestamp.Equals(input.TerminalTransactionEndTimestamp)) + ) && + ( + this.RelatedTenderAuthorizatonSequenceNumber == input.RelatedTenderAuthorizatonSequenceNumber || + (this.RelatedTenderAuthorizatonSequenceNumber != null && + this.RelatedTenderAuthorizatonSequenceNumber.Equals(input.RelatedTenderAuthorizatonSequenceNumber)) + ) && + ( + this.TerminalSequenceNumber == input.TerminalSequenceNumber || + (this.TerminalSequenceNumber != null && + this.TerminalSequenceNumber.Equals(input.TerminalSequenceNumber)) + ) && + ( + this.RequestedISOCurrencyNumber == input.RequestedISOCurrencyNumber || + (this.RequestedISOCurrencyNumber != null && + this.RequestedISOCurrencyNumber.Equals(input.RequestedISOCurrencyNumber)) + ) && + ( + this.CardHolderVerificationTypeCode == input.CardHolderVerificationTypeCode || + (this.CardHolderVerificationTypeCode != null && + this.CardHolderVerificationTypeCode.Equals(input.CardHolderVerificationTypeCode)) + ) && + ( + this.TenderAuthorizationTerminalID == input.TenderAuthorizationTerminalID || + (this.TenderAuthorizationTerminalID != null && + this.TenderAuthorizationTerminalID.Equals(input.TenderAuthorizationTerminalID)) + ) && + ( + this.TraceNumber == input.TraceNumber || + (this.TraceNumber != null && + this.TraceNumber.Equals(input.TraceNumber)) + ) && + ( + this.TerminalType == input.TerminalType || + (this.TerminalType != null && + this.TerminalType.Equals(input.TerminalType)) + ) && + ( + this.MerchantNumber == input.MerchantNumber || + (this.MerchantNumber != null && + this.MerchantNumber.Equals(input.MerchantNumber)) + ) && + ( + this.ApprovalCode == input.ApprovalCode || + (this.ApprovalCode != null && + this.ApprovalCode.Equals(input.ApprovalCode)) + ) && + ( + this.AdjudicationCode == input.AdjudicationCode || + (this.AdjudicationCode != null && + this.AdjudicationCode.Equals(input.AdjudicationCode)) + ) && + ( + this.AdjudicationText == input.AdjudicationText || + (this.AdjudicationText != null && + this.AdjudicationText.Equals(input.AdjudicationText)) + ) && + ( + this.HostAuthorizedFlag == input.HostAuthorizedFlag || + (this.HostAuthorizedFlag != null && + this.HostAuthorizedFlag.Equals(input.HostAuthorizedFlag)) + ) && + ( + this.ActivationSequenceNumber == input.ActivationSequenceNumber || + (this.ActivationSequenceNumber != null && + this.ActivationSequenceNumber.Equals(input.ActivationSequenceNumber)) + ) && + ( + this.TerminalTransactionReferenceNumber == input.TerminalTransactionReferenceNumber || + (this.TerminalTransactionReferenceNumber != null && + this.TerminalTransactionReferenceNumber.Equals(input.TerminalTransactionReferenceNumber)) + ) && + ( + this.TerminalTransactionTypeCode == input.TerminalTransactionTypeCode || + (this.TerminalTransactionTypeCode != null && + this.TerminalTransactionTypeCode.Equals(input.TerminalTransactionTypeCode)) + ) && + ( + this.TerminalTenderDescription == input.TerminalTenderDescription || + (this.TerminalTenderDescription != null && + this.TerminalTenderDescription.Equals(input.TerminalTenderDescription)) + ) && + ( + this.ApplicationID == input.ApplicationID || + (this.ApplicationID != null && + this.ApplicationID.Equals(input.ApplicationID)) + ) && + ( + this.EncryptedPAN == input.EncryptedPAN || + (this.EncryptedPAN != null && + this.EncryptedPAN.Equals(input.EncryptedPAN)) + ) && + ( + this.TerminalTransactionCurrencyCode == input.TerminalTransactionCurrencyCode || + (this.TerminalTransactionCurrencyCode != null && + this.TerminalTransactionCurrencyCode.Equals(input.TerminalTransactionCurrencyCode)) + ) && + ( + this.AuthorizationDatetimeUTC0 == input.AuthorizationDatetimeUTC0 || + (this.AuthorizationDatetimeUTC0 != null && + this.AuthorizationDatetimeUTC0.Equals(input.AuthorizationDatetimeUTC0)) + ) && + ( + this.TerminalTransactionEndTimestampUTC0 == input.TerminalTransactionEndTimestampUTC0 || + (this.TerminalTransactionEndTimestampUTC0 != null && + this.TerminalTransactionEndTimestampUTC0.Equals(input.TerminalTransactionEndTimestampUTC0)) + ) && + ( + this.TerminalTransactionToken == input.TerminalTransactionToken || + (this.TerminalTransactionToken != null && + this.TerminalTransactionToken.Equals(input.TerminalTransactionToken)) + ) && + ( + this.InternationalBankAccountNumber == input.InternationalBankAccountNumber || + (this.InternationalBankAccountNumber != null && + this.InternationalBankAccountNumber.Equals(input.InternationalBankAccountNumber)) + ) && + ( + this.BankIdentifierCode == input.BankIdentifierCode || + (this.BankIdentifierCode != null && + this.BankIdentifierCode.Equals(input.BankIdentifierCode)) + ) && + ( + this.CreditorID == input.CreditorID || + (this.CreditorID != null && + this.CreditorID.Equals(input.CreditorID)) + ) && + ( + this.MandateID == input.MandateID || + (this.MandateID != null && + this.MandateID.Equals(input.MandateID)) + ) && + ( + this.PrenotificationText == input.PrenotificationText || + (this.PrenotificationText != null && + this.PrenotificationText.Equals(input.PrenotificationText)) + ) && + ( + this.TenderAuthorizationTerminalID2 == input.TenderAuthorizationTerminalID2 || + (this.TenderAuthorizationTerminalID2 != null && + this.TenderAuthorizationTerminalID2.Equals(input.TenderAuthorizationTerminalID2)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TenderLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.TenderLineItemSequenceNumber.GetHashCode(); + if (this.CardType != null) + hashCode = hashCode * 59 + this.CardType.GetHashCode(); + if (this.AccountNumber != null) + hashCode = hashCode * 59 + this.AccountNumber.GetHashCode(); + if (this.CardIssueSequenceNumber != null) + hashCode = hashCode * 59 + this.CardIssueSequenceNumber.GetHashCode(); + if (this.CardExpirationDate != null) + hashCode = hashCode * 59 + this.CardExpirationDate.GetHashCode(); + if (this.ReferenceNumber != null) + hashCode = hashCode * 59 + this.ReferenceNumber.GetHashCode(); + if (this.TerminalTransactionStatus != null) + hashCode = hashCode * 59 + this.TerminalTransactionStatus.GetHashCode(); + if (this.TerminalTransactionErrorNumber != null) + hashCode = hashCode * 59 + this.TerminalTransactionErrorNumber.GetHashCode(); + if (this.TerminalTransactionType != null) + hashCode = hashCode * 59 + this.TerminalTransactionType.GetHashCode(); + if (this.ForceOnlineFlag != null) + hashCode = hashCode * 59 + this.ForceOnlineFlag.GetHashCode(); + if (this.RequestedAmount != null) + hashCode = hashCode * 59 + this.RequestedAmount.GetHashCode(); + if (this.AuthorizationDatetime != null) + hashCode = hashCode * 59 + this.AuthorizationDatetime.GetHashCode(); + if (this.TerminalTransactionEndTimestamp != null) + hashCode = hashCode * 59 + this.TerminalTransactionEndTimestamp.GetHashCode(); + if (this.RelatedTenderAuthorizatonSequenceNumber != null) + hashCode = hashCode * 59 + this.RelatedTenderAuthorizatonSequenceNumber.GetHashCode(); + if (this.TerminalSequenceNumber != null) + hashCode = hashCode * 59 + this.TerminalSequenceNumber.GetHashCode(); + if (this.RequestedISOCurrencyNumber != null) + hashCode = hashCode * 59 + this.RequestedISOCurrencyNumber.GetHashCode(); + if (this.CardHolderVerificationTypeCode != null) + hashCode = hashCode * 59 + this.CardHolderVerificationTypeCode.GetHashCode(); + if (this.TenderAuthorizationTerminalID != null) + hashCode = hashCode * 59 + this.TenderAuthorizationTerminalID.GetHashCode(); + if (this.TraceNumber != null) + hashCode = hashCode * 59 + this.TraceNumber.GetHashCode(); + if (this.TerminalType != null) + hashCode = hashCode * 59 + this.TerminalType.GetHashCode(); + if (this.MerchantNumber != null) + hashCode = hashCode * 59 + this.MerchantNumber.GetHashCode(); + if (this.ApprovalCode != null) + hashCode = hashCode * 59 + this.ApprovalCode.GetHashCode(); + if (this.AdjudicationCode != null) + hashCode = hashCode * 59 + this.AdjudicationCode.GetHashCode(); + if (this.AdjudicationText != null) + hashCode = hashCode * 59 + this.AdjudicationText.GetHashCode(); + if (this.HostAuthorizedFlag != null) + hashCode = hashCode * 59 + this.HostAuthorizedFlag.GetHashCode(); + if (this.ActivationSequenceNumber != null) + hashCode = hashCode * 59 + this.ActivationSequenceNumber.GetHashCode(); + if (this.TerminalTransactionReferenceNumber != null) + hashCode = hashCode * 59 + this.TerminalTransactionReferenceNumber.GetHashCode(); + if (this.TerminalTransactionTypeCode != null) + hashCode = hashCode * 59 + this.TerminalTransactionTypeCode.GetHashCode(); + if (this.TerminalTenderDescription != null) + hashCode = hashCode * 59 + this.TerminalTenderDescription.GetHashCode(); + if (this.ApplicationID != null) + hashCode = hashCode * 59 + this.ApplicationID.GetHashCode(); + if (this.EncryptedPAN != null) + hashCode = hashCode * 59 + this.EncryptedPAN.GetHashCode(); + if (this.TerminalTransactionCurrencyCode != null) + hashCode = hashCode * 59 + this.TerminalTransactionCurrencyCode.GetHashCode(); + if (this.AuthorizationDatetimeUTC0 != null) + hashCode = hashCode * 59 + this.AuthorizationDatetimeUTC0.GetHashCode(); + if (this.TerminalTransactionEndTimestampUTC0 != null) + hashCode = hashCode * 59 + this.TerminalTransactionEndTimestampUTC0.GetHashCode(); + if (this.TerminalTransactionToken != null) + hashCode = hashCode * 59 + this.TerminalTransactionToken.GetHashCode(); + if (this.InternationalBankAccountNumber != null) + hashCode = hashCode * 59 + this.InternationalBankAccountNumber.GetHashCode(); + if (this.BankIdentifierCode != null) + hashCode = hashCode * 59 + this.BankIdentifierCode.GetHashCode(); + if (this.CreditorID != null) + hashCode = hashCode * 59 + this.CreditorID.GetHashCode(); + if (this.MandateID != null) + hashCode = hashCode * 59 + this.MandateID.GetHashCode(); + if (this.PrenotificationText != null) + hashCode = hashCode * 59 + this.PrenotificationText.GetHashCode(); + if (this.TenderAuthorizationTerminalID2 != null) + hashCode = hashCode * 59 + this.TenderAuthorizationTerminalID2.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a1ae59b2ece496c1c110063493638bed50fe5066 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAuthorization.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? tenderAuthorizationSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderAuthorizationSequenceNumber" is required (not null) + if (tenderAuthorizationSequenceNumber == null) + { + throw new InvalidDataException("tenderAuthorizationSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey and cannot be null"); + } + else + { + this.TenderAuthorizationSequenceNumber = tenderAuthorizationSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + [DataMember(Name="tenderAuthorizationSequenceNumber", EmitDefaultValue=false)] + public int? TenderAuthorizationSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderAuthorizationSequenceNumber: ").Append(TenderAuthorizationSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderAuthorizationSequenceNumber == input.TenderAuthorizationSequenceNumber || + (this.TenderAuthorizationSequenceNumber != null && + this.TenderAuthorizationSequenceNumber.Equals(input.TenderAuthorizationSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderAuthorizationSequenceNumber != null) + hashCode = hashCode * 59 + this.TenderAuthorizationSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..6796d0f4d2170c65e2263fb13396c7b204dfa01c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction.cs @@ -0,0 +1,325 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderControlTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A code to denote the type of the tender control transaction.. + /// list of tender line items. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// additional pickup data. + /// additional loan data. + /// additional data for tender amount adjustments. + /// additional data for inbound/outbound safe transactions. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey), string tenderControlTypeCode = default(string), List tenderControlTransactionTenderLineItemList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), List tenderPickupTransactionList = default(List), List tenderLoanTransactionList = default(List), List tenderAmountAdjustmentTransactionList = default(List), List tenderDepositReceiptTransactionList = default(List), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction and cannot be null"); + } + else + { + this.Key = key; + } + this.TenderControlTypeCode = tenderControlTypeCode; + this.TenderControlTransactionTenderLineItemList = tenderControlTransactionTenderLineItemList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.TenderPickupTransactionList = tenderPickupTransactionList; + this.TenderLoanTransactionList = tenderLoanTransactionList; + this.TenderAmountAdjustmentTransactionList = tenderAmountAdjustmentTransactionList; + this.TenderDepositReceiptTransactionList = tenderDepositReceiptTransactionList; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey Key { get; set; } + + /// + /// A code to denote the type of the tender control transaction. + /// + /// A code to denote the type of the tender control transaction. + [DataMember(Name="tenderControlTypeCode", EmitDefaultValue=false)] + public string TenderControlTypeCode { get; set; } + + /// + /// list of tender line items + /// + /// list of tender line items + [DataMember(Name="tenderControlTransactionTenderLineItemList", EmitDefaultValue=false)] + public List TenderControlTransactionTenderLineItemList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// additional pickup data + /// + /// additional pickup data + [DataMember(Name="tenderPickupTransactionList", EmitDefaultValue=false)] + public List TenderPickupTransactionList { get; set; } + + /// + /// additional loan data + /// + /// additional loan data + [DataMember(Name="tenderLoanTransactionList", EmitDefaultValue=false)] + public List TenderLoanTransactionList { get; set; } + + /// + /// additional data for tender amount adjustments + /// + /// additional data for tender amount adjustments + [DataMember(Name="tenderAmountAdjustmentTransactionList", EmitDefaultValue=false)] + public List TenderAmountAdjustmentTransactionList { get; set; } + + /// + /// additional data for inbound/outbound safe transactions + /// + /// additional data for inbound/outbound safe transactions + [DataMember(Name="tenderDepositReceiptTransactionList", EmitDefaultValue=false)] + public List TenderDepositReceiptTransactionList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TenderControlTypeCode: ").Append(TenderControlTypeCode).Append("\n"); + sb.Append(" TenderControlTransactionTenderLineItemList: ").Append(TenderControlTransactionTenderLineItemList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" TenderPickupTransactionList: ").Append(TenderPickupTransactionList).Append("\n"); + sb.Append(" TenderLoanTransactionList: ").Append(TenderLoanTransactionList).Append("\n"); + sb.Append(" TenderAmountAdjustmentTransactionList: ").Append(TenderAmountAdjustmentTransactionList).Append("\n"); + sb.Append(" TenderDepositReceiptTransactionList: ").Append(TenderDepositReceiptTransactionList).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TenderControlTypeCode == input.TenderControlTypeCode || + (this.TenderControlTypeCode != null && + this.TenderControlTypeCode.Equals(input.TenderControlTypeCode)) + ) && + ( + this.TenderControlTransactionTenderLineItemList == input.TenderControlTransactionTenderLineItemList || + this.TenderControlTransactionTenderLineItemList != null && + this.TenderControlTransactionTenderLineItemList.SequenceEqual(input.TenderControlTransactionTenderLineItemList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.TenderPickupTransactionList == input.TenderPickupTransactionList || + this.TenderPickupTransactionList != null && + this.TenderPickupTransactionList.SequenceEqual(input.TenderPickupTransactionList) + ) && + ( + this.TenderLoanTransactionList == input.TenderLoanTransactionList || + this.TenderLoanTransactionList != null && + this.TenderLoanTransactionList.SequenceEqual(input.TenderLoanTransactionList) + ) && + ( + this.TenderAmountAdjustmentTransactionList == input.TenderAmountAdjustmentTransactionList || + this.TenderAmountAdjustmentTransactionList != null && + this.TenderAmountAdjustmentTransactionList.SequenceEqual(input.TenderAmountAdjustmentTransactionList) + ) && + ( + this.TenderDepositReceiptTransactionList == input.TenderDepositReceiptTransactionList || + this.TenderDepositReceiptTransactionList != null && + this.TenderDepositReceiptTransactionList.SequenceEqual(input.TenderDepositReceiptTransactionList) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TenderControlTypeCode != null) + hashCode = hashCode * 59 + this.TenderControlTypeCode.GetHashCode(); + if (this.TenderControlTransactionTenderLineItemList != null) + hashCode = hashCode * 59 + this.TenderControlTransactionTenderLineItemList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.TenderPickupTransactionList != null) + hashCode = hashCode * 59 + this.TenderPickupTransactionList.GetHashCode(); + if (this.TenderLoanTransactionList != null) + hashCode = hashCode * 59 + this.TenderLoanTransactionList.GetHashCode(); + if (this.TenderAmountAdjustmentTransactionList != null) + hashCode = hashCode * 59 + this.TenderAmountAdjustmentTransactionList.GetHashCode(); + if (this.TenderDepositReceiptTransactionList != null) + hashCode = hashCode * 59 + this.TenderDepositReceiptTransactionList.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..58f023404ec1ed8108fbe8425b07a212e74a6b53 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderControlTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..4894994d61d289507b7e1cb2eaf17f9ed0b7ba6a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem.cs @@ -0,0 +1,467 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderControlTransactionTenderLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The monetary value (in currency being moved) of the Tender being moved by the transaction. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The monetary value (in the default system currency) of the Tender being moved by the transaction.  (required). + /// The number of tender units being moved. (required). + /// list of denominations. + /// Currency symbol. + /// Description of the tender. + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  (required). + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  (required). + /// The tender class code from master data. + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value!. + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor (required). + /// Customizable information. + /// Currency code of the tender. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey), double? foreignCurrencyAmount = default(double?), double? amount = default(double?), int? count = default(int?), List tenderControlTransactionTenderLineItemDenominationList = default(List), string currencySymbol = default(string), string tenderDescription = default(string), bool? unitCountRequiredFlag = default(bool?), bool? amountCountRequiredFlag = default(bool?), string tenderClassCode = default(string), double? exchangeRate = default(double?), bool? exchangeRateMultiplyFlag = default(bool?), string xxcustom05 = default(string), string isocurrencyCode = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem and cannot be null"); + } + else + { + this.Amount = amount; + } + // to ensure "count" is required (not null) + if (count == null) + { + throw new InvalidDataException("count is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem and cannot be null"); + } + else + { + this.Count = count; + } + // to ensure "unitCountRequiredFlag" is required (not null) + if (unitCountRequiredFlag == null) + { + throw new InvalidDataException("unitCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem and cannot be null"); + } + else + { + this.UnitCountRequiredFlag = unitCountRequiredFlag; + } + // to ensure "amountCountRequiredFlag" is required (not null) + if (amountCountRequiredFlag == null) + { + throw new InvalidDataException("amountCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem and cannot be null"); + } + else + { + this.AmountCountRequiredFlag = amountCountRequiredFlag; + } + // to ensure "exchangeRateMultiplyFlag" is required (not null) + if (exchangeRateMultiplyFlag == null) + { + throw new InvalidDataException("exchangeRateMultiplyFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem and cannot be null"); + } + else + { + this.ExchangeRateMultiplyFlag = exchangeRateMultiplyFlag; + } + this.ForeignCurrencyAmount = foreignCurrencyAmount; + this.TenderControlTransactionTenderLineItemDenominationList = tenderControlTransactionTenderLineItemDenominationList; + this.CurrencySymbol = currencySymbol; + this.TenderDescription = tenderDescription; + this.TenderClassCode = tenderClassCode; + this.ExchangeRate = exchangeRate; + this.Xxcustom05 = xxcustom05; + this.IsocurrencyCode = isocurrencyCode; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey Key { get; set; } + + /// + /// The monetary value (in currency being moved) of the Tender being moved by the transaction. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary value (in currency being moved) of the Tender being moved by the transaction. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="foreignCurrencyAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyAmount { get; set; } + + /// + /// The monetary value (in the default system currency) of the Tender being moved by the transaction.  + /// + /// The monetary value (in the default system currency) of the Tender being moved by the transaction.  + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// The number of tender units being moved. + /// + /// The number of tender units being moved. + [DataMember(Name="count", EmitDefaultValue=false)] + public int? Count { get; set; } + + /// + /// list of denominations + /// + /// list of denominations + [DataMember(Name="tenderControlTransactionTenderLineItemDenominationList", EmitDefaultValue=false)] + public List TenderControlTransactionTenderLineItemDenominationList { get; set; } + + /// + /// Currency symbol + /// + /// Currency symbol + [DataMember(Name="currencySymbol", EmitDefaultValue=false)] + public string CurrencySymbol { get; set; } + + /// + /// Description of the tender + /// + /// Description of the tender + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + [DataMember(Name="unitCountRequiredFlag", EmitDefaultValue=false)] + public bool? UnitCountRequiredFlag { get; set; } + + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + [DataMember(Name="amountCountRequiredFlag", EmitDefaultValue=false)] + public bool? AmountCountRequiredFlag { get; set; } + + /// + /// The tender class code from master data + /// + /// The tender class code from master data + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor + [DataMember(Name="exchangeRateMultiplyFlag", EmitDefaultValue=false)] + public bool? ExchangeRateMultiplyFlag { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Currency code of the tender + /// + /// Currency code of the tender + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ForeignCurrencyAmount: ").Append(ForeignCurrencyAmount).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Count: ").Append(Count).Append("\n"); + sb.Append(" TenderControlTransactionTenderLineItemDenominationList: ").Append(TenderControlTransactionTenderLineItemDenominationList).Append("\n"); + sb.Append(" CurrencySymbol: ").Append(CurrencySymbol).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" UnitCountRequiredFlag: ").Append(UnitCountRequiredFlag).Append("\n"); + sb.Append(" AmountCountRequiredFlag: ").Append(AmountCountRequiredFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" ExchangeRateMultiplyFlag: ").Append(ExchangeRateMultiplyFlag).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ForeignCurrencyAmount == input.ForeignCurrencyAmount || + (this.ForeignCurrencyAmount != null && + this.ForeignCurrencyAmount.Equals(input.ForeignCurrencyAmount)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) + ) && + ( + this.TenderControlTransactionTenderLineItemDenominationList == input.TenderControlTransactionTenderLineItemDenominationList || + this.TenderControlTransactionTenderLineItemDenominationList != null && + this.TenderControlTransactionTenderLineItemDenominationList.SequenceEqual(input.TenderControlTransactionTenderLineItemDenominationList) + ) && + ( + this.CurrencySymbol == input.CurrencySymbol || + (this.CurrencySymbol != null && + this.CurrencySymbol.Equals(input.CurrencySymbol)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.UnitCountRequiredFlag == input.UnitCountRequiredFlag || + (this.UnitCountRequiredFlag != null && + this.UnitCountRequiredFlag.Equals(input.UnitCountRequiredFlag)) + ) && + ( + this.AmountCountRequiredFlag == input.AmountCountRequiredFlag || + (this.AmountCountRequiredFlag != null && + this.AmountCountRequiredFlag.Equals(input.AmountCountRequiredFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.ExchangeRateMultiplyFlag == input.ExchangeRateMultiplyFlag || + (this.ExchangeRateMultiplyFlag != null && + this.ExchangeRateMultiplyFlag.Equals(input.ExchangeRateMultiplyFlag)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ForeignCurrencyAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyAmount.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Count != null) + hashCode = hashCode * 59 + this.Count.GetHashCode(); + if (this.TenderControlTransactionTenderLineItemDenominationList != null) + hashCode = hashCode * 59 + this.TenderControlTransactionTenderLineItemDenominationList.GetHashCode(); + if (this.CurrencySymbol != null) + hashCode = hashCode * 59 + this.CurrencySymbol.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.UnitCountRequiredFlag != null) + hashCode = hashCode * 59 + this.UnitCountRequiredFlag.GetHashCode(); + if (this.AmountCountRequiredFlag != null) + hashCode = hashCode * 59 + this.AmountCountRequiredFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.ExchangeRateMultiplyFlag != null) + hashCode = hashCode * 59 + this.ExchangeRateMultiplyFlag.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..13b25a4b25d3ac6b8037bcda6cd2bde4b828069d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination.cs @@ -0,0 +1,365 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderControlTransactionTenderLineItemDenomination <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The denomination type code. + /// Piece value  (required). + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) (required). + /// Count of coins in the roll  (required). + /// The count of the denomination (required). + /// The total amount of the denomination (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey), string typeCode = default(string), double? pieceValue = default(double?), bool? rollFlag = default(bool?), double? rollCapacity = default(double?), double? denominationCount = default(double?), double? denominationAmount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "pieceValue" is required (not null) + if (pieceValue == null) + { + throw new InvalidDataException("pieceValue is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination and cannot be null"); + } + else + { + this.PieceValue = pieceValue; + } + // to ensure "rollFlag" is required (not null) + if (rollFlag == null) + { + throw new InvalidDataException("rollFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination and cannot be null"); + } + else + { + this.RollFlag = rollFlag; + } + // to ensure "rollCapacity" is required (not null) + if (rollCapacity == null) + { + throw new InvalidDataException("rollCapacity is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination and cannot be null"); + } + else + { + this.RollCapacity = rollCapacity; + } + // to ensure "denominationCount" is required (not null) + if (denominationCount == null) + { + throw new InvalidDataException("denominationCount is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination and cannot be null"); + } + else + { + this.DenominationCount = denominationCount; + } + // to ensure "denominationAmount" is required (not null) + if (denominationAmount == null) + { + throw new InvalidDataException("denominationAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination and cannot be null"); + } + else + { + this.DenominationAmount = denominationAmount; + } + this.TypeCode = typeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey Key { get; set; } + + /// + /// The denomination type code + /// + /// The denomination type code + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// Piece value  + /// + /// Piece value  + [DataMember(Name="pieceValue", EmitDefaultValue=false)] + public double? PieceValue { get; set; } + + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + [DataMember(Name="rollFlag", EmitDefaultValue=false)] + public bool? RollFlag { get; set; } + + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + [DataMember(Name="rollCapacity", EmitDefaultValue=false)] + public double? RollCapacity { get; set; } + + /// + /// The count of the denomination + /// + /// The count of the denomination + [DataMember(Name="denominationCount", EmitDefaultValue=false)] + public double? DenominationCount { get; set; } + + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + [DataMember(Name="denominationAmount", EmitDefaultValue=false)] + public double? DenominationAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" PieceValue: ").Append(PieceValue).Append("\n"); + sb.Append(" RollFlag: ").Append(RollFlag).Append("\n"); + sb.Append(" RollCapacity: ").Append(RollCapacity).Append("\n"); + sb.Append(" DenominationCount: ").Append(DenominationCount).Append("\n"); + sb.Append(" DenominationAmount: ").Append(DenominationAmount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.PieceValue == input.PieceValue || + (this.PieceValue != null && + this.PieceValue.Equals(input.PieceValue)) + ) && + ( + this.RollFlag == input.RollFlag || + (this.RollFlag != null && + this.RollFlag.Equals(input.RollFlag)) + ) && + ( + this.RollCapacity == input.RollCapacity || + (this.RollCapacity != null && + this.RollCapacity.Equals(input.RollCapacity)) + ) && + ( + this.DenominationCount == input.DenominationCount || + (this.DenominationCount != null && + this.DenominationCount.Equals(input.DenominationCount)) + ) && + ( + this.DenominationAmount == input.DenominationAmount || + (this.DenominationAmount != null && + this.DenominationAmount.Equals(input.DenominationAmount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.PieceValue != null) + hashCode = hashCode * 59 + this.PieceValue.GetHashCode(); + if (this.RollFlag != null) + hashCode = hashCode * 59 + this.RollFlag.GetHashCode(); + if (this.RollCapacity != null) + hashCode = hashCode * 59 + this.RollCapacity.GetHashCode(); + if (this.DenominationCount != null) + hashCode = hashCode * 59 + this.DenominationCount.GetHashCode(); + if (this.DenominationAmount != null) + hashCode = hashCode * 59 + this.DenominationAmount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..78a656d5d94cbd277f9f911fc6c3cb6ddf2567a1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderControlTransactionTenderLineItemDenomination.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   (required). + /// Line number (incremental counter) of the denomination  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderTypeCode = default(string), int? denominationSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + // to ensure "denominationSequenceNumber" is required (not null) + if (denominationSequenceNumber == null) + { + throw new InvalidDataException("denominationSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey and cannot be null"); + } + else + { + this.DenominationSequenceNumber = denominationSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + [DataMember(Name="denominationSequenceNumber", EmitDefaultValue=false)] + public int? DenominationSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" DenominationSequenceNumber: ").Append(DenominationSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.DenominationSequenceNumber == input.DenominationSequenceNumber || + (this.DenominationSequenceNumber != null && + this.DenominationSequenceNumber.Equals(input.DenominationSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.DenominationSequenceNumber != null) + hashCode = hashCode * 59 + this.DenominationSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ac38604e88fafc97f86452fe49d6dff7343036c4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderControlTransactionTenderLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..c03ee383a5b2213d304b1200918b380514c55966 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction.cs @@ -0,0 +1,341 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderDepositReceiptTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID.. + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. . + /// A code that indicates the movement of tender with respect to a SAFE. It is used to clarify whether tender is being RECEIVED into a store safe from an external repository or DEPOSITED from a safe into an external depository.. + /// A unique system-assigned identifier for the Person who is a particular Worker.. + /// Customizable information . + /// Customizable information . + /// Customizable information . + /// Customizable information . + /// Customizable information . + public ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction(ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey), string outboundTenderRepositoryID = default(string), string inboundTenderRepositoryID = default(string), string depositBagID = default(string), string depositBagNumber = default(string), string safeTenderMovementCode = default(string), string doubleCheckingWorkerID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "outboundTenderRepositoryID" is required (not null) + if (outboundTenderRepositoryID == null) + { + throw new InvalidDataException("outboundTenderRepositoryID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction and cannot be null"); + } + else + { + this.OutboundTenderRepositoryID = outboundTenderRepositoryID; + } + // to ensure "inboundTenderRepositoryID" is required (not null) + if (inboundTenderRepositoryID == null) + { + throw new InvalidDataException("inboundTenderRepositoryID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction and cannot be null"); + } + else + { + this.InboundTenderRepositoryID = inboundTenderRepositoryID; + } + this.DepositBagID = depositBagID; + this.DepositBagNumber = depositBagNumber; + this.SafeTenderMovementCode = safeTenderMovementCode; + this.DoubleCheckingWorkerID = doubleCheckingWorkerID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey Key { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="outboundTenderRepositoryID", EmitDefaultValue=false)] + public string OutboundTenderRepositoryID { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="inboundTenderRepositoryID", EmitDefaultValue=false)] + public string InboundTenderRepositoryID { get; set; } + + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + [DataMember(Name="depositBagID", EmitDefaultValue=false)] + public string DepositBagID { get; set; } + + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository.  + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository.  + [DataMember(Name="depositBagNumber", EmitDefaultValue=false)] + public string DepositBagNumber { get; set; } + + /// + /// A code that indicates the movement of tender with respect to a SAFE. It is used to clarify whether tender is being RECEIVED into a store safe from an external repository or DEPOSITED from a safe into an external depository. + /// + /// A code that indicates the movement of tender with respect to a SAFE. It is used to clarify whether tender is being RECEIVED into a store safe from an external repository or DEPOSITED from a safe into an external depository. + [DataMember(Name="safeTenderMovementCode", EmitDefaultValue=false)] + public string SafeTenderMovementCode { get; set; } + + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + [DataMember(Name="doubleCheckingWorkerID", EmitDefaultValue=false)] + public string DoubleCheckingWorkerID { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" OutboundTenderRepositoryID: ").Append(OutboundTenderRepositoryID).Append("\n"); + sb.Append(" InboundTenderRepositoryID: ").Append(InboundTenderRepositoryID).Append("\n"); + sb.Append(" DepositBagID: ").Append(DepositBagID).Append("\n"); + sb.Append(" DepositBagNumber: ").Append(DepositBagNumber).Append("\n"); + sb.Append(" SafeTenderMovementCode: ").Append(SafeTenderMovementCode).Append("\n"); + sb.Append(" DoubleCheckingWorkerID: ").Append(DoubleCheckingWorkerID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.OutboundTenderRepositoryID == input.OutboundTenderRepositoryID || + (this.OutboundTenderRepositoryID != null && + this.OutboundTenderRepositoryID.Equals(input.OutboundTenderRepositoryID)) + ) && + ( + this.InboundTenderRepositoryID == input.InboundTenderRepositoryID || + (this.InboundTenderRepositoryID != null && + this.InboundTenderRepositoryID.Equals(input.InboundTenderRepositoryID)) + ) && + ( + this.DepositBagID == input.DepositBagID || + (this.DepositBagID != null && + this.DepositBagID.Equals(input.DepositBagID)) + ) && + ( + this.DepositBagNumber == input.DepositBagNumber || + (this.DepositBagNumber != null && + this.DepositBagNumber.Equals(input.DepositBagNumber)) + ) && + ( + this.SafeTenderMovementCode == input.SafeTenderMovementCode || + (this.SafeTenderMovementCode != null && + this.SafeTenderMovementCode.Equals(input.SafeTenderMovementCode)) + ) && + ( + this.DoubleCheckingWorkerID == input.DoubleCheckingWorkerID || + (this.DoubleCheckingWorkerID != null && + this.DoubleCheckingWorkerID.Equals(input.DoubleCheckingWorkerID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.OutboundTenderRepositoryID != null) + hashCode = hashCode * 59 + this.OutboundTenderRepositoryID.GetHashCode(); + if (this.InboundTenderRepositoryID != null) + hashCode = hashCode * 59 + this.InboundTenderRepositoryID.GetHashCode(); + if (this.DepositBagID != null) + hashCode = hashCode * 59 + this.DepositBagID.GetHashCode(); + if (this.DepositBagNumber != null) + hashCode = hashCode * 59 + this.DepositBagNumber.GetHashCode(); + if (this.SafeTenderMovementCode != null) + hashCode = hashCode * 59 + this.SafeTenderMovementCode.GetHashCode(); + if (this.DoubleCheckingWorkerID != null) + hashCode = hashCode * 59 + this.DoubleCheckingWorkerID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..80fe8361dc33b8012f0f2719a8b43d7604278686 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderDepositReceiptTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..6da52d1f9e8c39fe04c1eef4d86a1724153675a5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLineItem.cs @@ -0,0 +1,705 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// If true, denotes that the Tender is returned by the retailer to the Customer. . + /// A code which uniquely identifies the tenderCorresponds to Tender.TenderTypeCode. + /// The tender account number. + /// The monetary value (in the currency submitted by the Customer) of the tender submitted by the Customer.  (required). + /// The exchange rate used to convert the tendered amount into the default currency of the retail enterprise. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The monetary value (in the default currency of the retail enterprise) of the tender submitted by the Customer.  (required). + /// The grouping of tenders with similar (technical) handling on POS side. Corresponds to TenderHandlingRule.TenderGroupCode . + /// The count of the media for the given tender  (required). + /// Text to be printed on the receipt.. + /// Boolean identifier for cash back (required). + /// Currency code designated by ISO to identify the currency of the tender. + /// Determines whether inside the calculation FromCurrencyID -> ToCurrencyID the amount is to be multiplied with (true) or divided by (false) the factor (ExchangeRate) (required). + /// Currency symbol of the tender. + /// The monetary amount (in the default currency of the retail enterprise) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The monetary amount (in the tendered currency) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Check data for check tender line items. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderLineItem(ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey), bool? isChangeFlag = default(bool?), string tenderTypeCode = default(string), string tenderAccountNumber = default(string), double? foreignCurrencyAmount = default(double?), double? exchangeRate = default(double?), double? tenderAmount = default(double?), string tenderGroupCode = default(string), int? tenderCount = default(int?), string tenderDescription = default(string), bool? cashbackFlag = default(bool?), string foreignISOCurrencyCode = default(string), bool? exchangeRateMultiplyFlag = default(bool?), string currencySymbol = default(string), double? tipAmount = default(double?), double? tipForeignCurrencyAmount = default(double?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), List checkTenderLineItemList = default(List), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItem and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "foreignCurrencyAmount" is required (not null) + if (foreignCurrencyAmount == null) + { + throw new InvalidDataException("foreignCurrencyAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItem and cannot be null"); + } + else + { + this.ForeignCurrencyAmount = foreignCurrencyAmount; + } + // to ensure "tenderAmount" is required (not null) + if (tenderAmount == null) + { + throw new InvalidDataException("tenderAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItem and cannot be null"); + } + else + { + this.TenderAmount = tenderAmount; + } + // to ensure "tenderCount" is required (not null) + if (tenderCount == null) + { + throw new InvalidDataException("tenderCount is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItem and cannot be null"); + } + else + { + this.TenderCount = tenderCount; + } + // to ensure "cashbackFlag" is required (not null) + if (cashbackFlag == null) + { + throw new InvalidDataException("cashbackFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItem and cannot be null"); + } + else + { + this.CashbackFlag = cashbackFlag; + } + // to ensure "exchangeRateMultiplyFlag" is required (not null) + if (exchangeRateMultiplyFlag == null) + { + throw new InvalidDataException("exchangeRateMultiplyFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItem and cannot be null"); + } + else + { + this.ExchangeRateMultiplyFlag = exchangeRateMultiplyFlag; + } + this.IsChangeFlag = isChangeFlag; + this.TenderTypeCode = tenderTypeCode; + this.TenderAccountNumber = tenderAccountNumber; + this.ExchangeRate = exchangeRate; + this.TenderGroupCode = tenderGroupCode; + this.TenderDescription = tenderDescription; + this.ForeignISOCurrencyCode = foreignISOCurrencyCode; + this.CurrencySymbol = currencySymbol; + this.TipAmount = tipAmount; + this.TipForeignCurrencyAmount = tipForeignCurrencyAmount; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.CheckTenderLineItemList = checkTenderLineItemList; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey Key { get; set; } + + /// + /// If true, denotes that the Tender is returned by the retailer to the Customer.  + /// + /// If true, denotes that the Tender is returned by the retailer to the Customer.  + [DataMember(Name="isChangeFlag", EmitDefaultValue=false)] + public bool? IsChangeFlag { get; set; } + + /// + /// A code which uniquely identifies the tenderCorresponds to Tender.TenderTypeCode + /// + /// A code which uniquely identifies the tenderCorresponds to Tender.TenderTypeCode + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// The tender account number + /// + /// The tender account number + [DataMember(Name="tenderAccountNumber", EmitDefaultValue=false)] + public string TenderAccountNumber { get; set; } + + /// + /// The monetary value (in the currency submitted by the Customer) of the tender submitted by the Customer.  + /// + /// The monetary value (in the currency submitted by the Customer) of the tender submitted by the Customer.  + [DataMember(Name="foreignCurrencyAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyAmount { get; set; } + + /// + /// The exchange rate used to convert the tendered amount into the default currency of the retail enterprise. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The exchange rate used to convert the tendered amount into the default currency of the retail enterprise. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// The monetary value (in the default currency of the retail enterprise) of the tender submitted by the Customer.  + /// + /// The monetary value (in the default currency of the retail enterprise) of the tender submitted by the Customer.  + [DataMember(Name="tenderAmount", EmitDefaultValue=false)] + public double? TenderAmount { get; set; } + + /// + /// The grouping of tenders with similar (technical) handling on POS side. Corresponds to TenderHandlingRule.TenderGroupCode  + /// + /// The grouping of tenders with similar (technical) handling on POS side. Corresponds to TenderHandlingRule.TenderGroupCode  + [DataMember(Name="tenderGroupCode", EmitDefaultValue=false)] + public string TenderGroupCode { get; set; } + + /// + /// The count of the media for the given tender  + /// + /// The count of the media for the given tender  + [DataMember(Name="tenderCount", EmitDefaultValue=false)] + public int? TenderCount { get; set; } + + /// + /// Text to be printed on the receipt. + /// + /// Text to be printed on the receipt. + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// Boolean identifier for cash back + /// + /// Boolean identifier for cash back + [DataMember(Name="cashbackFlag", EmitDefaultValue=false)] + public bool? CashbackFlag { get; set; } + + /// + /// Currency code designated by ISO to identify the currency of the tender + /// + /// Currency code designated by ISO to identify the currency of the tender + [DataMember(Name="foreignISOCurrencyCode", EmitDefaultValue=false)] + public string ForeignISOCurrencyCode { get; set; } + + /// + /// Determines whether inside the calculation FromCurrencyID -> ToCurrencyID the amount is to be multiplied with (true) or divided by (false) the factor (ExchangeRate) + /// + /// Determines whether inside the calculation FromCurrencyID -> ToCurrencyID the amount is to be multiplied with (true) or divided by (false) the factor (ExchangeRate) + [DataMember(Name="exchangeRateMultiplyFlag", EmitDefaultValue=false)] + public bool? ExchangeRateMultiplyFlag { get; set; } + + /// + /// Currency symbol of the tender + /// + /// Currency symbol of the tender + [DataMember(Name="currencySymbol", EmitDefaultValue=false)] + public string CurrencySymbol { get; set; } + + /// + /// The monetary amount (in the default currency of the retail enterprise) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount (in the default currency of the retail enterprise) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public double? TipAmount { get; set; } + + /// + /// The monetary amount (in the tendered currency) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount (in the tendered currency) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="tipForeignCurrencyAmount", EmitDefaultValue=false)] + public double? TipForeignCurrencyAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Check data for check tender line items + /// + /// Check data for check tender line items + [DataMember(Name="checkTenderLineItemList", EmitDefaultValue=false)] + public List CheckTenderLineItemList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" IsChangeFlag: ").Append(IsChangeFlag).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" TenderAccountNumber: ").Append(TenderAccountNumber).Append("\n"); + sb.Append(" ForeignCurrencyAmount: ").Append(ForeignCurrencyAmount).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" TenderAmount: ").Append(TenderAmount).Append("\n"); + sb.Append(" TenderGroupCode: ").Append(TenderGroupCode).Append("\n"); + sb.Append(" TenderCount: ").Append(TenderCount).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" CashbackFlag: ").Append(CashbackFlag).Append("\n"); + sb.Append(" ForeignISOCurrencyCode: ").Append(ForeignISOCurrencyCode).Append("\n"); + sb.Append(" ExchangeRateMultiplyFlag: ").Append(ExchangeRateMultiplyFlag).Append("\n"); + sb.Append(" CurrencySymbol: ").Append(CurrencySymbol).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" TipForeignCurrencyAmount: ").Append(TipForeignCurrencyAmount).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" CheckTenderLineItemList: ").Append(CheckTenderLineItemList).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.IsChangeFlag == input.IsChangeFlag || + (this.IsChangeFlag != null && + this.IsChangeFlag.Equals(input.IsChangeFlag)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.TenderAccountNumber == input.TenderAccountNumber || + (this.TenderAccountNumber != null && + this.TenderAccountNumber.Equals(input.TenderAccountNumber)) + ) && + ( + this.ForeignCurrencyAmount == input.ForeignCurrencyAmount || + (this.ForeignCurrencyAmount != null && + this.ForeignCurrencyAmount.Equals(input.ForeignCurrencyAmount)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.TenderAmount == input.TenderAmount || + (this.TenderAmount != null && + this.TenderAmount.Equals(input.TenderAmount)) + ) && + ( + this.TenderGroupCode == input.TenderGroupCode || + (this.TenderGroupCode != null && + this.TenderGroupCode.Equals(input.TenderGroupCode)) + ) && + ( + this.TenderCount == input.TenderCount || + (this.TenderCount != null && + this.TenderCount.Equals(input.TenderCount)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.CashbackFlag == input.CashbackFlag || + (this.CashbackFlag != null && + this.CashbackFlag.Equals(input.CashbackFlag)) + ) && + ( + this.ForeignISOCurrencyCode == input.ForeignISOCurrencyCode || + (this.ForeignISOCurrencyCode != null && + this.ForeignISOCurrencyCode.Equals(input.ForeignISOCurrencyCode)) + ) && + ( + this.ExchangeRateMultiplyFlag == input.ExchangeRateMultiplyFlag || + (this.ExchangeRateMultiplyFlag != null && + this.ExchangeRateMultiplyFlag.Equals(input.ExchangeRateMultiplyFlag)) + ) && + ( + this.CurrencySymbol == input.CurrencySymbol || + (this.CurrencySymbol != null && + this.CurrencySymbol.Equals(input.CurrencySymbol)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.TipForeignCurrencyAmount == input.TipForeignCurrencyAmount || + (this.TipForeignCurrencyAmount != null && + this.TipForeignCurrencyAmount.Equals(input.TipForeignCurrencyAmount)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.CheckTenderLineItemList == input.CheckTenderLineItemList || + this.CheckTenderLineItemList != null && + this.CheckTenderLineItemList.SequenceEqual(input.CheckTenderLineItemList) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.IsChangeFlag != null) + hashCode = hashCode * 59 + this.IsChangeFlag.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.TenderAccountNumber != null) + hashCode = hashCode * 59 + this.TenderAccountNumber.GetHashCode(); + if (this.ForeignCurrencyAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyAmount.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.TenderAmount != null) + hashCode = hashCode * 59 + this.TenderAmount.GetHashCode(); + if (this.TenderGroupCode != null) + hashCode = hashCode * 59 + this.TenderGroupCode.GetHashCode(); + if (this.TenderCount != null) + hashCode = hashCode * 59 + this.TenderCount.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.CashbackFlag != null) + hashCode = hashCode * 59 + this.CashbackFlag.GetHashCode(); + if (this.ForeignISOCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignISOCurrencyCode.GetHashCode(); + if (this.ExchangeRateMultiplyFlag != null) + hashCode = hashCode * 59 + this.ExchangeRateMultiplyFlag.GetHashCode(); + if (this.CurrencySymbol != null) + hashCode = hashCode * 59 + this.CurrencySymbol.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.TipForeignCurrencyAmount != null) + hashCode = hashCode * 59 + this.TipForeignCurrencyAmount.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.CheckTenderLineItemList != null) + hashCode = hashCode * 59 + this.CheckTenderLineItemList.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7902ecb462fbcb70d2d0c639499d76daeba9302 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..81fc124b04f738edda8292ec491ffb0e92547336 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction.cs @@ -0,0 +1,273 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderLoanTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction(ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey), string outboundSafeID = default(string), string inboundTillID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "outboundSafeID" is required (not null) + if (outboundSafeID == null) + { + throw new InvalidDataException("outboundSafeID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction and cannot be null"); + } + else + { + this.OutboundSafeID = outboundSafeID; + } + // to ensure "inboundTillID" is required (not null) + if (inboundTillID == null) + { + throw new InvalidDataException("inboundTillID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction and cannot be null"); + } + else + { + this.InboundTillID = inboundTillID; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey Key { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="outboundSafeID", EmitDefaultValue=false)] + public string OutboundSafeID { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="inboundTillID", EmitDefaultValue=false)] + public string InboundTillID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" OutboundSafeID: ").Append(OutboundSafeID).Append("\n"); + sb.Append(" InboundTillID: ").Append(InboundTillID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.OutboundSafeID == input.OutboundSafeID || + (this.OutboundSafeID != null && + this.OutboundSafeID.Equals(input.OutboundSafeID)) + ) && + ( + this.InboundTillID == input.InboundTillID || + (this.InboundTillID != null && + this.InboundTillID.Equals(input.InboundTillID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.OutboundSafeID != null) + hashCode = hashCode * 59 + this.OutboundSafeID.GetHashCode(); + if (this.InboundTillID != null) + hashCode = hashCode * 59 + this.InboundTillID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..43fa26e7c6e940090eff94f6ab4b5203a173ba12 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderLoanTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..c51e3be8df95f438dcb3cfec41c1370e78516128 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction.cs @@ -0,0 +1,282 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderPickupTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// The unique identifier of the till. + /// The identifier of the Envelope that was used for this Pickup. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction(ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey), string inboundSafeID = default(string), string outboundTillID = default(string), string envelopeID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "inboundSafeID" is required (not null) + if (inboundSafeID == null) + { + throw new InvalidDataException("inboundSafeID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction and cannot be null"); + } + else + { + this.InboundSafeID = inboundSafeID; + } + this.OutboundTillID = outboundTillID; + this.EnvelopeID = envelopeID; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey Key { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="inboundSafeID", EmitDefaultValue=false)] + public string InboundSafeID { get; set; } + + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + [DataMember(Name="outboundTillID", EmitDefaultValue=false)] + public string OutboundTillID { get; set; } + + /// + /// The identifier of the Envelope that was used for this Pickup + /// + /// The identifier of the Envelope that was used for this Pickup + [DataMember(Name="envelopeID", EmitDefaultValue=false)] + public string EnvelopeID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" InboundSafeID: ").Append(InboundSafeID).Append("\n"); + sb.Append(" OutboundTillID: ").Append(OutboundTillID).Append("\n"); + sb.Append(" EnvelopeID: ").Append(EnvelopeID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.InboundSafeID == input.InboundSafeID || + (this.InboundSafeID != null && + this.InboundSafeID.Equals(input.InboundSafeID)) + ) && + ( + this.OutboundTillID == input.OutboundTillID || + (this.OutboundTillID != null && + this.OutboundTillID.Equals(input.OutboundTillID)) + ) && + ( + this.EnvelopeID == input.EnvelopeID || + (this.EnvelopeID != null && + this.EnvelopeID.Equals(input.EnvelopeID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.InboundSafeID != null) + hashCode = hashCode * 59 + this.InboundSafeID.GetHashCode(); + if (this.OutboundTillID != null) + hashCode = hashCode * 59 + this.OutboundTillID.GetHashCode(); + if (this.EnvelopeID != null) + hashCode = hashCode * 59 + this.EnvelopeID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9b4c04263f877323258f4c0afac711a1e88d43f5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderPickupTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument.cs new file mode 100644 index 0000000000000000000000000000000000000000..4e7eba9bbc947864dc3556f495db85ecfeca58e4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument.cs @@ -0,0 +1,223 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillSettlementDocument <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument(ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey key = default(ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..11fdaebcfcbd099b23ac3a1523cc7af507549883 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillSettlementDocument.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the TENDER REPOSITORY. (required). + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderRepositoryID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderRepositoryID" is required (not null) + if (tenderRepositoryID == null) + { + throw new InvalidDataException("tenderRepositoryID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey and cannot be null"); + } + else + { + this.TenderRepositoryID = tenderRepositoryID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY. + /// + /// The unique identifier for the TENDER REPOSITORY. + [DataMember(Name="tenderRepositoryID", EmitDefaultValue=false)] + public string TenderRepositoryID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderRepositoryID: ").Append(TenderRepositoryID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderRepositoryID == input.TenderRepositoryID || + (this.TenderRepositoryID != null && + this.TenderRepositoryID.Equals(input.TenderRepositoryID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderRepositoryID != null) + hashCode = hashCode * 59 + this.TenderRepositoryID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..3eae94b651c98dcfdc579de68be36a09f1a52bb4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination.cs @@ -0,0 +1,365 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillSettlementTenderDenomination <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The denomination type code. + /// Piece value  (required). + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) (required). + /// Count of coins in the roll  (required). + /// The count of the denomination (required). + /// The total amount of the denomination (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey key = default(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey), string typeCode = default(string), double? pieceValue = default(double?), bool? rollFlag = default(bool?), double? rollCapacity = default(double?), double? denominationCount = default(double?), double? denominationAmount = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "pieceValue" is required (not null) + if (pieceValue == null) + { + throw new InvalidDataException("pieceValue is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination and cannot be null"); + } + else + { + this.PieceValue = pieceValue; + } + // to ensure "rollFlag" is required (not null) + if (rollFlag == null) + { + throw new InvalidDataException("rollFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination and cannot be null"); + } + else + { + this.RollFlag = rollFlag; + } + // to ensure "rollCapacity" is required (not null) + if (rollCapacity == null) + { + throw new InvalidDataException("rollCapacity is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination and cannot be null"); + } + else + { + this.RollCapacity = rollCapacity; + } + // to ensure "denominationCount" is required (not null) + if (denominationCount == null) + { + throw new InvalidDataException("denominationCount is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination and cannot be null"); + } + else + { + this.DenominationCount = denominationCount; + } + // to ensure "denominationAmount" is required (not null) + if (denominationAmount == null) + { + throw new InvalidDataException("denominationAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination and cannot be null"); + } + else + { + this.DenominationAmount = denominationAmount; + } + this.TypeCode = typeCode; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey Key { get; set; } + + /// + /// The denomination type code + /// + /// The denomination type code + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// Piece value  + /// + /// Piece value  + [DataMember(Name="pieceValue", EmitDefaultValue=false)] + public double? PieceValue { get; set; } + + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + [DataMember(Name="rollFlag", EmitDefaultValue=false)] + public bool? RollFlag { get; set; } + + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + [DataMember(Name="rollCapacity", EmitDefaultValue=false)] + public double? RollCapacity { get; set; } + + /// + /// The count of the denomination + /// + /// The count of the denomination + [DataMember(Name="denominationCount", EmitDefaultValue=false)] + public double? DenominationCount { get; set; } + + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + [DataMember(Name="denominationAmount", EmitDefaultValue=false)] + public double? DenominationAmount { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" PieceValue: ").Append(PieceValue).Append("\n"); + sb.Append(" RollFlag: ").Append(RollFlag).Append("\n"); + sb.Append(" RollCapacity: ").Append(RollCapacity).Append("\n"); + sb.Append(" DenominationCount: ").Append(DenominationCount).Append("\n"); + sb.Append(" DenominationAmount: ").Append(DenominationAmount).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.PieceValue == input.PieceValue || + (this.PieceValue != null && + this.PieceValue.Equals(input.PieceValue)) + ) && + ( + this.RollFlag == input.RollFlag || + (this.RollFlag != null && + this.RollFlag.Equals(input.RollFlag)) + ) && + ( + this.RollCapacity == input.RollCapacity || + (this.RollCapacity != null && + this.RollCapacity.Equals(input.RollCapacity)) + ) && + ( + this.DenominationCount == input.DenominationCount || + (this.DenominationCount != null && + this.DenominationCount.Equals(input.DenominationCount)) + ) && + ( + this.DenominationAmount == input.DenominationAmount || + (this.DenominationAmount != null && + this.DenominationAmount.Equals(input.DenominationAmount)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.PieceValue != null) + hashCode = hashCode * 59 + this.PieceValue.GetHashCode(); + if (this.RollFlag != null) + hashCode = hashCode * 59 + this.RollFlag.GetHashCode(); + if (this.RollCapacity != null) + hashCode = hashCode * 59 + this.RollCapacity.GetHashCode(); + if (this.DenominationCount != null) + hashCode = hashCode * 59 + this.DenominationCount.GetHashCode(); + if (this.DenominationAmount != null) + hashCode = hashCode * 59 + this.DenominationAmount.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c017be8b31c0336764048d72868baa620b90006e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillSettlementTenderDenomination.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// A code which uniquely identifies the tender (required). + /// Line number (incremental counter) of the denomination  (required). + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderRepositoryID = default(string), string tenderTypeCode = default(string), int? denominationSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderRepositoryID" is required (not null) + if (tenderRepositoryID == null) + { + throw new InvalidDataException("tenderRepositoryID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TenderRepositoryID = tenderRepositoryID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + // to ensure "denominationSequenceNumber" is required (not null) + if (denominationSequenceNumber == null) + { + throw new InvalidDataException("denominationSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey and cannot be null"); + } + else + { + this.DenominationSequenceNumber = denominationSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="tenderRepositoryID", EmitDefaultValue=false)] + public string TenderRepositoryID { get; set; } + + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + [DataMember(Name="denominationSequenceNumber", EmitDefaultValue=false)] + public int? DenominationSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderRepositoryID: ").Append(TenderRepositoryID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" DenominationSequenceNumber: ").Append(DenominationSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderRepositoryID == input.TenderRepositoryID || + (this.TenderRepositoryID != null && + this.TenderRepositoryID.Equals(input.TenderRepositoryID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.DenominationSequenceNumber == input.DenominationSequenceNumber || + (this.DenominationSequenceNumber != null && + this.DenominationSequenceNumber.Equals(input.DenominationSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderRepositoryID != null) + hashCode = hashCode * 59 + this.TenderRepositoryID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.DenominationSequenceNumber != null) + hashCode = hashCode * 59 + this.DenominationSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..5fce83b8024e2ce3d346d250431fd33c8e762ab7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail.cs @@ -0,0 +1,602 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillSettlementTenderDetail <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The opening tender balance (required). + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The closing tender balance in main currencyCorresponds to the target values. (required). + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.)Corresponds to the target values.. + /// The counted tender balance in main currency (required). + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.). + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount (required). + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity.. + /// The currency symbol. + /// Description of the tender. . + /// A flag to signify that specific tender type units need to be counted and recorded by the operator (required). + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator (required). + /// The tender class code from master data. + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value!. + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  (required). + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value!. + /// denomination list for counted values. + /// Customizable information . + /// The currency code of the tender. + /// Customizable information . + /// Customizable information . + /// Customizable information . + /// Customizable information . + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey key = default(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey), double? openBalanceAmount = default(double?), int? openMediaUnitQuantity = default(int?), double? closeBalanceAmount = default(double?), int? closeMediaUnitQuantity = default(int?), double? countedBalanceAmount = default(double?), int? countedMediaUnitQuantity = default(int?), double? overUnderBalanceAmount = default(double?), int? overUnderMediaUnitQuantity = default(int?), string currencySymbol = default(string), string tenderDescription = default(string), bool? unitCountRequiredFlag = default(bool?), bool? amountCountRequiredFlag = default(bool?), string tenderClassCode = default(string), double? exchangeRate = default(double?), bool? exchangeRateMultiplyFlag = default(bool?), double? foreignCurrencyCountedBalanceAmount = default(double?), double? foreignCurrencyCloseBalanceAmount = default(double?), List tillSettlementTenderDenominationList = default(List), string xxcustom05 = default(string), string isocurrencyCode = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "openBalanceAmount" is required (not null) + if (openBalanceAmount == null) + { + throw new InvalidDataException("openBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.OpenBalanceAmount = openBalanceAmount; + } + // to ensure "closeBalanceAmount" is required (not null) + if (closeBalanceAmount == null) + { + throw new InvalidDataException("closeBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.CloseBalanceAmount = closeBalanceAmount; + } + // to ensure "countedBalanceAmount" is required (not null) + if (countedBalanceAmount == null) + { + throw new InvalidDataException("countedBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.CountedBalanceAmount = countedBalanceAmount; + } + // to ensure "overUnderBalanceAmount" is required (not null) + if (overUnderBalanceAmount == null) + { + throw new InvalidDataException("overUnderBalanceAmount is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.OverUnderBalanceAmount = overUnderBalanceAmount; + } + // to ensure "unitCountRequiredFlag" is required (not null) + if (unitCountRequiredFlag == null) + { + throw new InvalidDataException("unitCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.UnitCountRequiredFlag = unitCountRequiredFlag; + } + // to ensure "amountCountRequiredFlag" is required (not null) + if (amountCountRequiredFlag == null) + { + throw new InvalidDataException("amountCountRequiredFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.AmountCountRequiredFlag = amountCountRequiredFlag; + } + // to ensure "exchangeRateMultiplyFlag" is required (not null) + if (exchangeRateMultiplyFlag == null) + { + throw new InvalidDataException("exchangeRateMultiplyFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail and cannot be null"); + } + else + { + this.ExchangeRateMultiplyFlag = exchangeRateMultiplyFlag; + } + this.OpenMediaUnitQuantity = openMediaUnitQuantity; + this.CloseMediaUnitQuantity = closeMediaUnitQuantity; + this.CountedMediaUnitQuantity = countedMediaUnitQuantity; + this.OverUnderMediaUnitQuantity = overUnderMediaUnitQuantity; + this.CurrencySymbol = currencySymbol; + this.TenderDescription = tenderDescription; + this.TenderClassCode = tenderClassCode; + this.ExchangeRate = exchangeRate; + this.ForeignCurrencyCountedBalanceAmount = foreignCurrencyCountedBalanceAmount; + this.ForeignCurrencyCloseBalanceAmount = foreignCurrencyCloseBalanceAmount; + this.TillSettlementTenderDenominationList = tillSettlementTenderDenominationList; + this.Xxcustom05 = xxcustom05; + this.IsocurrencyCode = isocurrencyCode; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey Key { get; set; } + + /// + /// The opening tender balance + /// + /// The opening tender balance + [DataMember(Name="openBalanceAmount", EmitDefaultValue=false)] + public double? OpenBalanceAmount { get; set; } + + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="openMediaUnitQuantity", EmitDefaultValue=false)] + public int? OpenMediaUnitQuantity { get; set; } + + /// + /// The closing tender balance in main currencyCorresponds to the target values. + /// + /// The closing tender balance in main currencyCorresponds to the target values. + [DataMember(Name="closeBalanceAmount", EmitDefaultValue=false)] + public double? CloseBalanceAmount { get; set; } + + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.)Corresponds to the target values. + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.)Corresponds to the target values. + [DataMember(Name="closeMediaUnitQuantity", EmitDefaultValue=false)] + public int? CloseMediaUnitQuantity { get; set; } + + /// + /// The counted tender balance in main currency + /// + /// The counted tender balance in main currency + [DataMember(Name="countedBalanceAmount", EmitDefaultValue=false)] + public double? CountedBalanceAmount { get; set; } + + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + [DataMember(Name="countedMediaUnitQuantity", EmitDefaultValue=false)] + public int? CountedMediaUnitQuantity { get; set; } + + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + [DataMember(Name="overUnderBalanceAmount", EmitDefaultValue=false)] + public double? OverUnderBalanceAmount { get; set; } + + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + [DataMember(Name="overUnderMediaUnitQuantity", EmitDefaultValue=false)] + public int? OverUnderMediaUnitQuantity { get; set; } + + /// + /// The currency symbol + /// + /// The currency symbol + [DataMember(Name="currencySymbol", EmitDefaultValue=false)] + public string CurrencySymbol { get; set; } + + /// + /// Description of the tender.  + /// + /// Description of the tender.  + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator + [DataMember(Name="unitCountRequiredFlag", EmitDefaultValue=false)] + public bool? UnitCountRequiredFlag { get; set; } + + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator + [DataMember(Name="amountCountRequiredFlag", EmitDefaultValue=false)] + public bool? AmountCountRequiredFlag { get; set; } + + /// + /// The tender class code from master data + /// + /// The tender class code from master data + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + [DataMember(Name="exchangeRateMultiplyFlag", EmitDefaultValue=false)] + public bool? ExchangeRateMultiplyFlag { get; set; } + + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="foreignCurrencyCountedBalanceAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyCountedBalanceAmount { get; set; } + + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + [DataMember(Name="foreignCurrencyCloseBalanceAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyCloseBalanceAmount { get; set; } + + /// + /// denomination list for counted values + /// + /// denomination list for counted values + [DataMember(Name="tillSettlementTenderDenominationList", EmitDefaultValue=false)] + public List TillSettlementTenderDenominationList { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// The currency code of the tender + /// + /// The currency code of the tender + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information  + /// + /// Customizable information  + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" OpenBalanceAmount: ").Append(OpenBalanceAmount).Append("\n"); + sb.Append(" OpenMediaUnitQuantity: ").Append(OpenMediaUnitQuantity).Append("\n"); + sb.Append(" CloseBalanceAmount: ").Append(CloseBalanceAmount).Append("\n"); + sb.Append(" CloseMediaUnitQuantity: ").Append(CloseMediaUnitQuantity).Append("\n"); + sb.Append(" CountedBalanceAmount: ").Append(CountedBalanceAmount).Append("\n"); + sb.Append(" CountedMediaUnitQuantity: ").Append(CountedMediaUnitQuantity).Append("\n"); + sb.Append(" OverUnderBalanceAmount: ").Append(OverUnderBalanceAmount).Append("\n"); + sb.Append(" OverUnderMediaUnitQuantity: ").Append(OverUnderMediaUnitQuantity).Append("\n"); + sb.Append(" CurrencySymbol: ").Append(CurrencySymbol).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" UnitCountRequiredFlag: ").Append(UnitCountRequiredFlag).Append("\n"); + sb.Append(" AmountCountRequiredFlag: ").Append(AmountCountRequiredFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" ExchangeRateMultiplyFlag: ").Append(ExchangeRateMultiplyFlag).Append("\n"); + sb.Append(" ForeignCurrencyCountedBalanceAmount: ").Append(ForeignCurrencyCountedBalanceAmount).Append("\n"); + sb.Append(" ForeignCurrencyCloseBalanceAmount: ").Append(ForeignCurrencyCloseBalanceAmount).Append("\n"); + sb.Append(" TillSettlementTenderDenominationList: ").Append(TillSettlementTenderDenominationList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.OpenBalanceAmount == input.OpenBalanceAmount || + (this.OpenBalanceAmount != null && + this.OpenBalanceAmount.Equals(input.OpenBalanceAmount)) + ) && + ( + this.OpenMediaUnitQuantity == input.OpenMediaUnitQuantity || + (this.OpenMediaUnitQuantity != null && + this.OpenMediaUnitQuantity.Equals(input.OpenMediaUnitQuantity)) + ) && + ( + this.CloseBalanceAmount == input.CloseBalanceAmount || + (this.CloseBalanceAmount != null && + this.CloseBalanceAmount.Equals(input.CloseBalanceAmount)) + ) && + ( + this.CloseMediaUnitQuantity == input.CloseMediaUnitQuantity || + (this.CloseMediaUnitQuantity != null && + this.CloseMediaUnitQuantity.Equals(input.CloseMediaUnitQuantity)) + ) && + ( + this.CountedBalanceAmount == input.CountedBalanceAmount || + (this.CountedBalanceAmount != null && + this.CountedBalanceAmount.Equals(input.CountedBalanceAmount)) + ) && + ( + this.CountedMediaUnitQuantity == input.CountedMediaUnitQuantity || + (this.CountedMediaUnitQuantity != null && + this.CountedMediaUnitQuantity.Equals(input.CountedMediaUnitQuantity)) + ) && + ( + this.OverUnderBalanceAmount == input.OverUnderBalanceAmount || + (this.OverUnderBalanceAmount != null && + this.OverUnderBalanceAmount.Equals(input.OverUnderBalanceAmount)) + ) && + ( + this.OverUnderMediaUnitQuantity == input.OverUnderMediaUnitQuantity || + (this.OverUnderMediaUnitQuantity != null && + this.OverUnderMediaUnitQuantity.Equals(input.OverUnderMediaUnitQuantity)) + ) && + ( + this.CurrencySymbol == input.CurrencySymbol || + (this.CurrencySymbol != null && + this.CurrencySymbol.Equals(input.CurrencySymbol)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.UnitCountRequiredFlag == input.UnitCountRequiredFlag || + (this.UnitCountRequiredFlag != null && + this.UnitCountRequiredFlag.Equals(input.UnitCountRequiredFlag)) + ) && + ( + this.AmountCountRequiredFlag == input.AmountCountRequiredFlag || + (this.AmountCountRequiredFlag != null && + this.AmountCountRequiredFlag.Equals(input.AmountCountRequiredFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.ExchangeRateMultiplyFlag == input.ExchangeRateMultiplyFlag || + (this.ExchangeRateMultiplyFlag != null && + this.ExchangeRateMultiplyFlag.Equals(input.ExchangeRateMultiplyFlag)) + ) && + ( + this.ForeignCurrencyCountedBalanceAmount == input.ForeignCurrencyCountedBalanceAmount || + (this.ForeignCurrencyCountedBalanceAmount != null && + this.ForeignCurrencyCountedBalanceAmount.Equals(input.ForeignCurrencyCountedBalanceAmount)) + ) && + ( + this.ForeignCurrencyCloseBalanceAmount == input.ForeignCurrencyCloseBalanceAmount || + (this.ForeignCurrencyCloseBalanceAmount != null && + this.ForeignCurrencyCloseBalanceAmount.Equals(input.ForeignCurrencyCloseBalanceAmount)) + ) && + ( + this.TillSettlementTenderDenominationList == input.TillSettlementTenderDenominationList || + this.TillSettlementTenderDenominationList != null && + this.TillSettlementTenderDenominationList.SequenceEqual(input.TillSettlementTenderDenominationList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.OpenBalanceAmount != null) + hashCode = hashCode * 59 + this.OpenBalanceAmount.GetHashCode(); + if (this.OpenMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.OpenMediaUnitQuantity.GetHashCode(); + if (this.CloseBalanceAmount != null) + hashCode = hashCode * 59 + this.CloseBalanceAmount.GetHashCode(); + if (this.CloseMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.CloseMediaUnitQuantity.GetHashCode(); + if (this.CountedBalanceAmount != null) + hashCode = hashCode * 59 + this.CountedBalanceAmount.GetHashCode(); + if (this.CountedMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.CountedMediaUnitQuantity.GetHashCode(); + if (this.OverUnderBalanceAmount != null) + hashCode = hashCode * 59 + this.OverUnderBalanceAmount.GetHashCode(); + if (this.OverUnderMediaUnitQuantity != null) + hashCode = hashCode * 59 + this.OverUnderMediaUnitQuantity.GetHashCode(); + if (this.CurrencySymbol != null) + hashCode = hashCode * 59 + this.CurrencySymbol.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.UnitCountRequiredFlag != null) + hashCode = hashCode * 59 + this.UnitCountRequiredFlag.GetHashCode(); + if (this.AmountCountRequiredFlag != null) + hashCode = hashCode * 59 + this.AmountCountRequiredFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.ExchangeRateMultiplyFlag != null) + hashCode = hashCode * 59 + this.ExchangeRateMultiplyFlag.GetHashCode(); + if (this.ForeignCurrencyCountedBalanceAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCountedBalanceAmount.GetHashCode(); + if (this.ForeignCurrencyCloseBalanceAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCloseBalanceAmount.GetHashCode(); + if (this.TillSettlementTenderDenominationList != null) + hashCode = hashCode * 59 + this.TillSettlementTenderDenominationList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2f37d51f5bbff30c230fd5d4b62d1e787740c120 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillSettlementTenderDetail.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The unique identifier for the TENDER REPOSITORY.  (required). + /// A code which uniquely identifies the tender (required). + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey(string businessUnitGroupID = default(string), string transactionID = default(string), string tenderRepositoryID = default(string), string tenderTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderRepositoryID" is required (not null) + if (tenderRepositoryID == null) + { + throw new InvalidDataException("tenderRepositoryID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TenderRepositoryID = tenderRepositoryID; + } + // to ensure "tenderTypeCode" is required (not null) + if (tenderTypeCode == null) + { + throw new InvalidDataException("tenderTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey and cannot be null"); + } + else + { + this.TenderTypeCode = tenderTypeCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + [DataMember(Name="tenderRepositoryID", EmitDefaultValue=false)] + public string TenderRepositoryID { get; set; } + + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderRepositoryID: ").Append(TenderRepositoryID).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderRepositoryID == input.TenderRepositoryID || + (this.TenderRepositoryID != null && + this.TenderRepositoryID.Equals(input.TenderRepositoryID)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderRepositoryID != null) + hashCode = hashCode * 59 + this.TenderRepositoryID.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..8889e507be13cef2167d7fe57c3cbe43ce7394f2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction.cs @@ -0,0 +1,257 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillTenderSettlementTransaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// settlement tender details. + /// settlement details. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction(ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey), List tillSettlementTenderDetailList = default(List), List tillSettlementDocumentList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction and cannot be null"); + } + else + { + this.Key = key; + } + this.TillSettlementTenderDetailList = tillSettlementTenderDetailList; + this.TillSettlementDocumentList = tillSettlementDocumentList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey Key { get; set; } + + /// + /// settlement tender details + /// + /// settlement tender details + [DataMember(Name="tillSettlementTenderDetailList", EmitDefaultValue=false)] + public List TillSettlementTenderDetailList { get; set; } + + /// + /// settlement details + /// + /// settlement details + [DataMember(Name="tillSettlementDocumentList", EmitDefaultValue=false)] + public List TillSettlementDocumentList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TillSettlementTenderDetailList: ").Append(TillSettlementTenderDetailList).Append("\n"); + sb.Append(" TillSettlementDocumentList: ").Append(TillSettlementDocumentList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TillSettlementTenderDetailList == input.TillSettlementTenderDetailList || + this.TillSettlementTenderDetailList != null && + this.TillSettlementTenderDetailList.SequenceEqual(input.TillSettlementTenderDetailList) + ) && + ( + this.TillSettlementDocumentList == input.TillSettlementDocumentList || + this.TillSettlementDocumentList != null && + this.TillSettlementDocumentList.SequenceEqual(input.TillSettlementDocumentList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TillSettlementTenderDetailList != null) + hashCode = hashCode * 59 + this.TillSettlementTenderDetailList.GetHashCode(); + if (this.TillSettlementDocumentList != null) + hashCode = hashCode * 59 + this.TillSettlementDocumentList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ddac26a4a366ac8528f4542ab1d1a3ead2329f6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillTenderSettlementTransaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..6def02547c7fd61625593cc9b95b944fa4491845 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransaction.cs @@ -0,0 +1,1179 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Transaction <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransaction() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  (required). + /// The unique identifier for the WORKSTATION.  (required). + /// The store id (required). + /// The calendar date of the BusinessDay. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// The sequence number of the transaction (incremental number for each workstation). It is formatted according to minimum and maximum value and it could be reset every day to minimum value. So in comparison to InternalSequenceNumber it must not be unique for business unit and workstation.It is used for export, reporting, search and display. (required). + /// A code to denote the type of Transaction. (required). + /// The time and date a transaction is initiated. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// The time and date stamp a transaction is completed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// A flag denoting that this entire transaction has been cancelled before it was completed at the POS. . + /// Defines if the transaction was suspended.. + /// A flag to signify whether the transaction was created in training mode.. + /// A code that indicates the online/offline state when transaction was completed.. + /// A unique retailer defined reason code for an action that is taken (or not taken) at a Workstation.. + /// A narrative description describing the uses of the retailer assigned reason code. Corresponds to Reason.Description. + /// A unique system-assigned identifier for the Worker.. + /// The worker's first name. + /// The worker's last name. + /// The software version which was used in order to create the transaction.. + /// Number for suspending, can be used for multiple transactions. + /// The sequence number of the transaction (incremental number for each workstation). It is unique for business unit and workstation. (required). + /// The sequence number being created either by the POS, the fiscal printer, or other device used for fiscalization. + /// Determines whether this is a fiscal transaction. (required). + /// The fiscal day counter. + /// The identifier of the fiscal printer. + /// Fiscal signature of the transaction.. + /// The timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestamp or the EndDateTimestamp. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// The UTC0 time and date a transaction is initiated. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The UTC0 time and date stamp a transaction is completed. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// The UTC0 timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestampUTC0 or the EndDateTimestampUTC0. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// List of additional printouts. + /// List of associated transactions. + /// List of binary data. + /// List of transaction categories. + /// List of transaction extensions. + /// List of data for authorization related to transaction level. + /// WorkstationID were the transaction was finalized.. + /// List of audit events. + /// List of timer entries. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// retail transaction data. + /// control transaction data. + /// tender control transaction data. + /// Main currency of the store (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransaction(ComGkSoftwareGkrApiTxpoolDtoTransactionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionKey), string operatorID = default(string), string workstationID = default(string), string businessUnitID = default(string), string businessDayDate = default(string), int? sequenceNumber = default(int?), string transactionTypeCode = default(string), string beginDateTimestamp = default(string), string endDateTimestamp = default(string), bool? cancelledFlag = default(bool?), bool? suspendedFlag = default(bool?), bool? trainingFlag = default(bool?), string keyedOfflineFlag = default(string), string reasonCode = default(string), string reasonDescription = default(string), string workerID = default(string), string workerFirstName = default(string), string workerLastName = default(string), string softwareVersion = default(string), string suspendNumber = default(string), int? internalSequenceNumber = default(int?), string fiscalSequenceNumber = default(string), bool? fiscalFlag = default(bool?), string fiscalDayNumber = default(string), string fiscalPrinterID = default(string), string fiscalSignature = default(string), string transactionTimestamp = default(string), DateTime? beginDateTimestampUTC0 = default(DateTime?), DateTime? endDateTimestampUTC0 = default(DateTime?), DateTime? transactionTimestampUTC0 = default(DateTime?), List transactionAdditionalPrintoutList = default(List), List transactionAssociationList = default(List), List transactionBinaryDataList = default(List), List transactionCategoryList = default(List), List transactionExtensionList = default(List), List transactionResourceOverrideList = default(List), string endWorkstationID = default(string), List transactionAuditEventList = default(List), List transactionTimerList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), List retailTransactionList = default(List), List controlTransactionList = default(List), List tenderControlTransactionList = default(List), string isocurrencyCode = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "operatorID" is required (not null) + if (operatorID == null) + { + throw new InvalidDataException("operatorID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.OperatorID = operatorID; + } + // to ensure "workstationID" is required (not null) + if (workstationID == null) + { + throw new InvalidDataException("workstationID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.WorkstationID = workstationID; + } + // to ensure "businessUnitID" is required (not null) + if (businessUnitID == null) + { + throw new InvalidDataException("businessUnitID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.BusinessUnitID = businessUnitID; + } + // to ensure "businessDayDate" is required (not null) + if (businessDayDate == null) + { + throw new InvalidDataException("businessDayDate is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.BusinessDayDate = businessDayDate; + } + // to ensure "sequenceNumber" is required (not null) + if (sequenceNumber == null) + { + throw new InvalidDataException("sequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.SequenceNumber = sequenceNumber; + } + // to ensure "transactionTypeCode" is required (not null) + if (transactionTypeCode == null) + { + throw new InvalidDataException("transactionTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.TransactionTypeCode = transactionTypeCode; + } + // to ensure "internalSequenceNumber" is required (not null) + if (internalSequenceNumber == null) + { + throw new InvalidDataException("internalSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.InternalSequenceNumber = internalSequenceNumber; + } + // to ensure "fiscalFlag" is required (not null) + if (fiscalFlag == null) + { + throw new InvalidDataException("fiscalFlag is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.FiscalFlag = fiscalFlag; + } + // to ensure "isocurrencyCode" is required (not null) + if (isocurrencyCode == null) + { + throw new InvalidDataException("isocurrencyCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTransaction and cannot be null"); + } + else + { + this.IsocurrencyCode = isocurrencyCode; + } + this.BeginDateTimestamp = beginDateTimestamp; + this.EndDateTimestamp = endDateTimestamp; + this.CancelledFlag = cancelledFlag; + this.SuspendedFlag = suspendedFlag; + this.TrainingFlag = trainingFlag; + this.KeyedOfflineFlag = keyedOfflineFlag; + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.WorkerID = workerID; + this.WorkerFirstName = workerFirstName; + this.WorkerLastName = workerLastName; + this.SoftwareVersion = softwareVersion; + this.SuspendNumber = suspendNumber; + this.FiscalSequenceNumber = fiscalSequenceNumber; + this.FiscalDayNumber = fiscalDayNumber; + this.FiscalPrinterID = fiscalPrinterID; + this.FiscalSignature = fiscalSignature; + this.TransactionTimestamp = transactionTimestamp; + this.BeginDateTimestampUTC0 = beginDateTimestampUTC0; + this.EndDateTimestampUTC0 = endDateTimestampUTC0; + this.TransactionTimestampUTC0 = transactionTimestampUTC0; + this.TransactionAdditionalPrintoutList = transactionAdditionalPrintoutList; + this.TransactionAssociationList = transactionAssociationList; + this.TransactionBinaryDataList = transactionBinaryDataList; + this.TransactionCategoryList = transactionCategoryList; + this.TransactionExtensionList = transactionExtensionList; + this.TransactionResourceOverrideList = transactionResourceOverrideList; + this.EndWorkstationID = endWorkstationID; + this.TransactionAuditEventList = transactionAuditEventList; + this.TransactionTimerList = transactionTimerList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.RetailTransactionList = retailTransactionList; + this.ControlTransactionList = controlTransactionList; + this.TenderControlTransactionList = tenderControlTransactionList; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionKey Key { get; set; } + + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// The unique identifier for the WORKSTATION.  + /// + /// The unique identifier for the WORKSTATION.  + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// The store id + /// + /// The store id + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// The calendar date of the BusinessDay. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The calendar date of the BusinessDay. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="businessDayDate", EmitDefaultValue=false)] + public string BusinessDayDate { get; set; } + + /// + /// The sequence number of the transaction (incremental number for each workstation). It is formatted according to minimum and maximum value and it could be reset every day to minimum value. So in comparison to InternalSequenceNumber it must not be unique for business unit and workstation.It is used for export, reporting, search and display. + /// + /// The sequence number of the transaction (incremental number for each workstation). It is formatted according to minimum and maximum value and it could be reset every day to minimum value. So in comparison to InternalSequenceNumber it must not be unique for business unit and workstation.It is used for export, reporting, search and display. + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// A code to denote the type of Transaction. + /// + /// A code to denote the type of Transaction. + [DataMember(Name="transactionTypeCode", EmitDefaultValue=false)] + public string TransactionTypeCode { get; set; } + + /// + /// The time and date a transaction is initiated. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The time and date a transaction is initiated. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="beginDateTimestamp", EmitDefaultValue=false)] + public string BeginDateTimestamp { get; set; } + + /// + /// The time and date stamp a transaction is completed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The time and date stamp a transaction is completed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="endDateTimestamp", EmitDefaultValue=false)] + public string EndDateTimestamp { get; set; } + + /// + /// A flag denoting that this entire transaction has been cancelled before it was completed at the POS.  + /// + /// A flag denoting that this entire transaction has been cancelled before it was completed at the POS.  + [DataMember(Name="cancelledFlag", EmitDefaultValue=false)] + public bool? CancelledFlag { get; set; } + + /// + /// Defines if the transaction was suspended. + /// + /// Defines if the transaction was suspended. + [DataMember(Name="suspendedFlag", EmitDefaultValue=false)] + public bool? SuspendedFlag { get; set; } + + /// + /// A flag to signify whether the transaction was created in training mode. + /// + /// A flag to signify whether the transaction was created in training mode. + [DataMember(Name="trainingFlag", EmitDefaultValue=false)] + public bool? TrainingFlag { get; set; } + + /// + /// A code that indicates the online/offline state when transaction was completed. + /// + /// A code that indicates the online/offline state when transaction was completed. + [DataMember(Name="keyedOfflineFlag", EmitDefaultValue=false)] + public string KeyedOfflineFlag { get; set; } + + /// + /// A unique retailer defined reason code for an action that is taken (or not taken) at a Workstation. + /// + /// A unique retailer defined reason code for an action that is taken (or not taken) at a Workstation. + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A narrative description describing the uses of the retailer assigned reason code. Corresponds to Reason.Description + /// + /// A narrative description describing the uses of the retailer assigned reason code. Corresponds to Reason.Description + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// A unique system-assigned identifier for the Worker. + /// + /// A unique system-assigned identifier for the Worker. + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// The worker's first name + /// + /// The worker's first name + [DataMember(Name="workerFirstName", EmitDefaultValue=false)] + public string WorkerFirstName { get; set; } + + /// + /// The worker's last name + /// + /// The worker's last name + [DataMember(Name="workerLastName", EmitDefaultValue=false)] + public string WorkerLastName { get; set; } + + /// + /// The software version which was used in order to create the transaction. + /// + /// The software version which was used in order to create the transaction. + [DataMember(Name="softwareVersion", EmitDefaultValue=false)] + public string SoftwareVersion { get; set; } + + /// + /// Number for suspending, can be used for multiple transactions + /// + /// Number for suspending, can be used for multiple transactions + [DataMember(Name="suspendNumber", EmitDefaultValue=false)] + public string SuspendNumber { get; set; } + + /// + /// The sequence number of the transaction (incremental number for each workstation). It is unique for business unit and workstation. + /// + /// The sequence number of the transaction (incremental number for each workstation). It is unique for business unit and workstation. + [DataMember(Name="internalSequenceNumber", EmitDefaultValue=false)] + public int? InternalSequenceNumber { get; set; } + + /// + /// The sequence number being created either by the POS, the fiscal printer, or other device used for fiscalization + /// + /// The sequence number being created either by the POS, the fiscal printer, or other device used for fiscalization + [DataMember(Name="fiscalSequenceNumber", EmitDefaultValue=false)] + public string FiscalSequenceNumber { get; set; } + + /// + /// Determines whether this is a fiscal transaction. + /// + /// Determines whether this is a fiscal transaction. + [DataMember(Name="fiscalFlag", EmitDefaultValue=false)] + public bool? FiscalFlag { get; set; } + + /// + /// The fiscal day counter + /// + /// The fiscal day counter + [DataMember(Name="fiscalDayNumber", EmitDefaultValue=false)] + public string FiscalDayNumber { get; set; } + + /// + /// The identifier of the fiscal printer + /// + /// The identifier of the fiscal printer + [DataMember(Name="fiscalPrinterID", EmitDefaultValue=false)] + public string FiscalPrinterID { get; set; } + + /// + /// Fiscal signature of the transaction. + /// + /// Fiscal signature of the transaction. + [DataMember(Name="fiscalSignature", EmitDefaultValue=false)] + public string FiscalSignature { get; set; } + + /// + /// The timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestamp or the EndDateTimestamp. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestamp or the EndDateTimestamp. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="transactionTimestamp", EmitDefaultValue=false)] + public string TransactionTimestamp { get; set; } + + /// + /// The UTC0 time and date a transaction is initiated. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 time and date a transaction is initiated. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="beginDateTimestampUTC0", EmitDefaultValue=false)] + public DateTime? BeginDateTimestampUTC0 { get; set; } + + /// + /// The UTC0 time and date stamp a transaction is completed. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 time and date stamp a transaction is completed. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="endDateTimestampUTC0", EmitDefaultValue=false)] + public DateTime? EndDateTimestampUTC0 { get; set; } + + /// + /// The UTC0 timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestampUTC0 or the EndDateTimestampUTC0. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestampUTC0 or the EndDateTimestampUTC0. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="transactionTimestampUTC0", EmitDefaultValue=false)] + public DateTime? TransactionTimestampUTC0 { get; set; } + + /// + /// List of additional printouts + /// + /// List of additional printouts + [DataMember(Name="transactionAdditionalPrintoutList", EmitDefaultValue=false)] + public List TransactionAdditionalPrintoutList { get; set; } + + /// + /// List of associated transactions + /// + /// List of associated transactions + [DataMember(Name="transactionAssociationList", EmitDefaultValue=false)] + public List TransactionAssociationList { get; set; } + + /// + /// List of binary data + /// + /// List of binary data + [DataMember(Name="transactionBinaryDataList", EmitDefaultValue=false)] + public List TransactionBinaryDataList { get; set; } + + /// + /// List of transaction categories + /// + /// List of transaction categories + [DataMember(Name="transactionCategoryList", EmitDefaultValue=false)] + public List TransactionCategoryList { get; set; } + + /// + /// List of transaction extensions + /// + /// List of transaction extensions + [DataMember(Name="transactionExtensionList", EmitDefaultValue=false)] + public List TransactionExtensionList { get; set; } + + /// + /// List of data for authorization related to transaction level + /// + /// List of data for authorization related to transaction level + [DataMember(Name="transactionResourceOverrideList", EmitDefaultValue=false)] + public List TransactionResourceOverrideList { get; set; } + + /// + /// WorkstationID were the transaction was finalized. + /// + /// WorkstationID were the transaction was finalized. + [DataMember(Name="endWorkstationID", EmitDefaultValue=false)] + public string EndWorkstationID { get; set; } + + /// + /// List of audit events + /// + /// List of audit events + [DataMember(Name="transactionAuditEventList", EmitDefaultValue=false)] + public List TransactionAuditEventList { get; set; } + + /// + /// List of timer entries + /// + /// List of timer entries + [DataMember(Name="transactionTimerList", EmitDefaultValue=false)] + public List TransactionTimerList { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// retail transaction data + /// + /// retail transaction data + [DataMember(Name="retailTransactionList", EmitDefaultValue=false)] + public List RetailTransactionList { get; set; } + + /// + /// control transaction data + /// + /// control transaction data + [DataMember(Name="controlTransactionList", EmitDefaultValue=false)] + public List ControlTransactionList { get; set; } + + /// + /// tender control transaction data + /// + /// tender control transaction data + [DataMember(Name="tenderControlTransactionList", EmitDefaultValue=false)] + public List TenderControlTransactionList { get; set; } + + /// + /// Main currency of the store + /// + /// Main currency of the store + [DataMember(Name="isocurrencyCode", EmitDefaultValue=false)] + public string IsocurrencyCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransaction {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" BusinessDayDate: ").Append(BusinessDayDate).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append(" TransactionTypeCode: ").Append(TransactionTypeCode).Append("\n"); + sb.Append(" BeginDateTimestamp: ").Append(BeginDateTimestamp).Append("\n"); + sb.Append(" EndDateTimestamp: ").Append(EndDateTimestamp).Append("\n"); + sb.Append(" CancelledFlag: ").Append(CancelledFlag).Append("\n"); + sb.Append(" SuspendedFlag: ").Append(SuspendedFlag).Append("\n"); + sb.Append(" TrainingFlag: ").Append(TrainingFlag).Append("\n"); + sb.Append(" KeyedOfflineFlag: ").Append(KeyedOfflineFlag).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" WorkerFirstName: ").Append(WorkerFirstName).Append("\n"); + sb.Append(" WorkerLastName: ").Append(WorkerLastName).Append("\n"); + sb.Append(" SoftwareVersion: ").Append(SoftwareVersion).Append("\n"); + sb.Append(" SuspendNumber: ").Append(SuspendNumber).Append("\n"); + sb.Append(" InternalSequenceNumber: ").Append(InternalSequenceNumber).Append("\n"); + sb.Append(" FiscalSequenceNumber: ").Append(FiscalSequenceNumber).Append("\n"); + sb.Append(" FiscalFlag: ").Append(FiscalFlag).Append("\n"); + sb.Append(" FiscalDayNumber: ").Append(FiscalDayNumber).Append("\n"); + sb.Append(" FiscalPrinterID: ").Append(FiscalPrinterID).Append("\n"); + sb.Append(" FiscalSignature: ").Append(FiscalSignature).Append("\n"); + sb.Append(" TransactionTimestamp: ").Append(TransactionTimestamp).Append("\n"); + sb.Append(" BeginDateTimestampUTC0: ").Append(BeginDateTimestampUTC0).Append("\n"); + sb.Append(" EndDateTimestampUTC0: ").Append(EndDateTimestampUTC0).Append("\n"); + sb.Append(" TransactionTimestampUTC0: ").Append(TransactionTimestampUTC0).Append("\n"); + sb.Append(" TransactionAdditionalPrintoutList: ").Append(TransactionAdditionalPrintoutList).Append("\n"); + sb.Append(" TransactionAssociationList: ").Append(TransactionAssociationList).Append("\n"); + sb.Append(" TransactionBinaryDataList: ").Append(TransactionBinaryDataList).Append("\n"); + sb.Append(" TransactionCategoryList: ").Append(TransactionCategoryList).Append("\n"); + sb.Append(" TransactionExtensionList: ").Append(TransactionExtensionList).Append("\n"); + sb.Append(" TransactionResourceOverrideList: ").Append(TransactionResourceOverrideList).Append("\n"); + sb.Append(" EndWorkstationID: ").Append(EndWorkstationID).Append("\n"); + sb.Append(" TransactionAuditEventList: ").Append(TransactionAuditEventList).Append("\n"); + sb.Append(" TransactionTimerList: ").Append(TransactionTimerList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" RetailTransactionList: ").Append(RetailTransactionList).Append("\n"); + sb.Append(" ControlTransactionList: ").Append(ControlTransactionList).Append("\n"); + sb.Append(" TenderControlTransactionList: ").Append(TenderControlTransactionList).Append("\n"); + sb.Append(" IsocurrencyCode: ").Append(IsocurrencyCode).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransaction); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransaction instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransaction to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransaction input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.BusinessDayDate == input.BusinessDayDate || + (this.BusinessDayDate != null && + this.BusinessDayDate.Equals(input.BusinessDayDate)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ) && + ( + this.TransactionTypeCode == input.TransactionTypeCode || + (this.TransactionTypeCode != null && + this.TransactionTypeCode.Equals(input.TransactionTypeCode)) + ) && + ( + this.BeginDateTimestamp == input.BeginDateTimestamp || + (this.BeginDateTimestamp != null && + this.BeginDateTimestamp.Equals(input.BeginDateTimestamp)) + ) && + ( + this.EndDateTimestamp == input.EndDateTimestamp || + (this.EndDateTimestamp != null && + this.EndDateTimestamp.Equals(input.EndDateTimestamp)) + ) && + ( + this.CancelledFlag == input.CancelledFlag || + (this.CancelledFlag != null && + this.CancelledFlag.Equals(input.CancelledFlag)) + ) && + ( + this.SuspendedFlag == input.SuspendedFlag || + (this.SuspendedFlag != null && + this.SuspendedFlag.Equals(input.SuspendedFlag)) + ) && + ( + this.TrainingFlag == input.TrainingFlag || + (this.TrainingFlag != null && + this.TrainingFlag.Equals(input.TrainingFlag)) + ) && + ( + this.KeyedOfflineFlag == input.KeyedOfflineFlag || + (this.KeyedOfflineFlag != null && + this.KeyedOfflineFlag.Equals(input.KeyedOfflineFlag)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.WorkerFirstName == input.WorkerFirstName || + (this.WorkerFirstName != null && + this.WorkerFirstName.Equals(input.WorkerFirstName)) + ) && + ( + this.WorkerLastName == input.WorkerLastName || + (this.WorkerLastName != null && + this.WorkerLastName.Equals(input.WorkerLastName)) + ) && + ( + this.SoftwareVersion == input.SoftwareVersion || + (this.SoftwareVersion != null && + this.SoftwareVersion.Equals(input.SoftwareVersion)) + ) && + ( + this.SuspendNumber == input.SuspendNumber || + (this.SuspendNumber != null && + this.SuspendNumber.Equals(input.SuspendNumber)) + ) && + ( + this.InternalSequenceNumber == input.InternalSequenceNumber || + (this.InternalSequenceNumber != null && + this.InternalSequenceNumber.Equals(input.InternalSequenceNumber)) + ) && + ( + this.FiscalSequenceNumber == input.FiscalSequenceNumber || + (this.FiscalSequenceNumber != null && + this.FiscalSequenceNumber.Equals(input.FiscalSequenceNumber)) + ) && + ( + this.FiscalFlag == input.FiscalFlag || + (this.FiscalFlag != null && + this.FiscalFlag.Equals(input.FiscalFlag)) + ) && + ( + this.FiscalDayNumber == input.FiscalDayNumber || + (this.FiscalDayNumber != null && + this.FiscalDayNumber.Equals(input.FiscalDayNumber)) + ) && + ( + this.FiscalPrinterID == input.FiscalPrinterID || + (this.FiscalPrinterID != null && + this.FiscalPrinterID.Equals(input.FiscalPrinterID)) + ) && + ( + this.FiscalSignature == input.FiscalSignature || + (this.FiscalSignature != null && + this.FiscalSignature.Equals(input.FiscalSignature)) + ) && + ( + this.TransactionTimestamp == input.TransactionTimestamp || + (this.TransactionTimestamp != null && + this.TransactionTimestamp.Equals(input.TransactionTimestamp)) + ) && + ( + this.BeginDateTimestampUTC0 == input.BeginDateTimestampUTC0 || + (this.BeginDateTimestampUTC0 != null && + this.BeginDateTimestampUTC0.Equals(input.BeginDateTimestampUTC0)) + ) && + ( + this.EndDateTimestampUTC0 == input.EndDateTimestampUTC0 || + (this.EndDateTimestampUTC0 != null && + this.EndDateTimestampUTC0.Equals(input.EndDateTimestampUTC0)) + ) && + ( + this.TransactionTimestampUTC0 == input.TransactionTimestampUTC0 || + (this.TransactionTimestampUTC0 != null && + this.TransactionTimestampUTC0.Equals(input.TransactionTimestampUTC0)) + ) && + ( + this.TransactionAdditionalPrintoutList == input.TransactionAdditionalPrintoutList || + this.TransactionAdditionalPrintoutList != null && + this.TransactionAdditionalPrintoutList.SequenceEqual(input.TransactionAdditionalPrintoutList) + ) && + ( + this.TransactionAssociationList == input.TransactionAssociationList || + this.TransactionAssociationList != null && + this.TransactionAssociationList.SequenceEqual(input.TransactionAssociationList) + ) && + ( + this.TransactionBinaryDataList == input.TransactionBinaryDataList || + this.TransactionBinaryDataList != null && + this.TransactionBinaryDataList.SequenceEqual(input.TransactionBinaryDataList) + ) && + ( + this.TransactionCategoryList == input.TransactionCategoryList || + this.TransactionCategoryList != null && + this.TransactionCategoryList.SequenceEqual(input.TransactionCategoryList) + ) && + ( + this.TransactionExtensionList == input.TransactionExtensionList || + this.TransactionExtensionList != null && + this.TransactionExtensionList.SequenceEqual(input.TransactionExtensionList) + ) && + ( + this.TransactionResourceOverrideList == input.TransactionResourceOverrideList || + this.TransactionResourceOverrideList != null && + this.TransactionResourceOverrideList.SequenceEqual(input.TransactionResourceOverrideList) + ) && + ( + this.EndWorkstationID == input.EndWorkstationID || + (this.EndWorkstationID != null && + this.EndWorkstationID.Equals(input.EndWorkstationID)) + ) && + ( + this.TransactionAuditEventList == input.TransactionAuditEventList || + this.TransactionAuditEventList != null && + this.TransactionAuditEventList.SequenceEqual(input.TransactionAuditEventList) + ) && + ( + this.TransactionTimerList == input.TransactionTimerList || + this.TransactionTimerList != null && + this.TransactionTimerList.SequenceEqual(input.TransactionTimerList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.RetailTransactionList == input.RetailTransactionList || + this.RetailTransactionList != null && + this.RetailTransactionList.SequenceEqual(input.RetailTransactionList) + ) && + ( + this.ControlTransactionList == input.ControlTransactionList || + this.ControlTransactionList != null && + this.ControlTransactionList.SequenceEqual(input.ControlTransactionList) + ) && + ( + this.TenderControlTransactionList == input.TenderControlTransactionList || + this.TenderControlTransactionList != null && + this.TenderControlTransactionList.SequenceEqual(input.TenderControlTransactionList) + ) && + ( + this.IsocurrencyCode == input.IsocurrencyCode || + (this.IsocurrencyCode != null && + this.IsocurrencyCode.Equals(input.IsocurrencyCode)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.BusinessDayDate != null) + hashCode = hashCode * 59 + this.BusinessDayDate.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + if (this.TransactionTypeCode != null) + hashCode = hashCode * 59 + this.TransactionTypeCode.GetHashCode(); + if (this.BeginDateTimestamp != null) + hashCode = hashCode * 59 + this.BeginDateTimestamp.GetHashCode(); + if (this.EndDateTimestamp != null) + hashCode = hashCode * 59 + this.EndDateTimestamp.GetHashCode(); + if (this.CancelledFlag != null) + hashCode = hashCode * 59 + this.CancelledFlag.GetHashCode(); + if (this.SuspendedFlag != null) + hashCode = hashCode * 59 + this.SuspendedFlag.GetHashCode(); + if (this.TrainingFlag != null) + hashCode = hashCode * 59 + this.TrainingFlag.GetHashCode(); + if (this.KeyedOfflineFlag != null) + hashCode = hashCode * 59 + this.KeyedOfflineFlag.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.WorkerFirstName != null) + hashCode = hashCode * 59 + this.WorkerFirstName.GetHashCode(); + if (this.WorkerLastName != null) + hashCode = hashCode * 59 + this.WorkerLastName.GetHashCode(); + if (this.SoftwareVersion != null) + hashCode = hashCode * 59 + this.SoftwareVersion.GetHashCode(); + if (this.SuspendNumber != null) + hashCode = hashCode * 59 + this.SuspendNumber.GetHashCode(); + if (this.InternalSequenceNumber != null) + hashCode = hashCode * 59 + this.InternalSequenceNumber.GetHashCode(); + if (this.FiscalSequenceNumber != null) + hashCode = hashCode * 59 + this.FiscalSequenceNumber.GetHashCode(); + if (this.FiscalFlag != null) + hashCode = hashCode * 59 + this.FiscalFlag.GetHashCode(); + if (this.FiscalDayNumber != null) + hashCode = hashCode * 59 + this.FiscalDayNumber.GetHashCode(); + if (this.FiscalPrinterID != null) + hashCode = hashCode * 59 + this.FiscalPrinterID.GetHashCode(); + if (this.FiscalSignature != null) + hashCode = hashCode * 59 + this.FiscalSignature.GetHashCode(); + if (this.TransactionTimestamp != null) + hashCode = hashCode * 59 + this.TransactionTimestamp.GetHashCode(); + if (this.BeginDateTimestampUTC0 != null) + hashCode = hashCode * 59 + this.BeginDateTimestampUTC0.GetHashCode(); + if (this.EndDateTimestampUTC0 != null) + hashCode = hashCode * 59 + this.EndDateTimestampUTC0.GetHashCode(); + if (this.TransactionTimestampUTC0 != null) + hashCode = hashCode * 59 + this.TransactionTimestampUTC0.GetHashCode(); + if (this.TransactionAdditionalPrintoutList != null) + hashCode = hashCode * 59 + this.TransactionAdditionalPrintoutList.GetHashCode(); + if (this.TransactionAssociationList != null) + hashCode = hashCode * 59 + this.TransactionAssociationList.GetHashCode(); + if (this.TransactionBinaryDataList != null) + hashCode = hashCode * 59 + this.TransactionBinaryDataList.GetHashCode(); + if (this.TransactionCategoryList != null) + hashCode = hashCode * 59 + this.TransactionCategoryList.GetHashCode(); + if (this.TransactionExtensionList != null) + hashCode = hashCode * 59 + this.TransactionExtensionList.GetHashCode(); + if (this.TransactionResourceOverrideList != null) + hashCode = hashCode * 59 + this.TransactionResourceOverrideList.GetHashCode(); + if (this.EndWorkstationID != null) + hashCode = hashCode * 59 + this.EndWorkstationID.GetHashCode(); + if (this.TransactionAuditEventList != null) + hashCode = hashCode * 59 + this.TransactionAuditEventList.GetHashCode(); + if (this.TransactionTimerList != null) + hashCode = hashCode * 59 + this.TransactionTimerList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.RetailTransactionList != null) + hashCode = hashCode * 59 + this.RetailTransactionList.GetHashCode(); + if (this.ControlTransactionList != null) + hashCode = hashCode * 59 + this.ControlTransactionList.GetHashCode(); + if (this.TenderControlTransactionList != null) + hashCode = hashCode * 59 + this.TenderControlTransactionList.GetHashCode(); + if (this.IsocurrencyCode != null) + hashCode = hashCode * 59 + this.IsocurrencyCode.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout.cs new file mode 100644 index 0000000000000000000000000000000000000000..190117ef11547cc48af0a00a2d256d86c85010a7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout.cs @@ -0,0 +1,340 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionAdditionalPrintout <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The trigger type ident of the additional printout (e.g. customer group, user function, tender). (required). + /// The trigger value for the additional printout (e.g. the number of the customer group, the number of user function, the tender class code). (required). + /// The name of the report template  (required). + /// The count of printout copies  (required). + /// Parameter / data for printout . + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout(ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey), string triggerID = default(string), string triggerValue = default(string), string reportName = default(string), double? printoutCount = default(double?), string printoutContent = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "triggerID" is required (not null) + if (triggerID == null) + { + throw new InvalidDataException("triggerID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout and cannot be null"); + } + else + { + this.TriggerID = triggerID; + } + // to ensure "triggerValue" is required (not null) + if (triggerValue == null) + { + throw new InvalidDataException("triggerValue is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout and cannot be null"); + } + else + { + this.TriggerValue = triggerValue; + } + // to ensure "reportName" is required (not null) + if (reportName == null) + { + throw new InvalidDataException("reportName is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout and cannot be null"); + } + else + { + this.ReportName = reportName; + } + // to ensure "printoutCount" is required (not null) + if (printoutCount == null) + { + throw new InvalidDataException("printoutCount is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout and cannot be null"); + } + else + { + this.PrintoutCount = printoutCount; + } + this.PrintoutContent = printoutContent; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey Key { get; set; } + + /// + /// The trigger type ident of the additional printout (e.g. customer group, user function, tender). + /// + /// The trigger type ident of the additional printout (e.g. customer group, user function, tender). + [DataMember(Name="triggerID", EmitDefaultValue=false)] + public string TriggerID { get; set; } + + /// + /// The trigger value for the additional printout (e.g. the number of the customer group, the number of user function, the tender class code). + /// + /// The trigger value for the additional printout (e.g. the number of the customer group, the number of user function, the tender class code). + [DataMember(Name="triggerValue", EmitDefaultValue=false)] + public string TriggerValue { get; set; } + + /// + /// The name of the report template  + /// + /// The name of the report template  + [DataMember(Name="reportName", EmitDefaultValue=false)] + public string ReportName { get; set; } + + /// + /// The count of printout copies  + /// + /// The count of printout copies  + [DataMember(Name="printoutCount", EmitDefaultValue=false)] + public double? PrintoutCount { get; set; } + + /// + /// Parameter / data for printout  + /// + /// Parameter / data for printout  + [DataMember(Name="printoutContent", EmitDefaultValue=false)] + public string PrintoutContent { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TriggerID: ").Append(TriggerID).Append("\n"); + sb.Append(" TriggerValue: ").Append(TriggerValue).Append("\n"); + sb.Append(" ReportName: ").Append(ReportName).Append("\n"); + sb.Append(" PrintoutCount: ").Append(PrintoutCount).Append("\n"); + sb.Append(" PrintoutContent: ").Append(PrintoutContent).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TriggerID == input.TriggerID || + (this.TriggerID != null && + this.TriggerID.Equals(input.TriggerID)) + ) && + ( + this.TriggerValue == input.TriggerValue || + (this.TriggerValue != null && + this.TriggerValue.Equals(input.TriggerValue)) + ) && + ( + this.ReportName == input.ReportName || + (this.ReportName != null && + this.ReportName.Equals(input.ReportName)) + ) && + ( + this.PrintoutCount == input.PrintoutCount || + (this.PrintoutCount != null && + this.PrintoutCount.Equals(input.PrintoutCount)) + ) && + ( + this.PrintoutContent == input.PrintoutContent || + (this.PrintoutContent != null && + this.PrintoutContent.Equals(input.PrintoutContent)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TriggerID != null) + hashCode = hashCode * 59 + this.TriggerID.GetHashCode(); + if (this.TriggerValue != null) + hashCode = hashCode * 59 + this.TriggerValue.GetHashCode(); + if (this.ReportName != null) + hashCode = hashCode * 59 + this.ReportName.GetHashCode(); + if (this.PrintoutCount != null) + hashCode = hashCode * 59 + this.PrintoutCount.GetHashCode(); + if (this.PrintoutContent != null) + hashCode = hashCode * 59 + this.PrintoutContent.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..cae714e172cb0f8b8d886cc992a586f359bf7f7a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionAdditionalPrintout.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// Line number (incremental counter) of the printout  (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? printoutSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "printoutSequenceNumber" is required (not null) + if (printoutSequenceNumber == null) + { + throw new InvalidDataException("printoutSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey and cannot be null"); + } + else + { + this.PrintoutSequenceNumber = printoutSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Line number (incremental counter) of the printout  + /// + /// Line number (incremental counter) of the printout  + [DataMember(Name="printoutSequenceNumber", EmitDefaultValue=false)] + public int? PrintoutSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PrintoutSequenceNumber: ").Append(PrintoutSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PrintoutSequenceNumber == input.PrintoutSequenceNumber || + (this.PrintoutSequenceNumber != null && + this.PrintoutSequenceNumber.Equals(input.PrintoutSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PrintoutSequenceNumber != null) + hashCode = hashCode * 59 + this.PrintoutSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation.cs new file mode 100644 index 0000000000000000000000000000000000000000..13c668c748b5ef7b30bdf1ec8be239edf3d01eda --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation.cs @@ -0,0 +1,239 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionAssociation <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// toTransactionID. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation(ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string toTransactionID = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.ToTransactionID = toTransactionID; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets ToTransactionID + /// + [DataMember(Name="toTransactionID", EmitDefaultValue=false)] + public string ToTransactionID { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" ToTransactionID: ").Append(ToTransactionID).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.ToTransactionID == input.ToTransactionID || + (this.ToTransactionID != null && + this.ToTransactionID.Equals(input.ToTransactionID)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.ToTransactionID != null) + hashCode = hashCode * 59 + this.ToTransactionID.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..10d98fe4d2a2d06fd4ef9faa916c9abec88c21c3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey.cs @@ -0,0 +1,238 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionAssociation.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// Business unit group id of the current transaction. (required). + /// Transaction ID of the current Transaction. (required). + /// Transaction ID of the referenced Transaction. (required). + /// Business unit group id of the referenced transaction. (required). + /// A retailer assigned code denoting the relationship between the two transactions. (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey(string businessUnitGroupID = default(string), string transactionID = default(string), string toTransactionID = default(string), string toBusinessUnitGroupID = default(string), string transactionAssociationTypeCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "toTransactionID" is required (not null) + if (toTransactionID == null) + { + throw new InvalidDataException("toTransactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey and cannot be null"); + } + else + { + this.ToTransactionID = toTransactionID; + } + // to ensure "toBusinessUnitGroupID" is required (not null) + if (toBusinessUnitGroupID == null) + { + throw new InvalidDataException("toBusinessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey and cannot be null"); + } + else + { + this.ToBusinessUnitGroupID = toBusinessUnitGroupID; + } + // to ensure "transactionAssociationTypeCode" is required (not null) + if (transactionAssociationTypeCode == null) + { + throw new InvalidDataException("transactionAssociationTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey and cannot be null"); + } + else + { + this.TransactionAssociationTypeCode = transactionAssociationTypeCode; + } + } + + /// + /// Business unit group id of the current transaction. + /// + /// Business unit group id of the current transaction. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Transaction ID of the current Transaction. + /// + /// Transaction ID of the current Transaction. + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Transaction ID of the referenced Transaction. + /// + /// Transaction ID of the referenced Transaction. + [DataMember(Name="toTransactionID", EmitDefaultValue=false)] + public string ToTransactionID { get; set; } + + /// + /// Business unit group id of the referenced transaction. + /// + /// Business unit group id of the referenced transaction. + [DataMember(Name="toBusinessUnitGroupID", EmitDefaultValue=false)] + public string ToBusinessUnitGroupID { get; set; } + + /// + /// A retailer assigned code denoting the relationship between the two transactions. + /// + /// A retailer assigned code denoting the relationship between the two transactions. + [DataMember(Name="transactionAssociationTypeCode", EmitDefaultValue=false)] + public string TransactionAssociationTypeCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" ToTransactionID: ").Append(ToTransactionID).Append("\n"); + sb.Append(" ToBusinessUnitGroupID: ").Append(ToBusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionAssociationTypeCode: ").Append(TransactionAssociationTypeCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.ToTransactionID == input.ToTransactionID || + (this.ToTransactionID != null && + this.ToTransactionID.Equals(input.ToTransactionID)) + ) && + ( + this.ToBusinessUnitGroupID == input.ToBusinessUnitGroupID || + (this.ToBusinessUnitGroupID != null && + this.ToBusinessUnitGroupID.Equals(input.ToBusinessUnitGroupID)) + ) && + ( + this.TransactionAssociationTypeCode == input.TransactionAssociationTypeCode || + (this.TransactionAssociationTypeCode != null && + this.TransactionAssociationTypeCode.Equals(input.TransactionAssociationTypeCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.ToTransactionID != null) + hashCode = hashCode * 59 + this.ToTransactionID.GetHashCode(); + if (this.ToBusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.ToBusinessUnitGroupID.GetHashCode(); + if (this.TransactionAssociationTypeCode != null) + hashCode = hashCode * 59 + this.TransactionAssociationTypeCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..9f43bd796ed033b0efae4e56f1ef429a7934ff32 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent.cs @@ -0,0 +1,349 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionAuditEvent <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// ID of the workstation. + /// Type code of the workstation. + /// Type code of the audit event (required). + /// Additional event content. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent(ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey), string creationTimestamp = default(string), DateTime? creationTimestampUTC0 = default(DateTime?), string workstationID = default(string), string workstationTypeCode = default(string), string eventTypeCode = default(string), Object content = default(Object), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "creationTimestamp" is required (not null) + if (creationTimestamp == null) + { + throw new InvalidDataException("creationTimestamp is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent and cannot be null"); + } + else + { + this.CreationTimestamp = creationTimestamp; + } + // to ensure "creationTimestampUTC0" is required (not null) + if (creationTimestampUTC0 == null) + { + throw new InvalidDataException("creationTimestampUTC0 is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent and cannot be null"); + } + else + { + this.CreationTimestampUTC0 = creationTimestampUTC0; + } + // to ensure "eventTypeCode" is required (not null) + if (eventTypeCode == null) + { + throw new InvalidDataException("eventTypeCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent and cannot be null"); + } + else + { + this.EventTypeCode = eventTypeCode; + } + this.WorkstationID = workstationID; + this.WorkstationTypeCode = workstationTypeCode; + this.Content = content; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey Key { get; set; } + + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="creationTimestamp", EmitDefaultValue=false)] + public string CreationTimestamp { get; set; } + + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="creationTimestampUTC0", EmitDefaultValue=false)] + public DateTime? CreationTimestampUTC0 { get; set; } + + /// + /// ID of the workstation + /// + /// ID of the workstation + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// Type code of the workstation + /// + /// Type code of the workstation + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// Type code of the audit event + /// + /// Type code of the audit event + [DataMember(Name="eventTypeCode", EmitDefaultValue=false)] + public string EventTypeCode { get; set; } + + /// + /// Additional event content + /// + /// Additional event content + [DataMember(Name="content", EmitDefaultValue=false)] + public Object Content { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" CreationTimestamp: ").Append(CreationTimestamp).Append("\n"); + sb.Append(" CreationTimestampUTC0: ").Append(CreationTimestampUTC0).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" EventTypeCode: ").Append(EventTypeCode).Append("\n"); + sb.Append(" Content: ").Append(Content).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.CreationTimestamp == input.CreationTimestamp || + (this.CreationTimestamp != null && + this.CreationTimestamp.Equals(input.CreationTimestamp)) + ) && + ( + this.CreationTimestampUTC0 == input.CreationTimestampUTC0 || + (this.CreationTimestampUTC0 != null && + this.CreationTimestampUTC0.Equals(input.CreationTimestampUTC0)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.EventTypeCode == input.EventTypeCode || + (this.EventTypeCode != null && + this.EventTypeCode.Equals(input.EventTypeCode)) + ) && + ( + this.Content == input.Content || + (this.Content != null && + this.Content.Equals(input.Content)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.CreationTimestamp != null) + hashCode = hashCode * 59 + this.CreationTimestamp.GetHashCode(); + if (this.CreationTimestampUTC0 != null) + hashCode = hashCode * 59 + this.CreationTimestampUTC0.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.EventTypeCode != null) + hashCode = hashCode * 59 + this.EventTypeCode.GetHashCode(); + if (this.Content != null) + hashCode = hashCode * 59 + this.Content.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..381b4745df9de6001d7383e5ee91675db0026486 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionAuditEvent.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey() { } + /// + /// Initializes a new instance of the class. + /// + /// ID of the business unit group (required). + /// ID of the transaction (required). + /// A unique identifier (within the context of the Transaction) for this event entry.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? eventSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "eventSequenceNumber" is required (not null) + if (eventSequenceNumber == null) + { + throw new InvalidDataException("eventSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey and cannot be null"); + } + else + { + this.EventSequenceNumber = eventSequenceNumber; + } + } + + /// + /// ID of the business unit group + /// + /// ID of the business unit group + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// ID of the transaction + /// + /// ID of the transaction + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + [DataMember(Name="eventSequenceNumber", EmitDefaultValue=false)] + public int? EventSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" EventSequenceNumber: ").Append(EventSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.EventSequenceNumber == input.EventSequenceNumber || + (this.EventSequenceNumber != null && + this.EventSequenceNumber.Equals(input.EventSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.EventSequenceNumber != null) + hashCode = hashCode * 59 + this.EventSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData.cs new file mode 100644 index 0000000000000000000000000000000000000000..aced883b177479b59b216a908c1fb88486e36123 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData.cs @@ -0,0 +1,298 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionBinaryData <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The name of the binary data entry  (required). + /// The binary object  (required). + /// The length of the binary object (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData(ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey), string name = default(string), Object content = default(Object), double? contentLength = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "name" is required (not null) + if (name == null) + { + throw new InvalidDataException("name is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData and cannot be null"); + } + else + { + this.Name = name; + } + // to ensure "content" is required (not null) + if (content == null) + { + throw new InvalidDataException("content is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData and cannot be null"); + } + else + { + this.Content = content; + } + // to ensure "contentLength" is required (not null) + if (contentLength == null) + { + throw new InvalidDataException("contentLength is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData and cannot be null"); + } + else + { + this.ContentLength = contentLength; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey Key { get; set; } + + /// + /// The name of the binary data entry  + /// + /// The name of the binary data entry  + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// The binary object  + /// + /// The binary object  + [DataMember(Name="content", EmitDefaultValue=false)] + public Object Content { get; set; } + + /// + /// The length of the binary object + /// + /// The length of the binary object + [DataMember(Name="contentLength", EmitDefaultValue=false)] + public double? ContentLength { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Content: ").Append(Content).Append("\n"); + sb.Append(" ContentLength: ").Append(ContentLength).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Content == input.Content || + (this.Content != null && + this.Content.Equals(input.Content)) + ) && + ( + this.ContentLength == input.ContentLength || + (this.ContentLength != null && + this.ContentLength.Equals(input.ContentLength)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Content != null) + hashCode = hashCode * 59 + this.Content.GetHashCode(); + if (this.ContentLength != null) + hashCode = hashCode * 59 + this.ContentLength.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..106f190d1139b820e66cbd44dae145c45345cf58 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionBinaryData.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique identifier (within the context of the Transaction) for this binary data entry.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? binaryDataSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "binaryDataSequenceNumber" is required (not null) + if (binaryDataSequenceNumber == null) + { + throw new InvalidDataException("binaryDataSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey and cannot be null"); + } + else + { + this.BinaryDataSequenceNumber = binaryDataSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + [DataMember(Name="binaryDataSequenceNumber", EmitDefaultValue=false)] + public int? BinaryDataSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" BinaryDataSequenceNumber: ").Append(BinaryDataSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.BinaryDataSequenceNumber == input.BinaryDataSequenceNumber || + (this.BinaryDataSequenceNumber != null && + this.BinaryDataSequenceNumber.Equals(input.BinaryDataSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.BinaryDataSequenceNumber != null) + hashCode = hashCode * 59 + this.BinaryDataSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionCategory.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionCategory.cs new file mode 100644 index 0000000000000000000000000000000000000000..f0279e2247a316b39525c4e74f9d92de2baebc2b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionCategory.cs @@ -0,0 +1,223 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionCategory <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionCategory : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionCategory() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionCategory(ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionCategory and cannot be null"); + } + else + { + this.Key = key; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey Key { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionCategory {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionCategory); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionCategory instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionCategory to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionCategory input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c13aa391755e60ba9bba2499bea65b4ed6647cf1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionCategory.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The code representing the transaction category (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey(string businessUnitGroupID = default(string), string transactionID = default(string), string transactionCategoryCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "transactionCategoryCode" is required (not null) + if (transactionCategoryCode == null) + { + throw new InvalidDataException("transactionCategoryCode is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey and cannot be null"); + } + else + { + this.TransactionCategoryCode = transactionCategoryCode; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The code representing the transaction category + /// + /// The code representing the transaction category + [DataMember(Name="transactionCategoryCode", EmitDefaultValue=false)] + public string TransactionCategoryCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TransactionCategoryCode: ").Append(TransactionCategoryCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TransactionCategoryCode == input.TransactionCategoryCode || + (this.TransactionCategoryCode != null && + this.TransactionCategoryCode.Equals(input.TransactionCategoryCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TransactionCategoryCode != null) + hashCode = hashCode * 59 + this.TransactionCategoryCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionExtension.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..15523af9020340f81313d43c2cf3a204ac9801c9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionExtension.cs @@ -0,0 +1,240 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionExtension <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionExtension : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionExtension() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The value of the key-value pair. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionExtension(ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey), string extensionValue = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionExtension and cannot be null"); + } + else + { + this.Key = key; + } + this.ExtensionValue = extensionValue; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey Key { get; set; } + + /// + /// The value of the key-value pair + /// + /// The value of the key-value pair + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionExtension {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionExtension); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionExtension instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionExtension to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionExtension input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..34977910cd7cd57428f4d3687ada12e32664f2cc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionExtension.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The key of the key-value pair  (required). + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey(string businessUnitGroupID = default(string), string transactionID = default(string), string extensionKey = default(string), int? extensionSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "extensionKey" is required (not null) + if (extensionKey == null) + { + throw new InvalidDataException("extensionKey is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey and cannot be null"); + } + else + { + this.ExtensionKey = extensionKey; + } + // to ensure "extensionSequenceNumber" is required (not null) + if (extensionSequenceNumber == null) + { + throw new InvalidDataException("extensionSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey and cannot be null"); + } + else + { + this.ExtensionSequenceNumber = extensionSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The key of the key-value pair  + /// + /// The key of the key-value pair  + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + [DataMember(Name="extensionSequenceNumber", EmitDefaultValue=false)] + public int? ExtensionSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionSequenceNumber: ").Append(ExtensionSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionSequenceNumber == input.ExtensionSequenceNumber || + (this.ExtensionSequenceNumber != null && + this.ExtensionSequenceNumber.Equals(input.ExtensionSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionSequenceNumber != null) + hashCode = hashCode * 59 + this.ExtensionSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..7f60a3f155c8911d6bd6cce4bc77bbc4c600f145 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Transaction.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionKey(string businessUnitGroupID = default(string), string transactionID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride.cs new file mode 100644 index 0000000000000000000000000000000000000000..330166a3db0344466e5c77f165e728c8c3d02cef --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride.cs @@ -0,0 +1,384 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionResourceOverride <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A unqiue system assigned identifier for the action to which access may be granted.  . + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  (required). + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc... . + /// The name of the person assigned to the WorkerID that was used to approve this TransactionResourceOverride . + /// The first name of the person assigned to the WorkerID that was used to approve this transaction resource override . + /// A unqiue system assigned identifier for a set of Operators with similar resource access control permissions. . + /// A unique system-assigned identifier for the Person who is a particular Worker.. + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone). + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride(ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey), string resourceID = default(string), string operatorID = default(string), string overrideTimestamp = default(string), string entryMethodCode = default(string), string approverName = default(string), string approverFirstName = default(string), string workGroupID = default(string), string workerID = default(string), DateTime? overrideTimestampUTC0 = default(DateTime?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "operatorID" is required (not null) + if (operatorID == null) + { + throw new InvalidDataException("operatorID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride and cannot be null"); + } + else + { + this.OperatorID = operatorID; + } + this.ResourceID = resourceID; + this.OverrideTimestamp = overrideTimestamp; + this.EntryMethodCode = entryMethodCode; + this.ApproverName = approverName; + this.ApproverFirstName = approverFirstName; + this.WorkGroupID = workGroupID; + this.WorkerID = workerID; + this.OverrideTimestampUTC0 = overrideTimestampUTC0; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey Key { get; set; } + + /// + /// A unqiue system assigned identifier for the action to which access may be granted.   + /// + /// A unqiue system assigned identifier for the action to which access may be granted.   + [DataMember(Name="resourceID", EmitDefaultValue=false)] + public string ResourceID { get; set; } + + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="overrideTimestamp", EmitDefaultValue=false)] + public string OverrideTimestamp { get; set; } + + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// The name of the person assigned to the WorkerID that was used to approve this TransactionResourceOverride  + /// + /// The name of the person assigned to the WorkerID that was used to approve this TransactionResourceOverride  + [DataMember(Name="approverName", EmitDefaultValue=false)] + public string ApproverName { get; set; } + + /// + /// The first name of the person assigned to the WorkerID that was used to approve this transaction resource override  + /// + /// The first name of the person assigned to the WorkerID that was used to approve this transaction resource override  + [DataMember(Name="approverFirstName", EmitDefaultValue=false)] + public string ApproverFirstName { get; set; } + + /// + /// A unqiue system assigned identifier for a set of Operators with similar resource access control permissions.  + /// + /// A unqiue system assigned identifier for a set of Operators with similar resource access control permissions.  + [DataMember(Name="workGroupID", EmitDefaultValue=false)] + public string WorkGroupID { get; set; } + + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="overrideTimestampUTC0", EmitDefaultValue=false)] + public DateTime? OverrideTimestampUTC0 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" ResourceID: ").Append(ResourceID).Append("\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" OverrideTimestamp: ").Append(OverrideTimestamp).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" ApproverName: ").Append(ApproverName).Append("\n"); + sb.Append(" ApproverFirstName: ").Append(ApproverFirstName).Append("\n"); + sb.Append(" WorkGroupID: ").Append(WorkGroupID).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" OverrideTimestampUTC0: ").Append(OverrideTimestampUTC0).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.ResourceID == input.ResourceID || + (this.ResourceID != null && + this.ResourceID.Equals(input.ResourceID)) + ) && + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.OverrideTimestamp == input.OverrideTimestamp || + (this.OverrideTimestamp != null && + this.OverrideTimestamp.Equals(input.OverrideTimestamp)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.ApproverName == input.ApproverName || + (this.ApproverName != null && + this.ApproverName.Equals(input.ApproverName)) + ) && + ( + this.ApproverFirstName == input.ApproverFirstName || + (this.ApproverFirstName != null && + this.ApproverFirstName.Equals(input.ApproverFirstName)) + ) && + ( + this.WorkGroupID == input.WorkGroupID || + (this.WorkGroupID != null && + this.WorkGroupID.Equals(input.WorkGroupID)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.OverrideTimestampUTC0 == input.OverrideTimestampUTC0 || + (this.OverrideTimestampUTC0 != null && + this.OverrideTimestampUTC0.Equals(input.OverrideTimestampUTC0)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.ResourceID != null) + hashCode = hashCode * 59 + this.ResourceID.GetHashCode(); + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.OverrideTimestamp != null) + hashCode = hashCode * 59 + this.OverrideTimestamp.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.ApproverName != null) + hashCode = hashCode * 59 + this.ApproverName.GetHashCode(); + if (this.ApproverFirstName != null) + hashCode = hashCode * 59 + this.ApproverFirstName.GetHashCode(); + if (this.WorkGroupID != null) + hashCode = hashCode * 59 + this.WorkGroupID.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.OverrideTimestampUTC0 != null) + hashCode = hashCode * 59 + this.OverrideTimestampUTC0.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..88e9a42c878394d33fd32d57c4fcfe335e9c44b2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionResourceOverride.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// A unique identifier (within the context of the Transaction) for this ResourceOverride.  (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? overrideSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "overrideSequenceNumber" is required (not null) + if (overrideSequenceNumber == null) + { + throw new InvalidDataException("overrideSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey and cannot be null"); + } + else + { + this.OverrideSequenceNumber = overrideSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// A unique identifier (within the context of the Transaction) for this ResourceOverride.  + /// + /// A unique identifier (within the context of the Transaction) for this ResourceOverride.  + [DataMember(Name="overrideSequenceNumber", EmitDefaultValue=false)] + public int? OverrideSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" OverrideSequenceNumber: ").Append(OverrideSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.OverrideSequenceNumber == input.OverrideSequenceNumber || + (this.OverrideSequenceNumber != null && + this.OverrideSequenceNumber.Equals(input.OverrideSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.OverrideSequenceNumber != null) + hashCode = hashCode * 59 + this.OverrideSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionTimer.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionTimer.cs new file mode 100644 index 0000000000000000000000000000000000000000..45d08f45fb4d6668afdad7e1d4f55c740b5eb6ad --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionTimer.cs @@ -0,0 +1,765 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionTimer <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionTimer : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionTimer() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// The ident of the timer. Possible values include:1 ... Registration timer2 ... Payment timer (required). + /// The timestamp that the timer commences. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// The timestamp that the timer commences in UTC0 format. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) (required). + /// The duration of the timer in milliseconds. (required). + /// The source of the timer. Possible values include:00/Null ... Current transaction01 ... Taken over from suspended transaction02 ... Taken over from food order / table movement transaction03 ... Taken over from scale transaction. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoTransactionTimer(ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey key = default(ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey), string timerID = default(string), string startTimestamp = default(string), DateTime? startTimestampUTC0 = default(DateTime?), double? duration = default(double?), string timerOriginTypeCode = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimer and cannot be null"); + } + else + { + this.Key = key; + } + // to ensure "timerID" is required (not null) + if (timerID == null) + { + throw new InvalidDataException("timerID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimer and cannot be null"); + } + else + { + this.TimerID = timerID; + } + // to ensure "startTimestamp" is required (not null) + if (startTimestamp == null) + { + throw new InvalidDataException("startTimestamp is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimer and cannot be null"); + } + else + { + this.StartTimestamp = startTimestamp; + } + // to ensure "startTimestampUTC0" is required (not null) + if (startTimestampUTC0 == null) + { + throw new InvalidDataException("startTimestampUTC0 is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimer and cannot be null"); + } + else + { + this.StartTimestampUTC0 = startTimestampUTC0; + } + // to ensure "duration" is required (not null) + if (duration == null) + { + throw new InvalidDataException("duration is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimer and cannot be null"); + } + else + { + this.Duration = duration; + } + this.TimerOriginTypeCode = timerOriginTypeCode; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey Key { get; set; } + + /// + /// The ident of the timer. Possible values include:1 ... Registration timer2 ... Payment timer + /// + /// The ident of the timer. Possible values include:1 ... Registration timer2 ... Payment timer + [DataMember(Name="timerID", EmitDefaultValue=false)] + public string TimerID { get; set; } + + /// + /// The timestamp that the timer commences. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp that the timer commences. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="startTimestamp", EmitDefaultValue=false)] + public string StartTimestamp { get; set; } + + /// + /// The timestamp that the timer commences in UTC0 format. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The timestamp that the timer commences in UTC0 format. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + [DataMember(Name="startTimestampUTC0", EmitDefaultValue=false)] + public DateTime? StartTimestampUTC0 { get; set; } + + /// + /// The duration of the timer in milliseconds. + /// + /// The duration of the timer in milliseconds. + [DataMember(Name="duration", EmitDefaultValue=false)] + public double? Duration { get; set; } + + /// + /// The source of the timer. Possible values include:00/Null ... Current transaction01 ... Taken over from suspended transaction02 ... Taken over from food order / table movement transaction03 ... Taken over from scale transaction + /// + /// The source of the timer. Possible values include:00/Null ... Current transaction01 ... Taken over from suspended transaction02 ... Taken over from food order / table movement transaction03 ... Taken over from scale transaction + [DataMember(Name="timerOriginTypeCode", EmitDefaultValue=false)] + public string TimerOriginTypeCode { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionTimer {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" TimerID: ").Append(TimerID).Append("\n"); + sb.Append(" StartTimestamp: ").Append(StartTimestamp).Append("\n"); + sb.Append(" StartTimestampUTC0: ").Append(StartTimestampUTC0).Append("\n"); + sb.Append(" Duration: ").Append(Duration).Append("\n"); + sb.Append(" TimerOriginTypeCode: ").Append(TimerOriginTypeCode).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionTimer); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionTimer instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionTimer to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionTimer input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.TimerID == input.TimerID || + (this.TimerID != null && + this.TimerID.Equals(input.TimerID)) + ) && + ( + this.StartTimestamp == input.StartTimestamp || + (this.StartTimestamp != null && + this.StartTimestamp.Equals(input.StartTimestamp)) + ) && + ( + this.StartTimestampUTC0 == input.StartTimestampUTC0 || + (this.StartTimestampUTC0 != null && + this.StartTimestampUTC0.Equals(input.StartTimestampUTC0)) + ) && + ( + this.Duration == input.Duration || + (this.Duration != null && + this.Duration.Equals(input.Duration)) + ) && + ( + this.TimerOriginTypeCode == input.TimerOriginTypeCode || + (this.TimerOriginTypeCode != null && + this.TimerOriginTypeCode.Equals(input.TimerOriginTypeCode)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.TimerID != null) + hashCode = hashCode * 59 + this.TimerID.GetHashCode(); + if (this.StartTimestamp != null) + hashCode = hashCode * 59 + this.StartTimestamp.GetHashCode(); + if (this.StartTimestampUTC0 != null) + hashCode = hashCode * 59 + this.StartTimestampUTC0.GetHashCode(); + if (this.Duration != null) + hashCode = hashCode * 59 + this.Duration.GetHashCode(); + if (this.TimerOriginTypeCode != null) + hashCode = hashCode * 59 + this.TimerOriginTypeCode.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d562d35c1c22bd0be8d777a2a8fc49d254412454 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionTimer.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey() { } + /// + /// Initializes a new instance of the class. + /// + /// The ident of the business unit group. (required). + /// A universally unique identifier for the Transaction. (required). + /// The sequence number of the timer within the context of this transaction. (required). + public ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? timerSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "timerSequenceNumber" is required (not null) + if (timerSequenceNumber == null) + { + throw new InvalidDataException("timerSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey and cannot be null"); + } + else + { + this.TimerSequenceNumber = timerSequenceNumber; + } + } + + /// + /// The ident of the business unit group. + /// + /// The ident of the business unit group. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier for the Transaction. + /// + /// A universally unique identifier for the Transaction. + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of the timer within the context of this transaction. + /// + /// The sequence number of the timer within the context of this transaction. + [DataMember(Name="timerSequenceNumber", EmitDefaultValue=false)] + public int? TimerSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TimerSequenceNumber: ").Append(TimerSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TimerSequenceNumber == input.TimerSequenceNumber || + (this.TimerSequenceNumber != null && + this.TimerSequenceNumber.Equals(input.TimerSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TimerSequenceNumber != null) + hashCode = hashCode * 59 + this.TimerSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..b2e58d494385f9970db3c61662a6417acd57ecf3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem.cs @@ -0,0 +1,291 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// VoidsLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// Link to the sequence number of the voided line item. . + /// A unique retailer defined reason code for the VoidsLineItem.. + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise. . + /// A narrative description describing the uses of the retailer assigned reason code.. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem(ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey), int? voidsLineItemSequenceNumber = default(int?), string reasonCode = default(string), string reasonCodeGroupCode = default(string), string reasonDescription = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem and cannot be null"); + } + else + { + this.Key = key; + } + this.VoidsLineItemSequenceNumber = voidsLineItemSequenceNumber; + this.ReasonCode = reasonCode; + this.ReasonCodeGroupCode = reasonCodeGroupCode; + this.ReasonDescription = reasonDescription; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey Key { get; set; } + + /// + /// Link to the sequence number of the voided line item.  + /// + /// Link to the sequence number of the voided line item.  + [DataMember(Name="voidsLineItemSequenceNumber", EmitDefaultValue=false)] + public int? VoidsLineItemSequenceNumber { get; set; } + + /// + /// A unique retailer defined reason code for the VoidsLineItem. + /// + /// A unique retailer defined reason code for the VoidsLineItem. + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// A narrative description describing the uses of the retailer assigned reason code. + /// + /// A narrative description describing the uses of the retailer assigned reason code. + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" VoidsLineItemSequenceNumber: ").Append(VoidsLineItemSequenceNumber).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.VoidsLineItemSequenceNumber == input.VoidsLineItemSequenceNumber || + (this.VoidsLineItemSequenceNumber != null && + this.VoidsLineItemSequenceNumber.Equals(input.VoidsLineItemSequenceNumber)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.VoidsLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.VoidsLineItemSequenceNumber.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b7c3ee487c7446b5fbd4f92366ff51fbfbc5e668 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// VoidsLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..8f83e8acf70591b6b032c1a92fc819c45d970c4f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem.cs @@ -0,0 +1,274 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkerDiscountLineItem <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Getter for inner key class.</p> (required). + /// A unique system-assigned identifier for the Person who is a particular Worker. . + /// The worker's first name . + /// The worker's last name. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + /// Customizable information. + public ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem(ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey key = default(ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey), string workerID = default(string), string workerFirstName = default(string), string workerLastName = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "key" is required (not null) + if (key == null) + { + throw new InvalidDataException("key is a required property for ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem and cannot be null"); + } + else + { + this.Key = key; + } + this.WorkerID = workerID; + this.WorkerFirstName = workerFirstName; + this.WorkerLastName = workerLastName; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + [DataMember(Name="key", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey Key { get; set; } + + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// The worker's first name  + /// + /// The worker's first name  + [DataMember(Name="workerFirstName", EmitDefaultValue=false)] + public string WorkerFirstName { get; set; } + + /// + /// The worker's last name + /// + /// The worker's last name + [DataMember(Name="workerLastName", EmitDefaultValue=false)] + public string WorkerLastName { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Customizable information + /// + /// Customizable information + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" WorkerFirstName: ").Append(WorkerFirstName).Append("\n"); + sb.Append(" WorkerLastName: ").Append(WorkerLastName).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.WorkerFirstName == input.WorkerFirstName || + (this.WorkerFirstName != null && + this.WorkerFirstName.Equals(input.WorkerFirstName)) + ) && + ( + this.WorkerLastName == input.WorkerLastName || + (this.WorkerLastName != null && + this.WorkerLastName.Equals(input.WorkerLastName)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.WorkerFirstName != null) + hashCode = hashCode * 59 + this.WorkerFirstName.GetHashCode(); + if (this.WorkerLastName != null) + hashCode = hashCode * 59 + this.WorkerLastName.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..45dc3a84447d251c6bbc28d42fb3d9115aa1bfaa --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkerDiscountLineItem.Key Inner class for composite key attributes + /// + [DataContract] + public partial class ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// A unique system assigned identifier for a group of BusinessUnits. (required). + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  (required). + /// The sequence number of line item within the context of this RetailTransaction.  (required). + public ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey); + } + + /// + /// Returns true if ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey instances are equal + /// + /// Instance of ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession.cs new file mode 100644 index 0000000000000000000000000000000000000000..47e3cc5530d7beec26d08ec2a4537a09d535fe3d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PackagePricingSession <p>Session to store context of Package Pricing Engine calculation.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Session identifier for a given package pricing calculation context.<br /></p>. + /// <p>The Package Pricing Context stores all data needed for the processing of package prices.<br /> This attribute can be used during recalculation of a Transaction on an already initialized session.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + /// <p>Customizable information.<br /></p>. + public ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession(string sessionId = default(string), Object context = default(Object), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.SessionId = sessionId; + this.Context = context; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Session identifier for a given package pricing calculation context.<br /></p> + /// + /// <p>Session identifier for a given package pricing calculation context.<br /></p> + [DataMember(Name="sessionId", EmitDefaultValue=false)] + public string SessionId { get; set; } + + /// + /// <p>The Package Pricing Context stores all data needed for the processing of package prices.<br /> This attribute can be used during recalculation of a Transaction on an already initialized session.<br /></p> + /// + /// <p>The Package Pricing Context stores all data needed for the processing of package prices.<br /> This attribute can be used during recalculation of a Transaction on an already initialized session.<br /></p> + [DataMember(Name="context", EmitDefaultValue=false)] + public Object Context { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession {\n"); + sb.Append(" SessionId: ").Append(SessionId).Append("\n"); + sb.Append(" Context: ").Append(Context).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession); + } + + /// + /// Returns true if ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession instances are equal + /// + /// Instance of ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession to be compared + /// Boolean + public bool Equals(ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession input) + { + if (input == null) + return false; + + return + ( + this.SessionId == input.SessionId || + (this.SessionId != null && + this.SessionId.Equals(input.SessionId)) + ) && + ( + this.Context == input.Context || + (this.Context != null && + this.Context.Equals(input.Context)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SessionId != null) + hashCode = hashCode * 59 + this.SessionId.GetHashCode(); + if (this.Context != null) + hashCode = hashCode * 59 + this.Context.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType.cs new file mode 100644 index 0000000000000000000000000000000000000000..e3ab82a83eb9ff9120441e250d53553b27338d9e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidType <p>Entity prepaid type</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Entry ID</p> (required). + /// <p>Item number of the prepaid item</p> (required). + /// <p>Provider code of the prepaid item</p> (required). + /// <p>Resource key of the prepaid receipt</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType(int? smId = default(int?), string itemId = default(string), string providerCode = default(string), string resourceId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "smId" is required (not null) + if (smId == null) + { + throw new InvalidDataException("smId is a required property for ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType and cannot be null"); + } + else + { + this.SmId = smId; + } + // to ensure "itemId" is required (not null) + if (itemId == null) + { + throw new InvalidDataException("itemId is a required property for ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType and cannot be null"); + } + else + { + this.ItemId = itemId; + } + // to ensure "providerCode" is required (not null) + if (providerCode == null) + { + throw new InvalidDataException("providerCode is a required property for ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType and cannot be null"); + } + else + { + this.ProviderCode = providerCode; + } + // to ensure "resourceId" is required (not null) + if (resourceId == null) + { + throw new InvalidDataException("resourceId is a required property for ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType and cannot be null"); + } + else + { + this.ResourceId = resourceId; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Entry ID</p> + /// + /// <p>Entry ID</p> + [DataMember(Name="smId", EmitDefaultValue=false)] + public int? SmId { get; set; } + + /// + /// <p>Item number of the prepaid item</p> + /// + /// <p>Item number of the prepaid item</p> + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// <p>Provider code of the prepaid item</p> + /// + /// <p>Provider code of the prepaid item</p> + [DataMember(Name="providerCode", EmitDefaultValue=false)] + public string ProviderCode { get; set; } + + /// + /// <p>Resource key of the prepaid receipt</p> + /// + /// <p>Resource key of the prepaid receipt</p> + [DataMember(Name="resourceId", EmitDefaultValue=false)] + public string ResourceId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType {\n"); + sb.Append(" SmId: ").Append(SmId).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" ProviderCode: ").Append(ProviderCode).Append("\n"); + sb.Append(" ResourceId: ").Append(ResourceId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType input) + { + if (input == null) + return false; + + return + ( + this.SmId == input.SmId || + (this.SmId != null && + this.SmId.Equals(input.SmId)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.ProviderCode == input.ProviderCode || + (this.ProviderCode != null && + this.ProviderCode.Equals(input.ProviderCode)) + ) && + ( + this.ResourceId == input.ResourceId || + (this.ResourceId != null && + this.ResourceId.Equals(input.ResourceId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SmId != null) + hashCode = hashCode * 59 + this.SmId.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.ProviderCode != null) + hashCode = hashCode * 59 + this.ProviderCode.GetHashCode(); + if (this.ResourceId != null) + hashCode = hashCode * 59 + this.ResourceId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..10405d90034616c7f6bae76c38dd412d3965e962 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig.cs @@ -0,0 +1,930 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EwicPaymentOperationConfig <p>This configuration entity defines eWIC payment related operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines the input amount constraint.</p><br /><pre>value: InputAmountConstraint [TENDER, REQUIRED, OPTIONAL, PROHIBITED, CONFIRM]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Required as '01',</li><br /> <li>Optional as '02',</li><br /> <li>Prohibited as '03',</li><br /> <li>Confirm as '04'</li><br /></ul> + /// + /// <p>This parameter defines the input amount constraint.</p><br /><pre>value: InputAmountConstraint [TENDER, REQUIRED, OPTIONAL, PROHIBITED, CONFIRM]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Required as '01',</li><br /> <li>Optional as '02',</li><br /> <li>Prohibited as '03',</li><br /> <li>Confirm as '04'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum InputAmountConstraintEnum + { + + /// + /// Enum Tender for value: Tender + /// + [EnumMember(Value = "Tender")] + Tender = 1, + + /// + /// Enum Required for value: Required + /// + [EnumMember(Value = "Required")] + Required = 2, + + /// + /// Enum Optional for value: Optional + /// + [EnumMember(Value = "Optional")] + Optional = 3, + + /// + /// Enum Prohibited for value: Prohibited + /// + [EnumMember(Value = "Prohibited")] + Prohibited = 4, + + /// + /// Enum Confirm for value: Confirm + /// + [EnumMember(Value = "Confirm")] + Confirm = 5 + } + + /// + /// <p>This parameter defines the input amount constraint.</p><br /><pre>value: InputAmountConstraint [TENDER, REQUIRED, OPTIONAL, PROHIBITED, CONFIRM]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Required as '01',</li><br /> <li>Optional as '02',</li><br /> <li>Prohibited as '03',</li><br /> <li>Confirm as '04'</li><br /></ul> + /// + /// <p>This parameter defines the input amount constraint.</p><br /><pre>value: InputAmountConstraint [TENDER, REQUIRED, OPTIONAL, PROHIBITED, CONFIRM]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Required as '01',</li><br /> <li>Optional as '02',</li><br /> <li>Prohibited as '03',</li><br /> <li>Confirm as '04'</li><br /></ul> + [DataMember(Name="inputAmountConstraint", EmitDefaultValue=false)] + public InputAmountConstraintEnum InputAmountConstraint { get; set; } + /// + /// <p>This parameter defines the allowed amount type code.</p><br /><pre>value: AllowedAmountTypeCode [TENDER, EXACTLY, EXACTLYANDLESS, EXACTLYANDMORE, ALL]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Exactly as '01',</li><br /> <li>ExactlyAndLess as '02',</li><br /> <li>ExactlyAndMore as '03',</li><br /> <li>All as '04'</li><br /></ul> + /// + /// <p>This parameter defines the allowed amount type code.</p><br /><pre>value: AllowedAmountTypeCode [TENDER, EXACTLY, EXACTLYANDLESS, EXACTLYANDMORE, ALL]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Exactly as '01',</li><br /> <li>ExactlyAndLess as '02',</li><br /> <li>ExactlyAndMore as '03',</li><br /> <li>All as '04'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum AllowedAmountTypeCodeEnum + { + + /// + /// Enum Tender for value: Tender + /// + [EnumMember(Value = "Tender")] + Tender = 1, + + /// + /// Enum Exactly for value: Exactly + /// + [EnumMember(Value = "Exactly")] + Exactly = 2, + + /// + /// Enum ExactlyAndLess for value: ExactlyAndLess + /// + [EnumMember(Value = "ExactlyAndLess")] + ExactlyAndLess = 3, + + /// + /// Enum ExactlyAndMore for value: ExactlyAndMore + /// + [EnumMember(Value = "ExactlyAndMore")] + ExactlyAndMore = 4, + + /// + /// Enum All for value: All + /// + [EnumMember(Value = "All")] + All = 5 + } + + /// + /// <p>This parameter defines the allowed amount type code.</p><br /><pre>value: AllowedAmountTypeCode [TENDER, EXACTLY, EXACTLYANDLESS, EXACTLYANDMORE, ALL]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Exactly as '01',</li><br /> <li>ExactlyAndLess as '02',</li><br /> <li>ExactlyAndMore as '03',</li><br /> <li>All as '04'</li><br /></ul> + /// + /// <p>This parameter defines the allowed amount type code.</p><br /><pre>value: AllowedAmountTypeCode [TENDER, EXACTLY, EXACTLYANDLESS, EXACTLYANDMORE, ALL]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Exactly as '01',</li><br /> <li>ExactlyAndLess as '02',</li><br /> <li>ExactlyAndMore as '03',</li><br /> <li>All as '04'</li><br /></ul> + [DataMember(Name="allowedAmountTypeCode", EmitDefaultValue=false)] + public AllowedAmountTypeCodeEnum AllowedAmountTypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the payment amount which is used by the function (in the case of fixed amounts which are assigned to keys).</p>. + /// <p>This parameter specifies whether the operator should be asked to enter the amount (in an additional view).<br /> It is only taken into account if the amount input for the tender is 'optional' or 'required'.</p><br /><pre>values: 01, 02<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Required 01' or</li><br /> <li>InputAmountConstraint = 'Optional 02'</li><br /></ul> (required). + /// <p>This parameter defines the assignment to a particular tender in the master data.</p> (required). + /// <p>This parameter defines the code of the currency which is used. It overrides the currency selection.</p>. + /// <p>This parameter specifies whether the payment amount must be confirmed for partial payments. It is only taken into account if the amount input for the tender must be confirmed.</p><br /><pre>value: 04<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Confirm 04'</li><br /></ul> (required). + /// <p>This parameter defines the input amount constraint.</p><br /><pre>value: InputAmountConstraint [TENDER, REQUIRED, OPTIONAL, PROHIBITED, CONFIRM]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Required as '01',</li><br /> <li>Optional as '02',</li><br /> <li>Prohibited as '03',</li><br /> <li>Confirm as '04'</li><br /></ul> (required). + /// <p>This parameter defines the allowed amount type code.</p><br /><pre>value: AllowedAmountTypeCode [TENDER, EXACTLY, EXACTLYANDLESS, EXACTLYANDMORE, ALL]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Exactly as '01',</li><br /> <li>ExactlyAndLess as '02',</li><br /> <li>ExactlyAndMore as '03',</li><br /> <li>All as '04'</li><br /></ul> (required). + /// <p>This parameter specifies whether the eWIC functionality is active for the store.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the store takes 'WIC Online EBT Cards', 'WIC Smart Cards', or both.</p><br /><pre>values: 1, 2, 3<br /></pre> (required). + /// <p>This parameter specifies the telephone number to call for offline authorizations to State Agency.</p> (required). + /// <p>This parameter specifies the number of items that may be split among a regular subcategory and a broad band subcategory in a transaction.</p> (required). + /// <p>This parameter specifies the number of items that may be split tendered between an eWIC tender and a customer provided tender in a transaction.</p> (required). + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Online EBT Card is used.</p> (required). + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Smart Card is used.</p> (required). + /// <p>This parameter specifies the eWIC Merchant Identification.</p> (required). + /// <p>This parameter specifies the straddle subcategory identification.</p> (required). + /// <p>This parameter specifies the cash sign for CVB. The Cash Value Benefit (CVB) provides a cash amount of benefits instead of an UOM Code.</p> (required). + /// <p>This parameter specifies whether the confirm dialog to confirm the cancellation of the eWIC payment should be displayed or not.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This config defines the dialog for eWIC items limit exceeded action.</p> (required). + /// <p>This parameter specifies the list of allowed tenders before eWIC payment. If there is not restriction for previous tender the value should be null.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig(double? amount = default(double?), bool? askForAmount = default(bool?), string tenderClassCode = default(string), string currencyCode = default(string), bool? confirmPartialPayment = default(bool?), InputAmountConstraintEnum inputAmountConstraint = default(InputAmountConstraintEnum), AllowedAmountTypeCodeEnum allowedAmountTypeCode = default(AllowedAmountTypeCodeEnum), bool? ewicStore = default(bool?), int? ewicType = default(int?), string ewicPhone = default(string), int? ewicStraddled = default(int?), int? ewicSplit = default(int?), int? ewicMaxOnline = default(int?), int? ewicMaxSmart = default(int?), string ewicMerchantID = default(string), string straddleSubcategory = default(string), string cvbUomCode = default(string), bool? confirmCancelEwicPayment = default(bool?), ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig limitExceededConfirmDialogConfig = default(ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig), List previousTenderAllowed = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "askForAmount" is required (not null) + if (askForAmount == null) + { + throw new InvalidDataException("askForAmount is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.AskForAmount = askForAmount; + } + // to ensure "tenderClassCode" is required (not null) + if (tenderClassCode == null) + { + throw new InvalidDataException("tenderClassCode is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.TenderClassCode = tenderClassCode; + } + // to ensure "confirmPartialPayment" is required (not null) + if (confirmPartialPayment == null) + { + throw new InvalidDataException("confirmPartialPayment is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.ConfirmPartialPayment = confirmPartialPayment; + } + // to ensure "inputAmountConstraint" is required (not null) + if (inputAmountConstraint == null) + { + throw new InvalidDataException("inputAmountConstraint is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.InputAmountConstraint = inputAmountConstraint; + } + // to ensure "allowedAmountTypeCode" is required (not null) + if (allowedAmountTypeCode == null) + { + throw new InvalidDataException("allowedAmountTypeCode is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.AllowedAmountTypeCode = allowedAmountTypeCode; + } + // to ensure "ewicStore" is required (not null) + if (ewicStore == null) + { + throw new InvalidDataException("ewicStore is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicStore = ewicStore; + } + // to ensure "ewicType" is required (not null) + if (ewicType == null) + { + throw new InvalidDataException("ewicType is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicType = ewicType; + } + // to ensure "ewicPhone" is required (not null) + if (ewicPhone == null) + { + throw new InvalidDataException("ewicPhone is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicPhone = ewicPhone; + } + // to ensure "ewicStraddled" is required (not null) + if (ewicStraddled == null) + { + throw new InvalidDataException("ewicStraddled is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicStraddled = ewicStraddled; + } + // to ensure "ewicSplit" is required (not null) + if (ewicSplit == null) + { + throw new InvalidDataException("ewicSplit is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicSplit = ewicSplit; + } + // to ensure "ewicMaxOnline" is required (not null) + if (ewicMaxOnline == null) + { + throw new InvalidDataException("ewicMaxOnline is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicMaxOnline = ewicMaxOnline; + } + // to ensure "ewicMaxSmart" is required (not null) + if (ewicMaxSmart == null) + { + throw new InvalidDataException("ewicMaxSmart is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicMaxSmart = ewicMaxSmart; + } + // to ensure "ewicMerchantID" is required (not null) + if (ewicMerchantID == null) + { + throw new InvalidDataException("ewicMerchantID is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.EwicMerchantID = ewicMerchantID; + } + // to ensure "straddleSubcategory" is required (not null) + if (straddleSubcategory == null) + { + throw new InvalidDataException("straddleSubcategory is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.StraddleSubcategory = straddleSubcategory; + } + // to ensure "cvbUomCode" is required (not null) + if (cvbUomCode == null) + { + throw new InvalidDataException("cvbUomCode is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.CvbUomCode = cvbUomCode; + } + // to ensure "confirmCancelEwicPayment" is required (not null) + if (confirmCancelEwicPayment == null) + { + throw new InvalidDataException("confirmCancelEwicPayment is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.ConfirmCancelEwicPayment = confirmCancelEwicPayment; + } + // to ensure "limitExceededConfirmDialogConfig" is required (not null) + if (limitExceededConfirmDialogConfig == null) + { + throw new InvalidDataException("limitExceededConfirmDialogConfig is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.LimitExceededConfirmDialogConfig = limitExceededConfirmDialogConfig; + } + // to ensure "previousTenderAllowed" is required (not null) + if (previousTenderAllowed == null) + { + throw new InvalidDataException("previousTenderAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig and cannot be null"); + } + else + { + this.PreviousTenderAllowed = previousTenderAllowed; + } + this.Amount = amount; + this.CurrencyCode = currencyCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the payment amount which is used by the function (in the case of fixed amounts which are assigned to keys).</p> + /// + /// <p>This parameter defines the payment amount which is used by the function (in the case of fixed amounts which are assigned to keys).</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>This parameter specifies whether the operator should be asked to enter the amount (in an additional view).<br /> It is only taken into account if the amount input for the tender is 'optional' or 'required'.</p><br /><pre>values: 01, 02<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Required 01' or</li><br /> <li>InputAmountConstraint = 'Optional 02'</li><br /></ul> + /// + /// <p>This parameter specifies whether the operator should be asked to enter the amount (in an additional view).<br /> It is only taken into account if the amount input for the tender is 'optional' or 'required'.</p><br /><pre>values: 01, 02<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Required 01' or</li><br /> <li>InputAmountConstraint = 'Optional 02'</li><br /></ul> + [DataMember(Name="askForAmount", EmitDefaultValue=false)] + public bool? AskForAmount { get; set; } + + /// + /// <p>This parameter defines the assignment to a particular tender in the master data.</p> + /// + /// <p>This parameter defines the assignment to a particular tender in the master data.</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>This parameter defines the code of the currency which is used. It overrides the currency selection.</p> + /// + /// <p>This parameter defines the code of the currency which is used. It overrides the currency selection.</p> + [DataMember(Name="currencyCode", EmitDefaultValue=false)] + public string CurrencyCode { get; set; } + + /// + /// <p>This parameter specifies whether the payment amount must be confirmed for partial payments. It is only taken into account if the amount input for the tender must be confirmed.</p><br /><pre>value: 04<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Confirm 04'</li><br /></ul> + /// + /// <p>This parameter specifies whether the payment amount must be confirmed for partial payments. It is only taken into account if the amount input for the tender must be confirmed.</p><br /><pre>value: 04<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Confirm 04'</li><br /></ul> + [DataMember(Name="confirmPartialPayment", EmitDefaultValue=false)] + public bool? ConfirmPartialPayment { get; set; } + + + + /// + /// <p>This parameter specifies whether the eWIC functionality is active for the store.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the eWIC functionality is active for the store.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="ewicStore", EmitDefaultValue=false)] + public bool? EwicStore { get; set; } + + /// + /// <p>This parameter specifies whether the store takes 'WIC Online EBT Cards', 'WIC Smart Cards', or both.</p><br /><pre>values: 1, 2, 3<br /></pre> + /// + /// <p>This parameter specifies whether the store takes 'WIC Online EBT Cards', 'WIC Smart Cards', or both.</p><br /><pre>values: 1, 2, 3<br /></pre> + [DataMember(Name="ewicType", EmitDefaultValue=false)] + public int? EwicType { get; set; } + + /// + /// <p>This parameter specifies the telephone number to call for offline authorizations to State Agency.</p> + /// + /// <p>This parameter specifies the telephone number to call for offline authorizations to State Agency.</p> + [DataMember(Name="ewicPhone", EmitDefaultValue=false)] + public string EwicPhone { get; set; } + + /// + /// <p>This parameter specifies the number of items that may be split among a regular subcategory and a broad band subcategory in a transaction.</p> + /// + /// <p>This parameter specifies the number of items that may be split among a regular subcategory and a broad band subcategory in a transaction.</p> + [DataMember(Name="ewicStraddled", EmitDefaultValue=false)] + public int? EwicStraddled { get; set; } + + /// + /// <p>This parameter specifies the number of items that may be split tendered between an eWIC tender and a customer provided tender in a transaction.</p> + /// + /// <p>This parameter specifies the number of items that may be split tendered between an eWIC tender and a customer provided tender in a transaction.</p> + [DataMember(Name="ewicSplit", EmitDefaultValue=false)] + public int? EwicSplit { get; set; } + + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Online EBT Card is used.</p> + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Online EBT Card is used.</p> + [DataMember(Name="ewicMaxOnline", EmitDefaultValue=false)] + public int? EwicMaxOnline { get; set; } + + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Smart Card is used.</p> + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Smart Card is used.</p> + [DataMember(Name="ewicMaxSmart", EmitDefaultValue=false)] + public int? EwicMaxSmart { get; set; } + + /// + /// <p>This parameter specifies the eWIC Merchant Identification.</p> + /// + /// <p>This parameter specifies the eWIC Merchant Identification.</p> + [DataMember(Name="ewicMerchantID", EmitDefaultValue=false)] + public string EwicMerchantID { get; set; } + + /// + /// <p>This parameter specifies the straddle subcategory identification.</p> + /// + /// <p>This parameter specifies the straddle subcategory identification.</p> + [DataMember(Name="straddleSubcategory", EmitDefaultValue=false)] + public string StraddleSubcategory { get; set; } + + /// + /// <p>This parameter specifies the cash sign for CVB. The Cash Value Benefit (CVB) provides a cash amount of benefits instead of an UOM Code.</p> + /// + /// <p>This parameter specifies the cash sign for CVB. The Cash Value Benefit (CVB) provides a cash amount of benefits instead of an UOM Code.</p> + [DataMember(Name="cvbUomCode", EmitDefaultValue=false)] + public string CvbUomCode { get; set; } + + /// + /// <p>This parameter specifies whether the confirm dialog to confirm the cancellation of the eWIC payment should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the confirm dialog to confirm the cancellation of the eWIC payment should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="confirmCancelEwicPayment", EmitDefaultValue=false)] + public bool? ConfirmCancelEwicPayment { get; set; } + + /// + /// <p>This config defines the dialog for eWIC items limit exceeded action.</p> + /// + /// <p>This config defines the dialog for eWIC items limit exceeded action.</p> + [DataMember(Name="limitExceededConfirmDialogConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig LimitExceededConfirmDialogConfig { get; set; } + + /// + /// <p>This parameter specifies the list of allowed tenders before eWIC payment. If there is not restriction for previous tender the value should be null.</p> + /// + /// <p>This parameter specifies the list of allowed tenders before eWIC payment. If there is not restriction for previous tender the value should be null.</p> + [DataMember(Name="previousTenderAllowed", EmitDefaultValue=false)] + public List PreviousTenderAllowed { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" AskForAmount: ").Append(AskForAmount).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" CurrencyCode: ").Append(CurrencyCode).Append("\n"); + sb.Append(" ConfirmPartialPayment: ").Append(ConfirmPartialPayment).Append("\n"); + sb.Append(" InputAmountConstraint: ").Append(InputAmountConstraint).Append("\n"); + sb.Append(" AllowedAmountTypeCode: ").Append(AllowedAmountTypeCode).Append("\n"); + sb.Append(" EwicStore: ").Append(EwicStore).Append("\n"); + sb.Append(" EwicType: ").Append(EwicType).Append("\n"); + sb.Append(" EwicPhone: ").Append(EwicPhone).Append("\n"); + sb.Append(" EwicStraddled: ").Append(EwicStraddled).Append("\n"); + sb.Append(" EwicSplit: ").Append(EwicSplit).Append("\n"); + sb.Append(" EwicMaxOnline: ").Append(EwicMaxOnline).Append("\n"); + sb.Append(" EwicMaxSmart: ").Append(EwicMaxSmart).Append("\n"); + sb.Append(" EwicMerchantID: ").Append(EwicMerchantID).Append("\n"); + sb.Append(" StraddleSubcategory: ").Append(StraddleSubcategory).Append("\n"); + sb.Append(" CvbUomCode: ").Append(CvbUomCode).Append("\n"); + sb.Append(" ConfirmCancelEwicPayment: ").Append(ConfirmCancelEwicPayment).Append("\n"); + sb.Append(" LimitExceededConfirmDialogConfig: ").Append(LimitExceededConfirmDialogConfig).Append("\n"); + sb.Append(" PreviousTenderAllowed: ").Append(PreviousTenderAllowed).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig input) + { + if (input == null) + return false; + + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.AskForAmount == input.AskForAmount || + (this.AskForAmount != null && + this.AskForAmount.Equals(input.AskForAmount)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.CurrencyCode == input.CurrencyCode || + (this.CurrencyCode != null && + this.CurrencyCode.Equals(input.CurrencyCode)) + ) && + ( + this.ConfirmPartialPayment == input.ConfirmPartialPayment || + (this.ConfirmPartialPayment != null && + this.ConfirmPartialPayment.Equals(input.ConfirmPartialPayment)) + ) && + ( + this.InputAmountConstraint == input.InputAmountConstraint || + (this.InputAmountConstraint != null && + this.InputAmountConstraint.Equals(input.InputAmountConstraint)) + ) && + ( + this.AllowedAmountTypeCode == input.AllowedAmountTypeCode || + (this.AllowedAmountTypeCode != null && + this.AllowedAmountTypeCode.Equals(input.AllowedAmountTypeCode)) + ) && + ( + this.EwicStore == input.EwicStore || + (this.EwicStore != null && + this.EwicStore.Equals(input.EwicStore)) + ) && + ( + this.EwicType == input.EwicType || + (this.EwicType != null && + this.EwicType.Equals(input.EwicType)) + ) && + ( + this.EwicPhone == input.EwicPhone || + (this.EwicPhone != null && + this.EwicPhone.Equals(input.EwicPhone)) + ) && + ( + this.EwicStraddled == input.EwicStraddled || + (this.EwicStraddled != null && + this.EwicStraddled.Equals(input.EwicStraddled)) + ) && + ( + this.EwicSplit == input.EwicSplit || + (this.EwicSplit != null && + this.EwicSplit.Equals(input.EwicSplit)) + ) && + ( + this.EwicMaxOnline == input.EwicMaxOnline || + (this.EwicMaxOnline != null && + this.EwicMaxOnline.Equals(input.EwicMaxOnline)) + ) && + ( + this.EwicMaxSmart == input.EwicMaxSmart || + (this.EwicMaxSmart != null && + this.EwicMaxSmart.Equals(input.EwicMaxSmart)) + ) && + ( + this.EwicMerchantID == input.EwicMerchantID || + (this.EwicMerchantID != null && + this.EwicMerchantID.Equals(input.EwicMerchantID)) + ) && + ( + this.StraddleSubcategory == input.StraddleSubcategory || + (this.StraddleSubcategory != null && + this.StraddleSubcategory.Equals(input.StraddleSubcategory)) + ) && + ( + this.CvbUomCode == input.CvbUomCode || + (this.CvbUomCode != null && + this.CvbUomCode.Equals(input.CvbUomCode)) + ) && + ( + this.ConfirmCancelEwicPayment == input.ConfirmCancelEwicPayment || + (this.ConfirmCancelEwicPayment != null && + this.ConfirmCancelEwicPayment.Equals(input.ConfirmCancelEwicPayment)) + ) && + ( + this.LimitExceededConfirmDialogConfig == input.LimitExceededConfirmDialogConfig || + (this.LimitExceededConfirmDialogConfig != null && + this.LimitExceededConfirmDialogConfig.Equals(input.LimitExceededConfirmDialogConfig)) + ) && + ( + this.PreviousTenderAllowed == input.PreviousTenderAllowed || + this.PreviousTenderAllowed != null && + this.PreviousTenderAllowed.SequenceEqual(input.PreviousTenderAllowed) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.AskForAmount != null) + hashCode = hashCode * 59 + this.AskForAmount.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.CurrencyCode != null) + hashCode = hashCode * 59 + this.CurrencyCode.GetHashCode(); + if (this.ConfirmPartialPayment != null) + hashCode = hashCode * 59 + this.ConfirmPartialPayment.GetHashCode(); + if (this.InputAmountConstraint != null) + hashCode = hashCode * 59 + this.InputAmountConstraint.GetHashCode(); + if (this.AllowedAmountTypeCode != null) + hashCode = hashCode * 59 + this.AllowedAmountTypeCode.GetHashCode(); + if (this.EwicStore != null) + hashCode = hashCode * 59 + this.EwicStore.GetHashCode(); + if (this.EwicType != null) + hashCode = hashCode * 59 + this.EwicType.GetHashCode(); + if (this.EwicPhone != null) + hashCode = hashCode * 59 + this.EwicPhone.GetHashCode(); + if (this.EwicStraddled != null) + hashCode = hashCode * 59 + this.EwicStraddled.GetHashCode(); + if (this.EwicSplit != null) + hashCode = hashCode * 59 + this.EwicSplit.GetHashCode(); + if (this.EwicMaxOnline != null) + hashCode = hashCode * 59 + this.EwicMaxOnline.GetHashCode(); + if (this.EwicMaxSmart != null) + hashCode = hashCode * 59 + this.EwicMaxSmart.GetHashCode(); + if (this.EwicMerchantID != null) + hashCode = hashCode * 59 + this.EwicMerchantID.GetHashCode(); + if (this.StraddleSubcategory != null) + hashCode = hashCode * 59 + this.StraddleSubcategory.GetHashCode(); + if (this.CvbUomCode != null) + hashCode = hashCode * 59 + this.CvbUomCode.GetHashCode(); + if (this.ConfirmCancelEwicPayment != null) + hashCode = hashCode * 59 + this.ConfirmCancelEwicPayment.GetHashCode(); + if (this.LimitExceededConfirmDialogConfig != null) + hashCode = hashCode * 59 + this.LimitExceededConfirmDialogConfig.GetHashCode(); + if (this.PreviousTenderAllowed != null) + hashCode = hashCode * 59 + this.PreviousTenderAllowed.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..66fbafbb901a6d695002cfcf352ad90f4811f7d8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig.cs @@ -0,0 +1,1288 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PositionOperationConfig <p>This configuration entity defines position related operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines the price difference limit exceed action for positive items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the price difference limit exceed action for positive items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceDifferenceLimitExceedActionEnum + { + + /// + /// Enum Warn for value: Warn + /// + [EnumMember(Value = "Warn")] + Warn = 1, + + /// + /// Enum Authorize for value: Authorize + /// + [EnumMember(Value = "Authorize")] + Authorize = 2, + + /// + /// Enum Forbid for value: Forbid + /// + [EnumMember(Value = "Forbid")] + Forbid = 3, + + /// + /// Enum Unchecked for value: Unchecked + /// + [EnumMember(Value = "Unchecked")] + Unchecked = 4 + } + + /// + /// <p>This parameter defines the price difference limit exceed action for positive items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the price difference limit exceed action for positive items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [DataMember(Name="priceDifferenceLimitExceedAction", EmitDefaultValue=false)] + public PriceDifferenceLimitExceedActionEnum PriceDifferenceLimitExceedAction { get; set; } + /// + /// <p>This parameter defines the price difference limit exceed action for negative items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the price difference limit exceed action for negative items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceNegDifferenceLimitExceedActionEnum + { + + /// + /// Enum Warn for value: Warn + /// + [EnumMember(Value = "Warn")] + Warn = 1, + + /// + /// Enum Authorize for value: Authorize + /// + [EnumMember(Value = "Authorize")] + Authorize = 2, + + /// + /// Enum Forbid for value: Forbid + /// + [EnumMember(Value = "Forbid")] + Forbid = 3, + + /// + /// Enum Unchecked for value: Unchecked + /// + [EnumMember(Value = "Unchecked")] + Unchecked = 4 + } + + /// + /// <p>This parameter defines the price difference limit exceed action for negative items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the price difference limit exceed action for negative items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [DataMember(Name="priceNegDifferenceLimitExceedAction", EmitDefaultValue=false)] + public PriceNegDifferenceLimitExceedActionEnum PriceNegDifferenceLimitExceedAction { get; set; } + /// + /// <p>This parameter defines the close current position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + /// + /// <p>This parameter defines the close current position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum CloseCurrentEnum + { + + /// + /// Enum Required for value: Required + /// + [EnumMember(Value = "Required")] + Required = 1, + + /// + /// Enum IfPossible for value: IfPossible + /// + [EnumMember(Value = "IfPossible")] + IfPossible = 2, + + /// + /// Enum Disabled for value: Disabled + /// + [EnumMember(Value = "Disabled")] + Disabled = 3 + } + + /// + /// <p>This parameter defines the close current position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + /// + /// <p>This parameter defines the close current position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + [DataMember(Name="closeCurrent", EmitDefaultValue=false)] + public CloseCurrentEnum CloseCurrent { get; set; } + /// + /// <p>This parameter defines the close previous position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + /// + /// <p>This parameter defines the close previous position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum ClosePreviousEnum + { + + /// + /// Enum Required for value: Required + /// + [EnumMember(Value = "Required")] + Required = 1, + + /// + /// Enum IfPossible for value: IfPossible + /// + [EnumMember(Value = "IfPossible")] + IfPossible = 2, + + /// + /// Enum Disabled for value: Disabled + /// + [EnumMember(Value = "Disabled")] + Disabled = 3 + } + + /// + /// <p>This parameter defines the close previous position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + /// + /// <p>This parameter defines the close previous position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + [DataMember(Name="closePrevious", EmitDefaultValue=false)] + public ClosePreviousEnum ClosePrevious { get; set; } + /// + /// <p>This parameter indicates the input order for quantities.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + /// + /// <p>This parameter indicates the input order for quantities.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum QuantityInputOrderEnum + { + + /// + /// Enum BeforeOrAfter for value: BeforeOrAfter + /// + [EnumMember(Value = "BeforeOrAfter")] + BeforeOrAfter = 1, + + /// + /// Enum Before for value: Before + /// + [EnumMember(Value = "Before")] + Before = 2, + + /// + /// Enum After for value: After + /// + [EnumMember(Value = "After")] + After = 3 + } + + /// + /// <p>This parameter indicates the input order for quantities.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + /// + /// <p>This parameter indicates the input order for quantities.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + [DataMember(Name="quantityInputOrder", EmitDefaultValue=false)] + public QuantityInputOrderEnum QuantityInputOrder { get; set; } + /// + /// <p>This parameter indicates the input order for prices.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + /// + /// <p>This parameter indicates the input order for prices.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceInputOrderEnum + { + + /// + /// Enum BeforeOrAfter for value: BeforeOrAfter + /// + [EnumMember(Value = "BeforeOrAfter")] + BeforeOrAfter = 1, + + /// + /// Enum Before for value: Before + /// + [EnumMember(Value = "Before")] + Before = 2, + + /// + /// Enum After for value: After + /// + [EnumMember(Value = "After")] + After = 3 + } + + /// + /// <p>This parameter indicates the input order for prices.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + /// + /// <p>This parameter indicates the input order for prices.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + [DataMember(Name="priceInputOrder", EmitDefaultValue=false)] + public PriceInputOrderEnum PriceInputOrder { get; set; } + /// + /// <p>This parameter defines the quantity limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the quantity limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum QuantityLimitExceedActionEnum + { + + /// + /// Enum Warn for value: Warn + /// + [EnumMember(Value = "Warn")] + Warn = 1, + + /// + /// Enum Authorize for value: Authorize + /// + [EnumMember(Value = "Authorize")] + Authorize = 2, + + /// + /// Enum Forbid for value: Forbid + /// + [EnumMember(Value = "Forbid")] + Forbid = 3, + + /// + /// Enum Unchecked for value: Unchecked + /// + [EnumMember(Value = "Unchecked")] + Unchecked = 4 + } + + /// + /// <p>This parameter defines the quantity limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the quantity limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [DataMember(Name="quantityLimitExceedAction", EmitDefaultValue=false)] + public QuantityLimitExceedActionEnum QuantityLimitExceedAction { get; set; } + /// + /// <p>This parameter defines the amount limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the amount limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum AmountLimitExceedActionEnum + { + + /// + /// Enum Warn for value: Warn + /// + [EnumMember(Value = "Warn")] + Warn = 1, + + /// + /// Enum Authorize for value: Authorize + /// + [EnumMember(Value = "Authorize")] + Authorize = 2, + + /// + /// Enum Forbid for value: Forbid + /// + [EnumMember(Value = "Forbid")] + Forbid = 3, + + /// + /// Enum Unchecked for value: Unchecked + /// + [EnumMember(Value = "Unchecked")] + Unchecked = 4 + } + + /// + /// <p>This parameter defines the amount limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the amount limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + [DataMember(Name="amountLimitExceedAction", EmitDefaultValue=false)] + public AmountLimitExceedActionEnum AmountLimitExceedAction { get; set; } + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of sales line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of sales line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceDeviationTypeEnum + { + + /// + /// Enum All for value: All + /// + [EnumMember(Value = "All")] + All = 1, + + /// + /// Enum EqualOrLess for value: EqualOrLess + /// + [EnumMember(Value = "EqualOrLess")] + EqualOrLess = 2, + + /// + /// Enum EqualOrGreater for value: EqualOrGreater + /// + [EnumMember(Value = "EqualOrGreater")] + EqualOrGreater = 3 + } + + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of sales line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of sales line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + [DataMember(Name="priceDeviationType", EmitDefaultValue=false)] + public PriceDeviationTypeEnum PriceDeviationType { get; set; } + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of return line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of return line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceNegDeviationTypeEnum + { + + /// + /// Enum All for value: All + /// + [EnumMember(Value = "All")] + All = 1, + + /// + /// Enum EqualOrLess for value: EqualOrLess + /// + [EnumMember(Value = "EqualOrLess")] + EqualOrLess = 2, + + /// + /// Enum EqualOrGreater for value: EqualOrGreater + /// + [EnumMember(Value = "EqualOrGreater")] + EqualOrGreater = 3 + } + + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of return line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of return line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + [DataMember(Name="priceNegDeviationType", EmitDefaultValue=false)] + public PriceNegDeviationTypeEnum PriceNegDeviationType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter indicates whether the quantity input for each item is forced.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter defines the price position limit. Default set to 100,000.00. -1 means disabled.</p> (required). + /// <p>This parameter defines whether positions with zero price are allowed.</p> (required). + /// <p>This parameter defines the price transaction limit. Default set to 100,000.00. -1 means disabled.<br /> @deprecated since 5.20.0 - is not longer used.</p> (required). + /// <p>This parameter defines the price difference limit in percent.</p> (required). + /// <p>This parameter defines the price difference limit as an absolute value.</p> (required). + /// <p>This parameter defines the price difference limit exceed action for positive items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> (required). + /// <p>This parameter defines the price difference limit exceed action for negative items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> (required). + /// <p>This parameter defines the close current position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> (required). + /// <p>This parameter defines the close previous position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> (required). + /// <p>This parameter indicates whether results can be filtered.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter indicates whether the single quantity for a weight item is allowed. It has the flag 'ALLOWED_WITH_WEIGHT'.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter indicates whether the single quantity for a length item is allowed. It has the flag 'ALLOWED_WITH_LENGTH'.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter indicates whether the single quantity for an area item is allowed. It has the flag 'ALLOWED_WITH_AREA'.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter indicates whether the single quantity for a volume item is allowed. It has the flag 'ALLOWED_WITH_VOLUME'.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter indicates whether the single quantity for a measure item is allowed. It has the flag 'ALLOWED_WITH_MEASURE'.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter defines the maximum single quantity.</p> (required). + /// <p>This parameter defines the minimum single quantity.</p>. + /// <p>This parameter indicates the input order for quantities.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> (required). + /// <p>This parameter indicates the input order for prices.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> (required). + /// <p>This parameter defines the quantity limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> (required). + /// <p>This parameter defines the amount limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> (required). + /// <p>This parameter defines the multiplication factor for weight quantities.</p>. + /// <p>This parameter defines the multiplication factor for dimensions quantities.</p>. + /// <p>This parameter defines the deviation with respect to the previously valid price in case of sales line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> (required). + /// <p>This parameter defines the deviation with respect to the previously valid price in case of return line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig(bool? forceQuantityInput = default(bool?), double? pricePositionLimit = default(double?), bool? pricePositionZeroAllowed = default(bool?), double? priceTransactionLimit = default(double?), double? priceDifferencePercentPositionLimit = default(double?), double? priceDifferenceAbsolutePositionLimit = default(double?), PriceDifferenceLimitExceedActionEnum priceDifferenceLimitExceedAction = default(PriceDifferenceLimitExceedActionEnum), PriceNegDifferenceLimitExceedActionEnum priceNegDifferenceLimitExceedAction = default(PriceNegDifferenceLimitExceedActionEnum), CloseCurrentEnum closeCurrent = default(CloseCurrentEnum), ClosePreviousEnum closePrevious = default(ClosePreviousEnum), bool? filterResult = default(bool?), bool? allowedWithWeight = default(bool?), bool? allowedWithLength = default(bool?), bool? allowedWithArea = default(bool?), bool? allowedWithVolume = default(bool?), bool? allowedWithMeasure = default(bool?), int? maximumQuantity = default(int?), int? minimumQuantity = default(int?), QuantityInputOrderEnum quantityInputOrder = default(QuantityInputOrderEnum), PriceInputOrderEnum priceInputOrder = default(PriceInputOrderEnum), QuantityLimitExceedActionEnum quantityLimitExceedAction = default(QuantityLimitExceedActionEnum), AmountLimitExceedActionEnum amountLimitExceedAction = default(AmountLimitExceedActionEnum), double? weightUnitFactor = default(double?), double? measureUnitFactor = default(double?), PriceDeviationTypeEnum priceDeviationType = default(PriceDeviationTypeEnum), PriceNegDeviationTypeEnum priceNegDeviationType = default(PriceNegDeviationTypeEnum), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "forceQuantityInput" is required (not null) + if (forceQuantityInput == null) + { + throw new InvalidDataException("forceQuantityInput is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.ForceQuantityInput = forceQuantityInput; + } + // to ensure "pricePositionLimit" is required (not null) + if (pricePositionLimit == null) + { + throw new InvalidDataException("pricePositionLimit is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PricePositionLimit = pricePositionLimit; + } + // to ensure "pricePositionZeroAllowed" is required (not null) + if (pricePositionZeroAllowed == null) + { + throw new InvalidDataException("pricePositionZeroAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PricePositionZeroAllowed = pricePositionZeroAllowed; + } + // to ensure "priceTransactionLimit" is required (not null) + if (priceTransactionLimit == null) + { + throw new InvalidDataException("priceTransactionLimit is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceTransactionLimit = priceTransactionLimit; + } + // to ensure "priceDifferencePercentPositionLimit" is required (not null) + if (priceDifferencePercentPositionLimit == null) + { + throw new InvalidDataException("priceDifferencePercentPositionLimit is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceDifferencePercentPositionLimit = priceDifferencePercentPositionLimit; + } + // to ensure "priceDifferenceAbsolutePositionLimit" is required (not null) + if (priceDifferenceAbsolutePositionLimit == null) + { + throw new InvalidDataException("priceDifferenceAbsolutePositionLimit is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceDifferenceAbsolutePositionLimit = priceDifferenceAbsolutePositionLimit; + } + // to ensure "priceDifferenceLimitExceedAction" is required (not null) + if (priceDifferenceLimitExceedAction == null) + { + throw new InvalidDataException("priceDifferenceLimitExceedAction is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceDifferenceLimitExceedAction = priceDifferenceLimitExceedAction; + } + // to ensure "priceNegDifferenceLimitExceedAction" is required (not null) + if (priceNegDifferenceLimitExceedAction == null) + { + throw new InvalidDataException("priceNegDifferenceLimitExceedAction is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceNegDifferenceLimitExceedAction = priceNegDifferenceLimitExceedAction; + } + // to ensure "closeCurrent" is required (not null) + if (closeCurrent == null) + { + throw new InvalidDataException("closeCurrent is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.CloseCurrent = closeCurrent; + } + // to ensure "closePrevious" is required (not null) + if (closePrevious == null) + { + throw new InvalidDataException("closePrevious is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.ClosePrevious = closePrevious; + } + // to ensure "filterResult" is required (not null) + if (filterResult == null) + { + throw new InvalidDataException("filterResult is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.FilterResult = filterResult; + } + // to ensure "allowedWithWeight" is required (not null) + if (allowedWithWeight == null) + { + throw new InvalidDataException("allowedWithWeight is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.AllowedWithWeight = allowedWithWeight; + } + // to ensure "allowedWithLength" is required (not null) + if (allowedWithLength == null) + { + throw new InvalidDataException("allowedWithLength is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.AllowedWithLength = allowedWithLength; + } + // to ensure "allowedWithArea" is required (not null) + if (allowedWithArea == null) + { + throw new InvalidDataException("allowedWithArea is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.AllowedWithArea = allowedWithArea; + } + // to ensure "allowedWithVolume" is required (not null) + if (allowedWithVolume == null) + { + throw new InvalidDataException("allowedWithVolume is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.AllowedWithVolume = allowedWithVolume; + } + // to ensure "allowedWithMeasure" is required (not null) + if (allowedWithMeasure == null) + { + throw new InvalidDataException("allowedWithMeasure is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.AllowedWithMeasure = allowedWithMeasure; + } + // to ensure "maximumQuantity" is required (not null) + if (maximumQuantity == null) + { + throw new InvalidDataException("maximumQuantity is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.MaximumQuantity = maximumQuantity; + } + // to ensure "quantityInputOrder" is required (not null) + if (quantityInputOrder == null) + { + throw new InvalidDataException("quantityInputOrder is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.QuantityInputOrder = quantityInputOrder; + } + // to ensure "priceInputOrder" is required (not null) + if (priceInputOrder == null) + { + throw new InvalidDataException("priceInputOrder is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceInputOrder = priceInputOrder; + } + // to ensure "quantityLimitExceedAction" is required (not null) + if (quantityLimitExceedAction == null) + { + throw new InvalidDataException("quantityLimitExceedAction is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.QuantityLimitExceedAction = quantityLimitExceedAction; + } + // to ensure "amountLimitExceedAction" is required (not null) + if (amountLimitExceedAction == null) + { + throw new InvalidDataException("amountLimitExceedAction is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.AmountLimitExceedAction = amountLimitExceedAction; + } + // to ensure "priceDeviationType" is required (not null) + if (priceDeviationType == null) + { + throw new InvalidDataException("priceDeviationType is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceDeviationType = priceDeviationType; + } + // to ensure "priceNegDeviationType" is required (not null) + if (priceNegDeviationType == null) + { + throw new InvalidDataException("priceNegDeviationType is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig and cannot be null"); + } + else + { + this.PriceNegDeviationType = priceNegDeviationType; + } + this.MinimumQuantity = minimumQuantity; + this.WeightUnitFactor = weightUnitFactor; + this.MeasureUnitFactor = measureUnitFactor; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter indicates whether the quantity input for each item is forced.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the quantity input for each item is forced.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="forceQuantityInput", EmitDefaultValue=false)] + public bool? ForceQuantityInput { get; set; } + + /// + /// <p>This parameter defines the price position limit. Default set to 100,000.00. -1 means disabled.</p> + /// + /// <p>This parameter defines the price position limit. Default set to 100,000.00. -1 means disabled.</p> + [DataMember(Name="pricePositionLimit", EmitDefaultValue=false)] + public double? PricePositionLimit { get; set; } + + /// + /// <p>This parameter defines whether positions with zero price are allowed.</p> + /// + /// <p>This parameter defines whether positions with zero price are allowed.</p> + [DataMember(Name="pricePositionZeroAllowed", EmitDefaultValue=false)] + public bool? PricePositionZeroAllowed { get; set; } + + /// + /// <p>This parameter defines the price transaction limit. Default set to 100,000.00. -1 means disabled.<br /> @deprecated since 5.20.0 - is not longer used.</p> + /// + /// <p>This parameter defines the price transaction limit. Default set to 100,000.00. -1 means disabled.<br /> @deprecated since 5.20.0 - is not longer used.</p> + [DataMember(Name="priceTransactionLimit", EmitDefaultValue=false)] + public double? PriceTransactionLimit { get; set; } + + /// + /// <p>This parameter defines the price difference limit in percent.</p> + /// + /// <p>This parameter defines the price difference limit in percent.</p> + [DataMember(Name="priceDifferencePercentPositionLimit", EmitDefaultValue=false)] + public double? PriceDifferencePercentPositionLimit { get; set; } + + /// + /// <p>This parameter defines the price difference limit as an absolute value.</p> + /// + /// <p>This parameter defines the price difference limit as an absolute value.</p> + [DataMember(Name="priceDifferenceAbsolutePositionLimit", EmitDefaultValue=false)] + public double? PriceDifferenceAbsolutePositionLimit { get; set; } + + + + + + /// + /// <p>This parameter indicates whether results can be filtered.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether results can be filtered.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="filterResult", EmitDefaultValue=false)] + public bool? FilterResult { get; set; } + + /// + /// <p>This parameter indicates whether the single quantity for a weight item is allowed. It has the flag 'ALLOWED_WITH_WEIGHT'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a weight item is allowed. It has the flag 'ALLOWED_WITH_WEIGHT'.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="allowedWithWeight", EmitDefaultValue=false)] + public bool? AllowedWithWeight { get; set; } + + /// + /// <p>This parameter indicates whether the single quantity for a length item is allowed. It has the flag 'ALLOWED_WITH_LENGTH'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a length item is allowed. It has the flag 'ALLOWED_WITH_LENGTH'.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="allowedWithLength", EmitDefaultValue=false)] + public bool? AllowedWithLength { get; set; } + + /// + /// <p>This parameter indicates whether the single quantity for an area item is allowed. It has the flag 'ALLOWED_WITH_AREA'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for an area item is allowed. It has the flag 'ALLOWED_WITH_AREA'.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="allowedWithArea", EmitDefaultValue=false)] + public bool? AllowedWithArea { get; set; } + + /// + /// <p>This parameter indicates whether the single quantity for a volume item is allowed. It has the flag 'ALLOWED_WITH_VOLUME'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a volume item is allowed. It has the flag 'ALLOWED_WITH_VOLUME'.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="allowedWithVolume", EmitDefaultValue=false)] + public bool? AllowedWithVolume { get; set; } + + /// + /// <p>This parameter indicates whether the single quantity for a measure item is allowed. It has the flag 'ALLOWED_WITH_MEASURE'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a measure item is allowed. It has the flag 'ALLOWED_WITH_MEASURE'.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="allowedWithMeasure", EmitDefaultValue=false)] + public bool? AllowedWithMeasure { get; set; } + + /// + /// <p>This parameter defines the maximum single quantity.</p> + /// + /// <p>This parameter defines the maximum single quantity.</p> + [DataMember(Name="maximumQuantity", EmitDefaultValue=false)] + public int? MaximumQuantity { get; set; } + + /// + /// <p>This parameter defines the minimum single quantity.</p> + /// + /// <p>This parameter defines the minimum single quantity.</p> + [DataMember(Name="minimumQuantity", EmitDefaultValue=false)] + public int? MinimumQuantity { get; set; } + + + + + + /// + /// <p>This parameter defines the multiplication factor for weight quantities.</p> + /// + /// <p>This parameter defines the multiplication factor for weight quantities.</p> + [DataMember(Name="weightUnitFactor", EmitDefaultValue=false)] + public double? WeightUnitFactor { get; set; } + + /// + /// <p>This parameter defines the multiplication factor for dimensions quantities.</p> + /// + /// <p>This parameter defines the multiplication factor for dimensions quantities.</p> + [DataMember(Name="measureUnitFactor", EmitDefaultValue=false)] + public double? MeasureUnitFactor { get; set; } + + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig {\n"); + sb.Append(" ForceQuantityInput: ").Append(ForceQuantityInput).Append("\n"); + sb.Append(" PricePositionLimit: ").Append(PricePositionLimit).Append("\n"); + sb.Append(" PricePositionZeroAllowed: ").Append(PricePositionZeroAllowed).Append("\n"); + sb.Append(" PriceTransactionLimit: ").Append(PriceTransactionLimit).Append("\n"); + sb.Append(" PriceDifferencePercentPositionLimit: ").Append(PriceDifferencePercentPositionLimit).Append("\n"); + sb.Append(" PriceDifferenceAbsolutePositionLimit: ").Append(PriceDifferenceAbsolutePositionLimit).Append("\n"); + sb.Append(" PriceDifferenceLimitExceedAction: ").Append(PriceDifferenceLimitExceedAction).Append("\n"); + sb.Append(" PriceNegDifferenceLimitExceedAction: ").Append(PriceNegDifferenceLimitExceedAction).Append("\n"); + sb.Append(" CloseCurrent: ").Append(CloseCurrent).Append("\n"); + sb.Append(" ClosePrevious: ").Append(ClosePrevious).Append("\n"); + sb.Append(" FilterResult: ").Append(FilterResult).Append("\n"); + sb.Append(" AllowedWithWeight: ").Append(AllowedWithWeight).Append("\n"); + sb.Append(" AllowedWithLength: ").Append(AllowedWithLength).Append("\n"); + sb.Append(" AllowedWithArea: ").Append(AllowedWithArea).Append("\n"); + sb.Append(" AllowedWithVolume: ").Append(AllowedWithVolume).Append("\n"); + sb.Append(" AllowedWithMeasure: ").Append(AllowedWithMeasure).Append("\n"); + sb.Append(" MaximumQuantity: ").Append(MaximumQuantity).Append("\n"); + sb.Append(" MinimumQuantity: ").Append(MinimumQuantity).Append("\n"); + sb.Append(" QuantityInputOrder: ").Append(QuantityInputOrder).Append("\n"); + sb.Append(" PriceInputOrder: ").Append(PriceInputOrder).Append("\n"); + sb.Append(" QuantityLimitExceedAction: ").Append(QuantityLimitExceedAction).Append("\n"); + sb.Append(" AmountLimitExceedAction: ").Append(AmountLimitExceedAction).Append("\n"); + sb.Append(" WeightUnitFactor: ").Append(WeightUnitFactor).Append("\n"); + sb.Append(" MeasureUnitFactor: ").Append(MeasureUnitFactor).Append("\n"); + sb.Append(" PriceDeviationType: ").Append(PriceDeviationType).Append("\n"); + sb.Append(" PriceNegDeviationType: ").Append(PriceNegDeviationType).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig input) + { + if (input == null) + return false; + + return + ( + this.ForceQuantityInput == input.ForceQuantityInput || + (this.ForceQuantityInput != null && + this.ForceQuantityInput.Equals(input.ForceQuantityInput)) + ) && + ( + this.PricePositionLimit == input.PricePositionLimit || + (this.PricePositionLimit != null && + this.PricePositionLimit.Equals(input.PricePositionLimit)) + ) && + ( + this.PricePositionZeroAllowed == input.PricePositionZeroAllowed || + (this.PricePositionZeroAllowed != null && + this.PricePositionZeroAllowed.Equals(input.PricePositionZeroAllowed)) + ) && + ( + this.PriceTransactionLimit == input.PriceTransactionLimit || + (this.PriceTransactionLimit != null && + this.PriceTransactionLimit.Equals(input.PriceTransactionLimit)) + ) && + ( + this.PriceDifferencePercentPositionLimit == input.PriceDifferencePercentPositionLimit || + (this.PriceDifferencePercentPositionLimit != null && + this.PriceDifferencePercentPositionLimit.Equals(input.PriceDifferencePercentPositionLimit)) + ) && + ( + this.PriceDifferenceAbsolutePositionLimit == input.PriceDifferenceAbsolutePositionLimit || + (this.PriceDifferenceAbsolutePositionLimit != null && + this.PriceDifferenceAbsolutePositionLimit.Equals(input.PriceDifferenceAbsolutePositionLimit)) + ) && + ( + this.PriceDifferenceLimitExceedAction == input.PriceDifferenceLimitExceedAction || + (this.PriceDifferenceLimitExceedAction != null && + this.PriceDifferenceLimitExceedAction.Equals(input.PriceDifferenceLimitExceedAction)) + ) && + ( + this.PriceNegDifferenceLimitExceedAction == input.PriceNegDifferenceLimitExceedAction || + (this.PriceNegDifferenceLimitExceedAction != null && + this.PriceNegDifferenceLimitExceedAction.Equals(input.PriceNegDifferenceLimitExceedAction)) + ) && + ( + this.CloseCurrent == input.CloseCurrent || + (this.CloseCurrent != null && + this.CloseCurrent.Equals(input.CloseCurrent)) + ) && + ( + this.ClosePrevious == input.ClosePrevious || + (this.ClosePrevious != null && + this.ClosePrevious.Equals(input.ClosePrevious)) + ) && + ( + this.FilterResult == input.FilterResult || + (this.FilterResult != null && + this.FilterResult.Equals(input.FilterResult)) + ) && + ( + this.AllowedWithWeight == input.AllowedWithWeight || + (this.AllowedWithWeight != null && + this.AllowedWithWeight.Equals(input.AllowedWithWeight)) + ) && + ( + this.AllowedWithLength == input.AllowedWithLength || + (this.AllowedWithLength != null && + this.AllowedWithLength.Equals(input.AllowedWithLength)) + ) && + ( + this.AllowedWithArea == input.AllowedWithArea || + (this.AllowedWithArea != null && + this.AllowedWithArea.Equals(input.AllowedWithArea)) + ) && + ( + this.AllowedWithVolume == input.AllowedWithVolume || + (this.AllowedWithVolume != null && + this.AllowedWithVolume.Equals(input.AllowedWithVolume)) + ) && + ( + this.AllowedWithMeasure == input.AllowedWithMeasure || + (this.AllowedWithMeasure != null && + this.AllowedWithMeasure.Equals(input.AllowedWithMeasure)) + ) && + ( + this.MaximumQuantity == input.MaximumQuantity || + (this.MaximumQuantity != null && + this.MaximumQuantity.Equals(input.MaximumQuantity)) + ) && + ( + this.MinimumQuantity == input.MinimumQuantity || + (this.MinimumQuantity != null && + this.MinimumQuantity.Equals(input.MinimumQuantity)) + ) && + ( + this.QuantityInputOrder == input.QuantityInputOrder || + (this.QuantityInputOrder != null && + this.QuantityInputOrder.Equals(input.QuantityInputOrder)) + ) && + ( + this.PriceInputOrder == input.PriceInputOrder || + (this.PriceInputOrder != null && + this.PriceInputOrder.Equals(input.PriceInputOrder)) + ) && + ( + this.QuantityLimitExceedAction == input.QuantityLimitExceedAction || + (this.QuantityLimitExceedAction != null && + this.QuantityLimitExceedAction.Equals(input.QuantityLimitExceedAction)) + ) && + ( + this.AmountLimitExceedAction == input.AmountLimitExceedAction || + (this.AmountLimitExceedAction != null && + this.AmountLimitExceedAction.Equals(input.AmountLimitExceedAction)) + ) && + ( + this.WeightUnitFactor == input.WeightUnitFactor || + (this.WeightUnitFactor != null && + this.WeightUnitFactor.Equals(input.WeightUnitFactor)) + ) && + ( + this.MeasureUnitFactor == input.MeasureUnitFactor || + (this.MeasureUnitFactor != null && + this.MeasureUnitFactor.Equals(input.MeasureUnitFactor)) + ) && + ( + this.PriceDeviationType == input.PriceDeviationType || + (this.PriceDeviationType != null && + this.PriceDeviationType.Equals(input.PriceDeviationType)) + ) && + ( + this.PriceNegDeviationType == input.PriceNegDeviationType || + (this.PriceNegDeviationType != null && + this.PriceNegDeviationType.Equals(input.PriceNegDeviationType)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ForceQuantityInput != null) + hashCode = hashCode * 59 + this.ForceQuantityInput.GetHashCode(); + if (this.PricePositionLimit != null) + hashCode = hashCode * 59 + this.PricePositionLimit.GetHashCode(); + if (this.PricePositionZeroAllowed != null) + hashCode = hashCode * 59 + this.PricePositionZeroAllowed.GetHashCode(); + if (this.PriceTransactionLimit != null) + hashCode = hashCode * 59 + this.PriceTransactionLimit.GetHashCode(); + if (this.PriceDifferencePercentPositionLimit != null) + hashCode = hashCode * 59 + this.PriceDifferencePercentPositionLimit.GetHashCode(); + if (this.PriceDifferenceAbsolutePositionLimit != null) + hashCode = hashCode * 59 + this.PriceDifferenceAbsolutePositionLimit.GetHashCode(); + if (this.PriceDifferenceLimitExceedAction != null) + hashCode = hashCode * 59 + this.PriceDifferenceLimitExceedAction.GetHashCode(); + if (this.PriceNegDifferenceLimitExceedAction != null) + hashCode = hashCode * 59 + this.PriceNegDifferenceLimitExceedAction.GetHashCode(); + if (this.CloseCurrent != null) + hashCode = hashCode * 59 + this.CloseCurrent.GetHashCode(); + if (this.ClosePrevious != null) + hashCode = hashCode * 59 + this.ClosePrevious.GetHashCode(); + if (this.FilterResult != null) + hashCode = hashCode * 59 + this.FilterResult.GetHashCode(); + if (this.AllowedWithWeight != null) + hashCode = hashCode * 59 + this.AllowedWithWeight.GetHashCode(); + if (this.AllowedWithLength != null) + hashCode = hashCode * 59 + this.AllowedWithLength.GetHashCode(); + if (this.AllowedWithArea != null) + hashCode = hashCode * 59 + this.AllowedWithArea.GetHashCode(); + if (this.AllowedWithVolume != null) + hashCode = hashCode * 59 + this.AllowedWithVolume.GetHashCode(); + if (this.AllowedWithMeasure != null) + hashCode = hashCode * 59 + this.AllowedWithMeasure.GetHashCode(); + if (this.MaximumQuantity != null) + hashCode = hashCode * 59 + this.MaximumQuantity.GetHashCode(); + if (this.MinimumQuantity != null) + hashCode = hashCode * 59 + this.MinimumQuantity.GetHashCode(); + if (this.QuantityInputOrder != null) + hashCode = hashCode * 59 + this.QuantityInputOrder.GetHashCode(); + if (this.PriceInputOrder != null) + hashCode = hashCode * 59 + this.PriceInputOrder.GetHashCode(); + if (this.QuantityLimitExceedAction != null) + hashCode = hashCode * 59 + this.QuantityLimitExceedAction.GetHashCode(); + if (this.AmountLimitExceedAction != null) + hashCode = hashCode * 59 + this.AmountLimitExceedAction.GetHashCode(); + if (this.WeightUnitFactor != null) + hashCode = hashCode * 59 + this.WeightUnitFactor.GetHashCode(); + if (this.MeasureUnitFactor != null) + hashCode = hashCode * 59 + this.MeasureUnitFactor.GetHashCode(); + if (this.PriceDeviationType != null) + hashCode = hashCode * 59 + this.PriceDeviationType.GetHashCode(); + if (this.PriceNegDeviationType != null) + hashCode = hashCode * 59 + this.PriceNegDeviationType.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..a50cdc3d8f7502c6ff5d275daa472ff19f847734 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PositionRepetitionConfig <p>This Configuration entity defines position repetition related operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter specifies whether the quantity input of the old line item is applied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: The quantity input (single quantity) of the old line item is applied to the new line item.</li><br /> <li>False: The single quantity of the new line item will be 1.</li><br /></ul> (required). + /// <p>This parameter specifies whether manual discounts are copied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: Manual discounts are copied to the new line item.</li><br /> <li>False: Manual discounts are not copied to the new line item.</li><br /></ul> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig(bool? repeatQuantity = default(bool?), bool? repeatManualDiscounts = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "repeatQuantity" is required (not null) + if (repeatQuantity == null) + { + throw new InvalidDataException("repeatQuantity is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig and cannot be null"); + } + else + { + this.RepeatQuantity = repeatQuantity; + } + // to ensure "repeatManualDiscounts" is required (not null) + if (repeatManualDiscounts == null) + { + throw new InvalidDataException("repeatManualDiscounts is a required property for ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig and cannot be null"); + } + else + { + this.RepeatManualDiscounts = repeatManualDiscounts; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter specifies whether the quantity input of the old line item is applied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: The quantity input (single quantity) of the old line item is applied to the new line item.</li><br /> <li>False: The single quantity of the new line item will be 1.</li><br /></ul> + /// + /// <p>This parameter specifies whether the quantity input of the old line item is applied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: The quantity input (single quantity) of the old line item is applied to the new line item.</li><br /> <li>False: The single quantity of the new line item will be 1.</li><br /></ul> + [DataMember(Name="repeatQuantity", EmitDefaultValue=false)] + public bool? RepeatQuantity { get; set; } + + /// + /// <p>This parameter specifies whether manual discounts are copied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: Manual discounts are copied to the new line item.</li><br /> <li>False: Manual discounts are not copied to the new line item.</li><br /></ul> + /// + /// <p>This parameter specifies whether manual discounts are copied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: Manual discounts are copied to the new line item.</li><br /> <li>False: Manual discounts are not copied to the new line item.</li><br /></ul> + [DataMember(Name="repeatManualDiscounts", EmitDefaultValue=false)] + public bool? RepeatManualDiscounts { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig {\n"); + sb.Append(" RepeatQuantity: ").Append(RepeatQuantity).Append("\n"); + sb.Append(" RepeatManualDiscounts: ").Append(RepeatManualDiscounts).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig input) + { + if (input == null) + return false; + + return + ( + this.RepeatQuantity == input.RepeatQuantity || + (this.RepeatQuantity != null && + this.RepeatQuantity.Equals(input.RepeatQuantity)) + ) && + ( + this.RepeatManualDiscounts == input.RepeatManualDiscounts || + (this.RepeatManualDiscounts != null && + this.RepeatManualDiscounts.Equals(input.RepeatManualDiscounts)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RepeatQuantity != null) + hashCode = hashCode * 59 + this.RepeatQuantity.GetHashCode(); + if (this.RepeatManualDiscounts != null) + hashCode = hashCode * 59 + this.RepeatManualDiscounts.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..a863c9a7bb290c18636a481ce9bef6feb661378e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ProcessBarcodeConfig <p>This configuration entity defines barcode processes.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines a list of barcode types for the evaluation of manual barcode inputs. For inputs by scanners the barcode type is provided by the scanner itself.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig(List barcodeTypes = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "barcodeTypes" is required (not null) + if (barcodeTypes == null) + { + throw new InvalidDataException("barcodeTypes is a required property for ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig and cannot be null"); + } + else + { + this.BarcodeTypes = barcodeTypes; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines a list of barcode types for the evaluation of manual barcode inputs. For inputs by scanners the barcode type is provided by the scanner itself.</p> + /// + /// <p>This parameter defines a list of barcode types for the evaluation of manual barcode inputs. For inputs by scanners the barcode type is provided by the scanner itself.</p> + [DataMember(Name="barcodeTypes", EmitDefaultValue=false)] + public List BarcodeTypes { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig {\n"); + sb.Append(" BarcodeTypes: ").Append(BarcodeTypes).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig input) + { + if (input == null) + return false; + + return + ( + this.BarcodeTypes == input.BarcodeTypes || + this.BarcodeTypes != null && + this.BarcodeTypes.SequenceEqual(input.BarcodeTypes) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BarcodeTypes != null) + hashCode = hashCode * 59 + this.BarcodeTypes.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..6e80e4ba28f7d38e8c71e32a63a03713a78d451f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig.cs @@ -0,0 +1,698 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionOperationConfig <p>This configuration entity defines promotion related operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines the price modification type code.</p><br /><pre>value: PromotionTriggerPrivilegeType [REBATESINGLE, REBATEPERCENT, NEWPRICE, REBATEAMOUNT]<br /></pre><br /><ul><br /> <li>RebateSingle as 'RS',</li><br /> <li>RebatePercent as 'RP',</li><br /> <li>NewPrice as 'PS',</li><br /> <li>RebateAmount as 'AM'</li><br /></ul> + /// + /// <p>This parameter defines the price modification type code.</p><br /><pre>value: PromotionTriggerPrivilegeType [REBATESINGLE, REBATEPERCENT, NEWPRICE, REBATEAMOUNT]<br /></pre><br /><ul><br /> <li>RebateSingle as 'RS',</li><br /> <li>RebatePercent as 'RP',</li><br /> <li>NewPrice as 'PS',</li><br /> <li>RebateAmount as 'AM'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PrivilegeTypeEnum + { + + /// + /// Enum RebateSingle for value: RebateSingle + /// + [EnumMember(Value = "RebateSingle")] + RebateSingle = 1, + + /// + /// Enum RebatePercent for value: RebatePercent + /// + [EnumMember(Value = "RebatePercent")] + RebatePercent = 2, + + /// + /// Enum NewPrice for value: NewPrice + /// + [EnumMember(Value = "NewPrice")] + NewPrice = 3, + + /// + /// Enum RebateAmount for value: RebateAmount + /// + [EnumMember(Value = "RebateAmount")] + RebateAmount = 4 + } + + /// + /// <p>This parameter defines the price modification type code.</p><br /><pre>value: PromotionTriggerPrivilegeType [REBATESINGLE, REBATEPERCENT, NEWPRICE, REBATEAMOUNT]<br /></pre><br /><ul><br /> <li>RebateSingle as 'RS',</li><br /> <li>RebatePercent as 'RP',</li><br /> <li>NewPrice as 'PS',</li><br /> <li>RebateAmount as 'AM'</li><br /></ul> + /// + /// <p>This parameter defines the price modification type code.</p><br /><pre>value: PromotionTriggerPrivilegeType [REBATESINGLE, REBATEPERCENT, NEWPRICE, REBATEAMOUNT]<br /></pre><br /><ul><br /> <li>RebateSingle as 'RS',</li><br /> <li>RebatePercent as 'RP',</li><br /> <li>NewPrice as 'PS',</li><br /> <li>RebateAmount as 'AM'</li><br /></ul> + [DataMember(Name="privilegeType", EmitDefaultValue=false)] + public PrivilegeTypeEnum PrivilegeType { get; set; } + /// + /// <p>This parameter defines the sequence handling type code.</p><br /><pre>value: PromotionTriggerSequenceType [FIX, MAX, SAME]<br /></pre><br /><ul><br /> <li>FIX as 'FIX',</li><br /> <li>MAX as 'MAX',</li><br /> <li>SAME as 'SAME'</li><br /></ul> + /// + /// <p>This parameter defines the sequence handling type code.</p><br /><pre>value: PromotionTriggerSequenceType [FIX, MAX, SAME]<br /></pre><br /><ul><br /> <li>FIX as 'FIX',</li><br /> <li>MAX as 'MAX',</li><br /> <li>SAME as 'SAME'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum SequenceTypeEnum + { + + /// + /// Enum FIX for value: FIX + /// + [EnumMember(Value = "FIX")] + FIX = 1, + + /// + /// Enum MAX for value: MAX + /// + [EnumMember(Value = "MAX")] + MAX = 2, + + /// + /// Enum SAME for value: SAME + /// + [EnumMember(Value = "SAME")] + SAME = 3 + } + + /// + /// <p>This parameter defines the sequence handling type code.</p><br /><pre>value: PromotionTriggerSequenceType [FIX, MAX, SAME]<br /></pre><br /><ul><br /> <li>FIX as 'FIX',</li><br /> <li>MAX as 'MAX',</li><br /> <li>SAME as 'SAME'</li><br /></ul> + /// + /// <p>This parameter defines the sequence handling type code.</p><br /><pre>value: PromotionTriggerSequenceType [FIX, MAX, SAME]<br /></pre><br /><ul><br /> <li>FIX as 'FIX',</li><br /> <li>MAX as 'MAX',</li><br /> <li>SAME as 'SAME'</li><br /></ul> + [DataMember(Name="sequenceType", EmitDefaultValue=false)] + public SequenceTypeEnum SequenceType { get; set; } + /// + /// <p>This parameter defines which price deviation type is allowed.</p><br /><pre>value: PriceDeviationType [ALL, EQUAL_LESS, EQUAL_GREATER]<br /></pre><br /><ul><br /> <li>ALL as 'ALL',</li><br /> <li>EQUAL_LESS as 'EQUAL_LESS',</li><br /> <li>EQUAL_GREATER as 'EQUAL_GREATER'</li><br /></ul> + /// + /// <p>This parameter defines which price deviation type is allowed.</p><br /><pre>value: PriceDeviationType [ALL, EQUAL_LESS, EQUAL_GREATER]<br /></pre><br /><ul><br /> <li>ALL as 'ALL',</li><br /> <li>EQUAL_LESS as 'EQUAL_LESS',</li><br /> <li>EQUAL_GREATER as 'EQUAL_GREATER'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceDeviationTypeEnum + { + + /// + /// Enum ALL for value: ALL + /// + [EnumMember(Value = "ALL")] + ALL = 1, + + /// + /// Enum EQUALLESS for value: EQUAL_LESS + /// + [EnumMember(Value = "EQUAL_LESS")] + EQUALLESS = 2, + + /// + /// Enum EQUALGREATER for value: EQUAL_GREATER + /// + [EnumMember(Value = "EQUAL_GREATER")] + EQUALGREATER = 3 + } + + /// + /// <p>This parameter defines which price deviation type is allowed.</p><br /><pre>value: PriceDeviationType [ALL, EQUAL_LESS, EQUAL_GREATER]<br /></pre><br /><ul><br /> <li>ALL as 'ALL',</li><br /> <li>EQUAL_LESS as 'EQUAL_LESS',</li><br /> <li>EQUAL_GREATER as 'EQUAL_GREATER'</li><br /></ul> + /// + /// <p>This parameter defines which price deviation type is allowed.</p><br /><pre>value: PriceDeviationType [ALL, EQUAL_LESS, EQUAL_GREATER]<br /></pre><br /><ul><br /> <li>ALL as 'ALL',</li><br /> <li>EQUAL_LESS as 'EQUAL_LESS',</li><br /> <li>EQUAL_GREATER as 'EQUAL_GREATER'</li><br /></ul> + [DataMember(Name="priceDeviationType", EmitDefaultValue=false)] + public PriceDeviationTypeEnum PriceDeviationType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the trigger type for the loyalty engine. (e.g. CO)</p> (required). + /// <p>This parameter defines the trigger value for the loyalty engine.</p> (required). + /// <p>This parameter defines the price modification type code.</p><br /><pre>value: PromotionTriggerPrivilegeType [REBATESINGLE, REBATEPERCENT, NEWPRICE, REBATEAMOUNT]<br /></pre><br /><ul><br /> <li>RebateSingle as 'RS',</li><br /> <li>RebatePercent as 'RP',</li><br /> <li>NewPrice as 'PS',</li><br /> <li>RebateAmount as 'AM'</li><br /></ul> (required). + /// <p>This parameter defines the predefined discount or reduction value.</p>. + /// <p>This parameter defines the sequence handling type code.</p><br /><pre>value: PromotionTriggerSequenceType [FIX, MAX, SAME]<br /></pre><br /><ul><br /> <li>FIX as 'FIX',</li><br /> <li>MAX as 'MAX',</li><br /> <li>SAME as 'SAME'</li><br /></ul> (required). + /// <p>This parameter defines the start sequence number of promotions with the same trigger value.</p> (required). + /// <p>This parameter defines the maximum number of promotions with the same trigger value.</p> (required). + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. A warning message is displayed, if the defined maxLimitWarn is exceeded.</p>. + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An authorization is required, if the defined maxLimitAuthorize is exceeded.</p>. + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An error message is required, if the defined maxLimitForbid is exceeded. The operation will be canceled.</p>. + /// <p>This parameter defines which price deviation type is allowed.</p><br /><pre>value: PriceDeviationType [ALL, EQUAL_LESS, EQUAL_GREATER]<br /></pre><br /><ul><br /> <li>ALL as 'ALL',</li><br /> <li>EQUAL_LESS as 'EQUAL_LESS',</li><br /> <li>EQUAL_GREATER as 'EQUAL_GREATER'</li><br /></ul> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig(string triggerType = default(string), string triggerValue = default(string), PrivilegeTypeEnum privilegeType = default(PrivilegeTypeEnum), double? privilegeValue = default(double?), SequenceTypeEnum sequenceType = default(SequenceTypeEnum), int? startSequence = default(int?), int? maxSequence = default(int?), double? maxLimitWarn = default(double?), double? maxLimitAuthorize = default(double?), double? maxLimitForbid = default(double?), PriceDeviationTypeEnum priceDeviationType = default(PriceDeviationTypeEnum), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "triggerType" is required (not null) + if (triggerType == null) + { + throw new InvalidDataException("triggerType is a required property for ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig and cannot be null"); + } + else + { + this.TriggerType = triggerType; + } + // to ensure "triggerValue" is required (not null) + if (triggerValue == null) + { + throw new InvalidDataException("triggerValue is a required property for ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig and cannot be null"); + } + else + { + this.TriggerValue = triggerValue; + } + // to ensure "privilegeType" is required (not null) + if (privilegeType == null) + { + throw new InvalidDataException("privilegeType is a required property for ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig and cannot be null"); + } + else + { + this.PrivilegeType = privilegeType; + } + // to ensure "sequenceType" is required (not null) + if (sequenceType == null) + { + throw new InvalidDataException("sequenceType is a required property for ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig and cannot be null"); + } + else + { + this.SequenceType = sequenceType; + } + // to ensure "startSequence" is required (not null) + if (startSequence == null) + { + throw new InvalidDataException("startSequence is a required property for ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig and cannot be null"); + } + else + { + this.StartSequence = startSequence; + } + // to ensure "maxSequence" is required (not null) + if (maxSequence == null) + { + throw new InvalidDataException("maxSequence is a required property for ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig and cannot be null"); + } + else + { + this.MaxSequence = maxSequence; + } + // to ensure "priceDeviationType" is required (not null) + if (priceDeviationType == null) + { + throw new InvalidDataException("priceDeviationType is a required property for ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig and cannot be null"); + } + else + { + this.PriceDeviationType = priceDeviationType; + } + this.PrivilegeValue = privilegeValue; + this.MaxLimitWarn = maxLimitWarn; + this.MaxLimitAuthorize = maxLimitAuthorize; + this.MaxLimitForbid = maxLimitForbid; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the trigger type for the loyalty engine. (e.g. CO)</p> + /// + /// <p>This parameter defines the trigger type for the loyalty engine. (e.g. CO)</p> + [DataMember(Name="triggerType", EmitDefaultValue=false)] + public string TriggerType { get; set; } + + /// + /// <p>This parameter defines the trigger value for the loyalty engine.</p> + /// + /// <p>This parameter defines the trigger value for the loyalty engine.</p> + [DataMember(Name="triggerValue", EmitDefaultValue=false)] + public string TriggerValue { get; set; } + + + /// + /// <p>This parameter defines the predefined discount or reduction value.</p> + /// + /// <p>This parameter defines the predefined discount or reduction value.</p> + [DataMember(Name="privilegeValue", EmitDefaultValue=false)] + public double? PrivilegeValue { get; set; } + + + /// + /// <p>This parameter defines the start sequence number of promotions with the same trigger value.</p> + /// + /// <p>This parameter defines the start sequence number of promotions with the same trigger value.</p> + [DataMember(Name="startSequence", EmitDefaultValue=false)] + public int? StartSequence { get; set; } + + /// + /// <p>This parameter defines the maximum number of promotions with the same trigger value.</p> + /// + /// <p>This parameter defines the maximum number of promotions with the same trigger value.</p> + [DataMember(Name="maxSequence", EmitDefaultValue=false)] + public int? MaxSequence { get; set; } + + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. A warning message is displayed, if the defined maxLimitWarn is exceeded.</p> + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. A warning message is displayed, if the defined maxLimitWarn is exceeded.</p> + [DataMember(Name="maxLimitWarn", EmitDefaultValue=false)] + public double? MaxLimitWarn { get; set; } + + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An authorization is required, if the defined maxLimitAuthorize is exceeded.</p> + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An authorization is required, if the defined maxLimitAuthorize is exceeded.</p> + [DataMember(Name="maxLimitAuthorize", EmitDefaultValue=false)] + public double? MaxLimitAuthorize { get; set; } + + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An error message is required, if the defined maxLimitForbid is exceeded. The operation will be canceled.</p> + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An error message is required, if the defined maxLimitForbid is exceeded. The operation will be canceled.</p> + [DataMember(Name="maxLimitForbid", EmitDefaultValue=false)] + public double? MaxLimitForbid { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig {\n"); + sb.Append(" TriggerType: ").Append(TriggerType).Append("\n"); + sb.Append(" TriggerValue: ").Append(TriggerValue).Append("\n"); + sb.Append(" PrivilegeType: ").Append(PrivilegeType).Append("\n"); + sb.Append(" PrivilegeValue: ").Append(PrivilegeValue).Append("\n"); + sb.Append(" SequenceType: ").Append(SequenceType).Append("\n"); + sb.Append(" StartSequence: ").Append(StartSequence).Append("\n"); + sb.Append(" MaxSequence: ").Append(MaxSequence).Append("\n"); + sb.Append(" MaxLimitWarn: ").Append(MaxLimitWarn).Append("\n"); + sb.Append(" MaxLimitAuthorize: ").Append(MaxLimitAuthorize).Append("\n"); + sb.Append(" MaxLimitForbid: ").Append(MaxLimitForbid).Append("\n"); + sb.Append(" PriceDeviationType: ").Append(PriceDeviationType).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig input) + { + if (input == null) + return false; + + return + ( + this.TriggerType == input.TriggerType || + (this.TriggerType != null && + this.TriggerType.Equals(input.TriggerType)) + ) && + ( + this.TriggerValue == input.TriggerValue || + (this.TriggerValue != null && + this.TriggerValue.Equals(input.TriggerValue)) + ) && + ( + this.PrivilegeType == input.PrivilegeType || + (this.PrivilegeType != null && + this.PrivilegeType.Equals(input.PrivilegeType)) + ) && + ( + this.PrivilegeValue == input.PrivilegeValue || + (this.PrivilegeValue != null && + this.PrivilegeValue.Equals(input.PrivilegeValue)) + ) && + ( + this.SequenceType == input.SequenceType || + (this.SequenceType != null && + this.SequenceType.Equals(input.SequenceType)) + ) && + ( + this.StartSequence == input.StartSequence || + (this.StartSequence != null && + this.StartSequence.Equals(input.StartSequence)) + ) && + ( + this.MaxSequence == input.MaxSequence || + (this.MaxSequence != null && + this.MaxSequence.Equals(input.MaxSequence)) + ) && + ( + this.MaxLimitWarn == input.MaxLimitWarn || + (this.MaxLimitWarn != null && + this.MaxLimitWarn.Equals(input.MaxLimitWarn)) + ) && + ( + this.MaxLimitAuthorize == input.MaxLimitAuthorize || + (this.MaxLimitAuthorize != null && + this.MaxLimitAuthorize.Equals(input.MaxLimitAuthorize)) + ) && + ( + this.MaxLimitForbid == input.MaxLimitForbid || + (this.MaxLimitForbid != null && + this.MaxLimitForbid.Equals(input.MaxLimitForbid)) + ) && + ( + this.PriceDeviationType == input.PriceDeviationType || + (this.PriceDeviationType != null && + this.PriceDeviationType.Equals(input.PriceDeviationType)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TriggerType != null) + hashCode = hashCode * 59 + this.TriggerType.GetHashCode(); + if (this.TriggerValue != null) + hashCode = hashCode * 59 + this.TriggerValue.GetHashCode(); + if (this.PrivilegeType != null) + hashCode = hashCode * 59 + this.PrivilegeType.GetHashCode(); + if (this.PrivilegeValue != null) + hashCode = hashCode * 59 + this.PrivilegeValue.GetHashCode(); + if (this.SequenceType != null) + hashCode = hashCode * 59 + this.SequenceType.GetHashCode(); + if (this.StartSequence != null) + hashCode = hashCode * 59 + this.StartSequence.GetHashCode(); + if (this.MaxSequence != null) + hashCode = hashCode * 59 + this.MaxSequence.GetHashCode(); + if (this.MaxLimitWarn != null) + hashCode = hashCode * 59 + this.MaxLimitWarn.GetHashCode(); + if (this.MaxLimitAuthorize != null) + hashCode = hashCode * 59 + this.MaxLimitAuthorize.GetHashCode(); + if (this.MaxLimitForbid != null) + hashCode = hashCode * 59 + this.MaxLimitForbid.GetHashCode(); + if (this.PriceDeviationType != null) + hashCode = hashCode * 59 + this.PriceDeviationType.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes.cs new file mode 100644 index 0000000000000000000000000000000000000000..cfa467427772880ee785663909091d04c2cf8b26 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AdditionalAttributes <p>This entity defines the item related additional attributes to be assigned to sale return line item extensions during item registration</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Indicates whether hsn code should be added to sale return line item extension.<br /> HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes(bool? hsnRequired = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "hsnRequired" is required (not null) + if (hsnRequired == null) + { + throw new InvalidDataException("hsnRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes and cannot be null"); + } + else + { + this.HsnRequired = hsnRequired; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Indicates whether hsn code should be added to sale return line item extension.<br /> HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.</p> + /// + /// <p>Indicates whether hsn code should be added to sale return line item extension.<br /> HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.</p> + [DataMember(Name="hsnRequired", EmitDefaultValue=false)] + public bool? HsnRequired { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes {\n"); + sb.Append(" HsnRequired: ").Append(HsnRequired).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes input) + { + if (input == null) + return false; + + return + ( + this.HsnRequired == input.HsnRequired || + (this.HsnRequired != null && + this.HsnRequired.Equals(input.HsnRequired)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.HsnRequired != null) + hashCode = hashCode * 59 + this.HsnRequired.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..2345a3109e1dc79578096a11c60cec482a01ef39 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig.cs @@ -0,0 +1,635 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AllowedTendersConfig <p>This configuration entity defines the allowed tenders process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig : IEquatable, IValidatableObject + { + /// + /// <p>Type of additional allowed tender validation to perform for returns.</p> + /// + /// <p>Type of additional allowed tender validation to perform for returns.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ReturnTenderRuleEnum + { + + /// + /// Enum TOANY for value: RETURN_TO_ANY + /// + [EnumMember(Value = "RETURN_TO_ANY")] + TOANY = 1, + + /// + /// Enum TOANYMAPPED for value: RETURN_TO_ANY_MAPPED + /// + [EnumMember(Value = "RETURN_TO_ANY_MAPPED")] + TOANYMAPPED = 2, + + /// + /// Enum TENDERTOTALTOMAPPED for value: RETURN_TENDER_TOTAL_TO_MAPPED + /// + [EnumMember(Value = "RETURN_TENDER_TOTAL_TO_MAPPED")] + TENDERTOTALTOMAPPED = 3, + + /// + /// Enum ITEMTOTALTOMAPPED for value: RETURN_ITEM_TOTAL_TO_MAPPED + /// + [EnumMember(Value = "RETURN_ITEM_TOTAL_TO_MAPPED")] + ITEMTOTALTOMAPPED = 4 + } + + /// + /// <p>Type of additional allowed tender validation to perform for returns.</p> + /// + /// <p>Type of additional allowed tender validation to perform for returns.</p> + [DataMember(Name="returnTenderRule", EmitDefaultValue=false)] + public ReturnTenderRuleEnum ReturnTenderRule { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// <p>This parameter enables admissibility checks based on payin/payout reasons.</p> (required). + /// <p>This parameter enables admissibility checks based on a customer group assignment.</p> (required). + /// <p>This parameter enables additional admissibility checks in case of a negative receipt total.<br /> @deprecated - since 5.9.2 this is not longer used.<br /> Use instead: returnTenderRule<br /> false -&gt; RETURN_TO_ANY<br /> true -&gt; RETURN_TO_ANY_MAPPED</p> (required). + /// <p>Type of additional allowed tender validation to perform for returns.</p> (required). + /// <p>This parameter indicates whether tenders are used from the master data or taken from an existing collection for collection creation/updates.</p> (required). + /// <p>This parameter defines the tender filter rules chain (filters are executed in order).</p> (required). + /// <p>This parameter specifies whether it is possible to override the admissibility of the selected tender for a customer temporary.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), bool? checkReasonTender = default(bool?), bool? checkCustomerGroupTender = default(bool?), bool? checkNegativeTotal = default(bool?), ReturnTenderRuleEnum returnTenderRule = default(ReturnTenderRuleEnum), bool? useTenderFromMasterData = default(bool?), List filterRulesChain = default(List), bool? overrideAdmissibilityPossible = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "checkReasonTender" is required (not null) + if (checkReasonTender == null) + { + throw new InvalidDataException("checkReasonTender is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.CheckReasonTender = checkReasonTender; + } + // to ensure "checkCustomerGroupTender" is required (not null) + if (checkCustomerGroupTender == null) + { + throw new InvalidDataException("checkCustomerGroupTender is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.CheckCustomerGroupTender = checkCustomerGroupTender; + } + // to ensure "checkNegativeTotal" is required (not null) + if (checkNegativeTotal == null) + { + throw new InvalidDataException("checkNegativeTotal is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.CheckNegativeTotal = checkNegativeTotal; + } + // to ensure "returnTenderRule" is required (not null) + if (returnTenderRule == null) + { + throw new InvalidDataException("returnTenderRule is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.ReturnTenderRule = returnTenderRule; + } + // to ensure "useTenderFromMasterData" is required (not null) + if (useTenderFromMasterData == null) + { + throw new InvalidDataException("useTenderFromMasterData is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.UseTenderFromMasterData = useTenderFromMasterData; + } + // to ensure "filterRulesChain" is required (not null) + if (filterRulesChain == null) + { + throw new InvalidDataException("filterRulesChain is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.FilterRulesChain = filterRulesChain; + } + // to ensure "overrideAdmissibilityPossible" is required (not null) + if (overrideAdmissibilityPossible == null) + { + throw new InvalidDataException("overrideAdmissibilityPossible is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig and cannot be null"); + } + else + { + this.OverrideAdmissibilityPossible = overrideAdmissibilityPossible; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// <p>This parameter enables admissibility checks based on payin/payout reasons.</p> + /// + /// <p>This parameter enables admissibility checks based on payin/payout reasons.</p> + [DataMember(Name="checkReasonTender", EmitDefaultValue=false)] + public bool? CheckReasonTender { get; set; } + + /// + /// <p>This parameter enables admissibility checks based on a customer group assignment.</p> + /// + /// <p>This parameter enables admissibility checks based on a customer group assignment.</p> + [DataMember(Name="checkCustomerGroupTender", EmitDefaultValue=false)] + public bool? CheckCustomerGroupTender { get; set; } + + /// + /// <p>This parameter enables additional admissibility checks in case of a negative receipt total.<br /> @deprecated - since 5.9.2 this is not longer used.<br /> Use instead: returnTenderRule<br /> false -&gt; RETURN_TO_ANY<br /> true -&gt; RETURN_TO_ANY_MAPPED</p> + /// + /// <p>This parameter enables additional admissibility checks in case of a negative receipt total.<br /> @deprecated - since 5.9.2 this is not longer used.<br /> Use instead: returnTenderRule<br /> false -&gt; RETURN_TO_ANY<br /> true -&gt; RETURN_TO_ANY_MAPPED</p> + [DataMember(Name="checkNegativeTotal", EmitDefaultValue=false)] + public bool? CheckNegativeTotal { get; set; } + + + /// + /// <p>This parameter indicates whether tenders are used from the master data or taken from an existing collection for collection creation/updates.</p> + /// + /// <p>This parameter indicates whether tenders are used from the master data or taken from an existing collection for collection creation/updates.</p> + [DataMember(Name="useTenderFromMasterData", EmitDefaultValue=false)] + public bool? UseTenderFromMasterData { get; set; } + + /// + /// <p>This parameter defines the tender filter rules chain (filters are executed in order).</p> + /// + /// <p>This parameter defines the tender filter rules chain (filters are executed in order).</p> + [DataMember(Name="filterRulesChain", EmitDefaultValue=false)] + public List FilterRulesChain { get; set; } + + /// + /// <p>This parameter specifies whether it is possible to override the admissibility of the selected tender for a customer temporary.</p> + /// + /// <p>This parameter specifies whether it is possible to override the admissibility of the selected tender for a customer temporary.</p> + [DataMember(Name="overrideAdmissibilityPossible", EmitDefaultValue=false)] + public bool? OverrideAdmissibilityPossible { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" CheckReasonTender: ").Append(CheckReasonTender).Append("\n"); + sb.Append(" CheckCustomerGroupTender: ").Append(CheckCustomerGroupTender).Append("\n"); + sb.Append(" CheckNegativeTotal: ").Append(CheckNegativeTotal).Append("\n"); + sb.Append(" ReturnTenderRule: ").Append(ReturnTenderRule).Append("\n"); + sb.Append(" UseTenderFromMasterData: ").Append(UseTenderFromMasterData).Append("\n"); + sb.Append(" FilterRulesChain: ").Append(FilterRulesChain).Append("\n"); + sb.Append(" OverrideAdmissibilityPossible: ").Append(OverrideAdmissibilityPossible).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.CheckReasonTender == input.CheckReasonTender || + (this.CheckReasonTender != null && + this.CheckReasonTender.Equals(input.CheckReasonTender)) + ) && + ( + this.CheckCustomerGroupTender == input.CheckCustomerGroupTender || + (this.CheckCustomerGroupTender != null && + this.CheckCustomerGroupTender.Equals(input.CheckCustomerGroupTender)) + ) && + ( + this.CheckNegativeTotal == input.CheckNegativeTotal || + (this.CheckNegativeTotal != null && + this.CheckNegativeTotal.Equals(input.CheckNegativeTotal)) + ) && + ( + this.ReturnTenderRule == input.ReturnTenderRule || + (this.ReturnTenderRule != null && + this.ReturnTenderRule.Equals(input.ReturnTenderRule)) + ) && + ( + this.UseTenderFromMasterData == input.UseTenderFromMasterData || + (this.UseTenderFromMasterData != null && + this.UseTenderFromMasterData.Equals(input.UseTenderFromMasterData)) + ) && + ( + this.FilterRulesChain == input.FilterRulesChain || + this.FilterRulesChain != null && + this.FilterRulesChain.SequenceEqual(input.FilterRulesChain) + ) && + ( + this.OverrideAdmissibilityPossible == input.OverrideAdmissibilityPossible || + (this.OverrideAdmissibilityPossible != null && + this.OverrideAdmissibilityPossible.Equals(input.OverrideAdmissibilityPossible)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.CheckReasonTender != null) + hashCode = hashCode * 59 + this.CheckReasonTender.GetHashCode(); + if (this.CheckCustomerGroupTender != null) + hashCode = hashCode * 59 + this.CheckCustomerGroupTender.GetHashCode(); + if (this.CheckNegativeTotal != null) + hashCode = hashCode * 59 + this.CheckNegativeTotal.GetHashCode(); + if (this.ReturnTenderRule != null) + hashCode = hashCode * 59 + this.ReturnTenderRule.GetHashCode(); + if (this.UseTenderFromMasterData != null) + hashCode = hashCode * 59 + this.UseTenderFromMasterData.GetHashCode(); + if (this.FilterRulesChain != null) + hashCode = hashCode * 59 + this.FilterRulesChain.GetHashCode(); + if (this.OverrideAdmissibilityPossible != null) + hashCode = hashCode * 59 + this.OverrideAdmissibilityPossible.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..e36187630c22e0ebf0608685490ca1c9e141434b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig.cs @@ -0,0 +1,451 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AlternativeTaxConfig <p>Configuration for alternative tax process</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// alternativeTaxInfos (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "alternativeTaxInfos" is required (not null) + if (alternativeTaxInfos == null) + { + throw new InvalidDataException("alternativeTaxInfos is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig and cannot be null"); + } + else + { + this.AlternativeTaxInfos = alternativeTaxInfos; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// Gets or Sets AlternativeTaxInfos + /// + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos.cs new file mode 100644 index 0000000000000000000000000000000000000000..4de40453ba5a2fa18d7cc84e36bdb037911c20bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos.cs @@ -0,0 +1,231 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AlternativeTaxInfos <p>This configuration entity defines the AlternativeTaxInfos.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>List of merchandise categories for which the alternative sales tax is to be used.</p>. + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. The alternative tax will be applied to all line items with the merchandise hierarchy group defined in this list.</p><br /><p>If filled then the parameter alternativeTaxMerchandiseCategories will be ignored.</p>. + /// <p>Controls whether the merchandise category assignment is checked.</p><br /><p>True: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is checked.<br /> False: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is not checked.</p> (required). + /// <p>Alternative tax group</p>. + /// <p>false: The original tax group is used by default for each receipt. The toggle button is disabled.<br /> true: The alternative tax group is used by default for each receipt. The toggle button is enabled.</p> (required). + /// <p>List of tax groups for which the alternative sales tax is not applied.</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos(List alternativeTaxMerchandiseCategories = default(List), string alternativeTaxMerchandiseCategoryList = default(string), bool? checkMerchandiseCategory = default(bool?), string alternativeTaxGroupId = default(string), bool? alternativeTaxMode = default(bool?), List excludedTaxGroups = default(List)) + { + // to ensure "checkMerchandiseCategory" is required (not null) + if (checkMerchandiseCategory == null) + { + throw new InvalidDataException("checkMerchandiseCategory is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos and cannot be null"); + } + else + { + this.CheckMerchandiseCategory = checkMerchandiseCategory; + } + // to ensure "alternativeTaxMode" is required (not null) + if (alternativeTaxMode == null) + { + throw new InvalidDataException("alternativeTaxMode is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos and cannot be null"); + } + else + { + this.AlternativeTaxMode = alternativeTaxMode; + } + this.AlternativeTaxMerchandiseCategories = alternativeTaxMerchandiseCategories; + this.AlternativeTaxMerchandiseCategoryList = alternativeTaxMerchandiseCategoryList; + this.AlternativeTaxGroupId = alternativeTaxGroupId; + this.ExcludedTaxGroups = excludedTaxGroups; + } + + /// + /// <p>List of merchandise categories for which the alternative sales tax is to be used.</p> + /// + /// <p>List of merchandise categories for which the alternative sales tax is to be used.</p> + [DataMember(Name="alternativeTaxMerchandiseCategories", EmitDefaultValue=false)] + public List AlternativeTaxMerchandiseCategories { get; set; } + + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. The alternative tax will be applied to all line items with the merchandise hierarchy group defined in this list.</p><br /><p>If filled then the parameter alternativeTaxMerchandiseCategories will be ignored.</p> + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. The alternative tax will be applied to all line items with the merchandise hierarchy group defined in this list.</p><br /><p>If filled then the parameter alternativeTaxMerchandiseCategories will be ignored.</p> + [DataMember(Name="alternativeTaxMerchandiseCategoryList", EmitDefaultValue=false)] + public string AlternativeTaxMerchandiseCategoryList { get; set; } + + /// + /// <p>Controls whether the merchandise category assignment is checked.</p><br /><p>True: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is checked.<br /> False: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is not checked.</p> + /// + /// <p>Controls whether the merchandise category assignment is checked.</p><br /><p>True: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is checked.<br /> False: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is not checked.</p> + [DataMember(Name="checkMerchandiseCategory", EmitDefaultValue=false)] + public bool? CheckMerchandiseCategory { get; set; } + + /// + /// <p>Alternative tax group</p> + /// + /// <p>Alternative tax group</p> + [DataMember(Name="alternativeTaxGroupId", EmitDefaultValue=false)] + public string AlternativeTaxGroupId { get; set; } + + /// + /// <p>false: The original tax group is used by default for each receipt. The toggle button is disabled.<br /> true: The alternative tax group is used by default for each receipt. The toggle button is enabled.</p> + /// + /// <p>false: The original tax group is used by default for each receipt. The toggle button is disabled.<br /> true: The alternative tax group is used by default for each receipt. The toggle button is enabled.</p> + [DataMember(Name="alternativeTaxMode", EmitDefaultValue=false)] + public bool? AlternativeTaxMode { get; set; } + + /// + /// <p>List of tax groups for which the alternative sales tax is not applied.</p> + /// + /// <p>List of tax groups for which the alternative sales tax is not applied.</p> + [DataMember(Name="excludedTaxGroups", EmitDefaultValue=false)] + public List ExcludedTaxGroups { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos {\n"); + sb.Append(" AlternativeTaxMerchandiseCategories: ").Append(AlternativeTaxMerchandiseCategories).Append("\n"); + sb.Append(" AlternativeTaxMerchandiseCategoryList: ").Append(AlternativeTaxMerchandiseCategoryList).Append("\n"); + sb.Append(" CheckMerchandiseCategory: ").Append(CheckMerchandiseCategory).Append("\n"); + sb.Append(" AlternativeTaxGroupId: ").Append(AlternativeTaxGroupId).Append("\n"); + sb.Append(" AlternativeTaxMode: ").Append(AlternativeTaxMode).Append("\n"); + sb.Append(" ExcludedTaxGroups: ").Append(ExcludedTaxGroups).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos input) + { + if (input == null) + return false; + + return + ( + this.AlternativeTaxMerchandiseCategories == input.AlternativeTaxMerchandiseCategories || + this.AlternativeTaxMerchandiseCategories != null && + this.AlternativeTaxMerchandiseCategories.SequenceEqual(input.AlternativeTaxMerchandiseCategories) + ) && + ( + this.AlternativeTaxMerchandiseCategoryList == input.AlternativeTaxMerchandiseCategoryList || + (this.AlternativeTaxMerchandiseCategoryList != null && + this.AlternativeTaxMerchandiseCategoryList.Equals(input.AlternativeTaxMerchandiseCategoryList)) + ) && + ( + this.CheckMerchandiseCategory == input.CheckMerchandiseCategory || + (this.CheckMerchandiseCategory != null && + this.CheckMerchandiseCategory.Equals(input.CheckMerchandiseCategory)) + ) && + ( + this.AlternativeTaxGroupId == input.AlternativeTaxGroupId || + (this.AlternativeTaxGroupId != null && + this.AlternativeTaxGroupId.Equals(input.AlternativeTaxGroupId)) + ) && + ( + this.AlternativeTaxMode == input.AlternativeTaxMode || + (this.AlternativeTaxMode != null && + this.AlternativeTaxMode.Equals(input.AlternativeTaxMode)) + ) && + ( + this.ExcludedTaxGroups == input.ExcludedTaxGroups || + this.ExcludedTaxGroups != null && + this.ExcludedTaxGroups.SequenceEqual(input.ExcludedTaxGroups) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AlternativeTaxMerchandiseCategories != null) + hashCode = hashCode * 59 + this.AlternativeTaxMerchandiseCategories.GetHashCode(); + if (this.AlternativeTaxMerchandiseCategoryList != null) + hashCode = hashCode * 59 + this.AlternativeTaxMerchandiseCategoryList.GetHashCode(); + if (this.CheckMerchandiseCategory != null) + hashCode = hashCode * 59 + this.CheckMerchandiseCategory.GetHashCode(); + if (this.AlternativeTaxGroupId != null) + hashCode = hashCode * 59 + this.AlternativeTaxGroupId.GetHashCode(); + if (this.AlternativeTaxMode != null) + hashCode = hashCode * 59 + this.AlternativeTaxMode.GetHashCode(); + if (this.ExcludedTaxGroups != null) + hashCode = hashCode * 59 + this.ExcludedTaxGroups.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..431eb6058ac61a834d054e51ae982c10cc69a8fa --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig.cs @@ -0,0 +1,848 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AuthorizationConfig <p>This configuration entity defines authorization related topics.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines the mode of authorization.</p><br /><pre>value: AuthorizationMode [SINGLE, FOUREYES]<br /></pre><br /><ul><br /> <li>Single as 'SINGLE',</li><br /> <li>FourEyes as 'FOUR_EYES'</li><br /></ul> + /// + /// <p>This parameter defines the mode of authorization.</p><br /><pre>value: AuthorizationMode [SINGLE, FOUREYES]<br /></pre><br /><ul><br /> <li>Single as 'SINGLE',</li><br /> <li>FourEyes as 'FOUR_EYES'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum AuthorizationModeEnum + { + + /// + /// Enum Single for value: Single + /// + [EnumMember(Value = "Single")] + Single = 1, + + /// + /// Enum FourEyes for value: FourEyes + /// + [EnumMember(Value = "FourEyes")] + FourEyes = 2 + } + + /// + /// <p>This parameter defines the mode of authorization.</p><br /><pre>value: AuthorizationMode [SINGLE, FOUREYES]<br /></pre><br /><ul><br /> <li>Single as 'SINGLE',</li><br /> <li>FourEyes as 'FOUR_EYES'</li><br /></ul> + /// + /// <p>This parameter defines the mode of authorization.</p><br /><pre>value: AuthorizationMode [SINGLE, FOUREYES]<br /></pre><br /><ul><br /> <li>Single as 'SINGLE',</li><br /> <li>FourEyes as 'FOUR_EYES'</li><br /></ul> + [DataMember(Name="authorizationMode", EmitDefaultValue=false)] + public AuthorizationModeEnum AuthorizationMode { get; set; } + /// + /// <p>This parameter specifies the dialog type.</p><br /><pre>value: AuthorizationDialogType [MANUAL, SCAN]<br /></pre><br /><ul><br /> <li>Manual as 'INPUT_FIELD': This setting allows both, manual input and authorization by barcode/msr scanner.</li><br /> <li>Scan as 'SCAN_EXPECT': Only the authorization by barcode/msr scanner is allowed (no manual input is possible).</li><br /></ul> + /// + /// <p>This parameter specifies the dialog type.</p><br /><pre>value: AuthorizationDialogType [MANUAL, SCAN]<br /></pre><br /><ul><br /> <li>Manual as 'INPUT_FIELD': This setting allows both, manual input and authorization by barcode/msr scanner.</li><br /> <li>Scan as 'SCAN_EXPECT': Only the authorization by barcode/msr scanner is allowed (no manual input is possible).</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum DialogTypeEnum + { + + /// + /// Enum Manual for value: Manual + /// + [EnumMember(Value = "Manual")] + Manual = 1, + + /// + /// Enum Scan for value: Scan + /// + [EnumMember(Value = "Scan")] + Scan = 2 + } + + /// + /// <p>This parameter specifies the dialog type.</p><br /><pre>value: AuthorizationDialogType [MANUAL, SCAN]<br /></pre><br /><ul><br /> <li>Manual as 'INPUT_FIELD': This setting allows both, manual input and authorization by barcode/msr scanner.</li><br /> <li>Scan as 'SCAN_EXPECT': Only the authorization by barcode/msr scanner is allowed (no manual input is possible).</li><br /></ul> + /// + /// <p>This parameter specifies the dialog type.</p><br /><pre>value: AuthorizationDialogType [MANUAL, SCAN]<br /></pre><br /><ul><br /> <li>Manual as 'INPUT_FIELD': This setting allows both, manual input and authorization by barcode/msr scanner.</li><br /> <li>Scan as 'SCAN_EXPECT': Only the authorization by barcode/msr scanner is allowed (no manual input is possible).</li><br /></ul> + [DataMember(Name="dialogType", EmitDefaultValue=false)] + public DialogTypeEnum DialogType { get; set; } + /// + /// <p>This parameter defines pos group operator selection action.</p> + /// + /// <p>This parameter defines pos group operator selection action.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum OperatorSelectionActionEnum + { + + /// + /// Enum ALWAYS for value: ASK_ALWAYS + /// + [EnumMember(Value = "ASK_ALWAYS")] + ALWAYS = 1, + + /// + /// Enum IFNOTAVAILABLE for value: ASK_IF_NOT_AVAILABLE + /// + [EnumMember(Value = "ASK_IF_NOT_AVAILABLE")] + IFNOTAVAILABLE = 2, + + /// + /// Enum NEVER for value: ASK_NEVER + /// + [EnumMember(Value = "ASK_NEVER")] + NEVER = 3 + } + + /// + /// <p>This parameter defines pos group operator selection action.</p> + /// + /// <p>This parameter defines pos group operator selection action.</p> + [DataMember(Name="operatorSelectionAction", EmitDefaultValue=false)] + public OperatorSelectionActionEnum? OperatorSelectionAction { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter indicates whether an explicit authorization is needed or not.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>If the parameter authorizationRequired is enabled the operator permissions are checked against this right.</p> (required). + /// <p>This parameter defines the mode of authorization.</p><br /><pre>value: AuthorizationMode [SINGLE, FOUREYES]<br /></pre><br /><ul><br /> <li>Single as 'SINGLE',</li><br /> <li>FourEyes as 'FOUR_EYES'</li><br /></ul> (required). + /// <p>This parameter specifies whether a cancellation is allowed. If it is set to true the authorization is allowed to be cancelled.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the password is required to pass the authorization.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies the dialog type.</p><br /><pre>value: AuthorizationDialogType [MANUAL, SCAN]<br /></pre><br /><ul><br /> <li>Manual as 'INPUT_FIELD': This setting allows both, manual input and authorization by barcode/msr scanner.</li><br /> <li>Scan as 'SCAN_EXPECT': Only the authorization by barcode/msr scanner is allowed (no manual input is possible).</li><br /></ul> (required). + /// <p>This parameter is only relevant for the four eyes authorization.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>true - The second user must have rights to run the process.</li><br /> <li>false - The authorization succeeds if any of the users has rights to start process.</li><br /></ul>. + /// <p>This parameter specifies the predefined login name.</p>. + /// <p>This parameter defines the translation key for the name of the authorizing process.</p>. + /// <p>Prepared reason text of the authorizing process.</p>. + /// <p>Translation key for the reason text of the authorizing process.</p>. + /// <p>Placeholder parameters for the reason text of the authorizing process.</p>. + /// <p>True - Regardless of whether an authorization has already been done in the current receipt,</p><br /><pre> the authorization shall be carried out.<br /></pre><br /><p>False: Is already noted a sufficient authorization, then this is used.</p> (required). + /// <p>True - resourceId will be stored to line Item.</p> (required). + /// <p>False - resourceId will be not stored in RetailTransaction.</p> (required). + /// <p>False - resourceId will be not stored in ControlTransaction.</p> (required). + /// <p>False - resourceId will be not stored in TenderControlTransaction.</p> (required). + /// <p>True: Error if no POS Group operator is active. Null/False: No activate POS Group operator check.</p>. + /// <p>This parameter defines pos group operator selection action.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig(bool? authorizationRequired = default(bool?), string requiredRight = default(string), AuthorizationModeEnum authorizationMode = default(AuthorizationModeEnum), bool? cancellationAllowed = default(bool?), bool? passwordRequired = default(bool?), DialogTypeEnum dialogType = default(DialogTypeEnum), bool? checkSecondUserRights = default(bool?), string loginName = default(string), string authorizingProcessNameKey = default(string), string authorizingReasonText = default(string), string authorizingReasonTextKey = default(string), List authorizingReasonTextParameters = default(List), bool? askIfAlreadyAuthorized = default(bool?), bool? lineItemRelevant = default(bool?), bool? retailTransactionRelevant = default(bool?), bool? controlTransactionRelevant = default(bool?), bool? tenderControlTransactionRelevant = default(bool?), bool? activeOperatorRequired = default(bool?), OperatorSelectionActionEnum? operatorSelectionAction = default(OperatorSelectionActionEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "authorizationRequired" is required (not null) + if (authorizationRequired == null) + { + throw new InvalidDataException("authorizationRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.AuthorizationRequired = authorizationRequired; + } + // to ensure "requiredRight" is required (not null) + if (requiredRight == null) + { + throw new InvalidDataException("requiredRight is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.RequiredRight = requiredRight; + } + // to ensure "authorizationMode" is required (not null) + if (authorizationMode == null) + { + throw new InvalidDataException("authorizationMode is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.AuthorizationMode = authorizationMode; + } + // to ensure "cancellationAllowed" is required (not null) + if (cancellationAllowed == null) + { + throw new InvalidDataException("cancellationAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.CancellationAllowed = cancellationAllowed; + } + // to ensure "passwordRequired" is required (not null) + if (passwordRequired == null) + { + throw new InvalidDataException("passwordRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.PasswordRequired = passwordRequired; + } + // to ensure "dialogType" is required (not null) + if (dialogType == null) + { + throw new InvalidDataException("dialogType is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.DialogType = dialogType; + } + // to ensure "askIfAlreadyAuthorized" is required (not null) + if (askIfAlreadyAuthorized == null) + { + throw new InvalidDataException("askIfAlreadyAuthorized is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.AskIfAlreadyAuthorized = askIfAlreadyAuthorized; + } + // to ensure "lineItemRelevant" is required (not null) + if (lineItemRelevant == null) + { + throw new InvalidDataException("lineItemRelevant is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.LineItemRelevant = lineItemRelevant; + } + // to ensure "retailTransactionRelevant" is required (not null) + if (retailTransactionRelevant == null) + { + throw new InvalidDataException("retailTransactionRelevant is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.RetailTransactionRelevant = retailTransactionRelevant; + } + // to ensure "controlTransactionRelevant" is required (not null) + if (controlTransactionRelevant == null) + { + throw new InvalidDataException("controlTransactionRelevant is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.ControlTransactionRelevant = controlTransactionRelevant; + } + // to ensure "tenderControlTransactionRelevant" is required (not null) + if (tenderControlTransactionRelevant == null) + { + throw new InvalidDataException("tenderControlTransactionRelevant is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig and cannot be null"); + } + else + { + this.TenderControlTransactionRelevant = tenderControlTransactionRelevant; + } + this.CheckSecondUserRights = checkSecondUserRights; + this.LoginName = loginName; + this.AuthorizingProcessNameKey = authorizingProcessNameKey; + this.AuthorizingReasonText = authorizingReasonText; + this.AuthorizingReasonTextKey = authorizingReasonTextKey; + this.AuthorizingReasonTextParameters = authorizingReasonTextParameters; + this.ActiveOperatorRequired = activeOperatorRequired; + this.OperatorSelectionAction = operatorSelectionAction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter indicates whether an explicit authorization is needed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether an explicit authorization is needed or not.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="authorizationRequired", EmitDefaultValue=false)] + public bool? AuthorizationRequired { get; set; } + + /// + /// <p>If the parameter authorizationRequired is enabled the operator permissions are checked against this right.</p> + /// + /// <p>If the parameter authorizationRequired is enabled the operator permissions are checked against this right.</p> + [DataMember(Name="requiredRight", EmitDefaultValue=false)] + public string RequiredRight { get; set; } + + + /// + /// <p>This parameter specifies whether a cancellation is allowed. If it is set to true the authorization is allowed to be cancelled.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a cancellation is allowed. If it is set to true the authorization is allowed to be cancelled.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="cancellationAllowed", EmitDefaultValue=false)] + public bool? CancellationAllowed { get; set; } + + /// + /// <p>This parameter specifies whether the password is required to pass the authorization.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the password is required to pass the authorization.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="passwordRequired", EmitDefaultValue=false)] + public bool? PasswordRequired { get; set; } + + + /// + /// <p>This parameter is only relevant for the four eyes authorization.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>true - The second user must have rights to run the process.</li><br /> <li>false - The authorization succeeds if any of the users has rights to start process.</li><br /></ul> + /// + /// <p>This parameter is only relevant for the four eyes authorization.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>true - The second user must have rights to run the process.</li><br /> <li>false - The authorization succeeds if any of the users has rights to start process.</li><br /></ul> + [DataMember(Name="checkSecondUserRights", EmitDefaultValue=false)] + public bool? CheckSecondUserRights { get; set; } + + /// + /// <p>This parameter specifies the predefined login name.</p> + /// + /// <p>This parameter specifies the predefined login name.</p> + [DataMember(Name="loginName", EmitDefaultValue=false)] + public string LoginName { get; set; } + + /// + /// <p>This parameter defines the translation key for the name of the authorizing process.</p> + /// + /// <p>This parameter defines the translation key for the name of the authorizing process.</p> + [DataMember(Name="authorizingProcessNameKey", EmitDefaultValue=false)] + public string AuthorizingProcessNameKey { get; set; } + + /// + /// <p>Prepared reason text of the authorizing process.</p> + /// + /// <p>Prepared reason text of the authorizing process.</p> + [DataMember(Name="authorizingReasonText", EmitDefaultValue=false)] + public string AuthorizingReasonText { get; set; } + + /// + /// <p>Translation key for the reason text of the authorizing process.</p> + /// + /// <p>Translation key for the reason text of the authorizing process.</p> + [DataMember(Name="authorizingReasonTextKey", EmitDefaultValue=false)] + public string AuthorizingReasonTextKey { get; set; } + + /// + /// <p>Placeholder parameters for the reason text of the authorizing process.</p> + /// + /// <p>Placeholder parameters for the reason text of the authorizing process.</p> + [DataMember(Name="authorizingReasonTextParameters", EmitDefaultValue=false)] + public List AuthorizingReasonTextParameters { get; set; } + + /// + /// <p>True - Regardless of whether an authorization has already been done in the current receipt,</p><br /><pre> the authorization shall be carried out.<br /></pre><br /><p>False: Is already noted a sufficient authorization, then this is used.</p> + /// + /// <p>True - Regardless of whether an authorization has already been done in the current receipt,</p><br /><pre> the authorization shall be carried out.<br /></pre><br /><p>False: Is already noted a sufficient authorization, then this is used.</p> + [DataMember(Name="askIfAlreadyAuthorized", EmitDefaultValue=false)] + public bool? AskIfAlreadyAuthorized { get; set; } + + /// + /// <p>True - resourceId will be stored to line Item.</p> + /// + /// <p>True - resourceId will be stored to line Item.</p> + [DataMember(Name="lineItemRelevant", EmitDefaultValue=false)] + public bool? LineItemRelevant { get; set; } + + /// + /// <p>False - resourceId will be not stored in RetailTransaction.</p> + /// + /// <p>False - resourceId will be not stored in RetailTransaction.</p> + [DataMember(Name="retailTransactionRelevant", EmitDefaultValue=false)] + public bool? RetailTransactionRelevant { get; set; } + + /// + /// <p>False - resourceId will be not stored in ControlTransaction.</p> + /// + /// <p>False - resourceId will be not stored in ControlTransaction.</p> + [DataMember(Name="controlTransactionRelevant", EmitDefaultValue=false)] + public bool? ControlTransactionRelevant { get; set; } + + /// + /// <p>False - resourceId will be not stored in TenderControlTransaction.</p> + /// + /// <p>False - resourceId will be not stored in TenderControlTransaction.</p> + [DataMember(Name="tenderControlTransactionRelevant", EmitDefaultValue=false)] + public bool? TenderControlTransactionRelevant { get; set; } + + /// + /// <p>True: Error if no POS Group operator is active. Null/False: No activate POS Group operator check.</p> + /// + /// <p>True: Error if no POS Group operator is active. Null/False: No activate POS Group operator check.</p> + [DataMember(Name="activeOperatorRequired", EmitDefaultValue=false)] + public bool? ActiveOperatorRequired { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig {\n"); + sb.Append(" AuthorizationRequired: ").Append(AuthorizationRequired).Append("\n"); + sb.Append(" RequiredRight: ").Append(RequiredRight).Append("\n"); + sb.Append(" AuthorizationMode: ").Append(AuthorizationMode).Append("\n"); + sb.Append(" CancellationAllowed: ").Append(CancellationAllowed).Append("\n"); + sb.Append(" PasswordRequired: ").Append(PasswordRequired).Append("\n"); + sb.Append(" DialogType: ").Append(DialogType).Append("\n"); + sb.Append(" CheckSecondUserRights: ").Append(CheckSecondUserRights).Append("\n"); + sb.Append(" LoginName: ").Append(LoginName).Append("\n"); + sb.Append(" AuthorizingProcessNameKey: ").Append(AuthorizingProcessNameKey).Append("\n"); + sb.Append(" AuthorizingReasonText: ").Append(AuthorizingReasonText).Append("\n"); + sb.Append(" AuthorizingReasonTextKey: ").Append(AuthorizingReasonTextKey).Append("\n"); + sb.Append(" AuthorizingReasonTextParameters: ").Append(AuthorizingReasonTextParameters).Append("\n"); + sb.Append(" AskIfAlreadyAuthorized: ").Append(AskIfAlreadyAuthorized).Append("\n"); + sb.Append(" LineItemRelevant: ").Append(LineItemRelevant).Append("\n"); + sb.Append(" RetailTransactionRelevant: ").Append(RetailTransactionRelevant).Append("\n"); + sb.Append(" ControlTransactionRelevant: ").Append(ControlTransactionRelevant).Append("\n"); + sb.Append(" TenderControlTransactionRelevant: ").Append(TenderControlTransactionRelevant).Append("\n"); + sb.Append(" ActiveOperatorRequired: ").Append(ActiveOperatorRequired).Append("\n"); + sb.Append(" OperatorSelectionAction: ").Append(OperatorSelectionAction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig input) + { + if (input == null) + return false; + + return + ( + this.AuthorizationRequired == input.AuthorizationRequired || + (this.AuthorizationRequired != null && + this.AuthorizationRequired.Equals(input.AuthorizationRequired)) + ) && + ( + this.RequiredRight == input.RequiredRight || + (this.RequiredRight != null && + this.RequiredRight.Equals(input.RequiredRight)) + ) && + ( + this.AuthorizationMode == input.AuthorizationMode || + (this.AuthorizationMode != null && + this.AuthorizationMode.Equals(input.AuthorizationMode)) + ) && + ( + this.CancellationAllowed == input.CancellationAllowed || + (this.CancellationAllowed != null && + this.CancellationAllowed.Equals(input.CancellationAllowed)) + ) && + ( + this.PasswordRequired == input.PasswordRequired || + (this.PasswordRequired != null && + this.PasswordRequired.Equals(input.PasswordRequired)) + ) && + ( + this.DialogType == input.DialogType || + (this.DialogType != null && + this.DialogType.Equals(input.DialogType)) + ) && + ( + this.CheckSecondUserRights == input.CheckSecondUserRights || + (this.CheckSecondUserRights != null && + this.CheckSecondUserRights.Equals(input.CheckSecondUserRights)) + ) && + ( + this.LoginName == input.LoginName || + (this.LoginName != null && + this.LoginName.Equals(input.LoginName)) + ) && + ( + this.AuthorizingProcessNameKey == input.AuthorizingProcessNameKey || + (this.AuthorizingProcessNameKey != null && + this.AuthorizingProcessNameKey.Equals(input.AuthorizingProcessNameKey)) + ) && + ( + this.AuthorizingReasonText == input.AuthorizingReasonText || + (this.AuthorizingReasonText != null && + this.AuthorizingReasonText.Equals(input.AuthorizingReasonText)) + ) && + ( + this.AuthorizingReasonTextKey == input.AuthorizingReasonTextKey || + (this.AuthorizingReasonTextKey != null && + this.AuthorizingReasonTextKey.Equals(input.AuthorizingReasonTextKey)) + ) && + ( + this.AuthorizingReasonTextParameters == input.AuthorizingReasonTextParameters || + this.AuthorizingReasonTextParameters != null && + this.AuthorizingReasonTextParameters.SequenceEqual(input.AuthorizingReasonTextParameters) + ) && + ( + this.AskIfAlreadyAuthorized == input.AskIfAlreadyAuthorized || + (this.AskIfAlreadyAuthorized != null && + this.AskIfAlreadyAuthorized.Equals(input.AskIfAlreadyAuthorized)) + ) && + ( + this.LineItemRelevant == input.LineItemRelevant || + (this.LineItemRelevant != null && + this.LineItemRelevant.Equals(input.LineItemRelevant)) + ) && + ( + this.RetailTransactionRelevant == input.RetailTransactionRelevant || + (this.RetailTransactionRelevant != null && + this.RetailTransactionRelevant.Equals(input.RetailTransactionRelevant)) + ) && + ( + this.ControlTransactionRelevant == input.ControlTransactionRelevant || + (this.ControlTransactionRelevant != null && + this.ControlTransactionRelevant.Equals(input.ControlTransactionRelevant)) + ) && + ( + this.TenderControlTransactionRelevant == input.TenderControlTransactionRelevant || + (this.TenderControlTransactionRelevant != null && + this.TenderControlTransactionRelevant.Equals(input.TenderControlTransactionRelevant)) + ) && + ( + this.ActiveOperatorRequired == input.ActiveOperatorRequired || + (this.ActiveOperatorRequired != null && + this.ActiveOperatorRequired.Equals(input.ActiveOperatorRequired)) + ) && + ( + this.OperatorSelectionAction == input.OperatorSelectionAction || + (this.OperatorSelectionAction != null && + this.OperatorSelectionAction.Equals(input.OperatorSelectionAction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AuthorizationRequired != null) + hashCode = hashCode * 59 + this.AuthorizationRequired.GetHashCode(); + if (this.RequiredRight != null) + hashCode = hashCode * 59 + this.RequiredRight.GetHashCode(); + if (this.AuthorizationMode != null) + hashCode = hashCode * 59 + this.AuthorizationMode.GetHashCode(); + if (this.CancellationAllowed != null) + hashCode = hashCode * 59 + this.CancellationAllowed.GetHashCode(); + if (this.PasswordRequired != null) + hashCode = hashCode * 59 + this.PasswordRequired.GetHashCode(); + if (this.DialogType != null) + hashCode = hashCode * 59 + this.DialogType.GetHashCode(); + if (this.CheckSecondUserRights != null) + hashCode = hashCode * 59 + this.CheckSecondUserRights.GetHashCode(); + if (this.LoginName != null) + hashCode = hashCode * 59 + this.LoginName.GetHashCode(); + if (this.AuthorizingProcessNameKey != null) + hashCode = hashCode * 59 + this.AuthorizingProcessNameKey.GetHashCode(); + if (this.AuthorizingReasonText != null) + hashCode = hashCode * 59 + this.AuthorizingReasonText.GetHashCode(); + if (this.AuthorizingReasonTextKey != null) + hashCode = hashCode * 59 + this.AuthorizingReasonTextKey.GetHashCode(); + if (this.AuthorizingReasonTextParameters != null) + hashCode = hashCode * 59 + this.AuthorizingReasonTextParameters.GetHashCode(); + if (this.AskIfAlreadyAuthorized != null) + hashCode = hashCode * 59 + this.AskIfAlreadyAuthorized.GetHashCode(); + if (this.LineItemRelevant != null) + hashCode = hashCode * 59 + this.LineItemRelevant.GetHashCode(); + if (this.RetailTransactionRelevant != null) + hashCode = hashCode * 59 + this.RetailTransactionRelevant.GetHashCode(); + if (this.ControlTransactionRelevant != null) + hashCode = hashCode * 59 + this.ControlTransactionRelevant.GetHashCode(); + if (this.TenderControlTransactionRelevant != null) + hashCode = hashCode * 59 + this.TenderControlTransactionRelevant.GetHashCode(); + if (this.ActiveOperatorRequired != null) + hashCode = hashCode * 59 + this.ActiveOperatorRequired.GetHashCode(); + if (this.OperatorSelectionAction != null) + hashCode = hashCode * 59 + this.OperatorSelectionAction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..4107c20b0792d58e562e23d7cb397061fceb22f2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig.cs @@ -0,0 +1,518 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ConditionSplitConfig <p>The condition split config.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>List of condition types for price reduction</p> (required). + /// <p>RoundingConfig for discounts.</p> (required). + /// <p>RoundingConfig for manual discounts.</p> (required). + /// <p>RoundingConfig for the final price.</p> (required). + /// <p>RoundingConfig for points.</p> (required). + /// <p>It defines if the correction of rounding differences is processed.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig(List manualDiscountTypes = default(List), ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig discountRoundingConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig), ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig manualDiscountRoundingConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig), ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig finalPriceRoundingConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig), ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig pointsRoundingConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig), bool? finalRoundingDifferenceCorrectionEnabled = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "manualDiscountTypes" is required (not null) + if (manualDiscountTypes == null) + { + throw new InvalidDataException("manualDiscountTypes is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig and cannot be null"); + } + else + { + this.ManualDiscountTypes = manualDiscountTypes; + } + // to ensure "discountRoundingConfig" is required (not null) + if (discountRoundingConfig == null) + { + throw new InvalidDataException("discountRoundingConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig and cannot be null"); + } + else + { + this.DiscountRoundingConfig = discountRoundingConfig; + } + // to ensure "manualDiscountRoundingConfig" is required (not null) + if (manualDiscountRoundingConfig == null) + { + throw new InvalidDataException("manualDiscountRoundingConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig and cannot be null"); + } + else + { + this.ManualDiscountRoundingConfig = manualDiscountRoundingConfig; + } + // to ensure "finalPriceRoundingConfig" is required (not null) + if (finalPriceRoundingConfig == null) + { + throw new InvalidDataException("finalPriceRoundingConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig and cannot be null"); + } + else + { + this.FinalPriceRoundingConfig = finalPriceRoundingConfig; + } + // to ensure "pointsRoundingConfig" is required (not null) + if (pointsRoundingConfig == null) + { + throw new InvalidDataException("pointsRoundingConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig and cannot be null"); + } + else + { + this.PointsRoundingConfig = pointsRoundingConfig; + } + // to ensure "finalRoundingDifferenceCorrectionEnabled" is required (not null) + if (finalRoundingDifferenceCorrectionEnabled == null) + { + throw new InvalidDataException("finalRoundingDifferenceCorrectionEnabled is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig and cannot be null"); + } + else + { + this.FinalRoundingDifferenceCorrectionEnabled = finalRoundingDifferenceCorrectionEnabled; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of condition types for price reduction</p> + /// + /// <p>List of condition types for price reduction</p> + [DataMember(Name="manualDiscountTypes", EmitDefaultValue=false)] + public List ManualDiscountTypes { get; set; } + + /// + /// <p>RoundingConfig for discounts.</p> + /// + /// <p>RoundingConfig for discounts.</p> + [DataMember(Name="discountRoundingConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig DiscountRoundingConfig { get; set; } + + /// + /// <p>RoundingConfig for manual discounts.</p> + /// + /// <p>RoundingConfig for manual discounts.</p> + [DataMember(Name="manualDiscountRoundingConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig ManualDiscountRoundingConfig { get; set; } + + /// + /// <p>RoundingConfig for the final price.</p> + /// + /// <p>RoundingConfig for the final price.</p> + [DataMember(Name="finalPriceRoundingConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig FinalPriceRoundingConfig { get; set; } + + /// + /// <p>RoundingConfig for points.</p> + /// + /// <p>RoundingConfig for points.</p> + [DataMember(Name="pointsRoundingConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig PointsRoundingConfig { get; set; } + + /// + /// <p>It defines if the correction of rounding differences is processed.</p> + /// + /// <p>It defines if the correction of rounding differences is processed.</p> + [DataMember(Name="finalRoundingDifferenceCorrectionEnabled", EmitDefaultValue=false)] + public bool? FinalRoundingDifferenceCorrectionEnabled { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig {\n"); + sb.Append(" ManualDiscountTypes: ").Append(ManualDiscountTypes).Append("\n"); + sb.Append(" DiscountRoundingConfig: ").Append(DiscountRoundingConfig).Append("\n"); + sb.Append(" ManualDiscountRoundingConfig: ").Append(ManualDiscountRoundingConfig).Append("\n"); + sb.Append(" FinalPriceRoundingConfig: ").Append(FinalPriceRoundingConfig).Append("\n"); + sb.Append(" PointsRoundingConfig: ").Append(PointsRoundingConfig).Append("\n"); + sb.Append(" FinalRoundingDifferenceCorrectionEnabled: ").Append(FinalRoundingDifferenceCorrectionEnabled).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig input) + { + if (input == null) + return false; + + return + ( + this.ManualDiscountTypes == input.ManualDiscountTypes || + this.ManualDiscountTypes != null && + this.ManualDiscountTypes.SequenceEqual(input.ManualDiscountTypes) + ) && + ( + this.DiscountRoundingConfig == input.DiscountRoundingConfig || + (this.DiscountRoundingConfig != null && + this.DiscountRoundingConfig.Equals(input.DiscountRoundingConfig)) + ) && + ( + this.ManualDiscountRoundingConfig == input.ManualDiscountRoundingConfig || + (this.ManualDiscountRoundingConfig != null && + this.ManualDiscountRoundingConfig.Equals(input.ManualDiscountRoundingConfig)) + ) && + ( + this.FinalPriceRoundingConfig == input.FinalPriceRoundingConfig || + (this.FinalPriceRoundingConfig != null && + this.FinalPriceRoundingConfig.Equals(input.FinalPriceRoundingConfig)) + ) && + ( + this.PointsRoundingConfig == input.PointsRoundingConfig || + (this.PointsRoundingConfig != null && + this.PointsRoundingConfig.Equals(input.PointsRoundingConfig)) + ) && + ( + this.FinalRoundingDifferenceCorrectionEnabled == input.FinalRoundingDifferenceCorrectionEnabled || + (this.FinalRoundingDifferenceCorrectionEnabled != null && + this.FinalRoundingDifferenceCorrectionEnabled.Equals(input.FinalRoundingDifferenceCorrectionEnabled)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ManualDiscountTypes != null) + hashCode = hashCode * 59 + this.ManualDiscountTypes.GetHashCode(); + if (this.DiscountRoundingConfig != null) + hashCode = hashCode * 59 + this.DiscountRoundingConfig.GetHashCode(); + if (this.ManualDiscountRoundingConfig != null) + hashCode = hashCode * 59 + this.ManualDiscountRoundingConfig.GetHashCode(); + if (this.FinalPriceRoundingConfig != null) + hashCode = hashCode * 59 + this.FinalPriceRoundingConfig.GetHashCode(); + if (this.PointsRoundingConfig != null) + hashCode = hashCode * 59 + this.PointsRoundingConfig.GetHashCode(); + if (this.FinalRoundingDifferenceCorrectionEnabled != null) + hashCode = hashCode * 59 + this.FinalRoundingDifferenceCorrectionEnabled.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..965a01b5c9400a8098f55278763653998951ba59 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig.cs @@ -0,0 +1,470 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ConditionSplitRoundingConfig <p>The condition split rounding config.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig : IEquatable, IValidatableObject + { + /// + /// <p>It defines the rounding method for money discounts.<br /><ul><br /><li>Down = Round down</li><br /><li>Up = Round up</li><br /><li>Commercial = Commercial rounding</li><br /></ul><br /><p>One value from the list.</p> + /// + /// <p>It defines the rounding method for money discounts.<br /><ul><br /><li>Down = Round down</li><br /><li>Up = Round up</li><br /><li>Commercial = Commercial rounding</li><br /></ul><br /><p>One value from the list.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum RoundingMethodEnum + { + + /// + /// Enum Commercial for value: Commercial + /// + [EnumMember(Value = "Commercial")] + Commercial = 1, + + /// + /// Enum Down for value: Down + /// + [EnumMember(Value = "Down")] + Down = 2, + + /// + /// Enum Up for value: Up + /// + [EnumMember(Value = "Up")] + Up = 3 + } + + /// + /// <p>It defines the rounding method for money discounts.<br /><ul><br /><li>Down = Round down</li><br /><li>Up = Round up</li><br /><li>Commercial = Commercial rounding</li><br /></ul><br /><p>One value from the list.</p> + /// + /// <p>It defines the rounding method for money discounts.<br /><ul><br /><li>Down = Round down</li><br /><li>Up = Round up</li><br /><li>Commercial = Commercial rounding</li><br /></ul><br /><p>One value from the list.</p> + [DataMember(Name="roundingMethod", EmitDefaultValue=false)] + public RoundingMethodEnum RoundingMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>It defines the rounding method for money discounts.<br /><ul><br /><li>Down = Round down</li><br /><li>Up = Round up</li><br /><li>Commercial = Commercial rounding</li><br /></ul><br /><p>One value from the list.</p> (required). + /// <p>Number of decimal places used for rounding of money discounts<br /><p><br /> Possible values: 0 - 4</p> (required). + /// <p>It defines the rounding destination value for money discounts, which are used to round the value to the proper denomination.<br /><p><br /> Additional rounding information:<br /><ul><br /><li>1 = There is no further handling of the rounding result.</li><br /><li>5 = The rounding result is adjusted to correspond to the preceding or subsequent multiple of 5.</li><br /></ul><br /><p>One value from the list.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig(RoundingMethodEnum roundingMethod = default(RoundingMethodEnum), int? decimalPlacesCount = default(int?), int? destinationValue = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "roundingMethod" is required (not null) + if (roundingMethod == null) + { + throw new InvalidDataException("roundingMethod is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig and cannot be null"); + } + else + { + this.RoundingMethod = roundingMethod; + } + // to ensure "decimalPlacesCount" is required (not null) + if (decimalPlacesCount == null) + { + throw new InvalidDataException("decimalPlacesCount is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig and cannot be null"); + } + else + { + this.DecimalPlacesCount = decimalPlacesCount; + } + // to ensure "destinationValue" is required (not null) + if (destinationValue == null) + { + throw new InvalidDataException("destinationValue is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig and cannot be null"); + } + else + { + this.DestinationValue = destinationValue; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + + /// + /// <p>Number of decimal places used for rounding of money discounts<br /><p><br /> Possible values: 0 - 4</p> + /// + /// <p>Number of decimal places used for rounding of money discounts<br /><p><br /> Possible values: 0 - 4</p> + [DataMember(Name="decimalPlacesCount", EmitDefaultValue=false)] + public int? DecimalPlacesCount { get; set; } + + /// + /// <p>It defines the rounding destination value for money discounts, which are used to round the value to the proper denomination.<br /><p><br /> Additional rounding information:<br /><ul><br /><li>1 = There is no further handling of the rounding result.</li><br /><li>5 = The rounding result is adjusted to correspond to the preceding or subsequent multiple of 5.</li><br /></ul><br /><p>One value from the list.</p> + /// + /// <p>It defines the rounding destination value for money discounts, which are used to round the value to the proper denomination.<br /><p><br /> Additional rounding information:<br /><ul><br /><li>1 = There is no further handling of the rounding result.</li><br /><li>5 = The rounding result is adjusted to correspond to the preceding or subsequent multiple of 5.</li><br /></ul><br /><p>One value from the list.</p> + [DataMember(Name="destinationValue", EmitDefaultValue=false)] + public int? DestinationValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig {\n"); + sb.Append(" RoundingMethod: ").Append(RoundingMethod).Append("\n"); + sb.Append(" DecimalPlacesCount: ").Append(DecimalPlacesCount).Append("\n"); + sb.Append(" DestinationValue: ").Append(DestinationValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig input) + { + if (input == null) + return false; + + return + ( + this.RoundingMethod == input.RoundingMethod || + (this.RoundingMethod != null && + this.RoundingMethod.Equals(input.RoundingMethod)) + ) && + ( + this.DecimalPlacesCount == input.DecimalPlacesCount || + (this.DecimalPlacesCount != null && + this.DecimalPlacesCount.Equals(input.DecimalPlacesCount)) + ) && + ( + this.DestinationValue == input.DestinationValue || + (this.DestinationValue != null && + this.DestinationValue.Equals(input.DestinationValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RoundingMethod != null) + hashCode = hashCode * 59 + this.RoundingMethod.GetHashCode(); + if (this.DecimalPlacesCount != null) + hashCode = hashCode * 59 + this.DecimalPlacesCount.GetHashCode(); + if (this.DestinationValue != null) + hashCode = hashCode * 59 + this.DestinationValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1ba0026ded0242d258eaf0616a5ba19c212f8eb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig.cs @@ -0,0 +1,845 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateLayawayConfig <p>This configuration entity defines the create layaway process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// <p>The parameter defines a list of item numbers/ EANs (ItemID | POSItemID | MainPOSItemID) of the items, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined items are separated by semicolons ';'.</p>. + /// <p>The parameter defines a list of merchandise hierarchy groups IDs, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined merchandise hierarchy groups IDs are separated by semicolons ';'.</p>. + /// <p>The parameter defines the initial down payment amount in %.</p> (required). + /// <p>The parameter defines the initial down payment amount as a fix amount in main currency.</p> (required). + /// <p>The parameter defines the validation time of the Layaway in days to calculate the final payment date based on the current date.</p><br /><p>Example: Date of today = 13.02.2018, layawayValidDays = 28, final payment date = 13.03.2018</p> (required). + /// <p>The parameter defines the validation date of the Layaway independent from the creation date of the layaway. If this parameter &lt;&gt; null, the value of parameter layawayValidDays is not used.<br /> Format: YYYY-MM-DD, e.g.: 2019-09-27<br /> Example: <br /> Date of today = 01.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019<br /> Date of today = 03.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019</p>. + /// <p>The parameter defines every how many days a payment should be done, e.g. every 7 days or every 14 days<br /> Example: Date of today = 13.02.2018, paymentDays=7, pament dates = 20.02.2018, 27.02.2018, 06.03.2018, 13.03.2018</p> (required). + /// <p>The parameter defines how many days the final payment rate can be paid later than expected to calculate the latest final payment date.<br /> If the tolerance time is exceeded, the Layaway is canceled and the item goes back to the Store Stock.</p><br /><p>Example: final payment date = 13.03.2018, toleranceTime = 3, latest final payment date = 16.03.2018</p> (required). + /// <p>The parameter defines after how many days, beginning from the final expiration date (LatestFinalPaymentDate), the Layaway can be deleted. If the deleting time is exceeded, no actions (also no retrieving money from expired Layaway) can be performed.</p><br /><p>Example: final expiration date = 01.03.2018, deletingTime = 200, deleting date = 17.09.2018</p> (required). + /// <p>The parameter defines the Service Fee in %.</p> (required). + /// <p>The parameter defines the Amount of the Service Fee.</p> (required). + /// <p>The parameter defines the Cancellation Fee in % which is calculated, if the Layaway is voided.</p> (required). + /// <p>The parameter defines the Amount of the Cancellation Fee which is calculated, if the Layaway is voided.</p> (required). + /// <p>The parameter defines the percentage from the total layaway amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> (required). + /// <p>The parameter defines the fixed amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> (required). + /// <p>The parameter defines the tax group of the several fees.</p>. + /// <p>Config for customer identification sub process</p> (required). + /// <p>Config for positionOperationConfig</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), string allowedItemNrEanList = default(string), string allowedMhgList = default(string), double? initialDownPayment = default(double?), double? initialFixAmount = default(double?), int? layawayValidDays = default(int?), string layawayValidDate = default(string), int? paymentDays = default(int?), int? toleranceTime = default(int?), int? deletingTime = default(int?), double? serviceFeePercent = default(double?), double? serviceFeeAmount = default(double?), double? cancellationFeePercent = default(double?), double? cancellationFeeAmount = default(double?), double? penaltyFeePercent = default(double?), double? penaltyFeeAmount = default(double?), string feeTaxGroupId = default(string), ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig customerIdentificationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "initialDownPayment" is required (not null) + if (initialDownPayment == null) + { + throw new InvalidDataException("initialDownPayment is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.InitialDownPayment = initialDownPayment; + } + // to ensure "initialFixAmount" is required (not null) + if (initialFixAmount == null) + { + throw new InvalidDataException("initialFixAmount is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.InitialFixAmount = initialFixAmount; + } + // to ensure "layawayValidDays" is required (not null) + if (layawayValidDays == null) + { + throw new InvalidDataException("layawayValidDays is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.LayawayValidDays = layawayValidDays; + } + // to ensure "paymentDays" is required (not null) + if (paymentDays == null) + { + throw new InvalidDataException("paymentDays is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.PaymentDays = paymentDays; + } + // to ensure "toleranceTime" is required (not null) + if (toleranceTime == null) + { + throw new InvalidDataException("toleranceTime is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.ToleranceTime = toleranceTime; + } + // to ensure "deletingTime" is required (not null) + if (deletingTime == null) + { + throw new InvalidDataException("deletingTime is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.DeletingTime = deletingTime; + } + // to ensure "serviceFeePercent" is required (not null) + if (serviceFeePercent == null) + { + throw new InvalidDataException("serviceFeePercent is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.ServiceFeePercent = serviceFeePercent; + } + // to ensure "serviceFeeAmount" is required (not null) + if (serviceFeeAmount == null) + { + throw new InvalidDataException("serviceFeeAmount is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.ServiceFeeAmount = serviceFeeAmount; + } + // to ensure "cancellationFeePercent" is required (not null) + if (cancellationFeePercent == null) + { + throw new InvalidDataException("cancellationFeePercent is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.CancellationFeePercent = cancellationFeePercent; + } + // to ensure "cancellationFeeAmount" is required (not null) + if (cancellationFeeAmount == null) + { + throw new InvalidDataException("cancellationFeeAmount is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.CancellationFeeAmount = cancellationFeeAmount; + } + // to ensure "penaltyFeePercent" is required (not null) + if (penaltyFeePercent == null) + { + throw new InvalidDataException("penaltyFeePercent is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.PenaltyFeePercent = penaltyFeePercent; + } + // to ensure "penaltyFeeAmount" is required (not null) + if (penaltyFeeAmount == null) + { + throw new InvalidDataException("penaltyFeeAmount is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.PenaltyFeeAmount = penaltyFeeAmount; + } + // to ensure "customerIdentificationConfig" is required (not null) + if (customerIdentificationConfig == null) + { + throw new InvalidDataException("customerIdentificationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.CustomerIdentificationConfig = customerIdentificationConfig; + } + // to ensure "positionOperationConfig" is required (not null) + if (positionOperationConfig == null) + { + throw new InvalidDataException("positionOperationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig and cannot be null"); + } + else + { + this.PositionOperationConfig = positionOperationConfig; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.AllowedItemNrEanList = allowedItemNrEanList; + this.AllowedMhgList = allowedMhgList; + this.LayawayValidDate = layawayValidDate; + this.FeeTaxGroupId = feeTaxGroupId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// <p>The parameter defines a list of item numbers/ EANs (ItemID | POSItemID | MainPOSItemID) of the items, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined items are separated by semicolons ';'.</p> + /// + /// <p>The parameter defines a list of item numbers/ EANs (ItemID | POSItemID | MainPOSItemID) of the items, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined items are separated by semicolons ';'.</p> + [DataMember(Name="allowedItemNrEanList", EmitDefaultValue=false)] + public string AllowedItemNrEanList { get; set; } + + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined merchandise hierarchy groups IDs are separated by semicolons ';'.</p> + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined merchandise hierarchy groups IDs are separated by semicolons ';'.</p> + [DataMember(Name="allowedMhgList", EmitDefaultValue=false)] + public string AllowedMhgList { get; set; } + + /// + /// <p>The parameter defines the initial down payment amount in %.</p> + /// + /// <p>The parameter defines the initial down payment amount in %.</p> + [DataMember(Name="initialDownPayment", EmitDefaultValue=false)] + public double? InitialDownPayment { get; set; } + + /// + /// <p>The parameter defines the initial down payment amount as a fix amount in main currency.</p> + /// + /// <p>The parameter defines the initial down payment amount as a fix amount in main currency.</p> + [DataMember(Name="initialFixAmount", EmitDefaultValue=false)] + public double? InitialFixAmount { get; set; } + + /// + /// <p>The parameter defines the validation time of the Layaway in days to calculate the final payment date based on the current date.</p><br /><p>Example: Date of today = 13.02.2018, layawayValidDays = 28, final payment date = 13.03.2018</p> + /// + /// <p>The parameter defines the validation time of the Layaway in days to calculate the final payment date based on the current date.</p><br /><p>Example: Date of today = 13.02.2018, layawayValidDays = 28, final payment date = 13.03.2018</p> + [DataMember(Name="layawayValidDays", EmitDefaultValue=false)] + public int? LayawayValidDays { get; set; } + + /// + /// <p>The parameter defines the validation date of the Layaway independent from the creation date of the layaway. If this parameter &lt;&gt; null, the value of parameter layawayValidDays is not used.<br /> Format: YYYY-MM-DD, e.g.: 2019-09-27<br /> Example: <br /> Date of today = 01.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019<br /> Date of today = 03.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019</p> + /// + /// <p>The parameter defines the validation date of the Layaway independent from the creation date of the layaway. If this parameter &lt;&gt; null, the value of parameter layawayValidDays is not used.<br /> Format: YYYY-MM-DD, e.g.: 2019-09-27<br /> Example: <br /> Date of today = 01.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019<br /> Date of today = 03.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019</p> + [DataMember(Name="layawayValidDate", EmitDefaultValue=false)] + public string LayawayValidDate { get; set; } + + /// + /// <p>The parameter defines every how many days a payment should be done, e.g. every 7 days or every 14 days<br /> Example: Date of today = 13.02.2018, paymentDays=7, pament dates = 20.02.2018, 27.02.2018, 06.03.2018, 13.03.2018</p> + /// + /// <p>The parameter defines every how many days a payment should be done, e.g. every 7 days or every 14 days<br /> Example: Date of today = 13.02.2018, paymentDays=7, pament dates = 20.02.2018, 27.02.2018, 06.03.2018, 13.03.2018</p> + [DataMember(Name="paymentDays", EmitDefaultValue=false)] + public int? PaymentDays { get; set; } + + /// + /// <p>The parameter defines how many days the final payment rate can be paid later than expected to calculate the latest final payment date.<br /> If the tolerance time is exceeded, the Layaway is canceled and the item goes back to the Store Stock.</p><br /><p>Example: final payment date = 13.03.2018, toleranceTime = 3, latest final payment date = 16.03.2018</p> + /// + /// <p>The parameter defines how many days the final payment rate can be paid later than expected to calculate the latest final payment date.<br /> If the tolerance time is exceeded, the Layaway is canceled and the item goes back to the Store Stock.</p><br /><p>Example: final payment date = 13.03.2018, toleranceTime = 3, latest final payment date = 16.03.2018</p> + [DataMember(Name="toleranceTime", EmitDefaultValue=false)] + public int? ToleranceTime { get; set; } + + /// + /// <p>The parameter defines after how many days, beginning from the final expiration date (LatestFinalPaymentDate), the Layaway can be deleted. If the deleting time is exceeded, no actions (also no retrieving money from expired Layaway) can be performed.</p><br /><p>Example: final expiration date = 01.03.2018, deletingTime = 200, deleting date = 17.09.2018</p> + /// + /// <p>The parameter defines after how many days, beginning from the final expiration date (LatestFinalPaymentDate), the Layaway can be deleted. If the deleting time is exceeded, no actions (also no retrieving money from expired Layaway) can be performed.</p><br /><p>Example: final expiration date = 01.03.2018, deletingTime = 200, deleting date = 17.09.2018</p> + [DataMember(Name="deletingTime", EmitDefaultValue=false)] + public int? DeletingTime { get; set; } + + /// + /// <p>The parameter defines the Service Fee in %.</p> + /// + /// <p>The parameter defines the Service Fee in %.</p> + [DataMember(Name="serviceFeePercent", EmitDefaultValue=false)] + public double? ServiceFeePercent { get; set; } + + /// + /// <p>The parameter defines the Amount of the Service Fee.</p> + /// + /// <p>The parameter defines the Amount of the Service Fee.</p> + [DataMember(Name="serviceFeeAmount", EmitDefaultValue=false)] + public double? ServiceFeeAmount { get; set; } + + /// + /// <p>The parameter defines the Cancellation Fee in % which is calculated, if the Layaway is voided.</p> + /// + /// <p>The parameter defines the Cancellation Fee in % which is calculated, if the Layaway is voided.</p> + [DataMember(Name="cancellationFeePercent", EmitDefaultValue=false)] + public double? CancellationFeePercent { get; set; } + + /// + /// <p>The parameter defines the Amount of the Cancellation Fee which is calculated, if the Layaway is voided.</p> + /// + /// <p>The parameter defines the Amount of the Cancellation Fee which is calculated, if the Layaway is voided.</p> + [DataMember(Name="cancellationFeeAmount", EmitDefaultValue=false)] + public double? CancellationFeeAmount { get; set; } + + /// + /// <p>The parameter defines the percentage from the total layaway amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + /// + /// <p>The parameter defines the percentage from the total layaway amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + [DataMember(Name="penaltyFeePercent", EmitDefaultValue=false)] + public double? PenaltyFeePercent { get; set; } + + /// + /// <p>The parameter defines the fixed amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + /// + /// <p>The parameter defines the fixed amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + [DataMember(Name="penaltyFeeAmount", EmitDefaultValue=false)] + public double? PenaltyFeeAmount { get; set; } + + /// + /// <p>The parameter defines the tax group of the several fees.</p> + /// + /// <p>The parameter defines the tax group of the several fees.</p> + [DataMember(Name="feeTaxGroupId", EmitDefaultValue=false)] + public string FeeTaxGroupId { get; set; } + + /// + /// <p>Config for customer identification sub process</p> + /// + /// <p>Config for customer identification sub process</p> + [DataMember(Name="customerIdentificationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig CustomerIdentificationConfig { get; set; } + + /// + /// <p>Config for positionOperationConfig</p> + /// + /// <p>Config for positionOperationConfig</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" AllowedItemNrEanList: ").Append(AllowedItemNrEanList).Append("\n"); + sb.Append(" AllowedMhgList: ").Append(AllowedMhgList).Append("\n"); + sb.Append(" InitialDownPayment: ").Append(InitialDownPayment).Append("\n"); + sb.Append(" InitialFixAmount: ").Append(InitialFixAmount).Append("\n"); + sb.Append(" LayawayValidDays: ").Append(LayawayValidDays).Append("\n"); + sb.Append(" LayawayValidDate: ").Append(LayawayValidDate).Append("\n"); + sb.Append(" PaymentDays: ").Append(PaymentDays).Append("\n"); + sb.Append(" ToleranceTime: ").Append(ToleranceTime).Append("\n"); + sb.Append(" DeletingTime: ").Append(DeletingTime).Append("\n"); + sb.Append(" ServiceFeePercent: ").Append(ServiceFeePercent).Append("\n"); + sb.Append(" ServiceFeeAmount: ").Append(ServiceFeeAmount).Append("\n"); + sb.Append(" CancellationFeePercent: ").Append(CancellationFeePercent).Append("\n"); + sb.Append(" CancellationFeeAmount: ").Append(CancellationFeeAmount).Append("\n"); + sb.Append(" PenaltyFeePercent: ").Append(PenaltyFeePercent).Append("\n"); + sb.Append(" PenaltyFeeAmount: ").Append(PenaltyFeeAmount).Append("\n"); + sb.Append(" FeeTaxGroupId: ").Append(FeeTaxGroupId).Append("\n"); + sb.Append(" CustomerIdentificationConfig: ").Append(CustomerIdentificationConfig).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.AllowedItemNrEanList == input.AllowedItemNrEanList || + (this.AllowedItemNrEanList != null && + this.AllowedItemNrEanList.Equals(input.AllowedItemNrEanList)) + ) && + ( + this.AllowedMhgList == input.AllowedMhgList || + (this.AllowedMhgList != null && + this.AllowedMhgList.Equals(input.AllowedMhgList)) + ) && + ( + this.InitialDownPayment == input.InitialDownPayment || + (this.InitialDownPayment != null && + this.InitialDownPayment.Equals(input.InitialDownPayment)) + ) && + ( + this.InitialFixAmount == input.InitialFixAmount || + (this.InitialFixAmount != null && + this.InitialFixAmount.Equals(input.InitialFixAmount)) + ) && + ( + this.LayawayValidDays == input.LayawayValidDays || + (this.LayawayValidDays != null && + this.LayawayValidDays.Equals(input.LayawayValidDays)) + ) && + ( + this.LayawayValidDate == input.LayawayValidDate || + (this.LayawayValidDate != null && + this.LayawayValidDate.Equals(input.LayawayValidDate)) + ) && + ( + this.PaymentDays == input.PaymentDays || + (this.PaymentDays != null && + this.PaymentDays.Equals(input.PaymentDays)) + ) && + ( + this.ToleranceTime == input.ToleranceTime || + (this.ToleranceTime != null && + this.ToleranceTime.Equals(input.ToleranceTime)) + ) && + ( + this.DeletingTime == input.DeletingTime || + (this.DeletingTime != null && + this.DeletingTime.Equals(input.DeletingTime)) + ) && + ( + this.ServiceFeePercent == input.ServiceFeePercent || + (this.ServiceFeePercent != null && + this.ServiceFeePercent.Equals(input.ServiceFeePercent)) + ) && + ( + this.ServiceFeeAmount == input.ServiceFeeAmount || + (this.ServiceFeeAmount != null && + this.ServiceFeeAmount.Equals(input.ServiceFeeAmount)) + ) && + ( + this.CancellationFeePercent == input.CancellationFeePercent || + (this.CancellationFeePercent != null && + this.CancellationFeePercent.Equals(input.CancellationFeePercent)) + ) && + ( + this.CancellationFeeAmount == input.CancellationFeeAmount || + (this.CancellationFeeAmount != null && + this.CancellationFeeAmount.Equals(input.CancellationFeeAmount)) + ) && + ( + this.PenaltyFeePercent == input.PenaltyFeePercent || + (this.PenaltyFeePercent != null && + this.PenaltyFeePercent.Equals(input.PenaltyFeePercent)) + ) && + ( + this.PenaltyFeeAmount == input.PenaltyFeeAmount || + (this.PenaltyFeeAmount != null && + this.PenaltyFeeAmount.Equals(input.PenaltyFeeAmount)) + ) && + ( + this.FeeTaxGroupId == input.FeeTaxGroupId || + (this.FeeTaxGroupId != null && + this.FeeTaxGroupId.Equals(input.FeeTaxGroupId)) + ) && + ( + this.CustomerIdentificationConfig == input.CustomerIdentificationConfig || + (this.CustomerIdentificationConfig != null && + this.CustomerIdentificationConfig.Equals(input.CustomerIdentificationConfig)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.AllowedItemNrEanList != null) + hashCode = hashCode * 59 + this.AllowedItemNrEanList.GetHashCode(); + if (this.AllowedMhgList != null) + hashCode = hashCode * 59 + this.AllowedMhgList.GetHashCode(); + if (this.InitialDownPayment != null) + hashCode = hashCode * 59 + this.InitialDownPayment.GetHashCode(); + if (this.InitialFixAmount != null) + hashCode = hashCode * 59 + this.InitialFixAmount.GetHashCode(); + if (this.LayawayValidDays != null) + hashCode = hashCode * 59 + this.LayawayValidDays.GetHashCode(); + if (this.LayawayValidDate != null) + hashCode = hashCode * 59 + this.LayawayValidDate.GetHashCode(); + if (this.PaymentDays != null) + hashCode = hashCode * 59 + this.PaymentDays.GetHashCode(); + if (this.ToleranceTime != null) + hashCode = hashCode * 59 + this.ToleranceTime.GetHashCode(); + if (this.DeletingTime != null) + hashCode = hashCode * 59 + this.DeletingTime.GetHashCode(); + if (this.ServiceFeePercent != null) + hashCode = hashCode * 59 + this.ServiceFeePercent.GetHashCode(); + if (this.ServiceFeeAmount != null) + hashCode = hashCode * 59 + this.ServiceFeeAmount.GetHashCode(); + if (this.CancellationFeePercent != null) + hashCode = hashCode * 59 + this.CancellationFeePercent.GetHashCode(); + if (this.CancellationFeeAmount != null) + hashCode = hashCode * 59 + this.CancellationFeeAmount.GetHashCode(); + if (this.PenaltyFeePercent != null) + hashCode = hashCode * 59 + this.PenaltyFeePercent.GetHashCode(); + if (this.PenaltyFeeAmount != null) + hashCode = hashCode * 59 + this.PenaltyFeeAmount.GetHashCode(); + if (this.FeeTaxGroupId != null) + hashCode = hashCode * 59 + this.FeeTaxGroupId.GetHashCode(); + if (this.CustomerIdentificationConfig != null) + hashCode = hashCode * 59 + this.CustomerIdentificationConfig.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..753d4935baaa9e0c812bdda12bc4b7f8006ade36 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig.cs @@ -0,0 +1,696 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerIdentificationConfig <p>This config entity defines the CustomerIdentification process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines the customer identification function to use.</p><br /><pre>value: CustomerIdentificationFunction [CUSTOMERREGISTRATION, CUSTOMERSEARCH, CUSTOMERDATAENTRY]<br /></pre><br /><ul><br /> <li>CustomerRegistration as 'CustomerRegistration',</li><br /> <li>CustomerSearch as 'CustomerSearch',</li><br /> <li>CustomerDataEntry as 'CustomerDataEntry'</li><br /></ul> + /// + /// <p>This parameter defines the customer identification function to use.</p><br /><pre>value: CustomerIdentificationFunction [CUSTOMERREGISTRATION, CUSTOMERSEARCH, CUSTOMERDATAENTRY]<br /></pre><br /><ul><br /> <li>CustomerRegistration as 'CustomerRegistration',</li><br /> <li>CustomerSearch as 'CustomerSearch',</li><br /> <li>CustomerDataEntry as 'CustomerDataEntry'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum CustomerIdentificationFunctionEnum + { + + /// + /// Enum CustomerRegistration for value: CustomerRegistration + /// + [EnumMember(Value = "CustomerRegistration")] + CustomerRegistration = 1, + + /// + /// Enum CustomerSearch for value: CustomerSearch + /// + [EnumMember(Value = "CustomerSearch")] + CustomerSearch = 2, + + /// + /// Enum CustomerDataEntry for value: CustomerDataEntry + /// + [EnumMember(Value = "CustomerDataEntry")] + CustomerDataEntry = 3 + } + + /// + /// <p>This parameter defines the customer identification function to use.</p><br /><pre>value: CustomerIdentificationFunction [CUSTOMERREGISTRATION, CUSTOMERSEARCH, CUSTOMERDATAENTRY]<br /></pre><br /><ul><br /> <li>CustomerRegistration as 'CustomerRegistration',</li><br /> <li>CustomerSearch as 'CustomerSearch',</li><br /> <li>CustomerDataEntry as 'CustomerDataEntry'</li><br /></ul> + /// + /// <p>This parameter defines the customer identification function to use.</p><br /><pre>value: CustomerIdentificationFunction [CUSTOMERREGISTRATION, CUSTOMERSEARCH, CUSTOMERDATAENTRY]<br /></pre><br /><ul><br /> <li>CustomerRegistration as 'CustomerRegistration',</li><br /> <li>CustomerSearch as 'CustomerSearch',</li><br /> <li>CustomerDataEntry as 'CustomerDataEntry'</li><br /></ul> + [DataMember(Name="customerIdentificationFunction", EmitDefaultValue=false)] + public CustomerIdentificationFunctionEnum? CustomerIdentificationFunction { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the card type which has to be used for the customer identification (set only if a restriction is neccessary).</p>. + /// <p>This parameter defines the customer identification function to use.</p><br /><pre>value: CustomerIdentificationFunction [CUSTOMERREGISTRATION, CUSTOMERSEARCH, CUSTOMERDATAENTRY]<br /></pre><br /><ul><br /> <li>CustomerRegistration as 'CustomerRegistration',</li><br /> <li>CustomerSearch as 'CustomerSearch',</li><br /> <li>CustomerDataEntry as 'CustomerDataEntry'</li><br /></ul>. + /// <p>This parameter controls whether it is mandatory to enter a customer.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter controls if a missing customer identification will be signaled by an audible alert (it will work not before audible alerts can be implemented).</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter controls if a message shall be triggered if the customer is required. At the same time there is a key for hinting a message.</p>. + /// <p>If one of the required conditions is not fulfilled then the warning customer data incomplete is displayed.</p>. + /// <p>This parameter controls if the customer identification process shall provide a customer ID of an identified customer for the use by calling the process.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter defines the config for the CustomerRegistration process. It is only in use if the customerIdentificationFunction is set to CustomerRegistration.</p>. + /// <p>This parameter defines the config for the CustomerSearch process. It is only in use if the customerIdentificationFunction is set to CustomerSearch.</p>. + /// <p>This parameter defines the config for the CustomerDataEntry process. It is only in use if the customerIdentificationFunction is set to CustomerDataEntry.</p>. + /// <p>It defines if the first name of the customer is required.</p>. + /// <p>It defines if the last name of the customer is required.</p>. + /// <p>It defines if the street of the default home address of the customer is required.</p>. + /// <p>It defines if the city of the default home address of the customer is required.</p>. + /// <p>It defines if the postal code of the default home address of the customer is required.</p>. + /// <p>It defines if the federal state of the default home address of the customer is required.</p>. + /// <p>It defines if the country of the default home address of the customer is required.</p>. + /// <p>It defines if the tax id of the customer is required.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig(string customerCardType = default(string), CustomerIdentificationFunctionEnum? customerIdentificationFunction = default(CustomerIdentificationFunctionEnum?), bool? customerRequired = default(bool?), bool? customerRequiredAudibleAlert = default(bool?), string customerRequiredMessage = default(string), string customerDataMissingMessage = default(string), bool? retrieveCustomerId = default(bool?), string customerRegistrationConfigId = default(string), string customerSearchConfigId = default(string), string customerDataEntryConfigId = default(string), bool? firstNameRequired = default(bool?), bool? lastNameRequired = default(bool?), bool? streetRequired = default(bool?), bool? cityRequired = default(bool?), bool? postalCodeRequired = default(bool?), bool? federalStateRequired = default(bool?), bool? countryRequired = default(bool?), bool? taxIdRequired = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerCardType = customerCardType; + this.CustomerIdentificationFunction = customerIdentificationFunction; + this.CustomerRequired = customerRequired; + this.CustomerRequiredAudibleAlert = customerRequiredAudibleAlert; + this.CustomerRequiredMessage = customerRequiredMessage; + this.CustomerDataMissingMessage = customerDataMissingMessage; + this.RetrieveCustomerId = retrieveCustomerId; + this.CustomerRegistrationConfigId = customerRegistrationConfigId; + this.CustomerSearchConfigId = customerSearchConfigId; + this.CustomerDataEntryConfigId = customerDataEntryConfigId; + this.FirstNameRequired = firstNameRequired; + this.LastNameRequired = lastNameRequired; + this.StreetRequired = streetRequired; + this.CityRequired = cityRequired; + this.PostalCodeRequired = postalCodeRequired; + this.FederalStateRequired = federalStateRequired; + this.CountryRequired = countryRequired; + this.TaxIdRequired = taxIdRequired; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the card type which has to be used for the customer identification (set only if a restriction is neccessary).</p> + /// + /// <p>This parameter defines the card type which has to be used for the customer identification (set only if a restriction is neccessary).</p> + [DataMember(Name="customerCardType", EmitDefaultValue=false)] + public string CustomerCardType { get; set; } + + + /// + /// <p>This parameter controls whether it is mandatory to enter a customer.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter controls whether it is mandatory to enter a customer.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="customerRequired", EmitDefaultValue=false)] + public bool? CustomerRequired { get; set; } + + /// + /// <p>This parameter controls if a missing customer identification will be signaled by an audible alert (it will work not before audible alerts can be implemented).</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter controls if a missing customer identification will be signaled by an audible alert (it will work not before audible alerts can be implemented).</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="customerRequiredAudibleAlert", EmitDefaultValue=false)] + public bool? CustomerRequiredAudibleAlert { get; set; } + + /// + /// <p>This parameter controls if a message shall be triggered if the customer is required. At the same time there is a key for hinting a message.</p> + /// + /// <p>This parameter controls if a message shall be triggered if the customer is required. At the same time there is a key for hinting a message.</p> + [DataMember(Name="customerRequiredMessage", EmitDefaultValue=false)] + public string CustomerRequiredMessage { get; set; } + + /// + /// <p>If one of the required conditions is not fulfilled then the warning customer data incomplete is displayed.</p> + /// + /// <p>If one of the required conditions is not fulfilled then the warning customer data incomplete is displayed.</p> + [DataMember(Name="customerDataMissingMessage", EmitDefaultValue=false)] + public string CustomerDataMissingMessage { get; set; } + + /// + /// <p>This parameter controls if the customer identification process shall provide a customer ID of an identified customer for the use by calling the process.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter controls if the customer identification process shall provide a customer ID of an identified customer for the use by calling the process.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="retrieveCustomerId", EmitDefaultValue=false)] + public bool? RetrieveCustomerId { get; set; } + + /// + /// <p>This parameter defines the config for the CustomerRegistration process. It is only in use if the customerIdentificationFunction is set to CustomerRegistration.</p> + /// + /// <p>This parameter defines the config for the CustomerRegistration process. It is only in use if the customerIdentificationFunction is set to CustomerRegistration.</p> + [DataMember(Name="customerRegistrationConfigId", EmitDefaultValue=false)] + public string CustomerRegistrationConfigId { get; set; } + + /// + /// <p>This parameter defines the config for the CustomerSearch process. It is only in use if the customerIdentificationFunction is set to CustomerSearch.</p> + /// + /// <p>This parameter defines the config for the CustomerSearch process. It is only in use if the customerIdentificationFunction is set to CustomerSearch.</p> + [DataMember(Name="customerSearchConfigId", EmitDefaultValue=false)] + public string CustomerSearchConfigId { get; set; } + + /// + /// <p>This parameter defines the config for the CustomerDataEntry process. It is only in use if the customerIdentificationFunction is set to CustomerDataEntry.</p> + /// + /// <p>This parameter defines the config for the CustomerDataEntry process. It is only in use if the customerIdentificationFunction is set to CustomerDataEntry.</p> + [DataMember(Name="customerDataEntryConfigId", EmitDefaultValue=false)] + public string CustomerDataEntryConfigId { get; set; } + + /// + /// <p>It defines if the first name of the customer is required.</p> + /// + /// <p>It defines if the first name of the customer is required.</p> + [DataMember(Name="firstNameRequired", EmitDefaultValue=false)] + public bool? FirstNameRequired { get; set; } + + /// + /// <p>It defines if the last name of the customer is required.</p> + /// + /// <p>It defines if the last name of the customer is required.</p> + [DataMember(Name="lastNameRequired", EmitDefaultValue=false)] + public bool? LastNameRequired { get; set; } + + /// + /// <p>It defines if the street of the default home address of the customer is required.</p> + /// + /// <p>It defines if the street of the default home address of the customer is required.</p> + [DataMember(Name="streetRequired", EmitDefaultValue=false)] + public bool? StreetRequired { get; set; } + + /// + /// <p>It defines if the city of the default home address of the customer is required.</p> + /// + /// <p>It defines if the city of the default home address of the customer is required.</p> + [DataMember(Name="cityRequired", EmitDefaultValue=false)] + public bool? CityRequired { get; set; } + + /// + /// <p>It defines if the postal code of the default home address of the customer is required.</p> + /// + /// <p>It defines if the postal code of the default home address of the customer is required.</p> + [DataMember(Name="postalCodeRequired", EmitDefaultValue=false)] + public bool? PostalCodeRequired { get; set; } + + /// + /// <p>It defines if the federal state of the default home address of the customer is required.</p> + /// + /// <p>It defines if the federal state of the default home address of the customer is required.</p> + [DataMember(Name="federalStateRequired", EmitDefaultValue=false)] + public bool? FederalStateRequired { get; set; } + + /// + /// <p>It defines if the country of the default home address of the customer is required.</p> + /// + /// <p>It defines if the country of the default home address of the customer is required.</p> + [DataMember(Name="countryRequired", EmitDefaultValue=false)] + public bool? CountryRequired { get; set; } + + /// + /// <p>It defines if the tax id of the customer is required.</p> + /// + /// <p>It defines if the tax id of the customer is required.</p> + [DataMember(Name="taxIdRequired", EmitDefaultValue=false)] + public bool? TaxIdRequired { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig {\n"); + sb.Append(" CustomerCardType: ").Append(CustomerCardType).Append("\n"); + sb.Append(" CustomerIdentificationFunction: ").Append(CustomerIdentificationFunction).Append("\n"); + sb.Append(" CustomerRequired: ").Append(CustomerRequired).Append("\n"); + sb.Append(" CustomerRequiredAudibleAlert: ").Append(CustomerRequiredAudibleAlert).Append("\n"); + sb.Append(" CustomerRequiredMessage: ").Append(CustomerRequiredMessage).Append("\n"); + sb.Append(" CustomerDataMissingMessage: ").Append(CustomerDataMissingMessage).Append("\n"); + sb.Append(" RetrieveCustomerId: ").Append(RetrieveCustomerId).Append("\n"); + sb.Append(" CustomerRegistrationConfigId: ").Append(CustomerRegistrationConfigId).Append("\n"); + sb.Append(" CustomerSearchConfigId: ").Append(CustomerSearchConfigId).Append("\n"); + sb.Append(" CustomerDataEntryConfigId: ").Append(CustomerDataEntryConfigId).Append("\n"); + sb.Append(" FirstNameRequired: ").Append(FirstNameRequired).Append("\n"); + sb.Append(" LastNameRequired: ").Append(LastNameRequired).Append("\n"); + sb.Append(" StreetRequired: ").Append(StreetRequired).Append("\n"); + sb.Append(" CityRequired: ").Append(CityRequired).Append("\n"); + sb.Append(" PostalCodeRequired: ").Append(PostalCodeRequired).Append("\n"); + sb.Append(" FederalStateRequired: ").Append(FederalStateRequired).Append("\n"); + sb.Append(" CountryRequired: ").Append(CountryRequired).Append("\n"); + sb.Append(" TaxIdRequired: ").Append(TaxIdRequired).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig input) + { + if (input == null) + return false; + + return + ( + this.CustomerCardType == input.CustomerCardType || + (this.CustomerCardType != null && + this.CustomerCardType.Equals(input.CustomerCardType)) + ) && + ( + this.CustomerIdentificationFunction == input.CustomerIdentificationFunction || + (this.CustomerIdentificationFunction != null && + this.CustomerIdentificationFunction.Equals(input.CustomerIdentificationFunction)) + ) && + ( + this.CustomerRequired == input.CustomerRequired || + (this.CustomerRequired != null && + this.CustomerRequired.Equals(input.CustomerRequired)) + ) && + ( + this.CustomerRequiredAudibleAlert == input.CustomerRequiredAudibleAlert || + (this.CustomerRequiredAudibleAlert != null && + this.CustomerRequiredAudibleAlert.Equals(input.CustomerRequiredAudibleAlert)) + ) && + ( + this.CustomerRequiredMessage == input.CustomerRequiredMessage || + (this.CustomerRequiredMessage != null && + this.CustomerRequiredMessage.Equals(input.CustomerRequiredMessage)) + ) && + ( + this.CustomerDataMissingMessage == input.CustomerDataMissingMessage || + (this.CustomerDataMissingMessage != null && + this.CustomerDataMissingMessage.Equals(input.CustomerDataMissingMessage)) + ) && + ( + this.RetrieveCustomerId == input.RetrieveCustomerId || + (this.RetrieveCustomerId != null && + this.RetrieveCustomerId.Equals(input.RetrieveCustomerId)) + ) && + ( + this.CustomerRegistrationConfigId == input.CustomerRegistrationConfigId || + (this.CustomerRegistrationConfigId != null && + this.CustomerRegistrationConfigId.Equals(input.CustomerRegistrationConfigId)) + ) && + ( + this.CustomerSearchConfigId == input.CustomerSearchConfigId || + (this.CustomerSearchConfigId != null && + this.CustomerSearchConfigId.Equals(input.CustomerSearchConfigId)) + ) && + ( + this.CustomerDataEntryConfigId == input.CustomerDataEntryConfigId || + (this.CustomerDataEntryConfigId != null && + this.CustomerDataEntryConfigId.Equals(input.CustomerDataEntryConfigId)) + ) && + ( + this.FirstNameRequired == input.FirstNameRequired || + (this.FirstNameRequired != null && + this.FirstNameRequired.Equals(input.FirstNameRequired)) + ) && + ( + this.LastNameRequired == input.LastNameRequired || + (this.LastNameRequired != null && + this.LastNameRequired.Equals(input.LastNameRequired)) + ) && + ( + this.StreetRequired == input.StreetRequired || + (this.StreetRequired != null && + this.StreetRequired.Equals(input.StreetRequired)) + ) && + ( + this.CityRequired == input.CityRequired || + (this.CityRequired != null && + this.CityRequired.Equals(input.CityRequired)) + ) && + ( + this.PostalCodeRequired == input.PostalCodeRequired || + (this.PostalCodeRequired != null && + this.PostalCodeRequired.Equals(input.PostalCodeRequired)) + ) && + ( + this.FederalStateRequired == input.FederalStateRequired || + (this.FederalStateRequired != null && + this.FederalStateRequired.Equals(input.FederalStateRequired)) + ) && + ( + this.CountryRequired == input.CountryRequired || + (this.CountryRequired != null && + this.CountryRequired.Equals(input.CountryRequired)) + ) && + ( + this.TaxIdRequired == input.TaxIdRequired || + (this.TaxIdRequired != null && + this.TaxIdRequired.Equals(input.TaxIdRequired)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerCardType != null) + hashCode = hashCode * 59 + this.CustomerCardType.GetHashCode(); + if (this.CustomerIdentificationFunction != null) + hashCode = hashCode * 59 + this.CustomerIdentificationFunction.GetHashCode(); + if (this.CustomerRequired != null) + hashCode = hashCode * 59 + this.CustomerRequired.GetHashCode(); + if (this.CustomerRequiredAudibleAlert != null) + hashCode = hashCode * 59 + this.CustomerRequiredAudibleAlert.GetHashCode(); + if (this.CustomerRequiredMessage != null) + hashCode = hashCode * 59 + this.CustomerRequiredMessage.GetHashCode(); + if (this.CustomerDataMissingMessage != null) + hashCode = hashCode * 59 + this.CustomerDataMissingMessage.GetHashCode(); + if (this.RetrieveCustomerId != null) + hashCode = hashCode * 59 + this.RetrieveCustomerId.GetHashCode(); + if (this.CustomerRegistrationConfigId != null) + hashCode = hashCode * 59 + this.CustomerRegistrationConfigId.GetHashCode(); + if (this.CustomerSearchConfigId != null) + hashCode = hashCode * 59 + this.CustomerSearchConfigId.GetHashCode(); + if (this.CustomerDataEntryConfigId != null) + hashCode = hashCode * 59 + this.CustomerDataEntryConfigId.GetHashCode(); + if (this.FirstNameRequired != null) + hashCode = hashCode * 59 + this.FirstNameRequired.GetHashCode(); + if (this.LastNameRequired != null) + hashCode = hashCode * 59 + this.LastNameRequired.GetHashCode(); + if (this.StreetRequired != null) + hashCode = hashCode * 59 + this.StreetRequired.GetHashCode(); + if (this.CityRequired != null) + hashCode = hashCode * 59 + this.CityRequired.GetHashCode(); + if (this.PostalCodeRequired != null) + hashCode = hashCode * 59 + this.PostalCodeRequired.GetHashCode(); + if (this.FederalStateRequired != null) + hashCode = hashCode * 59 + this.FederalStateRequired.GetHashCode(); + if (this.CountryRequired != null) + hashCode = hashCode * 59 + this.CountryRequired.GetHashCode(); + if (this.TaxIdRequired != null) + hashCode = hashCode * 59 + this.TaxIdRequired.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData.cs new file mode 100644 index 0000000000000000000000000000000000000000..e457b6d381cc6f4207341b5b02537fb34f0c2f32 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData.cs @@ -0,0 +1,444 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerOrderData TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// customerOrderId. + /// customerOrderSequenceNumber. + /// salesOrderTypeCode. + /// salesOrderDeliveryTypeCode. + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData(string customerOrderId = default(string), int? customerOrderSequenceNumber = default(int?), string salesOrderTypeCode = default(string), string salesOrderDeliveryTypeCode = default(string), string requestedDeliveryDate = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerOrderId = customerOrderId; + this.CustomerOrderSequenceNumber = customerOrderSequenceNumber; + this.SalesOrderTypeCode = salesOrderTypeCode; + this.SalesOrderDeliveryTypeCode = salesOrderDeliveryTypeCode; + this.RequestedDeliveryDate = requestedDeliveryDate; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets CustomerOrderId + /// + [DataMember(Name="customerOrderId", EmitDefaultValue=false)] + public string CustomerOrderId { get; set; } + + /// + /// Gets or Sets CustomerOrderSequenceNumber + /// + [DataMember(Name="customerOrderSequenceNumber", EmitDefaultValue=false)] + public int? CustomerOrderSequenceNumber { get; set; } + + /// + /// Gets or Sets SalesOrderTypeCode + /// + [DataMember(Name="salesOrderTypeCode", EmitDefaultValue=false)] + public string SalesOrderTypeCode { get; set; } + + /// + /// Gets or Sets SalesOrderDeliveryTypeCode + /// + [DataMember(Name="salesOrderDeliveryTypeCode", EmitDefaultValue=false)] + public string SalesOrderDeliveryTypeCode { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestedDeliveryDate", EmitDefaultValue=false)] + public string RequestedDeliveryDate { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData {\n"); + sb.Append(" CustomerOrderId: ").Append(CustomerOrderId).Append("\n"); + sb.Append(" CustomerOrderSequenceNumber: ").Append(CustomerOrderSequenceNumber).Append("\n"); + sb.Append(" SalesOrderTypeCode: ").Append(SalesOrderTypeCode).Append("\n"); + sb.Append(" SalesOrderDeliveryTypeCode: ").Append(SalesOrderDeliveryTypeCode).Append("\n"); + sb.Append(" RequestedDeliveryDate: ").Append(RequestedDeliveryDate).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData input) + { + if (input == null) + return false; + + return + ( + this.CustomerOrderId == input.CustomerOrderId || + (this.CustomerOrderId != null && + this.CustomerOrderId.Equals(input.CustomerOrderId)) + ) && + ( + this.CustomerOrderSequenceNumber == input.CustomerOrderSequenceNumber || + (this.CustomerOrderSequenceNumber != null && + this.CustomerOrderSequenceNumber.Equals(input.CustomerOrderSequenceNumber)) + ) && + ( + this.SalesOrderTypeCode == input.SalesOrderTypeCode || + (this.SalesOrderTypeCode != null && + this.SalesOrderTypeCode.Equals(input.SalesOrderTypeCode)) + ) && + ( + this.SalesOrderDeliveryTypeCode == input.SalesOrderDeliveryTypeCode || + (this.SalesOrderDeliveryTypeCode != null && + this.SalesOrderDeliveryTypeCode.Equals(input.SalesOrderDeliveryTypeCode)) + ) && + ( + this.RequestedDeliveryDate == input.RequestedDeliveryDate || + (this.RequestedDeliveryDate != null && + this.RequestedDeliveryDate.Equals(input.RequestedDeliveryDate)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerOrderId != null) + hashCode = hashCode * 59 + this.CustomerOrderId.GetHashCode(); + if (this.CustomerOrderSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerOrderSequenceNumber.GetHashCode(); + if (this.SalesOrderTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderTypeCode.GetHashCode(); + if (this.SalesOrderDeliveryTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderDeliveryTypeCode.GetHashCode(); + if (this.RequestedDeliveryDate != null) + hashCode = hashCode * 59 + this.RequestedDeliveryDate.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..aaef822fe4cfcb07a9710b075dca9bf41085f8e3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig.cs @@ -0,0 +1,493 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EmptiesReturnConfig <p>This configuration entity defines the empties return process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// <p>It specifies whether the empties return mode will be finished automatically after one empties return line item.</p><br /><pre>values: true, false<br /></pre> (required). + /// toggleEmptiesReturnModeConfig (required). + /// <p>It specifies an item for empties return.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), bool? onlyOneEmptiesReturnLineItem = default(bool?), string toggleEmptiesReturnModeConfig = default(string), string fixEmptiesReturnItem = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "onlyOneEmptiesReturnLineItem" is required (not null) + if (onlyOneEmptiesReturnLineItem == null) + { + throw new InvalidDataException("onlyOneEmptiesReturnLineItem is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig and cannot be null"); + } + else + { + this.OnlyOneEmptiesReturnLineItem = onlyOneEmptiesReturnLineItem; + } + // to ensure "toggleEmptiesReturnModeConfig" is required (not null) + if (toggleEmptiesReturnModeConfig == null) + { + throw new InvalidDataException("toggleEmptiesReturnModeConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig and cannot be null"); + } + else + { + this.ToggleEmptiesReturnModeConfig = toggleEmptiesReturnModeConfig; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.FixEmptiesReturnItem = fixEmptiesReturnItem; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// <p>It specifies whether the empties return mode will be finished automatically after one empties return line item.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>It specifies whether the empties return mode will be finished automatically after one empties return line item.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="onlyOneEmptiesReturnLineItem", EmitDefaultValue=false)] + public bool? OnlyOneEmptiesReturnLineItem { get; set; } + + /// + /// Gets or Sets ToggleEmptiesReturnModeConfig + /// + [DataMember(Name="toggleEmptiesReturnModeConfig", EmitDefaultValue=false)] + public string ToggleEmptiesReturnModeConfig { get; set; } + + /// + /// <p>It specifies an item for empties return.</p> + /// + /// <p>It specifies an item for empties return.</p> + [DataMember(Name="fixEmptiesReturnItem", EmitDefaultValue=false)] + public string FixEmptiesReturnItem { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" OnlyOneEmptiesReturnLineItem: ").Append(OnlyOneEmptiesReturnLineItem).Append("\n"); + sb.Append(" ToggleEmptiesReturnModeConfig: ").Append(ToggleEmptiesReturnModeConfig).Append("\n"); + sb.Append(" FixEmptiesReturnItem: ").Append(FixEmptiesReturnItem).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.OnlyOneEmptiesReturnLineItem == input.OnlyOneEmptiesReturnLineItem || + (this.OnlyOneEmptiesReturnLineItem != null && + this.OnlyOneEmptiesReturnLineItem.Equals(input.OnlyOneEmptiesReturnLineItem)) + ) && + ( + this.ToggleEmptiesReturnModeConfig == input.ToggleEmptiesReturnModeConfig || + (this.ToggleEmptiesReturnModeConfig != null && + this.ToggleEmptiesReturnModeConfig.Equals(input.ToggleEmptiesReturnModeConfig)) + ) && + ( + this.FixEmptiesReturnItem == input.FixEmptiesReturnItem || + (this.FixEmptiesReturnItem != null && + this.FixEmptiesReturnItem.Equals(input.FixEmptiesReturnItem)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.OnlyOneEmptiesReturnLineItem != null) + hashCode = hashCode * 59 + this.OnlyOneEmptiesReturnLineItem.GetHashCode(); + if (this.ToggleEmptiesReturnModeConfig != null) + hashCode = hashCode * 59 + this.ToggleEmptiesReturnModeConfig.GetHashCode(); + if (this.FixEmptiesReturnItem != null) + hashCode = hashCode * 59 + this.FixEmptiesReturnItem.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0007fea5835fa40175fcb18b68c6cc4aa65d0fb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig.cs @@ -0,0 +1,439 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindTransactionConfig <p>This configuration entity defines the find process for transactions.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines the data object which the parent process needs to get retrieved (either transaction id or transaction itself).</p><br /><pre>value: FindTransactionResultType [TRANSACTION, TRANSACTION_ID]<br /></pre><br /><ul><br /> <li>TRANSACTION as 'TRANSACTION': Retrieve Transaction</li><br /> <li>TRANSACTION_ID as 'TRANSACTION_ID': Retrieve Transaction ID</li><br /></ul> + /// + /// <p>This parameter defines the data object which the parent process needs to get retrieved (either transaction id or transaction itself).</p><br /><pre>value: FindTransactionResultType [TRANSACTION, TRANSACTION_ID]<br /></pre><br /><ul><br /> <li>TRANSACTION as 'TRANSACTION': Retrieve Transaction</li><br /> <li>TRANSACTION_ID as 'TRANSACTION_ID': Retrieve Transaction ID</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum ResultTypeEnum + { + + /// + /// Enum TRANSACTION for value: TRANSACTION + /// + [EnumMember(Value = "TRANSACTION")] + TRANSACTION = 1, + + /// + /// Enum TRANSACTIONID for value: TRANSACTION_ID + /// + [EnumMember(Value = "TRANSACTION_ID")] + TRANSACTIONID = 2 + } + + /// + /// <p>This parameter defines the data object which the parent process needs to get retrieved (either transaction id or transaction itself).</p><br /><pre>value: FindTransactionResultType [TRANSACTION, TRANSACTION_ID]<br /></pre><br /><ul><br /> <li>TRANSACTION as 'TRANSACTION': Retrieve Transaction</li><br /> <li>TRANSACTION_ID as 'TRANSACTION_ID': Retrieve Transaction ID</li><br /></ul> + /// + /// <p>This parameter defines the data object which the parent process needs to get retrieved (either transaction id or transaction itself).</p><br /><pre>value: FindTransactionResultType [TRANSACTION, TRANSACTION_ID]<br /></pre><br /><ul><br /> <li>TRANSACTION as 'TRANSACTION': Retrieve Transaction</li><br /> <li>TRANSACTION_ID as 'TRANSACTION_ID': Retrieve Transaction ID</li><br /></ul> + [DataMember(Name="resultType", EmitDefaultValue=false)] + public ResultTypeEnum ResultType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This config defines the PromptReceiptData dialog.</p> (required). + /// <p>This parameter defines the data object which the parent process needs to get retrieved (either transaction id or transaction itself).</p><br /><pre>value: FindTransactionResultType [TRANSACTION, TRANSACTION_ID]<br /></pre><br /><ul><br /> <li>TRANSACTION as 'TRANSACTION': Retrieve Transaction</li><br /> <li>TRANSACTION_ID as 'TRANSACTION_ID': Retrieve Transaction ID</li><br /></ul> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig(ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig promptReceiptDataConfig = default(ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig), ResultTypeEnum resultType = default(ResultTypeEnum), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "promptReceiptDataConfig" is required (not null) + if (promptReceiptDataConfig == null) + { + throw new InvalidDataException("promptReceiptDataConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig and cannot be null"); + } + else + { + this.PromptReceiptDataConfig = promptReceiptDataConfig; + } + // to ensure "resultType" is required (not null) + if (resultType == null) + { + throw new InvalidDataException("resultType is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig and cannot be null"); + } + else + { + this.ResultType = resultType; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This config defines the PromptReceiptData dialog.</p> + /// + /// <p>This config defines the PromptReceiptData dialog.</p> + [DataMember(Name="promptReceiptDataConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig PromptReceiptDataConfig { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig {\n"); + sb.Append(" PromptReceiptDataConfig: ").Append(PromptReceiptDataConfig).Append("\n"); + sb.Append(" ResultType: ").Append(ResultType).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig input) + { + if (input == null) + return false; + + return + ( + this.PromptReceiptDataConfig == input.PromptReceiptDataConfig || + (this.PromptReceiptDataConfig != null && + this.PromptReceiptDataConfig.Equals(input.PromptReceiptDataConfig)) + ) && + ( + this.ResultType == input.ResultType || + (this.ResultType != null && + this.ResultType.Equals(input.ResultType)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PromptReceiptDataConfig != null) + hashCode = hashCode * 59 + this.PromptReceiptDataConfig.GetHashCode(); + if (this.ResultType != null) + hashCode = hashCode * 59 + this.ResultType.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..f020cfbfb68ea1953ef1549a3f4d790bf76a8734 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig.cs @@ -0,0 +1,784 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GoodsReturnConfig <p>This configuration entity defines the goods return process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// <p>This parameter specifies whether a return is performed without original receipt.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a customer must be assigned to the return.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the return mode will be finished automatically after one return line item.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a return receipt is created. This receipt includes only return line items.</p><br /><pre>values: true, false<br /></pre> (required). + /// customerIdentificationConfig (required). + /// allowedTendersConfig (required). + /// <p>It defines if the original business unit id must be entered in case of return without receipt.</p> (required). + /// <p>It defines if the original date must be entered in case of return without receipt.</p> (required). + /// <p>It defines if the original workstation id must be entered in case of return without receipt.</p> (required). + /// <p>It defines if the original receipt number must be entered in case of return without receipt.</p> (required). + /// <p>It defines if the original fiscal device number must be entered in case of return without receipt.</p> (required). + /// <p>It defines if the original fiscal sequence number must be entered in case of return without receipt.</p> (required). + /// <p>It defines if the original fiscal day number must be entered in case of return without receipt.</p> (required). + /// <p>Map of original receipt data to save in sale return line item extensions.</p>. + /// <p>This config defines the return with transaction process.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), bool? withOutOriginalSc = default(bool?), bool? registerCustomer = default(bool?), bool? onlyOneReturnPosition = default(bool?), bool? createReturnReceipt = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig customerIdentificationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig allowedTendersConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig), bool? originalBusinessUnitIdRequired = default(bool?), bool? originalDateRequired = default(bool?), bool? originalWorkstationIdRequired = default(bool?), bool? originalSequenceNumberRequired = default(bool?), bool? originalFiscalDeviceNumberRequired = default(bool?), bool? originalFiscalSequenceNumberRequired = default(bool?), bool? originalFiscalDayNumberRequired = default(bool?), Dictionary requiredOriginalReceiptData = default(Dictionary), ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig returnWithTransactionConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "withOutOriginalSc" is required (not null) + if (withOutOriginalSc == null) + { + throw new InvalidDataException("withOutOriginalSc is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.WithOutOriginalSc = withOutOriginalSc; + } + // to ensure "registerCustomer" is required (not null) + if (registerCustomer == null) + { + throw new InvalidDataException("registerCustomer is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.RegisterCustomer = registerCustomer; + } + // to ensure "onlyOneReturnPosition" is required (not null) + if (onlyOneReturnPosition == null) + { + throw new InvalidDataException("onlyOneReturnPosition is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OnlyOneReturnPosition = onlyOneReturnPosition; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "customerIdentificationConfig" is required (not null) + if (customerIdentificationConfig == null) + { + throw new InvalidDataException("customerIdentificationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.CustomerIdentificationConfig = customerIdentificationConfig; + } + // to ensure "allowedTendersConfig" is required (not null) + if (allowedTendersConfig == null) + { + throw new InvalidDataException("allowedTendersConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.AllowedTendersConfig = allowedTendersConfig; + } + // to ensure "originalBusinessUnitIdRequired" is required (not null) + if (originalBusinessUnitIdRequired == null) + { + throw new InvalidDataException("originalBusinessUnitIdRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OriginalBusinessUnitIdRequired = originalBusinessUnitIdRequired; + } + // to ensure "originalDateRequired" is required (not null) + if (originalDateRequired == null) + { + throw new InvalidDataException("originalDateRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OriginalDateRequired = originalDateRequired; + } + // to ensure "originalWorkstationIdRequired" is required (not null) + if (originalWorkstationIdRequired == null) + { + throw new InvalidDataException("originalWorkstationIdRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OriginalWorkstationIdRequired = originalWorkstationIdRequired; + } + // to ensure "originalSequenceNumberRequired" is required (not null) + if (originalSequenceNumberRequired == null) + { + throw new InvalidDataException("originalSequenceNumberRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OriginalSequenceNumberRequired = originalSequenceNumberRequired; + } + // to ensure "originalFiscalDeviceNumberRequired" is required (not null) + if (originalFiscalDeviceNumberRequired == null) + { + throw new InvalidDataException("originalFiscalDeviceNumberRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OriginalFiscalDeviceNumberRequired = originalFiscalDeviceNumberRequired; + } + // to ensure "originalFiscalSequenceNumberRequired" is required (not null) + if (originalFiscalSequenceNumberRequired == null) + { + throw new InvalidDataException("originalFiscalSequenceNumberRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OriginalFiscalSequenceNumberRequired = originalFiscalSequenceNumberRequired; + } + // to ensure "originalFiscalDayNumberRequired" is required (not null) + if (originalFiscalDayNumberRequired == null) + { + throw new InvalidDataException("originalFiscalDayNumberRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig and cannot be null"); + } + else + { + this.OriginalFiscalDayNumberRequired = originalFiscalDayNumberRequired; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.RequiredOriginalReceiptData = requiredOriginalReceiptData; + this.ReturnWithTransactionConfig = returnWithTransactionConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// <p>This parameter specifies whether a return is performed without original receipt.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a return is performed without original receipt.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="withOutOriginalSc", EmitDefaultValue=false)] + public bool? WithOutOriginalSc { get; set; } + + /// + /// <p>This parameter specifies whether a customer must be assigned to the return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a customer must be assigned to the return.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="registerCustomer", EmitDefaultValue=false)] + public bool? RegisterCustomer { get; set; } + + /// + /// <p>This parameter specifies whether the return mode will be finished automatically after one return line item.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the return mode will be finished automatically after one return line item.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="onlyOneReturnPosition", EmitDefaultValue=false)] + public bool? OnlyOneReturnPosition { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt is created. This receipt includes only return line items.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a return receipt is created. This receipt includes only return line items.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// Gets or Sets CustomerIdentificationConfig + /// + [DataMember(Name="customerIdentificationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig CustomerIdentificationConfig { get; set; } + + /// + /// Gets or Sets AllowedTendersConfig + /// + [DataMember(Name="allowedTendersConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig AllowedTendersConfig { get; set; } + + /// + /// <p>It defines if the original business unit id must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original business unit id must be entered in case of return without receipt.</p> + [DataMember(Name="originalBusinessUnitIdRequired", EmitDefaultValue=false)] + public bool? OriginalBusinessUnitIdRequired { get; set; } + + /// + /// <p>It defines if the original date must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original date must be entered in case of return without receipt.</p> + [DataMember(Name="originalDateRequired", EmitDefaultValue=false)] + public bool? OriginalDateRequired { get; set; } + + /// + /// <p>It defines if the original workstation id must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original workstation id must be entered in case of return without receipt.</p> + [DataMember(Name="originalWorkstationIdRequired", EmitDefaultValue=false)] + public bool? OriginalWorkstationIdRequired { get; set; } + + /// + /// <p>It defines if the original receipt number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original receipt number must be entered in case of return without receipt.</p> + [DataMember(Name="originalSequenceNumberRequired", EmitDefaultValue=false)] + public bool? OriginalSequenceNumberRequired { get; set; } + + /// + /// <p>It defines if the original fiscal device number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original fiscal device number must be entered in case of return without receipt.</p> + [DataMember(Name="originalFiscalDeviceNumberRequired", EmitDefaultValue=false)] + public bool? OriginalFiscalDeviceNumberRequired { get; set; } + + /// + /// <p>It defines if the original fiscal sequence number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original fiscal sequence number must be entered in case of return without receipt.</p> + [DataMember(Name="originalFiscalSequenceNumberRequired", EmitDefaultValue=false)] + public bool? OriginalFiscalSequenceNumberRequired { get; set; } + + /// + /// <p>It defines if the original fiscal day number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original fiscal day number must be entered in case of return without receipt.</p> + [DataMember(Name="originalFiscalDayNumberRequired", EmitDefaultValue=false)] + public bool? OriginalFiscalDayNumberRequired { get; set; } + + /// + /// <p>Map of original receipt data to save in sale return line item extensions.</p> + /// + /// <p>Map of original receipt data to save in sale return line item extensions.</p> + [DataMember(Name="requiredOriginalReceiptData", EmitDefaultValue=false)] + public Dictionary RequiredOriginalReceiptData { get; set; } + + /// + /// <p>This config defines the return with transaction process.</p> + /// + /// <p>This config defines the return with transaction process.</p> + [DataMember(Name="returnWithTransactionConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig ReturnWithTransactionConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" WithOutOriginalSc: ").Append(WithOutOriginalSc).Append("\n"); + sb.Append(" RegisterCustomer: ").Append(RegisterCustomer).Append("\n"); + sb.Append(" OnlyOneReturnPosition: ").Append(OnlyOneReturnPosition).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" CustomerIdentificationConfig: ").Append(CustomerIdentificationConfig).Append("\n"); + sb.Append(" AllowedTendersConfig: ").Append(AllowedTendersConfig).Append("\n"); + sb.Append(" OriginalBusinessUnitIdRequired: ").Append(OriginalBusinessUnitIdRequired).Append("\n"); + sb.Append(" OriginalDateRequired: ").Append(OriginalDateRequired).Append("\n"); + sb.Append(" OriginalWorkstationIdRequired: ").Append(OriginalWorkstationIdRequired).Append("\n"); + sb.Append(" OriginalSequenceNumberRequired: ").Append(OriginalSequenceNumberRequired).Append("\n"); + sb.Append(" OriginalFiscalDeviceNumberRequired: ").Append(OriginalFiscalDeviceNumberRequired).Append("\n"); + sb.Append(" OriginalFiscalSequenceNumberRequired: ").Append(OriginalFiscalSequenceNumberRequired).Append("\n"); + sb.Append(" OriginalFiscalDayNumberRequired: ").Append(OriginalFiscalDayNumberRequired).Append("\n"); + sb.Append(" RequiredOriginalReceiptData: ").Append(RequiredOriginalReceiptData).Append("\n"); + sb.Append(" ReturnWithTransactionConfig: ").Append(ReturnWithTransactionConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.WithOutOriginalSc == input.WithOutOriginalSc || + (this.WithOutOriginalSc != null && + this.WithOutOriginalSc.Equals(input.WithOutOriginalSc)) + ) && + ( + this.RegisterCustomer == input.RegisterCustomer || + (this.RegisterCustomer != null && + this.RegisterCustomer.Equals(input.RegisterCustomer)) + ) && + ( + this.OnlyOneReturnPosition == input.OnlyOneReturnPosition || + (this.OnlyOneReturnPosition != null && + this.OnlyOneReturnPosition.Equals(input.OnlyOneReturnPosition)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.CustomerIdentificationConfig == input.CustomerIdentificationConfig || + (this.CustomerIdentificationConfig != null && + this.CustomerIdentificationConfig.Equals(input.CustomerIdentificationConfig)) + ) && + ( + this.AllowedTendersConfig == input.AllowedTendersConfig || + (this.AllowedTendersConfig != null && + this.AllowedTendersConfig.Equals(input.AllowedTendersConfig)) + ) && + ( + this.OriginalBusinessUnitIdRequired == input.OriginalBusinessUnitIdRequired || + (this.OriginalBusinessUnitIdRequired != null && + this.OriginalBusinessUnitIdRequired.Equals(input.OriginalBusinessUnitIdRequired)) + ) && + ( + this.OriginalDateRequired == input.OriginalDateRequired || + (this.OriginalDateRequired != null && + this.OriginalDateRequired.Equals(input.OriginalDateRequired)) + ) && + ( + this.OriginalWorkstationIdRequired == input.OriginalWorkstationIdRequired || + (this.OriginalWorkstationIdRequired != null && + this.OriginalWorkstationIdRequired.Equals(input.OriginalWorkstationIdRequired)) + ) && + ( + this.OriginalSequenceNumberRequired == input.OriginalSequenceNumberRequired || + (this.OriginalSequenceNumberRequired != null && + this.OriginalSequenceNumberRequired.Equals(input.OriginalSequenceNumberRequired)) + ) && + ( + this.OriginalFiscalDeviceNumberRequired == input.OriginalFiscalDeviceNumberRequired || + (this.OriginalFiscalDeviceNumberRequired != null && + this.OriginalFiscalDeviceNumberRequired.Equals(input.OriginalFiscalDeviceNumberRequired)) + ) && + ( + this.OriginalFiscalSequenceNumberRequired == input.OriginalFiscalSequenceNumberRequired || + (this.OriginalFiscalSequenceNumberRequired != null && + this.OriginalFiscalSequenceNumberRequired.Equals(input.OriginalFiscalSequenceNumberRequired)) + ) && + ( + this.OriginalFiscalDayNumberRequired == input.OriginalFiscalDayNumberRequired || + (this.OriginalFiscalDayNumberRequired != null && + this.OriginalFiscalDayNumberRequired.Equals(input.OriginalFiscalDayNumberRequired)) + ) && + ( + this.RequiredOriginalReceiptData == input.RequiredOriginalReceiptData || + this.RequiredOriginalReceiptData != null && + this.RequiredOriginalReceiptData.SequenceEqual(input.RequiredOriginalReceiptData) + ) && + ( + this.ReturnWithTransactionConfig == input.ReturnWithTransactionConfig || + (this.ReturnWithTransactionConfig != null && + this.ReturnWithTransactionConfig.Equals(input.ReturnWithTransactionConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.WithOutOriginalSc != null) + hashCode = hashCode * 59 + this.WithOutOriginalSc.GetHashCode(); + if (this.RegisterCustomer != null) + hashCode = hashCode * 59 + this.RegisterCustomer.GetHashCode(); + if (this.OnlyOneReturnPosition != null) + hashCode = hashCode * 59 + this.OnlyOneReturnPosition.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.CustomerIdentificationConfig != null) + hashCode = hashCode * 59 + this.CustomerIdentificationConfig.GetHashCode(); + if (this.AllowedTendersConfig != null) + hashCode = hashCode * 59 + this.AllowedTendersConfig.GetHashCode(); + if (this.OriginalBusinessUnitIdRequired != null) + hashCode = hashCode * 59 + this.OriginalBusinessUnitIdRequired.GetHashCode(); + if (this.OriginalDateRequired != null) + hashCode = hashCode * 59 + this.OriginalDateRequired.GetHashCode(); + if (this.OriginalWorkstationIdRequired != null) + hashCode = hashCode * 59 + this.OriginalWorkstationIdRequired.GetHashCode(); + if (this.OriginalSequenceNumberRequired != null) + hashCode = hashCode * 59 + this.OriginalSequenceNumberRequired.GetHashCode(); + if (this.OriginalFiscalDeviceNumberRequired != null) + hashCode = hashCode * 59 + this.OriginalFiscalDeviceNumberRequired.GetHashCode(); + if (this.OriginalFiscalSequenceNumberRequired != null) + hashCode = hashCode * 59 + this.OriginalFiscalSequenceNumberRequired.GetHashCode(); + if (this.OriginalFiscalDayNumberRequired != null) + hashCode = hashCode * 59 + this.OriginalFiscalDayNumberRequired.GetHashCode(); + if (this.RequiredOriginalReceiptData != null) + hashCode = hashCode * 59 + this.RequiredOriginalReceiptData.GetHashCode(); + if (this.ReturnWithTransactionConfig != null) + hashCode = hashCode * 59 + this.ReturnWithTransactionConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..4cec67a8f1c7fa1d1b4f4101c50162a4dc3a9f40 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig.cs @@ -0,0 +1,1539 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemEntryConfig <p>This configuration entity defines itemEntry processes.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig : IEquatable, IValidatableObject + { + /// + /// <p>The parameter defines the provider for the item data. Default Local.</p> + /// + /// <p>The parameter defines the provider for the item data. Default Local.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ItemProviderEnum + { + + /// + /// Enum Local for value: Local + /// + [EnumMember(Value = "Local")] + Local = 1, + + /// + /// Enum LocalAndRemote for value: LocalAndRemote + /// + [EnumMember(Value = "LocalAndRemote")] + LocalAndRemote = 2 + } + + /// + /// <p>The parameter defines the provider for the item data. Default Local.</p> + /// + /// <p>The parameter defines the provider for the item data. Default Local.</p> + [DataMember(Name="itemProvider", EmitDefaultValue=false)] + public ItemProviderEnum? ItemProvider { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// <p>This parameter defines a fixed item number/ EAN for fixed item keys.</p>. + /// <p>This parameter defines the input for the item number/ EAN.</p>. + /// <p>Input parameter for item traceable unit id (used for EPC codes scanned by RFID, for example)</p>. + /// <p>Raw barcode used for registration.</p>. + /// <p>This parameter defines text class IDs.</p>. + /// <p>This parameter defines the unit of measure code.</p>. + /// <p>This parameter specifies whether sales restrictions are verified. The default is set at true.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter specifies whether sales restrictions are verified for return items. The default is set at false.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter specifies whether a check is made for item variants. The default is set at false.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter specifies whether the tax group should be validated.<br /> <br/><br /> This means that the tax group exists in master data and fulfills the following conditions: TaxGroupRule.EffectiveDateTime &lt;= {current timestamp} and TaxGroupRule.ExpirationDateTime &gt;= {current timestamp}.<br /> <br/><br /> The default is set at true.<br /></p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter specifies whether a quantity is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre>. + /// ageVerificationRequired (required). + /// <p>This parameter specifies whether seller age should be checked.</p>. + /// confirmDialogAgeVerifacation (required). + /// <p>This parameter defines the line item amount.</p>. + /// <p>This parameter defines the unit price.</p>. + /// <p>This parameter defines the packaging quantity of an item.</p>. + /// <p>The parameter defines the single quantity in case of piece items.</p>. + /// <p>The parameter defines the manual weight in case of weight items.</p>. + /// <p>The parameter defines the units in case of quantity with decimal places items (e.g. fuel items).</p>. + /// <p>This parameter defines the serial number.</p>. + /// <p>This parameter specifies whether an item is salable even if no price exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter specifies whether the system switches to Item Search if no search term exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the receipt text of the item is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter defines the mode. The default is set at 0.</p><br /><pre>values: 0, 1, 2<br /></pre><br /><ul><br /> <li>0 - The standard item entry is set.</li><br /> <li>1 - The set component entry is set.</li><br /> <li>2 - The Bulk Registration is set.</li><br /></ul>. + /// callPackageSelection. + /// itemPackageSelectionId. + /// <p>This parameter specifies whether the total price entry is requested in case of return of weighing items. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter specifies whether the reason is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter specifies whether a manual price entry is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This config defines the Enter ReceiptText Dialog.</p> (required). + /// <p>This config defines the Enter SerialNumber Dialog.</p> (required). + /// <p>This config defines the position operation for registering.</p> (required). + /// priceDifferenceLimitExceedAuthConfig (required). + /// promotionOperationConfig (required). + /// forceManualWeight (required). + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>It references the item details config to determine if additional info is needed</p> (required). + /// itemIDCaseSensitive (required). + /// <p>It references the acoustic signal configuration identifier for manual price input</p> (required). + /// <p>It references the acoustic signal configuration identifier for quantity input</p> (required). + /// <p>It references the acoustic signal configuration identifier for serial number input</p> (required). + /// <p>It references the SetQuantityForLineItemConfig identifier for the SetQuantityForLineItem sub process call.</p> (required). + /// negativePositionProhibited (required). + /// customerOrderData. + /// registerLineItemAddOnData. + /// <p>References the instance of configuration which indicates additional item related attributes to be assigned to sale return line item extensions during item registration.</p>. + /// registerFuelLineItem. + /// <p>It defines if an open line item (without item) will be removed if item entry fails with error.<br /> It should be set to true for barcode rules with multiple actions where second action is the item entry process.<br /> Default: null/false</p>. + /// <p>config item not found authorization. Mainly to be used by POS clients that will display an authorization error on item search failure (Ex: SCO)</p> (required). + /// <p>config to handle remote service not available authorization errors, when doing remote item searches in SDC / SAP</p> (required). + /// <p>The parameter defines the provider for the item data. Default Local.</p>. + /// <p>If true any forbidden dialogs for sales restrictions will be skipped.</p>. + /// <p>If true any error dialogs triggered while setting quantity for line item will be skipped.</p>. + /// <p>It defines the specific SalesRestriction configID for ItemEntryConfig, which will be overridden into sales restriction process (empty by default).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), string fixedItemNrEan = default(string), string itemNrEan = default(string), string itemTraceableUnitID = default(string), string registrationNumber = default(string), List textClassIds = default(List), string uomCode = default(string), bool? checkSalesRestrictions = default(bool?), bool? checkSalesRestrictionsForReturn = default(bool?), bool? checkForVariants = default(bool?), bool? checkTaxGroup = default(bool?), bool? askForQuantity = default(bool?), bool? ageVerificationRequired = default(bool?), bool? checkSellerAgeRestrictions = default(bool?), ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig confirmDialogAgeVerifacation = default(ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig), double? positionAmount = default(double?), double? itemPrice = default(double?), double? factor = default(double?), int? itemQuantity = default(int?), double? weight = default(double?), double? units = default(double?), string serialNumber = default(string), bool? saleableWithoutPrice = default(bool?), bool? switchToItemSearch = default(bool?), bool? askForReceiptText = default(bool?), int? mode = default(int?), bool? callPackageSelection = default(bool?), string itemPackageSelectionId = default(string), bool? returnManualPositionAmountForWeightItemsRequired = default(bool?), bool? returnReasonRequired = default(bool?), bool? returnManualPriceRequired = default(bool?), ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig promptForReceiptTextConfig = default(ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig), ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig promptForSerialNumberConfig = default(ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig priceDifferenceLimitExceedAuthConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig promotionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig), bool? forceManualWeight = default(bool?), bool? quantityAccumulation = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig itemRegistrationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig), bool? itemIDCaseSensitive = default(bool?), string manualPriceAcousticSignalConfigId = default(string), string quantityAcousticSignalConfigId = default(string), string serialNumberAcousticSignalConfigId = default(string), string setQuantityForLineItemConfigId = default(string), bool? negativePositionProhibited = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData customerOrderData = default(ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData), ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData registerLineItemAddOnData = default(ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData), ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes additionalAttributes = default(ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes), ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem registerFuelLineItem = default(ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem), bool? removeOpenLineItemOnError = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig itemNotFoundAuthorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig remoteServiceNotAvailableAuthorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), ItemProviderEnum? itemProvider = default(ItemProviderEnum?), bool? skipSalesRestrictionDialogs = default(bool?), bool? skipQuantityErrorDialogs = default(bool?), string salesRestrictionConfigID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "ageVerificationRequired" is required (not null) + if (ageVerificationRequired == null) + { + throw new InvalidDataException("ageVerificationRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.AgeVerificationRequired = ageVerificationRequired; + } + // to ensure "confirmDialogAgeVerifacation" is required (not null) + if (confirmDialogAgeVerifacation == null) + { + throw new InvalidDataException("confirmDialogAgeVerifacation is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ConfirmDialogAgeVerifacation = confirmDialogAgeVerifacation; + } + // to ensure "switchToItemSearch" is required (not null) + if (switchToItemSearch == null) + { + throw new InvalidDataException("switchToItemSearch is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.SwitchToItemSearch = switchToItemSearch; + } + // to ensure "askForReceiptText" is required (not null) + if (askForReceiptText == null) + { + throw new InvalidDataException("askForReceiptText is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.AskForReceiptText = askForReceiptText; + } + // to ensure "returnManualPriceRequired" is required (not null) + if (returnManualPriceRequired == null) + { + throw new InvalidDataException("returnManualPriceRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ReturnManualPriceRequired = returnManualPriceRequired; + } + // to ensure "promptForReceiptTextConfig" is required (not null) + if (promptForReceiptTextConfig == null) + { + throw new InvalidDataException("promptForReceiptTextConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.PromptForReceiptTextConfig = promptForReceiptTextConfig; + } + // to ensure "promptForSerialNumberConfig" is required (not null) + if (promptForSerialNumberConfig == null) + { + throw new InvalidDataException("promptForSerialNumberConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.PromptForSerialNumberConfig = promptForSerialNumberConfig; + } + // to ensure "positionOperationConfig" is required (not null) + if (positionOperationConfig == null) + { + throw new InvalidDataException("positionOperationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.PositionOperationConfig = positionOperationConfig; + } + // to ensure "priceDifferenceLimitExceedAuthConfig" is required (not null) + if (priceDifferenceLimitExceedAuthConfig == null) + { + throw new InvalidDataException("priceDifferenceLimitExceedAuthConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.PriceDifferenceLimitExceedAuthConfig = priceDifferenceLimitExceedAuthConfig; + } + // to ensure "promotionOperationConfig" is required (not null) + if (promotionOperationConfig == null) + { + throw new InvalidDataException("promotionOperationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.PromotionOperationConfig = promotionOperationConfig; + } + // to ensure "forceManualWeight" is required (not null) + if (forceManualWeight == null) + { + throw new InvalidDataException("forceManualWeight is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ForceManualWeight = forceManualWeight; + } + // to ensure "quantityAccumulation" is required (not null) + if (quantityAccumulation == null) + { + throw new InvalidDataException("quantityAccumulation is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.QuantityAccumulation = quantityAccumulation; + } + // to ensure "itemRegistrationConfig" is required (not null) + if (itemRegistrationConfig == null) + { + throw new InvalidDataException("itemRegistrationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ItemRegistrationConfig = itemRegistrationConfig; + } + // to ensure "itemIDCaseSensitive" is required (not null) + if (itemIDCaseSensitive == null) + { + throw new InvalidDataException("itemIDCaseSensitive is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ItemIDCaseSensitive = itemIDCaseSensitive; + } + // to ensure "manualPriceAcousticSignalConfigId" is required (not null) + if (manualPriceAcousticSignalConfigId == null) + { + throw new InvalidDataException("manualPriceAcousticSignalConfigId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ManualPriceAcousticSignalConfigId = manualPriceAcousticSignalConfigId; + } + // to ensure "quantityAcousticSignalConfigId" is required (not null) + if (quantityAcousticSignalConfigId == null) + { + throw new InvalidDataException("quantityAcousticSignalConfigId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.QuantityAcousticSignalConfigId = quantityAcousticSignalConfigId; + } + // to ensure "serialNumberAcousticSignalConfigId" is required (not null) + if (serialNumberAcousticSignalConfigId == null) + { + throw new InvalidDataException("serialNumberAcousticSignalConfigId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.SerialNumberAcousticSignalConfigId = serialNumberAcousticSignalConfigId; + } + // to ensure "setQuantityForLineItemConfigId" is required (not null) + if (setQuantityForLineItemConfigId == null) + { + throw new InvalidDataException("setQuantityForLineItemConfigId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.SetQuantityForLineItemConfigId = setQuantityForLineItemConfigId; + } + // to ensure "negativePositionProhibited" is required (not null) + if (negativePositionProhibited == null) + { + throw new InvalidDataException("negativePositionProhibited is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.NegativePositionProhibited = negativePositionProhibited; + } + // to ensure "itemNotFoundAuthorizationConfig" is required (not null) + if (itemNotFoundAuthorizationConfig == null) + { + throw new InvalidDataException("itemNotFoundAuthorizationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.ItemNotFoundAuthorizationConfig = itemNotFoundAuthorizationConfig; + } + // to ensure "remoteServiceNotAvailableAuthorizationConfig" is required (not null) + if (remoteServiceNotAvailableAuthorizationConfig == null) + { + throw new InvalidDataException("remoteServiceNotAvailableAuthorizationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig and cannot be null"); + } + else + { + this.RemoteServiceNotAvailableAuthorizationConfig = remoteServiceNotAvailableAuthorizationConfig; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.FixedItemNrEan = fixedItemNrEan; + this.ItemNrEan = itemNrEan; + this.ItemTraceableUnitID = itemTraceableUnitID; + this.RegistrationNumber = registrationNumber; + this.TextClassIds = textClassIds; + this.UomCode = uomCode; + this.CheckSalesRestrictions = checkSalesRestrictions; + this.CheckSalesRestrictionsForReturn = checkSalesRestrictionsForReturn; + this.CheckForVariants = checkForVariants; + this.CheckTaxGroup = checkTaxGroup; + this.AskForQuantity = askForQuantity; + this.CheckSellerAgeRestrictions = checkSellerAgeRestrictions; + this.PositionAmount = positionAmount; + this.ItemPrice = itemPrice; + this.Factor = factor; + this.ItemQuantity = itemQuantity; + this.Weight = weight; + this.Units = units; + this.SerialNumber = serialNumber; + this.SaleableWithoutPrice = saleableWithoutPrice; + this.Mode = mode; + this.CallPackageSelection = callPackageSelection; + this.ItemPackageSelectionId = itemPackageSelectionId; + this.ReturnManualPositionAmountForWeightItemsRequired = returnManualPositionAmountForWeightItemsRequired; + this.ReturnReasonRequired = returnReasonRequired; + this.CustomerOrderData = customerOrderData; + this.RegisterLineItemAddOnData = registerLineItemAddOnData; + this.AdditionalAttributes = additionalAttributes; + this.RegisterFuelLineItem = registerFuelLineItem; + this.RemoveOpenLineItemOnError = removeOpenLineItemOnError; + this.ItemProvider = itemProvider; + this.SkipSalesRestrictionDialogs = skipSalesRestrictionDialogs; + this.SkipQuantityErrorDialogs = skipQuantityErrorDialogs; + this.SalesRestrictionConfigID = salesRestrictionConfigID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// <p>This parameter defines a fixed item number/ EAN for fixed item keys.</p> + /// + /// <p>This parameter defines a fixed item number/ EAN for fixed item keys.</p> + [DataMember(Name="fixedItemNrEan", EmitDefaultValue=false)] + public string FixedItemNrEan { get; set; } + + /// + /// <p>This parameter defines the input for the item number/ EAN.</p> + /// + /// <p>This parameter defines the input for the item number/ EAN.</p> + [DataMember(Name="itemNrEan", EmitDefaultValue=false)] + public string ItemNrEan { get; set; } + + /// + /// <p>Input parameter for item traceable unit id (used for EPC codes scanned by RFID, for example)</p> + /// + /// <p>Input parameter for item traceable unit id (used for EPC codes scanned by RFID, for example)</p> + [DataMember(Name="itemTraceableUnitID", EmitDefaultValue=false)] + public string ItemTraceableUnitID { get; set; } + + /// + /// <p>Raw barcode used for registration.</p> + /// + /// <p>Raw barcode used for registration.</p> + [DataMember(Name="registrationNumber", EmitDefaultValue=false)] + public string RegistrationNumber { get; set; } + + /// + /// <p>This parameter defines text class IDs.</p> + /// + /// <p>This parameter defines text class IDs.</p> + [DataMember(Name="textClassIds", EmitDefaultValue=false)] + public List TextClassIds { get; set; } + + /// + /// <p>This parameter defines the unit of measure code.</p> + /// + /// <p>This parameter defines the unit of measure code.</p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// <p>This parameter specifies whether sales restrictions are verified. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether sales restrictions are verified. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="checkSalesRestrictions", EmitDefaultValue=false)] + public bool? CheckSalesRestrictions { get; set; } + + /// + /// <p>This parameter specifies whether sales restrictions are verified for return items. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether sales restrictions are verified for return items. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="checkSalesRestrictionsForReturn", EmitDefaultValue=false)] + public bool? CheckSalesRestrictionsForReturn { get; set; } + + /// + /// <p>This parameter specifies whether a check is made for item variants. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a check is made for item variants. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="checkForVariants", EmitDefaultValue=false)] + public bool? CheckForVariants { get; set; } + + /// + /// <p>This parameter specifies whether the tax group should be validated.<br /> <br/><br /> This means that the tax group exists in master data and fulfills the following conditions: TaxGroupRule.EffectiveDateTime &lt;= {current timestamp} and TaxGroupRule.ExpirationDateTime &gt;= {current timestamp}.<br /> <br/><br /> The default is set at true.<br /></p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the tax group should be validated.<br /> <br/><br /> This means that the tax group exists in master data and fulfills the following conditions: TaxGroupRule.EffectiveDateTime &lt;= {current timestamp} and TaxGroupRule.ExpirationDateTime &gt;= {current timestamp}.<br /> <br/><br /> The default is set at true.<br /></p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="checkTaxGroup", EmitDefaultValue=false)] + public bool? CheckTaxGroup { get; set; } + + /// + /// <p>This parameter specifies whether a quantity is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a quantity is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="askForQuantity", EmitDefaultValue=false)] + public bool? AskForQuantity { get; set; } + + /// + /// Gets or Sets AgeVerificationRequired + /// + [DataMember(Name="ageVerificationRequired", EmitDefaultValue=false)] + public bool? AgeVerificationRequired { get; set; } + + /// + /// <p>This parameter specifies whether seller age should be checked.</p> + /// + /// <p>This parameter specifies whether seller age should be checked.</p> + [DataMember(Name="checkSellerAgeRestrictions", EmitDefaultValue=false)] + public bool? CheckSellerAgeRestrictions { get; set; } + + /// + /// Gets or Sets ConfirmDialogAgeVerifacation + /// + [DataMember(Name="confirmDialogAgeVerifacation", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig ConfirmDialogAgeVerifacation { get; set; } + + /// + /// <p>This parameter defines the line item amount.</p> + /// + /// <p>This parameter defines the line item amount.</p> + [DataMember(Name="positionAmount", EmitDefaultValue=false)] + public double? PositionAmount { get; set; } + + /// + /// <p>This parameter defines the unit price.</p> + /// + /// <p>This parameter defines the unit price.</p> + [DataMember(Name="itemPrice", EmitDefaultValue=false)] + public double? ItemPrice { get; set; } + + /// + /// <p>This parameter defines the packaging quantity of an item.</p> + /// + /// <p>This parameter defines the packaging quantity of an item.</p> + [DataMember(Name="factor", EmitDefaultValue=false)] + public double? Factor { get; set; } + + /// + /// <p>The parameter defines the single quantity in case of piece items.</p> + /// + /// <p>The parameter defines the single quantity in case of piece items.</p> + [DataMember(Name="itemQuantity", EmitDefaultValue=false)] + public int? ItemQuantity { get; set; } + + /// + /// <p>The parameter defines the manual weight in case of weight items.</p> + /// + /// <p>The parameter defines the manual weight in case of weight items.</p> + [DataMember(Name="weight", EmitDefaultValue=false)] + public double? Weight { get; set; } + + /// + /// <p>The parameter defines the units in case of quantity with decimal places items (e.g. fuel items).</p> + /// + /// <p>The parameter defines the units in case of quantity with decimal places items (e.g. fuel items).</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>This parameter defines the serial number.</p> + /// + /// <p>This parameter defines the serial number.</p> + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// <p>This parameter specifies whether an item is salable even if no price exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether an item is salable even if no price exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="saleableWithoutPrice", EmitDefaultValue=false)] + public bool? SaleableWithoutPrice { get; set; } + + /// + /// <p>This parameter specifies whether the system switches to Item Search if no search term exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the system switches to Item Search if no search term exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="switchToItemSearch", EmitDefaultValue=false)] + public bool? SwitchToItemSearch { get; set; } + + /// + /// <p>This parameter specifies whether the receipt text of the item is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the receipt text of the item is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="askForReceiptText", EmitDefaultValue=false)] + public bool? AskForReceiptText { get; set; } + + /// + /// <p>This parameter defines the mode. The default is set at 0.</p><br /><pre>values: 0, 1, 2<br /></pre><br /><ul><br /> <li>0 - The standard item entry is set.</li><br /> <li>1 - The set component entry is set.</li><br /> <li>2 - The Bulk Registration is set.</li><br /></ul> + /// + /// <p>This parameter defines the mode. The default is set at 0.</p><br /><pre>values: 0, 1, 2<br /></pre><br /><ul><br /> <li>0 - The standard item entry is set.</li><br /> <li>1 - The set component entry is set.</li><br /> <li>2 - The Bulk Registration is set.</li><br /></ul> + [DataMember(Name="mode", EmitDefaultValue=false)] + public int? Mode { get; set; } + + /// + /// Gets or Sets CallPackageSelection + /// + [DataMember(Name="callPackageSelection", EmitDefaultValue=false)] + public bool? CallPackageSelection { get; set; } + + /// + /// Gets or Sets ItemPackageSelectionId + /// + [DataMember(Name="itemPackageSelectionId", EmitDefaultValue=false)] + public string ItemPackageSelectionId { get; set; } + + /// + /// <p>This parameter specifies whether the total price entry is requested in case of return of weighing items. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the total price entry is requested in case of return of weighing items. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="returnManualPositionAmountForWeightItemsRequired", EmitDefaultValue=false)] + public bool? ReturnManualPositionAmountForWeightItemsRequired { get; set; } + + /// + /// <p>This parameter specifies whether the reason is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the reason is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="returnReasonRequired", EmitDefaultValue=false)] + public bool? ReturnReasonRequired { get; set; } + + /// + /// <p>This parameter specifies whether a manual price entry is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a manual price entry is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="returnManualPriceRequired", EmitDefaultValue=false)] + public bool? ReturnManualPriceRequired { get; set; } + + /// + /// <p>This config defines the Enter ReceiptText Dialog.</p> + /// + /// <p>This config defines the Enter ReceiptText Dialog.</p> + [DataMember(Name="promptForReceiptTextConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig PromptForReceiptTextConfig { get; set; } + + /// + /// <p>This config defines the Enter SerialNumber Dialog.</p> + /// + /// <p>This config defines the Enter SerialNumber Dialog.</p> + [DataMember(Name="promptForSerialNumberConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig PromptForSerialNumberConfig { get; set; } + + /// + /// <p>This config defines the position operation for registering.</p> + /// + /// <p>This config defines the position operation for registering.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// Gets or Sets PriceDifferenceLimitExceedAuthConfig + /// + [DataMember(Name="priceDifferenceLimitExceedAuthConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig PriceDifferenceLimitExceedAuthConfig { get; set; } + + /// + /// Gets or Sets PromotionOperationConfig + /// + [DataMember(Name="promotionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig PromotionOperationConfig { get; set; } + + /// + /// Gets or Sets ForceManualWeight + /// + [DataMember(Name="forceManualWeight", EmitDefaultValue=false)] + public bool? ForceManualWeight { get; set; } + + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="quantityAccumulation", EmitDefaultValue=false)] + public bool? QuantityAccumulation { get; set; } + + /// + /// <p>It references the item details config to determine if additional info is needed</p> + /// + /// <p>It references the item details config to determine if additional info is needed</p> + [DataMember(Name="itemRegistrationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig ItemRegistrationConfig { get; set; } + + /// + /// Gets or Sets ItemIDCaseSensitive + /// + [DataMember(Name="itemIDCaseSensitive", EmitDefaultValue=false)] + public bool? ItemIDCaseSensitive { get; set; } + + /// + /// <p>It references the acoustic signal configuration identifier for manual price input</p> + /// + /// <p>It references the acoustic signal configuration identifier for manual price input</p> + [DataMember(Name="manualPriceAcousticSignalConfigId", EmitDefaultValue=false)] + public string ManualPriceAcousticSignalConfigId { get; set; } + + /// + /// <p>It references the acoustic signal configuration identifier for quantity input</p> + /// + /// <p>It references the acoustic signal configuration identifier for quantity input</p> + [DataMember(Name="quantityAcousticSignalConfigId", EmitDefaultValue=false)] + public string QuantityAcousticSignalConfigId { get; set; } + + /// + /// <p>It references the acoustic signal configuration identifier for serial number input</p> + /// + /// <p>It references the acoustic signal configuration identifier for serial number input</p> + [DataMember(Name="serialNumberAcousticSignalConfigId", EmitDefaultValue=false)] + public string SerialNumberAcousticSignalConfigId { get; set; } + + /// + /// <p>It references the SetQuantityForLineItemConfig identifier for the SetQuantityForLineItem sub process call.</p> + /// + /// <p>It references the SetQuantityForLineItemConfig identifier for the SetQuantityForLineItem sub process call.</p> + [DataMember(Name="setQuantityForLineItemConfigId", EmitDefaultValue=false)] + public string SetQuantityForLineItemConfigId { get; set; } + + /// + /// Gets or Sets NegativePositionProhibited + /// + [DataMember(Name="negativePositionProhibited", EmitDefaultValue=false)] + public bool? NegativePositionProhibited { get; set; } + + /// + /// Gets or Sets CustomerOrderData + /// + [DataMember(Name="customerOrderData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData CustomerOrderData { get; set; } + + /// + /// Gets or Sets RegisterLineItemAddOnData + /// + [DataMember(Name="registerLineItemAddOnData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData RegisterLineItemAddOnData { get; set; } + + /// + /// <p>References the instance of configuration which indicates additional item related attributes to be assigned to sale return line item extensions during item registration.</p> + /// + /// <p>References the instance of configuration which indicates additional item related attributes to be assigned to sale return line item extensions during item registration.</p> + [DataMember(Name="additionalAttributes", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes AdditionalAttributes { get; set; } + + /// + /// Gets or Sets RegisterFuelLineItem + /// + [DataMember(Name="registerFuelLineItem", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem RegisterFuelLineItem { get; set; } + + /// + /// <p>It defines if an open line item (without item) will be removed if item entry fails with error.<br /> It should be set to true for barcode rules with multiple actions where second action is the item entry process.<br /> Default: null/false</p> + /// + /// <p>It defines if an open line item (without item) will be removed if item entry fails with error.<br /> It should be set to true for barcode rules with multiple actions where second action is the item entry process.<br /> Default: null/false</p> + [DataMember(Name="removeOpenLineItemOnError", EmitDefaultValue=false)] + public bool? RemoveOpenLineItemOnError { get; set; } + + /// + /// <p>config item not found authorization. Mainly to be used by POS clients that will display an authorization error on item search failure (Ex: SCO)</p> + /// + /// <p>config item not found authorization. Mainly to be used by POS clients that will display an authorization error on item search failure (Ex: SCO)</p> + [DataMember(Name="itemNotFoundAuthorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig ItemNotFoundAuthorizationConfig { get; set; } + + /// + /// <p>config to handle remote service not available authorization errors, when doing remote item searches in SDC / SAP</p> + /// + /// <p>config to handle remote service not available authorization errors, when doing remote item searches in SDC / SAP</p> + [DataMember(Name="remoteServiceNotAvailableAuthorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig RemoteServiceNotAvailableAuthorizationConfig { get; set; } + + + /// + /// <p>If true any forbidden dialogs for sales restrictions will be skipped.</p> + /// + /// <p>If true any forbidden dialogs for sales restrictions will be skipped.</p> + [DataMember(Name="skipSalesRestrictionDialogs", EmitDefaultValue=false)] + public bool? SkipSalesRestrictionDialogs { get; set; } + + /// + /// <p>If true any error dialogs triggered while setting quantity for line item will be skipped.</p> + /// + /// <p>If true any error dialogs triggered while setting quantity for line item will be skipped.</p> + [DataMember(Name="skipQuantityErrorDialogs", EmitDefaultValue=false)] + public bool? SkipQuantityErrorDialogs { get; set; } + + /// + /// <p>It defines the specific SalesRestriction configID for ItemEntryConfig, which will be overridden into sales restriction process (empty by default).</p> + /// + /// <p>It defines the specific SalesRestriction configID for ItemEntryConfig, which will be overridden into sales restriction process (empty by default).</p> + [DataMember(Name="salesRestrictionConfigID", EmitDefaultValue=false)] + public string SalesRestrictionConfigID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" FixedItemNrEan: ").Append(FixedItemNrEan).Append("\n"); + sb.Append(" ItemNrEan: ").Append(ItemNrEan).Append("\n"); + sb.Append(" ItemTraceableUnitID: ").Append(ItemTraceableUnitID).Append("\n"); + sb.Append(" RegistrationNumber: ").Append(RegistrationNumber).Append("\n"); + sb.Append(" TextClassIds: ").Append(TextClassIds).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append(" CheckSalesRestrictions: ").Append(CheckSalesRestrictions).Append("\n"); + sb.Append(" CheckSalesRestrictionsForReturn: ").Append(CheckSalesRestrictionsForReturn).Append("\n"); + sb.Append(" CheckForVariants: ").Append(CheckForVariants).Append("\n"); + sb.Append(" CheckTaxGroup: ").Append(CheckTaxGroup).Append("\n"); + sb.Append(" AskForQuantity: ").Append(AskForQuantity).Append("\n"); + sb.Append(" AgeVerificationRequired: ").Append(AgeVerificationRequired).Append("\n"); + sb.Append(" CheckSellerAgeRestrictions: ").Append(CheckSellerAgeRestrictions).Append("\n"); + sb.Append(" ConfirmDialogAgeVerifacation: ").Append(ConfirmDialogAgeVerifacation).Append("\n"); + sb.Append(" PositionAmount: ").Append(PositionAmount).Append("\n"); + sb.Append(" ItemPrice: ").Append(ItemPrice).Append("\n"); + sb.Append(" Factor: ").Append(Factor).Append("\n"); + sb.Append(" ItemQuantity: ").Append(ItemQuantity).Append("\n"); + sb.Append(" Weight: ").Append(Weight).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" SaleableWithoutPrice: ").Append(SaleableWithoutPrice).Append("\n"); + sb.Append(" SwitchToItemSearch: ").Append(SwitchToItemSearch).Append("\n"); + sb.Append(" AskForReceiptText: ").Append(AskForReceiptText).Append("\n"); + sb.Append(" Mode: ").Append(Mode).Append("\n"); + sb.Append(" CallPackageSelection: ").Append(CallPackageSelection).Append("\n"); + sb.Append(" ItemPackageSelectionId: ").Append(ItemPackageSelectionId).Append("\n"); + sb.Append(" ReturnManualPositionAmountForWeightItemsRequired: ").Append(ReturnManualPositionAmountForWeightItemsRequired).Append("\n"); + sb.Append(" ReturnReasonRequired: ").Append(ReturnReasonRequired).Append("\n"); + sb.Append(" ReturnManualPriceRequired: ").Append(ReturnManualPriceRequired).Append("\n"); + sb.Append(" PromptForReceiptTextConfig: ").Append(PromptForReceiptTextConfig).Append("\n"); + sb.Append(" PromptForSerialNumberConfig: ").Append(PromptForSerialNumberConfig).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" PriceDifferenceLimitExceedAuthConfig: ").Append(PriceDifferenceLimitExceedAuthConfig).Append("\n"); + sb.Append(" PromotionOperationConfig: ").Append(PromotionOperationConfig).Append("\n"); + sb.Append(" ForceManualWeight: ").Append(ForceManualWeight).Append("\n"); + sb.Append(" QuantityAccumulation: ").Append(QuantityAccumulation).Append("\n"); + sb.Append(" ItemRegistrationConfig: ").Append(ItemRegistrationConfig).Append("\n"); + sb.Append(" ItemIDCaseSensitive: ").Append(ItemIDCaseSensitive).Append("\n"); + sb.Append(" ManualPriceAcousticSignalConfigId: ").Append(ManualPriceAcousticSignalConfigId).Append("\n"); + sb.Append(" QuantityAcousticSignalConfigId: ").Append(QuantityAcousticSignalConfigId).Append("\n"); + sb.Append(" SerialNumberAcousticSignalConfigId: ").Append(SerialNumberAcousticSignalConfigId).Append("\n"); + sb.Append(" SetQuantityForLineItemConfigId: ").Append(SetQuantityForLineItemConfigId).Append("\n"); + sb.Append(" NegativePositionProhibited: ").Append(NegativePositionProhibited).Append("\n"); + sb.Append(" CustomerOrderData: ").Append(CustomerOrderData).Append("\n"); + sb.Append(" RegisterLineItemAddOnData: ").Append(RegisterLineItemAddOnData).Append("\n"); + sb.Append(" AdditionalAttributes: ").Append(AdditionalAttributes).Append("\n"); + sb.Append(" RegisterFuelLineItem: ").Append(RegisterFuelLineItem).Append("\n"); + sb.Append(" RemoveOpenLineItemOnError: ").Append(RemoveOpenLineItemOnError).Append("\n"); + sb.Append(" ItemNotFoundAuthorizationConfig: ").Append(ItemNotFoundAuthorizationConfig).Append("\n"); + sb.Append(" RemoteServiceNotAvailableAuthorizationConfig: ").Append(RemoteServiceNotAvailableAuthorizationConfig).Append("\n"); + sb.Append(" ItemProvider: ").Append(ItemProvider).Append("\n"); + sb.Append(" SkipSalesRestrictionDialogs: ").Append(SkipSalesRestrictionDialogs).Append("\n"); + sb.Append(" SkipQuantityErrorDialogs: ").Append(SkipQuantityErrorDialogs).Append("\n"); + sb.Append(" SalesRestrictionConfigID: ").Append(SalesRestrictionConfigID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.FixedItemNrEan == input.FixedItemNrEan || + (this.FixedItemNrEan != null && + this.FixedItemNrEan.Equals(input.FixedItemNrEan)) + ) && + ( + this.ItemNrEan == input.ItemNrEan || + (this.ItemNrEan != null && + this.ItemNrEan.Equals(input.ItemNrEan)) + ) && + ( + this.ItemTraceableUnitID == input.ItemTraceableUnitID || + (this.ItemTraceableUnitID != null && + this.ItemTraceableUnitID.Equals(input.ItemTraceableUnitID)) + ) && + ( + this.RegistrationNumber == input.RegistrationNumber || + (this.RegistrationNumber != null && + this.RegistrationNumber.Equals(input.RegistrationNumber)) + ) && + ( + this.TextClassIds == input.TextClassIds || + this.TextClassIds != null && + this.TextClassIds.SequenceEqual(input.TextClassIds) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ) && + ( + this.CheckSalesRestrictions == input.CheckSalesRestrictions || + (this.CheckSalesRestrictions != null && + this.CheckSalesRestrictions.Equals(input.CheckSalesRestrictions)) + ) && + ( + this.CheckSalesRestrictionsForReturn == input.CheckSalesRestrictionsForReturn || + (this.CheckSalesRestrictionsForReturn != null && + this.CheckSalesRestrictionsForReturn.Equals(input.CheckSalesRestrictionsForReturn)) + ) && + ( + this.CheckForVariants == input.CheckForVariants || + (this.CheckForVariants != null && + this.CheckForVariants.Equals(input.CheckForVariants)) + ) && + ( + this.CheckTaxGroup == input.CheckTaxGroup || + (this.CheckTaxGroup != null && + this.CheckTaxGroup.Equals(input.CheckTaxGroup)) + ) && + ( + this.AskForQuantity == input.AskForQuantity || + (this.AskForQuantity != null && + this.AskForQuantity.Equals(input.AskForQuantity)) + ) && + ( + this.AgeVerificationRequired == input.AgeVerificationRequired || + (this.AgeVerificationRequired != null && + this.AgeVerificationRequired.Equals(input.AgeVerificationRequired)) + ) && + ( + this.CheckSellerAgeRestrictions == input.CheckSellerAgeRestrictions || + (this.CheckSellerAgeRestrictions != null && + this.CheckSellerAgeRestrictions.Equals(input.CheckSellerAgeRestrictions)) + ) && + ( + this.ConfirmDialogAgeVerifacation == input.ConfirmDialogAgeVerifacation || + (this.ConfirmDialogAgeVerifacation != null && + this.ConfirmDialogAgeVerifacation.Equals(input.ConfirmDialogAgeVerifacation)) + ) && + ( + this.PositionAmount == input.PositionAmount || + (this.PositionAmount != null && + this.PositionAmount.Equals(input.PositionAmount)) + ) && + ( + this.ItemPrice == input.ItemPrice || + (this.ItemPrice != null && + this.ItemPrice.Equals(input.ItemPrice)) + ) && + ( + this.Factor == input.Factor || + (this.Factor != null && + this.Factor.Equals(input.Factor)) + ) && + ( + this.ItemQuantity == input.ItemQuantity || + (this.ItemQuantity != null && + this.ItemQuantity.Equals(input.ItemQuantity)) + ) && + ( + this.Weight == input.Weight || + (this.Weight != null && + this.Weight.Equals(input.Weight)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.SaleableWithoutPrice == input.SaleableWithoutPrice || + (this.SaleableWithoutPrice != null && + this.SaleableWithoutPrice.Equals(input.SaleableWithoutPrice)) + ) && + ( + this.SwitchToItemSearch == input.SwitchToItemSearch || + (this.SwitchToItemSearch != null && + this.SwitchToItemSearch.Equals(input.SwitchToItemSearch)) + ) && + ( + this.AskForReceiptText == input.AskForReceiptText || + (this.AskForReceiptText != null && + this.AskForReceiptText.Equals(input.AskForReceiptText)) + ) && + ( + this.Mode == input.Mode || + (this.Mode != null && + this.Mode.Equals(input.Mode)) + ) && + ( + this.CallPackageSelection == input.CallPackageSelection || + (this.CallPackageSelection != null && + this.CallPackageSelection.Equals(input.CallPackageSelection)) + ) && + ( + this.ItemPackageSelectionId == input.ItemPackageSelectionId || + (this.ItemPackageSelectionId != null && + this.ItemPackageSelectionId.Equals(input.ItemPackageSelectionId)) + ) && + ( + this.ReturnManualPositionAmountForWeightItemsRequired == input.ReturnManualPositionAmountForWeightItemsRequired || + (this.ReturnManualPositionAmountForWeightItemsRequired != null && + this.ReturnManualPositionAmountForWeightItemsRequired.Equals(input.ReturnManualPositionAmountForWeightItemsRequired)) + ) && + ( + this.ReturnReasonRequired == input.ReturnReasonRequired || + (this.ReturnReasonRequired != null && + this.ReturnReasonRequired.Equals(input.ReturnReasonRequired)) + ) && + ( + this.ReturnManualPriceRequired == input.ReturnManualPriceRequired || + (this.ReturnManualPriceRequired != null && + this.ReturnManualPriceRequired.Equals(input.ReturnManualPriceRequired)) + ) && + ( + this.PromptForReceiptTextConfig == input.PromptForReceiptTextConfig || + (this.PromptForReceiptTextConfig != null && + this.PromptForReceiptTextConfig.Equals(input.PromptForReceiptTextConfig)) + ) && + ( + this.PromptForSerialNumberConfig == input.PromptForSerialNumberConfig || + (this.PromptForSerialNumberConfig != null && + this.PromptForSerialNumberConfig.Equals(input.PromptForSerialNumberConfig)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.PriceDifferenceLimitExceedAuthConfig == input.PriceDifferenceLimitExceedAuthConfig || + (this.PriceDifferenceLimitExceedAuthConfig != null && + this.PriceDifferenceLimitExceedAuthConfig.Equals(input.PriceDifferenceLimitExceedAuthConfig)) + ) && + ( + this.PromotionOperationConfig == input.PromotionOperationConfig || + (this.PromotionOperationConfig != null && + this.PromotionOperationConfig.Equals(input.PromotionOperationConfig)) + ) && + ( + this.ForceManualWeight == input.ForceManualWeight || + (this.ForceManualWeight != null && + this.ForceManualWeight.Equals(input.ForceManualWeight)) + ) && + ( + this.QuantityAccumulation == input.QuantityAccumulation || + (this.QuantityAccumulation != null && + this.QuantityAccumulation.Equals(input.QuantityAccumulation)) + ) && + ( + this.ItemRegistrationConfig == input.ItemRegistrationConfig || + (this.ItemRegistrationConfig != null && + this.ItemRegistrationConfig.Equals(input.ItemRegistrationConfig)) + ) && + ( + this.ItemIDCaseSensitive == input.ItemIDCaseSensitive || + (this.ItemIDCaseSensitive != null && + this.ItemIDCaseSensitive.Equals(input.ItemIDCaseSensitive)) + ) && + ( + this.ManualPriceAcousticSignalConfigId == input.ManualPriceAcousticSignalConfigId || + (this.ManualPriceAcousticSignalConfigId != null && + this.ManualPriceAcousticSignalConfigId.Equals(input.ManualPriceAcousticSignalConfigId)) + ) && + ( + this.QuantityAcousticSignalConfigId == input.QuantityAcousticSignalConfigId || + (this.QuantityAcousticSignalConfigId != null && + this.QuantityAcousticSignalConfigId.Equals(input.QuantityAcousticSignalConfigId)) + ) && + ( + this.SerialNumberAcousticSignalConfigId == input.SerialNumberAcousticSignalConfigId || + (this.SerialNumberAcousticSignalConfigId != null && + this.SerialNumberAcousticSignalConfigId.Equals(input.SerialNumberAcousticSignalConfigId)) + ) && + ( + this.SetQuantityForLineItemConfigId == input.SetQuantityForLineItemConfigId || + (this.SetQuantityForLineItemConfigId != null && + this.SetQuantityForLineItemConfigId.Equals(input.SetQuantityForLineItemConfigId)) + ) && + ( + this.NegativePositionProhibited == input.NegativePositionProhibited || + (this.NegativePositionProhibited != null && + this.NegativePositionProhibited.Equals(input.NegativePositionProhibited)) + ) && + ( + this.CustomerOrderData == input.CustomerOrderData || + (this.CustomerOrderData != null && + this.CustomerOrderData.Equals(input.CustomerOrderData)) + ) && + ( + this.RegisterLineItemAddOnData == input.RegisterLineItemAddOnData || + (this.RegisterLineItemAddOnData != null && + this.RegisterLineItemAddOnData.Equals(input.RegisterLineItemAddOnData)) + ) && + ( + this.AdditionalAttributes == input.AdditionalAttributes || + (this.AdditionalAttributes != null && + this.AdditionalAttributes.Equals(input.AdditionalAttributes)) + ) && + ( + this.RegisterFuelLineItem == input.RegisterFuelLineItem || + (this.RegisterFuelLineItem != null && + this.RegisterFuelLineItem.Equals(input.RegisterFuelLineItem)) + ) && + ( + this.RemoveOpenLineItemOnError == input.RemoveOpenLineItemOnError || + (this.RemoveOpenLineItemOnError != null && + this.RemoveOpenLineItemOnError.Equals(input.RemoveOpenLineItemOnError)) + ) && + ( + this.ItemNotFoundAuthorizationConfig == input.ItemNotFoundAuthorizationConfig || + (this.ItemNotFoundAuthorizationConfig != null && + this.ItemNotFoundAuthorizationConfig.Equals(input.ItemNotFoundAuthorizationConfig)) + ) && + ( + this.RemoteServiceNotAvailableAuthorizationConfig == input.RemoteServiceNotAvailableAuthorizationConfig || + (this.RemoteServiceNotAvailableAuthorizationConfig != null && + this.RemoteServiceNotAvailableAuthorizationConfig.Equals(input.RemoteServiceNotAvailableAuthorizationConfig)) + ) && + ( + this.ItemProvider == input.ItemProvider || + (this.ItemProvider != null && + this.ItemProvider.Equals(input.ItemProvider)) + ) && + ( + this.SkipSalesRestrictionDialogs == input.SkipSalesRestrictionDialogs || + (this.SkipSalesRestrictionDialogs != null && + this.SkipSalesRestrictionDialogs.Equals(input.SkipSalesRestrictionDialogs)) + ) && + ( + this.SkipQuantityErrorDialogs == input.SkipQuantityErrorDialogs || + (this.SkipQuantityErrorDialogs != null && + this.SkipQuantityErrorDialogs.Equals(input.SkipQuantityErrorDialogs)) + ) && + ( + this.SalesRestrictionConfigID == input.SalesRestrictionConfigID || + (this.SalesRestrictionConfigID != null && + this.SalesRestrictionConfigID.Equals(input.SalesRestrictionConfigID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.FixedItemNrEan != null) + hashCode = hashCode * 59 + this.FixedItemNrEan.GetHashCode(); + if (this.ItemNrEan != null) + hashCode = hashCode * 59 + this.ItemNrEan.GetHashCode(); + if (this.ItemTraceableUnitID != null) + hashCode = hashCode * 59 + this.ItemTraceableUnitID.GetHashCode(); + if (this.RegistrationNumber != null) + hashCode = hashCode * 59 + this.RegistrationNumber.GetHashCode(); + if (this.TextClassIds != null) + hashCode = hashCode * 59 + this.TextClassIds.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + if (this.CheckSalesRestrictions != null) + hashCode = hashCode * 59 + this.CheckSalesRestrictions.GetHashCode(); + if (this.CheckSalesRestrictionsForReturn != null) + hashCode = hashCode * 59 + this.CheckSalesRestrictionsForReturn.GetHashCode(); + if (this.CheckForVariants != null) + hashCode = hashCode * 59 + this.CheckForVariants.GetHashCode(); + if (this.CheckTaxGroup != null) + hashCode = hashCode * 59 + this.CheckTaxGroup.GetHashCode(); + if (this.AskForQuantity != null) + hashCode = hashCode * 59 + this.AskForQuantity.GetHashCode(); + if (this.AgeVerificationRequired != null) + hashCode = hashCode * 59 + this.AgeVerificationRequired.GetHashCode(); + if (this.CheckSellerAgeRestrictions != null) + hashCode = hashCode * 59 + this.CheckSellerAgeRestrictions.GetHashCode(); + if (this.ConfirmDialogAgeVerifacation != null) + hashCode = hashCode * 59 + this.ConfirmDialogAgeVerifacation.GetHashCode(); + if (this.PositionAmount != null) + hashCode = hashCode * 59 + this.PositionAmount.GetHashCode(); + if (this.ItemPrice != null) + hashCode = hashCode * 59 + this.ItemPrice.GetHashCode(); + if (this.Factor != null) + hashCode = hashCode * 59 + this.Factor.GetHashCode(); + if (this.ItemQuantity != null) + hashCode = hashCode * 59 + this.ItemQuantity.GetHashCode(); + if (this.Weight != null) + hashCode = hashCode * 59 + this.Weight.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.SaleableWithoutPrice != null) + hashCode = hashCode * 59 + this.SaleableWithoutPrice.GetHashCode(); + if (this.SwitchToItemSearch != null) + hashCode = hashCode * 59 + this.SwitchToItemSearch.GetHashCode(); + if (this.AskForReceiptText != null) + hashCode = hashCode * 59 + this.AskForReceiptText.GetHashCode(); + if (this.Mode != null) + hashCode = hashCode * 59 + this.Mode.GetHashCode(); + if (this.CallPackageSelection != null) + hashCode = hashCode * 59 + this.CallPackageSelection.GetHashCode(); + if (this.ItemPackageSelectionId != null) + hashCode = hashCode * 59 + this.ItemPackageSelectionId.GetHashCode(); + if (this.ReturnManualPositionAmountForWeightItemsRequired != null) + hashCode = hashCode * 59 + this.ReturnManualPositionAmountForWeightItemsRequired.GetHashCode(); + if (this.ReturnReasonRequired != null) + hashCode = hashCode * 59 + this.ReturnReasonRequired.GetHashCode(); + if (this.ReturnManualPriceRequired != null) + hashCode = hashCode * 59 + this.ReturnManualPriceRequired.GetHashCode(); + if (this.PromptForReceiptTextConfig != null) + hashCode = hashCode * 59 + this.PromptForReceiptTextConfig.GetHashCode(); + if (this.PromptForSerialNumberConfig != null) + hashCode = hashCode * 59 + this.PromptForSerialNumberConfig.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.PriceDifferenceLimitExceedAuthConfig != null) + hashCode = hashCode * 59 + this.PriceDifferenceLimitExceedAuthConfig.GetHashCode(); + if (this.PromotionOperationConfig != null) + hashCode = hashCode * 59 + this.PromotionOperationConfig.GetHashCode(); + if (this.ForceManualWeight != null) + hashCode = hashCode * 59 + this.ForceManualWeight.GetHashCode(); + if (this.QuantityAccumulation != null) + hashCode = hashCode * 59 + this.QuantityAccumulation.GetHashCode(); + if (this.ItemRegistrationConfig != null) + hashCode = hashCode * 59 + this.ItemRegistrationConfig.GetHashCode(); + if (this.ItemIDCaseSensitive != null) + hashCode = hashCode * 59 + this.ItemIDCaseSensitive.GetHashCode(); + if (this.ManualPriceAcousticSignalConfigId != null) + hashCode = hashCode * 59 + this.ManualPriceAcousticSignalConfigId.GetHashCode(); + if (this.QuantityAcousticSignalConfigId != null) + hashCode = hashCode * 59 + this.QuantityAcousticSignalConfigId.GetHashCode(); + if (this.SerialNumberAcousticSignalConfigId != null) + hashCode = hashCode * 59 + this.SerialNumberAcousticSignalConfigId.GetHashCode(); + if (this.SetQuantityForLineItemConfigId != null) + hashCode = hashCode * 59 + this.SetQuantityForLineItemConfigId.GetHashCode(); + if (this.NegativePositionProhibited != null) + hashCode = hashCode * 59 + this.NegativePositionProhibited.GetHashCode(); + if (this.CustomerOrderData != null) + hashCode = hashCode * 59 + this.CustomerOrderData.GetHashCode(); + if (this.RegisterLineItemAddOnData != null) + hashCode = hashCode * 59 + this.RegisterLineItemAddOnData.GetHashCode(); + if (this.AdditionalAttributes != null) + hashCode = hashCode * 59 + this.AdditionalAttributes.GetHashCode(); + if (this.RegisterFuelLineItem != null) + hashCode = hashCode * 59 + this.RegisterFuelLineItem.GetHashCode(); + if (this.RemoveOpenLineItemOnError != null) + hashCode = hashCode * 59 + this.RemoveOpenLineItemOnError.GetHashCode(); + if (this.ItemNotFoundAuthorizationConfig != null) + hashCode = hashCode * 59 + this.ItemNotFoundAuthorizationConfig.GetHashCode(); + if (this.RemoteServiceNotAvailableAuthorizationConfig != null) + hashCode = hashCode * 59 + this.RemoteServiceNotAvailableAuthorizationConfig.GetHashCode(); + if (this.ItemProvider != null) + hashCode = hashCode * 59 + this.ItemProvider.GetHashCode(); + if (this.SkipSalesRestrictionDialogs != null) + hashCode = hashCode * 59 + this.SkipSalesRestrictionDialogs.GetHashCode(); + if (this.SkipQuantityErrorDialogs != null) + hashCode = hashCode * 59 + this.SkipQuantityErrorDialogs.GetHashCode(); + if (this.SalesRestrictionConfigID != null) + hashCode = hashCode * 59 + this.SalesRestrictionConfigID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..32be9cc57f15376204ddccd094307ed1df52bf63 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig.cs @@ -0,0 +1,903 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemRegistrationConfig <p>This configuration entity defines the item registration process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// <p>This configuration defines barcode processes.</p> (required). + /// <p>This configuration defines the transaction preview.</p> (required). + /// <p>This parameter defines the configuration for the transaction preview in connection with the function Show Message.</p> (required). + /// subtotalPositionOperationConfig (required). + /// promptReceiptDataConfig (required). + /// payTowerErrorDialog (required). + /// <p>This configuration defines the goods return process.</p> (required). + /// <p>This configuration defines the empties return process.</p> (required). + /// alternativeTaxConfig (required). + /// defaultTareConfig (required). + /// toggleTareFixConfig (required). + /// <p>This configuration defines the permanent customer information panel.</p>. + /// createLayawayConfig (required). + /// <p>It defines the rescan configuration. </p> (required). + /// <p>It defines if the discount info should be displayed in transaction preview.</p> (required). + /// <p>It defines if the item info should be displayed in transaction preview.</p> (required). + /// <p>It defines if the item image should be displayed in transaction preview.</p> (required). + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p>. + /// <p>It defines a list of text type codes that should be displayed as text sales info.</p>. + /// salesInfoTextLimit. + /// terminalDisplayLinesConfigId. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig processBarcodeConfig = default(ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig), ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig transactionPreviewContextConfig = default(ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig), ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig transactionPreviewShowMessage = default(ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig subtotalPositionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig promptReceiptDataConfig = default(ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig), ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig payTowerErrorDialog = default(ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig), ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig goodsReturnConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig), ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig emptiesReturnConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig alternativeTaxConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig), ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig defaultTareConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig), ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig toggleTareFixConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig), ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig permanentCustomerInformationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig createLayawayConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig), ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig rescanConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig), bool? discountInfoEnabled = default(bool?), bool? itemInfoEnabled = default(bool?), bool? itemImageEnabled = default(bool?), List iconSalesInfoTextTypeCodes = default(List), List textSalesInfoTextTypeCodes = default(List), int? salesInfoTextLimit = default(int?), string terminalDisplayLinesConfigId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "processBarcodeConfig" is required (not null) + if (processBarcodeConfig == null) + { + throw new InvalidDataException("processBarcodeConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.ProcessBarcodeConfig = processBarcodeConfig; + } + // to ensure "transactionPreviewContextConfig" is required (not null) + if (transactionPreviewContextConfig == null) + { + throw new InvalidDataException("transactionPreviewContextConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.TransactionPreviewContextConfig = transactionPreviewContextConfig; + } + // to ensure "transactionPreviewShowMessage" is required (not null) + if (transactionPreviewShowMessage == null) + { + throw new InvalidDataException("transactionPreviewShowMessage is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.TransactionPreviewShowMessage = transactionPreviewShowMessage; + } + // to ensure "subtotalPositionOperationConfig" is required (not null) + if (subtotalPositionOperationConfig == null) + { + throw new InvalidDataException("subtotalPositionOperationConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.SubtotalPositionOperationConfig = subtotalPositionOperationConfig; + } + // to ensure "promptReceiptDataConfig" is required (not null) + if (promptReceiptDataConfig == null) + { + throw new InvalidDataException("promptReceiptDataConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.PromptReceiptDataConfig = promptReceiptDataConfig; + } + // to ensure "payTowerErrorDialog" is required (not null) + if (payTowerErrorDialog == null) + { + throw new InvalidDataException("payTowerErrorDialog is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.PayTowerErrorDialog = payTowerErrorDialog; + } + // to ensure "goodsReturnConfig" is required (not null) + if (goodsReturnConfig == null) + { + throw new InvalidDataException("goodsReturnConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.GoodsReturnConfig = goodsReturnConfig; + } + // to ensure "emptiesReturnConfig" is required (not null) + if (emptiesReturnConfig == null) + { + throw new InvalidDataException("emptiesReturnConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.EmptiesReturnConfig = emptiesReturnConfig; + } + // to ensure "alternativeTaxConfig" is required (not null) + if (alternativeTaxConfig == null) + { + throw new InvalidDataException("alternativeTaxConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.AlternativeTaxConfig = alternativeTaxConfig; + } + // to ensure "defaultTareConfig" is required (not null) + if (defaultTareConfig == null) + { + throw new InvalidDataException("defaultTareConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.DefaultTareConfig = defaultTareConfig; + } + // to ensure "toggleTareFixConfig" is required (not null) + if (toggleTareFixConfig == null) + { + throw new InvalidDataException("toggleTareFixConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.ToggleTareFixConfig = toggleTareFixConfig; + } + // to ensure "createLayawayConfig" is required (not null) + if (createLayawayConfig == null) + { + throw new InvalidDataException("createLayawayConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.CreateLayawayConfig = createLayawayConfig; + } + // to ensure "rescanConfig" is required (not null) + if (rescanConfig == null) + { + throw new InvalidDataException("rescanConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.RescanConfig = rescanConfig; + } + // to ensure "discountInfoEnabled" is required (not null) + if (discountInfoEnabled == null) + { + throw new InvalidDataException("discountInfoEnabled is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.DiscountInfoEnabled = discountInfoEnabled; + } + // to ensure "itemInfoEnabled" is required (not null) + if (itemInfoEnabled == null) + { + throw new InvalidDataException("itemInfoEnabled is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.ItemInfoEnabled = itemInfoEnabled; + } + // to ensure "itemImageEnabled" is required (not null) + if (itemImageEnabled == null) + { + throw new InvalidDataException("itemImageEnabled is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig and cannot be null"); + } + else + { + this.ItemImageEnabled = itemImageEnabled; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.PermanentCustomerInformationConfig = permanentCustomerInformationConfig; + this.IconSalesInfoTextTypeCodes = iconSalesInfoTextTypeCodes; + this.TextSalesInfoTextTypeCodes = textSalesInfoTextTypeCodes; + this.SalesInfoTextLimit = salesInfoTextLimit; + this.TerminalDisplayLinesConfigId = terminalDisplayLinesConfigId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// <p>This configuration defines barcode processes.</p> + /// + /// <p>This configuration defines barcode processes.</p> + [DataMember(Name="processBarcodeConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig ProcessBarcodeConfig { get; set; } + + /// + /// <p>This configuration defines the transaction preview.</p> + /// + /// <p>This configuration defines the transaction preview.</p> + [DataMember(Name="transactionPreviewContextConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig TransactionPreviewContextConfig { get; set; } + + /// + /// <p>This parameter defines the configuration for the transaction preview in connection with the function Show Message.</p> + /// + /// <p>This parameter defines the configuration for the transaction preview in connection with the function Show Message.</p> + [DataMember(Name="transactionPreviewShowMessage", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig TransactionPreviewShowMessage { get; set; } + + /// + /// Gets or Sets SubtotalPositionOperationConfig + /// + [DataMember(Name="subtotalPositionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig SubtotalPositionOperationConfig { get; set; } + + /// + /// Gets or Sets PromptReceiptDataConfig + /// + [DataMember(Name="promptReceiptDataConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig PromptReceiptDataConfig { get; set; } + + /// + /// Gets or Sets PayTowerErrorDialog + /// + [DataMember(Name="payTowerErrorDialog", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig PayTowerErrorDialog { get; set; } + + /// + /// <p>This configuration defines the goods return process.</p> + /// + /// <p>This configuration defines the goods return process.</p> + [DataMember(Name="goodsReturnConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig GoodsReturnConfig { get; set; } + + /// + /// <p>This configuration defines the empties return process.</p> + /// + /// <p>This configuration defines the empties return process.</p> + [DataMember(Name="emptiesReturnConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig EmptiesReturnConfig { get; set; } + + /// + /// Gets or Sets AlternativeTaxConfig + /// + [DataMember(Name="alternativeTaxConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig AlternativeTaxConfig { get; set; } + + /// + /// Gets or Sets DefaultTareConfig + /// + [DataMember(Name="defaultTareConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig DefaultTareConfig { get; set; } + + /// + /// Gets or Sets ToggleTareFixConfig + /// + [DataMember(Name="toggleTareFixConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig ToggleTareFixConfig { get; set; } + + /// + /// <p>This configuration defines the permanent customer information panel.</p> + /// + /// <p>This configuration defines the permanent customer information panel.</p> + [DataMember(Name="permanentCustomerInformationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig PermanentCustomerInformationConfig { get; set; } + + /// + /// Gets or Sets CreateLayawayConfig + /// + [DataMember(Name="createLayawayConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig CreateLayawayConfig { get; set; } + + /// + /// <p>It defines the rescan configuration. </p> + /// + /// <p>It defines the rescan configuration. </p> + [DataMember(Name="rescanConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig RescanConfig { get; set; } + + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + [DataMember(Name="discountInfoEnabled", EmitDefaultValue=false)] + public bool? DiscountInfoEnabled { get; set; } + + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + [DataMember(Name="itemInfoEnabled", EmitDefaultValue=false)] + public bool? ItemInfoEnabled { get; set; } + + /// + /// <p>It defines if the item image should be displayed in transaction preview.</p> + /// + /// <p>It defines if the item image should be displayed in transaction preview.</p> + [DataMember(Name="itemImageEnabled", EmitDefaultValue=false)] + public bool? ItemImageEnabled { get; set; } + + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + [DataMember(Name="iconSalesInfoTextTypeCodes", EmitDefaultValue=false)] + public List IconSalesInfoTextTypeCodes { get; set; } + + /// + /// <p>It defines a list of text type codes that should be displayed as text sales info.</p> + /// + /// <p>It defines a list of text type codes that should be displayed as text sales info.</p> + [DataMember(Name="textSalesInfoTextTypeCodes", EmitDefaultValue=false)] + public List TextSalesInfoTextTypeCodes { get; set; } + + /// + /// Gets or Sets SalesInfoTextLimit + /// + [DataMember(Name="salesInfoTextLimit", EmitDefaultValue=false)] + public int? SalesInfoTextLimit { get; set; } + + /// + /// Gets or Sets TerminalDisplayLinesConfigId + /// + [DataMember(Name="terminalDisplayLinesConfigId", EmitDefaultValue=false)] + public string TerminalDisplayLinesConfigId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" ProcessBarcodeConfig: ").Append(ProcessBarcodeConfig).Append("\n"); + sb.Append(" TransactionPreviewContextConfig: ").Append(TransactionPreviewContextConfig).Append("\n"); + sb.Append(" TransactionPreviewShowMessage: ").Append(TransactionPreviewShowMessage).Append("\n"); + sb.Append(" SubtotalPositionOperationConfig: ").Append(SubtotalPositionOperationConfig).Append("\n"); + sb.Append(" PromptReceiptDataConfig: ").Append(PromptReceiptDataConfig).Append("\n"); + sb.Append(" PayTowerErrorDialog: ").Append(PayTowerErrorDialog).Append("\n"); + sb.Append(" GoodsReturnConfig: ").Append(GoodsReturnConfig).Append("\n"); + sb.Append(" EmptiesReturnConfig: ").Append(EmptiesReturnConfig).Append("\n"); + sb.Append(" AlternativeTaxConfig: ").Append(AlternativeTaxConfig).Append("\n"); + sb.Append(" DefaultTareConfig: ").Append(DefaultTareConfig).Append("\n"); + sb.Append(" ToggleTareFixConfig: ").Append(ToggleTareFixConfig).Append("\n"); + sb.Append(" PermanentCustomerInformationConfig: ").Append(PermanentCustomerInformationConfig).Append("\n"); + sb.Append(" CreateLayawayConfig: ").Append(CreateLayawayConfig).Append("\n"); + sb.Append(" RescanConfig: ").Append(RescanConfig).Append("\n"); + sb.Append(" DiscountInfoEnabled: ").Append(DiscountInfoEnabled).Append("\n"); + sb.Append(" ItemInfoEnabled: ").Append(ItemInfoEnabled).Append("\n"); + sb.Append(" ItemImageEnabled: ").Append(ItemImageEnabled).Append("\n"); + sb.Append(" IconSalesInfoTextTypeCodes: ").Append(IconSalesInfoTextTypeCodes).Append("\n"); + sb.Append(" TextSalesInfoTextTypeCodes: ").Append(TextSalesInfoTextTypeCodes).Append("\n"); + sb.Append(" SalesInfoTextLimit: ").Append(SalesInfoTextLimit).Append("\n"); + sb.Append(" TerminalDisplayLinesConfigId: ").Append(TerminalDisplayLinesConfigId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.ProcessBarcodeConfig == input.ProcessBarcodeConfig || + (this.ProcessBarcodeConfig != null && + this.ProcessBarcodeConfig.Equals(input.ProcessBarcodeConfig)) + ) && + ( + this.TransactionPreviewContextConfig == input.TransactionPreviewContextConfig || + (this.TransactionPreviewContextConfig != null && + this.TransactionPreviewContextConfig.Equals(input.TransactionPreviewContextConfig)) + ) && + ( + this.TransactionPreviewShowMessage == input.TransactionPreviewShowMessage || + (this.TransactionPreviewShowMessage != null && + this.TransactionPreviewShowMessage.Equals(input.TransactionPreviewShowMessage)) + ) && + ( + this.SubtotalPositionOperationConfig == input.SubtotalPositionOperationConfig || + (this.SubtotalPositionOperationConfig != null && + this.SubtotalPositionOperationConfig.Equals(input.SubtotalPositionOperationConfig)) + ) && + ( + this.PromptReceiptDataConfig == input.PromptReceiptDataConfig || + (this.PromptReceiptDataConfig != null && + this.PromptReceiptDataConfig.Equals(input.PromptReceiptDataConfig)) + ) && + ( + this.PayTowerErrorDialog == input.PayTowerErrorDialog || + (this.PayTowerErrorDialog != null && + this.PayTowerErrorDialog.Equals(input.PayTowerErrorDialog)) + ) && + ( + this.GoodsReturnConfig == input.GoodsReturnConfig || + (this.GoodsReturnConfig != null && + this.GoodsReturnConfig.Equals(input.GoodsReturnConfig)) + ) && + ( + this.EmptiesReturnConfig == input.EmptiesReturnConfig || + (this.EmptiesReturnConfig != null && + this.EmptiesReturnConfig.Equals(input.EmptiesReturnConfig)) + ) && + ( + this.AlternativeTaxConfig == input.AlternativeTaxConfig || + (this.AlternativeTaxConfig != null && + this.AlternativeTaxConfig.Equals(input.AlternativeTaxConfig)) + ) && + ( + this.DefaultTareConfig == input.DefaultTareConfig || + (this.DefaultTareConfig != null && + this.DefaultTareConfig.Equals(input.DefaultTareConfig)) + ) && + ( + this.ToggleTareFixConfig == input.ToggleTareFixConfig || + (this.ToggleTareFixConfig != null && + this.ToggleTareFixConfig.Equals(input.ToggleTareFixConfig)) + ) && + ( + this.PermanentCustomerInformationConfig == input.PermanentCustomerInformationConfig || + (this.PermanentCustomerInformationConfig != null && + this.PermanentCustomerInformationConfig.Equals(input.PermanentCustomerInformationConfig)) + ) && + ( + this.CreateLayawayConfig == input.CreateLayawayConfig || + (this.CreateLayawayConfig != null && + this.CreateLayawayConfig.Equals(input.CreateLayawayConfig)) + ) && + ( + this.RescanConfig == input.RescanConfig || + (this.RescanConfig != null && + this.RescanConfig.Equals(input.RescanConfig)) + ) && + ( + this.DiscountInfoEnabled == input.DiscountInfoEnabled || + (this.DiscountInfoEnabled != null && + this.DiscountInfoEnabled.Equals(input.DiscountInfoEnabled)) + ) && + ( + this.ItemInfoEnabled == input.ItemInfoEnabled || + (this.ItemInfoEnabled != null && + this.ItemInfoEnabled.Equals(input.ItemInfoEnabled)) + ) && + ( + this.ItemImageEnabled == input.ItemImageEnabled || + (this.ItemImageEnabled != null && + this.ItemImageEnabled.Equals(input.ItemImageEnabled)) + ) && + ( + this.IconSalesInfoTextTypeCodes == input.IconSalesInfoTextTypeCodes || + this.IconSalesInfoTextTypeCodes != null && + this.IconSalesInfoTextTypeCodes.SequenceEqual(input.IconSalesInfoTextTypeCodes) + ) && + ( + this.TextSalesInfoTextTypeCodes == input.TextSalesInfoTextTypeCodes || + this.TextSalesInfoTextTypeCodes != null && + this.TextSalesInfoTextTypeCodes.SequenceEqual(input.TextSalesInfoTextTypeCodes) + ) && + ( + this.SalesInfoTextLimit == input.SalesInfoTextLimit || + (this.SalesInfoTextLimit != null && + this.SalesInfoTextLimit.Equals(input.SalesInfoTextLimit)) + ) && + ( + this.TerminalDisplayLinesConfigId == input.TerminalDisplayLinesConfigId || + (this.TerminalDisplayLinesConfigId != null && + this.TerminalDisplayLinesConfigId.Equals(input.TerminalDisplayLinesConfigId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.ProcessBarcodeConfig != null) + hashCode = hashCode * 59 + this.ProcessBarcodeConfig.GetHashCode(); + if (this.TransactionPreviewContextConfig != null) + hashCode = hashCode * 59 + this.TransactionPreviewContextConfig.GetHashCode(); + if (this.TransactionPreviewShowMessage != null) + hashCode = hashCode * 59 + this.TransactionPreviewShowMessage.GetHashCode(); + if (this.SubtotalPositionOperationConfig != null) + hashCode = hashCode * 59 + this.SubtotalPositionOperationConfig.GetHashCode(); + if (this.PromptReceiptDataConfig != null) + hashCode = hashCode * 59 + this.PromptReceiptDataConfig.GetHashCode(); + if (this.PayTowerErrorDialog != null) + hashCode = hashCode * 59 + this.PayTowerErrorDialog.GetHashCode(); + if (this.GoodsReturnConfig != null) + hashCode = hashCode * 59 + this.GoodsReturnConfig.GetHashCode(); + if (this.EmptiesReturnConfig != null) + hashCode = hashCode * 59 + this.EmptiesReturnConfig.GetHashCode(); + if (this.AlternativeTaxConfig != null) + hashCode = hashCode * 59 + this.AlternativeTaxConfig.GetHashCode(); + if (this.DefaultTareConfig != null) + hashCode = hashCode * 59 + this.DefaultTareConfig.GetHashCode(); + if (this.ToggleTareFixConfig != null) + hashCode = hashCode * 59 + this.ToggleTareFixConfig.GetHashCode(); + if (this.PermanentCustomerInformationConfig != null) + hashCode = hashCode * 59 + this.PermanentCustomerInformationConfig.GetHashCode(); + if (this.CreateLayawayConfig != null) + hashCode = hashCode * 59 + this.CreateLayawayConfig.GetHashCode(); + if (this.RescanConfig != null) + hashCode = hashCode * 59 + this.RescanConfig.GetHashCode(); + if (this.DiscountInfoEnabled != null) + hashCode = hashCode * 59 + this.DiscountInfoEnabled.GetHashCode(); + if (this.ItemInfoEnabled != null) + hashCode = hashCode * 59 + this.ItemInfoEnabled.GetHashCode(); + if (this.ItemImageEnabled != null) + hashCode = hashCode * 59 + this.ItemImageEnabled.GetHashCode(); + if (this.IconSalesInfoTextTypeCodes != null) + hashCode = hashCode * 59 + this.IconSalesInfoTextTypeCodes.GetHashCode(); + if (this.TextSalesInfoTextTypeCodes != null) + hashCode = hashCode * 59 + this.TextSalesInfoTextTypeCodes.GetHashCode(); + if (this.SalesInfoTextLimit != null) + hashCode = hashCode * 59 + this.SalesInfoTextLimit.GetHashCode(); + if (this.TerminalDisplayLinesConfigId != null) + hashCode = hashCode * 59 + this.TerminalDisplayLinesConfigId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..8f9b0388e0f26e6da0eb561a8180ad88303b02f6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MerchandiseHierarchyGroupPrinterAssignmentConfig <p>The configuration entity defines the MHG to printer assignment.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. All line items of the order with the merchandise hierarchy group defined in this list, are printed on the printer which has a reference to this parameter.</p>. + /// <p>The parameter defines the qualifier of the merchandise hierarchy group.</p>. + /// <p>The parameter defined the report ID which should be used for the printout.</p>. + /// <p>The parameter defines an external merchandise hierarchy group ID list as integer, which is used on the KDS system to display the ordered items on the corresponding screens (e.g. food items on kitchen display, drinks on the bar display).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig(string merchandiseHierarchyGroupIdSet = default(string), string merchandiseHierarchyGroupIdQualifier = default(string), string reportId = default(string), string externalMerchandiseHierarchyGroupId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.MerchandiseHierarchyGroupIdSet = merchandiseHierarchyGroupIdSet; + this.MerchandiseHierarchyGroupIdQualifier = merchandiseHierarchyGroupIdQualifier; + this.ReportId = reportId; + this.ExternalMerchandiseHierarchyGroupId = externalMerchandiseHierarchyGroupId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. All line items of the order with the merchandise hierarchy group defined in this list, are printed on the printer which has a reference to this parameter.</p> + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. All line items of the order with the merchandise hierarchy group defined in this list, are printed on the printer which has a reference to this parameter.</p> + [DataMember(Name="merchandiseHierarchyGroupIdSet", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupIdSet { get; set; } + + /// + /// <p>The parameter defines the qualifier of the merchandise hierarchy group.</p> + /// + /// <p>The parameter defines the qualifier of the merchandise hierarchy group.</p> + [DataMember(Name="merchandiseHierarchyGroupIdQualifier", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupIdQualifier { get; set; } + + /// + /// <p>The parameter defined the report ID which should be used for the printout.</p> + /// + /// <p>The parameter defined the report ID which should be used for the printout.</p> + [DataMember(Name="reportId", EmitDefaultValue=false)] + public string ReportId { get; set; } + + /// + /// <p>The parameter defines an external merchandise hierarchy group ID list as integer, which is used on the KDS system to display the ordered items on the corresponding screens (e.g. food items on kitchen display, drinks on the bar display).</p> + /// + /// <p>The parameter defines an external merchandise hierarchy group ID list as integer, which is used on the KDS system to display the ordered items on the corresponding screens (e.g. food items on kitchen display, drinks on the bar display).</p> + [DataMember(Name="externalMerchandiseHierarchyGroupId", EmitDefaultValue=false)] + public string ExternalMerchandiseHierarchyGroupId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig {\n"); + sb.Append(" MerchandiseHierarchyGroupIdSet: ").Append(MerchandiseHierarchyGroupIdSet).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupIdQualifier: ").Append(MerchandiseHierarchyGroupIdQualifier).Append("\n"); + sb.Append(" ReportId: ").Append(ReportId).Append("\n"); + sb.Append(" ExternalMerchandiseHierarchyGroupId: ").Append(ExternalMerchandiseHierarchyGroupId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig input) + { + if (input == null) + return false; + + return + ( + this.MerchandiseHierarchyGroupIdSet == input.MerchandiseHierarchyGroupIdSet || + (this.MerchandiseHierarchyGroupIdSet != null && + this.MerchandiseHierarchyGroupIdSet.Equals(input.MerchandiseHierarchyGroupIdSet)) + ) && + ( + this.MerchandiseHierarchyGroupIdQualifier == input.MerchandiseHierarchyGroupIdQualifier || + (this.MerchandiseHierarchyGroupIdQualifier != null && + this.MerchandiseHierarchyGroupIdQualifier.Equals(input.MerchandiseHierarchyGroupIdQualifier)) + ) && + ( + this.ReportId == input.ReportId || + (this.ReportId != null && + this.ReportId.Equals(input.ReportId)) + ) && + ( + this.ExternalMerchandiseHierarchyGroupId == input.ExternalMerchandiseHierarchyGroupId || + (this.ExternalMerchandiseHierarchyGroupId != null && + this.ExternalMerchandiseHierarchyGroupId.Equals(input.ExternalMerchandiseHierarchyGroupId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MerchandiseHierarchyGroupIdSet != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupIdSet.GetHashCode(); + if (this.MerchandiseHierarchyGroupIdQualifier != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupIdQualifier.GetHashCode(); + if (this.ReportId != null) + hashCode = hashCode * 59 + this.ReportId.GetHashCode(); + if (this.ExternalMerchandiseHierarchyGroupId != null) + hashCode = hashCode * 59 + this.ExternalMerchandiseHierarchyGroupId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..1b39a5e6639082b4ee534633e54b8fd101000666 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig.cs @@ -0,0 +1,552 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PermanentCustomerInformationConfig <p>This configuration entity defines the permanent customer information panel.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// <p>This parameter specifies whether the customer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the customer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the buyer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the buyer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the allowed tender group is displayed permanently in the Permanent Customer Information Panel.<br /> The allowed tender group is the CustomerTenderGroup.CustomerTenderGroupDescription of the Customer.AllowedTermsOfPayment.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), bool? displayCustomerNumber = default(bool?), bool? displayCustomerName = default(bool?), bool? displayBuyerNumber = default(bool?), bool? displayBuyerName = default(bool?), bool? displayAllowedTenderGroup = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "displayCustomerNumber" is required (not null) + if (displayCustomerNumber == null) + { + throw new InvalidDataException("displayCustomerNumber is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig and cannot be null"); + } + else + { + this.DisplayCustomerNumber = displayCustomerNumber; + } + // to ensure "displayCustomerName" is required (not null) + if (displayCustomerName == null) + { + throw new InvalidDataException("displayCustomerName is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig and cannot be null"); + } + else + { + this.DisplayCustomerName = displayCustomerName; + } + // to ensure "displayBuyerNumber" is required (not null) + if (displayBuyerNumber == null) + { + throw new InvalidDataException("displayBuyerNumber is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig and cannot be null"); + } + else + { + this.DisplayBuyerNumber = displayBuyerNumber; + } + // to ensure "displayBuyerName" is required (not null) + if (displayBuyerName == null) + { + throw new InvalidDataException("displayBuyerName is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig and cannot be null"); + } + else + { + this.DisplayBuyerName = displayBuyerName; + } + // to ensure "displayAllowedTenderGroup" is required (not null) + if (displayAllowedTenderGroup == null) + { + throw new InvalidDataException("displayAllowedTenderGroup is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig and cannot be null"); + } + else + { + this.DisplayAllowedTenderGroup = displayAllowedTenderGroup; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// <p>This parameter specifies whether the customer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the customer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="displayCustomerNumber", EmitDefaultValue=false)] + public bool? DisplayCustomerNumber { get; set; } + + /// + /// <p>This parameter specifies whether the customer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the customer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="displayCustomerName", EmitDefaultValue=false)] + public bool? DisplayCustomerName { get; set; } + + /// + /// <p>This parameter specifies whether the buyer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the buyer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="displayBuyerNumber", EmitDefaultValue=false)] + public bool? DisplayBuyerNumber { get; set; } + + /// + /// <p>This parameter specifies whether the buyer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the buyer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="displayBuyerName", EmitDefaultValue=false)] + public bool? DisplayBuyerName { get; set; } + + /// + /// <p>This parameter specifies whether the allowed tender group is displayed permanently in the Permanent Customer Information Panel.<br /> The allowed tender group is the CustomerTenderGroup.CustomerTenderGroupDescription of the Customer.AllowedTermsOfPayment.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the allowed tender group is displayed permanently in the Permanent Customer Information Panel.<br /> The allowed tender group is the CustomerTenderGroup.CustomerTenderGroupDescription of the Customer.AllowedTermsOfPayment.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="displayAllowedTenderGroup", EmitDefaultValue=false)] + public bool? DisplayAllowedTenderGroup { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" DisplayCustomerNumber: ").Append(DisplayCustomerNumber).Append("\n"); + sb.Append(" DisplayCustomerName: ").Append(DisplayCustomerName).Append("\n"); + sb.Append(" DisplayBuyerNumber: ").Append(DisplayBuyerNumber).Append("\n"); + sb.Append(" DisplayBuyerName: ").Append(DisplayBuyerName).Append("\n"); + sb.Append(" DisplayAllowedTenderGroup: ").Append(DisplayAllowedTenderGroup).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.DisplayCustomerNumber == input.DisplayCustomerNumber || + (this.DisplayCustomerNumber != null && + this.DisplayCustomerNumber.Equals(input.DisplayCustomerNumber)) + ) && + ( + this.DisplayCustomerName == input.DisplayCustomerName || + (this.DisplayCustomerName != null && + this.DisplayCustomerName.Equals(input.DisplayCustomerName)) + ) && + ( + this.DisplayBuyerNumber == input.DisplayBuyerNumber || + (this.DisplayBuyerNumber != null && + this.DisplayBuyerNumber.Equals(input.DisplayBuyerNumber)) + ) && + ( + this.DisplayBuyerName == input.DisplayBuyerName || + (this.DisplayBuyerName != null && + this.DisplayBuyerName.Equals(input.DisplayBuyerName)) + ) && + ( + this.DisplayAllowedTenderGroup == input.DisplayAllowedTenderGroup || + (this.DisplayAllowedTenderGroup != null && + this.DisplayAllowedTenderGroup.Equals(input.DisplayAllowedTenderGroup)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.DisplayCustomerNumber != null) + hashCode = hashCode * 59 + this.DisplayCustomerNumber.GetHashCode(); + if (this.DisplayCustomerName != null) + hashCode = hashCode * 59 + this.DisplayCustomerName.GetHashCode(); + if (this.DisplayBuyerNumber != null) + hashCode = hashCode * 59 + this.DisplayBuyerNumber.GetHashCode(); + if (this.DisplayBuyerName != null) + hashCode = hashCode * 59 + this.DisplayBuyerName.GetHashCode(); + if (this.DisplayAllowedTenderGroup != null) + hashCode = hashCode * 59 + this.DisplayAllowedTenderGroup.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..e99c1aee08b544bd876ee196abe889fc4f877ef0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrintOrderConfig <p>This configuration entity defines the print order process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>It defines a set of printing rules.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig(List merchandiseHierarchyGroupPrinterAssignmentConfigs = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "merchandiseHierarchyGroupPrinterAssignmentConfigs" is required (not null) + if (merchandiseHierarchyGroupPrinterAssignmentConfigs == null) + { + throw new InvalidDataException("merchandiseHierarchyGroupPrinterAssignmentConfigs is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig and cannot be null"); + } + else + { + this.MerchandiseHierarchyGroupPrinterAssignmentConfigs = merchandiseHierarchyGroupPrinterAssignmentConfigs; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>It defines a set of printing rules.</p> + /// + /// <p>It defines a set of printing rules.</p> + [DataMember(Name="merchandiseHierarchyGroupPrinterAssignmentConfigs", EmitDefaultValue=false)] + public List MerchandiseHierarchyGroupPrinterAssignmentConfigs { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig {\n"); + sb.Append(" MerchandiseHierarchyGroupPrinterAssignmentConfigs: ").Append(MerchandiseHierarchyGroupPrinterAssignmentConfigs).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig input) + { + if (input == null) + return false; + + return + ( + this.MerchandiseHierarchyGroupPrinterAssignmentConfigs == input.MerchandiseHierarchyGroupPrinterAssignmentConfigs || + this.MerchandiseHierarchyGroupPrinterAssignmentConfigs != null && + this.MerchandiseHierarchyGroupPrinterAssignmentConfigs.SequenceEqual(input.MerchandiseHierarchyGroupPrinterAssignmentConfigs) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MerchandiseHierarchyGroupPrinterAssignmentConfigs != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupPrinterAssignmentConfigs.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..e9136feba1c473370470fdd1109cd5b5e0dcd176 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem.cs @@ -0,0 +1,261 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterFuelLineItem <p>This entity defines fuel data from app enablement to be assigned to fuel sale return line item during item registration</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Defines the Fueling Point Id (pump) where the transaction started</p>. + /// <p>Defines grade Id of the fuel product</p>. + /// <p>Defines internal transaction number for the fuel services</p>. + /// <p>This parameter defines fuel sale status code (transaction type).</p>. + /// <p>Defines the preset amount in case of prepay transactions</p>. + /// <p>Defines the pos item id for the generic prepay item</p>. + /// <p>Defines the pos item UOM code for the generic prepay item</p>. + /// <p>Defines the actual amount for the fuel line item.</p>. + /// <p>Defines the discount for the fuel line item.</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem(string fuelingPointId = default(string), string gradeId = default(string), int? stackPosition = default(int?), string fuelSaleStatusCode = default(string), double? presetAmount = default(double?), string fuelPrepayItem = default(string), string fuelPrepayItemUOMCode = default(string), double? actualAmount = default(double?), double? fuelDiscount = default(double?)) + { + this.FuelingPointId = fuelingPointId; + this.GradeId = gradeId; + this.StackPosition = stackPosition; + this.FuelSaleStatusCode = fuelSaleStatusCode; + this.PresetAmount = presetAmount; + this.FuelPrepayItem = fuelPrepayItem; + this.FuelPrepayItemUOMCode = fuelPrepayItemUOMCode; + this.ActualAmount = actualAmount; + this.FuelDiscount = fuelDiscount; + } + + /// + /// <p>Defines the Fueling Point Id (pump) where the transaction started</p> + /// + /// <p>Defines the Fueling Point Id (pump) where the transaction started</p> + [DataMember(Name="fuelingPointId", EmitDefaultValue=false)] + public string FuelingPointId { get; set; } + + /// + /// <p>Defines grade Id of the fuel product</p> + /// + /// <p>Defines grade Id of the fuel product</p> + [DataMember(Name="gradeId", EmitDefaultValue=false)] + public string GradeId { get; set; } + + /// + /// <p>Defines internal transaction number for the fuel services</p> + /// + /// <p>Defines internal transaction number for the fuel services</p> + [DataMember(Name="stackPosition", EmitDefaultValue=false)] + public int? StackPosition { get; set; } + + /// + /// <p>This parameter defines fuel sale status code (transaction type).</p> + /// + /// <p>This parameter defines fuel sale status code (transaction type).</p> + [DataMember(Name="fuelSaleStatusCode", EmitDefaultValue=false)] + public string FuelSaleStatusCode { get; set; } + + /// + /// <p>Defines the preset amount in case of prepay transactions</p> + /// + /// <p>Defines the preset amount in case of prepay transactions</p> + [DataMember(Name="presetAmount", EmitDefaultValue=false)] + public double? PresetAmount { get; set; } + + /// + /// <p>Defines the pos item id for the generic prepay item</p> + /// + /// <p>Defines the pos item id for the generic prepay item</p> + [DataMember(Name="fuelPrepayItem", EmitDefaultValue=false)] + public string FuelPrepayItem { get; set; } + + /// + /// <p>Defines the pos item UOM code for the generic prepay item</p> + /// + /// <p>Defines the pos item UOM code for the generic prepay item</p> + [DataMember(Name="fuelPrepayItemUOMCode", EmitDefaultValue=false)] + public string FuelPrepayItemUOMCode { get; set; } + + /// + /// <p>Defines the actual amount for the fuel line item.</p> + /// + /// <p>Defines the actual amount for the fuel line item.</p> + [DataMember(Name="actualAmount", EmitDefaultValue=false)] + public double? ActualAmount { get; set; } + + /// + /// <p>Defines the discount for the fuel line item.</p> + /// + /// <p>Defines the discount for the fuel line item.</p> + [DataMember(Name="fuelDiscount", EmitDefaultValue=false)] + public double? FuelDiscount { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem {\n"); + sb.Append(" FuelingPointId: ").Append(FuelingPointId).Append("\n"); + sb.Append(" GradeId: ").Append(GradeId).Append("\n"); + sb.Append(" StackPosition: ").Append(StackPosition).Append("\n"); + sb.Append(" FuelSaleStatusCode: ").Append(FuelSaleStatusCode).Append("\n"); + sb.Append(" PresetAmount: ").Append(PresetAmount).Append("\n"); + sb.Append(" FuelPrepayItem: ").Append(FuelPrepayItem).Append("\n"); + sb.Append(" FuelPrepayItemUOMCode: ").Append(FuelPrepayItemUOMCode).Append("\n"); + sb.Append(" ActualAmount: ").Append(ActualAmount).Append("\n"); + sb.Append(" FuelDiscount: ").Append(FuelDiscount).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem input) + { + if (input == null) + return false; + + return + ( + this.FuelingPointId == input.FuelingPointId || + (this.FuelingPointId != null && + this.FuelingPointId.Equals(input.FuelingPointId)) + ) && + ( + this.GradeId == input.GradeId || + (this.GradeId != null && + this.GradeId.Equals(input.GradeId)) + ) && + ( + this.StackPosition == input.StackPosition || + (this.StackPosition != null && + this.StackPosition.Equals(input.StackPosition)) + ) && + ( + this.FuelSaleStatusCode == input.FuelSaleStatusCode || + (this.FuelSaleStatusCode != null && + this.FuelSaleStatusCode.Equals(input.FuelSaleStatusCode)) + ) && + ( + this.PresetAmount == input.PresetAmount || + (this.PresetAmount != null && + this.PresetAmount.Equals(input.PresetAmount)) + ) && + ( + this.FuelPrepayItem == input.FuelPrepayItem || + (this.FuelPrepayItem != null && + this.FuelPrepayItem.Equals(input.FuelPrepayItem)) + ) && + ( + this.FuelPrepayItemUOMCode == input.FuelPrepayItemUOMCode || + (this.FuelPrepayItemUOMCode != null && + this.FuelPrepayItemUOMCode.Equals(input.FuelPrepayItemUOMCode)) + ) && + ( + this.ActualAmount == input.ActualAmount || + (this.ActualAmount != null && + this.ActualAmount.Equals(input.ActualAmount)) + ) && + ( + this.FuelDiscount == input.FuelDiscount || + (this.FuelDiscount != null && + this.FuelDiscount.Equals(input.FuelDiscount)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FuelingPointId != null) + hashCode = hashCode * 59 + this.FuelingPointId.GetHashCode(); + if (this.GradeId != null) + hashCode = hashCode * 59 + this.GradeId.GetHashCode(); + if (this.StackPosition != null) + hashCode = hashCode * 59 + this.StackPosition.GetHashCode(); + if (this.FuelSaleStatusCode != null) + hashCode = hashCode * 59 + this.FuelSaleStatusCode.GetHashCode(); + if (this.PresetAmount != null) + hashCode = hashCode * 59 + this.PresetAmount.GetHashCode(); + if (this.FuelPrepayItem != null) + hashCode = hashCode * 59 + this.FuelPrepayItem.GetHashCode(); + if (this.FuelPrepayItemUOMCode != null) + hashCode = hashCode * 59 + this.FuelPrepayItemUOMCode.GetHashCode(); + if (this.ActualAmount != null) + hashCode = hashCode * 59 + this.ActualAmount.GetHashCode(); + if (this.FuelDiscount != null) + hashCode = hashCode * 59 + this.FuelDiscount.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd14897838dd29ea13721045c5e325bd5bfcb001 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData.cs @@ -0,0 +1,220 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterLineItemAddonData TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// language. + /// isoCurrencyCode. + /// actualUnitPrice. + /// itemType. + /// retailPriceModifierList. + /// lineItemExtensionList. + /// printAdditionalLineItemTextLineList. + public ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData(string language = default(string), string isoCurrencyCode = default(string), double? actualUnitPrice = default(double?), string itemType = default(string), List retailPriceModifierList = default(List), List lineItemExtensionList = default(List), List printAdditionalLineItemTextLineList = default(List)) + { + this.Language = language; + this.IsoCurrencyCode = isoCurrencyCode; + this.ActualUnitPrice = actualUnitPrice; + this.ItemType = itemType; + this.RetailPriceModifierList = retailPriceModifierList; + this.LineItemExtensionList = lineItemExtensionList; + this.PrintAdditionalLineItemTextLineList = printAdditionalLineItemTextLineList; + } + + /// + /// Gets or Sets Language + /// + [DataMember(Name="language", EmitDefaultValue=false)] + public string Language { get; set; } + + /// + /// Gets or Sets IsoCurrencyCode + /// + [DataMember(Name="isoCurrencyCode", EmitDefaultValue=false)] + public string IsoCurrencyCode { get; set; } + + /// + /// Gets or Sets ActualUnitPrice + /// + [DataMember(Name="actualUnitPrice", EmitDefaultValue=false)] + public double? ActualUnitPrice { get; set; } + + /// + /// Gets or Sets ItemType + /// + [DataMember(Name="itemType", EmitDefaultValue=false)] + public string ItemType { get; set; } + + /// + /// Gets or Sets RetailPriceModifierList + /// + [DataMember(Name="retailPriceModifierList", EmitDefaultValue=false)] + public List RetailPriceModifierList { get; set; } + + /// + /// Gets or Sets LineItemExtensionList + /// + [DataMember(Name="lineItemExtensionList", EmitDefaultValue=false)] + public List LineItemExtensionList { get; set; } + + /// + /// Gets or Sets PrintAdditionalLineItemTextLineList + /// + [DataMember(Name="printAdditionalLineItemTextLineList", EmitDefaultValue=false)] + public List PrintAdditionalLineItemTextLineList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData {\n"); + sb.Append(" Language: ").Append(Language).Append("\n"); + sb.Append(" IsoCurrencyCode: ").Append(IsoCurrencyCode).Append("\n"); + sb.Append(" ActualUnitPrice: ").Append(ActualUnitPrice).Append("\n"); + sb.Append(" ItemType: ").Append(ItemType).Append("\n"); + sb.Append(" RetailPriceModifierList: ").Append(RetailPriceModifierList).Append("\n"); + sb.Append(" LineItemExtensionList: ").Append(LineItemExtensionList).Append("\n"); + sb.Append(" PrintAdditionalLineItemTextLineList: ").Append(PrintAdditionalLineItemTextLineList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData input) + { + if (input == null) + return false; + + return + ( + this.Language == input.Language || + (this.Language != null && + this.Language.Equals(input.Language)) + ) && + ( + this.IsoCurrencyCode == input.IsoCurrencyCode || + (this.IsoCurrencyCode != null && + this.IsoCurrencyCode.Equals(input.IsoCurrencyCode)) + ) && + ( + this.ActualUnitPrice == input.ActualUnitPrice || + (this.ActualUnitPrice != null && + this.ActualUnitPrice.Equals(input.ActualUnitPrice)) + ) && + ( + this.ItemType == input.ItemType || + (this.ItemType != null && + this.ItemType.Equals(input.ItemType)) + ) && + ( + this.RetailPriceModifierList == input.RetailPriceModifierList || + this.RetailPriceModifierList != null && + this.RetailPriceModifierList.SequenceEqual(input.RetailPriceModifierList) + ) && + ( + this.LineItemExtensionList == input.LineItemExtensionList || + this.LineItemExtensionList != null && + this.LineItemExtensionList.SequenceEqual(input.LineItemExtensionList) + ) && + ( + this.PrintAdditionalLineItemTextLineList == input.PrintAdditionalLineItemTextLineList || + this.PrintAdditionalLineItemTextLineList != null && + this.PrintAdditionalLineItemTextLineList.SequenceEqual(input.PrintAdditionalLineItemTextLineList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Language != null) + hashCode = hashCode * 59 + this.Language.GetHashCode(); + if (this.IsoCurrencyCode != null) + hashCode = hashCode * 59 + this.IsoCurrencyCode.GetHashCode(); + if (this.ActualUnitPrice != null) + hashCode = hashCode * 59 + this.ActualUnitPrice.GetHashCode(); + if (this.ItemType != null) + hashCode = hashCode * 59 + this.ItemType.GetHashCode(); + if (this.RetailPriceModifierList != null) + hashCode = hashCode * 59 + this.RetailPriceModifierList.GetHashCode(); + if (this.LineItemExtensionList != null) + hashCode = hashCode * 59 + this.LineItemExtensionList.GetHashCode(); + if (this.PrintAdditionalLineItemTextLineList != null) + hashCode = hashCode * 59 + this.PrintAdditionalLineItemTextLineList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..58e83dcfbde2f58c265978cc3ca53ea62ce9903b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RescanConfig <p>The configuration entity defines global configurations of the rescan processes. </p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Specifies whether the rescan feature is enabled or not.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig(bool? rescanEnabled = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "rescanEnabled" is required (not null) + if (rescanEnabled == null) + { + throw new InvalidDataException("rescanEnabled is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig and cannot be null"); + } + else + { + this.RescanEnabled = rescanEnabled; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Specifies whether the rescan feature is enabled or not.</p> + /// + /// <p>Specifies whether the rescan feature is enabled or not.</p> + [DataMember(Name="rescanEnabled", EmitDefaultValue=false)] + public bool? RescanEnabled { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig {\n"); + sb.Append(" RescanEnabled: ").Append(RescanEnabled).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig input) + { + if (input == null) + return false; + + return + ( + this.RescanEnabled == input.RescanEnabled || + (this.RescanEnabled != null && + this.RescanEnabled.Equals(input.RescanEnabled)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RescanEnabled != null) + hashCode = hashCode * 59 + this.RescanEnabled.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..42b99df1730fdad3955503e84c7366fbbf808d43 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig.cs @@ -0,0 +1,702 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnWithTransactionConfig <p>This configuration entity defines the return process with an available transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig</p> (required). + /// <p>PositionOperationConfig</p> (required). + /// <p>This config defines the prompt usage.</p> (required). + /// <p>This parameter defines the configuration for the transaction preview. The config parameters will be passed to the transaction preview component, controller, report and datasource.</p> (required). + /// <p>This parameter specifies whether the reason is requested in case of returns.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether it is allowed to return prepaid line items in case of a return with receipt data.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether it is allowed to perform a return with a original receipt for receipts from other stores.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the customer data is transferred from the original receipt.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter defines the reason for the return.</p>. + /// <p>This parameter filters reasons with the following reason group code.</p> (required). + /// <p>FindTransactionConfig</p> (required). + /// <p>It defines if the items must exist in master data for return with transaction.</p> (required). + /// <p>ConditionSplitConfig</p> (required). + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig returnTransaction = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig returnLineItem = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig promptUserConfig = default(ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig), ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig transactionPreview = default(ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig), bool? returnReasonRequired = default(bool?), bool? returnPrepaidAllowed = default(bool?), bool? differentStoreAllowed = default(bool?), bool? takeOverCustomersFromOriginalSc = default(bool?), string returnReasonCode = default(string), string returnReasonGroupCode = default(string), ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig findTransactionConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig), bool? checkIfItemsExistInMasterData = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig conditionSplitConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig), List manualDiscountTypes = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnTransaction" is required (not null) + if (returnTransaction == null) + { + throw new InvalidDataException("returnTransaction is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.ReturnTransaction = returnTransaction; + } + // to ensure "returnLineItem" is required (not null) + if (returnLineItem == null) + { + throw new InvalidDataException("returnLineItem is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.ReturnLineItem = returnLineItem; + } + // to ensure "promptUserConfig" is required (not null) + if (promptUserConfig == null) + { + throw new InvalidDataException("promptUserConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.PromptUserConfig = promptUserConfig; + } + // to ensure "transactionPreview" is required (not null) + if (transactionPreview == null) + { + throw new InvalidDataException("transactionPreview is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.TransactionPreview = transactionPreview; + } + // to ensure "returnReasonRequired" is required (not null) + if (returnReasonRequired == null) + { + throw new InvalidDataException("returnReasonRequired is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.ReturnReasonRequired = returnReasonRequired; + } + // to ensure "returnPrepaidAllowed" is required (not null) + if (returnPrepaidAllowed == null) + { + throw new InvalidDataException("returnPrepaidAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.ReturnPrepaidAllowed = returnPrepaidAllowed; + } + // to ensure "differentStoreAllowed" is required (not null) + if (differentStoreAllowed == null) + { + throw new InvalidDataException("differentStoreAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.DifferentStoreAllowed = differentStoreAllowed; + } + // to ensure "takeOverCustomersFromOriginalSc" is required (not null) + if (takeOverCustomersFromOriginalSc == null) + { + throw new InvalidDataException("takeOverCustomersFromOriginalSc is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.TakeOverCustomersFromOriginalSc = takeOverCustomersFromOriginalSc; + } + // to ensure "returnReasonGroupCode" is required (not null) + if (returnReasonGroupCode == null) + { + throw new InvalidDataException("returnReasonGroupCode is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.ReturnReasonGroupCode = returnReasonGroupCode; + } + // to ensure "findTransactionConfig" is required (not null) + if (findTransactionConfig == null) + { + throw new InvalidDataException("findTransactionConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.FindTransactionConfig = findTransactionConfig; + } + // to ensure "checkIfItemsExistInMasterData" is required (not null) + if (checkIfItemsExistInMasterData == null) + { + throw new InvalidDataException("checkIfItemsExistInMasterData is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.CheckIfItemsExistInMasterData = checkIfItemsExistInMasterData; + } + // to ensure "conditionSplitConfig" is required (not null) + if (conditionSplitConfig == null) + { + throw new InvalidDataException("conditionSplitConfig is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig and cannot be null"); + } + else + { + this.ConditionSplitConfig = conditionSplitConfig; + } + this.ReturnReasonCode = returnReasonCode; + this.ManualDiscountTypes = manualDiscountTypes; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig</p> + /// + /// <p>PositionOperationConfig</p> + [DataMember(Name="returnTransaction", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig ReturnTransaction { get; set; } + + /// + /// <p>PositionOperationConfig</p> + /// + /// <p>PositionOperationConfig</p> + [DataMember(Name="returnLineItem", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig ReturnLineItem { get; set; } + + /// + /// <p>This config defines the prompt usage.</p> + /// + /// <p>This config defines the prompt usage.</p> + [DataMember(Name="promptUserConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig PromptUserConfig { get; set; } + + /// + /// <p>This parameter defines the configuration for the transaction preview. The config parameters will be passed to the transaction preview component, controller, report and datasource.</p> + /// + /// <p>This parameter defines the configuration for the transaction preview. The config parameters will be passed to the transaction preview component, controller, report and datasource.</p> + [DataMember(Name="transactionPreview", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig TransactionPreview { get; set; } + + /// + /// <p>This parameter specifies whether the reason is requested in case of returns.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the reason is requested in case of returns.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="returnReasonRequired", EmitDefaultValue=false)] + public bool? ReturnReasonRequired { get; set; } + + /// + /// <p>This parameter specifies whether it is allowed to return prepaid line items in case of a return with receipt data.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether it is allowed to return prepaid line items in case of a return with receipt data.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="returnPrepaidAllowed", EmitDefaultValue=false)] + public bool? ReturnPrepaidAllowed { get; set; } + + /// + /// <p>This parameter specifies whether it is allowed to perform a return with a original receipt for receipts from other stores.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether it is allowed to perform a return with a original receipt for receipts from other stores.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="differentStoreAllowed", EmitDefaultValue=false)] + public bool? DifferentStoreAllowed { get; set; } + + /// + /// <p>This parameter specifies whether the customer data is transferred from the original receipt.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the customer data is transferred from the original receipt.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="takeOverCustomersFromOriginalSc", EmitDefaultValue=false)] + public bool? TakeOverCustomersFromOriginalSc { get; set; } + + /// + /// <p>This parameter defines the reason for the return.</p> + /// + /// <p>This parameter defines the reason for the return.</p> + [DataMember(Name="returnReasonCode", EmitDefaultValue=false)] + public string ReturnReasonCode { get; set; } + + /// + /// <p>This parameter filters reasons with the following reason group code.</p> + /// + /// <p>This parameter filters reasons with the following reason group code.</p> + [DataMember(Name="returnReasonGroupCode", EmitDefaultValue=false)] + public string ReturnReasonGroupCode { get; set; } + + /// + /// <p>FindTransactionConfig</p> + /// + /// <p>FindTransactionConfig</p> + [DataMember(Name="findTransactionConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig FindTransactionConfig { get; set; } + + /// + /// <p>It defines if the items must exist in master data for return with transaction.</p> + /// + /// <p>It defines if the items must exist in master data for return with transaction.</p> + [DataMember(Name="checkIfItemsExistInMasterData", EmitDefaultValue=false)] + public bool? CheckIfItemsExistInMasterData { get; set; } + + /// + /// <p>ConditionSplitConfig</p> + /// + /// <p>ConditionSplitConfig</p> + [DataMember(Name="conditionSplitConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig ConditionSplitConfig { get; set; } + + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + [DataMember(Name="manualDiscountTypes", EmitDefaultValue=false)] + public List ManualDiscountTypes { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig {\n"); + sb.Append(" ReturnTransaction: ").Append(ReturnTransaction).Append("\n"); + sb.Append(" ReturnLineItem: ").Append(ReturnLineItem).Append("\n"); + sb.Append(" PromptUserConfig: ").Append(PromptUserConfig).Append("\n"); + sb.Append(" TransactionPreview: ").Append(TransactionPreview).Append("\n"); + sb.Append(" ReturnReasonRequired: ").Append(ReturnReasonRequired).Append("\n"); + sb.Append(" ReturnPrepaidAllowed: ").Append(ReturnPrepaidAllowed).Append("\n"); + sb.Append(" DifferentStoreAllowed: ").Append(DifferentStoreAllowed).Append("\n"); + sb.Append(" TakeOverCustomersFromOriginalSc: ").Append(TakeOverCustomersFromOriginalSc).Append("\n"); + sb.Append(" ReturnReasonCode: ").Append(ReturnReasonCode).Append("\n"); + sb.Append(" ReturnReasonGroupCode: ").Append(ReturnReasonGroupCode).Append("\n"); + sb.Append(" FindTransactionConfig: ").Append(FindTransactionConfig).Append("\n"); + sb.Append(" CheckIfItemsExistInMasterData: ").Append(CheckIfItemsExistInMasterData).Append("\n"); + sb.Append(" ConditionSplitConfig: ").Append(ConditionSplitConfig).Append("\n"); + sb.Append(" ManualDiscountTypes: ").Append(ManualDiscountTypes).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig input) + { + if (input == null) + return false; + + return + ( + this.ReturnTransaction == input.ReturnTransaction || + (this.ReturnTransaction != null && + this.ReturnTransaction.Equals(input.ReturnTransaction)) + ) && + ( + this.ReturnLineItem == input.ReturnLineItem || + (this.ReturnLineItem != null && + this.ReturnLineItem.Equals(input.ReturnLineItem)) + ) && + ( + this.PromptUserConfig == input.PromptUserConfig || + (this.PromptUserConfig != null && + this.PromptUserConfig.Equals(input.PromptUserConfig)) + ) && + ( + this.TransactionPreview == input.TransactionPreview || + (this.TransactionPreview != null && + this.TransactionPreview.Equals(input.TransactionPreview)) + ) && + ( + this.ReturnReasonRequired == input.ReturnReasonRequired || + (this.ReturnReasonRequired != null && + this.ReturnReasonRequired.Equals(input.ReturnReasonRequired)) + ) && + ( + this.ReturnPrepaidAllowed == input.ReturnPrepaidAllowed || + (this.ReturnPrepaidAllowed != null && + this.ReturnPrepaidAllowed.Equals(input.ReturnPrepaidAllowed)) + ) && + ( + this.DifferentStoreAllowed == input.DifferentStoreAllowed || + (this.DifferentStoreAllowed != null && + this.DifferentStoreAllowed.Equals(input.DifferentStoreAllowed)) + ) && + ( + this.TakeOverCustomersFromOriginalSc == input.TakeOverCustomersFromOriginalSc || + (this.TakeOverCustomersFromOriginalSc != null && + this.TakeOverCustomersFromOriginalSc.Equals(input.TakeOverCustomersFromOriginalSc)) + ) && + ( + this.ReturnReasonCode == input.ReturnReasonCode || + (this.ReturnReasonCode != null && + this.ReturnReasonCode.Equals(input.ReturnReasonCode)) + ) && + ( + this.ReturnReasonGroupCode == input.ReturnReasonGroupCode || + (this.ReturnReasonGroupCode != null && + this.ReturnReasonGroupCode.Equals(input.ReturnReasonGroupCode)) + ) && + ( + this.FindTransactionConfig == input.FindTransactionConfig || + (this.FindTransactionConfig != null && + this.FindTransactionConfig.Equals(input.FindTransactionConfig)) + ) && + ( + this.CheckIfItemsExistInMasterData == input.CheckIfItemsExistInMasterData || + (this.CheckIfItemsExistInMasterData != null && + this.CheckIfItemsExistInMasterData.Equals(input.CheckIfItemsExistInMasterData)) + ) && + ( + this.ConditionSplitConfig == input.ConditionSplitConfig || + (this.ConditionSplitConfig != null && + this.ConditionSplitConfig.Equals(input.ConditionSplitConfig)) + ) && + ( + this.ManualDiscountTypes == input.ManualDiscountTypes || + this.ManualDiscountTypes != null && + this.ManualDiscountTypes.SequenceEqual(input.ManualDiscountTypes) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReturnTransaction != null) + hashCode = hashCode * 59 + this.ReturnTransaction.GetHashCode(); + if (this.ReturnLineItem != null) + hashCode = hashCode * 59 + this.ReturnLineItem.GetHashCode(); + if (this.PromptUserConfig != null) + hashCode = hashCode * 59 + this.PromptUserConfig.GetHashCode(); + if (this.TransactionPreview != null) + hashCode = hashCode * 59 + this.TransactionPreview.GetHashCode(); + if (this.ReturnReasonRequired != null) + hashCode = hashCode * 59 + this.ReturnReasonRequired.GetHashCode(); + if (this.ReturnPrepaidAllowed != null) + hashCode = hashCode * 59 + this.ReturnPrepaidAllowed.GetHashCode(); + if (this.DifferentStoreAllowed != null) + hashCode = hashCode * 59 + this.DifferentStoreAllowed.GetHashCode(); + if (this.TakeOverCustomersFromOriginalSc != null) + hashCode = hashCode * 59 + this.TakeOverCustomersFromOriginalSc.GetHashCode(); + if (this.ReturnReasonCode != null) + hashCode = hashCode * 59 + this.ReturnReasonCode.GetHashCode(); + if (this.ReturnReasonGroupCode != null) + hashCode = hashCode * 59 + this.ReturnReasonGroupCode.GetHashCode(); + if (this.FindTransactionConfig != null) + hashCode = hashCode * 59 + this.FindTransactionConfig.GetHashCode(); + if (this.CheckIfItemsExistInMasterData != null) + hashCode = hashCode * 59 + this.CheckIfItemsExistInMasterData.GetHashCode(); + if (this.ConditionSplitConfig != null) + hashCode = hashCode * 59 + this.ConditionSplitConfig.GetHashCode(); + if (this.ManualDiscountTypes != null) + hashCode = hashCode * 59 + this.ManualDiscountTypes.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..59b145f098546ff4f40ed07ce5553c7b7a3f2fc1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig.cs @@ -0,0 +1,483 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetDefaultTareConfig TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// deviceId. + /// defaultTare. + /// defaultTareNotificationOnOperatorChange (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), string deviceId = default(string), int? defaultTare = default(int?), bool? defaultTareNotificationOnOperatorChange = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "defaultTareNotificationOnOperatorChange" is required (not null) + if (defaultTareNotificationOnOperatorChange == null) + { + throw new InvalidDataException("defaultTareNotificationOnOperatorChange is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig and cannot be null"); + } + else + { + this.DefaultTareNotificationOnOperatorChange = defaultTareNotificationOnOperatorChange; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.DeviceId = deviceId; + this.DefaultTare = defaultTare; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// Gets or Sets DeviceId + /// + [DataMember(Name="deviceId", EmitDefaultValue=false)] + public string DeviceId { get; set; } + + /// + /// Gets or Sets DefaultTare + /// + [DataMember(Name="defaultTare", EmitDefaultValue=false)] + public int? DefaultTare { get; set; } + + /// + /// Gets or Sets DefaultTareNotificationOnOperatorChange + /// + [DataMember(Name="defaultTareNotificationOnOperatorChange", EmitDefaultValue=false)] + public bool? DefaultTareNotificationOnOperatorChange { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" DeviceId: ").Append(DeviceId).Append("\n"); + sb.Append(" DefaultTare: ").Append(DefaultTare).Append("\n"); + sb.Append(" DefaultTareNotificationOnOperatorChange: ").Append(DefaultTareNotificationOnOperatorChange).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.DeviceId == input.DeviceId || + (this.DeviceId != null && + this.DeviceId.Equals(input.DeviceId)) + ) && + ( + this.DefaultTare == input.DefaultTare || + (this.DefaultTare != null && + this.DefaultTare.Equals(input.DefaultTare)) + ) && + ( + this.DefaultTareNotificationOnOperatorChange == input.DefaultTareNotificationOnOperatorChange || + (this.DefaultTareNotificationOnOperatorChange != null && + this.DefaultTareNotificationOnOperatorChange.Equals(input.DefaultTareNotificationOnOperatorChange)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.DeviceId != null) + hashCode = hashCode * 59 + this.DeviceId.GetHashCode(); + if (this.DefaultTare != null) + hashCode = hashCode * 59 + this.DefaultTare.GetHashCode(); + if (this.DefaultTareNotificationOnOperatorChange != null) + hashCode = hashCode * 59 + this.DefaultTareNotificationOnOperatorChange.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0ae5a13d7aca846a195cf2ca1362207a456e3a1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ToggleTareFixConfig TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p>. + /// <p>This config defines authorization related processes.</p>. + /// deviceId. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig(string processId = default(string), bool? mainProcess = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig authorizationConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig), string deviceId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + this.MainProcess = mainProcess; + this.AuthorizationConfig = authorizationConfig; + this.DeviceId = deviceId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + [DataMember(Name="mainProcess", EmitDefaultValue=false)] + public bool? MainProcess { get; set; } + + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + [DataMember(Name="authorizationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig AuthorizationConfig { get; set; } + + /// + /// Gets or Sets DeviceId + /// + [DataMember(Name="deviceId", EmitDefaultValue=false)] + public string DeviceId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" MainProcess: ").Append(MainProcess).Append("\n"); + sb.Append(" AuthorizationConfig: ").Append(AuthorizationConfig).Append("\n"); + sb.Append(" DeviceId: ").Append(DeviceId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.MainProcess == input.MainProcess || + (this.MainProcess != null && + this.MainProcess.Equals(input.MainProcess)) + ) && + ( + this.AuthorizationConfig == input.AuthorizationConfig || + (this.AuthorizationConfig != null && + this.AuthorizationConfig.Equals(input.AuthorizationConfig)) + ) && + ( + this.DeviceId == input.DeviceId || + (this.DeviceId != null && + this.DeviceId.Equals(input.DeviceId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.MainProcess != null) + hashCode = hashCode * 59 + this.MainProcess.GetHashCode(); + if (this.AuthorizationConfig != null) + hashCode = hashCode * 59 + this.AuthorizationConfig.GetHashCode(); + if (this.DeviceId != null) + hashCode = hashCode * 59 + this.DeviceId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..c9e71ec7f7dd125c33e8106712f75232d9261ad4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig.cs @@ -0,0 +1,594 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MessageDialogConfig TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines the type of the message to display.</p><br /><pre>value: DialogMessageType [INFO, CONFIRMATION, WARNING, ERROR]<br /></pre><br /><ul><br /> <li>Info as 'Info',</li><br /> <li>Confirmation as 'Confirmation',</li><br /> <li>Warning as 'Warning',</li><br /> <li>Error as 'Error'</li><br /></ul> + /// + /// <p>This parameter defines the type of the message to display.</p><br /><pre>value: DialogMessageType [INFO, CONFIRMATION, WARNING, ERROR]<br /></pre><br /><ul><br /> <li>Info as 'Info',</li><br /> <li>Confirmation as 'Confirmation',</li><br /> <li>Warning as 'Warning',</li><br /> <li>Error as 'Error'</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum MessageTypeEnum + { + + /// + /// Enum Info for value: Info + /// + [EnumMember(Value = "Info")] + Info = 1, + + /// + /// Enum Confirmation for value: Confirmation + /// + [EnumMember(Value = "Confirmation")] + Confirmation = 2, + + /// + /// Enum Warning for value: Warning + /// + [EnumMember(Value = "Warning")] + Warning = 3, + + /// + /// Enum Error for value: Error + /// + [EnumMember(Value = "Error")] + Error = 4 + } + + /// + /// <p>This parameter defines the type of the message to display.</p><br /><pre>value: DialogMessageType [INFO, CONFIRMATION, WARNING, ERROR]<br /></pre><br /><ul><br /> <li>Info as 'Info',</li><br /> <li>Confirmation as 'Confirmation',</li><br /> <li>Warning as 'Warning',</li><br /> <li>Error as 'Error'</li><br /></ul> + /// + /// <p>This parameter defines the type of the message to display.</p><br /><pre>value: DialogMessageType [INFO, CONFIRMATION, WARNING, ERROR]<br /></pre><br /><ul><br /> <li>Info as 'Info',</li><br /> <li>Confirmation as 'Confirmation',</li><br /> <li>Warning as 'Warning',</li><br /> <li>Error as 'Error'</li><br /></ul> + [DataMember(Name="messageType", EmitDefaultValue=false)] + public MessageTypeEnum MessageType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the translation key for the title.</p> (required). + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p>. + /// <p>This parameter defines the type of the message to display.</p><br /><pre>value: DialogMessageType [INFO, CONFIRMATION, WARNING, ERROR]<br /></pre><br /><ul><br /> <li>Info as 'Info',</li><br /> <li>Confirmation as 'Confirmation',</li><br /> <li>Warning as 'Warning',</li><br /> <li>Error as 'Error'</li><br /></ul> (required). + /// <p>This parameter defines the translation for the message.</p> (required). + /// <p>This parameter defines the translation of the OK button.</p> (required). + /// <p>This parameter defines the translation of the cancel button.</p> (required). + /// <p>This parameter specifies whether a dialog is time-controlled.</p><br /><pre>values: true, false<br /></pre>. + /// <p>This parameter defines the duration in msec for the time-controlled dialog.</p>. + /// <p>if true the process will be left, after an error was handled, otherwise the main step will be reentered.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig(string titleKey = default(string), string signalConfigId = default(string), MessageTypeEnum messageType = default(MessageTypeEnum), string messageKey = default(string), string okButtonKey = default(string), string cancelButtonKey = default(string), bool? isTimeControlled = default(bool?), int? duration = default(int?), bool? leaveAfterError = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "titleKey" is required (not null) + if (titleKey == null) + { + throw new InvalidDataException("titleKey is a required property for ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig and cannot be null"); + } + else + { + this.TitleKey = titleKey; + } + // to ensure "messageType" is required (not null) + if (messageType == null) + { + throw new InvalidDataException("messageType is a required property for ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig and cannot be null"); + } + else + { + this.MessageType = messageType; + } + // to ensure "messageKey" is required (not null) + if (messageKey == null) + { + throw new InvalidDataException("messageKey is a required property for ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig and cannot be null"); + } + else + { + this.MessageKey = messageKey; + } + // to ensure "okButtonKey" is required (not null) + if (okButtonKey == null) + { + throw new InvalidDataException("okButtonKey is a required property for ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig and cannot be null"); + } + else + { + this.OkButtonKey = okButtonKey; + } + // to ensure "cancelButtonKey" is required (not null) + if (cancelButtonKey == null) + { + throw new InvalidDataException("cancelButtonKey is a required property for ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig and cannot be null"); + } + else + { + this.CancelButtonKey = cancelButtonKey; + } + this.SignalConfigId = signalConfigId; + this.IsTimeControlled = isTimeControlled; + this.Duration = duration; + this.LeaveAfterError = leaveAfterError; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the translation key for the title.</p> + /// + /// <p>This parameter defines the translation key for the title.</p> + [DataMember(Name="titleKey", EmitDefaultValue=false)] + public string TitleKey { get; set; } + + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + [DataMember(Name="signalConfigId", EmitDefaultValue=false)] + public string SignalConfigId { get; set; } + + + /// + /// <p>This parameter defines the translation for the message.</p> + /// + /// <p>This parameter defines the translation for the message.</p> + [DataMember(Name="messageKey", EmitDefaultValue=false)] + public string MessageKey { get; set; } + + /// + /// <p>This parameter defines the translation of the OK button.</p> + /// + /// <p>This parameter defines the translation of the OK button.</p> + [DataMember(Name="okButtonKey", EmitDefaultValue=false)] + public string OkButtonKey { get; set; } + + /// + /// <p>This parameter defines the translation of the cancel button.</p> + /// + /// <p>This parameter defines the translation of the cancel button.</p> + [DataMember(Name="cancelButtonKey", EmitDefaultValue=false)] + public string CancelButtonKey { get; set; } + + /// + /// <p>This parameter specifies whether a dialog is time-controlled.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a dialog is time-controlled.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="isTimeControlled", EmitDefaultValue=false)] + public bool? IsTimeControlled { get; set; } + + /// + /// <p>This parameter defines the duration in msec for the time-controlled dialog.</p> + /// + /// <p>This parameter defines the duration in msec for the time-controlled dialog.</p> + [DataMember(Name="duration", EmitDefaultValue=false)] + public int? Duration { get; set; } + + /// + /// <p>if true the process will be left, after an error was handled, otherwise the main step will be reentered.</p> + /// + /// <p>if true the process will be left, after an error was handled, otherwise the main step will be reentered.</p> + [DataMember(Name="leaveAfterError", EmitDefaultValue=false)] + public bool? LeaveAfterError { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig {\n"); + sb.Append(" TitleKey: ").Append(TitleKey).Append("\n"); + sb.Append(" SignalConfigId: ").Append(SignalConfigId).Append("\n"); + sb.Append(" MessageType: ").Append(MessageType).Append("\n"); + sb.Append(" MessageKey: ").Append(MessageKey).Append("\n"); + sb.Append(" OkButtonKey: ").Append(OkButtonKey).Append("\n"); + sb.Append(" CancelButtonKey: ").Append(CancelButtonKey).Append("\n"); + sb.Append(" IsTimeControlled: ").Append(IsTimeControlled).Append("\n"); + sb.Append(" Duration: ").Append(Duration).Append("\n"); + sb.Append(" LeaveAfterError: ").Append(LeaveAfterError).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig input) + { + if (input == null) + return false; + + return + ( + this.TitleKey == input.TitleKey || + (this.TitleKey != null && + this.TitleKey.Equals(input.TitleKey)) + ) && + ( + this.SignalConfigId == input.SignalConfigId || + (this.SignalConfigId != null && + this.SignalConfigId.Equals(input.SignalConfigId)) + ) && + ( + this.MessageType == input.MessageType || + (this.MessageType != null && + this.MessageType.Equals(input.MessageType)) + ) && + ( + this.MessageKey == input.MessageKey || + (this.MessageKey != null && + this.MessageKey.Equals(input.MessageKey)) + ) && + ( + this.OkButtonKey == input.OkButtonKey || + (this.OkButtonKey != null && + this.OkButtonKey.Equals(input.OkButtonKey)) + ) && + ( + this.CancelButtonKey == input.CancelButtonKey || + (this.CancelButtonKey != null && + this.CancelButtonKey.Equals(input.CancelButtonKey)) + ) && + ( + this.IsTimeControlled == input.IsTimeControlled || + (this.IsTimeControlled != null && + this.IsTimeControlled.Equals(input.IsTimeControlled)) + ) && + ( + this.Duration == input.Duration || + (this.Duration != null && + this.Duration.Equals(input.Duration)) + ) && + ( + this.LeaveAfterError == input.LeaveAfterError || + (this.LeaveAfterError != null && + this.LeaveAfterError.Equals(input.LeaveAfterError)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TitleKey != null) + hashCode = hashCode * 59 + this.TitleKey.GetHashCode(); + if (this.SignalConfigId != null) + hashCode = hashCode * 59 + this.SignalConfigId.GetHashCode(); + if (this.MessageType != null) + hashCode = hashCode * 59 + this.MessageType.GetHashCode(); + if (this.MessageKey != null) + hashCode = hashCode * 59 + this.MessageKey.GetHashCode(); + if (this.OkButtonKey != null) + hashCode = hashCode * 59 + this.OkButtonKey.GetHashCode(); + if (this.CancelButtonKey != null) + hashCode = hashCode * 59 + this.CancelButtonKey.GetHashCode(); + if (this.IsTimeControlled != null) + hashCode = hashCode * 59 + this.IsTimeControlled.GetHashCode(); + if (this.Duration != null) + hashCode = hashCode * 59 + this.Duration.GetHashCode(); + if (this.LeaveAfterError != null) + hashCode = hashCode * 59 + this.LeaveAfterError.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..1d146e28bfea7b7193fb5ff330b64c6310b37d49 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig.cs @@ -0,0 +1,812 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromptReceiptDataConfig <p>This configuration entity defines the PromptReceiptData process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the unique process ID.</p> (required). + /// <p>This parameter defines the key value for the prompt receipt data dialog title.</p>. + /// <p>Force manual input. The input dialog will shown even all predefined values are filled</p>. + /// <p>This parameter specifies whether a business unit ID will be returned and whether a business unit ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a business unit ID field is editable.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies a predefined business unit ID.</p>. + /// <p>This parameter specifies whether a current business unit ID shall be used if no predefined business unit ID is given.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a business day date will be returned and whether a business day date field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a business day date field is editable.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a predefined value is used for the business day date. Example value: 2015-01-22</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>This parameter specifies whether a current business day date shall be used if no predefined business day date is given.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a workstation ID will be returned and whether a workstation ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a workstation ID field is editable.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a predefined value is used for the workstation ID.</p>. + /// <p>This parameter specifies whether a current workstation ID shall be used if no predefined workstation ID is given.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a transaction sequence number will be returned and whether a transaction sequence number field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a transaction sequence number field will be editable.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether a predefined transaction sequence number is used.</p>. + /// <p>This parameter specifies whether a current transaction sequence number shall be used if no predefined transaction sequence number is given.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies, whether only non voided retail transaction receipts should be considered?</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig(string processId = default(string), string dialogTitleKey = default(string), bool? forceManualInput = default(bool?), bool? businessUnitIdRequired = default(bool?), bool? businessUnitIdEditable = default(bool?), string businessUnitIdPredefined = default(string), bool? businessUnitIdUseCurrent = default(bool?), bool? businessDayDateRequired = default(bool?), bool? businessDayDateEditable = default(bool?), string businessDayDatePredefined = default(string), bool? businessDayDateUseCurrent = default(bool?), bool? workstationIdRequired = default(bool?), bool? workstationIdEditable = default(bool?), string workstationIdPredefined = default(string), bool? workstationIdUseCurrent = default(bool?), bool? receiptNumberRequired = default(bool?), bool? receiptNumberEditable = default(bool?), string receiptNumberPredefined = default(string), bool? receiptNumberUseCurrent = default(bool?), bool? useLastNonVoidedReceiptNumber = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "processId" is required (not null) + if (processId == null) + { + throw new InvalidDataException("processId is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.ProcessId = processId; + } + // to ensure "businessUnitIdRequired" is required (not null) + if (businessUnitIdRequired == null) + { + throw new InvalidDataException("businessUnitIdRequired is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.BusinessUnitIdRequired = businessUnitIdRequired; + } + // to ensure "businessUnitIdEditable" is required (not null) + if (businessUnitIdEditable == null) + { + throw new InvalidDataException("businessUnitIdEditable is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.BusinessUnitIdEditable = businessUnitIdEditable; + } + // to ensure "businessUnitIdUseCurrent" is required (not null) + if (businessUnitIdUseCurrent == null) + { + throw new InvalidDataException("businessUnitIdUseCurrent is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.BusinessUnitIdUseCurrent = businessUnitIdUseCurrent; + } + // to ensure "businessDayDateRequired" is required (not null) + if (businessDayDateRequired == null) + { + throw new InvalidDataException("businessDayDateRequired is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.BusinessDayDateRequired = businessDayDateRequired; + } + // to ensure "businessDayDateEditable" is required (not null) + if (businessDayDateEditable == null) + { + throw new InvalidDataException("businessDayDateEditable is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.BusinessDayDateEditable = businessDayDateEditable; + } + // to ensure "businessDayDateUseCurrent" is required (not null) + if (businessDayDateUseCurrent == null) + { + throw new InvalidDataException("businessDayDateUseCurrent is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.BusinessDayDateUseCurrent = businessDayDateUseCurrent; + } + // to ensure "workstationIdRequired" is required (not null) + if (workstationIdRequired == null) + { + throw new InvalidDataException("workstationIdRequired is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.WorkstationIdRequired = workstationIdRequired; + } + // to ensure "workstationIdEditable" is required (not null) + if (workstationIdEditable == null) + { + throw new InvalidDataException("workstationIdEditable is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.WorkstationIdEditable = workstationIdEditable; + } + // to ensure "workstationIdUseCurrent" is required (not null) + if (workstationIdUseCurrent == null) + { + throw new InvalidDataException("workstationIdUseCurrent is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.WorkstationIdUseCurrent = workstationIdUseCurrent; + } + // to ensure "receiptNumberRequired" is required (not null) + if (receiptNumberRequired == null) + { + throw new InvalidDataException("receiptNumberRequired is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.ReceiptNumberRequired = receiptNumberRequired; + } + // to ensure "receiptNumberEditable" is required (not null) + if (receiptNumberEditable == null) + { + throw new InvalidDataException("receiptNumberEditable is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.ReceiptNumberEditable = receiptNumberEditable; + } + // to ensure "receiptNumberUseCurrent" is required (not null) + if (receiptNumberUseCurrent == null) + { + throw new InvalidDataException("receiptNumberUseCurrent is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig and cannot be null"); + } + else + { + this.ReceiptNumberUseCurrent = receiptNumberUseCurrent; + } + this.DialogTitleKey = dialogTitleKey; + this.ForceManualInput = forceManualInput; + this.BusinessUnitIdPredefined = businessUnitIdPredefined; + this.BusinessDayDatePredefined = businessDayDatePredefined; + this.WorkstationIdPredefined = workstationIdPredefined; + this.ReceiptNumberPredefined = receiptNumberPredefined; + this.UseLastNonVoidedReceiptNumber = useLastNonVoidedReceiptNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + [DataMember(Name="processId", EmitDefaultValue=false)] + public string ProcessId { get; set; } + + /// + /// <p>This parameter defines the key value for the prompt receipt data dialog title.</p> + /// + /// <p>This parameter defines the key value for the prompt receipt data dialog title.</p> + [DataMember(Name="dialogTitleKey", EmitDefaultValue=false)] + public string DialogTitleKey { get; set; } + + /// + /// <p>Force manual input. The input dialog will shown even all predefined values are filled</p> + /// + /// <p>Force manual input. The input dialog will shown even all predefined values are filled</p> + [DataMember(Name="forceManualInput", EmitDefaultValue=false)] + public bool? ForceManualInput { get; set; } + + /// + /// <p>This parameter specifies whether a business unit ID will be returned and whether a business unit ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business unit ID will be returned and whether a business unit ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="businessUnitIdRequired", EmitDefaultValue=false)] + public bool? BusinessUnitIdRequired { get; set; } + + /// + /// <p>This parameter specifies whether a business unit ID field is editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business unit ID field is editable.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="businessUnitIdEditable", EmitDefaultValue=false)] + public bool? BusinessUnitIdEditable { get; set; } + + /// + /// <p>This parameter specifies a predefined business unit ID.</p> + /// + /// <p>This parameter specifies a predefined business unit ID.</p> + [DataMember(Name="businessUnitIdPredefined", EmitDefaultValue=false)] + public string BusinessUnitIdPredefined { get; set; } + + /// + /// <p>This parameter specifies whether a current business unit ID shall be used if no predefined business unit ID is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current business unit ID shall be used if no predefined business unit ID is given.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="businessUnitIdUseCurrent", EmitDefaultValue=false)] + public bool? BusinessUnitIdUseCurrent { get; set; } + + /// + /// <p>This parameter specifies whether a business day date will be returned and whether a business day date field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business day date will be returned and whether a business day date field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="businessDayDateRequired", EmitDefaultValue=false)] + public bool? BusinessDayDateRequired { get; set; } + + /// + /// <p>This parameter specifies whether a business day date field is editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business day date field is editable.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="businessDayDateEditable", EmitDefaultValue=false)] + public bool? BusinessDayDateEditable { get; set; } + + /// + /// <p>This parameter specifies whether a predefined value is used for the business day date. Example value: 2015-01-22</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>This parameter specifies whether a predefined value is used for the business day date. Example value: 2015-01-22</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="businessDayDatePredefined", EmitDefaultValue=false)] + public string BusinessDayDatePredefined { get; set; } + + /// + /// <p>This parameter specifies whether a current business day date shall be used if no predefined business day date is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current business day date shall be used if no predefined business day date is given.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="businessDayDateUseCurrent", EmitDefaultValue=false)] + public bool? BusinessDayDateUseCurrent { get; set; } + + /// + /// <p>This parameter specifies whether a workstation ID will be returned and whether a workstation ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a workstation ID will be returned and whether a workstation ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="workstationIdRequired", EmitDefaultValue=false)] + public bool? WorkstationIdRequired { get; set; } + + /// + /// <p>This parameter specifies whether a workstation ID field is editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a workstation ID field is editable.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="workstationIdEditable", EmitDefaultValue=false)] + public bool? WorkstationIdEditable { get; set; } + + /// + /// <p>This parameter specifies whether a predefined value is used for the workstation ID.</p> + /// + /// <p>This parameter specifies whether a predefined value is used for the workstation ID.</p> + [DataMember(Name="workstationIdPredefined", EmitDefaultValue=false)] + public string WorkstationIdPredefined { get; set; } + + /// + /// <p>This parameter specifies whether a current workstation ID shall be used if no predefined workstation ID is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current workstation ID shall be used if no predefined workstation ID is given.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="workstationIdUseCurrent", EmitDefaultValue=false)] + public bool? WorkstationIdUseCurrent { get; set; } + + /// + /// <p>This parameter specifies whether a transaction sequence number will be returned and whether a transaction sequence number field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a transaction sequence number will be returned and whether a transaction sequence number field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="receiptNumberRequired", EmitDefaultValue=false)] + public bool? ReceiptNumberRequired { get; set; } + + /// + /// <p>This parameter specifies whether a transaction sequence number field will be editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a transaction sequence number field will be editable.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="receiptNumberEditable", EmitDefaultValue=false)] + public bool? ReceiptNumberEditable { get; set; } + + /// + /// <p>This parameter specifies whether a predefined transaction sequence number is used.</p> + /// + /// <p>This parameter specifies whether a predefined transaction sequence number is used.</p> + [DataMember(Name="receiptNumberPredefined", EmitDefaultValue=false)] + public string ReceiptNumberPredefined { get; set; } + + /// + /// <p>This parameter specifies whether a current transaction sequence number shall be used if no predefined transaction sequence number is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current transaction sequence number shall be used if no predefined transaction sequence number is given.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="receiptNumberUseCurrent", EmitDefaultValue=false)] + public bool? ReceiptNumberUseCurrent { get; set; } + + /// + /// <p>This parameter specifies, whether only non voided retail transaction receipts should be considered?</p> + /// + /// <p>This parameter specifies, whether only non voided retail transaction receipts should be considered?</p> + [DataMember(Name="useLastNonVoidedReceiptNumber", EmitDefaultValue=false)] + public bool? UseLastNonVoidedReceiptNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig {\n"); + sb.Append(" ProcessId: ").Append(ProcessId).Append("\n"); + sb.Append(" DialogTitleKey: ").Append(DialogTitleKey).Append("\n"); + sb.Append(" ForceManualInput: ").Append(ForceManualInput).Append("\n"); + sb.Append(" BusinessUnitIdRequired: ").Append(BusinessUnitIdRequired).Append("\n"); + sb.Append(" BusinessUnitIdEditable: ").Append(BusinessUnitIdEditable).Append("\n"); + sb.Append(" BusinessUnitIdPredefined: ").Append(BusinessUnitIdPredefined).Append("\n"); + sb.Append(" BusinessUnitIdUseCurrent: ").Append(BusinessUnitIdUseCurrent).Append("\n"); + sb.Append(" BusinessDayDateRequired: ").Append(BusinessDayDateRequired).Append("\n"); + sb.Append(" BusinessDayDateEditable: ").Append(BusinessDayDateEditable).Append("\n"); + sb.Append(" BusinessDayDatePredefined: ").Append(BusinessDayDatePredefined).Append("\n"); + sb.Append(" BusinessDayDateUseCurrent: ").Append(BusinessDayDateUseCurrent).Append("\n"); + sb.Append(" WorkstationIdRequired: ").Append(WorkstationIdRequired).Append("\n"); + sb.Append(" WorkstationIdEditable: ").Append(WorkstationIdEditable).Append("\n"); + sb.Append(" WorkstationIdPredefined: ").Append(WorkstationIdPredefined).Append("\n"); + sb.Append(" WorkstationIdUseCurrent: ").Append(WorkstationIdUseCurrent).Append("\n"); + sb.Append(" ReceiptNumberRequired: ").Append(ReceiptNumberRequired).Append("\n"); + sb.Append(" ReceiptNumberEditable: ").Append(ReceiptNumberEditable).Append("\n"); + sb.Append(" ReceiptNumberPredefined: ").Append(ReceiptNumberPredefined).Append("\n"); + sb.Append(" ReceiptNumberUseCurrent: ").Append(ReceiptNumberUseCurrent).Append("\n"); + sb.Append(" UseLastNonVoidedReceiptNumber: ").Append(UseLastNonVoidedReceiptNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig input) + { + if (input == null) + return false; + + return + ( + this.ProcessId == input.ProcessId || + (this.ProcessId != null && + this.ProcessId.Equals(input.ProcessId)) + ) && + ( + this.DialogTitleKey == input.DialogTitleKey || + (this.DialogTitleKey != null && + this.DialogTitleKey.Equals(input.DialogTitleKey)) + ) && + ( + this.ForceManualInput == input.ForceManualInput || + (this.ForceManualInput != null && + this.ForceManualInput.Equals(input.ForceManualInput)) + ) && + ( + this.BusinessUnitIdRequired == input.BusinessUnitIdRequired || + (this.BusinessUnitIdRequired != null && + this.BusinessUnitIdRequired.Equals(input.BusinessUnitIdRequired)) + ) && + ( + this.BusinessUnitIdEditable == input.BusinessUnitIdEditable || + (this.BusinessUnitIdEditable != null && + this.BusinessUnitIdEditable.Equals(input.BusinessUnitIdEditable)) + ) && + ( + this.BusinessUnitIdPredefined == input.BusinessUnitIdPredefined || + (this.BusinessUnitIdPredefined != null && + this.BusinessUnitIdPredefined.Equals(input.BusinessUnitIdPredefined)) + ) && + ( + this.BusinessUnitIdUseCurrent == input.BusinessUnitIdUseCurrent || + (this.BusinessUnitIdUseCurrent != null && + this.BusinessUnitIdUseCurrent.Equals(input.BusinessUnitIdUseCurrent)) + ) && + ( + this.BusinessDayDateRequired == input.BusinessDayDateRequired || + (this.BusinessDayDateRequired != null && + this.BusinessDayDateRequired.Equals(input.BusinessDayDateRequired)) + ) && + ( + this.BusinessDayDateEditable == input.BusinessDayDateEditable || + (this.BusinessDayDateEditable != null && + this.BusinessDayDateEditable.Equals(input.BusinessDayDateEditable)) + ) && + ( + this.BusinessDayDatePredefined == input.BusinessDayDatePredefined || + (this.BusinessDayDatePredefined != null && + this.BusinessDayDatePredefined.Equals(input.BusinessDayDatePredefined)) + ) && + ( + this.BusinessDayDateUseCurrent == input.BusinessDayDateUseCurrent || + (this.BusinessDayDateUseCurrent != null && + this.BusinessDayDateUseCurrent.Equals(input.BusinessDayDateUseCurrent)) + ) && + ( + this.WorkstationIdRequired == input.WorkstationIdRequired || + (this.WorkstationIdRequired != null && + this.WorkstationIdRequired.Equals(input.WorkstationIdRequired)) + ) && + ( + this.WorkstationIdEditable == input.WorkstationIdEditable || + (this.WorkstationIdEditable != null && + this.WorkstationIdEditable.Equals(input.WorkstationIdEditable)) + ) && + ( + this.WorkstationIdPredefined == input.WorkstationIdPredefined || + (this.WorkstationIdPredefined != null && + this.WorkstationIdPredefined.Equals(input.WorkstationIdPredefined)) + ) && + ( + this.WorkstationIdUseCurrent == input.WorkstationIdUseCurrent || + (this.WorkstationIdUseCurrent != null && + this.WorkstationIdUseCurrent.Equals(input.WorkstationIdUseCurrent)) + ) && + ( + this.ReceiptNumberRequired == input.ReceiptNumberRequired || + (this.ReceiptNumberRequired != null && + this.ReceiptNumberRequired.Equals(input.ReceiptNumberRequired)) + ) && + ( + this.ReceiptNumberEditable == input.ReceiptNumberEditable || + (this.ReceiptNumberEditable != null && + this.ReceiptNumberEditable.Equals(input.ReceiptNumberEditable)) + ) && + ( + this.ReceiptNumberPredefined == input.ReceiptNumberPredefined || + (this.ReceiptNumberPredefined != null && + this.ReceiptNumberPredefined.Equals(input.ReceiptNumberPredefined)) + ) && + ( + this.ReceiptNumberUseCurrent == input.ReceiptNumberUseCurrent || + (this.ReceiptNumberUseCurrent != null && + this.ReceiptNumberUseCurrent.Equals(input.ReceiptNumberUseCurrent)) + ) && + ( + this.UseLastNonVoidedReceiptNumber == input.UseLastNonVoidedReceiptNumber || + (this.UseLastNonVoidedReceiptNumber != null && + this.UseLastNonVoidedReceiptNumber.Equals(input.UseLastNonVoidedReceiptNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ProcessId != null) + hashCode = hashCode * 59 + this.ProcessId.GetHashCode(); + if (this.DialogTitleKey != null) + hashCode = hashCode * 59 + this.DialogTitleKey.GetHashCode(); + if (this.ForceManualInput != null) + hashCode = hashCode * 59 + this.ForceManualInput.GetHashCode(); + if (this.BusinessUnitIdRequired != null) + hashCode = hashCode * 59 + this.BusinessUnitIdRequired.GetHashCode(); + if (this.BusinessUnitIdEditable != null) + hashCode = hashCode * 59 + this.BusinessUnitIdEditable.GetHashCode(); + if (this.BusinessUnitIdPredefined != null) + hashCode = hashCode * 59 + this.BusinessUnitIdPredefined.GetHashCode(); + if (this.BusinessUnitIdUseCurrent != null) + hashCode = hashCode * 59 + this.BusinessUnitIdUseCurrent.GetHashCode(); + if (this.BusinessDayDateRequired != null) + hashCode = hashCode * 59 + this.BusinessDayDateRequired.GetHashCode(); + if (this.BusinessDayDateEditable != null) + hashCode = hashCode * 59 + this.BusinessDayDateEditable.GetHashCode(); + if (this.BusinessDayDatePredefined != null) + hashCode = hashCode * 59 + this.BusinessDayDatePredefined.GetHashCode(); + if (this.BusinessDayDateUseCurrent != null) + hashCode = hashCode * 59 + this.BusinessDayDateUseCurrent.GetHashCode(); + if (this.WorkstationIdRequired != null) + hashCode = hashCode * 59 + this.WorkstationIdRequired.GetHashCode(); + if (this.WorkstationIdEditable != null) + hashCode = hashCode * 59 + this.WorkstationIdEditable.GetHashCode(); + if (this.WorkstationIdPredefined != null) + hashCode = hashCode * 59 + this.WorkstationIdPredefined.GetHashCode(); + if (this.WorkstationIdUseCurrent != null) + hashCode = hashCode * 59 + this.WorkstationIdUseCurrent.GetHashCode(); + if (this.ReceiptNumberRequired != null) + hashCode = hashCode * 59 + this.ReceiptNumberRequired.GetHashCode(); + if (this.ReceiptNumberEditable != null) + hashCode = hashCode * 59 + this.ReceiptNumberEditable.GetHashCode(); + if (this.ReceiptNumberPredefined != null) + hashCode = hashCode * 59 + this.ReceiptNumberPredefined.GetHashCode(); + if (this.ReceiptNumberUseCurrent != null) + hashCode = hashCode * 59 + this.ReceiptNumberUseCurrent.GetHashCode(); + if (this.UseLastNonVoidedReceiptNumber != null) + hashCode = hashCode * 59 + this.UseLastNonVoidedReceiptNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..d62831cba922693ec1dbd1d13aece6bf87bf1d1c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig.cs @@ -0,0 +1,518 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromptUserDialogConfig <p>This configuration entity defines the process for prompting the user.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This parameter defines the translation key for the title.</p> (required). + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p>. + /// <p>This parameter defines the input domain for the input field.</p> (required). + /// <p>This parameter specifies whether an input is mandatory.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the cancellation of the dialog is allowed.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter defines an optional translation key for the label text.</p>. + /// maxLengthOfTitleToSplit. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig(string titleKey = default(string), string signalConfigId = default(string), string inputDomain = default(string), bool? inputMandatory = default(bool?), bool? cancelAllowed = default(bool?), string labelTextKey = default(string), int? maxLengthOfTitleToSplit = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "titleKey" is required (not null) + if (titleKey == null) + { + throw new InvalidDataException("titleKey is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig and cannot be null"); + } + else + { + this.TitleKey = titleKey; + } + // to ensure "inputDomain" is required (not null) + if (inputDomain == null) + { + throw new InvalidDataException("inputDomain is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig and cannot be null"); + } + else + { + this.InputDomain = inputDomain; + } + // to ensure "inputMandatory" is required (not null) + if (inputMandatory == null) + { + throw new InvalidDataException("inputMandatory is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig and cannot be null"); + } + else + { + this.InputMandatory = inputMandatory; + } + // to ensure "cancelAllowed" is required (not null) + if (cancelAllowed == null) + { + throw new InvalidDataException("cancelAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig and cannot be null"); + } + else + { + this.CancelAllowed = cancelAllowed; + } + this.SignalConfigId = signalConfigId; + this.LabelTextKey = labelTextKey; + this.MaxLengthOfTitleToSplit = maxLengthOfTitleToSplit; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This parameter defines the translation key for the title.</p> + /// + /// <p>This parameter defines the translation key for the title.</p> + [DataMember(Name="titleKey", EmitDefaultValue=false)] + public string TitleKey { get; set; } + + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + [DataMember(Name="signalConfigId", EmitDefaultValue=false)] + public string SignalConfigId { get; set; } + + /// + /// <p>This parameter defines the input domain for the input field.</p> + /// + /// <p>This parameter defines the input domain for the input field.</p> + [DataMember(Name="inputDomain", EmitDefaultValue=false)] + public string InputDomain { get; set; } + + /// + /// <p>This parameter specifies whether an input is mandatory.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether an input is mandatory.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="inputMandatory", EmitDefaultValue=false)] + public bool? InputMandatory { get; set; } + + /// + /// <p>This parameter specifies whether the cancellation of the dialog is allowed.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the cancellation of the dialog is allowed.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="cancelAllowed", EmitDefaultValue=false)] + public bool? CancelAllowed { get; set; } + + /// + /// <p>This parameter defines an optional translation key for the label text.</p> + /// + /// <p>This parameter defines an optional translation key for the label text.</p> + [DataMember(Name="labelTextKey", EmitDefaultValue=false)] + public string LabelTextKey { get; set; } + + /// + /// Gets or Sets MaxLengthOfTitleToSplit + /// + [DataMember(Name="maxLengthOfTitleToSplit", EmitDefaultValue=false)] + public int? MaxLengthOfTitleToSplit { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig {\n"); + sb.Append(" TitleKey: ").Append(TitleKey).Append("\n"); + sb.Append(" SignalConfigId: ").Append(SignalConfigId).Append("\n"); + sb.Append(" InputDomain: ").Append(InputDomain).Append("\n"); + sb.Append(" InputMandatory: ").Append(InputMandatory).Append("\n"); + sb.Append(" CancelAllowed: ").Append(CancelAllowed).Append("\n"); + sb.Append(" LabelTextKey: ").Append(LabelTextKey).Append("\n"); + sb.Append(" MaxLengthOfTitleToSplit: ").Append(MaxLengthOfTitleToSplit).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig input) + { + if (input == null) + return false; + + return + ( + this.TitleKey == input.TitleKey || + (this.TitleKey != null && + this.TitleKey.Equals(input.TitleKey)) + ) && + ( + this.SignalConfigId == input.SignalConfigId || + (this.SignalConfigId != null && + this.SignalConfigId.Equals(input.SignalConfigId)) + ) && + ( + this.InputDomain == input.InputDomain || + (this.InputDomain != null && + this.InputDomain.Equals(input.InputDomain)) + ) && + ( + this.InputMandatory == input.InputMandatory || + (this.InputMandatory != null && + this.InputMandatory.Equals(input.InputMandatory)) + ) && + ( + this.CancelAllowed == input.CancelAllowed || + (this.CancelAllowed != null && + this.CancelAllowed.Equals(input.CancelAllowed)) + ) && + ( + this.LabelTextKey == input.LabelTextKey || + (this.LabelTextKey != null && + this.LabelTextKey.Equals(input.LabelTextKey)) + ) && + ( + this.MaxLengthOfTitleToSplit == input.MaxLengthOfTitleToSplit || + (this.MaxLengthOfTitleToSplit != null && + this.MaxLengthOfTitleToSplit.Equals(input.MaxLengthOfTitleToSplit)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TitleKey != null) + hashCode = hashCode * 59 + this.TitleKey.GetHashCode(); + if (this.SignalConfigId != null) + hashCode = hashCode * 59 + this.SignalConfigId.GetHashCode(); + if (this.InputDomain != null) + hashCode = hashCode * 59 + this.InputDomain.GetHashCode(); + if (this.InputMandatory != null) + hashCode = hashCode * 59 + this.InputMandatory.GetHashCode(); + if (this.CancelAllowed != null) + hashCode = hashCode * 59 + this.CancelAllowed.GetHashCode(); + if (this.LabelTextKey != null) + hashCode = hashCode * 59 + this.LabelTextKey.GetHashCode(); + if (this.MaxLengthOfTitleToSplit != null) + hashCode = hashCode * 59 + this.MaxLengthOfTitleToSplit.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1ebe2d7e4f52b058ed4f88482a5933e9914a846 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig.cs @@ -0,0 +1,997 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionPreviewContextConfig <p>This configuration entity defines the transaction preview. The config parameters will be passed to the transaction preview component, controller, report and datasource.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig : IEquatable, IValidatableObject + { + /// + /// <p>The language scope for the transaction preview report translations. Leave empty (null) to set the Transaction scope (with the system default locale) as default.</p> + /// + /// <p>The language scope for the transaction preview report translations. Leave empty (null) to set the Transaction scope (with the system default locale) as default.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum LanguageScopeEnum + { + + /// + /// Enum Operator for value: Operator + /// + [EnumMember(Value = "Operator")] + Operator = 1, + + /// + /// Enum Customer for value: Customer + /// + [EnumMember(Value = "Customer")] + Customer = 2, + + /// + /// Enum Transaction for value: Transaction + /// + [EnumMember(Value = "Transaction")] + Transaction = 3, + + /// + /// Enum MasterData for value: MasterData + /// + [EnumMember(Value = "MasterData")] + MasterData = 4 + } + + /// + /// <p>The language scope for the transaction preview report translations. Leave empty (null) to set the Transaction scope (with the system default locale) as default.</p> + /// + /// <p>The language scope for the transaction preview report translations. Leave empty (null) to set the Transaction scope (with the system default locale) as default.</p> + [DataMember(Name="languageScope", EmitDefaultValue=false)] + public LanguageScopeEnum? LanguageScope { get; set; } + /// + /// Defines HorizontalPositioningType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum HorizontalPositioningTypeEnum + { + + /// + /// Enum Char for value: Char + /// + [EnumMember(Value = "Char")] + Char = 1, + + /// + /// Enum Pixel for value: Pixel + /// + [EnumMember(Value = "Pixel")] + Pixel = 2 + } + + /// + /// Gets or Sets HorizontalPositioningType + /// + [DataMember(Name="horizontalPositioningType", EmitDefaultValue=false)] + public HorizontalPositioningTypeEnum HorizontalPositioningType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Name of the report template.</p> (required). + /// <p>The language scope for the transaction preview report translations. Leave empty (null) to set the Transaction scope (with the system default locale) as default.</p>. + /// horizontalPositioningType (required). + /// verticalLinePadding. + /// verticalLineSpacing. + /// considerScopeTransactions (required). + /// <p>This parameter specifies whether the header should be displayed or not.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the total should be displayed or not.</p> (required). + /// <p>This parameter specifies whether a row selection is allowed in general.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether inline cell editing is allowed in general.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>Not supported.<br /> @deprecated - never implemented in any release.<br /> This parameter specifies whether the returnable quantity for a line item should be displayed or not.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the last changed row should be made visible.</p><br /><pre>values: true, false<br /></pre> (required). + /// selectLastChangedRow (required). + /// <p>This parameter specifies whether the last changed row should be edited.</p><br /><pre>values: true, false<br /></pre> (required). + /// clearSelectionsForLastChangedRow (required). + /// advancedSelectionMode (required). + /// showVoidedLineItems (required). + /// <p>This parameter specifies whether the sub total rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> (required). + /// <p>This parameter specifies whether the change rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> (required). + /// showInlinePanel (required). + /// <p>This parameter specifies whether the line items for the given type codes should be displayed or not.</p> (required). + /// <p>This parameter specifies whether line items for the given type codes are selectable or not.</p>. + /// <p>This parameter specifies whether sale return line items for the given type codes are selectable or not. Has no effect if selectableLineItems does not include sale return line items.</p>. + /// saleReturnLineItemReturnTypes. + /// <p>This parameter specifies whether line items for the given type codes are inline editable (cell editors) or not.</p>. + /// <p>Set whether the footer should be displayed or not. Default value is false.</p><br /><pre>values: true, false<br /></pre>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig(string templateName = default(string), LanguageScopeEnum? languageScope = default(LanguageScopeEnum?), HorizontalPositioningTypeEnum horizontalPositioningType = default(HorizontalPositioningTypeEnum), int? verticalLinePadding = default(int?), int? verticalLineSpacing = default(int?), bool? considerScopeTransactions = default(bool?), bool? showHeader = default(bool?), List showTotals = default(List), bool? rowSelectionAllowed = default(bool?), bool? cellEditAllowed = default(bool?), bool? showReturnableQuantity = default(bool?), bool? showLastChangedRow = default(bool?), bool? selectLastChangedRow = default(bool?), bool? editLastChangedRow = default(bool?), bool? clearSelectionsForLastChangedRow = default(bool?), bool? advancedSelectionMode = default(bool?), bool? showVoidedLineItems = default(bool?), bool? showSubtotalRounding = default(bool?), bool? showChangeRounding = default(bool?), bool? showInlinePanel = default(bool?), List showLineItems = default(List), List selectableLineItems = default(List), List selectableSaleReturnLineItems = default(List), List saleReturnLineItemReturnTypes = default(List), List editableLineItems = default(List), bool? showFooter = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "templateName" is required (not null) + if (templateName == null) + { + throw new InvalidDataException("templateName is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.TemplateName = templateName; + } + // to ensure "horizontalPositioningType" is required (not null) + if (horizontalPositioningType == null) + { + throw new InvalidDataException("horizontalPositioningType is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.HorizontalPositioningType = horizontalPositioningType; + } + // to ensure "considerScopeTransactions" is required (not null) + if (considerScopeTransactions == null) + { + throw new InvalidDataException("considerScopeTransactions is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ConsiderScopeTransactions = considerScopeTransactions; + } + // to ensure "showHeader" is required (not null) + if (showHeader == null) + { + throw new InvalidDataException("showHeader is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowHeader = showHeader; + } + // to ensure "showTotals" is required (not null) + if (showTotals == null) + { + throw new InvalidDataException("showTotals is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowTotals = showTotals; + } + // to ensure "rowSelectionAllowed" is required (not null) + if (rowSelectionAllowed == null) + { + throw new InvalidDataException("rowSelectionAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.RowSelectionAllowed = rowSelectionAllowed; + } + // to ensure "cellEditAllowed" is required (not null) + if (cellEditAllowed == null) + { + throw new InvalidDataException("cellEditAllowed is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.CellEditAllowed = cellEditAllowed; + } + // to ensure "showReturnableQuantity" is required (not null) + if (showReturnableQuantity == null) + { + throw new InvalidDataException("showReturnableQuantity is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowReturnableQuantity = showReturnableQuantity; + } + // to ensure "showLastChangedRow" is required (not null) + if (showLastChangedRow == null) + { + throw new InvalidDataException("showLastChangedRow is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowLastChangedRow = showLastChangedRow; + } + // to ensure "selectLastChangedRow" is required (not null) + if (selectLastChangedRow == null) + { + throw new InvalidDataException("selectLastChangedRow is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.SelectLastChangedRow = selectLastChangedRow; + } + // to ensure "editLastChangedRow" is required (not null) + if (editLastChangedRow == null) + { + throw new InvalidDataException("editLastChangedRow is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.EditLastChangedRow = editLastChangedRow; + } + // to ensure "clearSelectionsForLastChangedRow" is required (not null) + if (clearSelectionsForLastChangedRow == null) + { + throw new InvalidDataException("clearSelectionsForLastChangedRow is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ClearSelectionsForLastChangedRow = clearSelectionsForLastChangedRow; + } + // to ensure "advancedSelectionMode" is required (not null) + if (advancedSelectionMode == null) + { + throw new InvalidDataException("advancedSelectionMode is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.AdvancedSelectionMode = advancedSelectionMode; + } + // to ensure "showVoidedLineItems" is required (not null) + if (showVoidedLineItems == null) + { + throw new InvalidDataException("showVoidedLineItems is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowVoidedLineItems = showVoidedLineItems; + } + // to ensure "showSubtotalRounding" is required (not null) + if (showSubtotalRounding == null) + { + throw new InvalidDataException("showSubtotalRounding is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowSubtotalRounding = showSubtotalRounding; + } + // to ensure "showChangeRounding" is required (not null) + if (showChangeRounding == null) + { + throw new InvalidDataException("showChangeRounding is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowChangeRounding = showChangeRounding; + } + // to ensure "showInlinePanel" is required (not null) + if (showInlinePanel == null) + { + throw new InvalidDataException("showInlinePanel is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowInlinePanel = showInlinePanel; + } + // to ensure "showLineItems" is required (not null) + if (showLineItems == null) + { + throw new InvalidDataException("showLineItems is a required property for ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig and cannot be null"); + } + else + { + this.ShowLineItems = showLineItems; + } + this.LanguageScope = languageScope; + this.VerticalLinePadding = verticalLinePadding; + this.VerticalLineSpacing = verticalLineSpacing; + this.SelectableLineItems = selectableLineItems; + this.SelectableSaleReturnLineItems = selectableSaleReturnLineItems; + this.SaleReturnLineItemReturnTypes = saleReturnLineItemReturnTypes; + this.EditableLineItems = editableLineItems; + this.ShowFooter = showFooter; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Name of the report template.</p> + /// + /// <p>Name of the report template.</p> + [DataMember(Name="templateName", EmitDefaultValue=false)] + public string TemplateName { get; set; } + + + + /// + /// Gets or Sets VerticalLinePadding + /// + [DataMember(Name="verticalLinePadding", EmitDefaultValue=false)] + public int? VerticalLinePadding { get; set; } + + /// + /// Gets or Sets VerticalLineSpacing + /// + [DataMember(Name="verticalLineSpacing", EmitDefaultValue=false)] + public int? VerticalLineSpacing { get; set; } + + /// + /// Gets or Sets ConsiderScopeTransactions + /// + [DataMember(Name="considerScopeTransactions", EmitDefaultValue=false)] + public bool? ConsiderScopeTransactions { get; set; } + + /// + /// <p>This parameter specifies whether the header should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the header should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="showHeader", EmitDefaultValue=false)] + public bool? ShowHeader { get; set; } + + /// + /// <p>This parameter specifies whether the total should be displayed or not.</p> + /// + /// <p>This parameter specifies whether the total should be displayed or not.</p> + [DataMember(Name="showTotals", EmitDefaultValue=false)] + public List ShowTotals { get; set; } + + /// + /// <p>This parameter specifies whether a row selection is allowed in general.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a row selection is allowed in general.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="rowSelectionAllowed", EmitDefaultValue=false)] + public bool? RowSelectionAllowed { get; set; } + + /// + /// <p>This parameter specifies whether inline cell editing is allowed in general.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether inline cell editing is allowed in general.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="cellEditAllowed", EmitDefaultValue=false)] + public bool? CellEditAllowed { get; set; } + + /// + /// <p>Not supported.<br /> @deprecated - never implemented in any release.<br /> This parameter specifies whether the returnable quantity for a line item should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>Not supported.<br /> @deprecated - never implemented in any release.<br /> This parameter specifies whether the returnable quantity for a line item should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="showReturnableQuantity", EmitDefaultValue=false)] + public bool? ShowReturnableQuantity { get; set; } + + /// + /// <p>This parameter specifies whether the last changed row should be made visible.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the last changed row should be made visible.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="showLastChangedRow", EmitDefaultValue=false)] + public bool? ShowLastChangedRow { get; set; } + + /// + /// Gets or Sets SelectLastChangedRow + /// + [DataMember(Name="selectLastChangedRow", EmitDefaultValue=false)] + public bool? SelectLastChangedRow { get; set; } + + /// + /// <p>This parameter specifies whether the last changed row should be edited.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the last changed row should be edited.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="editLastChangedRow", EmitDefaultValue=false)] + public bool? EditLastChangedRow { get; set; } + + /// + /// Gets or Sets ClearSelectionsForLastChangedRow + /// + [DataMember(Name="clearSelectionsForLastChangedRow", EmitDefaultValue=false)] + public bool? ClearSelectionsForLastChangedRow { get; set; } + + /// + /// Gets or Sets AdvancedSelectionMode + /// + [DataMember(Name="advancedSelectionMode", EmitDefaultValue=false)] + public bool? AdvancedSelectionMode { get; set; } + + /// + /// Gets or Sets ShowVoidedLineItems + /// + [DataMember(Name="showVoidedLineItems", EmitDefaultValue=false)] + public bool? ShowVoidedLineItems { get; set; } + + /// + /// <p>This parameter specifies whether the sub total rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the sub total rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="showSubtotalRounding", EmitDefaultValue=false)] + public bool? ShowSubtotalRounding { get; set; } + + /// + /// <p>This parameter specifies whether the change rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the change rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="showChangeRounding", EmitDefaultValue=false)] + public bool? ShowChangeRounding { get; set; } + + /// + /// Gets or Sets ShowInlinePanel + /// + [DataMember(Name="showInlinePanel", EmitDefaultValue=false)] + public bool? ShowInlinePanel { get; set; } + + /// + /// <p>This parameter specifies whether the line items for the given type codes should be displayed or not.</p> + /// + /// <p>This parameter specifies whether the line items for the given type codes should be displayed or not.</p> + [DataMember(Name="showLineItems", EmitDefaultValue=false)] + public List ShowLineItems { get; set; } + + /// + /// <p>This parameter specifies whether line items for the given type codes are selectable or not.</p> + /// + /// <p>This parameter specifies whether line items for the given type codes are selectable or not.</p> + [DataMember(Name="selectableLineItems", EmitDefaultValue=false)] + public List SelectableLineItems { get; set; } + + /// + /// <p>This parameter specifies whether sale return line items for the given type codes are selectable or not. Has no effect if selectableLineItems does not include sale return line items.</p> + /// + /// <p>This parameter specifies whether sale return line items for the given type codes are selectable or not. Has no effect if selectableLineItems does not include sale return line items.</p> + [DataMember(Name="selectableSaleReturnLineItems", EmitDefaultValue=false)] + public List SelectableSaleReturnLineItems { get; set; } + + /// + /// Gets or Sets SaleReturnLineItemReturnTypes + /// + [DataMember(Name="saleReturnLineItemReturnTypes", EmitDefaultValue=false)] + public List SaleReturnLineItemReturnTypes { get; set; } + + /// + /// <p>This parameter specifies whether line items for the given type codes are inline editable (cell editors) or not.</p> + /// + /// <p>This parameter specifies whether line items for the given type codes are inline editable (cell editors) or not.</p> + [DataMember(Name="editableLineItems", EmitDefaultValue=false)] + public List EditableLineItems { get; set; } + + /// + /// <p>Set whether the footer should be displayed or not. Default value is false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>Set whether the footer should be displayed or not. Default value is false.</p><br /><pre>values: true, false<br /></pre> + [DataMember(Name="showFooter", EmitDefaultValue=false)] + public bool? ShowFooter { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig {\n"); + sb.Append(" TemplateName: ").Append(TemplateName).Append("\n"); + sb.Append(" LanguageScope: ").Append(LanguageScope).Append("\n"); + sb.Append(" HorizontalPositioningType: ").Append(HorizontalPositioningType).Append("\n"); + sb.Append(" VerticalLinePadding: ").Append(VerticalLinePadding).Append("\n"); + sb.Append(" VerticalLineSpacing: ").Append(VerticalLineSpacing).Append("\n"); + sb.Append(" ConsiderScopeTransactions: ").Append(ConsiderScopeTransactions).Append("\n"); + sb.Append(" ShowHeader: ").Append(ShowHeader).Append("\n"); + sb.Append(" ShowTotals: ").Append(ShowTotals).Append("\n"); + sb.Append(" RowSelectionAllowed: ").Append(RowSelectionAllowed).Append("\n"); + sb.Append(" CellEditAllowed: ").Append(CellEditAllowed).Append("\n"); + sb.Append(" ShowReturnableQuantity: ").Append(ShowReturnableQuantity).Append("\n"); + sb.Append(" ShowLastChangedRow: ").Append(ShowLastChangedRow).Append("\n"); + sb.Append(" SelectLastChangedRow: ").Append(SelectLastChangedRow).Append("\n"); + sb.Append(" EditLastChangedRow: ").Append(EditLastChangedRow).Append("\n"); + sb.Append(" ClearSelectionsForLastChangedRow: ").Append(ClearSelectionsForLastChangedRow).Append("\n"); + sb.Append(" AdvancedSelectionMode: ").Append(AdvancedSelectionMode).Append("\n"); + sb.Append(" ShowVoidedLineItems: ").Append(ShowVoidedLineItems).Append("\n"); + sb.Append(" ShowSubtotalRounding: ").Append(ShowSubtotalRounding).Append("\n"); + sb.Append(" ShowChangeRounding: ").Append(ShowChangeRounding).Append("\n"); + sb.Append(" ShowInlinePanel: ").Append(ShowInlinePanel).Append("\n"); + sb.Append(" ShowLineItems: ").Append(ShowLineItems).Append("\n"); + sb.Append(" SelectableLineItems: ").Append(SelectableLineItems).Append("\n"); + sb.Append(" SelectableSaleReturnLineItems: ").Append(SelectableSaleReturnLineItems).Append("\n"); + sb.Append(" SaleReturnLineItemReturnTypes: ").Append(SaleReturnLineItemReturnTypes).Append("\n"); + sb.Append(" EditableLineItems: ").Append(EditableLineItems).Append("\n"); + sb.Append(" ShowFooter: ").Append(ShowFooter).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig input) + { + if (input == null) + return false; + + return + ( + this.TemplateName == input.TemplateName || + (this.TemplateName != null && + this.TemplateName.Equals(input.TemplateName)) + ) && + ( + this.LanguageScope == input.LanguageScope || + (this.LanguageScope != null && + this.LanguageScope.Equals(input.LanguageScope)) + ) && + ( + this.HorizontalPositioningType == input.HorizontalPositioningType || + (this.HorizontalPositioningType != null && + this.HorizontalPositioningType.Equals(input.HorizontalPositioningType)) + ) && + ( + this.VerticalLinePadding == input.VerticalLinePadding || + (this.VerticalLinePadding != null && + this.VerticalLinePadding.Equals(input.VerticalLinePadding)) + ) && + ( + this.VerticalLineSpacing == input.VerticalLineSpacing || + (this.VerticalLineSpacing != null && + this.VerticalLineSpacing.Equals(input.VerticalLineSpacing)) + ) && + ( + this.ConsiderScopeTransactions == input.ConsiderScopeTransactions || + (this.ConsiderScopeTransactions != null && + this.ConsiderScopeTransactions.Equals(input.ConsiderScopeTransactions)) + ) && + ( + this.ShowHeader == input.ShowHeader || + (this.ShowHeader != null && + this.ShowHeader.Equals(input.ShowHeader)) + ) && + ( + this.ShowTotals == input.ShowTotals || + this.ShowTotals != null && + this.ShowTotals.SequenceEqual(input.ShowTotals) + ) && + ( + this.RowSelectionAllowed == input.RowSelectionAllowed || + (this.RowSelectionAllowed != null && + this.RowSelectionAllowed.Equals(input.RowSelectionAllowed)) + ) && + ( + this.CellEditAllowed == input.CellEditAllowed || + (this.CellEditAllowed != null && + this.CellEditAllowed.Equals(input.CellEditAllowed)) + ) && + ( + this.ShowReturnableQuantity == input.ShowReturnableQuantity || + (this.ShowReturnableQuantity != null && + this.ShowReturnableQuantity.Equals(input.ShowReturnableQuantity)) + ) && + ( + this.ShowLastChangedRow == input.ShowLastChangedRow || + (this.ShowLastChangedRow != null && + this.ShowLastChangedRow.Equals(input.ShowLastChangedRow)) + ) && + ( + this.SelectLastChangedRow == input.SelectLastChangedRow || + (this.SelectLastChangedRow != null && + this.SelectLastChangedRow.Equals(input.SelectLastChangedRow)) + ) && + ( + this.EditLastChangedRow == input.EditLastChangedRow || + (this.EditLastChangedRow != null && + this.EditLastChangedRow.Equals(input.EditLastChangedRow)) + ) && + ( + this.ClearSelectionsForLastChangedRow == input.ClearSelectionsForLastChangedRow || + (this.ClearSelectionsForLastChangedRow != null && + this.ClearSelectionsForLastChangedRow.Equals(input.ClearSelectionsForLastChangedRow)) + ) && + ( + this.AdvancedSelectionMode == input.AdvancedSelectionMode || + (this.AdvancedSelectionMode != null && + this.AdvancedSelectionMode.Equals(input.AdvancedSelectionMode)) + ) && + ( + this.ShowVoidedLineItems == input.ShowVoidedLineItems || + (this.ShowVoidedLineItems != null && + this.ShowVoidedLineItems.Equals(input.ShowVoidedLineItems)) + ) && + ( + this.ShowSubtotalRounding == input.ShowSubtotalRounding || + (this.ShowSubtotalRounding != null && + this.ShowSubtotalRounding.Equals(input.ShowSubtotalRounding)) + ) && + ( + this.ShowChangeRounding == input.ShowChangeRounding || + (this.ShowChangeRounding != null && + this.ShowChangeRounding.Equals(input.ShowChangeRounding)) + ) && + ( + this.ShowInlinePanel == input.ShowInlinePanel || + (this.ShowInlinePanel != null && + this.ShowInlinePanel.Equals(input.ShowInlinePanel)) + ) && + ( + this.ShowLineItems == input.ShowLineItems || + this.ShowLineItems != null && + this.ShowLineItems.SequenceEqual(input.ShowLineItems) + ) && + ( + this.SelectableLineItems == input.SelectableLineItems || + this.SelectableLineItems != null && + this.SelectableLineItems.SequenceEqual(input.SelectableLineItems) + ) && + ( + this.SelectableSaleReturnLineItems == input.SelectableSaleReturnLineItems || + this.SelectableSaleReturnLineItems != null && + this.SelectableSaleReturnLineItems.SequenceEqual(input.SelectableSaleReturnLineItems) + ) && + ( + this.SaleReturnLineItemReturnTypes == input.SaleReturnLineItemReturnTypes || + this.SaleReturnLineItemReturnTypes != null && + this.SaleReturnLineItemReturnTypes.SequenceEqual(input.SaleReturnLineItemReturnTypes) + ) && + ( + this.EditableLineItems == input.EditableLineItems || + this.EditableLineItems != null && + this.EditableLineItems.SequenceEqual(input.EditableLineItems) + ) && + ( + this.ShowFooter == input.ShowFooter || + (this.ShowFooter != null && + this.ShowFooter.Equals(input.ShowFooter)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TemplateName != null) + hashCode = hashCode * 59 + this.TemplateName.GetHashCode(); + if (this.LanguageScope != null) + hashCode = hashCode * 59 + this.LanguageScope.GetHashCode(); + if (this.HorizontalPositioningType != null) + hashCode = hashCode * 59 + this.HorizontalPositioningType.GetHashCode(); + if (this.VerticalLinePadding != null) + hashCode = hashCode * 59 + this.VerticalLinePadding.GetHashCode(); + if (this.VerticalLineSpacing != null) + hashCode = hashCode * 59 + this.VerticalLineSpacing.GetHashCode(); + if (this.ConsiderScopeTransactions != null) + hashCode = hashCode * 59 + this.ConsiderScopeTransactions.GetHashCode(); + if (this.ShowHeader != null) + hashCode = hashCode * 59 + this.ShowHeader.GetHashCode(); + if (this.ShowTotals != null) + hashCode = hashCode * 59 + this.ShowTotals.GetHashCode(); + if (this.RowSelectionAllowed != null) + hashCode = hashCode * 59 + this.RowSelectionAllowed.GetHashCode(); + if (this.CellEditAllowed != null) + hashCode = hashCode * 59 + this.CellEditAllowed.GetHashCode(); + if (this.ShowReturnableQuantity != null) + hashCode = hashCode * 59 + this.ShowReturnableQuantity.GetHashCode(); + if (this.ShowLastChangedRow != null) + hashCode = hashCode * 59 + this.ShowLastChangedRow.GetHashCode(); + if (this.SelectLastChangedRow != null) + hashCode = hashCode * 59 + this.SelectLastChangedRow.GetHashCode(); + if (this.EditLastChangedRow != null) + hashCode = hashCode * 59 + this.EditLastChangedRow.GetHashCode(); + if (this.ClearSelectionsForLastChangedRow != null) + hashCode = hashCode * 59 + this.ClearSelectionsForLastChangedRow.GetHashCode(); + if (this.AdvancedSelectionMode != null) + hashCode = hashCode * 59 + this.AdvancedSelectionMode.GetHashCode(); + if (this.ShowVoidedLineItems != null) + hashCode = hashCode * 59 + this.ShowVoidedLineItems.GetHashCode(); + if (this.ShowSubtotalRounding != null) + hashCode = hashCode * 59 + this.ShowSubtotalRounding.GetHashCode(); + if (this.ShowChangeRounding != null) + hashCode = hashCode * 59 + this.ShowChangeRounding.GetHashCode(); + if (this.ShowInlinePanel != null) + hashCode = hashCode * 59 + this.ShowInlinePanel.GetHashCode(); + if (this.ShowLineItems != null) + hashCode = hashCode * 59 + this.ShowLineItems.GetHashCode(); + if (this.SelectableLineItems != null) + hashCode = hashCode * 59 + this.SelectableLineItems.GetHashCode(); + if (this.SelectableSaleReturnLineItems != null) + hashCode = hashCode * 59 + this.SelectableSaleReturnLineItems.GetHashCode(); + if (this.SaleReturnLineItemReturnTypes != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemReturnTypes.GetHashCode(); + if (this.EditableLineItems != null) + hashCode = hashCode * 59 + this.EditableLineItems.GetHashCode(); + if (this.ShowFooter != null) + hashCode = hashCode * 59 + this.ShowFooter.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppAmountAmount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppAmountAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..641ffe163c795123bb2405ff2d207b2ce01b7ac5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppAmountAmount.cs @@ -0,0 +1,142 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Amount <p>A data object which encapsulates a monetary amount value for a certain currency.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppAmountAmount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The monetary amount value.</p>. + /// <p>Holds the currency for the amount (see [master_data_gkr.currency.v1_0_0.Currency]).</p>. + public ComGkSoftwarePosApiModelDomAppAmountAmount(double? amount = default(double?), ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO currency = default(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO)) + { + this.Amount = amount; + this.Currency = currency; + } + + /// + /// <p>The monetary amount value.</p> + /// + /// <p>The monetary amount value.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>Holds the currency for the amount (see [master_data_gkr.currency.v1_0_0.Currency]).</p> + /// + /// <p>Holds the currency for the amount (see [master_data_gkr.currency.v1_0_0.Currency]).</p> + [DataMember(Name="currency", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO Currency { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppAmountAmount {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppAmountAmount); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppAmountAmount instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppAmountAmount to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppAmountAmount input) + { + if (input == null) + return false; + + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Currency != null) + hashCode = hashCode * 59 + this.Currency.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue.cs new file mode 100644 index 0000000000000000000000000000000000000000..431dd84e861391afb95d016050f32e2d0e7260c6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue.cs @@ -0,0 +1,142 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AttributeValue <p>An additional attribute for gift certificates with a name and a value.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Attribute name.</p>. + /// <p>Attribute value</p>. + public ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue(string name = default(string), string value = default(string)) + { + this.Name = name; + this.Value = value; + } + + /// + /// <p>Attribute name.</p> + /// + /// <p>Attribute name.</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Attribute value</p> + /// + /// <p>Attribute value</p> + [DataMember(Name="value", EmitDefaultValue=false)] + public string Value { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue input) + { + if (input == null) + return false; + + return + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..bc189c21f6219500f32a03810664f8246b14413e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo.cs @@ -0,0 +1,600 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertInfo <p>Contains gift certificate attributes returned by the stored value server.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Gift certificate id.</p>. + /// <p>Gift certificate number.</p>. + /// <p>Amount of the gift certificate.</p>. + /// <p>Gift certificate status: SELLABLE, REDEEMABLE, LOCKED, INVALID.</p>. + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>An unique transaction ID for the requested operation.</p>. + /// <p>Defines the handling of over payments (NOT_ACCEPTED, NO_CHANGE, GIFT_CERTIFICATE_CHANGE, CASH_CHANGE).</p>. + /// <p>Items that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p>. + /// <p>Merchandise categories that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p>. + /// <p>Defines if discounted items will be included into minimum sale check.</p>. + /// <p>Minimum amount for this gift certificate.</p>. + /// <p>Additional attributes for gift certificates sent by stored value server.</p>. + /// track2. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo(int? gcId = default(int?), string gcNumber = default(string), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string state = default(string), string validFrom = default(string), string validTo = default(string), string uuid = default(string), string overpaymentType = default(string), List blacklistedItems = default(List), List blacklistedArticleGroupNumbers = default(List), bool? includeDiscountedArticlesToMinimumSale = default(bool?), ComGkSoftwarePosApiModelDomAppAmountAmount minimumTransactionAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), List additionalInfo = default(List), string track2 = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.GcId = gcId; + this.GcNumber = gcNumber; + this.Amount = amount; + this.State = state; + this.ValidFrom = validFrom; + this.ValidTo = validTo; + this.Uuid = uuid; + this.OverpaymentType = overpaymentType; + this.BlacklistedItems = blacklistedItems; + this.BlacklistedArticleGroupNumbers = blacklistedArticleGroupNumbers; + this.IncludeDiscountedArticlesToMinimumSale = includeDiscountedArticlesToMinimumSale; + this.MinimumTransactionAmount = minimumTransactionAmount; + this.AdditionalInfo = additionalInfo; + this.Track2 = track2; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Gift certificate id.</p> + /// + /// <p>Gift certificate id.</p> + [DataMember(Name="gcId", EmitDefaultValue=false)] + public int? GcId { get; set; } + + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + [DataMember(Name="gcNumber", EmitDefaultValue=false)] + public string GcNumber { get; set; } + + /// + /// <p>Amount of the gift certificate.</p> + /// + /// <p>Amount of the gift certificate.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Gift certificate status: SELLABLE, REDEEMABLE, LOCKED, INVALID.</p> + /// + /// <p>Gift certificate status: SELLABLE, REDEEMABLE, LOCKED, INVALID.</p> + [DataMember(Name="state", EmitDefaultValue=false)] + public string State { get; set; } + + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="validFrom", EmitDefaultValue=false)] + public string ValidFrom { get; set; } + + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="validTo", EmitDefaultValue=false)] + public string ValidTo { get; set; } + + /// + /// <p>An unique transaction ID for the requested operation.</p> + /// + /// <p>An unique transaction ID for the requested operation.</p> + [DataMember(Name="uuid", EmitDefaultValue=false)] + public string Uuid { get; set; } + + /// + /// <p>Defines the handling of over payments (NOT_ACCEPTED, NO_CHANGE, GIFT_CERTIFICATE_CHANGE, CASH_CHANGE).</p> + /// + /// <p>Defines the handling of over payments (NOT_ACCEPTED, NO_CHANGE, GIFT_CERTIFICATE_CHANGE, CASH_CHANGE).</p> + [DataMember(Name="overpaymentType", EmitDefaultValue=false)] + public string OverpaymentType { get; set; } + + /// + /// <p>Items that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + /// + /// <p>Items that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + [DataMember(Name="blacklistedItems", EmitDefaultValue=false)] + public List BlacklistedItems { get; set; } + + /// + /// <p>Merchandise categories that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + /// + /// <p>Merchandise categories that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + [DataMember(Name="blacklistedArticleGroupNumbers", EmitDefaultValue=false)] + public List BlacklistedArticleGroupNumbers { get; set; } + + /// + /// <p>Defines if discounted items will be included into minimum sale check.</p> + /// + /// <p>Defines if discounted items will be included into minimum sale check.</p> + [DataMember(Name="includeDiscountedArticlesToMinimumSale", EmitDefaultValue=false)] + public bool? IncludeDiscountedArticlesToMinimumSale { get; set; } + + /// + /// <p>Minimum amount for this gift certificate.</p> + /// + /// <p>Minimum amount for this gift certificate.</p> + [DataMember(Name="minimumTransactionAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount MinimumTransactionAmount { get; set; } + + /// + /// <p>Additional attributes for gift certificates sent by stored value server.</p> + /// + /// <p>Additional attributes for gift certificates sent by stored value server.</p> + [DataMember(Name="additionalInfo", EmitDefaultValue=false)] + public List AdditionalInfo { get; set; } + + /// + /// Gets or Sets Track2 + /// + [DataMember(Name="track2", EmitDefaultValue=false)] + public string Track2 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo {\n"); + sb.Append(" GcId: ").Append(GcId).Append("\n"); + sb.Append(" GcNumber: ").Append(GcNumber).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" State: ").Append(State).Append("\n"); + sb.Append(" ValidFrom: ").Append(ValidFrom).Append("\n"); + sb.Append(" ValidTo: ").Append(ValidTo).Append("\n"); + sb.Append(" Uuid: ").Append(Uuid).Append("\n"); + sb.Append(" OverpaymentType: ").Append(OverpaymentType).Append("\n"); + sb.Append(" BlacklistedItems: ").Append(BlacklistedItems).Append("\n"); + sb.Append(" BlacklistedArticleGroupNumbers: ").Append(BlacklistedArticleGroupNumbers).Append("\n"); + sb.Append(" IncludeDiscountedArticlesToMinimumSale: ").Append(IncludeDiscountedArticlesToMinimumSale).Append("\n"); + sb.Append(" MinimumTransactionAmount: ").Append(MinimumTransactionAmount).Append("\n"); + sb.Append(" AdditionalInfo: ").Append(AdditionalInfo).Append("\n"); + sb.Append(" Track2: ").Append(Track2).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo input) + { + if (input == null) + return false; + + return + ( + this.GcId == input.GcId || + (this.GcId != null && + this.GcId.Equals(input.GcId)) + ) && + ( + this.GcNumber == input.GcNumber || + (this.GcNumber != null && + this.GcNumber.Equals(input.GcNumber)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.State == input.State || + (this.State != null && + this.State.Equals(input.State)) + ) && + ( + this.ValidFrom == input.ValidFrom || + (this.ValidFrom != null && + this.ValidFrom.Equals(input.ValidFrom)) + ) && + ( + this.ValidTo == input.ValidTo || + (this.ValidTo != null && + this.ValidTo.Equals(input.ValidTo)) + ) && + ( + this.Uuid == input.Uuid || + (this.Uuid != null && + this.Uuid.Equals(input.Uuid)) + ) && + ( + this.OverpaymentType == input.OverpaymentType || + (this.OverpaymentType != null && + this.OverpaymentType.Equals(input.OverpaymentType)) + ) && + ( + this.BlacklistedItems == input.BlacklistedItems || + this.BlacklistedItems != null && + this.BlacklistedItems.SequenceEqual(input.BlacklistedItems) + ) && + ( + this.BlacklistedArticleGroupNumbers == input.BlacklistedArticleGroupNumbers || + this.BlacklistedArticleGroupNumbers != null && + this.BlacklistedArticleGroupNumbers.SequenceEqual(input.BlacklistedArticleGroupNumbers) + ) && + ( + this.IncludeDiscountedArticlesToMinimumSale == input.IncludeDiscountedArticlesToMinimumSale || + (this.IncludeDiscountedArticlesToMinimumSale != null && + this.IncludeDiscountedArticlesToMinimumSale.Equals(input.IncludeDiscountedArticlesToMinimumSale)) + ) && + ( + this.MinimumTransactionAmount == input.MinimumTransactionAmount || + (this.MinimumTransactionAmount != null && + this.MinimumTransactionAmount.Equals(input.MinimumTransactionAmount)) + ) && + ( + this.AdditionalInfo == input.AdditionalInfo || + this.AdditionalInfo != null && + this.AdditionalInfo.SequenceEqual(input.AdditionalInfo) + ) && + ( + this.Track2 == input.Track2 || + (this.Track2 != null && + this.Track2.Equals(input.Track2)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.GcId != null) + hashCode = hashCode * 59 + this.GcId.GetHashCode(); + if (this.GcNumber != null) + hashCode = hashCode * 59 + this.GcNumber.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.State != null) + hashCode = hashCode * 59 + this.State.GetHashCode(); + if (this.ValidFrom != null) + hashCode = hashCode * 59 + this.ValidFrom.GetHashCode(); + if (this.ValidTo != null) + hashCode = hashCode * 59 + this.ValidTo.GetHashCode(); + if (this.Uuid != null) + hashCode = hashCode * 59 + this.Uuid.GetHashCode(); + if (this.OverpaymentType != null) + hashCode = hashCode * 59 + this.OverpaymentType.GetHashCode(); + if (this.BlacklistedItems != null) + hashCode = hashCode * 59 + this.BlacklistedItems.GetHashCode(); + if (this.BlacklistedArticleGroupNumbers != null) + hashCode = hashCode * 59 + this.BlacklistedArticleGroupNumbers.GetHashCode(); + if (this.IncludeDiscountedArticlesToMinimumSale != null) + hashCode = hashCode * 59 + this.IncludeDiscountedArticlesToMinimumSale.GetHashCode(); + if (this.MinimumTransactionAmount != null) + hashCode = hashCode * 59 + this.MinimumTransactionAmount.GetHashCode(); + if (this.AdditionalInfo != null) + hashCode = hashCode * 59 + this.AdditionalInfo.GetHashCode(); + if (this.Track2 != null) + hashCode = hashCode * 59 + this.Track2.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..2ba5bdeccdb0e4b3a8d4117b88909b0e2c42e0e3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertServiceResult <p>A data object which is returned as a result of gift certificate operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Gift certificate number.</p>. + /// <p>Amount of the gift certificate before the transaction.</p>. + /// <p>Amount of the gift certificate after the transaction.</p>. + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>List of additional attributes of the gift certificate.</p>. + /// <p>An unique transaction ID for the requested operation.</p>. + /// <p>Gift certificate track2 data.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult(string gcNumber = default(string), ComGkSoftwarePosApiModelDomAppAmountAmount oldAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount newAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string validFrom = default(string), string validTo = default(string), List additionalInfo = default(List), string uuid = default(string), string track2 = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.GcNumber = gcNumber; + this.OldAmount = oldAmount; + this.NewAmount = newAmount; + this.ValidFrom = validFrom; + this.ValidTo = validTo; + this.AdditionalInfo = additionalInfo; + this.Uuid = uuid; + this.Track2 = track2; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + [DataMember(Name="gcNumber", EmitDefaultValue=false)] + public string GcNumber { get; set; } + + /// + /// <p>Amount of the gift certificate before the transaction.</p> + /// + /// <p>Amount of the gift certificate before the transaction.</p> + [DataMember(Name="oldAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount OldAmount { get; set; } + + /// + /// <p>Amount of the gift certificate after the transaction.</p> + /// + /// <p>Amount of the gift certificate after the transaction.</p> + [DataMember(Name="newAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount NewAmount { get; set; } + + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="validFrom", EmitDefaultValue=false)] + public string ValidFrom { get; set; } + + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="validTo", EmitDefaultValue=false)] + public string ValidTo { get; set; } + + /// + /// <p>List of additional attributes of the gift certificate.</p> + /// + /// <p>List of additional attributes of the gift certificate.</p> + [DataMember(Name="additionalInfo", EmitDefaultValue=false)] + public List AdditionalInfo { get; set; } + + /// + /// <p>An unique transaction ID for the requested operation.</p> + /// + /// <p>An unique transaction ID for the requested operation.</p> + [DataMember(Name="uuid", EmitDefaultValue=false)] + public string Uuid { get; set; } + + /// + /// <p>Gift certificate track2 data.</p> + /// + /// <p>Gift certificate track2 data.</p> + [DataMember(Name="track2", EmitDefaultValue=false)] + public string Track2 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult {\n"); + sb.Append(" GcNumber: ").Append(GcNumber).Append("\n"); + sb.Append(" OldAmount: ").Append(OldAmount).Append("\n"); + sb.Append(" NewAmount: ").Append(NewAmount).Append("\n"); + sb.Append(" ValidFrom: ").Append(ValidFrom).Append("\n"); + sb.Append(" ValidTo: ").Append(ValidTo).Append("\n"); + sb.Append(" AdditionalInfo: ").Append(AdditionalInfo).Append("\n"); + sb.Append(" Uuid: ").Append(Uuid).Append("\n"); + sb.Append(" Track2: ").Append(Track2).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult input) + { + if (input == null) + return false; + + return + ( + this.GcNumber == input.GcNumber || + (this.GcNumber != null && + this.GcNumber.Equals(input.GcNumber)) + ) && + ( + this.OldAmount == input.OldAmount || + (this.OldAmount != null && + this.OldAmount.Equals(input.OldAmount)) + ) && + ( + this.NewAmount == input.NewAmount || + (this.NewAmount != null && + this.NewAmount.Equals(input.NewAmount)) + ) && + ( + this.ValidFrom == input.ValidFrom || + (this.ValidFrom != null && + this.ValidFrom.Equals(input.ValidFrom)) + ) && + ( + this.ValidTo == input.ValidTo || + (this.ValidTo != null && + this.ValidTo.Equals(input.ValidTo)) + ) && + ( + this.AdditionalInfo == input.AdditionalInfo || + this.AdditionalInfo != null && + this.AdditionalInfo.SequenceEqual(input.AdditionalInfo) + ) && + ( + this.Uuid == input.Uuid || + (this.Uuid != null && + this.Uuid.Equals(input.Uuid)) + ) && + ( + this.Track2 == input.Track2 || + (this.Track2 != null && + this.Track2.Equals(input.Track2)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.GcNumber != null) + hashCode = hashCode * 59 + this.GcNumber.GetHashCode(); + if (this.OldAmount != null) + hashCode = hashCode * 59 + this.OldAmount.GetHashCode(); + if (this.NewAmount != null) + hashCode = hashCode * 59 + this.NewAmount.GetHashCode(); + if (this.ValidFrom != null) + hashCode = hashCode * 59 + this.ValidFrom.GetHashCode(); + if (this.ValidTo != null) + hashCode = hashCode * 59 + this.ValidTo.GetHashCode(); + if (this.AdditionalInfo != null) + hashCode = hashCode * 59 + this.AdditionalInfo.GetHashCode(); + if (this.Uuid != null) + hashCode = hashCode * 59 + this.Uuid.GetHashCode(); + if (this.Track2 != null) + hashCode = hashCode * 59 + this.Track2.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationItemInformation.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationItemInformation.cs new file mode 100644 index 0000000000000000000000000000000000000000..52f489dd92026cdd75685e130145f4675f0c89e2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationItemInformation.cs @@ -0,0 +1,805 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemInformation <p>Object to consolidate item information (e.g. master data, stock details, etc.).</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppItemInformationItemInformation : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit group ID</p>. + /// <p>The item ID</p>. + /// <p>The unit of measure code</p>. + /// <p>The unit of measure name</p>. + /// <p>Name of the item</p>. + /// <p>The main pos item id</p>. + /// <p>Name of assigned merchandise hierarchy group.</p>. + /// <p>Amount of the actual price.</p>. + /// <p>Amount of the regular price.</p>. + /// <p>Expiration (end) time stamp of the actual price.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Amount of the deposit</p>. + /// <p>Specifies the color of the item.<br /> Item characteristics entry with id COLOR is used to fill this value.</p>. + /// <p>Specifies the size, e.g. in case of fashion the dress size.<br /> Item characteristics entry with id SIZE is used to fill this value.</p>. + /// <p>Code of related tax group.</p>. + /// <p>Item image url.</p>. + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.</p>. + /// <p>Stock details related to local store.</p>. + /// <p>List of stock details from surrounding stores.</p>. + /// <p>The ItemInformationView instance.</p>. + /// <p>It contains extended item information. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p>. + /// <p>List of aviable price entries.</p>. + /// <p>It contains details about item info icons. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p>. + /// <p>It contains details about available promotions - e.g. Pay 2 get 3, 10% off...</p>. + /// <p>It contains item informations requested from web shop system.</p>. + /// <p>It contains info about variants available for this item</p>. + /// <p>Type code of the actual price (00 = default price, 01 = special price)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppItemInformationItemInformation(string businessUnitGroupID = default(string), string itemID = default(string), string uomCode = default(string), string uomName = default(string), string name = default(string), string mainPOSItemId = default(string), string merchandiseHierarchyGroupName = default(string), double? validPriceAmount = default(double?), double? regularPriceAmount = default(double?), string validPriceExpiryDate = default(string), double? deposit = default(double?), string color = default(string), string size = default(string), string taxGroupID = default(string), string imageSrcIds = default(string), bool? authorisedForSale = default(bool?), ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail internalStock = default(ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail), List externalStocks = default(List), ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView itemView = default(ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView), List uomItemTextList = default(List), List prices = default(List), List itemInfoIcons = default(List), List discountInfoIcons = default(List), ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData webshopItemInfoData = default(ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData), bool? variantsAvailable = default(bool?), string ePriceTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupID = businessUnitGroupID; + this.ItemID = itemID; + this.UomCode = uomCode; + this.UomName = uomName; + this.Name = name; + this.MainPOSItemId = mainPOSItemId; + this.MerchandiseHierarchyGroupName = merchandiseHierarchyGroupName; + this.ValidPriceAmount = validPriceAmount; + this.RegularPriceAmount = regularPriceAmount; + this.ValidPriceExpiryDate = validPriceExpiryDate; + this.Deposit = deposit; + this.Color = color; + this.Size = size; + this.TaxGroupID = taxGroupID; + this.ImageSrcIds = imageSrcIds; + this.AuthorisedForSale = authorisedForSale; + this.InternalStock = internalStock; + this.ExternalStocks = externalStocks; + this.ItemView = itemView; + this.UomItemTextList = uomItemTextList; + this.Prices = prices; + this.ItemInfoIcons = itemInfoIcons; + this.DiscountInfoIcons = discountInfoIcons; + this.WebshopItemInfoData = webshopItemInfoData; + this.VariantsAvailable = variantsAvailable; + this.EPriceTypeCode = ePriceTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit group ID</p> + /// + /// <p>The business unit group ID</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The item ID</p> + /// + /// <p>The item ID</p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The unit of measure code</p> + /// + /// <p>The unit of measure code</p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// <p>The unit of measure name</p> + /// + /// <p>The unit of measure name</p> + [DataMember(Name="uomName", EmitDefaultValue=false)] + public string UomName { get; set; } + + /// + /// <p>Name of the item</p> + /// + /// <p>Name of the item</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The main pos item id</p> + /// + /// <p>The main pos item id</p> + [DataMember(Name="mainPOSItemId", EmitDefaultValue=false)] + public string MainPOSItemId { get; set; } + + /// + /// <p>Name of assigned merchandise hierarchy group.</p> + /// + /// <p>Name of assigned merchandise hierarchy group.</p> + [DataMember(Name="merchandiseHierarchyGroupName", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupName { get; set; } + + /// + /// <p>Amount of the actual price.</p> + /// + /// <p>Amount of the actual price.</p> + [DataMember(Name="validPriceAmount", EmitDefaultValue=false)] + public double? ValidPriceAmount { get; set; } + + /// + /// <p>Amount of the regular price.</p> + /// + /// <p>Amount of the regular price.</p> + [DataMember(Name="regularPriceAmount", EmitDefaultValue=false)] + public double? RegularPriceAmount { get; set; } + + /// + /// <p>Expiration (end) time stamp of the actual price.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration (end) time stamp of the actual price.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="validPriceExpiryDate", EmitDefaultValue=false)] + public string ValidPriceExpiryDate { get; set; } + + /// + /// <p>Amount of the deposit</p> + /// + /// <p>Amount of the deposit</p> + [DataMember(Name="deposit", EmitDefaultValue=false)] + public double? Deposit { get; set; } + + /// + /// <p>Specifies the color of the item.<br /> Item characteristics entry with id COLOR is used to fill this value.</p> + /// + /// <p>Specifies the color of the item.<br /> Item characteristics entry with id COLOR is used to fill this value.</p> + [DataMember(Name="color", EmitDefaultValue=false)] + public string Color { get; set; } + + /// + /// <p>Specifies the size, e.g. in case of fashion the dress size.<br /> Item characteristics entry with id SIZE is used to fill this value.</p> + /// + /// <p>Specifies the size, e.g. in case of fashion the dress size.<br /> Item characteristics entry with id SIZE is used to fill this value.</p> + [DataMember(Name="size", EmitDefaultValue=false)] + public string Size { get; set; } + + /// + /// <p>Code of related tax group.</p> + /// + /// <p>Code of related tax group.</p> + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// <p>Item image url.</p> + /// + /// <p>Item image url.</p> + [DataMember(Name="imageSrcIds", EmitDefaultValue=false)] + public string ImageSrcIds { get; set; } + + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.</p> + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.</p> + [DataMember(Name="authorisedForSale", EmitDefaultValue=false)] + public bool? AuthorisedForSale { get; set; } + + /// + /// <p>Stock details related to local store.</p> + /// + /// <p>Stock details related to local store.</p> + [DataMember(Name="internalStock", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail InternalStock { get; set; } + + /// + /// <p>List of stock details from surrounding stores.</p> + /// + /// <p>List of stock details from surrounding stores.</p> + [DataMember(Name="externalStocks", EmitDefaultValue=false)] + public List ExternalStocks { get; set; } + + /// + /// <p>The ItemInformationView instance.</p> + /// + /// <p>The ItemInformationView instance.</p> + [DataMember(Name="itemView", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView ItemView { get; set; } + + /// + /// <p>It contains extended item information. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + /// + /// <p>It contains extended item information. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + [DataMember(Name="uomItemTextList", EmitDefaultValue=false)] + public List UomItemTextList { get; set; } + + /// + /// <p>List of aviable price entries.</p> + /// + /// <p>List of aviable price entries.</p> + [DataMember(Name="prices", EmitDefaultValue=false)] + public List Prices { get; set; } + + /// + /// <p>It contains details about item info icons. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + /// + /// <p>It contains details about item info icons. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + [DataMember(Name="itemInfoIcons", EmitDefaultValue=false)] + public List ItemInfoIcons { get; set; } + + /// + /// <p>It contains details about available promotions - e.g. Pay 2 get 3, 10% off...</p> + /// + /// <p>It contains details about available promotions - e.g. Pay 2 get 3, 10% off...</p> + [DataMember(Name="discountInfoIcons", EmitDefaultValue=false)] + public List DiscountInfoIcons { get; set; } + + /// + /// <p>It contains item informations requested from web shop system.</p> + /// + /// <p>It contains item informations requested from web shop system.</p> + [DataMember(Name="webshopItemInfoData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData WebshopItemInfoData { get; set; } + + /// + /// <p>It contains info about variants available for this item</p> + /// + /// <p>It contains info about variants available for this item</p> + [DataMember(Name="variantsAvailable", EmitDefaultValue=false)] + public bool? VariantsAvailable { get; set; } + + /// + /// <p>Type code of the actual price (00 = default price, 01 = special price)</p> + /// + /// <p>Type code of the actual price (00 = default price, 01 = special price)</p> + [DataMember(Name="ePriceTypeCode", EmitDefaultValue=false)] + public string EPriceTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppItemInformationItemInformation {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append(" UomName: ").Append(UomName).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" MainPOSItemId: ").Append(MainPOSItemId).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupName: ").Append(MerchandiseHierarchyGroupName).Append("\n"); + sb.Append(" ValidPriceAmount: ").Append(ValidPriceAmount).Append("\n"); + sb.Append(" RegularPriceAmount: ").Append(RegularPriceAmount).Append("\n"); + sb.Append(" ValidPriceExpiryDate: ").Append(ValidPriceExpiryDate).Append("\n"); + sb.Append(" Deposit: ").Append(Deposit).Append("\n"); + sb.Append(" Color: ").Append(Color).Append("\n"); + sb.Append(" Size: ").Append(Size).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" ImageSrcIds: ").Append(ImageSrcIds).Append("\n"); + sb.Append(" AuthorisedForSale: ").Append(AuthorisedForSale).Append("\n"); + sb.Append(" InternalStock: ").Append(InternalStock).Append("\n"); + sb.Append(" ExternalStocks: ").Append(ExternalStocks).Append("\n"); + sb.Append(" ItemView: ").Append(ItemView).Append("\n"); + sb.Append(" UomItemTextList: ").Append(UomItemTextList).Append("\n"); + sb.Append(" Prices: ").Append(Prices).Append("\n"); + sb.Append(" ItemInfoIcons: ").Append(ItemInfoIcons).Append("\n"); + sb.Append(" DiscountInfoIcons: ").Append(DiscountInfoIcons).Append("\n"); + sb.Append(" WebshopItemInfoData: ").Append(WebshopItemInfoData).Append("\n"); + sb.Append(" VariantsAvailable: ").Append(VariantsAvailable).Append("\n"); + sb.Append(" EPriceTypeCode: ").Append(EPriceTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppItemInformationItemInformation); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppItemInformationItemInformation instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppItemInformationItemInformation to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppItemInformationItemInformation input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ) && + ( + this.UomName == input.UomName || + (this.UomName != null && + this.UomName.Equals(input.UomName)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.MainPOSItemId == input.MainPOSItemId || + (this.MainPOSItemId != null && + this.MainPOSItemId.Equals(input.MainPOSItemId)) + ) && + ( + this.MerchandiseHierarchyGroupName == input.MerchandiseHierarchyGroupName || + (this.MerchandiseHierarchyGroupName != null && + this.MerchandiseHierarchyGroupName.Equals(input.MerchandiseHierarchyGroupName)) + ) && + ( + this.ValidPriceAmount == input.ValidPriceAmount || + (this.ValidPriceAmount != null && + this.ValidPriceAmount.Equals(input.ValidPriceAmount)) + ) && + ( + this.RegularPriceAmount == input.RegularPriceAmount || + (this.RegularPriceAmount != null && + this.RegularPriceAmount.Equals(input.RegularPriceAmount)) + ) && + ( + this.ValidPriceExpiryDate == input.ValidPriceExpiryDate || + (this.ValidPriceExpiryDate != null && + this.ValidPriceExpiryDate.Equals(input.ValidPriceExpiryDate)) + ) && + ( + this.Deposit == input.Deposit || + (this.Deposit != null && + this.Deposit.Equals(input.Deposit)) + ) && + ( + this.Color == input.Color || + (this.Color != null && + this.Color.Equals(input.Color)) + ) && + ( + this.Size == input.Size || + (this.Size != null && + this.Size.Equals(input.Size)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.ImageSrcIds == input.ImageSrcIds || + (this.ImageSrcIds != null && + this.ImageSrcIds.Equals(input.ImageSrcIds)) + ) && + ( + this.AuthorisedForSale == input.AuthorisedForSale || + (this.AuthorisedForSale != null && + this.AuthorisedForSale.Equals(input.AuthorisedForSale)) + ) && + ( + this.InternalStock == input.InternalStock || + (this.InternalStock != null && + this.InternalStock.Equals(input.InternalStock)) + ) && + ( + this.ExternalStocks == input.ExternalStocks || + this.ExternalStocks != null && + this.ExternalStocks.SequenceEqual(input.ExternalStocks) + ) && + ( + this.ItemView == input.ItemView || + (this.ItemView != null && + this.ItemView.Equals(input.ItemView)) + ) && + ( + this.UomItemTextList == input.UomItemTextList || + this.UomItemTextList != null && + this.UomItemTextList.SequenceEqual(input.UomItemTextList) + ) && + ( + this.Prices == input.Prices || + this.Prices != null && + this.Prices.SequenceEqual(input.Prices) + ) && + ( + this.ItemInfoIcons == input.ItemInfoIcons || + this.ItemInfoIcons != null && + this.ItemInfoIcons.SequenceEqual(input.ItemInfoIcons) + ) && + ( + this.DiscountInfoIcons == input.DiscountInfoIcons || + this.DiscountInfoIcons != null && + this.DiscountInfoIcons.SequenceEqual(input.DiscountInfoIcons) + ) && + ( + this.WebshopItemInfoData == input.WebshopItemInfoData || + (this.WebshopItemInfoData != null && + this.WebshopItemInfoData.Equals(input.WebshopItemInfoData)) + ) && + ( + this.VariantsAvailable == input.VariantsAvailable || + (this.VariantsAvailable != null && + this.VariantsAvailable.Equals(input.VariantsAvailable)) + ) && + ( + this.EPriceTypeCode == input.EPriceTypeCode || + (this.EPriceTypeCode != null && + this.EPriceTypeCode.Equals(input.EPriceTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + if (this.UomName != null) + hashCode = hashCode * 59 + this.UomName.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.MainPOSItemId != null) + hashCode = hashCode * 59 + this.MainPOSItemId.GetHashCode(); + if (this.MerchandiseHierarchyGroupName != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupName.GetHashCode(); + if (this.ValidPriceAmount != null) + hashCode = hashCode * 59 + this.ValidPriceAmount.GetHashCode(); + if (this.RegularPriceAmount != null) + hashCode = hashCode * 59 + this.RegularPriceAmount.GetHashCode(); + if (this.ValidPriceExpiryDate != null) + hashCode = hashCode * 59 + this.ValidPriceExpiryDate.GetHashCode(); + if (this.Deposit != null) + hashCode = hashCode * 59 + this.Deposit.GetHashCode(); + if (this.Color != null) + hashCode = hashCode * 59 + this.Color.GetHashCode(); + if (this.Size != null) + hashCode = hashCode * 59 + this.Size.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.ImageSrcIds != null) + hashCode = hashCode * 59 + this.ImageSrcIds.GetHashCode(); + if (this.AuthorisedForSale != null) + hashCode = hashCode * 59 + this.AuthorisedForSale.GetHashCode(); + if (this.InternalStock != null) + hashCode = hashCode * 59 + this.InternalStock.GetHashCode(); + if (this.ExternalStocks != null) + hashCode = hashCode * 59 + this.ExternalStocks.GetHashCode(); + if (this.ItemView != null) + hashCode = hashCode * 59 + this.ItemView.GetHashCode(); + if (this.UomItemTextList != null) + hashCode = hashCode * 59 + this.UomItemTextList.GetHashCode(); + if (this.Prices != null) + hashCode = hashCode * 59 + this.Prices.GetHashCode(); + if (this.ItemInfoIcons != null) + hashCode = hashCode * 59 + this.ItemInfoIcons.GetHashCode(); + if (this.DiscountInfoIcons != null) + hashCode = hashCode * 59 + this.DiscountInfoIcons.GetHashCode(); + if (this.WebshopItemInfoData != null) + hashCode = hashCode * 59 + this.WebshopItemInfoData.GetHashCode(); + if (this.VariantsAvailable != null) + hashCode = hashCode * 59 + this.VariantsAvailable.GetHashCode(); + if (this.EPriceTypeCode != null) + hashCode = hashCode * 59 + this.EPriceTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView.cs new file mode 100644 index 0000000000000000000000000000000000000000..2568d4038130ad0a5fdcf40da52b41df10588334 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemInformationView TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Amount of the actual price.</p>. + /// <p>Amount of the regular price.</p>. + /// <p>Amount of the deposit</p>. + /// <p>Number of available items</p>. + /// <p>Number of reserved items.</p>. + /// <p>Number of items with stock state TRANSFER</p>. + /// <p>Number of items with stock state IN-TRANSIT.</p>. + /// <p>Expiration (end) time stamp of the actual price.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView(string validPriceAmount = default(string), string regularPriceAmount = default(string), string deposit = default(string), string freeStock = default(string), string reservedStock = default(string), string transferStock = default(string), string inTransitStock = default(string), string validPriceExpiryDate = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ValidPriceAmount = validPriceAmount; + this.RegularPriceAmount = regularPriceAmount; + this.Deposit = deposit; + this.FreeStock = freeStock; + this.ReservedStock = reservedStock; + this.TransferStock = transferStock; + this.InTransitStock = inTransitStock; + this.ValidPriceExpiryDate = validPriceExpiryDate; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Amount of the actual price.</p> + /// + /// <p>Amount of the actual price.</p> + [DataMember(Name="validPriceAmount", EmitDefaultValue=false)] + public string ValidPriceAmount { get; set; } + + /// + /// <p>Amount of the regular price.</p> + /// + /// <p>Amount of the regular price.</p> + [DataMember(Name="regularPriceAmount", EmitDefaultValue=false)] + public string RegularPriceAmount { get; set; } + + /// + /// <p>Amount of the deposit</p> + /// + /// <p>Amount of the deposit</p> + [DataMember(Name="deposit", EmitDefaultValue=false)] + public string Deposit { get; set; } + + /// + /// <p>Number of available items</p> + /// + /// <p>Number of available items</p> + [DataMember(Name="freeStock", EmitDefaultValue=false)] + public string FreeStock { get; set; } + + /// + /// <p>Number of reserved items.</p> + /// + /// <p>Number of reserved items.</p> + [DataMember(Name="reservedStock", EmitDefaultValue=false)] + public string ReservedStock { get; set; } + + /// + /// <p>Number of items with stock state TRANSFER</p> + /// + /// <p>Number of items with stock state TRANSFER</p> + [DataMember(Name="transferStock", EmitDefaultValue=false)] + public string TransferStock { get; set; } + + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + [DataMember(Name="inTransitStock", EmitDefaultValue=false)] + public string InTransitStock { get; set; } + + /// + /// <p>Expiration (end) time stamp of the actual price.</p> + /// + /// <p>Expiration (end) time stamp of the actual price.</p> + [DataMember(Name="validPriceExpiryDate", EmitDefaultValue=false)] + public string ValidPriceExpiryDate { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView {\n"); + sb.Append(" ValidPriceAmount: ").Append(ValidPriceAmount).Append("\n"); + sb.Append(" RegularPriceAmount: ").Append(RegularPriceAmount).Append("\n"); + sb.Append(" Deposit: ").Append(Deposit).Append("\n"); + sb.Append(" FreeStock: ").Append(FreeStock).Append("\n"); + sb.Append(" ReservedStock: ").Append(ReservedStock).Append("\n"); + sb.Append(" TransferStock: ").Append(TransferStock).Append("\n"); + sb.Append(" InTransitStock: ").Append(InTransitStock).Append("\n"); + sb.Append(" ValidPriceExpiryDate: ").Append(ValidPriceExpiryDate).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView input) + { + if (input == null) + return false; + + return + ( + this.ValidPriceAmount == input.ValidPriceAmount || + (this.ValidPriceAmount != null && + this.ValidPriceAmount.Equals(input.ValidPriceAmount)) + ) && + ( + this.RegularPriceAmount == input.RegularPriceAmount || + (this.RegularPriceAmount != null && + this.RegularPriceAmount.Equals(input.RegularPriceAmount)) + ) && + ( + this.Deposit == input.Deposit || + (this.Deposit != null && + this.Deposit.Equals(input.Deposit)) + ) && + ( + this.FreeStock == input.FreeStock || + (this.FreeStock != null && + this.FreeStock.Equals(input.FreeStock)) + ) && + ( + this.ReservedStock == input.ReservedStock || + (this.ReservedStock != null && + this.ReservedStock.Equals(input.ReservedStock)) + ) && + ( + this.TransferStock == input.TransferStock || + (this.TransferStock != null && + this.TransferStock.Equals(input.TransferStock)) + ) && + ( + this.InTransitStock == input.InTransitStock || + (this.InTransitStock != null && + this.InTransitStock.Equals(input.InTransitStock)) + ) && + ( + this.ValidPriceExpiryDate == input.ValidPriceExpiryDate || + (this.ValidPriceExpiryDate != null && + this.ValidPriceExpiryDate.Equals(input.ValidPriceExpiryDate)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ValidPriceAmount != null) + hashCode = hashCode * 59 + this.ValidPriceAmount.GetHashCode(); + if (this.RegularPriceAmount != null) + hashCode = hashCode * 59 + this.RegularPriceAmount.GetHashCode(); + if (this.Deposit != null) + hashCode = hashCode * 59 + this.Deposit.GetHashCode(); + if (this.FreeStock != null) + hashCode = hashCode * 59 + this.FreeStock.GetHashCode(); + if (this.ReservedStock != null) + hashCode = hashCode * 59 + this.ReservedStock.GetHashCode(); + if (this.TransferStock != null) + hashCode = hashCode * 59 + this.TransferStock.GetHashCode(); + if (this.InTransitStock != null) + hashCode = hashCode * 59 + this.InTransitStock.GetHashCode(); + if (this.ValidPriceExpiryDate != null) + hashCode = hashCode * 59 + this.ValidPriceExpiryDate.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationPrice.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..304a1a3f05baad33008a06313bce0191b0a272e2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationPrice.cs @@ -0,0 +1,550 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Price <p>List of prices / price modifications.<br /> It contains entries for regular and actual price plus entries for each price modifier.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppItemInformationPrice : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The price entry sequence number. It defines the order (ascending)</p>. + /// <p>The description of the price.</p>. + /// <p>The price for the unit.</p>. + /// <p>In case of price modification this contains the discount amount.</p>. + /// <p>It contains the price after price modification or in case of regular/actual price the amount.</p>. + /// <p>The price quantity (the number of items the price is defined for, i.e. 3 for $1.00).</p>. + /// <p>The item quantity which was used to calculate some value for this price entity.</p>. + /// <p>The unit price with currency attached.<br /> Price.PriceQuantity '/' Price.UnitPrice, if Price.PriceQuantity &lt;&gt; 1<br /> Price.UnitPrice otherwise</p>. + /// <p>The discount amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p>. + /// <p>The new price amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p>. + /// <p>The price group id if exists.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppItemInformationPrice(int? sequenceNumber = default(int?), string description = default(string), double? unitPrice = default(double?), double? discountAmount = default(double?), double? newPrice = default(double?), int? priceQuantity = default(int?), int? quantity = default(int?), string unitPriceWithCurrency = default(string), string discountWithCurrency = default(string), string newPriceWithCurrency = default(string), string priceGroupId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.SequenceNumber = sequenceNumber; + this.Description = description; + this.UnitPrice = unitPrice; + this.DiscountAmount = discountAmount; + this.NewPrice = newPrice; + this.PriceQuantity = priceQuantity; + this.Quantity = quantity; + this.UnitPriceWithCurrency = unitPriceWithCurrency; + this.DiscountWithCurrency = discountWithCurrency; + this.NewPriceWithCurrency = newPriceWithCurrency; + this.PriceGroupId = priceGroupId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The price entry sequence number. It defines the order (ascending)</p> + /// + /// <p>The price entry sequence number. It defines the order (ascending)</p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// <p>The description of the price.</p> + /// + /// <p>The description of the price.</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The price for the unit.</p> + /// + /// <p>The price for the unit.</p> + [DataMember(Name="unitPrice", EmitDefaultValue=false)] + public double? UnitPrice { get; set; } + + /// + /// <p>In case of price modification this contains the discount amount.</p> + /// + /// <p>In case of price modification this contains the discount amount.</p> + [DataMember(Name="discountAmount", EmitDefaultValue=false)] + public double? DiscountAmount { get; set; } + + /// + /// <p>It contains the price after price modification or in case of regular/actual price the amount.</p> + /// + /// <p>It contains the price after price modification or in case of regular/actual price the amount.</p> + [DataMember(Name="newPrice", EmitDefaultValue=false)] + public double? NewPrice { get; set; } + + /// + /// <p>The price quantity (the number of items the price is defined for, i.e. 3 for $1.00).</p> + /// + /// <p>The price quantity (the number of items the price is defined for, i.e. 3 for $1.00).</p> + [DataMember(Name="priceQuantity", EmitDefaultValue=false)] + public int? PriceQuantity { get; set; } + + /// + /// <p>The item quantity which was used to calculate some value for this price entity.</p> + /// + /// <p>The item quantity which was used to calculate some value for this price entity.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The unit price with currency attached.<br /> Price.PriceQuantity '/' Price.UnitPrice, if Price.PriceQuantity &lt;&gt; 1<br /> Price.UnitPrice otherwise</p> + /// + /// <p>The unit price with currency attached.<br /> Price.PriceQuantity '/' Price.UnitPrice, if Price.PriceQuantity &lt;&gt; 1<br /> Price.UnitPrice otherwise</p> + [DataMember(Name="unitPriceWithCurrency", EmitDefaultValue=false)] + public string UnitPriceWithCurrency { get; set; } + + /// + /// <p>The discount amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + /// + /// <p>The discount amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + [DataMember(Name="discountWithCurrency", EmitDefaultValue=false)] + public string DiscountWithCurrency { get; set; } + + /// + /// <p>The new price amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + /// + /// <p>The new price amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + [DataMember(Name="newPriceWithCurrency", EmitDefaultValue=false)] + public string NewPriceWithCurrency { get; set; } + + /// + /// <p>The price group id if exists.</p> + /// + /// <p>The price group id if exists.</p> + [DataMember(Name="priceGroupId", EmitDefaultValue=false)] + public string PriceGroupId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppItemInformationPrice {\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" UnitPrice: ").Append(UnitPrice).Append("\n"); + sb.Append(" DiscountAmount: ").Append(DiscountAmount).Append("\n"); + sb.Append(" NewPrice: ").Append(NewPrice).Append("\n"); + sb.Append(" PriceQuantity: ").Append(PriceQuantity).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" UnitPriceWithCurrency: ").Append(UnitPriceWithCurrency).Append("\n"); + sb.Append(" DiscountWithCurrency: ").Append(DiscountWithCurrency).Append("\n"); + sb.Append(" NewPriceWithCurrency: ").Append(NewPriceWithCurrency).Append("\n"); + sb.Append(" PriceGroupId: ").Append(PriceGroupId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppItemInformationPrice); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppItemInformationPrice instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppItemInformationPrice to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppItemInformationPrice input) + { + if (input == null) + return false; + + return + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.UnitPrice == input.UnitPrice || + (this.UnitPrice != null && + this.UnitPrice.Equals(input.UnitPrice)) + ) && + ( + this.DiscountAmount == input.DiscountAmount || + (this.DiscountAmount != null && + this.DiscountAmount.Equals(input.DiscountAmount)) + ) && + ( + this.NewPrice == input.NewPrice || + (this.NewPrice != null && + this.NewPrice.Equals(input.NewPrice)) + ) && + ( + this.PriceQuantity == input.PriceQuantity || + (this.PriceQuantity != null && + this.PriceQuantity.Equals(input.PriceQuantity)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.UnitPriceWithCurrency == input.UnitPriceWithCurrency || + (this.UnitPriceWithCurrency != null && + this.UnitPriceWithCurrency.Equals(input.UnitPriceWithCurrency)) + ) && + ( + this.DiscountWithCurrency == input.DiscountWithCurrency || + (this.DiscountWithCurrency != null && + this.DiscountWithCurrency.Equals(input.DiscountWithCurrency)) + ) && + ( + this.NewPriceWithCurrency == input.NewPriceWithCurrency || + (this.NewPriceWithCurrency != null && + this.NewPriceWithCurrency.Equals(input.NewPriceWithCurrency)) + ) && + ( + this.PriceGroupId == input.PriceGroupId || + (this.PriceGroupId != null && + this.PriceGroupId.Equals(input.PriceGroupId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.UnitPrice != null) + hashCode = hashCode * 59 + this.UnitPrice.GetHashCode(); + if (this.DiscountAmount != null) + hashCode = hashCode * 59 + this.DiscountAmount.GetHashCode(); + if (this.NewPrice != null) + hashCode = hashCode * 59 + this.NewPrice.GetHashCode(); + if (this.PriceQuantity != null) + hashCode = hashCode * 59 + this.PriceQuantity.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.UnitPriceWithCurrency != null) + hashCode = hashCode * 59 + this.UnitPriceWithCurrency.GetHashCode(); + if (this.DiscountWithCurrency != null) + hashCode = hashCode * 59 + this.DiscountWithCurrency.GetHashCode(); + if (this.NewPriceWithCurrency != null) + hashCode = hashCode * 59 + this.NewPriceWithCurrency.GetHashCode(); + if (this.PriceGroupId != null) + hashCode = hashCode * 59 + this.PriceGroupId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..182c64cd3e2a36d44a6ffcf2459da39f33480941 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail.cs @@ -0,0 +1,618 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StockAmountDetail <p>Entity which contains stock details for one location.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The item id</p>. + /// <p>The unit of mesaure code.</p>. + /// <p>The main pos item ID.</p>. + /// <p>The business unit id.</p>. + /// <p>Store description</p>. + /// <p>Store address</p>. + /// <p>Store phone number</p>. + /// <p>Distance between that and the local store.</p>. + /// <p>Name of the item</p>. + /// <p>Number of item with stock state DEFAULT.</p>. + /// <p>Number of items with stock state IN-TRANSIT.</p>. + /// <p>Number of reserved items.</p>. + /// <p>Number of items with stock state TRANSFER</p>. + /// <p>Number of items with stock state FREE</p>. + /// <p>Sum of items in TRANSFER and IN-TRANSIT state.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail(string itemID = default(string), string uomCode = default(string), string mainPOSItemId = default(string), string storeId = default(string), string storeDescription = default(string), string address = default(string), string phoneNumber = default(string), double? distance = default(double?), string name = default(string), double? stock = default(double?), double? inTransitStock = default(double?), double? reservedStock = default(double?), double? transferStock = default(double?), double? freeStock = default(double?), double? inFlow = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ItemID = itemID; + this.UomCode = uomCode; + this.MainPOSItemId = mainPOSItemId; + this.StoreId = storeId; + this.StoreDescription = storeDescription; + this.Address = address; + this.PhoneNumber = phoneNumber; + this.Distance = distance; + this.Name = name; + this.Stock = stock; + this.InTransitStock = inTransitStock; + this.ReservedStock = reservedStock; + this.TransferStock = transferStock; + this.FreeStock = freeStock; + this.InFlow = inFlow; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The item id</p> + /// + /// <p>The item id</p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The unit of mesaure code.</p> + /// + /// <p>The unit of mesaure code.</p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// <p>The main pos item ID.</p> + /// + /// <p>The main pos item ID.</p> + [DataMember(Name="mainPOSItemId", EmitDefaultValue=false)] + public string MainPOSItemId { get; set; } + + /// + /// <p>The business unit id.</p> + /// + /// <p>The business unit id.</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>Store description</p> + /// + /// <p>Store description</p> + [DataMember(Name="storeDescription", EmitDefaultValue=false)] + public string StoreDescription { get; set; } + + /// + /// <p>Store address</p> + /// + /// <p>Store address</p> + [DataMember(Name="address", EmitDefaultValue=false)] + public string Address { get; set; } + + /// + /// <p>Store phone number</p> + /// + /// <p>Store phone number</p> + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public string PhoneNumber { get; set; } + + /// + /// <p>Distance between that and the local store.</p> + /// + /// <p>Distance between that and the local store.</p> + [DataMember(Name="distance", EmitDefaultValue=false)] + public double? Distance { get; set; } + + /// + /// <p>Name of the item</p> + /// + /// <p>Name of the item</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Number of item with stock state DEFAULT.</p> + /// + /// <p>Number of item with stock state DEFAULT.</p> + [DataMember(Name="stock", EmitDefaultValue=false)] + public double? Stock { get; set; } + + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + [DataMember(Name="inTransitStock", EmitDefaultValue=false)] + public double? InTransitStock { get; set; } + + /// + /// <p>Number of reserved items.</p> + /// + /// <p>Number of reserved items.</p> + [DataMember(Name="reservedStock", EmitDefaultValue=false)] + public double? ReservedStock { get; set; } + + /// + /// <p>Number of items with stock state TRANSFER</p> + /// + /// <p>Number of items with stock state TRANSFER</p> + [DataMember(Name="transferStock", EmitDefaultValue=false)] + public double? TransferStock { get; set; } + + /// + /// <p>Number of items with stock state FREE</p> + /// + /// <p>Number of items with stock state FREE</p> + [DataMember(Name="freeStock", EmitDefaultValue=false)] + public double? FreeStock { get; set; } + + /// + /// <p>Sum of items in TRANSFER and IN-TRANSIT state.</p> + /// + /// <p>Sum of items in TRANSFER and IN-TRANSIT state.</p> + [DataMember(Name="inFlow", EmitDefaultValue=false)] + public double? InFlow { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append(" MainPOSItemId: ").Append(MainPOSItemId).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" StoreDescription: ").Append(StoreDescription).Append("\n"); + sb.Append(" Address: ").Append(Address).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" Distance: ").Append(Distance).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Stock: ").Append(Stock).Append("\n"); + sb.Append(" InTransitStock: ").Append(InTransitStock).Append("\n"); + sb.Append(" ReservedStock: ").Append(ReservedStock).Append("\n"); + sb.Append(" TransferStock: ").Append(TransferStock).Append("\n"); + sb.Append(" FreeStock: ").Append(FreeStock).Append("\n"); + sb.Append(" InFlow: ").Append(InFlow).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ) && + ( + this.MainPOSItemId == input.MainPOSItemId || + (this.MainPOSItemId != null && + this.MainPOSItemId.Equals(input.MainPOSItemId)) + ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.StoreDescription == input.StoreDescription || + (this.StoreDescription != null && + this.StoreDescription.Equals(input.StoreDescription)) + ) && + ( + this.Address == input.Address || + (this.Address != null && + this.Address.Equals(input.Address)) + ) && + ( + this.PhoneNumber == input.PhoneNumber || + (this.PhoneNumber != null && + this.PhoneNumber.Equals(input.PhoneNumber)) + ) && + ( + this.Distance == input.Distance || + (this.Distance != null && + this.Distance.Equals(input.Distance)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Stock == input.Stock || + (this.Stock != null && + this.Stock.Equals(input.Stock)) + ) && + ( + this.InTransitStock == input.InTransitStock || + (this.InTransitStock != null && + this.InTransitStock.Equals(input.InTransitStock)) + ) && + ( + this.ReservedStock == input.ReservedStock || + (this.ReservedStock != null && + this.ReservedStock.Equals(input.ReservedStock)) + ) && + ( + this.TransferStock == input.TransferStock || + (this.TransferStock != null && + this.TransferStock.Equals(input.TransferStock)) + ) && + ( + this.FreeStock == input.FreeStock || + (this.FreeStock != null && + this.FreeStock.Equals(input.FreeStock)) + ) && + ( + this.InFlow == input.InFlow || + (this.InFlow != null && + this.InFlow.Equals(input.InFlow)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + if (this.MainPOSItemId != null) + hashCode = hashCode * 59 + this.MainPOSItemId.GetHashCode(); + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.StoreDescription != null) + hashCode = hashCode * 59 + this.StoreDescription.GetHashCode(); + if (this.Address != null) + hashCode = hashCode * 59 + this.Address.GetHashCode(); + if (this.PhoneNumber != null) + hashCode = hashCode * 59 + this.PhoneNumber.GetHashCode(); + if (this.Distance != null) + hashCode = hashCode * 59 + this.Distance.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Stock != null) + hashCode = hashCode * 59 + this.Stock.GetHashCode(); + if (this.InTransitStock != null) + hashCode = hashCode * 59 + this.InTransitStock.GetHashCode(); + if (this.ReservedStock != null) + hashCode = hashCode * 59 + this.ReservedStock.GetHashCode(); + if (this.TransferStock != null) + hashCode = hashCode * 59 + this.TransferStock.GetHashCode(); + if (this.FreeStock != null) + hashCode = hashCode * 59 + this.FreeStock.GetHashCode(); + if (this.InFlow != null) + hashCode = hashCode * 59 + this.InFlow.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationUomItemText.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationUomItemText.cs new file mode 100644 index 0000000000000000000000000000000000000000..5e9bbc8998bd049e10fe609a1be4697b02f38591 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationUomItemText.cs @@ -0,0 +1,142 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UomItemText <p>Object representing an instance of an UOM item text element.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppItemInformationUomItemText : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The index of the entry.</p>. + /// <p>The value.</p>. + public ComGkSoftwarePosApiModelDomAppItemInformationUomItemText(int? index = default(int?), string text = default(string)) + { + this.Index = index; + this.Text = text; + } + + /// + /// <p>The index of the entry.</p> + /// + /// <p>The index of the entry.</p> + [DataMember(Name="index", EmitDefaultValue=false)] + public int? Index { get; set; } + + /// + /// <p>The value.</p> + /// + /// <p>The value.</p> + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppItemInformationUomItemText {\n"); + sb.Append(" Index: ").Append(Index).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppItemInformationUomItemText); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppItemInformationUomItemText instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppItemInformationUomItemText to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppItemInformationUomItemText input) + { + if (input == null) + return false; + + return + ( + this.Index == input.Index || + (this.Index != null && + this.Index.Equals(input.Index)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Index != null) + hashCode = hashCode * 59 + this.Index.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData.cs new file mode 100644 index 0000000000000000000000000000000000000000..06aaa543a30222d8fcc5703f37f394c482716d63 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WebshopItemInfoData <p>Item informations from web shop.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The description of the item.</p>. + /// <p>The item name.</p>. + /// <p>The average rating.</p>. + /// <p>The image url</p>. + /// <p>Number of item with stock state.</p>. + /// <p>The uom code</p>. + /// <p>The manufacturer.</p>. + /// <p>The item price</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData(string description = default(string), string name = default(string), double? averageRating = default(double?), string imageUrl = default(string), string stock = default(string), string code = default(string), string manufacturer = default(string), string price = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Description = description; + this.Name = name; + this.AverageRating = averageRating; + this.ImageUrl = imageUrl; + this.Stock = stock; + this.Code = code; + this.Manufacturer = manufacturer; + this.Price = price; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The description of the item.</p> + /// + /// <p>The description of the item.</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The item name.</p> + /// + /// <p>The item name.</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The average rating.</p> + /// + /// <p>The average rating.</p> + [DataMember(Name="averageRating", EmitDefaultValue=false)] + public double? AverageRating { get; set; } + + /// + /// <p>The image url</p> + /// + /// <p>The image url</p> + [DataMember(Name="imageUrl", EmitDefaultValue=false)] + public string ImageUrl { get; set; } + + /// + /// <p>Number of item with stock state.</p> + /// + /// <p>Number of item with stock state.</p> + [DataMember(Name="stock", EmitDefaultValue=false)] + public string Stock { get; set; } + + /// + /// <p>The uom code</p> + /// + /// <p>The uom code</p> + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { get; set; } + + /// + /// <p>The manufacturer.</p> + /// + /// <p>The manufacturer.</p> + [DataMember(Name="manufacturer", EmitDefaultValue=false)] + public string Manufacturer { get; set; } + + /// + /// <p>The item price</p> + /// + /// <p>The item price</p> + [DataMember(Name="price", EmitDefaultValue=false)] + public string Price { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData {\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" AverageRating: ").Append(AverageRating).Append("\n"); + sb.Append(" ImageUrl: ").Append(ImageUrl).Append("\n"); + sb.Append(" Stock: ").Append(Stock).Append("\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" Manufacturer: ").Append(Manufacturer).Append("\n"); + sb.Append(" Price: ").Append(Price).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData input) + { + if (input == null) + return false; + + return + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.AverageRating == input.AverageRating || + (this.AverageRating != null && + this.AverageRating.Equals(input.AverageRating)) + ) && + ( + this.ImageUrl == input.ImageUrl || + (this.ImageUrl != null && + this.ImageUrl.Equals(input.ImageUrl)) + ) && + ( + this.Stock == input.Stock || + (this.Stock != null && + this.Stock.Equals(input.Stock)) + ) && + ( + this.Code == input.Code || + (this.Code != null && + this.Code.Equals(input.Code)) + ) && + ( + this.Manufacturer == input.Manufacturer || + (this.Manufacturer != null && + this.Manufacturer.Equals(input.Manufacturer)) + ) && + ( + this.Price == input.Price || + (this.Price != null && + this.Price.Equals(input.Price)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.AverageRating != null) + hashCode = hashCode * 59 + this.AverageRating.GetHashCode(); + if (this.ImageUrl != null) + hashCode = hashCode * 59 + this.ImageUrl.GetHashCode(); + if (this.Stock != null) + hashCode = hashCode * 59 + this.Stock.GetHashCode(); + if (this.Code != null) + hashCode = hashCode * 59 + this.Code.GetHashCode(); + if (this.Manufacturer != null) + hashCode = hashCode * 59 + this.Manufacturer.GetHashCode(); + if (this.Price != null) + hashCode = hashCode * 59 + this.Price.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..90cefe79ed323669352a02e3a0304973b4ea717e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest.cs @@ -0,0 +1,516 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionInputRequest <p>A data object for request from promotion service to set additional input</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The promotion description.</p>. + /// <p>The promotion trigger value.</p>. + /// <p>The promotion threshold value.</p>. + /// <p>The promotion interval value.</p>. + /// <p>The promotion limit value.</p>. + /// <p>The promotion privilege type.</p>. + /// <p>A flag to indicate promotion points.</p>. + /// <p>The line item sequence number.</p>. + /// <p>The promotion privilege value.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest(string promotionDescription = default(string), string triggerValue = default(string), double? thresholdValue = default(double?), double? intervalValue = default(double?), double? limitValue = default(double?), string privilegeType = default(string), bool? pointsFlag = default(bool?), int? lineItemSequenceNumber = default(int?), double? privilegeValue = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PromotionDescription = promotionDescription; + this.TriggerValue = triggerValue; + this.ThresholdValue = thresholdValue; + this.IntervalValue = intervalValue; + this.LimitValue = limitValue; + this.PrivilegeType = privilegeType; + this.PointsFlag = pointsFlag; + this.LineItemSequenceNumber = lineItemSequenceNumber; + this.PrivilegeValue = privilegeValue; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The promotion description.</p> + /// + /// <p>The promotion description.</p> + [DataMember(Name="promotionDescription", EmitDefaultValue=false)] + public string PromotionDescription { get; set; } + + /// + /// <p>The promotion trigger value.</p> + /// + /// <p>The promotion trigger value.</p> + [DataMember(Name="triggerValue", EmitDefaultValue=false)] + public string TriggerValue { get; set; } + + /// + /// <p>The promotion threshold value.</p> + /// + /// <p>The promotion threshold value.</p> + [DataMember(Name="thresholdValue", EmitDefaultValue=false)] + public double? ThresholdValue { get; set; } + + /// + /// <p>The promotion interval value.</p> + /// + /// <p>The promotion interval value.</p> + [DataMember(Name="intervalValue", EmitDefaultValue=false)] + public double? IntervalValue { get; set; } + + /// + /// <p>The promotion limit value.</p> + /// + /// <p>The promotion limit value.</p> + [DataMember(Name="limitValue", EmitDefaultValue=false)] + public double? LimitValue { get; set; } + + /// + /// <p>The promotion privilege type.</p> + /// + /// <p>The promotion privilege type.</p> + [DataMember(Name="privilegeType", EmitDefaultValue=false)] + public string PrivilegeType { get; set; } + + /// + /// <p>A flag to indicate promotion points.</p> + /// + /// <p>A flag to indicate promotion points.</p> + [DataMember(Name="pointsFlag", EmitDefaultValue=false)] + public bool? PointsFlag { get; set; } + + /// + /// <p>The line item sequence number.</p> + /// + /// <p>The line item sequence number.</p> + [DataMember(Name="lineItemSequenceNumber", EmitDefaultValue=false)] + public int? LineItemSequenceNumber { get; set; } + + /// + /// <p>The promotion privilege value.</p> + /// + /// <p>The promotion privilege value.</p> + [DataMember(Name="privilegeValue", EmitDefaultValue=false)] + public double? PrivilegeValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest {\n"); + sb.Append(" PromotionDescription: ").Append(PromotionDescription).Append("\n"); + sb.Append(" TriggerValue: ").Append(TriggerValue).Append("\n"); + sb.Append(" ThresholdValue: ").Append(ThresholdValue).Append("\n"); + sb.Append(" IntervalValue: ").Append(IntervalValue).Append("\n"); + sb.Append(" LimitValue: ").Append(LimitValue).Append("\n"); + sb.Append(" PrivilegeType: ").Append(PrivilegeType).Append("\n"); + sb.Append(" PointsFlag: ").Append(PointsFlag).Append("\n"); + sb.Append(" LineItemSequenceNumber: ").Append(LineItemSequenceNumber).Append("\n"); + sb.Append(" PrivilegeValue: ").Append(PrivilegeValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest input) + { + if (input == null) + return false; + + return + ( + this.PromotionDescription == input.PromotionDescription || + (this.PromotionDescription != null && + this.PromotionDescription.Equals(input.PromotionDescription)) + ) && + ( + this.TriggerValue == input.TriggerValue || + (this.TriggerValue != null && + this.TriggerValue.Equals(input.TriggerValue)) + ) && + ( + this.ThresholdValue == input.ThresholdValue || + (this.ThresholdValue != null && + this.ThresholdValue.Equals(input.ThresholdValue)) + ) && + ( + this.IntervalValue == input.IntervalValue || + (this.IntervalValue != null && + this.IntervalValue.Equals(input.IntervalValue)) + ) && + ( + this.LimitValue == input.LimitValue || + (this.LimitValue != null && + this.LimitValue.Equals(input.LimitValue)) + ) && + ( + this.PrivilegeType == input.PrivilegeType || + (this.PrivilegeType != null && + this.PrivilegeType.Equals(input.PrivilegeType)) + ) && + ( + this.PointsFlag == input.PointsFlag || + (this.PointsFlag != null && + this.PointsFlag.Equals(input.PointsFlag)) + ) && + ( + this.LineItemSequenceNumber == input.LineItemSequenceNumber || + (this.LineItemSequenceNumber != null && + this.LineItemSequenceNumber.Equals(input.LineItemSequenceNumber)) + ) && + ( + this.PrivilegeValue == input.PrivilegeValue || + (this.PrivilegeValue != null && + this.PrivilegeValue.Equals(input.PrivilegeValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PromotionDescription != null) + hashCode = hashCode * 59 + this.PromotionDescription.GetHashCode(); + if (this.TriggerValue != null) + hashCode = hashCode * 59 + this.TriggerValue.GetHashCode(); + if (this.ThresholdValue != null) + hashCode = hashCode * 59 + this.ThresholdValue.GetHashCode(); + if (this.IntervalValue != null) + hashCode = hashCode * 59 + this.IntervalValue.GetHashCode(); + if (this.LimitValue != null) + hashCode = hashCode * 59 + this.LimitValue.GetHashCode(); + if (this.PrivilegeType != null) + hashCode = hashCode * 59 + this.PrivilegeType.GetHashCode(); + if (this.PointsFlag != null) + hashCode = hashCode * 59 + this.PointsFlag.GetHashCode(); + if (this.LineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.LineItemSequenceNumber.GetHashCode(); + if (this.PrivilegeValue != null) + hashCode = hashCode * 59 + this.PrivilegeValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..0adeab70614828d9f2dad0f79da687f344d12c29 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier.cs @@ -0,0 +1,567 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalRetailPriceModifier <p>External retail price modifier object.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Retail price modifier line item sequence number.</p>. + /// <p>The percentage value in case of percentage price modifiers.</p>. + /// <p>The monetary value of the price modification that was given.</p>. + /// <p>The retail sale total price of the transaction before applying the current price modification line item.</p>. + /// <p>The retail sale total price of the line item after applying the current price modifier.</p>. + /// <p>The quantity the price modifier applies to.</p>. + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p>. + /// <p>A monetary amount which results from applying a price modifier but does not affect the line item total.</p>. + /// <p>The monetary amount that the price modifier was adjusted by.</p>. + /// <p>The amount which was used as base for calculation of the price modification.</p>. + /// <p>Retail transaction price derivation rule.</p>. + /// <p>List of sale return line item promotion triggers.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier(int? retailPriceModifierSequenceNumber = default(int?), double? percent = default(double?), double? amount = default(double?), double? extendedAmountBeforeModification = default(double?), double? extendedAmountAfterModification = default(double?), double? appliedQuantity = default(double?), int? triggerSequenceNumber = default(int?), double? extraAmount = default(double?), double? roundingAmount = default(double?), double? calculationBaseAmount = default(double?), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule retailTransactionPriceDerivationRule = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule), List saleReturnLineItemPromotionTriggerList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RetailPriceModifierSequenceNumber = retailPriceModifierSequenceNumber; + this.Percent = percent; + this.Amount = amount; + this.ExtendedAmountBeforeModification = extendedAmountBeforeModification; + this.ExtendedAmountAfterModification = extendedAmountAfterModification; + this.AppliedQuantity = appliedQuantity; + this.TriggerSequenceNumber = triggerSequenceNumber; + this.ExtraAmount = extraAmount; + this.RoundingAmount = roundingAmount; + this.CalculationBaseAmount = calculationBaseAmount; + this.RetailTransactionPriceDerivationRule = retailTransactionPriceDerivationRule; + this.SaleReturnLineItemPromotionTriggerList = saleReturnLineItemPromotionTriggerList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Retail price modifier line item sequence number.</p> + /// + /// <p>Retail price modifier line item sequence number.</p> + [DataMember(Name="retailPriceModifierSequenceNumber", EmitDefaultValue=false)] + public int? RetailPriceModifierSequenceNumber { get; set; } + + /// + /// <p>The percentage value in case of percentage price modifiers.</p> + /// + /// <p>The percentage value in case of percentage price modifiers.</p> + [DataMember(Name="percent", EmitDefaultValue=false)] + public double? Percent { get; set; } + + /// + /// <p>The monetary value of the price modification that was given.</p> + /// + /// <p>The monetary value of the price modification that was given.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>The retail sale total price of the transaction before applying the current price modification line item.</p> + /// + /// <p>The retail sale total price of the transaction before applying the current price modification line item.</p> + [DataMember(Name="extendedAmountBeforeModification", EmitDefaultValue=false)] + public double? ExtendedAmountBeforeModification { get; set; } + + /// + /// <p>The retail sale total price of the line item after applying the current price modifier.</p> + /// + /// <p>The retail sale total price of the line item after applying the current price modifier.</p> + [DataMember(Name="extendedAmountAfterModification", EmitDefaultValue=false)] + public double? ExtendedAmountAfterModification { get; set; } + + /// + /// <p>The quantity the price modifier applies to.</p> + /// + /// <p>The quantity the price modifier applies to.</p> + [DataMember(Name="appliedQuantity", EmitDefaultValue=false)] + public double? AppliedQuantity { get; set; } + + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// <p>A monetary amount which results from applying a price modifier but does not affect the line item total.</p> + /// + /// <p>A monetary amount which results from applying a price modifier but does not affect the line item total.</p> + [DataMember(Name="extraAmount", EmitDefaultValue=false)] + public double? ExtraAmount { get; set; } + + /// + /// <p>The monetary amount that the price modifier was adjusted by.</p> + /// + /// <p>The monetary amount that the price modifier was adjusted by.</p> + [DataMember(Name="roundingAmount", EmitDefaultValue=false)] + public double? RoundingAmount { get; set; } + + /// + /// <p>The amount which was used as base for calculation of the price modification.</p> + /// + /// <p>The amount which was used as base for calculation of the price modification.</p> + [DataMember(Name="calculationBaseAmount", EmitDefaultValue=false)] + public double? CalculationBaseAmount { get; set; } + + /// + /// <p>Retail transaction price derivation rule.</p> + /// + /// <p>Retail transaction price derivation rule.</p> + [DataMember(Name="retailTransactionPriceDerivationRule", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule RetailTransactionPriceDerivationRule { get; set; } + + /// + /// <p>List of sale return line item promotion triggers.</p> + /// + /// <p>List of sale return line item promotion triggers.</p> + [DataMember(Name="saleReturnLineItemPromotionTriggerList", EmitDefaultValue=false)] + public List SaleReturnLineItemPromotionTriggerList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier {\n"); + sb.Append(" RetailPriceModifierSequenceNumber: ").Append(RetailPriceModifierSequenceNumber).Append("\n"); + sb.Append(" Percent: ").Append(Percent).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" ExtendedAmountBeforeModification: ").Append(ExtendedAmountBeforeModification).Append("\n"); + sb.Append(" ExtendedAmountAfterModification: ").Append(ExtendedAmountAfterModification).Append("\n"); + sb.Append(" AppliedQuantity: ").Append(AppliedQuantity).Append("\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append(" ExtraAmount: ").Append(ExtraAmount).Append("\n"); + sb.Append(" RoundingAmount: ").Append(RoundingAmount).Append("\n"); + sb.Append(" CalculationBaseAmount: ").Append(CalculationBaseAmount).Append("\n"); + sb.Append(" RetailTransactionPriceDerivationRule: ").Append(RetailTransactionPriceDerivationRule).Append("\n"); + sb.Append(" SaleReturnLineItemPromotionTriggerList: ").Append(SaleReturnLineItemPromotionTriggerList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier input) + { + if (input == null) + return false; + + return + ( + this.RetailPriceModifierSequenceNumber == input.RetailPriceModifierSequenceNumber || + (this.RetailPriceModifierSequenceNumber != null && + this.RetailPriceModifierSequenceNumber.Equals(input.RetailPriceModifierSequenceNumber)) + ) && + ( + this.Percent == input.Percent || + (this.Percent != null && + this.Percent.Equals(input.Percent)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.ExtendedAmountBeforeModification == input.ExtendedAmountBeforeModification || + (this.ExtendedAmountBeforeModification != null && + this.ExtendedAmountBeforeModification.Equals(input.ExtendedAmountBeforeModification)) + ) && + ( + this.ExtendedAmountAfterModification == input.ExtendedAmountAfterModification || + (this.ExtendedAmountAfterModification != null && + this.ExtendedAmountAfterModification.Equals(input.ExtendedAmountAfterModification)) + ) && + ( + this.AppliedQuantity == input.AppliedQuantity || + (this.AppliedQuantity != null && + this.AppliedQuantity.Equals(input.AppliedQuantity)) + ) && + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ) && + ( + this.ExtraAmount == input.ExtraAmount || + (this.ExtraAmount != null && + this.ExtraAmount.Equals(input.ExtraAmount)) + ) && + ( + this.RoundingAmount == input.RoundingAmount || + (this.RoundingAmount != null && + this.RoundingAmount.Equals(input.RoundingAmount)) + ) && + ( + this.CalculationBaseAmount == input.CalculationBaseAmount || + (this.CalculationBaseAmount != null && + this.CalculationBaseAmount.Equals(input.CalculationBaseAmount)) + ) && + ( + this.RetailTransactionPriceDerivationRule == input.RetailTransactionPriceDerivationRule || + (this.RetailTransactionPriceDerivationRule != null && + this.RetailTransactionPriceDerivationRule.Equals(input.RetailTransactionPriceDerivationRule)) + ) && + ( + this.SaleReturnLineItemPromotionTriggerList == input.SaleReturnLineItemPromotionTriggerList || + this.SaleReturnLineItemPromotionTriggerList != null && + this.SaleReturnLineItemPromotionTriggerList.SequenceEqual(input.SaleReturnLineItemPromotionTriggerList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailPriceModifierSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailPriceModifierSequenceNumber.GetHashCode(); + if (this.Percent != null) + hashCode = hashCode * 59 + this.Percent.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.ExtendedAmountBeforeModification != null) + hashCode = hashCode * 59 + this.ExtendedAmountBeforeModification.GetHashCode(); + if (this.ExtendedAmountAfterModification != null) + hashCode = hashCode * 59 + this.ExtendedAmountAfterModification.GetHashCode(); + if (this.AppliedQuantity != null) + hashCode = hashCode * 59 + this.AppliedQuantity.GetHashCode(); + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + if (this.ExtraAmount != null) + hashCode = hashCode * 59 + this.ExtraAmount.GetHashCode(); + if (this.RoundingAmount != null) + hashCode = hashCode * 59 + this.RoundingAmount.GetHashCode(); + if (this.CalculationBaseAmount != null) + hashCode = hashCode * 59 + this.CalculationBaseAmount.GetHashCode(); + if (this.RetailTransactionPriceDerivationRule != null) + hashCode = hashCode * 59 + this.RetailTransactionPriceDerivationRule.GetHashCode(); + if (this.SaleReturnLineItemPromotionTriggerList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemPromotionTriggerList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..648deb8d4f2654172c4bba6f9eec3518a76616f1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemExtension <p>Line item extension entity. Line item extensions is used for providing additional information in retail transaction line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Key identifier for line item extension.</p> (required). + /// <p>Value containing additional information for line item.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension(string extensionKey = default(string), string extensionValue = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "extensionKey" is required (not null) + if (extensionKey == null) + { + throw new InvalidDataException("extensionKey is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension and cannot be null"); + } + else + { + this.ExtensionKey = extensionKey; + } + // to ensure "extensionValue" is required (not null) + if (extensionValue == null) + { + throw new InvalidDataException("extensionValue is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension and cannot be null"); + } + else + { + this.ExtensionValue = extensionValue; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Key identifier for line item extension.</p> + /// + /// <p>Key identifier for line item extension.</p> + [DataMember(Name="ExtensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>Value containing additional information for line item.</p> + /// + /// <p>Value containing additional information for line item.</p> + [DataMember(Name="ExtensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension {\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension input) + { + if (input == null) + return false; + + return + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..bc670a793e993361d75ba73e7a6ae902b7007b98 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosUOMItemDoKey <p>Key identifier for POS item unit of measure object.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> (required). + /// <p>Item identifier.</p> (required). + /// <p>The code used to specify the unit of measure in which a value is being expressed, or manner in which a measurement has been taken.</p> (required). + public ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey(string businessUnitGroupID = default(string), string itemID = default(string), string uomCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "uomCode" is required (not null) + if (uomCode == null) + { + throw new InvalidDataException("uomCode is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey and cannot be null"); + } + else + { + this.UomCode = uomCode; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Item identifier.</p> + /// + /// <p>Item identifier.</p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The code used to specify the unit of measure in which a value is being expressed, or manner in which a measurement has been taken.</p> + /// + /// <p>The code used to specify the unit of measure in which a value is being expressed, or manner in which a measurement has been taken.</p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine.cs new file mode 100644 index 0000000000000000000000000000000000000000..37244ee6fcf5061d658eb3bea0ad87f1b0c24b37 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrintAdditionalLineItemTextLine <p>Request object for printing additional text lines on receipts. This request object is used for instance in the processing of additional printout documents requested through app enablement feature.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Text value to be printed.</p>. + /// <p>Defines whether the text is printed before or after the line item.<br /> Possible values: 'afterLineItem', 'beforeLineItem' and 'beforeSubtotalLine'.</p>. + /// <p>Style identifier for a text printout.<br /> Possible values: 'NormalPlain' and 'NormalBold'</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine(string text = default(string), string sortOrder = default(string), string styleID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Text = text; + this.SortOrder = sortOrder; + this.StyleID = styleID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Text value to be printed.</p> + /// + /// <p>Text value to be printed.</p> + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// <p>Defines whether the text is printed before or after the line item.<br /> Possible values: 'afterLineItem', 'beforeLineItem' and 'beforeSubtotalLine'.</p> + /// + /// <p>Defines whether the text is printed before or after the line item.<br /> Possible values: 'afterLineItem', 'beforeLineItem' and 'beforeSubtotalLine'.</p> + [DataMember(Name="sortOrder", EmitDefaultValue=false)] + public string SortOrder { get; set; } + + /// + /// <p>Style identifier for a text printout.<br /> Possible values: 'NormalPlain' and 'NormalBold'</p> + /// + /// <p>Style identifier for a text printout.<br /> Possible values: 'NormalPlain' and 'NormalBold'</p> + [DataMember(Name="styleID", EmitDefaultValue=false)] + public string StyleID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine {\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" SortOrder: ").Append(SortOrder).Append("\n"); + sb.Append(" StyleID: ").Append(StyleID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine input) + { + if (input == null) + return false; + + return + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.SortOrder == input.SortOrder || + (this.SortOrder != null && + this.SortOrder.Equals(input.SortOrder)) + ) && + ( + this.StyleID == input.StyleID || + (this.StyleID != null && + this.StyleID.Equals(input.StyleID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.SortOrder != null) + hashCode = hashCode * 59 + this.SortOrder.GetHashCode(); + if (this.StyleID != null) + hashCode = hashCode * 59 + this.StyleID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..72df05824fb37ad233721389f66e2e220073ad54 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemKey <p>Key identifier for retail transaction line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> (required). + /// <p>A universally unique identifier (UUID) for the Transaction.</p> (required). + /// <p>The sequence number of line item within the context of this RetailTransaction.</p> (required). + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>The sequence number of line item within the context of this RetailTransaction.</p> + /// + /// <p>The sequence number of line item within the context of this RetailTransaction.</p> + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule.cs new file mode 100644 index 0000000000000000000000000000000000000000..97245ecebee6dbda3c39bf291c30c14e2a0a8d59 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule.cs @@ -0,0 +1,908 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionPriceDerivationRule <p>Retail transaction price derivation rule describes a promotion rule.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the promotion.</p> (required). + /// <p>The unique identifier of the price derivation rule.</p>. + /// <p>The unique identifier of the root eligibility.</p>. + /// <p>Short description of the promotion.</p>. + /// <p>Text to be printed on the receipt.</p>. + /// <p>Promotion price derivation rule Sequence used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleResolution.</p>. + /// <p>Promotion price derivation resolution used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleSequence.</p>. + /// <p>The type code of the promotion price derivation rule.</p>. + /// <p>A code denoting the method of modifying the price that is being applied to the transaction line item.</p>. + /// <p>Business description for this price derivation rule.</p>. + /// <p>The type code of the originator of the promotion.</p>. + /// <p>The external identifier of the promotion.</p>. + /// <p>The external identifier of the price derivation rule.</p>. + /// <p>The quantity of items fulfilling the eligibility which is required in order to trigger the price derivation rule.</p>. + /// <p>End of the date range in which the gift certificate is valid.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Determines how the discount influences the transaction.</p>. + /// <p>Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt.</p> (required). + /// <p>A code which uniquely identifies the tender in case of rebate as tender.</p>. + /// <p>Promotion type name</p>. + /// calculationBase. + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true).</p> (required). + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only.</p> (required). + /// <p>The number of the printout coupon.</p>. + /// <p>The type code of the printout rule.</p>. + /// <p>The formatted text of the printout coupon.</p>. + /// <p>Determines whether this price derivation rule is an exclusive one.</p> (required). + /// <p>Determines how this price derivation rule works in relation to other applicable price derivation rules.</p>. + /// <p>Describes how often the current price derivation rule was applied.</p>. + /// <p>Describes how long (how many days) the printed coupon/gift certificate is valid.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule(string promotionID = default(string), string priceDerivationRuleID = default(string), string priceDerivationRuleEligibilityID = default(string), string promotionDescription = default(string), string receiptPrinterName = default(string), string promotionPriceDerivationRuleSequence = default(string), string promotionPriceDerivationRuleResolution = default(string), string promotionPriceDerivationRuleTypeCode = default(string), string priceModificationMethodCode = default(string), string priceDerivationRuleDescription = default(string), string promotionOriginatorTypeCode = default(string), string externalPromotionID = default(string), string externalPriceDerivationRuleID = default(string), double? triggerQuantity = default(double?), string giftCertificateExpirationDate = default(string), string discountMethodCode = default(string), bool? prohibitPrintFlag = default(bool?), string tenderTypeCode = default(string), string promotionTypeName = default(string), string calculationBase = default(string), bool? noEffectOnSubsequentPriceDerivationRulesFlag = default(bool?), bool? prohibitTransactionRelatedPriceDerivationRulesFlag = default(bool?), string couponPrintoutID = default(string), string couponPrintoutRule = default(string), string couponPrintoutText = default(string), bool? exclusiveFlag = default(bool?), string concurrenceControlVector = default(string), double? appliedCount = default(double?), double? printoutValidityPeriod = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "prohibitPrintFlag" is required (not null) + if (prohibitPrintFlag == null) + { + throw new InvalidDataException("prohibitPrintFlag is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule and cannot be null"); + } + else + { + this.ProhibitPrintFlag = prohibitPrintFlag; + } + // to ensure "noEffectOnSubsequentPriceDerivationRulesFlag" is required (not null) + if (noEffectOnSubsequentPriceDerivationRulesFlag == null) + { + throw new InvalidDataException("noEffectOnSubsequentPriceDerivationRulesFlag is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule and cannot be null"); + } + else + { + this.NoEffectOnSubsequentPriceDerivationRulesFlag = noEffectOnSubsequentPriceDerivationRulesFlag; + } + // to ensure "prohibitTransactionRelatedPriceDerivationRulesFlag" is required (not null) + if (prohibitTransactionRelatedPriceDerivationRulesFlag == null) + { + throw new InvalidDataException("prohibitTransactionRelatedPriceDerivationRulesFlag is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule and cannot be null"); + } + else + { + this.ProhibitTransactionRelatedPriceDerivationRulesFlag = prohibitTransactionRelatedPriceDerivationRulesFlag; + } + // to ensure "exclusiveFlag" is required (not null) + if (exclusiveFlag == null) + { + throw new InvalidDataException("exclusiveFlag is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule and cannot be null"); + } + else + { + this.ExclusiveFlag = exclusiveFlag; + } + // to ensure "printoutValidityPeriod" is required (not null) + if (printoutValidityPeriod == null) + { + throw new InvalidDataException("printoutValidityPeriod is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule and cannot be null"); + } + else + { + this.PrintoutValidityPeriod = printoutValidityPeriod; + } + this.PriceDerivationRuleID = priceDerivationRuleID; + this.PriceDerivationRuleEligibilityID = priceDerivationRuleEligibilityID; + this.PromotionDescription = promotionDescription; + this.ReceiptPrinterName = receiptPrinterName; + this.PromotionPriceDerivationRuleSequence = promotionPriceDerivationRuleSequence; + this.PromotionPriceDerivationRuleResolution = promotionPriceDerivationRuleResolution; + this.PromotionPriceDerivationRuleTypeCode = promotionPriceDerivationRuleTypeCode; + this.PriceModificationMethodCode = priceModificationMethodCode; + this.PriceDerivationRuleDescription = priceDerivationRuleDescription; + this.PromotionOriginatorTypeCode = promotionOriginatorTypeCode; + this.ExternalPromotionID = externalPromotionID; + this.ExternalPriceDerivationRuleID = externalPriceDerivationRuleID; + this.TriggerQuantity = triggerQuantity; + this.GiftCertificateExpirationDate = giftCertificateExpirationDate; + this.DiscountMethodCode = discountMethodCode; + this.TenderTypeCode = tenderTypeCode; + this.PromotionTypeName = promotionTypeName; + this.CalculationBase = calculationBase; + this.CouponPrintoutID = couponPrintoutID; + this.CouponPrintoutRule = couponPrintoutRule; + this.CouponPrintoutText = couponPrintoutText; + this.ConcurrenceControlVector = concurrenceControlVector; + this.AppliedCount = appliedCount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The unique identifier of the promotion.</p> + /// + /// <p>The unique identifier of the promotion.</p> + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// <p>The unique identifier of the price derivation rule.</p> + /// + /// <p>The unique identifier of the price derivation rule.</p> + [DataMember(Name="priceDerivationRuleID", EmitDefaultValue=false)] + public string PriceDerivationRuleID { get; set; } + + /// + /// <p>The unique identifier of the root eligibility.</p> + /// + /// <p>The unique identifier of the root eligibility.</p> + [DataMember(Name="priceDerivationRuleEligibilityID", EmitDefaultValue=false)] + public string PriceDerivationRuleEligibilityID { get; set; } + + /// + /// <p>Short description of the promotion.</p> + /// + /// <p>Short description of the promotion.</p> + [DataMember(Name="promotionDescription", EmitDefaultValue=false)] + public string PromotionDescription { get; set; } + + /// + /// <p>Text to be printed on the receipt.</p> + /// + /// <p>Text to be printed on the receipt.</p> + [DataMember(Name="receiptPrinterName", EmitDefaultValue=false)] + public string ReceiptPrinterName { get; set; } + + /// + /// <p>Promotion price derivation rule Sequence used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleResolution.</p> + /// + /// <p>Promotion price derivation rule Sequence used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleResolution.</p> + [DataMember(Name="promotionPriceDerivationRuleSequence", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleSequence { get; set; } + + /// + /// <p>Promotion price derivation resolution used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleSequence.</p> + /// + /// <p>Promotion price derivation resolution used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleSequence.</p> + [DataMember(Name="promotionPriceDerivationRuleResolution", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleResolution { get; set; } + + /// + /// <p>The type code of the promotion price derivation rule.</p> + /// + /// <p>The type code of the promotion price derivation rule.</p> + [DataMember(Name="promotionPriceDerivationRuleTypeCode", EmitDefaultValue=false)] + public string PromotionPriceDerivationRuleTypeCode { get; set; } + + /// + /// <p>A code denoting the method of modifying the price that is being applied to the transaction line item.</p> + /// + /// <p>A code denoting the method of modifying the price that is being applied to the transaction line item.</p> + [DataMember(Name="priceModificationMethodCode", EmitDefaultValue=false)] + public string PriceModificationMethodCode { get; set; } + + /// + /// <p>Business description for this price derivation rule.</p> + /// + /// <p>Business description for this price derivation rule.</p> + [DataMember(Name="priceDerivationRuleDescription", EmitDefaultValue=false)] + public string PriceDerivationRuleDescription { get; set; } + + /// + /// <p>The type code of the originator of the promotion.</p> + /// + /// <p>The type code of the originator of the promotion.</p> + [DataMember(Name="promotionOriginatorTypeCode", EmitDefaultValue=false)] + public string PromotionOriginatorTypeCode { get; set; } + + /// + /// <p>The external identifier of the promotion.</p> + /// + /// <p>The external identifier of the promotion.</p> + [DataMember(Name="externalPromotionID", EmitDefaultValue=false)] + public string ExternalPromotionID { get; set; } + + /// + /// <p>The external identifier of the price derivation rule.</p> + /// + /// <p>The external identifier of the price derivation rule.</p> + [DataMember(Name="externalPriceDerivationRuleID", EmitDefaultValue=false)] + public string ExternalPriceDerivationRuleID { get; set; } + + /// + /// <p>The quantity of items fulfilling the eligibility which is required in order to trigger the price derivation rule.</p> + /// + /// <p>The quantity of items fulfilling the eligibility which is required in order to trigger the price derivation rule.</p> + [DataMember(Name="triggerQuantity", EmitDefaultValue=false)] + public double? TriggerQuantity { get; set; } + + /// + /// <p>End of the date range in which the gift certificate is valid.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of the date range in which the gift certificate is valid.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="giftCertificateExpirationDate", EmitDefaultValue=false)] + public string GiftCertificateExpirationDate { get; set; } + + /// + /// <p>Determines how the discount influences the transaction.</p> + /// + /// <p>Determines how the discount influences the transaction.</p> + [DataMember(Name="discountMethodCode", EmitDefaultValue=false)] + public string DiscountMethodCode { get; set; } + + /// + /// <p>Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt.</p> + /// + /// <p>Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt.</p> + [DataMember(Name="prohibitPrintFlag", EmitDefaultValue=false)] + public bool? ProhibitPrintFlag { get; set; } + + /// + /// <p>A code which uniquely identifies the tender in case of rebate as tender.</p> + /// + /// <p>A code which uniquely identifies the tender in case of rebate as tender.</p> + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// <p>Promotion type name</p> + /// + /// <p>Promotion type name</p> + [DataMember(Name="promotionTypeName", EmitDefaultValue=false)] + public string PromotionTypeName { get; set; } + + /// + /// Gets or Sets CalculationBase + /// + [DataMember(Name="calculationBase", EmitDefaultValue=false)] + public string CalculationBase { get; set; } + + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true).</p> + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true).</p> + [DataMember(Name="noEffectOnSubsequentPriceDerivationRulesFlag", EmitDefaultValue=false)] + public bool? NoEffectOnSubsequentPriceDerivationRulesFlag { get; set; } + + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only.</p> + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only.</p> + [DataMember(Name="prohibitTransactionRelatedPriceDerivationRulesFlag", EmitDefaultValue=false)] + public bool? ProhibitTransactionRelatedPriceDerivationRulesFlag { get; set; } + + /// + /// <p>The number of the printout coupon.</p> + /// + /// <p>The number of the printout coupon.</p> + [DataMember(Name="couponPrintoutID", EmitDefaultValue=false)] + public string CouponPrintoutID { get; set; } + + /// + /// <p>The type code of the printout rule.</p> + /// + /// <p>The type code of the printout rule.</p> + [DataMember(Name="couponPrintoutRule", EmitDefaultValue=false)] + public string CouponPrintoutRule { get; set; } + + /// + /// <p>The formatted text of the printout coupon.</p> + /// + /// <p>The formatted text of the printout coupon.</p> + [DataMember(Name="couponPrintoutText", EmitDefaultValue=false)] + public string CouponPrintoutText { get; set; } + + /// + /// <p>Determines whether this price derivation rule is an exclusive one.</p> + /// + /// <p>Determines whether this price derivation rule is an exclusive one.</p> + [DataMember(Name="exclusiveFlag", EmitDefaultValue=false)] + public bool? ExclusiveFlag { get; set; } + + /// + /// <p>Determines how this price derivation rule works in relation to other applicable price derivation rules.</p> + /// + /// <p>Determines how this price derivation rule works in relation to other applicable price derivation rules.</p> + [DataMember(Name="concurrenceControlVector", EmitDefaultValue=false)] + public string ConcurrenceControlVector { get; set; } + + /// + /// <p>Describes how often the current price derivation rule was applied.</p> + /// + /// <p>Describes how often the current price derivation rule was applied.</p> + [DataMember(Name="appliedCount", EmitDefaultValue=false)] + public double? AppliedCount { get; set; } + + /// + /// <p>Describes how long (how many days) the printed coupon/gift certificate is valid.</p> + /// + /// <p>Describes how long (how many days) the printed coupon/gift certificate is valid.</p> + [DataMember(Name="printoutValidityPeriod", EmitDefaultValue=false)] + public double? PrintoutValidityPeriod { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule {\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" PriceDerivationRuleID: ").Append(PriceDerivationRuleID).Append("\n"); + sb.Append(" PriceDerivationRuleEligibilityID: ").Append(PriceDerivationRuleEligibilityID).Append("\n"); + sb.Append(" PromotionDescription: ").Append(PromotionDescription).Append("\n"); + sb.Append(" ReceiptPrinterName: ").Append(ReceiptPrinterName).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleSequence: ").Append(PromotionPriceDerivationRuleSequence).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleResolution: ").Append(PromotionPriceDerivationRuleResolution).Append("\n"); + sb.Append(" PromotionPriceDerivationRuleTypeCode: ").Append(PromotionPriceDerivationRuleTypeCode).Append("\n"); + sb.Append(" PriceModificationMethodCode: ").Append(PriceModificationMethodCode).Append("\n"); + sb.Append(" PriceDerivationRuleDescription: ").Append(PriceDerivationRuleDescription).Append("\n"); + sb.Append(" PromotionOriginatorTypeCode: ").Append(PromotionOriginatorTypeCode).Append("\n"); + sb.Append(" ExternalPromotionID: ").Append(ExternalPromotionID).Append("\n"); + sb.Append(" ExternalPriceDerivationRuleID: ").Append(ExternalPriceDerivationRuleID).Append("\n"); + sb.Append(" TriggerQuantity: ").Append(TriggerQuantity).Append("\n"); + sb.Append(" GiftCertificateExpirationDate: ").Append(GiftCertificateExpirationDate).Append("\n"); + sb.Append(" DiscountMethodCode: ").Append(DiscountMethodCode).Append("\n"); + sb.Append(" ProhibitPrintFlag: ").Append(ProhibitPrintFlag).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" PromotionTypeName: ").Append(PromotionTypeName).Append("\n"); + sb.Append(" CalculationBase: ").Append(CalculationBase).Append("\n"); + sb.Append(" NoEffectOnSubsequentPriceDerivationRulesFlag: ").Append(NoEffectOnSubsequentPriceDerivationRulesFlag).Append("\n"); + sb.Append(" ProhibitTransactionRelatedPriceDerivationRulesFlag: ").Append(ProhibitTransactionRelatedPriceDerivationRulesFlag).Append("\n"); + sb.Append(" CouponPrintoutID: ").Append(CouponPrintoutID).Append("\n"); + sb.Append(" CouponPrintoutRule: ").Append(CouponPrintoutRule).Append("\n"); + sb.Append(" CouponPrintoutText: ").Append(CouponPrintoutText).Append("\n"); + sb.Append(" ExclusiveFlag: ").Append(ExclusiveFlag).Append("\n"); + sb.Append(" ConcurrenceControlVector: ").Append(ConcurrenceControlVector).Append("\n"); + sb.Append(" AppliedCount: ").Append(AppliedCount).Append("\n"); + sb.Append(" PrintoutValidityPeriod: ").Append(PrintoutValidityPeriod).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule input) + { + if (input == null) + return false; + + return + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.PriceDerivationRuleID == input.PriceDerivationRuleID || + (this.PriceDerivationRuleID != null && + this.PriceDerivationRuleID.Equals(input.PriceDerivationRuleID)) + ) && + ( + this.PriceDerivationRuleEligibilityID == input.PriceDerivationRuleEligibilityID || + (this.PriceDerivationRuleEligibilityID != null && + this.PriceDerivationRuleEligibilityID.Equals(input.PriceDerivationRuleEligibilityID)) + ) && + ( + this.PromotionDescription == input.PromotionDescription || + (this.PromotionDescription != null && + this.PromotionDescription.Equals(input.PromotionDescription)) + ) && + ( + this.ReceiptPrinterName == input.ReceiptPrinterName || + (this.ReceiptPrinterName != null && + this.ReceiptPrinterName.Equals(input.ReceiptPrinterName)) + ) && + ( + this.PromotionPriceDerivationRuleSequence == input.PromotionPriceDerivationRuleSequence || + (this.PromotionPriceDerivationRuleSequence != null && + this.PromotionPriceDerivationRuleSequence.Equals(input.PromotionPriceDerivationRuleSequence)) + ) && + ( + this.PromotionPriceDerivationRuleResolution == input.PromotionPriceDerivationRuleResolution || + (this.PromotionPriceDerivationRuleResolution != null && + this.PromotionPriceDerivationRuleResolution.Equals(input.PromotionPriceDerivationRuleResolution)) + ) && + ( + this.PromotionPriceDerivationRuleTypeCode == input.PromotionPriceDerivationRuleTypeCode || + (this.PromotionPriceDerivationRuleTypeCode != null && + this.PromotionPriceDerivationRuleTypeCode.Equals(input.PromotionPriceDerivationRuleTypeCode)) + ) && + ( + this.PriceModificationMethodCode == input.PriceModificationMethodCode || + (this.PriceModificationMethodCode != null && + this.PriceModificationMethodCode.Equals(input.PriceModificationMethodCode)) + ) && + ( + this.PriceDerivationRuleDescription == input.PriceDerivationRuleDescription || + (this.PriceDerivationRuleDescription != null && + this.PriceDerivationRuleDescription.Equals(input.PriceDerivationRuleDescription)) + ) && + ( + this.PromotionOriginatorTypeCode == input.PromotionOriginatorTypeCode || + (this.PromotionOriginatorTypeCode != null && + this.PromotionOriginatorTypeCode.Equals(input.PromotionOriginatorTypeCode)) + ) && + ( + this.ExternalPromotionID == input.ExternalPromotionID || + (this.ExternalPromotionID != null && + this.ExternalPromotionID.Equals(input.ExternalPromotionID)) + ) && + ( + this.ExternalPriceDerivationRuleID == input.ExternalPriceDerivationRuleID || + (this.ExternalPriceDerivationRuleID != null && + this.ExternalPriceDerivationRuleID.Equals(input.ExternalPriceDerivationRuleID)) + ) && + ( + this.TriggerQuantity == input.TriggerQuantity || + (this.TriggerQuantity != null && + this.TriggerQuantity.Equals(input.TriggerQuantity)) + ) && + ( + this.GiftCertificateExpirationDate == input.GiftCertificateExpirationDate || + (this.GiftCertificateExpirationDate != null && + this.GiftCertificateExpirationDate.Equals(input.GiftCertificateExpirationDate)) + ) && + ( + this.DiscountMethodCode == input.DiscountMethodCode || + (this.DiscountMethodCode != null && + this.DiscountMethodCode.Equals(input.DiscountMethodCode)) + ) && + ( + this.ProhibitPrintFlag == input.ProhibitPrintFlag || + (this.ProhibitPrintFlag != null && + this.ProhibitPrintFlag.Equals(input.ProhibitPrintFlag)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.PromotionTypeName == input.PromotionTypeName || + (this.PromotionTypeName != null && + this.PromotionTypeName.Equals(input.PromotionTypeName)) + ) && + ( + this.CalculationBase == input.CalculationBase || + (this.CalculationBase != null && + this.CalculationBase.Equals(input.CalculationBase)) + ) && + ( + this.NoEffectOnSubsequentPriceDerivationRulesFlag == input.NoEffectOnSubsequentPriceDerivationRulesFlag || + (this.NoEffectOnSubsequentPriceDerivationRulesFlag != null && + this.NoEffectOnSubsequentPriceDerivationRulesFlag.Equals(input.NoEffectOnSubsequentPriceDerivationRulesFlag)) + ) && + ( + this.ProhibitTransactionRelatedPriceDerivationRulesFlag == input.ProhibitTransactionRelatedPriceDerivationRulesFlag || + (this.ProhibitTransactionRelatedPriceDerivationRulesFlag != null && + this.ProhibitTransactionRelatedPriceDerivationRulesFlag.Equals(input.ProhibitTransactionRelatedPriceDerivationRulesFlag)) + ) && + ( + this.CouponPrintoutID == input.CouponPrintoutID || + (this.CouponPrintoutID != null && + this.CouponPrintoutID.Equals(input.CouponPrintoutID)) + ) && + ( + this.CouponPrintoutRule == input.CouponPrintoutRule || + (this.CouponPrintoutRule != null && + this.CouponPrintoutRule.Equals(input.CouponPrintoutRule)) + ) && + ( + this.CouponPrintoutText == input.CouponPrintoutText || + (this.CouponPrintoutText != null && + this.CouponPrintoutText.Equals(input.CouponPrintoutText)) + ) && + ( + this.ExclusiveFlag == input.ExclusiveFlag || + (this.ExclusiveFlag != null && + this.ExclusiveFlag.Equals(input.ExclusiveFlag)) + ) && + ( + this.ConcurrenceControlVector == input.ConcurrenceControlVector || + (this.ConcurrenceControlVector != null && + this.ConcurrenceControlVector.Equals(input.ConcurrenceControlVector)) + ) && + ( + this.AppliedCount == input.AppliedCount || + (this.AppliedCount != null && + this.AppliedCount.Equals(input.AppliedCount)) + ) && + ( + this.PrintoutValidityPeriod == input.PrintoutValidityPeriod || + (this.PrintoutValidityPeriod != null && + this.PrintoutValidityPeriod.Equals(input.PrintoutValidityPeriod)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.PriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleID.GetHashCode(); + if (this.PriceDerivationRuleEligibilityID != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleEligibilityID.GetHashCode(); + if (this.PromotionDescription != null) + hashCode = hashCode * 59 + this.PromotionDescription.GetHashCode(); + if (this.ReceiptPrinterName != null) + hashCode = hashCode * 59 + this.ReceiptPrinterName.GetHashCode(); + if (this.PromotionPriceDerivationRuleSequence != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleSequence.GetHashCode(); + if (this.PromotionPriceDerivationRuleResolution != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleResolution.GetHashCode(); + if (this.PromotionPriceDerivationRuleTypeCode != null) + hashCode = hashCode * 59 + this.PromotionPriceDerivationRuleTypeCode.GetHashCode(); + if (this.PriceModificationMethodCode != null) + hashCode = hashCode * 59 + this.PriceModificationMethodCode.GetHashCode(); + if (this.PriceDerivationRuleDescription != null) + hashCode = hashCode * 59 + this.PriceDerivationRuleDescription.GetHashCode(); + if (this.PromotionOriginatorTypeCode != null) + hashCode = hashCode * 59 + this.PromotionOriginatorTypeCode.GetHashCode(); + if (this.ExternalPromotionID != null) + hashCode = hashCode * 59 + this.ExternalPromotionID.GetHashCode(); + if (this.ExternalPriceDerivationRuleID != null) + hashCode = hashCode * 59 + this.ExternalPriceDerivationRuleID.GetHashCode(); + if (this.TriggerQuantity != null) + hashCode = hashCode * 59 + this.TriggerQuantity.GetHashCode(); + if (this.GiftCertificateExpirationDate != null) + hashCode = hashCode * 59 + this.GiftCertificateExpirationDate.GetHashCode(); + if (this.DiscountMethodCode != null) + hashCode = hashCode * 59 + this.DiscountMethodCode.GetHashCode(); + if (this.ProhibitPrintFlag != null) + hashCode = hashCode * 59 + this.ProhibitPrintFlag.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.PromotionTypeName != null) + hashCode = hashCode * 59 + this.PromotionTypeName.GetHashCode(); + if (this.CalculationBase != null) + hashCode = hashCode * 59 + this.CalculationBase.GetHashCode(); + if (this.NoEffectOnSubsequentPriceDerivationRulesFlag != null) + hashCode = hashCode * 59 + this.NoEffectOnSubsequentPriceDerivationRulesFlag.GetHashCode(); + if (this.ProhibitTransactionRelatedPriceDerivationRulesFlag != null) + hashCode = hashCode * 59 + this.ProhibitTransactionRelatedPriceDerivationRulesFlag.GetHashCode(); + if (this.CouponPrintoutID != null) + hashCode = hashCode * 59 + this.CouponPrintoutID.GetHashCode(); + if (this.CouponPrintoutRule != null) + hashCode = hashCode * 59 + this.CouponPrintoutRule.GetHashCode(); + if (this.CouponPrintoutText != null) + hashCode = hashCode * 59 + this.CouponPrintoutText.GetHashCode(); + if (this.ExclusiveFlag != null) + hashCode = hashCode * 59 + this.ExclusiveFlag.GetHashCode(); + if (this.ConcurrenceControlVector != null) + hashCode = hashCode * 59 + this.ConcurrenceControlVector.GetHashCode(); + if (this.AppliedCount != null) + hashCode = hashCode * 59 + this.AppliedCount.GetHashCode(); + if (this.PrintoutValidityPeriod != null) + hashCode = hashCode * 59 + this.PrintoutValidityPeriod.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..0a2e11ad42aaab7c1248e91f84e066e52d1b8b4a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger.cs @@ -0,0 +1,289 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemPromotionTrigger <p>Promotion trigger for a sale return line item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> (required). + /// <p>The type of the trigger (referencing to POS configuration).</p> (required). + /// <p>The value of the trigger (referencing to POS configuration).</p> (required). + /// <p>Defines the method for price modification.</p> (required). + /// <p>Reduction amount, reduction percent or new price amount.</p> (required). + /// <p>Reason code for the manual discount.</p>. + /// <p>A narrative description describing the manual discount reason.</p>. + /// <p>A value which is to be added to the sequence of the condition (which comes from the master data).</p>. + public ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger(int? triggerSequenceNumber = default(int?), string triggerType = default(string), string triggerValue = default(string), string privilegeType = default(string), double? privilegeValue = default(double?), string reasonCode = default(string), string reasonDescription = default(string), string triggerSequenceAddend = default(string)) + { + // to ensure "triggerSequenceNumber" is required (not null) + if (triggerSequenceNumber == null) + { + throw new InvalidDataException("triggerSequenceNumber is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.TriggerSequenceNumber = triggerSequenceNumber; + } + // to ensure "triggerType" is required (not null) + if (triggerType == null) + { + throw new InvalidDataException("triggerType is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.TriggerType = triggerType; + } + // to ensure "triggerValue" is required (not null) + if (triggerValue == null) + { + throw new InvalidDataException("triggerValue is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.TriggerValue = triggerValue; + } + // to ensure "privilegeType" is required (not null) + if (privilegeType == null) + { + throw new InvalidDataException("privilegeType is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.PrivilegeType = privilegeType; + } + // to ensure "privilegeValue" is required (not null) + if (privilegeValue == null) + { + throw new InvalidDataException("privilegeValue is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger and cannot be null"); + } + else + { + this.PrivilegeValue = privilegeValue; + } + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.TriggerSequenceAddend = triggerSequenceAddend; + } + + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + [DataMember(Name="triggerSequenceNumber", EmitDefaultValue=false)] + public int? TriggerSequenceNumber { get; set; } + + /// + /// <p>The type of the trigger (referencing to POS configuration).</p> + /// + /// <p>The type of the trigger (referencing to POS configuration).</p> + [DataMember(Name="TriggerType", EmitDefaultValue=false)] + public string TriggerType { get; set; } + + /// + /// <p>The value of the trigger (referencing to POS configuration).</p> + /// + /// <p>The value of the trigger (referencing to POS configuration).</p> + [DataMember(Name="TriggerValue", EmitDefaultValue=false)] + public string TriggerValue { get; set; } + + /// + /// <p>Defines the method for price modification.</p> + /// + /// <p>Defines the method for price modification.</p> + [DataMember(Name="PrivilegeType", EmitDefaultValue=false)] + public string PrivilegeType { get; set; } + + /// + /// <p>Reduction amount, reduction percent or new price amount.</p> + /// + /// <p>Reduction amount, reduction percent or new price amount.</p> + [DataMember(Name="PrivilegeValue", EmitDefaultValue=false)] + public double? PrivilegeValue { get; set; } + + /// + /// <p>Reason code for the manual discount.</p> + /// + /// <p>Reason code for the manual discount.</p> + [DataMember(Name="ReasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>A narrative description describing the manual discount reason.</p> + /// + /// <p>A narrative description describing the manual discount reason.</p> + [DataMember(Name="ReasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>A value which is to be added to the sequence of the condition (which comes from the master data).</p> + /// + /// <p>A value which is to be added to the sequence of the condition (which comes from the master data).</p> + [DataMember(Name="TriggerSequenceAddend", EmitDefaultValue=false)] + public string TriggerSequenceAddend { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger {\n"); + sb.Append(" TriggerSequenceNumber: ").Append(TriggerSequenceNumber).Append("\n"); + sb.Append(" TriggerType: ").Append(TriggerType).Append("\n"); + sb.Append(" TriggerValue: ").Append(TriggerValue).Append("\n"); + sb.Append(" PrivilegeType: ").Append(PrivilegeType).Append("\n"); + sb.Append(" PrivilegeValue: ").Append(PrivilegeValue).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" TriggerSequenceAddend: ").Append(TriggerSequenceAddend).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger input) + { + if (input == null) + return false; + + return + ( + this.TriggerSequenceNumber == input.TriggerSequenceNumber || + (this.TriggerSequenceNumber != null && + this.TriggerSequenceNumber.Equals(input.TriggerSequenceNumber)) + ) && + ( + this.TriggerType == input.TriggerType || + (this.TriggerType != null && + this.TriggerType.Equals(input.TriggerType)) + ) && + ( + this.TriggerValue == input.TriggerValue || + (this.TriggerValue != null && + this.TriggerValue.Equals(input.TriggerValue)) + ) && + ( + this.PrivilegeType == input.PrivilegeType || + (this.PrivilegeType != null && + this.PrivilegeType.Equals(input.PrivilegeType)) + ) && + ( + this.PrivilegeValue == input.PrivilegeValue || + (this.PrivilegeValue != null && + this.PrivilegeValue.Equals(input.PrivilegeValue)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.TriggerSequenceAddend == input.TriggerSequenceAddend || + (this.TriggerSequenceAddend != null && + this.TriggerSequenceAddend.Equals(input.TriggerSequenceAddend)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TriggerSequenceNumber != null) + hashCode = hashCode * 59 + this.TriggerSequenceNumber.GetHashCode(); + if (this.TriggerType != null) + hashCode = hashCode * 59 + this.TriggerType.GetHashCode(); + if (this.TriggerValue != null) + hashCode = hashCode * 59 + this.TriggerValue.GetHashCode(); + if (this.PrivilegeType != null) + hashCode = hashCode * 59 + this.PrivilegeType.GetHashCode(); + if (this.PrivilegeValue != null) + hashCode = hashCode * 59 + this.PrivilegeValue.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.TriggerSequenceAddend != null) + hashCode = hashCode * 59 + this.TriggerSequenceAddend.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e71cb636c9aae64313ab84135974956bb1216ffa --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey.cs @@ -0,0 +1,213 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnTaxLineItemKey <p>Key identifier for sale return tax line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> (required). + /// <p>A universally unique identifier (UUID) for the Transaction.</p> (required). + /// <p>The sequence number of line item within the context of a retail transaction.</p> (required). + /// <p>Line item sequence number of the tax entry.</p> (required). + public ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? retailTransactionLineItemSequenceNumber = default(int?), int? taxSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "retailTransactionLineItemSequenceNumber" is required (not null) + if (retailTransactionLineItemSequenceNumber == null) + { + throw new InvalidDataException("retailTransactionLineItemSequenceNumber is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.RetailTransactionLineItemSequenceNumber = retailTransactionLineItemSequenceNumber; + } + // to ensure "taxSequenceNumber" is required (not null) + if (taxSequenceNumber == null) + { + throw new InvalidDataException("taxSequenceNumber is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey and cannot be null"); + } + else + { + this.TaxSequenceNumber = taxSequenceNumber; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>The sequence number of line item within the context of a retail transaction.</p> + /// + /// <p>The sequence number of line item within the context of a retail transaction.</p> + [DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)] + public int? RetailTransactionLineItemSequenceNumber { get; set; } + + /// + /// <p>Line item sequence number of the tax entry.</p> + /// + /// <p>Line item sequence number of the tax entry.</p> + [DataMember(Name="taxSequenceNumber", EmitDefaultValue=false)] + public int? TaxSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" RetailTransactionLineItemSequenceNumber: ").Append(RetailTransactionLineItemSequenceNumber).Append("\n"); + sb.Append(" TaxSequenceNumber: ").Append(TaxSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber || + (this.RetailTransactionLineItemSequenceNumber != null && + this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber)) + ) && + ( + this.TaxSequenceNumber == input.TaxSequenceNumber || + (this.TaxSequenceNumber != null && + this.TaxSequenceNumber.Equals(input.TaxSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.RetailTransactionLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemSequenceNumber.GetHashCode(); + if (this.TaxSequenceNumber != null) + hashCode = hashCode * 59 + this.TaxSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b8e7d4376861a36d7d8436bcacbfc70acc5ea923 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAuthorizationKey <p>Key identifier for tender authorization.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> (required). + /// <p>A universally unique identifier (UUID) for the Transaction.</p> (required). + /// <p>A unique sequence number for this TenderAuthorization. <br /> Note: A particular TenderLineItem may have more than one TenderAuthorization attempt.</p> (required). + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? tenderAuthorizationSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "tenderAuthorizationSequenceNumber" is required (not null) + if (tenderAuthorizationSequenceNumber == null) + { + throw new InvalidDataException("tenderAuthorizationSequenceNumber is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey and cannot be null"); + } + else + { + this.TenderAuthorizationSequenceNumber = tenderAuthorizationSequenceNumber; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>A unique sequence number for this TenderAuthorization. <br /> Note: A particular TenderLineItem may have more than one TenderAuthorization attempt.</p> + /// + /// <p>A unique sequence number for this TenderAuthorization. <br /> Note: A particular TenderLineItem may have more than one TenderAuthorization attempt.</p> + [DataMember(Name="tenderAuthorizationSequenceNumber", EmitDefaultValue=false)] + public int? TenderAuthorizationSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TenderAuthorizationSequenceNumber: ").Append(TenderAuthorizationSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TenderAuthorizationSequenceNumber == input.TenderAuthorizationSequenceNumber || + (this.TenderAuthorizationSequenceNumber != null && + this.TenderAuthorizationSequenceNumber.Equals(input.TenderAuthorizationSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TenderAuthorizationSequenceNumber != null) + hashCode = hashCode * 59 + this.TenderAuthorizationSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ad14e2da6e419405c35bba2df05bfaea9709ea24 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillDoKey <p>Key identifier for tills.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> (required). + /// <p>The unique identifier of a till.</p> (required). + public ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey(string businessUnitGroupID = default(string), string tillID = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "tillID" is required (not null) + if (tillID == null) + { + throw new InvalidDataException("tillID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey and cannot be null"); + } + else + { + this.TillID = tillID; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The unique identifier of a till.</p> + /// + /// <p>The unique identifier of a till.</p> + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c5a0677ac983936b55f823c4114159c7e1c3efce --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionAdditionalPrintoutKey <p>Key identifier for transaction additional printouts.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> (required). + /// <p>A universally unique identifier (UUID) for the Transaction.</p> (required). + /// <p>Line item sequence number corresponding to the additional printout.</p> (required). + public ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey(string businessUnitGroupID = default(string), string transactionID = default(string), int? printoutSequenceNumber = default(int?)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "printoutSequenceNumber" is required (not null) + if (printoutSequenceNumber == null) + { + throw new InvalidDataException("printoutSequenceNumber is a required property for ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey and cannot be null"); + } + else + { + this.PrintoutSequenceNumber = printoutSequenceNumber; + } + } + + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>Line item sequence number corresponding to the additional printout.</p> + /// + /// <p>Line item sequence number corresponding to the additional printout.</p> + [DataMember(Name="printoutSequenceNumber", EmitDefaultValue=false)] + public int? PrintoutSequenceNumber { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" PrintoutSequenceNumber: ").Append(PrintoutSequenceNumber).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.PrintoutSequenceNumber == input.PrintoutSequenceNumber || + (this.PrintoutSequenceNumber != null && + this.PrintoutSequenceNumber.Equals(input.PrintoutSequenceNumber)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.PrintoutSequenceNumber != null) + hashCode = hashCode * 59 + this.PrintoutSequenceNumber.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistration.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistration.cs new file mode 100644 index 0000000000000000000000000000000000000000..93cb59e737314d0612a3cabee9a7db7c877aee95 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistration.cs @@ -0,0 +1,632 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRegistration TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppTenderTenderRegistration : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppTenderTenderRegistration() { } + /// + /// Initializes a new instance of the class. + /// + /// baseCurrencyNotesAmount (required). + /// baseCurrencyCoinsAmount (required). + /// baseCurrencyRollsAmount (required). + /// baseCurrencyCashAmount (required). + /// foreignCurrenciesCashAmount (required). + /// otherTendersAmount (required). + /// totalAmount (required). + /// defaultCurrencyAmount (required). + /// foreignCurrencyAmounts (required). + /// otherTenders (required). + /// tenderAmounts (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistration(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyNotesAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount), ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyCoinsAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount), ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyRollsAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount), ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyCashAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount), ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount foreignCurrenciesCashAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount), ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount otherTendersAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount), ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount totalAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount), ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount defaultCurrencyAmount = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount), List foreignCurrencyAmounts = default(List), List otherTenders = default(List), List tenderAmounts = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "baseCurrencyNotesAmount" is required (not null) + if (baseCurrencyNotesAmount == null) + { + throw new InvalidDataException("baseCurrencyNotesAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.BaseCurrencyNotesAmount = baseCurrencyNotesAmount; + } + // to ensure "baseCurrencyCoinsAmount" is required (not null) + if (baseCurrencyCoinsAmount == null) + { + throw new InvalidDataException("baseCurrencyCoinsAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.BaseCurrencyCoinsAmount = baseCurrencyCoinsAmount; + } + // to ensure "baseCurrencyRollsAmount" is required (not null) + if (baseCurrencyRollsAmount == null) + { + throw new InvalidDataException("baseCurrencyRollsAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.BaseCurrencyRollsAmount = baseCurrencyRollsAmount; + } + // to ensure "baseCurrencyCashAmount" is required (not null) + if (baseCurrencyCashAmount == null) + { + throw new InvalidDataException("baseCurrencyCashAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.BaseCurrencyCashAmount = baseCurrencyCashAmount; + } + // to ensure "foreignCurrenciesCashAmount" is required (not null) + if (foreignCurrenciesCashAmount == null) + { + throw new InvalidDataException("foreignCurrenciesCashAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.ForeignCurrenciesCashAmount = foreignCurrenciesCashAmount; + } + // to ensure "otherTendersAmount" is required (not null) + if (otherTendersAmount == null) + { + throw new InvalidDataException("otherTendersAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.OtherTendersAmount = otherTendersAmount; + } + // to ensure "totalAmount" is required (not null) + if (totalAmount == null) + { + throw new InvalidDataException("totalAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.TotalAmount = totalAmount; + } + // to ensure "defaultCurrencyAmount" is required (not null) + if (defaultCurrencyAmount == null) + { + throw new InvalidDataException("defaultCurrencyAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.DefaultCurrencyAmount = defaultCurrencyAmount; + } + // to ensure "foreignCurrencyAmounts" is required (not null) + if (foreignCurrencyAmounts == null) + { + throw new InvalidDataException("foreignCurrencyAmounts is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.ForeignCurrencyAmounts = foreignCurrencyAmounts; + } + // to ensure "otherTenders" is required (not null) + if (otherTenders == null) + { + throw new InvalidDataException("otherTenders is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.OtherTenders = otherTenders; + } + // to ensure "tenderAmounts" is required (not null) + if (tenderAmounts == null) + { + throw new InvalidDataException("tenderAmounts is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistration and cannot be null"); + } + else + { + this.TenderAmounts = tenderAmounts; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets BaseCurrencyNotesAmount + /// + [DataMember(Name="baseCurrencyNotesAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount BaseCurrencyNotesAmount { get; set; } + + /// + /// Gets or Sets BaseCurrencyCoinsAmount + /// + [DataMember(Name="baseCurrencyCoinsAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount BaseCurrencyCoinsAmount { get; set; } + + /// + /// Gets or Sets BaseCurrencyRollsAmount + /// + [DataMember(Name="baseCurrencyRollsAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount BaseCurrencyRollsAmount { get; set; } + + /// + /// Gets or Sets BaseCurrencyCashAmount + /// + [DataMember(Name="baseCurrencyCashAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount BaseCurrencyCashAmount { get; set; } + + /// + /// Gets or Sets ForeignCurrenciesCashAmount + /// + [DataMember(Name="foreignCurrenciesCashAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount ForeignCurrenciesCashAmount { get; set; } + + /// + /// Gets or Sets OtherTendersAmount + /// + [DataMember(Name="otherTendersAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount OtherTendersAmount { get; set; } + + /// + /// Gets or Sets TotalAmount + /// + [DataMember(Name="totalAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount TotalAmount { get; set; } + + /// + /// Gets or Sets DefaultCurrencyAmount + /// + [DataMember(Name="defaultCurrencyAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount DefaultCurrencyAmount { get; set; } + + /// + /// Gets or Sets ForeignCurrencyAmounts + /// + [DataMember(Name="foreignCurrencyAmounts", EmitDefaultValue=false)] + public List ForeignCurrencyAmounts { get; set; } + + /// + /// Gets or Sets OtherTenders + /// + [DataMember(Name="otherTenders", EmitDefaultValue=false)] + public List OtherTenders { get; set; } + + /// + /// Gets or Sets TenderAmounts + /// + [DataMember(Name="tenderAmounts", EmitDefaultValue=false)] + public List TenderAmounts { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppTenderTenderRegistration {\n"); + sb.Append(" BaseCurrencyNotesAmount: ").Append(BaseCurrencyNotesAmount).Append("\n"); + sb.Append(" BaseCurrencyCoinsAmount: ").Append(BaseCurrencyCoinsAmount).Append("\n"); + sb.Append(" BaseCurrencyRollsAmount: ").Append(BaseCurrencyRollsAmount).Append("\n"); + sb.Append(" BaseCurrencyCashAmount: ").Append(BaseCurrencyCashAmount).Append("\n"); + sb.Append(" ForeignCurrenciesCashAmount: ").Append(ForeignCurrenciesCashAmount).Append("\n"); + sb.Append(" OtherTendersAmount: ").Append(OtherTendersAmount).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" DefaultCurrencyAmount: ").Append(DefaultCurrencyAmount).Append("\n"); + sb.Append(" ForeignCurrencyAmounts: ").Append(ForeignCurrencyAmounts).Append("\n"); + sb.Append(" OtherTenders: ").Append(OtherTenders).Append("\n"); + sb.Append(" TenderAmounts: ").Append(TenderAmounts).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppTenderTenderRegistration); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppTenderTenderRegistration instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppTenderTenderRegistration to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppTenderTenderRegistration input) + { + if (input == null) + return false; + + return + ( + this.BaseCurrencyNotesAmount == input.BaseCurrencyNotesAmount || + (this.BaseCurrencyNotesAmount != null && + this.BaseCurrencyNotesAmount.Equals(input.BaseCurrencyNotesAmount)) + ) && + ( + this.BaseCurrencyCoinsAmount == input.BaseCurrencyCoinsAmount || + (this.BaseCurrencyCoinsAmount != null && + this.BaseCurrencyCoinsAmount.Equals(input.BaseCurrencyCoinsAmount)) + ) && + ( + this.BaseCurrencyRollsAmount == input.BaseCurrencyRollsAmount || + (this.BaseCurrencyRollsAmount != null && + this.BaseCurrencyRollsAmount.Equals(input.BaseCurrencyRollsAmount)) + ) && + ( + this.BaseCurrencyCashAmount == input.BaseCurrencyCashAmount || + (this.BaseCurrencyCashAmount != null && + this.BaseCurrencyCashAmount.Equals(input.BaseCurrencyCashAmount)) + ) && + ( + this.ForeignCurrenciesCashAmount == input.ForeignCurrenciesCashAmount || + (this.ForeignCurrenciesCashAmount != null && + this.ForeignCurrenciesCashAmount.Equals(input.ForeignCurrenciesCashAmount)) + ) && + ( + this.OtherTendersAmount == input.OtherTendersAmount || + (this.OtherTendersAmount != null && + this.OtherTendersAmount.Equals(input.OtherTendersAmount)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.DefaultCurrencyAmount == input.DefaultCurrencyAmount || + (this.DefaultCurrencyAmount != null && + this.DefaultCurrencyAmount.Equals(input.DefaultCurrencyAmount)) + ) && + ( + this.ForeignCurrencyAmounts == input.ForeignCurrencyAmounts || + this.ForeignCurrencyAmounts != null && + this.ForeignCurrencyAmounts.SequenceEqual(input.ForeignCurrencyAmounts) + ) && + ( + this.OtherTenders == input.OtherTenders || + this.OtherTenders != null && + this.OtherTenders.SequenceEqual(input.OtherTenders) + ) && + ( + this.TenderAmounts == input.TenderAmounts || + this.TenderAmounts != null && + this.TenderAmounts.SequenceEqual(input.TenderAmounts) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BaseCurrencyNotesAmount != null) + hashCode = hashCode * 59 + this.BaseCurrencyNotesAmount.GetHashCode(); + if (this.BaseCurrencyCoinsAmount != null) + hashCode = hashCode * 59 + this.BaseCurrencyCoinsAmount.GetHashCode(); + if (this.BaseCurrencyRollsAmount != null) + hashCode = hashCode * 59 + this.BaseCurrencyRollsAmount.GetHashCode(); + if (this.BaseCurrencyCashAmount != null) + hashCode = hashCode * 59 + this.BaseCurrencyCashAmount.GetHashCode(); + if (this.ForeignCurrenciesCashAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrenciesCashAmount.GetHashCode(); + if (this.OtherTendersAmount != null) + hashCode = hashCode * 59 + this.OtherTendersAmount.GetHashCode(); + if (this.TotalAmount != null) + hashCode = hashCode * 59 + this.TotalAmount.GetHashCode(); + if (this.DefaultCurrencyAmount != null) + hashCode = hashCode * 59 + this.DefaultCurrencyAmount.GetHashCode(); + if (this.ForeignCurrencyAmounts != null) + hashCode = hashCode * 59 + this.ForeignCurrencyAmounts.GetHashCode(); + if (this.OtherTenders != null) + hashCode = hashCode * 59 + this.OtherTenders.GetHashCode(); + if (this.TenderAmounts != null) + hashCode = hashCode * 59 + this.TenderAmounts.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender.cs new file mode 100644 index 0000000000000000000000000000000000000000..a8dbc9c4bc45ef1e6a4ef74d9baca85dcb39c3ff --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender.cs @@ -0,0 +1,464 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRegistrationCashTender TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender() { } + /// + /// Initializes a new instance of the class. + /// + /// quantity (required). + /// denominationPieceValue (required). + /// denominationDescription (required). + /// amount (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender(int? quantity = default(int?), double? denominationPieceValue = default(double?), string denominationDescription = default(string), double? amount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender and cannot be null"); + } + else + { + this.Quantity = quantity; + } + // to ensure "denominationPieceValue" is required (not null) + if (denominationPieceValue == null) + { + throw new InvalidDataException("denominationPieceValue is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender and cannot be null"); + } + else + { + this.DenominationPieceValue = denominationPieceValue; + } + // to ensure "denominationDescription" is required (not null) + if (denominationDescription == null) + { + throw new InvalidDataException("denominationDescription is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender and cannot be null"); + } + else + { + this.DenominationDescription = denominationDescription; + } + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender and cannot be null"); + } + else + { + this.Amount = amount; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Quantity + /// + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// Gets or Sets DenominationPieceValue + /// + [DataMember(Name="denominationPieceValue", EmitDefaultValue=false)] + public double? DenominationPieceValue { get; set; } + + /// + /// Gets or Sets DenominationDescription + /// + [DataMember(Name="denominationDescription", EmitDefaultValue=false)] + public string DenominationDescription { get; set; } + + /// + /// Gets or Sets Amount + /// + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender {\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" DenominationPieceValue: ").Append(DenominationPieceValue).Append("\n"); + sb.Append(" DenominationDescription: ").Append(DenominationDescription).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender input) + { + if (input == null) + return false; + + return + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.DenominationPieceValue == input.DenominationPieceValue || + (this.DenominationPieceValue != null && + this.DenominationPieceValue.Equals(input.DenominationPieceValue)) + ) && + ( + this.DenominationDescription == input.DenominationDescription || + (this.DenominationDescription != null && + this.DenominationDescription.Equals(input.DenominationDescription)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.DenominationPieceValue != null) + hashCode = hashCode * 59 + this.DenominationPieceValue.GetHashCode(); + if (this.DenominationDescription != null) + hashCode = hashCode * 59 + this.DenominationDescription.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..5207859a165454f7fafa057cf3275c407b5243e6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount.cs @@ -0,0 +1,656 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRegistrationDefaultCurrencyTenderAmount TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount() { } + /// + /// Initializes a new instance of the class. + /// + /// tender (required). + /// tenderDescription (required). + /// amount (required). + /// currencySymbol (required). + /// foreignCurrencyAmount (required). + /// foreignCurrencyCode (required). + /// foreignCurrencySymbol (required). + /// formattedValue (required). + /// notes (required). + /// coins (required). + /// rolls (required). + /// amounts (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), string tenderDescription = default(string), double? amount = default(double?), string currencySymbol = default(string), double? foreignCurrencyAmount = default(double?), string foreignCurrencyCode = default(string), string foreignCurrencySymbol = default(string), string formattedValue = default(string), List notes = default(List), List coins = default(List), List rolls = default(List), List amounts = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "tender" is required (not null) + if (tender == null) + { + throw new InvalidDataException("tender is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.Tender = tender; + } + // to ensure "tenderDescription" is required (not null) + if (tenderDescription == null) + { + throw new InvalidDataException("tenderDescription is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.TenderDescription = tenderDescription; + } + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.Amount = amount; + } + // to ensure "currencySymbol" is required (not null) + if (currencySymbol == null) + { + throw new InvalidDataException("currencySymbol is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.CurrencySymbol = currencySymbol; + } + // to ensure "foreignCurrencyAmount" is required (not null) + if (foreignCurrencyAmount == null) + { + throw new InvalidDataException("foreignCurrencyAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.ForeignCurrencyAmount = foreignCurrencyAmount; + } + // to ensure "foreignCurrencyCode" is required (not null) + if (foreignCurrencyCode == null) + { + throw new InvalidDataException("foreignCurrencyCode is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.ForeignCurrencyCode = foreignCurrencyCode; + } + // to ensure "foreignCurrencySymbol" is required (not null) + if (foreignCurrencySymbol == null) + { + throw new InvalidDataException("foreignCurrencySymbol is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.ForeignCurrencySymbol = foreignCurrencySymbol; + } + // to ensure "formattedValue" is required (not null) + if (formattedValue == null) + { + throw new InvalidDataException("formattedValue is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.FormattedValue = formattedValue; + } + // to ensure "notes" is required (not null) + if (notes == null) + { + throw new InvalidDataException("notes is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.Notes = notes; + } + // to ensure "coins" is required (not null) + if (coins == null) + { + throw new InvalidDataException("coins is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.Coins = coins; + } + // to ensure "rolls" is required (not null) + if (rolls == null) + { + throw new InvalidDataException("rolls is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.Rolls = rolls; + } + // to ensure "amounts" is required (not null) + if (amounts == null) + { + throw new InvalidDataException("amounts is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount and cannot be null"); + } + else + { + this.Amounts = amounts; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Tender + /// + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// Gets or Sets TenderDescription + /// + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// Gets or Sets Amount + /// + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// Gets or Sets CurrencySymbol + /// + [DataMember(Name="currencySymbol", EmitDefaultValue=false)] + public string CurrencySymbol { get; set; } + + /// + /// Gets or Sets ForeignCurrencyAmount + /// + [DataMember(Name="foreignCurrencyAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyAmount { get; set; } + + /// + /// Gets or Sets ForeignCurrencyCode + /// + [DataMember(Name="foreignCurrencyCode", EmitDefaultValue=false)] + public string ForeignCurrencyCode { get; set; } + + /// + /// Gets or Sets ForeignCurrencySymbol + /// + [DataMember(Name="foreignCurrencySymbol", EmitDefaultValue=false)] + public string ForeignCurrencySymbol { get; set; } + + /// + /// Gets or Sets FormattedValue + /// + [DataMember(Name="formattedValue", EmitDefaultValue=false)] + public string FormattedValue { get; set; } + + /// + /// Gets or Sets Notes + /// + [DataMember(Name="notes", EmitDefaultValue=false)] + public List Notes { get; set; } + + /// + /// Gets or Sets Coins + /// + [DataMember(Name="coins", EmitDefaultValue=false)] + public List Coins { get; set; } + + /// + /// Gets or Sets Rolls + /// + [DataMember(Name="rolls", EmitDefaultValue=false)] + public List Rolls { get; set; } + + /// + /// Gets or Sets Amounts + /// + [DataMember(Name="amounts", EmitDefaultValue=false)] + public List Amounts { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount {\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" CurrencySymbol: ").Append(CurrencySymbol).Append("\n"); + sb.Append(" ForeignCurrencyAmount: ").Append(ForeignCurrencyAmount).Append("\n"); + sb.Append(" ForeignCurrencyCode: ").Append(ForeignCurrencyCode).Append("\n"); + sb.Append(" ForeignCurrencySymbol: ").Append(ForeignCurrencySymbol).Append("\n"); + sb.Append(" FormattedValue: ").Append(FormattedValue).Append("\n"); + sb.Append(" Notes: ").Append(Notes).Append("\n"); + sb.Append(" Coins: ").Append(Coins).Append("\n"); + sb.Append(" Rolls: ").Append(Rolls).Append("\n"); + sb.Append(" Amounts: ").Append(Amounts).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount input) + { + if (input == null) + return false; + + return + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.CurrencySymbol == input.CurrencySymbol || + (this.CurrencySymbol != null && + this.CurrencySymbol.Equals(input.CurrencySymbol)) + ) && + ( + this.ForeignCurrencyAmount == input.ForeignCurrencyAmount || + (this.ForeignCurrencyAmount != null && + this.ForeignCurrencyAmount.Equals(input.ForeignCurrencyAmount)) + ) && + ( + this.ForeignCurrencyCode == input.ForeignCurrencyCode || + (this.ForeignCurrencyCode != null && + this.ForeignCurrencyCode.Equals(input.ForeignCurrencyCode)) + ) && + ( + this.ForeignCurrencySymbol == input.ForeignCurrencySymbol || + (this.ForeignCurrencySymbol != null && + this.ForeignCurrencySymbol.Equals(input.ForeignCurrencySymbol)) + ) && + ( + this.FormattedValue == input.FormattedValue || + (this.FormattedValue != null && + this.FormattedValue.Equals(input.FormattedValue)) + ) && + ( + this.Notes == input.Notes || + this.Notes != null && + this.Notes.SequenceEqual(input.Notes) + ) && + ( + this.Coins == input.Coins || + this.Coins != null && + this.Coins.SequenceEqual(input.Coins) + ) && + ( + this.Rolls == input.Rolls || + this.Rolls != null && + this.Rolls.SequenceEqual(input.Rolls) + ) && + ( + this.Amounts == input.Amounts || + this.Amounts != null && + this.Amounts.SequenceEqual(input.Amounts) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.CurrencySymbol != null) + hashCode = hashCode * 59 + this.CurrencySymbol.GetHashCode(); + if (this.ForeignCurrencyAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyAmount.GetHashCode(); + if (this.ForeignCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCode.GetHashCode(); + if (this.ForeignCurrencySymbol != null) + hashCode = hashCode * 59 + this.ForeignCurrencySymbol.GetHashCode(); + if (this.FormattedValue != null) + hashCode = hashCode * 59 + this.FormattedValue.GetHashCode(); + if (this.Notes != null) + hashCode = hashCode * 59 + this.Notes.GetHashCode(); + if (this.Coins != null) + hashCode = hashCode * 59 + this.Coins.GetHashCode(); + if (this.Rolls != null) + hashCode = hashCode * 59 + this.Rolls.GetHashCode(); + if (this.Amounts != null) + hashCode = hashCode * 59 + this.Amounts.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0078e31d765129c8ca2fa382f52fa8254cd3bbd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount.cs @@ -0,0 +1,440 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRegistrationFormattedAmount TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount() { } + /// + /// Initializes a new instance of the class. + /// + /// value (required). + /// formattedValue (required). + /// currencyCode (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount(double? value = default(double?), string formattedValue = default(string), string currencyCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "value" is required (not null) + if (value == null) + { + throw new InvalidDataException("value is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount and cannot be null"); + } + else + { + this.Value = value; + } + // to ensure "formattedValue" is required (not null) + if (formattedValue == null) + { + throw new InvalidDataException("formattedValue is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount and cannot be null"); + } + else + { + this.FormattedValue = formattedValue; + } + // to ensure "currencyCode" is required (not null) + if (currencyCode == null) + { + throw new InvalidDataException("currencyCode is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount and cannot be null"); + } + else + { + this.CurrencyCode = currencyCode; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Value + /// + [DataMember(Name="value", EmitDefaultValue=false)] + public double? Value { get; set; } + + /// + /// Gets or Sets FormattedValue + /// + [DataMember(Name="formattedValue", EmitDefaultValue=false)] + public string FormattedValue { get; set; } + + /// + /// Gets or Sets CurrencyCode + /// + [DataMember(Name="currencyCode", EmitDefaultValue=false)] + public string CurrencyCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount {\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append(" FormattedValue: ").Append(FormattedValue).Append("\n"); + sb.Append(" CurrencyCode: ").Append(CurrencyCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount input) + { + if (input == null) + return false; + + return + ( + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) + ) && + ( + this.FormattedValue == input.FormattedValue || + (this.FormattedValue != null && + this.FormattedValue.Equals(input.FormattedValue)) + ) && + ( + this.CurrencyCode == input.CurrencyCode || + (this.CurrencyCode != null && + this.CurrencyCode.Equals(input.CurrencyCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + if (this.FormattedValue != null) + hashCode = hashCode * 59 + this.FormattedValue.GetHashCode(); + if (this.CurrencyCode != null) + hashCode = hashCode * 59 + this.CurrencyCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll.cs new file mode 100644 index 0000000000000000000000000000000000000000..de05c585183af8e2c2f774a7f543cddbd91ccbfe --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll.cs @@ -0,0 +1,488 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRegistrationRoll TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll() { } + /// + /// Initializes a new instance of the class. + /// + /// quantity (required). + /// denominationPieceValue (required). + /// denominationDescription (required). + /// amount (required). + /// rollCapacity (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll(int? quantity = default(int?), double? denominationPieceValue = default(double?), string denominationDescription = default(string), double? amount = default(double?), int? rollCapacity = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll and cannot be null"); + } + else + { + this.Quantity = quantity; + } + // to ensure "denominationPieceValue" is required (not null) + if (denominationPieceValue == null) + { + throw new InvalidDataException("denominationPieceValue is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll and cannot be null"); + } + else + { + this.DenominationPieceValue = denominationPieceValue; + } + // to ensure "denominationDescription" is required (not null) + if (denominationDescription == null) + { + throw new InvalidDataException("denominationDescription is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll and cannot be null"); + } + else + { + this.DenominationDescription = denominationDescription; + } + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll and cannot be null"); + } + else + { + this.Amount = amount; + } + // to ensure "rollCapacity" is required (not null) + if (rollCapacity == null) + { + throw new InvalidDataException("rollCapacity is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll and cannot be null"); + } + else + { + this.RollCapacity = rollCapacity; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Quantity + /// + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// Gets or Sets DenominationPieceValue + /// + [DataMember(Name="denominationPieceValue", EmitDefaultValue=false)] + public double? DenominationPieceValue { get; set; } + + /// + /// Gets or Sets DenominationDescription + /// + [DataMember(Name="denominationDescription", EmitDefaultValue=false)] + public string DenominationDescription { get; set; } + + /// + /// Gets or Sets Amount + /// + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// Gets or Sets RollCapacity + /// + [DataMember(Name="rollCapacity", EmitDefaultValue=false)] + public int? RollCapacity { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll {\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" DenominationPieceValue: ").Append(DenominationPieceValue).Append("\n"); + sb.Append(" DenominationDescription: ").Append(DenominationDescription).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" RollCapacity: ").Append(RollCapacity).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll input) + { + if (input == null) + return false; + + return + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.DenominationPieceValue == input.DenominationPieceValue || + (this.DenominationPieceValue != null && + this.DenominationPieceValue.Equals(input.DenominationPieceValue)) + ) && + ( + this.DenominationDescription == input.DenominationDescription || + (this.DenominationDescription != null && + this.DenominationDescription.Equals(input.DenominationDescription)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.RollCapacity == input.RollCapacity || + (this.RollCapacity != null && + this.RollCapacity.Equals(input.RollCapacity)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.DenominationPieceValue != null) + hashCode = hashCode * 59 + this.DenominationPieceValue.GetHashCode(); + if (this.DenominationDescription != null) + hashCode = hashCode * 59 + this.DenominationDescription.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.RollCapacity != null) + hashCode = hashCode * 59 + this.RollCapacity.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..46c5c62f1ec1900cfa2980efe81bffa784085767 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount.cs @@ -0,0 +1,560 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRegistrationTenderAmount TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount() { } + /// + /// Initializes a new instance of the class. + /// + /// tender (required). + /// tenderDescription (required). + /// amount (required). + /// currencySymbol (required). + /// foreignCurrencyAmount (required). + /// foreignCurrencyCode (required). + /// foreignCurrencySymbol (required). + /// formattedValue (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), string tenderDescription = default(string), double? amount = default(double?), string currencySymbol = default(string), double? foreignCurrencyAmount = default(double?), string foreignCurrencyCode = default(string), string foreignCurrencySymbol = default(string), string formattedValue = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "tender" is required (not null) + if (tender == null) + { + throw new InvalidDataException("tender is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.Tender = tender; + } + // to ensure "tenderDescription" is required (not null) + if (tenderDescription == null) + { + throw new InvalidDataException("tenderDescription is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.TenderDescription = tenderDescription; + } + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.Amount = amount; + } + // to ensure "currencySymbol" is required (not null) + if (currencySymbol == null) + { + throw new InvalidDataException("currencySymbol is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.CurrencySymbol = currencySymbol; + } + // to ensure "foreignCurrencyAmount" is required (not null) + if (foreignCurrencyAmount == null) + { + throw new InvalidDataException("foreignCurrencyAmount is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.ForeignCurrencyAmount = foreignCurrencyAmount; + } + // to ensure "foreignCurrencyCode" is required (not null) + if (foreignCurrencyCode == null) + { + throw new InvalidDataException("foreignCurrencyCode is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.ForeignCurrencyCode = foreignCurrencyCode; + } + // to ensure "foreignCurrencySymbol" is required (not null) + if (foreignCurrencySymbol == null) + { + throw new InvalidDataException("foreignCurrencySymbol is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.ForeignCurrencySymbol = foreignCurrencySymbol; + } + // to ensure "formattedValue" is required (not null) + if (formattedValue == null) + { + throw new InvalidDataException("formattedValue is a required property for ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount and cannot be null"); + } + else + { + this.FormattedValue = formattedValue; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Tender + /// + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// Gets or Sets TenderDescription + /// + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// Gets or Sets Amount + /// + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// Gets or Sets CurrencySymbol + /// + [DataMember(Name="currencySymbol", EmitDefaultValue=false)] + public string CurrencySymbol { get; set; } + + /// + /// Gets or Sets ForeignCurrencyAmount + /// + [DataMember(Name="foreignCurrencyAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyAmount { get; set; } + + /// + /// Gets or Sets ForeignCurrencyCode + /// + [DataMember(Name="foreignCurrencyCode", EmitDefaultValue=false)] + public string ForeignCurrencyCode { get; set; } + + /// + /// Gets or Sets ForeignCurrencySymbol + /// + [DataMember(Name="foreignCurrencySymbol", EmitDefaultValue=false)] + public string ForeignCurrencySymbol { get; set; } + + /// + /// Gets or Sets FormattedValue + /// + [DataMember(Name="formattedValue", EmitDefaultValue=false)] + public string FormattedValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount {\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" CurrencySymbol: ").Append(CurrencySymbol).Append("\n"); + sb.Append(" ForeignCurrencyAmount: ").Append(ForeignCurrencyAmount).Append("\n"); + sb.Append(" ForeignCurrencyCode: ").Append(ForeignCurrencyCode).Append("\n"); + sb.Append(" ForeignCurrencySymbol: ").Append(ForeignCurrencySymbol).Append("\n"); + sb.Append(" FormattedValue: ").Append(FormattedValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount input) + { + if (input == null) + return false; + + return + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.CurrencySymbol == input.CurrencySymbol || + (this.CurrencySymbol != null && + this.CurrencySymbol.Equals(input.CurrencySymbol)) + ) && + ( + this.ForeignCurrencyAmount == input.ForeignCurrencyAmount || + (this.ForeignCurrencyAmount != null && + this.ForeignCurrencyAmount.Equals(input.ForeignCurrencyAmount)) + ) && + ( + this.ForeignCurrencyCode == input.ForeignCurrencyCode || + (this.ForeignCurrencyCode != null && + this.ForeignCurrencyCode.Equals(input.ForeignCurrencyCode)) + ) && + ( + this.ForeignCurrencySymbol == input.ForeignCurrencySymbol || + (this.ForeignCurrencySymbol != null && + this.ForeignCurrencySymbol.Equals(input.ForeignCurrencySymbol)) + ) && + ( + this.FormattedValue == input.FormattedValue || + (this.FormattedValue != null && + this.FormattedValue.Equals(input.FormattedValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.CurrencySymbol != null) + hashCode = hashCode * 59 + this.CurrencySymbol.GetHashCode(); + if (this.ForeignCurrencyAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyAmount.GetHashCode(); + if (this.ForeignCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignCurrencyCode.GetHashCode(); + if (this.ForeignCurrencySymbol != null) + hashCode = hashCode * 59 + this.ForeignCurrencySymbol.GetHashCode(); + if (this.FormattedValue != null) + hashCode = hashCode * 59 + this.FormattedValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData.cs new file mode 100644 index 0000000000000000000000000000000000000000..75ee6fbdf82ac410db6ab397db4afeb98ed6b764 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData.cs @@ -0,0 +1,540 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerInfoTransactionData TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// timeStamp. + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// transactionTime. + /// lineItems. + /// value. + /// storeId. + /// city. + /// id. + /// suspended. + /// suspendNumber. + /// totalAmount. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData(string timeStamp = default(string), string transactionDate = default(string), string transactionTime = default(string), string lineItems = default(string), double? value = default(double?), string storeId = default(string), string city = default(string), string id = default(string), bool? suspended = default(bool?), string suspendNumber = default(string), double? totalAmount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TimeStamp = timeStamp; + this.TransactionDate = transactionDate; + this.TransactionTime = transactionTime; + this.LineItems = lineItems; + this.Value = value; + this.StoreId = storeId; + this.City = city; + this.Id = id; + this.Suspended = suspended; + this.SuspendNumber = suspendNumber; + this.TotalAmount = totalAmount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets TimeStamp + /// + [DataMember(Name="timeStamp", EmitDefaultValue=false)] + public string TimeStamp { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="transactionDate", EmitDefaultValue=false)] + public string TransactionDate { get; set; } + + /// + /// Gets or Sets TransactionTime + /// + [DataMember(Name="transactionTime", EmitDefaultValue=false)] + public string TransactionTime { get; set; } + + /// + /// Gets or Sets LineItems + /// + [DataMember(Name="lineItems", EmitDefaultValue=false)] + public string LineItems { get; set; } + + /// + /// Gets or Sets Value + /// + [DataMember(Name="value", EmitDefaultValue=false)] + public double? Value { get; set; } + + /// + /// Gets or Sets StoreId + /// + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// Gets or Sets City + /// + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// Gets or Sets Id + /// + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Gets or Sets Suspended + /// + [DataMember(Name="suspended", EmitDefaultValue=false)] + public bool? Suspended { get; set; } + + /// + /// Gets or Sets SuspendNumber + /// + [DataMember(Name="suspendNumber", EmitDefaultValue=false)] + public string SuspendNumber { get; set; } + + /// + /// Gets or Sets TotalAmount + /// + [DataMember(Name="totalAmount", EmitDefaultValue=false)] + public double? TotalAmount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData {\n"); + sb.Append(" TimeStamp: ").Append(TimeStamp).Append("\n"); + sb.Append(" TransactionDate: ").Append(TransactionDate).Append("\n"); + sb.Append(" TransactionTime: ").Append(TransactionTime).Append("\n"); + sb.Append(" LineItems: ").Append(LineItems).Append("\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Suspended: ").Append(Suspended).Append("\n"); + sb.Append(" SuspendNumber: ").Append(SuspendNumber).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData input) + { + if (input == null) + return false; + + return + ( + this.TimeStamp == input.TimeStamp || + (this.TimeStamp != null && + this.TimeStamp.Equals(input.TimeStamp)) + ) && + ( + this.TransactionDate == input.TransactionDate || + (this.TransactionDate != null && + this.TransactionDate.Equals(input.TransactionDate)) + ) && + ( + this.TransactionTime == input.TransactionTime || + (this.TransactionTime != null && + this.TransactionTime.Equals(input.TransactionTime)) + ) && + ( + this.LineItems == input.LineItems || + (this.LineItems != null && + this.LineItems.Equals(input.LineItems)) + ) && + ( + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) + ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Suspended == input.Suspended || + (this.Suspended != null && + this.Suspended.Equals(input.Suspended)) + ) && + ( + this.SuspendNumber == input.SuspendNumber || + (this.SuspendNumber != null && + this.SuspendNumber.Equals(input.SuspendNumber)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TimeStamp != null) + hashCode = hashCode * 59 + this.TimeStamp.GetHashCode(); + if (this.TransactionDate != null) + hashCode = hashCode * 59 + this.TransactionDate.GetHashCode(); + if (this.TransactionTime != null) + hashCode = hashCode * 59 + this.TransactionTime.GetHashCode(); + if (this.LineItems != null) + hashCode = hashCode * 59 + this.LineItems.GetHashCode(); + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Suspended != null) + hashCode = hashCode * 59 + this.Suspended.GetHashCode(); + if (this.SuspendNumber != null) + hashCode = hashCode * 59 + this.SuspendNumber.GetHashCode(); + if (this.TotalAmount != null) + hashCode = hashCode * 59 + this.TotalAmount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView.cs new file mode 100644 index 0000000000000000000000000000000000000000..94941d22b969edba4aae73c665a495c04eb5d375 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView.cs @@ -0,0 +1,736 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionSearchView <p>Transaction search view entity.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// businessUnitGroupID. + /// transactionID. + /// operatorID. + /// workstationID. + /// businessUnitID. + /// businessUnitAddress. + /// sequenceNumber. + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// suspendedFlag. + /// suspendNumber. + /// totalAmount. + /// totalLineItemCount. + /// canceledFlag. + /// workerID. + /// workerFirstName. + /// workerLastName. + /// workerFullName. + /// transactionTypeCode. + /// transactionFactCriteriaTransactionTypeCode. + /// <p>The unique identifier of the till.</p>. + /// <p>The unique system assigned identifier for the Customer(Buyer).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView(string businessUnitGroupID = default(string), string transactionID = default(string), string operatorID = default(string), string workstationID = default(string), string businessUnitID = default(string), string businessUnitAddress = default(string), int? sequenceNumber = default(int?), string beginDateTimestamp = default(string), string endDateTimestamp = default(string), string transactionTimestamp = default(string), bool? suspendedFlag = default(bool?), string suspendNumber = default(string), double? totalAmount = default(double?), int? totalLineItemCount = default(int?), bool? canceledFlag = default(bool?), string workerID = default(string), string workerFirstName = default(string), string workerLastName = default(string), string workerFullName = default(string), string transactionTypeCode = default(string), string transactionFactCriteriaTransactionTypeCode = default(string), string tillID = default(string), string customerID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupID = businessUnitGroupID; + this.TransactionID = transactionID; + this.OperatorID = operatorID; + this.WorkstationID = workstationID; + this.BusinessUnitID = businessUnitID; + this.BusinessUnitAddress = businessUnitAddress; + this.SequenceNumber = sequenceNumber; + this.BeginDateTimestamp = beginDateTimestamp; + this.EndDateTimestamp = endDateTimestamp; + this.TransactionTimestamp = transactionTimestamp; + this.SuspendedFlag = suspendedFlag; + this.SuspendNumber = suspendNumber; + this.TotalAmount = totalAmount; + this.TotalLineItemCount = totalLineItemCount; + this.CanceledFlag = canceledFlag; + this.WorkerID = workerID; + this.WorkerFirstName = workerFirstName; + this.WorkerLastName = workerLastName; + this.WorkerFullName = workerFullName; + this.TransactionTypeCode = transactionTypeCode; + this.TransactionFactCriteriaTransactionTypeCode = transactionFactCriteriaTransactionTypeCode; + this.TillID = tillID; + this.CustomerID = customerID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets BusinessUnitGroupID + /// + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// Gets or Sets TransactionID + /// + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Gets or Sets OperatorID + /// + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// Gets or Sets WorkstationID + /// + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// Gets or Sets BusinessUnitID + /// + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// Gets or Sets BusinessUnitAddress + /// + [DataMember(Name="businessUnitAddress", EmitDefaultValue=false)] + public string BusinessUnitAddress { get; set; } + + /// + /// Gets or Sets SequenceNumber + /// + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="beginDateTimestamp", EmitDefaultValue=false)] + public string BeginDateTimestamp { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="endDateTimestamp", EmitDefaultValue=false)] + public string EndDateTimestamp { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="transactionTimestamp", EmitDefaultValue=false)] + public string TransactionTimestamp { get; set; } + + /// + /// Gets or Sets SuspendedFlag + /// + [DataMember(Name="suspendedFlag", EmitDefaultValue=false)] + public bool? SuspendedFlag { get; set; } + + /// + /// Gets or Sets SuspendNumber + /// + [DataMember(Name="suspendNumber", EmitDefaultValue=false)] + public string SuspendNumber { get; set; } + + /// + /// Gets or Sets TotalAmount + /// + [DataMember(Name="totalAmount", EmitDefaultValue=false)] + public double? TotalAmount { get; set; } + + /// + /// Gets or Sets TotalLineItemCount + /// + [DataMember(Name="totalLineItemCount", EmitDefaultValue=false)] + public int? TotalLineItemCount { get; set; } + + /// + /// Gets or Sets CanceledFlag + /// + [DataMember(Name="canceledFlag", EmitDefaultValue=false)] + public bool? CanceledFlag { get; set; } + + /// + /// Gets or Sets WorkerID + /// + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// Gets or Sets WorkerFirstName + /// + [DataMember(Name="workerFirstName", EmitDefaultValue=false)] + public string WorkerFirstName { get; set; } + + /// + /// Gets or Sets WorkerLastName + /// + [DataMember(Name="workerLastName", EmitDefaultValue=false)] + public string WorkerLastName { get; set; } + + /// + /// Gets or Sets WorkerFullName + /// + [DataMember(Name="workerFullName", EmitDefaultValue=false)] + public string WorkerFullName { get; set; } + + /// + /// Gets or Sets TransactionTypeCode + /// + [DataMember(Name="transactionTypeCode", EmitDefaultValue=false)] + public string TransactionTypeCode { get; set; } + + /// + /// Gets or Sets TransactionFactCriteriaTransactionTypeCode + /// + [DataMember(Name="transactionFactCriteriaTransactionTypeCode", EmitDefaultValue=false)] + public string TransactionFactCriteriaTransactionTypeCode { get; set; } + + /// + /// <p>The unique identifier of the till.</p> + /// + /// <p>The unique identifier of the till.</p> + [DataMember(Name="tillID", EmitDefaultValue=false)] + public string TillID { get; set; } + + /// + /// <p>The unique system assigned identifier for the Customer(Buyer).</p> + /// + /// <p>The unique system assigned identifier for the Customer(Buyer).</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" BusinessUnitAddress: ").Append(BusinessUnitAddress).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append(" BeginDateTimestamp: ").Append(BeginDateTimestamp).Append("\n"); + sb.Append(" EndDateTimestamp: ").Append(EndDateTimestamp).Append("\n"); + sb.Append(" TransactionTimestamp: ").Append(TransactionTimestamp).Append("\n"); + sb.Append(" SuspendedFlag: ").Append(SuspendedFlag).Append("\n"); + sb.Append(" SuspendNumber: ").Append(SuspendNumber).Append("\n"); + sb.Append(" TotalAmount: ").Append(TotalAmount).Append("\n"); + sb.Append(" TotalLineItemCount: ").Append(TotalLineItemCount).Append("\n"); + sb.Append(" CanceledFlag: ").Append(CanceledFlag).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" WorkerFirstName: ").Append(WorkerFirstName).Append("\n"); + sb.Append(" WorkerLastName: ").Append(WorkerLastName).Append("\n"); + sb.Append(" WorkerFullName: ").Append(WorkerFullName).Append("\n"); + sb.Append(" TransactionTypeCode: ").Append(TransactionTypeCode).Append("\n"); + sb.Append(" TransactionFactCriteriaTransactionTypeCode: ").Append(TransactionFactCriteriaTransactionTypeCode).Append("\n"); + sb.Append(" TillID: ").Append(TillID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.BusinessUnitAddress == input.BusinessUnitAddress || + (this.BusinessUnitAddress != null && + this.BusinessUnitAddress.Equals(input.BusinessUnitAddress)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ) && + ( + this.BeginDateTimestamp == input.BeginDateTimestamp || + (this.BeginDateTimestamp != null && + this.BeginDateTimestamp.Equals(input.BeginDateTimestamp)) + ) && + ( + this.EndDateTimestamp == input.EndDateTimestamp || + (this.EndDateTimestamp != null && + this.EndDateTimestamp.Equals(input.EndDateTimestamp)) + ) && + ( + this.TransactionTimestamp == input.TransactionTimestamp || + (this.TransactionTimestamp != null && + this.TransactionTimestamp.Equals(input.TransactionTimestamp)) + ) && + ( + this.SuspendedFlag == input.SuspendedFlag || + (this.SuspendedFlag != null && + this.SuspendedFlag.Equals(input.SuspendedFlag)) + ) && + ( + this.SuspendNumber == input.SuspendNumber || + (this.SuspendNumber != null && + this.SuspendNumber.Equals(input.SuspendNumber)) + ) && + ( + this.TotalAmount == input.TotalAmount || + (this.TotalAmount != null && + this.TotalAmount.Equals(input.TotalAmount)) + ) && + ( + this.TotalLineItemCount == input.TotalLineItemCount || + (this.TotalLineItemCount != null && + this.TotalLineItemCount.Equals(input.TotalLineItemCount)) + ) && + ( + this.CanceledFlag == input.CanceledFlag || + (this.CanceledFlag != null && + this.CanceledFlag.Equals(input.CanceledFlag)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.WorkerFirstName == input.WorkerFirstName || + (this.WorkerFirstName != null && + this.WorkerFirstName.Equals(input.WorkerFirstName)) + ) && + ( + this.WorkerLastName == input.WorkerLastName || + (this.WorkerLastName != null && + this.WorkerLastName.Equals(input.WorkerLastName)) + ) && + ( + this.WorkerFullName == input.WorkerFullName || + (this.WorkerFullName != null && + this.WorkerFullName.Equals(input.WorkerFullName)) + ) && + ( + this.TransactionTypeCode == input.TransactionTypeCode || + (this.TransactionTypeCode != null && + this.TransactionTypeCode.Equals(input.TransactionTypeCode)) + ) && + ( + this.TransactionFactCriteriaTransactionTypeCode == input.TransactionFactCriteriaTransactionTypeCode || + (this.TransactionFactCriteriaTransactionTypeCode != null && + this.TransactionFactCriteriaTransactionTypeCode.Equals(input.TransactionFactCriteriaTransactionTypeCode)) + ) && + ( + this.TillID == input.TillID || + (this.TillID != null && + this.TillID.Equals(input.TillID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.BusinessUnitAddress != null) + hashCode = hashCode * 59 + this.BusinessUnitAddress.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + if (this.BeginDateTimestamp != null) + hashCode = hashCode * 59 + this.BeginDateTimestamp.GetHashCode(); + if (this.EndDateTimestamp != null) + hashCode = hashCode * 59 + this.EndDateTimestamp.GetHashCode(); + if (this.TransactionTimestamp != null) + hashCode = hashCode * 59 + this.TransactionTimestamp.GetHashCode(); + if (this.SuspendedFlag != null) + hashCode = hashCode * 59 + this.SuspendedFlag.GetHashCode(); + if (this.SuspendNumber != null) + hashCode = hashCode * 59 + this.SuspendNumber.GetHashCode(); + if (this.TotalAmount != null) + hashCode = hashCode * 59 + this.TotalAmount.GetHashCode(); + if (this.TotalLineItemCount != null) + hashCode = hashCode * 59 + this.TotalLineItemCount.GetHashCode(); + if (this.CanceledFlag != null) + hashCode = hashCode * 59 + this.CanceledFlag.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.WorkerFirstName != null) + hashCode = hashCode * 59 + this.WorkerFirstName.GetHashCode(); + if (this.WorkerLastName != null) + hashCode = hashCode * 59 + this.WorkerLastName.GetHashCode(); + if (this.WorkerFullName != null) + hashCode = hashCode * 59 + this.WorkerFullName.GetHashCode(); + if (this.TransactionTypeCode != null) + hashCode = hashCode * 59 + this.TransactionTypeCode.GetHashCode(); + if (this.TransactionFactCriteriaTransactionTypeCode != null) + hashCode = hashCode * 59 + this.TransactionFactCriteriaTransactionTypeCode.GetHashCode(); + if (this.TillID != null) + hashCode = hashCode * 59 + this.TillID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..893c9668edcb6c3f3c0baa604020a5bd88260177 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitDOListByFilterResult <p>BusinessUnitDOListByFilterResult </p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>businessUnitDOs</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult(List businessUnitDOs = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitDOs = businessUnitDOs; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>businessUnitDOs</p> + /// + /// <p>businessUnitDOs</p> + [DataMember(Name="businessUnitDOs", EmitDefaultValue=false)] + public List BusinessUnitDOs { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult {\n"); + sb.Append(" BusinessUnitDOs: ").Append(BusinessUnitDOs).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitDOs == input.BusinessUnitDOs || + this.BusinessUnitDOs != null && + this.BusinessUnitDOs.SequenceEqual(input.BusinessUnitDOs) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitDOs != null) + hashCode = hashCode * 59 + this.BusinessUnitDOs.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d5986556f0eeee6f9a2c72641ac4a6a147deec1c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitListByFilterRequest <p>BusinessUnitListByFilterRequest </p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>businessUnitContactFilter</p>. + /// <p>maxResultsCount</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter businessUnitContactFilter = default(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter), int? maxResultsCount = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitContactFilter = businessUnitContactFilter; + this.MaxResultsCount = maxResultsCount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>businessUnitContactFilter</p> + /// + /// <p>businessUnitContactFilter</p> + [DataMember(Name="businessUnitContactFilter", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter BusinessUnitContactFilter { get; set; } + + /// + /// <p>maxResultsCount</p> + /// + /// <p>maxResultsCount</p> + [DataMember(Name="maxResultsCount", EmitDefaultValue=false)] + public int? MaxResultsCount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest {\n"); + sb.Append(" BusinessUnitContactFilter: ").Append(BusinessUnitContactFilter).Append("\n"); + sb.Append(" MaxResultsCount: ").Append(MaxResultsCount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitContactFilter == input.BusinessUnitContactFilter || + (this.BusinessUnitContactFilter != null && + this.BusinessUnitContactFilter.Equals(input.BusinessUnitContactFilter)) + ) && + ( + this.MaxResultsCount == input.MaxResultsCount || + (this.MaxResultsCount != null && + this.MaxResultsCount.Equals(input.MaxResultsCount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitContactFilter != null) + hashCode = hashCode * 59 + this.BusinessUnitContactFilter.GetHashCode(); + if (this.MaxResultsCount != null) + hashCode = hashCode * 59 + this.MaxResultsCount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView.cs new file mode 100644 index 0000000000000000000000000000000000000000..872f8f2969efac0b23d44f32fe48a1c1e37eb625 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView.cs @@ -0,0 +1,481 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitView <p>BusinessUnitView</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// businessUnitID. + /// <p>businessUnitGroupID.</p>. + /// <p>name.</p>. + /// <p>territoryName.</p>. + /// <p>city.</p>. + /// <p>postalCode </p>. + /// <p>street</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView(string businessUnitID = default(string), string businessUnitGroupID = default(string), string name = default(string), string territoryName = default(string), string city = default(string), string postalCode = default(string), string street = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitID = businessUnitID; + this.BusinessUnitGroupID = businessUnitGroupID; + this.Name = name; + this.TerritoryName = territoryName; + this.City = city; + this.PostalCode = postalCode; + this.Street = street; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets BusinessUnitID + /// + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// <p>businessUnitGroupID.</p> + /// + /// <p>businessUnitGroupID.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>name.</p> + /// + /// <p>name.</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>territoryName.</p> + /// + /// <p>territoryName.</p> + [DataMember(Name="territoryName", EmitDefaultValue=false)] + public string TerritoryName { get; set; } + + /// + /// <p>city.</p> + /// + /// <p>city.</p> + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// <p>postalCode </p> + /// + /// <p>postalCode </p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// <p>street</p> + /// + /// <p>street</p> + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView {\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" TerritoryName: ").Append(TerritoryName).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.TerritoryName == input.TerritoryName || + (this.TerritoryName != null && + this.TerritoryName.Equals(input.TerritoryName)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.Street == input.Street || + (this.Street != null && + this.Street.Equals(input.Street)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.TerritoryName != null) + hashCode = hashCode * 59 + this.TerritoryName.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.Street != null) + hashCode = hashCode * 59 + this.Street.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..1c408e4a76b0a17a05e0fb979590f3336081b341 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitViewListByFilterResult <p>BusinessUnitDOListByFilterResult </p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>businessUnitViews</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult(List businessUnitViews = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitViews = businessUnitViews; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>businessUnitViews</p> + /// + /// <p>businessUnitViews</p> + [DataMember(Name="businessUnitViews", EmitDefaultValue=false)] + public List BusinessUnitViews { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult {\n"); + sb.Append(" BusinessUnitViews: ").Append(BusinessUnitViews).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitViews == input.BusinessUnitViews || + this.BusinessUnitViews != null && + this.BusinessUnitViews.SequenceEqual(input.BusinessUnitViews) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitViews != null) + hashCode = hashCode * 59 + this.BusinessUnitViews.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..0144e17991128cfb5114c2db01eb360fa99b6941 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult.cs @@ -0,0 +1,512 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WeightResult TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult() { } + /// + /// Initializes a new instance of the class. + /// + /// posItemId. + /// weight. + /// totalPrice. + /// tare. + /// weightType. + /// dataHash. + /// pricingCapableScale (required). + /// printoutDone (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult(string posItemId = default(string), double? weight = default(double?), double? totalPrice = default(double?), double? tare = default(double?), int? weightType = default(int?), string dataHash = default(string), bool? pricingCapableScale = default(bool?), bool? printoutDone = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "pricingCapableScale" is required (not null) + if (pricingCapableScale == null) + { + throw new InvalidDataException("pricingCapableScale is a required property for ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult and cannot be null"); + } + else + { + this.PricingCapableScale = pricingCapableScale; + } + // to ensure "printoutDone" is required (not null) + if (printoutDone == null) + { + throw new InvalidDataException("printoutDone is a required property for ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult and cannot be null"); + } + else + { + this.PrintoutDone = printoutDone; + } + this.PosItemId = posItemId; + this.Weight = weight; + this.TotalPrice = totalPrice; + this.Tare = tare; + this.WeightType = weightType; + this.DataHash = dataHash; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets PosItemId + /// + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// Gets or Sets Weight + /// + [DataMember(Name="weight", EmitDefaultValue=false)] + public double? Weight { get; set; } + + /// + /// Gets or Sets TotalPrice + /// + [DataMember(Name="totalPrice", EmitDefaultValue=false)] + public double? TotalPrice { get; set; } + + /// + /// Gets or Sets Tare + /// + [DataMember(Name="tare", EmitDefaultValue=false)] + public double? Tare { get; set; } + + /// + /// Gets or Sets WeightType + /// + [DataMember(Name="weightType", EmitDefaultValue=false)] + public int? WeightType { get; set; } + + /// + /// Gets or Sets DataHash + /// + [DataMember(Name="dataHash", EmitDefaultValue=false)] + public string DataHash { get; set; } + + /// + /// Gets or Sets PricingCapableScale + /// + [DataMember(Name="pricingCapableScale", EmitDefaultValue=false)] + public bool? PricingCapableScale { get; set; } + + /// + /// Gets or Sets PrintoutDone + /// + [DataMember(Name="printoutDone", EmitDefaultValue=false)] + public bool? PrintoutDone { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult {\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" Weight: ").Append(Weight).Append("\n"); + sb.Append(" TotalPrice: ").Append(TotalPrice).Append("\n"); + sb.Append(" Tare: ").Append(Tare).Append("\n"); + sb.Append(" WeightType: ").Append(WeightType).Append("\n"); + sb.Append(" DataHash: ").Append(DataHash).Append("\n"); + sb.Append(" PricingCapableScale: ").Append(PricingCapableScale).Append("\n"); + sb.Append(" PrintoutDone: ").Append(PrintoutDone).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult input) + { + if (input == null) + return false; + + return + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.Weight == input.Weight || + (this.Weight != null && + this.Weight.Equals(input.Weight)) + ) && + ( + this.TotalPrice == input.TotalPrice || + (this.TotalPrice != null && + this.TotalPrice.Equals(input.TotalPrice)) + ) && + ( + this.Tare == input.Tare || + (this.Tare != null && + this.Tare.Equals(input.Tare)) + ) && + ( + this.WeightType == input.WeightType || + (this.WeightType != null && + this.WeightType.Equals(input.WeightType)) + ) && + ( + this.DataHash == input.DataHash || + (this.DataHash != null && + this.DataHash.Equals(input.DataHash)) + ) && + ( + this.PricingCapableScale == input.PricingCapableScale || + (this.PricingCapableScale != null && + this.PricingCapableScale.Equals(input.PricingCapableScale)) + ) && + ( + this.PrintoutDone == input.PrintoutDone || + (this.PrintoutDone != null && + this.PrintoutDone.Equals(input.PrintoutDone)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.Weight != null) + hashCode = hashCode * 59 + this.Weight.GetHashCode(); + if (this.TotalPrice != null) + hashCode = hashCode * 59 + this.TotalPrice.GetHashCode(); + if (this.Tare != null) + hashCode = hashCode * 59 + this.Tare.GetHashCode(); + if (this.WeightType != null) + hashCode = hashCode * 59 + this.WeightType.GetHashCode(); + if (this.DataHash != null) + hashCode = hashCode * 59 + this.DataHash.GetHashCode(); + if (this.PricingCapableScale != null) + hashCode = hashCode * 59 + this.PricingCapableScale.GetHashCode(); + if (this.PrintoutDone != null) + hashCode = hashCode * 59 + this.PrintoutDone.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e7bfa74303e2f5987cda519b203d66dbcc5dd634 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BillDocRequest <p>Request object for the BillDocWebService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The invoice number</p>. + /// <p>The retailStore id</p>. + /// <p>The workStation id</p>. + /// <p>Indicates whether service is called on training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest(string invoiceNumber = default(string), string retailStoreId = default(string), string workStationId = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.InvoiceNumber = invoiceNumber; + this.RetailStoreId = retailStoreId; + this.WorkStationId = workStationId; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The invoice number</p> + /// + /// <p>The invoice number</p> + [DataMember(Name="invoiceNumber", EmitDefaultValue=false)] + public string InvoiceNumber { get; set; } + + /// + /// <p>The retailStore id</p> + /// + /// <p>The retailStore id</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workStation id</p> + /// + /// <p>The workStation id</p> + [DataMember(Name="workStationId", EmitDefaultValue=false)] + public string WorkStationId { get; set; } + + /// + /// <p>Indicates whether service is called on training mode.</p> + /// + /// <p>Indicates whether service is called on training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest {\n"); + sb.Append(" InvoiceNumber: ").Append(InvoiceNumber).Append("\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkStationId: ").Append(WorkStationId).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest input) + { + if (input == null) + return false; + + return + ( + this.InvoiceNumber == input.InvoiceNumber || + (this.InvoiceNumber != null && + this.InvoiceNumber.Equals(input.InvoiceNumber)) + ) && + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkStationId == input.WorkStationId || + (this.WorkStationId != null && + this.WorkStationId.Equals(input.WorkStationId)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.InvoiceNumber != null) + hashCode = hashCode * 59 + this.InvoiceNumber.GetHashCode(); + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkStationId != null) + hashCode = hashCode * 59 + this.WorkStationId.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..91433ee14c764a884eb7986a63aa0ec2c167563c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse.cs @@ -0,0 +1,477 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BillDocResponse <p>Response object for the BillDocWebService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The return code</p>. + /// <p>The bill type</p>. + /// <p>The net value</p> (required). + /// <p>The tax amount</p> (required). + /// <p>The open amount</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse(string returnCode = default(string), string billType = default(string), double? netValue = default(double?), double? taxAmount = default(double?), double? amountOpenNow = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "netValue" is required (not null) + if (netValue == null) + { + throw new InvalidDataException("netValue is a required property for ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse and cannot be null"); + } + else + { + this.NetValue = netValue; + } + // to ensure "taxAmount" is required (not null) + if (taxAmount == null) + { + throw new InvalidDataException("taxAmount is a required property for ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse and cannot be null"); + } + else + { + this.TaxAmount = taxAmount; + } + // to ensure "amountOpenNow" is required (not null) + if (amountOpenNow == null) + { + throw new InvalidDataException("amountOpenNow is a required property for ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse and cannot be null"); + } + else + { + this.AmountOpenNow = amountOpenNow; + } + this.ReturnCode = returnCode; + this.BillType = billType; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The return code</p> + /// + /// <p>The return code</p> + [DataMember(Name="returnCode", EmitDefaultValue=false)] + public string ReturnCode { get; set; } + + /// + /// <p>The bill type</p> + /// + /// <p>The bill type</p> + [DataMember(Name="billType", EmitDefaultValue=false)] + public string BillType { get; set; } + + /// + /// <p>The net value</p> + /// + /// <p>The net value</p> + [DataMember(Name="netValue", EmitDefaultValue=false)] + public double? NetValue { get; set; } + + /// + /// <p>The tax amount</p> + /// + /// <p>The tax amount</p> + [DataMember(Name="taxAmount", EmitDefaultValue=false)] + public double? TaxAmount { get; set; } + + /// + /// <p>The open amount</p> + /// + /// <p>The open amount</p> + [DataMember(Name="amountOpenNow", EmitDefaultValue=false)] + public double? AmountOpenNow { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse {\n"); + sb.Append(" ReturnCode: ").Append(ReturnCode).Append("\n"); + sb.Append(" BillType: ").Append(BillType).Append("\n"); + sb.Append(" NetValue: ").Append(NetValue).Append("\n"); + sb.Append(" TaxAmount: ").Append(TaxAmount).Append("\n"); + sb.Append(" AmountOpenNow: ").Append(AmountOpenNow).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse input) + { + if (input == null) + return false; + + return + ( + this.ReturnCode == input.ReturnCode || + (this.ReturnCode != null && + this.ReturnCode.Equals(input.ReturnCode)) + ) && + ( + this.BillType == input.BillType || + (this.BillType != null && + this.BillType.Equals(input.BillType)) + ) && + ( + this.NetValue == input.NetValue || + (this.NetValue != null && + this.NetValue.Equals(input.NetValue)) + ) && + ( + this.TaxAmount == input.TaxAmount || + (this.TaxAmount != null && + this.TaxAmount.Equals(input.TaxAmount)) + ) && + ( + this.AmountOpenNow == input.AmountOpenNow || + (this.AmountOpenNow != null && + this.AmountOpenNow.Equals(input.AmountOpenNow)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReturnCode != null) + hashCode = hashCode * 59 + this.ReturnCode.GetHashCode(); + if (this.BillType != null) + hashCode = hashCode * 59 + this.BillType.GetHashCode(); + if (this.NetValue != null) + hashCode = hashCode * 59 + this.NetValue.GetHashCode(); + if (this.TaxAmount != null) + hashCode = hashCode * 59 + this.TaxAmount.GetHashCode(); + if (this.AmountOpenNow != null) + hashCode = hashCode * 59 + this.AmountOpenNow.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber.cs new file mode 100644 index 0000000000000000000000000000000000000000..386b8509267cee36fc3e9b3649f1ee652593d2c1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerPhoneNumber <p>Bean class for Customer By Id WebService results interface.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The area id</p>. + /// <p>The subscriber id</p>. + /// <p>The extension id</p>. + /// <p>The country dialling code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber(string areaID = default(string), string subscriberID = default(string), string extensionID = default(string), string countryDiallingCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.AreaID = areaID; + this.SubscriberID = subscriberID; + this.ExtensionID = extensionID; + this.CountryDiallingCode = countryDiallingCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The area id</p> + /// + /// <p>The area id</p> + [DataMember(Name="areaID", EmitDefaultValue=false)] + public string AreaID { get; set; } + + /// + /// <p>The subscriber id</p> + /// + /// <p>The subscriber id</p> + [DataMember(Name="subscriberID", EmitDefaultValue=false)] + public string SubscriberID { get; set; } + + /// + /// <p>The extension id</p> + /// + /// <p>The extension id</p> + [DataMember(Name="extensionID", EmitDefaultValue=false)] + public string ExtensionID { get; set; } + + /// + /// <p>The country dialling code</p> + /// + /// <p>The country dialling code</p> + [DataMember(Name="countryDiallingCode", EmitDefaultValue=false)] + public string CountryDiallingCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber {\n"); + sb.Append(" AreaID: ").Append(AreaID).Append("\n"); + sb.Append(" SubscriberID: ").Append(SubscriberID).Append("\n"); + sb.Append(" ExtensionID: ").Append(ExtensionID).Append("\n"); + sb.Append(" CountryDiallingCode: ").Append(CountryDiallingCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber input) + { + if (input == null) + return false; + + return + ( + this.AreaID == input.AreaID || + (this.AreaID != null && + this.AreaID.Equals(input.AreaID)) + ) && + ( + this.SubscriberID == input.SubscriberID || + (this.SubscriberID != null && + this.SubscriberID.Equals(input.SubscriberID)) + ) && + ( + this.ExtensionID == input.ExtensionID || + (this.ExtensionID != null && + this.ExtensionID.Equals(input.ExtensionID)) + ) && + ( + this.CountryDiallingCode == input.CountryDiallingCode || + (this.CountryDiallingCode != null && + this.CountryDiallingCode.Equals(input.CountryDiallingCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AreaID != null) + hashCode = hashCode * 59 + this.AreaID.GetHashCode(); + if (this.SubscriberID != null) + hashCode = hashCode * 59 + this.SubscriberID.GetHashCode(); + if (this.ExtensionID != null) + hashCode = hashCode * 59 + this.ExtensionID.GetHashCode(); + if (this.CountryDiallingCode != null) + hashCode = hashCode * 59 + this.CountryDiallingCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP.cs new file mode 100644 index 0000000000000000000000000000000000000000..6170a6df134553c5c09c5023d9bbb7b06e059287 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP.cs @@ -0,0 +1,533 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerWebServiceResultSAPERP <p>Bean class for Customer By Id WebService results interface.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer id</p>. + /// <p>The customer name</p>. + /// <p>The customer street</p>. + /// <p>The customer postal code</p>. + /// <p>The customer city</p>. + /// <p>The customer house id</p>. + /// <p>The email address</p>. + /// <p>The phone number</p>. + /// <p>The cell phone number</p>. + /// <p>The fax phone number</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP(string customerId = default(string), string customerName = default(string), string customerStreet = default(string), string customerPostalCode = default(string), string customerCity = default(string), string customerHouseId = default(string), string emailAddress = default(string), ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber phoneNumber = default(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber), ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber cellPhoneNumber = default(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber), ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber faxPhoneNumber = default(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerId = customerId; + this.CustomerName = customerName; + this.CustomerStreet = customerStreet; + this.CustomerPostalCode = customerPostalCode; + this.CustomerCity = customerCity; + this.CustomerHouseId = customerHouseId; + this.EmailAddress = emailAddress; + this.PhoneNumber = phoneNumber; + this.CellPhoneNumber = cellPhoneNumber; + this.FaxPhoneNumber = faxPhoneNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer id</p> + /// + /// <p>The customer id</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The customer name</p> + /// + /// <p>The customer name</p> + [DataMember(Name="customerName", EmitDefaultValue=false)] + public string CustomerName { get; set; } + + /// + /// <p>The customer street</p> + /// + /// <p>The customer street</p> + [DataMember(Name="customerStreet", EmitDefaultValue=false)] + public string CustomerStreet { get; set; } + + /// + /// <p>The customer postal code</p> + /// + /// <p>The customer postal code</p> + [DataMember(Name="customerPostalCode", EmitDefaultValue=false)] + public string CustomerPostalCode { get; set; } + + /// + /// <p>The customer city</p> + /// + /// <p>The customer city</p> + [DataMember(Name="customerCity", EmitDefaultValue=false)] + public string CustomerCity { get; set; } + + /// + /// <p>The customer house id</p> + /// + /// <p>The customer house id</p> + [DataMember(Name="customerHouseId", EmitDefaultValue=false)] + public string CustomerHouseId { get; set; } + + /// + /// <p>The email address</p> + /// + /// <p>The email address</p> + [DataMember(Name="emailAddress", EmitDefaultValue=false)] + public string EmailAddress { get; set; } + + /// + /// <p>The phone number</p> + /// + /// <p>The phone number</p> + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber PhoneNumber { get; set; } + + /// + /// <p>The cell phone number</p> + /// + /// <p>The cell phone number</p> + [DataMember(Name="cellPhoneNumber", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber CellPhoneNumber { get; set; } + + /// + /// <p>The fax phone number</p> + /// + /// <p>The fax phone number</p> + [DataMember(Name="faxPhoneNumber", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber FaxPhoneNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" CustomerName: ").Append(CustomerName).Append("\n"); + sb.Append(" CustomerStreet: ").Append(CustomerStreet).Append("\n"); + sb.Append(" CustomerPostalCode: ").Append(CustomerPostalCode).Append("\n"); + sb.Append(" CustomerCity: ").Append(CustomerCity).Append("\n"); + sb.Append(" CustomerHouseId: ").Append(CustomerHouseId).Append("\n"); + sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" CellPhoneNumber: ").Append(CellPhoneNumber).Append("\n"); + sb.Append(" FaxPhoneNumber: ").Append(FaxPhoneNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP input) + { + if (input == null) + return false; + + return + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.CustomerName == input.CustomerName || + (this.CustomerName != null && + this.CustomerName.Equals(input.CustomerName)) + ) && + ( + this.CustomerStreet == input.CustomerStreet || + (this.CustomerStreet != null && + this.CustomerStreet.Equals(input.CustomerStreet)) + ) && + ( + this.CustomerPostalCode == input.CustomerPostalCode || + (this.CustomerPostalCode != null && + this.CustomerPostalCode.Equals(input.CustomerPostalCode)) + ) && + ( + this.CustomerCity == input.CustomerCity || + (this.CustomerCity != null && + this.CustomerCity.Equals(input.CustomerCity)) + ) && + ( + this.CustomerHouseId == input.CustomerHouseId || + (this.CustomerHouseId != null && + this.CustomerHouseId.Equals(input.CustomerHouseId)) + ) && + ( + this.EmailAddress == input.EmailAddress || + (this.EmailAddress != null && + this.EmailAddress.Equals(input.EmailAddress)) + ) && + ( + this.PhoneNumber == input.PhoneNumber || + (this.PhoneNumber != null && + this.PhoneNumber.Equals(input.PhoneNumber)) + ) && + ( + this.CellPhoneNumber == input.CellPhoneNumber || + (this.CellPhoneNumber != null && + this.CellPhoneNumber.Equals(input.CellPhoneNumber)) + ) && + ( + this.FaxPhoneNumber == input.FaxPhoneNumber || + (this.FaxPhoneNumber != null && + this.FaxPhoneNumber.Equals(input.FaxPhoneNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.CustomerName != null) + hashCode = hashCode * 59 + this.CustomerName.GetHashCode(); + if (this.CustomerStreet != null) + hashCode = hashCode * 59 + this.CustomerStreet.GetHashCode(); + if (this.CustomerPostalCode != null) + hashCode = hashCode * 59 + this.CustomerPostalCode.GetHashCode(); + if (this.CustomerCity != null) + hashCode = hashCode * 59 + this.CustomerCity.GetHashCode(); + if (this.CustomerHouseId != null) + hashCode = hashCode * 59 + this.CustomerHouseId.GetHashCode(); + if (this.EmailAddress != null) + hashCode = hashCode * 59 + this.EmailAddress.GetHashCode(); + if (this.PhoneNumber != null) + hashCode = hashCode * 59 + this.PhoneNumber.GetHashCode(); + if (this.CellPhoneNumber != null) + hashCode = hashCode * 59 + this.CellPhoneNumber.GetHashCode(); + if (this.FaxPhoneNumber != null) + hashCode = hashCode * 59 + this.FaxPhoneNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..af89dbbfe559cea8dbbfc24ab10bfbccce00fb62 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerWebserviceRequest <p>Request object for the CustomerByIdWebService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer id</p>. + /// <p>Indicates whether service should be called in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest(string customerId = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerId = customerId; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer id</p> + /// + /// <p>The customer id</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>Indicates whether service should be called in training mode.</p> + /// + /// <p>Indicates whether service should be called in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..d446649a4baa11c777344ed975b02d9d15131d4e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerWebserviceResult <p>Result object for the CustomerByIdWebService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The used web service</p>. + /// <p>The sap erp result</p>. + /// <p>The crm response</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult(string usedWebservice = default(string), ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP sapErpResult = default(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP), ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse crmResponse = default(ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.UsedWebservice = usedWebservice; + this.SapErpResult = sapErpResult; + this.CrmResponse = crmResponse; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The used web service</p> + /// + /// <p>The used web service</p> + [DataMember(Name="usedWebservice", EmitDefaultValue=false)] + public string UsedWebservice { get; set; } + + /// + /// <p>The sap erp result</p> + /// + /// <p>The sap erp result</p> + [DataMember(Name="sapErpResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP SapErpResult { get; set; } + + /// + /// <p>The crm response</p> + /// + /// <p>The crm response</p> + [DataMember(Name="crmResponse", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse CrmResponse { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult {\n"); + sb.Append(" UsedWebservice: ").Append(UsedWebservice).Append("\n"); + sb.Append(" SapErpResult: ").Append(SapErpResult).Append("\n"); + sb.Append(" CrmResponse: ").Append(CrmResponse).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult input) + { + if (input == null) + return false; + + return + ( + this.UsedWebservice == input.UsedWebservice || + (this.UsedWebservice != null && + this.UsedWebservice.Equals(input.UsedWebservice)) + ) && + ( + this.SapErpResult == input.SapErpResult || + (this.SapErpResult != null && + this.SapErpResult.Equals(input.SapErpResult)) + ) && + ( + this.CrmResponse == input.CrmResponse || + (this.CrmResponse != null && + this.CrmResponse.Equals(input.CrmResponse)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.UsedWebservice != null) + hashCode = hashCode * 59 + this.UsedWebservice.GetHashCode(); + if (this.SapErpResult != null) + hashCode = hashCode * 59 + this.SapErpResult.GetHashCode(); + if (this.CrmResponse != null) + hashCode = hashCode * 59 + this.CrmResponse.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9811f125058ff81469d4b126dffe462e5e3fefba --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest.cs @@ -0,0 +1,523 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchCustomerRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// customerId. + /// customerName. + /// customerStreet. + /// customerCity. + /// customerFederalState. + /// customerPostalCode. + /// customerCountry. + /// maxSearchResult. + /// dataProvider. + /// phoneNumber. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest(string customerId = default(string), string customerName = default(string), string customerStreet = default(string), string customerCity = default(string), string customerFederalState = default(string), string customerPostalCode = default(string), string customerCountry = default(string), int? maxSearchResult = default(int?), string dataProvider = default(string), string phoneNumber = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerId = customerId; + this.CustomerName = customerName; + this.CustomerStreet = customerStreet; + this.CustomerCity = customerCity; + this.CustomerFederalState = customerFederalState; + this.CustomerPostalCode = customerPostalCode; + this.CustomerCountry = customerCountry; + this.MaxSearchResult = maxSearchResult; + this.DataProvider = dataProvider; + this.PhoneNumber = phoneNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets CustomerId + /// + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// Gets or Sets CustomerName + /// + [DataMember(Name="customerName", EmitDefaultValue=false)] + public string CustomerName { get; set; } + + /// + /// Gets or Sets CustomerStreet + /// + [DataMember(Name="customerStreet", EmitDefaultValue=false)] + public string CustomerStreet { get; set; } + + /// + /// Gets or Sets CustomerCity + /// + [DataMember(Name="customerCity", EmitDefaultValue=false)] + public string CustomerCity { get; set; } + + /// + /// Gets or Sets CustomerFederalState + /// + [DataMember(Name="customerFederalState", EmitDefaultValue=false)] + public string CustomerFederalState { get; set; } + + /// + /// Gets or Sets CustomerPostalCode + /// + [DataMember(Name="customerPostalCode", EmitDefaultValue=false)] + public string CustomerPostalCode { get; set; } + + /// + /// Gets or Sets CustomerCountry + /// + [DataMember(Name="customerCountry", EmitDefaultValue=false)] + public string CustomerCountry { get; set; } + + /// + /// Gets or Sets MaxSearchResult + /// + [DataMember(Name="maxSearchResult", EmitDefaultValue=false)] + public int? MaxSearchResult { get; set; } + + /// + /// Gets or Sets DataProvider + /// + [DataMember(Name="dataProvider", EmitDefaultValue=false)] + public string DataProvider { get; set; } + + /// + /// Gets or Sets PhoneNumber + /// + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public string PhoneNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" CustomerName: ").Append(CustomerName).Append("\n"); + sb.Append(" CustomerStreet: ").Append(CustomerStreet).Append("\n"); + sb.Append(" CustomerCity: ").Append(CustomerCity).Append("\n"); + sb.Append(" CustomerFederalState: ").Append(CustomerFederalState).Append("\n"); + sb.Append(" CustomerPostalCode: ").Append(CustomerPostalCode).Append("\n"); + sb.Append(" CustomerCountry: ").Append(CustomerCountry).Append("\n"); + sb.Append(" MaxSearchResult: ").Append(MaxSearchResult).Append("\n"); + sb.Append(" DataProvider: ").Append(DataProvider).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.CustomerName == input.CustomerName || + (this.CustomerName != null && + this.CustomerName.Equals(input.CustomerName)) + ) && + ( + this.CustomerStreet == input.CustomerStreet || + (this.CustomerStreet != null && + this.CustomerStreet.Equals(input.CustomerStreet)) + ) && + ( + this.CustomerCity == input.CustomerCity || + (this.CustomerCity != null && + this.CustomerCity.Equals(input.CustomerCity)) + ) && + ( + this.CustomerFederalState == input.CustomerFederalState || + (this.CustomerFederalState != null && + this.CustomerFederalState.Equals(input.CustomerFederalState)) + ) && + ( + this.CustomerPostalCode == input.CustomerPostalCode || + (this.CustomerPostalCode != null && + this.CustomerPostalCode.Equals(input.CustomerPostalCode)) + ) && + ( + this.CustomerCountry == input.CustomerCountry || + (this.CustomerCountry != null && + this.CustomerCountry.Equals(input.CustomerCountry)) + ) && + ( + this.MaxSearchResult == input.MaxSearchResult || + (this.MaxSearchResult != null && + this.MaxSearchResult.Equals(input.MaxSearchResult)) + ) && + ( + this.DataProvider == input.DataProvider || + (this.DataProvider != null && + this.DataProvider.Equals(input.DataProvider)) + ) && + ( + this.PhoneNumber == input.PhoneNumber || + (this.PhoneNumber != null && + this.PhoneNumber.Equals(input.PhoneNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.CustomerName != null) + hashCode = hashCode * 59 + this.CustomerName.GetHashCode(); + if (this.CustomerStreet != null) + hashCode = hashCode * 59 + this.CustomerStreet.GetHashCode(); + if (this.CustomerCity != null) + hashCode = hashCode * 59 + this.CustomerCity.GetHashCode(); + if (this.CustomerFederalState != null) + hashCode = hashCode * 59 + this.CustomerFederalState.GetHashCode(); + if (this.CustomerPostalCode != null) + hashCode = hashCode * 59 + this.CustomerPostalCode.GetHashCode(); + if (this.CustomerCountry != null) + hashCode = hashCode * 59 + this.CustomerCountry.GetHashCode(); + if (this.MaxSearchResult != null) + hashCode = hashCode * 59 + this.MaxSearchResult.GetHashCode(); + if (this.DataProvider != null) + hashCode = hashCode * 59 + this.DataProvider.GetHashCode(); + if (this.PhoneNumber != null) + hashCode = hashCode * 59 + this.PhoneNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..dffa4e0764c50088bb010f7c8017defebc0ab9ff --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindCustomerByIdRequest <p>Request object for the CustomerOperationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer id to search for.</p>. + /// <p>ID of data provider.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest(string customerId = default(string), string dataProvider = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerId = customerId; + this.DataProvider = dataProvider; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer id to search for.</p> + /// + /// <p>The customer id to search for.</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + [DataMember(Name="dataProvider", EmitDefaultValue=false)] + public string DataProvider { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" DataProvider: ").Append(DataProvider).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.DataProvider == input.DataProvider || + (this.DataProvider != null && + this.DataProvider.Equals(input.DataProvider)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.DataProvider != null) + hashCode = hashCode * 59 + this.DataProvider.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d47fe1bf9224b45fecb840a3fc0fb32459b7ee6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindCustomerByPartyIdentificationRequest <p>Request object for the CustomerOperationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>An official number that is used to identify the party.</p>. + /// <p>ID of data provider.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest(string partyIdentification = default(string), string dataProvider = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PartyIdentification = partyIdentification; + this.DataProvider = dataProvider; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>An official number that is used to identify the party.</p> + /// + /// <p>An official number that is used to identify the party.</p> + [DataMember(Name="partyIdentification", EmitDefaultValue=false)] + public string PartyIdentification { get; set; } + + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + [DataMember(Name="dataProvider", EmitDefaultValue=false)] + public string DataProvider { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest {\n"); + sb.Append(" PartyIdentification: ").Append(PartyIdentification).Append("\n"); + sb.Append(" DataProvider: ").Append(DataProvider).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest input) + { + if (input == null) + return false; + + return + ( + this.PartyIdentification == input.PartyIdentification || + (this.PartyIdentification != null && + this.PartyIdentification.Equals(input.PartyIdentification)) + ) && + ( + this.DataProvider == input.DataProvider || + (this.DataProvider != null && + this.DataProvider.Equals(input.DataProvider)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PartyIdentification != null) + hashCode = hashCode * 59 + this.PartyIdentification.GetHashCode(); + if (this.DataProvider != null) + hashCode = hashCode * 59 + this.DataProvider.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..134ce55e69722f827e6526af7c75caf6e6f4b860 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindCustomerDataRequest <p>Request object for the CustomerOperationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer id to search for.</p>. + /// <p>ID of data provider.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest(string customerId = default(string), string dataProvider = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerId = customerId; + this.DataProvider = dataProvider; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer id to search for.</p> + /// + /// <p>The customer id to search for.</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + [DataMember(Name="dataProvider", EmitDefaultValue=false)] + public string DataProvider { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" DataProvider: ").Append(DataProvider).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.DataProvider == input.DataProvider || + (this.DataProvider != null && + this.DataProvider.Equals(input.DataProvider)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.DataProvider != null) + hashCode = hashCode * 59 + this.DataProvider.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a8bc9c861550bb30636170244597216012bf232a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UpdateCustomerRequest <p>Request object for the CustomerOperationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>ID of data provider.</p>. + /// <p>Customer data</p>. + /// <p>Specifies reason for update</p>. + /// <p>Old customer data. It must contain the state BEFORE update was applied.</p>. + /// <p>Defines if the customer declaration is necessary for permanent storage of the customer data.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest(string dataProvider = default(string), ComGkSoftwarePosFlowLibsCustomerCustomerData customerData = default(ComGkSoftwarePosFlowLibsCustomerCustomerData), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO oldCustomer = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO), bool? customerDeclarationRequired = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.DataProvider = dataProvider; + this.CustomerData = customerData; + this.Reason = reason; + this.OldCustomer = oldCustomer; + this.CustomerDeclarationRequired = customerDeclarationRequired; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + [DataMember(Name="dataProvider", EmitDefaultValue=false)] + public string DataProvider { get; set; } + + /// + /// <p>Customer data</p> + /// + /// <p>Customer data</p> + [DataMember(Name="customerData", EmitDefaultValue=false)] + public ComGkSoftwarePosFlowLibsCustomerCustomerData CustomerData { get; set; } + + /// + /// <p>Specifies reason for update</p> + /// + /// <p>Specifies reason for update</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>Old customer data. It must contain the state BEFORE update was applied.</p> + /// + /// <p>Old customer data. It must contain the state BEFORE update was applied.</p> + [DataMember(Name="oldCustomer", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO OldCustomer { get; set; } + + /// + /// <p>Defines if the customer declaration is necessary for permanent storage of the customer data.</p> + /// + /// <p>Defines if the customer declaration is necessary for permanent storage of the customer data.</p> + [DataMember(Name="customerDeclarationRequired", EmitDefaultValue=false)] + public bool? CustomerDeclarationRequired { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest {\n"); + sb.Append(" DataProvider: ").Append(DataProvider).Append("\n"); + sb.Append(" CustomerData: ").Append(CustomerData).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" OldCustomer: ").Append(OldCustomer).Append("\n"); + sb.Append(" CustomerDeclarationRequired: ").Append(CustomerDeclarationRequired).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest input) + { + if (input == null) + return false; + + return + ( + this.DataProvider == input.DataProvider || + (this.DataProvider != null && + this.DataProvider.Equals(input.DataProvider)) + ) && + ( + this.CustomerData == input.CustomerData || + (this.CustomerData != null && + this.CustomerData.Equals(input.CustomerData)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.OldCustomer == input.OldCustomer || + (this.OldCustomer != null && + this.OldCustomer.Equals(input.OldCustomer)) + ) && + ( + this.CustomerDeclarationRequired == input.CustomerDeclarationRequired || + (this.CustomerDeclarationRequired != null && + this.CustomerDeclarationRequired.Equals(input.CustomerDeclarationRequired)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DataProvider != null) + hashCode = hashCode * 59 + this.DataProvider.GetHashCode(); + if (this.CustomerData != null) + hashCode = hashCode * 59 + this.CustomerData.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.OldCustomer != null) + hashCode = hashCode * 59 + this.OldCustomer.GetHashCode(); + if (this.CustomerDeclarationRequired != null) + hashCode = hashCode * 59 + this.CustomerDeclarationRequired.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2236aafd9316fdbe1993fb76fcfa9b837e445fad --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AccountBalanceRequest <p>Request object for querying customer's account balance.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer id.</p>. + /// <p>The accounting area.</p>. + /// <p>Indicates whether service is called in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest(string customerID = default(string), string accountingArea = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerID = customerID; + this.AccountingArea = accountingArea; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>The accounting area.</p> + /// + /// <p>The accounting area.</p> + [DataMember(Name="accountingArea", EmitDefaultValue=false)] + public string AccountingArea { get; set; } + + /// + /// <p>Indicates whether service is called in training mode.</p> + /// + /// <p>Indicates whether service is called in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AccountingArea: ").Append(AccountingArea).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AccountingArea == input.AccountingArea || + (this.AccountingArea != null && + this.AccountingArea.Equals(input.AccountingArea)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AccountingArea != null) + hashCode = hashCode * 59 + this.AccountingArea.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..5bb1da46428a92b64e359f7669194d0ec7979616 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AccountBalanceResult <p>Result object for customer's account balance request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The balance entry list.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult(List balanceEntries = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BalanceEntries = balanceEntries; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The balance entry list.</p> + /// + /// <p>The balance entry list.</p> + [DataMember(Name="balanceEntries", EmitDefaultValue=false)] + public List BalanceEntries { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult {\n"); + sb.Append(" BalanceEntries: ").Append(BalanceEntries).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult input) + { + if (input == null) + return false; + + return + ( + this.BalanceEntries == input.BalanceEntries || + this.BalanceEntries != null && + this.BalanceEntries.SequenceEqual(input.BalanceEntries) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BalanceEntries != null) + hashCode = hashCode * 59 + this.BalanceEntries.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2ea52285e0db722ab6945fae1396949abc7d9428 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest.cs @@ -0,0 +1,452 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrdersRequest <p>Request object for the SalesOrderBasicWebService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>List of customer numbers used for sales orders search.</p>. + /// <p>Specifies whether only open orders are searched.</p> (required). + /// <p>Maximum number of search results.</p> (required). + /// <p>Indicates whether the service should be called in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest(List customerIds = default(List), bool? onlyOpen = default(bool?), int? numberOfResults = default(int?), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "onlyOpen" is required (not null) + if (onlyOpen == null) + { + throw new InvalidDataException("onlyOpen is a required property for ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest and cannot be null"); + } + else + { + this.OnlyOpen = onlyOpen; + } + // to ensure "numberOfResults" is required (not null) + if (numberOfResults == null) + { + throw new InvalidDataException("numberOfResults is a required property for ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest and cannot be null"); + } + else + { + this.NumberOfResults = numberOfResults; + } + this.CustomerIds = customerIds; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of customer numbers used for sales orders search.</p> + /// + /// <p>List of customer numbers used for sales orders search.</p> + [DataMember(Name="customerIds", EmitDefaultValue=false)] + public List CustomerIds { get; set; } + + /// + /// <p>Specifies whether only open orders are searched.</p> + /// + /// <p>Specifies whether only open orders are searched.</p> + [DataMember(Name="onlyOpen", EmitDefaultValue=false)] + public bool? OnlyOpen { get; set; } + + /// + /// <p>Maximum number of search results.</p> + /// + /// <p>Maximum number of search results.</p> + [DataMember(Name="numberOfResults", EmitDefaultValue=false)] + public int? NumberOfResults { get; set; } + + /// + /// <p>Indicates whether the service should be called in training mode.</p> + /// + /// <p>Indicates whether the service should be called in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest {\n"); + sb.Append(" CustomerIds: ").Append(CustomerIds).Append("\n"); + sb.Append(" OnlyOpen: ").Append(OnlyOpen).Append("\n"); + sb.Append(" NumberOfResults: ").Append(NumberOfResults).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerIds == input.CustomerIds || + this.CustomerIds != null && + this.CustomerIds.SequenceEqual(input.CustomerIds) + ) && + ( + this.OnlyOpen == input.OnlyOpen || + (this.OnlyOpen != null && + this.OnlyOpen.Equals(input.OnlyOpen)) + ) && + ( + this.NumberOfResults == input.NumberOfResults || + (this.NumberOfResults != null && + this.NumberOfResults.Equals(input.NumberOfResults)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerIds != null) + hashCode = hashCode * 59 + this.CustomerIds.GetHashCode(); + if (this.OnlyOpen != null) + hashCode = hashCode * 59 + this.OnlyOpen.GetHashCode(); + if (this.NumberOfResults != null) + hashCode = hashCode * 59 + this.NumberOfResults.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..17517c68de7ea19c2af4f5ba3b2d1a4c0ceba2b5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrdersResult <p>Result object containing sales order details for sales order search.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The sales order basic result list.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult(List salesOrderBasicResults = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.SalesOrderBasicResults = salesOrderBasicResults; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The sales order basic result list.</p> + /// + /// <p>The sales order basic result list.</p> + [DataMember(Name="salesOrderBasicResults", EmitDefaultValue=false)] + public List SalesOrderBasicResults { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult {\n"); + sb.Append(" SalesOrderBasicResults: ").Append(SalesOrderBasicResults).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult input) + { + if (input == null) + return false; + + return + ( + this.SalesOrderBasicResults == input.SalesOrderBasicResults || + this.SalesOrderBasicResults != null && + this.SalesOrderBasicResults.SequenceEqual(input.SalesOrderBasicResults) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SalesOrderBasicResults != null) + hashCode = hashCode * 59 + this.SalesOrderBasicResults.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request.cs new file mode 100644 index 0000000000000000000000000000000000000000..72767ddcc2c7a4794036088fc68137b3b66bc3bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderByIdV3Request <p>Request object for retrieving sales order details by its id.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The sales order number.</p>. + /// <p>Indicates whether service should be called in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request(string orderNumber = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OrderNumber = orderNumber; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The sales order number.</p> + /// + /// <p>The sales order number.</p> + [DataMember(Name="orderNumber", EmitDefaultValue=false)] + public string OrderNumber { get; set; } + + /// + /// <p>Indicates whether service should be called in training mode.</p> + /// + /// <p>Indicates whether service should be called in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request {\n"); + sb.Append(" OrderNumber: ").Append(OrderNumber).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request input) + { + if (input == null) + return false; + + return + ( + this.OrderNumber == input.OrderNumber || + (this.OrderNumber != null && + this.OrderNumber.Equals(input.OrderNumber)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OrderNumber != null) + hashCode = hashCode * 59 + this.OrderNumber.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result.cs new file mode 100644 index 0000000000000000000000000000000000000000..ab9a27ca2dd81297c9cbaf1a456f62247f22c8b1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result.cs @@ -0,0 +1,533 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderByIdV3Result <p>The sales order details returned froma sales order search by id.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The sales order id.</p>. + /// <p>The sales order date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The total gross amount.</p>. + /// <p>The total net amount.</p>. + /// <p>The total tax amount.</p>. + /// <p>The customer order life cycle status code.</p>. + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul>. + /// <p>The customer id.</p>. + /// <p>The price component list.</p>. + /// <p>The item list.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result(string id = default(string), string date = default(string), double? totalValuesGrossAmount = default(double?), double? totalValuesNetAmount = default(double?), double? totalValuesTaxAmount = default(double?), string statusCustomerOrderLifeCycleStatusCode = default(string), string processingTypeCode = default(string), string customerId = default(string), List priceComponents = default(List), List items = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Id = id; + this.Date = date; + this.TotalValuesGrossAmount = totalValuesGrossAmount; + this.TotalValuesNetAmount = totalValuesNetAmount; + this.TotalValuesTaxAmount = totalValuesTaxAmount; + this.StatusCustomerOrderLifeCycleStatusCode = statusCustomerOrderLifeCycleStatusCode; + this.ProcessingTypeCode = processingTypeCode; + this.CustomerId = customerId; + this.PriceComponents = priceComponents; + this.Items = items; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The sales order id.</p> + /// + /// <p>The sales order id.</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>The sales order date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The sales order date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="date", EmitDefaultValue=false)] + public string Date { get; set; } + + /// + /// <p>The total gross amount.</p> + /// + /// <p>The total gross amount.</p> + [DataMember(Name="totalValuesGrossAmount", EmitDefaultValue=false)] + public double? TotalValuesGrossAmount { get; set; } + + /// + /// <p>The total net amount.</p> + /// + /// <p>The total net amount.</p> + [DataMember(Name="totalValuesNetAmount", EmitDefaultValue=false)] + public double? TotalValuesNetAmount { get; set; } + + /// + /// <p>The total tax amount.</p> + /// + /// <p>The total tax amount.</p> + [DataMember(Name="totalValuesTaxAmount", EmitDefaultValue=false)] + public double? TotalValuesTaxAmount { get; set; } + + /// + /// <p>The customer order life cycle status code.</p> + /// + /// <p>The customer order life cycle status code.</p> + [DataMember(Name="statusCustomerOrderLifeCycleStatusCode", EmitDefaultValue=false)] + public string StatusCustomerOrderLifeCycleStatusCode { get; set; } + + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + [DataMember(Name="processingTypeCode", EmitDefaultValue=false)] + public string ProcessingTypeCode { get; set; } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The price component list.</p> + /// + /// <p>The price component list.</p> + [DataMember(Name="priceComponents", EmitDefaultValue=false)] + public List PriceComponents { get; set; } + + /// + /// <p>The item list.</p> + /// + /// <p>The item list.</p> + [DataMember(Name="items", EmitDefaultValue=false)] + public List Items { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Date: ").Append(Date).Append("\n"); + sb.Append(" TotalValuesGrossAmount: ").Append(TotalValuesGrossAmount).Append("\n"); + sb.Append(" TotalValuesNetAmount: ").Append(TotalValuesNetAmount).Append("\n"); + sb.Append(" TotalValuesTaxAmount: ").Append(TotalValuesTaxAmount).Append("\n"); + sb.Append(" StatusCustomerOrderLifeCycleStatusCode: ").Append(StatusCustomerOrderLifeCycleStatusCode).Append("\n"); + sb.Append(" ProcessingTypeCode: ").Append(ProcessingTypeCode).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" PriceComponents: ").Append(PriceComponents).Append("\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Date == input.Date || + (this.Date != null && + this.Date.Equals(input.Date)) + ) && + ( + this.TotalValuesGrossAmount == input.TotalValuesGrossAmount || + (this.TotalValuesGrossAmount != null && + this.TotalValuesGrossAmount.Equals(input.TotalValuesGrossAmount)) + ) && + ( + this.TotalValuesNetAmount == input.TotalValuesNetAmount || + (this.TotalValuesNetAmount != null && + this.TotalValuesNetAmount.Equals(input.TotalValuesNetAmount)) + ) && + ( + this.TotalValuesTaxAmount == input.TotalValuesTaxAmount || + (this.TotalValuesTaxAmount != null && + this.TotalValuesTaxAmount.Equals(input.TotalValuesTaxAmount)) + ) && + ( + this.StatusCustomerOrderLifeCycleStatusCode == input.StatusCustomerOrderLifeCycleStatusCode || + (this.StatusCustomerOrderLifeCycleStatusCode != null && + this.StatusCustomerOrderLifeCycleStatusCode.Equals(input.StatusCustomerOrderLifeCycleStatusCode)) + ) && + ( + this.ProcessingTypeCode == input.ProcessingTypeCode || + (this.ProcessingTypeCode != null && + this.ProcessingTypeCode.Equals(input.ProcessingTypeCode)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.PriceComponents == input.PriceComponents || + this.PriceComponents != null && + this.PriceComponents.SequenceEqual(input.PriceComponents) + ) && + ( + this.Items == input.Items || + this.Items != null && + this.Items.SequenceEqual(input.Items) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Date != null) + hashCode = hashCode * 59 + this.Date.GetHashCode(); + if (this.TotalValuesGrossAmount != null) + hashCode = hashCode * 59 + this.TotalValuesGrossAmount.GetHashCode(); + if (this.TotalValuesNetAmount != null) + hashCode = hashCode * 59 + this.TotalValuesNetAmount.GetHashCode(); + if (this.TotalValuesTaxAmount != null) + hashCode = hashCode * 59 + this.TotalValuesTaxAmount.GetHashCode(); + if (this.StatusCustomerOrderLifeCycleStatusCode != null) + hashCode = hashCode * 59 + this.StatusCustomerOrderLifeCycleStatusCode.GetHashCode(); + if (this.ProcessingTypeCode != null) + hashCode = hashCode * 59 + this.ProcessingTypeCode.GetHashCode(); + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.PriceComponents != null) + hashCode = hashCode * 59 + this.PriceComponents.GetHashCode(); + if (this.Items != null) + hashCode = hashCode * 59 + this.Items.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3.cs new file mode 100644 index 0000000000000000000000000000000000000000..c3f883d37d9a1014346cd636efd8d9895184319d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3.cs @@ -0,0 +1,682 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderExtendedItemDataV3 <p>Sales order extended item data based on sales order common data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The id</p>. + /// <p>The description</p>. + /// <p>The productInternalId</p>. + /// <p>The productSalesMeasureUnitCode</p>. + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The deliveryTermsDeliveryPlantId</p>. + /// <p>The requestedQuantity</p> (required). + /// <p>The receivingPointId</p>. + /// <p>The product standard id</p>. + /// <p>The product rejection reason code.</p>. + /// <p>The item price component list.</p>. + /// <p>The requested quantity.</p>. + /// <p>The confirmed quantity.</p>. + /// <p>The delivered quantity.</p>. + /// <p>The total net amount.</p>. + /// <p>The total net price.</p>. + /// <p>The total tax amount.</p>. + /// <p>The schedule line list.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3(string id = default(string), string description = default(string), string productInternalId = default(string), string productSalesMeasureUnitCode = default(string), string requestDate = default(string), string deliveryTermsDeliveryPlantId = default(string), double? requestedQuantity = default(double?), string receivingPointId = default(string), string productStandardId = default(string), string productRejectionReasonCode = default(string), List itemPriceComponents = default(List), double? totalValuesRequestedQuantity = default(double?), double? totalValuesConfirmedQuantity = default(double?), double? totalValuesDeliveredQuantity = default(double?), double? totalValuesNetAmount = default(double?), double? totalValuesNetPrice = default(double?), double? totalValuesTaxAmount = default(double?), List scheduleLines = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "requestedQuantity" is required (not null) + if (requestedQuantity == null) + { + throw new InvalidDataException("requestedQuantity is a required property for ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3 and cannot be null"); + } + else + { + this.RequestedQuantity = requestedQuantity; + } + this.Id = id; + this.Description = description; + this.ProductInternalId = productInternalId; + this.ProductSalesMeasureUnitCode = productSalesMeasureUnitCode; + this.RequestDate = requestDate; + this.DeliveryTermsDeliveryPlantId = deliveryTermsDeliveryPlantId; + this.ReceivingPointId = receivingPointId; + this.ProductStandardId = productStandardId; + this.ProductRejectionReasonCode = productRejectionReasonCode; + this.ItemPriceComponents = itemPriceComponents; + this.TotalValuesRequestedQuantity = totalValuesRequestedQuantity; + this.TotalValuesConfirmedQuantity = totalValuesConfirmedQuantity; + this.TotalValuesDeliveredQuantity = totalValuesDeliveredQuantity; + this.TotalValuesNetAmount = totalValuesNetAmount; + this.TotalValuesNetPrice = totalValuesNetPrice; + this.TotalValuesTaxAmount = totalValuesTaxAmount; + this.ScheduleLines = scheduleLines; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The id</p> + /// + /// <p>The id</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>The description</p> + /// + /// <p>The description</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The productInternalId</p> + /// + /// <p>The productInternalId</p> + [DataMember(Name="productInternalId", EmitDefaultValue=false)] + public string ProductInternalId { get; set; } + + /// + /// <p>The productSalesMeasureUnitCode</p> + /// + /// <p>The productSalesMeasureUnitCode</p> + [DataMember(Name="productSalesMeasureUnitCode", EmitDefaultValue=false)] + public string ProductSalesMeasureUnitCode { get; set; } + + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestDate", EmitDefaultValue=false)] + public string RequestDate { get; set; } + + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + [DataMember(Name="deliveryTermsDeliveryPlantId", EmitDefaultValue=false)] + public string DeliveryTermsDeliveryPlantId { get; set; } + + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + [DataMember(Name="requestedQuantity", EmitDefaultValue=false)] + public double? RequestedQuantity { get; set; } + + /// + /// <p>The receivingPointId</p> + /// + /// <p>The receivingPointId</p> + [DataMember(Name="receivingPointId", EmitDefaultValue=false)] + public string ReceivingPointId { get; set; } + + /// + /// <p>The product standard id</p> + /// + /// <p>The product standard id</p> + [DataMember(Name="productStandardId", EmitDefaultValue=false)] + public string ProductStandardId { get; set; } + + /// + /// <p>The product rejection reason code.</p> + /// + /// <p>The product rejection reason code.</p> + [DataMember(Name="productRejectionReasonCode", EmitDefaultValue=false)] + public string ProductRejectionReasonCode { get; set; } + + /// + /// <p>The item price component list.</p> + /// + /// <p>The item price component list.</p> + [DataMember(Name="itemPriceComponents", EmitDefaultValue=false)] + public List ItemPriceComponents { get; set; } + + /// + /// <p>The requested quantity.</p> + /// + /// <p>The requested quantity.</p> + [DataMember(Name="totalValuesRequestedQuantity", EmitDefaultValue=false)] + public double? TotalValuesRequestedQuantity { get; set; } + + /// + /// <p>The confirmed quantity.</p> + /// + /// <p>The confirmed quantity.</p> + [DataMember(Name="totalValuesConfirmedQuantity", EmitDefaultValue=false)] + public double? TotalValuesConfirmedQuantity { get; set; } + + /// + /// <p>The delivered quantity.</p> + /// + /// <p>The delivered quantity.</p> + [DataMember(Name="totalValuesDeliveredQuantity", EmitDefaultValue=false)] + public double? TotalValuesDeliveredQuantity { get; set; } + + /// + /// <p>The total net amount.</p> + /// + /// <p>The total net amount.</p> + [DataMember(Name="totalValuesNetAmount", EmitDefaultValue=false)] + public double? TotalValuesNetAmount { get; set; } + + /// + /// <p>The total net price.</p> + /// + /// <p>The total net price.</p> + [DataMember(Name="totalValuesNetPrice", EmitDefaultValue=false)] + public double? TotalValuesNetPrice { get; set; } + + /// + /// <p>The total tax amount.</p> + /// + /// <p>The total tax amount.</p> + [DataMember(Name="totalValuesTaxAmount", EmitDefaultValue=false)] + public double? TotalValuesTaxAmount { get; set; } + + /// + /// <p>The schedule line list.</p> + /// + /// <p>The schedule line list.</p> + [DataMember(Name="scheduleLines", EmitDefaultValue=false)] + public List ScheduleLines { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3 {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ProductInternalId: ").Append(ProductInternalId).Append("\n"); + sb.Append(" ProductSalesMeasureUnitCode: ").Append(ProductSalesMeasureUnitCode).Append("\n"); + sb.Append(" RequestDate: ").Append(RequestDate).Append("\n"); + sb.Append(" DeliveryTermsDeliveryPlantId: ").Append(DeliveryTermsDeliveryPlantId).Append("\n"); + sb.Append(" RequestedQuantity: ").Append(RequestedQuantity).Append("\n"); + sb.Append(" ReceivingPointId: ").Append(ReceivingPointId).Append("\n"); + sb.Append(" ProductStandardId: ").Append(ProductStandardId).Append("\n"); + sb.Append(" ProductRejectionReasonCode: ").Append(ProductRejectionReasonCode).Append("\n"); + sb.Append(" ItemPriceComponents: ").Append(ItemPriceComponents).Append("\n"); + sb.Append(" TotalValuesRequestedQuantity: ").Append(TotalValuesRequestedQuantity).Append("\n"); + sb.Append(" TotalValuesConfirmedQuantity: ").Append(TotalValuesConfirmedQuantity).Append("\n"); + sb.Append(" TotalValuesDeliveredQuantity: ").Append(TotalValuesDeliveredQuantity).Append("\n"); + sb.Append(" TotalValuesNetAmount: ").Append(TotalValuesNetAmount).Append("\n"); + sb.Append(" TotalValuesNetPrice: ").Append(TotalValuesNetPrice).Append("\n"); + sb.Append(" TotalValuesTaxAmount: ").Append(TotalValuesTaxAmount).Append("\n"); + sb.Append(" ScheduleLines: ").Append(ScheduleLines).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3 instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3 to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3 input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.ProductInternalId == input.ProductInternalId || + (this.ProductInternalId != null && + this.ProductInternalId.Equals(input.ProductInternalId)) + ) && + ( + this.ProductSalesMeasureUnitCode == input.ProductSalesMeasureUnitCode || + (this.ProductSalesMeasureUnitCode != null && + this.ProductSalesMeasureUnitCode.Equals(input.ProductSalesMeasureUnitCode)) + ) && + ( + this.RequestDate == input.RequestDate || + (this.RequestDate != null && + this.RequestDate.Equals(input.RequestDate)) + ) && + ( + this.DeliveryTermsDeliveryPlantId == input.DeliveryTermsDeliveryPlantId || + (this.DeliveryTermsDeliveryPlantId != null && + this.DeliveryTermsDeliveryPlantId.Equals(input.DeliveryTermsDeliveryPlantId)) + ) && + ( + this.RequestedQuantity == input.RequestedQuantity || + (this.RequestedQuantity != null && + this.RequestedQuantity.Equals(input.RequestedQuantity)) + ) && + ( + this.ReceivingPointId == input.ReceivingPointId || + (this.ReceivingPointId != null && + this.ReceivingPointId.Equals(input.ReceivingPointId)) + ) && + ( + this.ProductStandardId == input.ProductStandardId || + (this.ProductStandardId != null && + this.ProductStandardId.Equals(input.ProductStandardId)) + ) && + ( + this.ProductRejectionReasonCode == input.ProductRejectionReasonCode || + (this.ProductRejectionReasonCode != null && + this.ProductRejectionReasonCode.Equals(input.ProductRejectionReasonCode)) + ) && + ( + this.ItemPriceComponents == input.ItemPriceComponents || + this.ItemPriceComponents != null && + this.ItemPriceComponents.SequenceEqual(input.ItemPriceComponents) + ) && + ( + this.TotalValuesRequestedQuantity == input.TotalValuesRequestedQuantity || + (this.TotalValuesRequestedQuantity != null && + this.TotalValuesRequestedQuantity.Equals(input.TotalValuesRequestedQuantity)) + ) && + ( + this.TotalValuesConfirmedQuantity == input.TotalValuesConfirmedQuantity || + (this.TotalValuesConfirmedQuantity != null && + this.TotalValuesConfirmedQuantity.Equals(input.TotalValuesConfirmedQuantity)) + ) && + ( + this.TotalValuesDeliveredQuantity == input.TotalValuesDeliveredQuantity || + (this.TotalValuesDeliveredQuantity != null && + this.TotalValuesDeliveredQuantity.Equals(input.TotalValuesDeliveredQuantity)) + ) && + ( + this.TotalValuesNetAmount == input.TotalValuesNetAmount || + (this.TotalValuesNetAmount != null && + this.TotalValuesNetAmount.Equals(input.TotalValuesNetAmount)) + ) && + ( + this.TotalValuesNetPrice == input.TotalValuesNetPrice || + (this.TotalValuesNetPrice != null && + this.TotalValuesNetPrice.Equals(input.TotalValuesNetPrice)) + ) && + ( + this.TotalValuesTaxAmount == input.TotalValuesTaxAmount || + (this.TotalValuesTaxAmount != null && + this.TotalValuesTaxAmount.Equals(input.TotalValuesTaxAmount)) + ) && + ( + this.ScheduleLines == input.ScheduleLines || + this.ScheduleLines != null && + this.ScheduleLines.SequenceEqual(input.ScheduleLines) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.ProductInternalId != null) + hashCode = hashCode * 59 + this.ProductInternalId.GetHashCode(); + if (this.ProductSalesMeasureUnitCode != null) + hashCode = hashCode * 59 + this.ProductSalesMeasureUnitCode.GetHashCode(); + if (this.RequestDate != null) + hashCode = hashCode * 59 + this.RequestDate.GetHashCode(); + if (this.DeliveryTermsDeliveryPlantId != null) + hashCode = hashCode * 59 + this.DeliveryTermsDeliveryPlantId.GetHashCode(); + if (this.RequestedQuantity != null) + hashCode = hashCode * 59 + this.RequestedQuantity.GetHashCode(); + if (this.ReceivingPointId != null) + hashCode = hashCode * 59 + this.ReceivingPointId.GetHashCode(); + if (this.ProductStandardId != null) + hashCode = hashCode * 59 + this.ProductStandardId.GetHashCode(); + if (this.ProductRejectionReasonCode != null) + hashCode = hashCode * 59 + this.ProductRejectionReasonCode.GetHashCode(); + if (this.ItemPriceComponents != null) + hashCode = hashCode * 59 + this.ItemPriceComponents.GetHashCode(); + if (this.TotalValuesRequestedQuantity != null) + hashCode = hashCode * 59 + this.TotalValuesRequestedQuantity.GetHashCode(); + if (this.TotalValuesConfirmedQuantity != null) + hashCode = hashCode * 59 + this.TotalValuesConfirmedQuantity.GetHashCode(); + if (this.TotalValuesDeliveredQuantity != null) + hashCode = hashCode * 59 + this.TotalValuesDeliveredQuantity.GetHashCode(); + if (this.TotalValuesNetAmount != null) + hashCode = hashCode * 59 + this.TotalValuesNetAmount.GetHashCode(); + if (this.TotalValuesNetPrice != null) + hashCode = hashCode * 59 + this.TotalValuesNetPrice.GetHashCode(); + if (this.TotalValuesTaxAmount != null) + hashCode = hashCode * 59 + this.TotalValuesTaxAmount.GetHashCode(); + if (this.ScheduleLines != null) + hashCode = hashCode * 59 + this.ScheduleLines.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..e96200ae0a36b2b769ae3492225f189a7399d128 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem.cs @@ -0,0 +1,567 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ChangeConfirmationRequestItem <p>Request object of the Change Confirmation Item</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The item id.</p>. + /// <p>The item receipt text description.</p>. + /// <p>The product internal id.</p>. + /// <p>The product sales measure unit code.</p>. + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p>. + /// <p>The requested quantity.</p>. + /// <p>Rejection reason (Token 0-2) for reversal of sales orders or order items.</p>. + /// <p>Pick up destination. This field describes the receiving point party for the items.<br /> For example, it is the current store id if it is an immediate pickup, <br /> or another store's id if the sales order will be retrieved in a different store.</p>. + /// <p>Price component condition data for the item.</p>. + /// <p>Buyer document id (Token 1-35). <br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul>. + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem(string id = default(string), string description = default(string), string productInternalId = default(string), string productSalesMeasureUnitCode = default(string), string dateTermsRequestDate = default(string), string deliveryTermsDeliveryPlantId = default(string), double? totalValuesRequestedQuantity = default(double?), string salesTermsRejectionReasonCode = default(string), string receivingPointPartyInternalId = default(string), List priceComponents = default(List), string buyerDocumentId = default(string), string actionCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Id = id; + this.Description = description; + this.ProductInternalId = productInternalId; + this.ProductSalesMeasureUnitCode = productSalesMeasureUnitCode; + this.DateTermsRequestDate = dateTermsRequestDate; + this.DeliveryTermsDeliveryPlantId = deliveryTermsDeliveryPlantId; + this.TotalValuesRequestedQuantity = totalValuesRequestedQuantity; + this.SalesTermsRejectionReasonCode = salesTermsRejectionReasonCode; + this.ReceivingPointPartyInternalId = receivingPointPartyInternalId; + this.PriceComponents = priceComponents; + this.BuyerDocumentId = buyerDocumentId; + this.ActionCode = actionCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>The item receipt text description.</p> + /// + /// <p>The item receipt text description.</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The product internal id.</p> + /// + /// <p>The product internal id.</p> + [DataMember(Name="product_internalId", EmitDefaultValue=false)] + public string ProductInternalId { get; set; } + + /// + /// <p>The product sales measure unit code.</p> + /// + /// <p>The product sales measure unit code.</p> + [DataMember(Name="product_salesMeasureUnitCode", EmitDefaultValue=false)] + public string ProductSalesMeasureUnitCode { get; set; } + + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="dateTerms_requestDate", EmitDefaultValue=false)] + public string DateTermsRequestDate { get; set; } + + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + [DataMember(Name="deliveryTerms_deliveryPlantId", EmitDefaultValue=false)] + public string DeliveryTermsDeliveryPlantId { get; set; } + + /// + /// <p>The requested quantity.</p> + /// + /// <p>The requested quantity.</p> + [DataMember(Name="totalValues_requestedQuantity", EmitDefaultValue=false)] + public double? TotalValuesRequestedQuantity { get; set; } + + /// + /// <p>Rejection reason (Token 0-2) for reversal of sales orders or order items.</p> + /// + /// <p>Rejection reason (Token 0-2) for reversal of sales orders or order items.</p> + [DataMember(Name="salesTerms_rejectionReasonCode", EmitDefaultValue=false)] + public string SalesTermsRejectionReasonCode { get; set; } + + /// + /// <p>Pick up destination. This field describes the receiving point party for the items.<br /> For example, it is the current store id if it is an immediate pickup, <br /> or another store's id if the sales order will be retrieved in a different store.</p> + /// + /// <p>Pick up destination. This field describes the receiving point party for the items.<br /> For example, it is the current store id if it is an immediate pickup, <br /> or another store's id if the sales order will be retrieved in a different store.</p> + [DataMember(Name="receivingPointParty_internalId", EmitDefaultValue=false)] + public string ReceivingPointPartyInternalId { get; set; } + + /// + /// <p>Price component condition data for the item.</p> + /// + /// <p>Price component condition data for the item.</p> + [DataMember(Name="priceComponents", EmitDefaultValue=false)] + public List PriceComponents { get; set; } + + /// + /// <p>Buyer document id (Token 1-35). <br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + /// + /// <p>Buyer document id (Token 1-35). <br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + [DataMember(Name="buyerDocument_Id", EmitDefaultValue=false)] + public string BuyerDocumentId { get; set; } + + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ProductInternalId: ").Append(ProductInternalId).Append("\n"); + sb.Append(" ProductSalesMeasureUnitCode: ").Append(ProductSalesMeasureUnitCode).Append("\n"); + sb.Append(" DateTermsRequestDate: ").Append(DateTermsRequestDate).Append("\n"); + sb.Append(" DeliveryTermsDeliveryPlantId: ").Append(DeliveryTermsDeliveryPlantId).Append("\n"); + sb.Append(" TotalValuesRequestedQuantity: ").Append(TotalValuesRequestedQuantity).Append("\n"); + sb.Append(" SalesTermsRejectionReasonCode: ").Append(SalesTermsRejectionReasonCode).Append("\n"); + sb.Append(" ReceivingPointPartyInternalId: ").Append(ReceivingPointPartyInternalId).Append("\n"); + sb.Append(" PriceComponents: ").Append(PriceComponents).Append("\n"); + sb.Append(" BuyerDocumentId: ").Append(BuyerDocumentId).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.ProductInternalId == input.ProductInternalId || + (this.ProductInternalId != null && + this.ProductInternalId.Equals(input.ProductInternalId)) + ) && + ( + this.ProductSalesMeasureUnitCode == input.ProductSalesMeasureUnitCode || + (this.ProductSalesMeasureUnitCode != null && + this.ProductSalesMeasureUnitCode.Equals(input.ProductSalesMeasureUnitCode)) + ) && + ( + this.DateTermsRequestDate == input.DateTermsRequestDate || + (this.DateTermsRequestDate != null && + this.DateTermsRequestDate.Equals(input.DateTermsRequestDate)) + ) && + ( + this.DeliveryTermsDeliveryPlantId == input.DeliveryTermsDeliveryPlantId || + (this.DeliveryTermsDeliveryPlantId != null && + this.DeliveryTermsDeliveryPlantId.Equals(input.DeliveryTermsDeliveryPlantId)) + ) && + ( + this.TotalValuesRequestedQuantity == input.TotalValuesRequestedQuantity || + (this.TotalValuesRequestedQuantity != null && + this.TotalValuesRequestedQuantity.Equals(input.TotalValuesRequestedQuantity)) + ) && + ( + this.SalesTermsRejectionReasonCode == input.SalesTermsRejectionReasonCode || + (this.SalesTermsRejectionReasonCode != null && + this.SalesTermsRejectionReasonCode.Equals(input.SalesTermsRejectionReasonCode)) + ) && + ( + this.ReceivingPointPartyInternalId == input.ReceivingPointPartyInternalId || + (this.ReceivingPointPartyInternalId != null && + this.ReceivingPointPartyInternalId.Equals(input.ReceivingPointPartyInternalId)) + ) && + ( + this.PriceComponents == input.PriceComponents || + this.PriceComponents != null && + this.PriceComponents.SequenceEqual(input.PriceComponents) + ) && + ( + this.BuyerDocumentId == input.BuyerDocumentId || + (this.BuyerDocumentId != null && + this.BuyerDocumentId.Equals(input.BuyerDocumentId)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.ProductInternalId != null) + hashCode = hashCode * 59 + this.ProductInternalId.GetHashCode(); + if (this.ProductSalesMeasureUnitCode != null) + hashCode = hashCode * 59 + this.ProductSalesMeasureUnitCode.GetHashCode(); + if (this.DateTermsRequestDate != null) + hashCode = hashCode * 59 + this.DateTermsRequestDate.GetHashCode(); + if (this.DeliveryTermsDeliveryPlantId != null) + hashCode = hashCode * 59 + this.DeliveryTermsDeliveryPlantId.GetHashCode(); + if (this.TotalValuesRequestedQuantity != null) + hashCode = hashCode * 59 + this.TotalValuesRequestedQuantity.GetHashCode(); + if (this.SalesTermsRejectionReasonCode != null) + hashCode = hashCode * 59 + this.SalesTermsRejectionReasonCode.GetHashCode(); + if (this.ReceivingPointPartyInternalId != null) + hashCode = hashCode * 59 + this.ReceivingPointPartyInternalId.GetHashCode(); + if (this.PriceComponents != null) + hashCode = hashCode * 59 + this.PriceComponents.GetHashCode(); + if (this.BuyerDocumentId != null) + hashCode = hashCode * 59 + this.BuyerDocumentId.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..8df1db5cdd0d0a1e93e8e5a1dd58c715a44fc3fb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ChangeConfirmationRequestItemPriceComponent <p>Request object of the Change Confirmation Item Price Component</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p>. + /// <p>Price condition value.</p>. + /// <p>The rate base decimal value.</p>. + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent(string priceSpecificationElementTypeCode = default(string), double? rateDecimalValue = default(double?), double? rateBaseDecimalValue = default(double?), string actionCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PriceSpecificationElementTypeCode = priceSpecificationElementTypeCode; + this.RateDecimalValue = rateDecimalValue; + this.RateBaseDecimalValue = rateBaseDecimalValue; + this.ActionCode = actionCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + [DataMember(Name="priceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string PriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + [DataMember(Name="rate_DecimalValue", EmitDefaultValue=false)] + public double? RateDecimalValue { get; set; } + + /// + /// <p>The rate base decimal value.</p> + /// + /// <p>The rate base decimal value.</p> + [DataMember(Name="rate_BaseDecimalValue", EmitDefaultValue=false)] + public double? RateBaseDecimalValue { get; set; } + + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent {\n"); + sb.Append(" PriceSpecificationElementTypeCode: ").Append(PriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" RateDecimalValue: ").Append(RateDecimalValue).Append("\n"); + sb.Append(" RateBaseDecimalValue: ").Append(RateBaseDecimalValue).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent input) + { + if (input == null) + return false; + + return + ( + this.PriceSpecificationElementTypeCode == input.PriceSpecificationElementTypeCode || + (this.PriceSpecificationElementTypeCode != null && + this.PriceSpecificationElementTypeCode.Equals(input.PriceSpecificationElementTypeCode)) + ) && + ( + this.RateDecimalValue == input.RateDecimalValue || + (this.RateDecimalValue != null && + this.RateDecimalValue.Equals(input.RateDecimalValue)) + ) && + ( + this.RateBaseDecimalValue == input.RateBaseDecimalValue || + (this.RateBaseDecimalValue != null && + this.RateBaseDecimalValue.Equals(input.RateBaseDecimalValue)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.PriceSpecificationElementTypeCode.GetHashCode(); + if (this.RateDecimalValue != null) + hashCode = hashCode * 59 + this.RateDecimalValue.GetHashCode(); + if (this.RateBaseDecimalValue != null) + hashCode = hashCode * 59 + this.RateBaseDecimalValue.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7746005465d9a4cbb6394ae8b281635027c4b38 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ChangeConfirmationRequestPriceComponent <p>Request object of the Change Confirmation Price Component.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p>. + /// <p>Price condition value.</p>. + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent(string priceSpecificationElementTypeCode = default(string), double? rateDecimalValue = default(double?), string actionCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PriceSpecificationElementTypeCode = priceSpecificationElementTypeCode; + this.RateDecimalValue = rateDecimalValue; + this.ActionCode = actionCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + [DataMember(Name="priceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string PriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + [DataMember(Name="rate_DecimalValue", EmitDefaultValue=false)] + public double? RateDecimalValue { get; set; } + + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent {\n"); + sb.Append(" PriceSpecificationElementTypeCode: ").Append(PriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" RateDecimalValue: ").Append(RateDecimalValue).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent input) + { + if (input == null) + return false; + + return + ( + this.PriceSpecificationElementTypeCode == input.PriceSpecificationElementTypeCode || + (this.PriceSpecificationElementTypeCode != null && + this.PriceSpecificationElementTypeCode.Equals(input.PriceSpecificationElementTypeCode)) + ) && + ( + this.RateDecimalValue == input.RateDecimalValue || + (this.RateDecimalValue != null && + this.RateDecimalValue.Equals(input.RateDecimalValue)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.PriceSpecificationElementTypeCode.GetHashCode(); + if (this.RateDecimalValue != null) + hashCode = hashCode * 59 + this.RateDecimalValue.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ea6adc26b2f071cfd4637588d714f3e3aaaa9209 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest.cs @@ -0,0 +1,516 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderChangeConfirmationRequest <p>Request object for creating a sales order change confirmation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The store id.</p>. + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The POS id.</p>. + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p>. + /// <p>The delivery blocking reason code.</p>. + /// <p>Sales order number (Token of length 1-10).</p>. + /// <p>Price components containing condition data of the sales order.</p>. + /// <p>Sales order items.</p>. + /// <p>Indicates whether service is called on training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest(string storeId = default(string), string date = default(string), string posId = default(string), int? sequenceNumber = default(int?), string deliveryBlockingReasonCode = default(string), string salesOrderId = default(string), List priceComponents = default(List), List items = default(List), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.StoreId = storeId; + this.Date = date; + this.PosId = posId; + this.SequenceNumber = sequenceNumber; + this.DeliveryBlockingReasonCode = deliveryBlockingReasonCode; + this.SalesOrderId = salesOrderId; + this.PriceComponents = priceComponents; + this.Items = items; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The store id.</p> + /// + /// <p>The store id.</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="date", EmitDefaultValue=false)] + public string Date { get; set; } + + /// + /// <p>The POS id.</p> + /// + /// <p>The POS id.</p> + [DataMember(Name="posId", EmitDefaultValue=false)] + public string PosId { get; set; } + + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// <p>The delivery blocking reason code.</p> + /// + /// <p>The delivery blocking reason code.</p> + [DataMember(Name="deliveryBlockingReasonCode", EmitDefaultValue=false)] + public string DeliveryBlockingReasonCode { get; set; } + + /// + /// <p>Sales order number (Token of length 1-10).</p> + /// + /// <p>Sales order number (Token of length 1-10).</p> + [DataMember(Name="salesOrderId", EmitDefaultValue=false)] + public string SalesOrderId { get; set; } + + /// + /// <p>Price components containing condition data of the sales order.</p> + /// + /// <p>Price components containing condition data of the sales order.</p> + [DataMember(Name="priceComponents", EmitDefaultValue=false)] + public List PriceComponents { get; set; } + + /// + /// <p>Sales order items.</p> + /// + /// <p>Sales order items.</p> + [DataMember(Name="items", EmitDefaultValue=false)] + public List Items { get; set; } + + /// + /// <p>Indicates whether service is called on training mode.</p> + /// + /// <p>Indicates whether service is called on training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest {\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" Date: ").Append(Date).Append("\n"); + sb.Append(" PosId: ").Append(PosId).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append(" DeliveryBlockingReasonCode: ").Append(DeliveryBlockingReasonCode).Append("\n"); + sb.Append(" SalesOrderId: ").Append(SalesOrderId).Append("\n"); + sb.Append(" PriceComponents: ").Append(PriceComponents).Append("\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest input) + { + if (input == null) + return false; + + return + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.Date == input.Date || + (this.Date != null && + this.Date.Equals(input.Date)) + ) && + ( + this.PosId == input.PosId || + (this.PosId != null && + this.PosId.Equals(input.PosId)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ) && + ( + this.DeliveryBlockingReasonCode == input.DeliveryBlockingReasonCode || + (this.DeliveryBlockingReasonCode != null && + this.DeliveryBlockingReasonCode.Equals(input.DeliveryBlockingReasonCode)) + ) && + ( + this.SalesOrderId == input.SalesOrderId || + (this.SalesOrderId != null && + this.SalesOrderId.Equals(input.SalesOrderId)) + ) && + ( + this.PriceComponents == input.PriceComponents || + this.PriceComponents != null && + this.PriceComponents.SequenceEqual(input.PriceComponents) + ) && + ( + this.Items == input.Items || + this.Items != null && + this.Items.SequenceEqual(input.Items) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.Date != null) + hashCode = hashCode * 59 + this.Date.GetHashCode(); + if (this.PosId != null) + hashCode = hashCode * 59 + this.PosId.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + if (this.DeliveryBlockingReasonCode != null) + hashCode = hashCode * 59 + this.DeliveryBlockingReasonCode.GetHashCode(); + if (this.SalesOrderId != null) + hashCode = hashCode * 59 + this.SalesOrderId.GetHashCode(); + if (this.PriceComponents != null) + hashCode = hashCode * 59 + this.PriceComponents.GetHashCode(); + if (this.Items != null) + hashCode = hashCode * 59 + this.Items.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..3dd35d23663d2a365d385c2cdaf6000e023f3c4e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult.cs @@ -0,0 +1,125 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderChangeConfirmationResult <p>Result object of the Sales Order Change Confirmation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Sales order number (Token of length 1-10).</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult(string id = default(string)) + { + this.Id = id; + } + + /// + /// <p>Sales order number (Token of length 1-10).</p> + /// + /// <p>Sales order number (Token of length 1-10).</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9139972dce15f39d63b6cf952cd0801d223a8114 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest.cs @@ -0,0 +1,533 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderCreateCheckRequest <p>Request object for the SalesOrderCreateCheckWebService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The buyer document id.<br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul>. + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul>. + /// <p>Store number (Token of length 1-20).</p>. + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p>. + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p>. + /// <p>The customer address type (e.g.: the customer card type from customer identification configuration is used in the POS client).</p>. + /// <p>The customer id.</p>. + /// <p>The store id.</p>. + /// <p>The item list.</p>. + /// <p>Indicates whether the service call should be performed in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest(string buyerDocumentId = default(string), string processingTypecode = default(string), string salesOrganisationID = default(string), string distributionChannelCode = default(string), string divisionCode = default(string), string customerAdrType = default(string), string customerId = default(string), string storeId = default(string), List items = default(List), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BuyerDocumentId = buyerDocumentId; + this.ProcessingTypecode = processingTypecode; + this.SalesOrganisationID = salesOrganisationID; + this.DistributionChannelCode = distributionChannelCode; + this.DivisionCode = divisionCode; + this.CustomerAdrType = customerAdrType; + this.CustomerId = customerId; + this.StoreId = storeId; + this.Items = items; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The buyer document id.<br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + /// + /// <p>The buyer document id.<br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + [DataMember(Name="buyerDocument_Id", EmitDefaultValue=false)] + public string BuyerDocumentId { get; set; } + + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + [DataMember(Name="processingTypecode", EmitDefaultValue=false)] + public string ProcessingTypecode { get; set; } + + /// + /// <p>Store number (Token of length 1-20).</p> + /// + /// <p>Store number (Token of length 1-20).</p> + [DataMember(Name="salesOrganisationID", EmitDefaultValue=false)] + public string SalesOrganisationID { get; set; } + + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + [DataMember(Name="distributionChannelCode", EmitDefaultValue=false)] + public string DistributionChannelCode { get; set; } + + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + [DataMember(Name="divisionCode", EmitDefaultValue=false)] + public string DivisionCode { get; set; } + + /// + /// <p>The customer address type (e.g.: the customer card type from customer identification configuration is used in the POS client).</p> + /// + /// <p>The customer address type (e.g.: the customer card type from customer identification configuration is used in the POS client).</p> + [DataMember(Name="customerAdrType", EmitDefaultValue=false)] + public string CustomerAdrType { get; set; } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The store id.</p> + /// + /// <p>The store id.</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>The item list.</p> + /// + /// <p>The item list.</p> + [DataMember(Name="items", EmitDefaultValue=false)] + public List Items { get; set; } + + /// + /// <p>Indicates whether the service call should be performed in training mode.</p> + /// + /// <p>Indicates whether the service call should be performed in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest {\n"); + sb.Append(" BuyerDocumentId: ").Append(BuyerDocumentId).Append("\n"); + sb.Append(" ProcessingTypecode: ").Append(ProcessingTypecode).Append("\n"); + sb.Append(" SalesOrganisationID: ").Append(SalesOrganisationID).Append("\n"); + sb.Append(" DistributionChannelCode: ").Append(DistributionChannelCode).Append("\n"); + sb.Append(" DivisionCode: ").Append(DivisionCode).Append("\n"); + sb.Append(" CustomerAdrType: ").Append(CustomerAdrType).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest input) + { + if (input == null) + return false; + + return + ( + this.BuyerDocumentId == input.BuyerDocumentId || + (this.BuyerDocumentId != null && + this.BuyerDocumentId.Equals(input.BuyerDocumentId)) + ) && + ( + this.ProcessingTypecode == input.ProcessingTypecode || + (this.ProcessingTypecode != null && + this.ProcessingTypecode.Equals(input.ProcessingTypecode)) + ) && + ( + this.SalesOrganisationID == input.SalesOrganisationID || + (this.SalesOrganisationID != null && + this.SalesOrganisationID.Equals(input.SalesOrganisationID)) + ) && + ( + this.DistributionChannelCode == input.DistributionChannelCode || + (this.DistributionChannelCode != null && + this.DistributionChannelCode.Equals(input.DistributionChannelCode)) + ) && + ( + this.DivisionCode == input.DivisionCode || + (this.DivisionCode != null && + this.DivisionCode.Equals(input.DivisionCode)) + ) && + ( + this.CustomerAdrType == input.CustomerAdrType || + (this.CustomerAdrType != null && + this.CustomerAdrType.Equals(input.CustomerAdrType)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.Items == input.Items || + this.Items != null && + this.Items.SequenceEqual(input.Items) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BuyerDocumentId != null) + hashCode = hashCode * 59 + this.BuyerDocumentId.GetHashCode(); + if (this.ProcessingTypecode != null) + hashCode = hashCode * 59 + this.ProcessingTypecode.GetHashCode(); + if (this.SalesOrganisationID != null) + hashCode = hashCode * 59 + this.SalesOrganisationID.GetHashCode(); + if (this.DistributionChannelCode != null) + hashCode = hashCode * 59 + this.DistributionChannelCode.GetHashCode(); + if (this.DivisionCode != null) + hashCode = hashCode * 59 + this.DivisionCode.GetHashCode(); + if (this.CustomerAdrType != null) + hashCode = hashCode * 59 + this.CustomerAdrType.GetHashCode(); + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.Items != null) + hashCode = hashCode * 59 + this.Items.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..3280e0c2ccc077e4cab936fd483215315809bfd2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem.cs @@ -0,0 +1,516 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateConfirmationRequestItem <p>Request object for a sales order item creation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The item id.</p>. + /// <p>The item receipt text description.</p>. + /// <p>The product internal id.</p>. + /// <p>The product sales measure unit code.</p>. + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p>. + /// <p>The requested quantity.</p>. + /// <p>Id of receiving point party (Token of length 1-32). E.g.: store id.</p>. + /// <p>Line item condition data.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem(string id = default(string), string description = default(string), string productInternalId = default(string), string productSalesMeasureUnitCode = default(string), string dateTermsRequestDate = default(string), string deliveryTermsDeliveryPlantId = default(string), double? totalValuesRequestedQuantity = default(double?), string receivingPointPartyInternalId = default(string), List priceComponents = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Id = id; + this.Description = description; + this.ProductInternalId = productInternalId; + this.ProductSalesMeasureUnitCode = productSalesMeasureUnitCode; + this.DateTermsRequestDate = dateTermsRequestDate; + this.DeliveryTermsDeliveryPlantId = deliveryTermsDeliveryPlantId; + this.TotalValuesRequestedQuantity = totalValuesRequestedQuantity; + this.ReceivingPointPartyInternalId = receivingPointPartyInternalId; + this.PriceComponents = priceComponents; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>The item receipt text description.</p> + /// + /// <p>The item receipt text description.</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The product internal id.</p> + /// + /// <p>The product internal id.</p> + [DataMember(Name="product_internalId", EmitDefaultValue=false)] + public string ProductInternalId { get; set; } + + /// + /// <p>The product sales measure unit code.</p> + /// + /// <p>The product sales measure unit code.</p> + [DataMember(Name="product_salesMeasureUnitCode", EmitDefaultValue=false)] + public string ProductSalesMeasureUnitCode { get; set; } + + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="dateTerms_requestDate", EmitDefaultValue=false)] + public string DateTermsRequestDate { get; set; } + + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + [DataMember(Name="deliveryTerms_deliveryPlantId", EmitDefaultValue=false)] + public string DeliveryTermsDeliveryPlantId { get; set; } + + /// + /// <p>The requested quantity.</p> + /// + /// <p>The requested quantity.</p> + [DataMember(Name="totalValues_requestedQuantity", EmitDefaultValue=false)] + public double? TotalValuesRequestedQuantity { get; set; } + + /// + /// <p>Id of receiving point party (Token of length 1-32). E.g.: store id.</p> + /// + /// <p>Id of receiving point party (Token of length 1-32). E.g.: store id.</p> + [DataMember(Name="receivingPointParty_internalId", EmitDefaultValue=false)] + public string ReceivingPointPartyInternalId { get; set; } + + /// + /// <p>Line item condition data.</p> + /// + /// <p>Line item condition data.</p> + [DataMember(Name="priceComponents", EmitDefaultValue=false)] + public List PriceComponents { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ProductInternalId: ").Append(ProductInternalId).Append("\n"); + sb.Append(" ProductSalesMeasureUnitCode: ").Append(ProductSalesMeasureUnitCode).Append("\n"); + sb.Append(" DateTermsRequestDate: ").Append(DateTermsRequestDate).Append("\n"); + sb.Append(" DeliveryTermsDeliveryPlantId: ").Append(DeliveryTermsDeliveryPlantId).Append("\n"); + sb.Append(" TotalValuesRequestedQuantity: ").Append(TotalValuesRequestedQuantity).Append("\n"); + sb.Append(" ReceivingPointPartyInternalId: ").Append(ReceivingPointPartyInternalId).Append("\n"); + sb.Append(" PriceComponents: ").Append(PriceComponents).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.ProductInternalId == input.ProductInternalId || + (this.ProductInternalId != null && + this.ProductInternalId.Equals(input.ProductInternalId)) + ) && + ( + this.ProductSalesMeasureUnitCode == input.ProductSalesMeasureUnitCode || + (this.ProductSalesMeasureUnitCode != null && + this.ProductSalesMeasureUnitCode.Equals(input.ProductSalesMeasureUnitCode)) + ) && + ( + this.DateTermsRequestDate == input.DateTermsRequestDate || + (this.DateTermsRequestDate != null && + this.DateTermsRequestDate.Equals(input.DateTermsRequestDate)) + ) && + ( + this.DeliveryTermsDeliveryPlantId == input.DeliveryTermsDeliveryPlantId || + (this.DeliveryTermsDeliveryPlantId != null && + this.DeliveryTermsDeliveryPlantId.Equals(input.DeliveryTermsDeliveryPlantId)) + ) && + ( + this.TotalValuesRequestedQuantity == input.TotalValuesRequestedQuantity || + (this.TotalValuesRequestedQuantity != null && + this.TotalValuesRequestedQuantity.Equals(input.TotalValuesRequestedQuantity)) + ) && + ( + this.ReceivingPointPartyInternalId == input.ReceivingPointPartyInternalId || + (this.ReceivingPointPartyInternalId != null && + this.ReceivingPointPartyInternalId.Equals(input.ReceivingPointPartyInternalId)) + ) && + ( + this.PriceComponents == input.PriceComponents || + this.PriceComponents != null && + this.PriceComponents.SequenceEqual(input.PriceComponents) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.ProductInternalId != null) + hashCode = hashCode * 59 + this.ProductInternalId.GetHashCode(); + if (this.ProductSalesMeasureUnitCode != null) + hashCode = hashCode * 59 + this.ProductSalesMeasureUnitCode.GetHashCode(); + if (this.DateTermsRequestDate != null) + hashCode = hashCode * 59 + this.DateTermsRequestDate.GetHashCode(); + if (this.DeliveryTermsDeliveryPlantId != null) + hashCode = hashCode * 59 + this.DeliveryTermsDeliveryPlantId.GetHashCode(); + if (this.TotalValuesRequestedQuantity != null) + hashCode = hashCode * 59 + this.TotalValuesRequestedQuantity.GetHashCode(); + if (this.ReceivingPointPartyInternalId != null) + hashCode = hashCode * 59 + this.ReceivingPointPartyInternalId.GetHashCode(); + if (this.PriceComponents != null) + hashCode = hashCode * 59 + this.PriceComponents.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..8498a6a17f8dd824c365a0b499baf152a0611a10 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateConfirmationRequestItemPriceComponent <p>Request object for the line item price component.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p>. + /// <p>Price condition value.</p>. + /// <p>The rate base decimal value.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent(string priceSpecificationElementTypeCode = default(string), double? rateDecimalValue = default(double?), double? rateBaseDecimalValue = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PriceSpecificationElementTypeCode = priceSpecificationElementTypeCode; + this.RateDecimalValue = rateDecimalValue; + this.RateBaseDecimalValue = rateBaseDecimalValue; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + [DataMember(Name="priceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string PriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + [DataMember(Name="rate_DecimalValue", EmitDefaultValue=false)] + public double? RateDecimalValue { get; set; } + + /// + /// <p>The rate base decimal value.</p> + /// + /// <p>The rate base decimal value.</p> + [DataMember(Name="rate_BaseDecimalValue", EmitDefaultValue=false)] + public double? RateBaseDecimalValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent {\n"); + sb.Append(" PriceSpecificationElementTypeCode: ").Append(PriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" RateDecimalValue: ").Append(RateDecimalValue).Append("\n"); + sb.Append(" RateBaseDecimalValue: ").Append(RateBaseDecimalValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent input) + { + if (input == null) + return false; + + return + ( + this.PriceSpecificationElementTypeCode == input.PriceSpecificationElementTypeCode || + (this.PriceSpecificationElementTypeCode != null && + this.PriceSpecificationElementTypeCode.Equals(input.PriceSpecificationElementTypeCode)) + ) && + ( + this.RateDecimalValue == input.RateDecimalValue || + (this.RateDecimalValue != null && + this.RateDecimalValue.Equals(input.RateDecimalValue)) + ) && + ( + this.RateBaseDecimalValue == input.RateBaseDecimalValue || + (this.RateBaseDecimalValue != null && + this.RateBaseDecimalValue.Equals(input.RateBaseDecimalValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.PriceSpecificationElementTypeCode.GetHashCode(); + if (this.RateDecimalValue != null) + hashCode = hashCode * 59 + this.RateDecimalValue.GetHashCode(); + if (this.RateBaseDecimalValue != null) + hashCode = hashCode * 59 + this.RateBaseDecimalValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..ba0af1995026c08f73a2bc1254dd27912c712125 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateConfirmationRequestPriceComponent <p>Request object for the sales order price component creation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p>. + /// <p>Price condition value.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent(string priceSpecificationElementTypeCode = default(string), double? rateDecimalValue = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PriceSpecificationElementTypeCode = priceSpecificationElementTypeCode; + this.RateDecimalValue = rateDecimalValue; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + [DataMember(Name="priceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string PriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + [DataMember(Name="rate_DecimalValue", EmitDefaultValue=false)] + public double? RateDecimalValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent {\n"); + sb.Append(" PriceSpecificationElementTypeCode: ").Append(PriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" RateDecimalValue: ").Append(RateDecimalValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent input) + { + if (input == null) + return false; + + return + ( + this.PriceSpecificationElementTypeCode == input.PriceSpecificationElementTypeCode || + (this.PriceSpecificationElementTypeCode != null && + this.PriceSpecificationElementTypeCode.Equals(input.PriceSpecificationElementTypeCode)) + ) && + ( + this.RateDecimalValue == input.RateDecimalValue || + (this.RateDecimalValue != null && + this.RateDecimalValue.Equals(input.RateDecimalValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.PriceSpecificationElementTypeCode.GetHashCode(); + if (this.RateDecimalValue != null) + hashCode = hashCode * 59 + this.RateDecimalValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5169bc54bc7694c9459647f780cb19a67dcfda5a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest.cs @@ -0,0 +1,601 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderCreateConfirmationRequest <p>Request object for a sales order creation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The store id.</p>. + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The POS id.</p>. + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p>. + /// <p>The delivery blocking reason code.</p>. + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul>. + /// <p>Buyer document id (Token of length 1-35). Format: ffffddddddkkkbbbbbb<br /> ffff – store id with leading zeros<br /> dddddd – date in format ddmmyy (each with leading zeros)<br /> kkk – pos/workstation number with leading zeros<br /> bbbbbb – transaction sequence number with leading zeros</p>. + /// <p>Store number (Token of length 1-20).</p>. + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p>. + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p>. + /// <p>Customer number (Token of length 1-12).</p>. + /// <p>Customer order condition data.</p>. + /// <p>The item list.</p>. + /// <p>Indicates whether the service should be called in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest(string storeId = default(string), string date = default(string), string posId = default(string), int? sequenceNumber = default(int?), string deliveryBlockingReasonCode = default(string), string processingTypecode = default(string), string buyerDocumentId = default(string), string salesOrganisationID = default(string), string distributionChannelCode = default(string), string divisionCode = default(string), string buyerPartyInternalId = default(string), List priceComponents = default(List), List items = default(List), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.StoreId = storeId; + this.Date = date; + this.PosId = posId; + this.SequenceNumber = sequenceNumber; + this.DeliveryBlockingReasonCode = deliveryBlockingReasonCode; + this.ProcessingTypecode = processingTypecode; + this.BuyerDocumentId = buyerDocumentId; + this.SalesOrganisationID = salesOrganisationID; + this.DistributionChannelCode = distributionChannelCode; + this.DivisionCode = divisionCode; + this.BuyerPartyInternalId = buyerPartyInternalId; + this.PriceComponents = priceComponents; + this.Items = items; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The store id.</p> + /// + /// <p>The store id.</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="date", EmitDefaultValue=false)] + public string Date { get; set; } + + /// + /// <p>The POS id.</p> + /// + /// <p>The POS id.</p> + [DataMember(Name="posId", EmitDefaultValue=false)] + public string PosId { get; set; } + + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public int? SequenceNumber { get; set; } + + /// + /// <p>The delivery blocking reason code.</p> + /// + /// <p>The delivery blocking reason code.</p> + [DataMember(Name="deliveryBlockingReasonCode", EmitDefaultValue=false)] + public string DeliveryBlockingReasonCode { get; set; } + + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + [DataMember(Name="processingTypecode", EmitDefaultValue=false)] + public string ProcessingTypecode { get; set; } + + /// + /// <p>Buyer document id (Token of length 1-35). Format: ffffddddddkkkbbbbbb<br /> ffff – store id with leading zeros<br /> dddddd – date in format ddmmyy (each with leading zeros)<br /> kkk – pos/workstation number with leading zeros<br /> bbbbbb – transaction sequence number with leading zeros</p> + /// + /// <p>Buyer document id (Token of length 1-35). Format: ffffddddddkkkbbbbbb<br /> ffff – store id with leading zeros<br /> dddddd – date in format ddmmyy (each with leading zeros)<br /> kkk – pos/workstation number with leading zeros<br /> bbbbbb – transaction sequence number with leading zeros</p> + [DataMember(Name="buyerDocument_Id", EmitDefaultValue=false)] + public string BuyerDocumentId { get; set; } + + /// + /// <p>Store number (Token of length 1-20).</p> + /// + /// <p>Store number (Token of length 1-20).</p> + [DataMember(Name="salesOrganisationID", EmitDefaultValue=false)] + public string SalesOrganisationID { get; set; } + + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + [DataMember(Name="distributionChannelCode", EmitDefaultValue=false)] + public string DistributionChannelCode { get; set; } + + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + [DataMember(Name="divisionCode", EmitDefaultValue=false)] + public string DivisionCode { get; set; } + + /// + /// <p>Customer number (Token of length 1-12).</p> + /// + /// <p>Customer number (Token of length 1-12).</p> + [DataMember(Name="buyerParty_InternalId", EmitDefaultValue=false)] + public string BuyerPartyInternalId { get; set; } + + /// + /// <p>Customer order condition data.</p> + /// + /// <p>Customer order condition data.</p> + [DataMember(Name="priceComponents", EmitDefaultValue=false)] + public List PriceComponents { get; set; } + + /// + /// <p>The item list.</p> + /// + /// <p>The item list.</p> + [DataMember(Name="items", EmitDefaultValue=false)] + public List Items { get; set; } + + /// + /// <p>Indicates whether the service should be called in training mode.</p> + /// + /// <p>Indicates whether the service should be called in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest {\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" Date: ").Append(Date).Append("\n"); + sb.Append(" PosId: ").Append(PosId).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append(" DeliveryBlockingReasonCode: ").Append(DeliveryBlockingReasonCode).Append("\n"); + sb.Append(" ProcessingTypecode: ").Append(ProcessingTypecode).Append("\n"); + sb.Append(" BuyerDocumentId: ").Append(BuyerDocumentId).Append("\n"); + sb.Append(" SalesOrganisationID: ").Append(SalesOrganisationID).Append("\n"); + sb.Append(" DistributionChannelCode: ").Append(DistributionChannelCode).Append("\n"); + sb.Append(" DivisionCode: ").Append(DivisionCode).Append("\n"); + sb.Append(" BuyerPartyInternalId: ").Append(BuyerPartyInternalId).Append("\n"); + sb.Append(" PriceComponents: ").Append(PriceComponents).Append("\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest input) + { + if (input == null) + return false; + + return + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.Date == input.Date || + (this.Date != null && + this.Date.Equals(input.Date)) + ) && + ( + this.PosId == input.PosId || + (this.PosId != null && + this.PosId.Equals(input.PosId)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ) && + ( + this.DeliveryBlockingReasonCode == input.DeliveryBlockingReasonCode || + (this.DeliveryBlockingReasonCode != null && + this.DeliveryBlockingReasonCode.Equals(input.DeliveryBlockingReasonCode)) + ) && + ( + this.ProcessingTypecode == input.ProcessingTypecode || + (this.ProcessingTypecode != null && + this.ProcessingTypecode.Equals(input.ProcessingTypecode)) + ) && + ( + this.BuyerDocumentId == input.BuyerDocumentId || + (this.BuyerDocumentId != null && + this.BuyerDocumentId.Equals(input.BuyerDocumentId)) + ) && + ( + this.SalesOrganisationID == input.SalesOrganisationID || + (this.SalesOrganisationID != null && + this.SalesOrganisationID.Equals(input.SalesOrganisationID)) + ) && + ( + this.DistributionChannelCode == input.DistributionChannelCode || + (this.DistributionChannelCode != null && + this.DistributionChannelCode.Equals(input.DistributionChannelCode)) + ) && + ( + this.DivisionCode == input.DivisionCode || + (this.DivisionCode != null && + this.DivisionCode.Equals(input.DivisionCode)) + ) && + ( + this.BuyerPartyInternalId == input.BuyerPartyInternalId || + (this.BuyerPartyInternalId != null && + this.BuyerPartyInternalId.Equals(input.BuyerPartyInternalId)) + ) && + ( + this.PriceComponents == input.PriceComponents || + this.PriceComponents != null && + this.PriceComponents.SequenceEqual(input.PriceComponents) + ) && + ( + this.Items == input.Items || + this.Items != null && + this.Items.SequenceEqual(input.Items) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.Date != null) + hashCode = hashCode * 59 + this.Date.GetHashCode(); + if (this.PosId != null) + hashCode = hashCode * 59 + this.PosId.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + if (this.DeliveryBlockingReasonCode != null) + hashCode = hashCode * 59 + this.DeliveryBlockingReasonCode.GetHashCode(); + if (this.ProcessingTypecode != null) + hashCode = hashCode * 59 + this.ProcessingTypecode.GetHashCode(); + if (this.BuyerDocumentId != null) + hashCode = hashCode * 59 + this.BuyerDocumentId.GetHashCode(); + if (this.SalesOrganisationID != null) + hashCode = hashCode * 59 + this.SalesOrganisationID.GetHashCode(); + if (this.DistributionChannelCode != null) + hashCode = hashCode * 59 + this.DistributionChannelCode.GetHashCode(); + if (this.DivisionCode != null) + hashCode = hashCode * 59 + this.DivisionCode.GetHashCode(); + if (this.BuyerPartyInternalId != null) + hashCode = hashCode * 59 + this.BuyerPartyInternalId.GetHashCode(); + if (this.PriceComponents != null) + hashCode = hashCode * 59 + this.PriceComponents.GetHashCode(); + if (this.Items != null) + hashCode = hashCode * 59 + this.Items.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..465dfad863fece24b24480a7b249844dfef4e5cd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult.cs @@ -0,0 +1,142 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderCreateConfirmationResult <p>Result object for the sales order creation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Sales order number (Token of length 1-10).</p>. + /// <p>Unique transaction ID.</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult(string id = default(string), string uuid = default(string)) + { + this.Id = id; + this.Uuid = uuid; + } + + /// + /// <p>Sales order number (Token of length 1-10).</p> + /// + /// <p>Sales order number (Token of length 1-10).</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>Unique transaction ID.</p> + /// + /// <p>Unique transaction ID.</p> + [DataMember(Name="uuid", EmitDefaultValue=false)] + public string Uuid { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Uuid: ").Append(Uuid).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Uuid == input.Uuid || + (this.Uuid != null && + this.Uuid.Equals(input.Uuid)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Uuid != null) + hashCode = hashCode * 59 + this.Uuid.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d8d002283afeae356bebb7023c71890684d57259 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderSalesDocReadRequest <p>Request object for reading an existing sales order.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The order number of a sales order to be retrieved.</p>. + /// <p>The store id performing the request.</p>. + /// <p>The workstation id performing the request.</p>. + /// <p>Indicates whether service is called on training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest(string orderNumber = default(string), string storeId = default(string), string workstationId = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OrderNumber = orderNumber; + this.StoreId = storeId; + this.WorkstationId = workstationId; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The order number of a sales order to be retrieved.</p> + /// + /// <p>The order number of a sales order to be retrieved.</p> + [DataMember(Name="orderNumber", EmitDefaultValue=false)] + public string OrderNumber { get; set; } + + /// + /// <p>The store id performing the request.</p> + /// + /// <p>The store id performing the request.</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>The workstation id performing the request.</p> + /// + /// <p>The workstation id performing the request.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>Indicates whether service is called on training mode.</p> + /// + /// <p>Indicates whether service is called on training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest {\n"); + sb.Append(" OrderNumber: ").Append(OrderNumber).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest input) + { + if (input == null) + return false; + + return + ( + this.OrderNumber == input.OrderNumber || + (this.OrderNumber != null && + this.OrderNumber.Equals(input.OrderNumber)) + ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OrderNumber != null) + hashCode = hashCode * 59 + this.OrderNumber.GetHashCode(); + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..e9d66a04dd24269dbcadd28bedb9d73f75375908 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderSalesDocReadResult <p>The result of a sales order read operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The original prepayment.</p>. + /// <p>The open prepayment.</p>. + /// <p>The actual payment.</p>. + /// <p>The open payed amount.</p>. + /// <p>The sales order document item list.</p>. + /// <p>The currency.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult(double? originalPrepayment = default(double?), double? openPrepayment = default(double?), double? actualPayment = default(double?), double? payedOpen = default(double?), List salesDocItems = default(List), string currency = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OriginalPrepayment = originalPrepayment; + this.OpenPrepayment = openPrepayment; + this.ActualPayment = actualPayment; + this.PayedOpen = payedOpen; + this.SalesDocItems = salesDocItems; + this.Currency = currency; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The original prepayment.</p> + /// + /// <p>The original prepayment.</p> + [DataMember(Name="originalPrepayment", EmitDefaultValue=false)] + public double? OriginalPrepayment { get; set; } + + /// + /// <p>The open prepayment.</p> + /// + /// <p>The open prepayment.</p> + [DataMember(Name="openPrepayment", EmitDefaultValue=false)] + public double? OpenPrepayment { get; set; } + + /// + /// <p>The actual payment.</p> + /// + /// <p>The actual payment.</p> + [DataMember(Name="actualPayment", EmitDefaultValue=false)] + public double? ActualPayment { get; set; } + + /// + /// <p>The open payed amount.</p> + /// + /// <p>The open payed amount.</p> + [DataMember(Name="payedOpen", EmitDefaultValue=false)] + public double? PayedOpen { get; set; } + + /// + /// <p>The sales order document item list.</p> + /// + /// <p>The sales order document item list.</p> + [DataMember(Name="salesDocItems", EmitDefaultValue=false)] + public List SalesDocItems { get; set; } + + /// + /// <p>The currency.</p> + /// + /// <p>The currency.</p> + [DataMember(Name="currency", EmitDefaultValue=false)] + public string Currency { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult {\n"); + sb.Append(" OriginalPrepayment: ").Append(OriginalPrepayment).Append("\n"); + sb.Append(" OpenPrepayment: ").Append(OpenPrepayment).Append("\n"); + sb.Append(" ActualPayment: ").Append(ActualPayment).Append("\n"); + sb.Append(" PayedOpen: ").Append(PayedOpen).Append("\n"); + sb.Append(" SalesDocItems: ").Append(SalesDocItems).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult input) + { + if (input == null) + return false; + + return + ( + this.OriginalPrepayment == input.OriginalPrepayment || + (this.OriginalPrepayment != null && + this.OriginalPrepayment.Equals(input.OriginalPrepayment)) + ) && + ( + this.OpenPrepayment == input.OpenPrepayment || + (this.OpenPrepayment != null && + this.OpenPrepayment.Equals(input.OpenPrepayment)) + ) && + ( + this.ActualPayment == input.ActualPayment || + (this.ActualPayment != null && + this.ActualPayment.Equals(input.ActualPayment)) + ) && + ( + this.PayedOpen == input.PayedOpen || + (this.PayedOpen != null && + this.PayedOpen.Equals(input.PayedOpen)) + ) && + ( + this.SalesDocItems == input.SalesDocItems || + this.SalesDocItems != null && + this.SalesDocItems.SequenceEqual(input.SalesDocItems) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OriginalPrepayment != null) + hashCode = hashCode * 59 + this.OriginalPrepayment.GetHashCode(); + if (this.OpenPrepayment != null) + hashCode = hashCode * 59 + this.OpenPrepayment.GetHashCode(); + if (this.ActualPayment != null) + hashCode = hashCode * 59 + this.ActualPayment.GetHashCode(); + if (this.PayedOpen != null) + hashCode = hashCode * 59 + this.PayedOpen.GetHashCode(); + if (this.SalesDocItems != null) + hashCode = hashCode * 59 + this.SalesDocItems.GetHashCode(); + if (this.Currency != null) + hashCode = hashCode * 59 + this.Currency.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..33e251204b627d48e3b36e55a714d3d1d2714f5c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult.cs @@ -0,0 +1,464 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderBasicResult <p>The result object of a sales order search request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The sales order number.</p>. + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The creation date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The total net value.</p>. + /// <p>The formatted creation date.</p>. + /// status. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult(string id = default(string), string date = default(string), string creationDate = default(string), double? total = default(double?), string formattedCreationDate = default(string), string status = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Id = id; + this.Date = date; + this.CreationDate = creationDate; + this.Total = total; + this.FormattedCreationDate = formattedCreationDate; + this.Status = status; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The sales order number.</p> + /// + /// <p>The sales order number.</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="date", EmitDefaultValue=false)] + public string Date { get; set; } + + /// + /// <p>The creation date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The creation date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="creationDate", EmitDefaultValue=false)] + public string CreationDate { get; set; } + + /// + /// <p>The total net value.</p> + /// + /// <p>The total net value.</p> + [DataMember(Name="total", EmitDefaultValue=false)] + public double? Total { get; set; } + + /// + /// <p>The formatted creation date.</p> + /// + /// <p>The formatted creation date.</p> + [DataMember(Name="formattedCreationDate", EmitDefaultValue=false)] + public string FormattedCreationDate { get; set; } + + /// + /// Gets or Sets Status + /// + [DataMember(Name="status", EmitDefaultValue=false)] + public string Status { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Date: ").Append(Date).Append("\n"); + sb.Append(" CreationDate: ").Append(CreationDate).Append("\n"); + sb.Append(" Total: ").Append(Total).Append("\n"); + sb.Append(" FormattedCreationDate: ").Append(FormattedCreationDate).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Date == input.Date || + (this.Date != null && + this.Date.Equals(input.Date)) + ) && + ( + this.CreationDate == input.CreationDate || + (this.CreationDate != null && + this.CreationDate.Equals(input.CreationDate)) + ) && + ( + this.Total == input.Total || + (this.Total != null && + this.Total.Equals(input.Total)) + ) && + ( + this.FormattedCreationDate == input.FormattedCreationDate || + (this.FormattedCreationDate != null && + this.FormattedCreationDate.Equals(input.FormattedCreationDate)) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Date != null) + hashCode = hashCode * 59 + this.Date.GetHashCode(); + if (this.CreationDate != null) + hashCode = hashCode * 59 + this.CreationDate.GetHashCode(); + if (this.Total != null) + hashCode = hashCode * 59 + this.Total.GetHashCode(); + if (this.FormattedCreationDate != null) + hashCode = hashCode * 59 + this.FormattedCreationDate.GetHashCode(); + if (this.Status != null) + hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..da83febf6f976907e9cde9384b22c889aca1b23a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData.cs @@ -0,0 +1,529 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderCommonRequestItemData <p>Bean class for Sales Order common request item data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The id</p>. + /// <p>The description</p>. + /// <p>The productInternalId</p>. + /// <p>The productSalesMeasureUnitCode</p>. + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The deliveryTermsDeliveryPlantId</p>. + /// <p>The requestedQuantity</p> (required). + /// <p>The receivingPointId</p>. + /// <p>The price component list.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData(string id = default(string), string description = default(string), string productInternalId = default(string), string productSalesMeasureUnitCode = default(string), string requestDate = default(string), string deliveryTermsDeliveryPlantId = default(string), double? requestedQuantity = default(double?), string receivingPointId = default(string), List priceComponentList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "requestedQuantity" is required (not null) + if (requestedQuantity == null) + { + throw new InvalidDataException("requestedQuantity is a required property for ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData and cannot be null"); + } + else + { + this.RequestedQuantity = requestedQuantity; + } + this.Id = id; + this.Description = description; + this.ProductInternalId = productInternalId; + this.ProductSalesMeasureUnitCode = productSalesMeasureUnitCode; + this.RequestDate = requestDate; + this.DeliveryTermsDeliveryPlantId = deliveryTermsDeliveryPlantId; + this.ReceivingPointId = receivingPointId; + this.PriceComponentList = priceComponentList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The id</p> + /// + /// <p>The id</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>The description</p> + /// + /// <p>The description</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The productInternalId</p> + /// + /// <p>The productInternalId</p> + [DataMember(Name="productInternalId", EmitDefaultValue=false)] + public string ProductInternalId { get; set; } + + /// + /// <p>The productSalesMeasureUnitCode</p> + /// + /// <p>The productSalesMeasureUnitCode</p> + [DataMember(Name="productSalesMeasureUnitCode", EmitDefaultValue=false)] + public string ProductSalesMeasureUnitCode { get; set; } + + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestDate", EmitDefaultValue=false)] + public string RequestDate { get; set; } + + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + [DataMember(Name="deliveryTermsDeliveryPlantId", EmitDefaultValue=false)] + public string DeliveryTermsDeliveryPlantId { get; set; } + + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + [DataMember(Name="requestedQuantity", EmitDefaultValue=false)] + public double? RequestedQuantity { get; set; } + + /// + /// <p>The receivingPointId</p> + /// + /// <p>The receivingPointId</p> + [DataMember(Name="receivingPointId", EmitDefaultValue=false)] + public string ReceivingPointId { get; set; } + + /// + /// <p>The price component list.</p> + /// + /// <p>The price component list.</p> + [DataMember(Name="priceComponentList", EmitDefaultValue=false)] + public List PriceComponentList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ProductInternalId: ").Append(ProductInternalId).Append("\n"); + sb.Append(" ProductSalesMeasureUnitCode: ").Append(ProductSalesMeasureUnitCode).Append("\n"); + sb.Append(" RequestDate: ").Append(RequestDate).Append("\n"); + sb.Append(" DeliveryTermsDeliveryPlantId: ").Append(DeliveryTermsDeliveryPlantId).Append("\n"); + sb.Append(" RequestedQuantity: ").Append(RequestedQuantity).Append("\n"); + sb.Append(" ReceivingPointId: ").Append(ReceivingPointId).Append("\n"); + sb.Append(" PriceComponentList: ").Append(PriceComponentList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.ProductInternalId == input.ProductInternalId || + (this.ProductInternalId != null && + this.ProductInternalId.Equals(input.ProductInternalId)) + ) && + ( + this.ProductSalesMeasureUnitCode == input.ProductSalesMeasureUnitCode || + (this.ProductSalesMeasureUnitCode != null && + this.ProductSalesMeasureUnitCode.Equals(input.ProductSalesMeasureUnitCode)) + ) && + ( + this.RequestDate == input.RequestDate || + (this.RequestDate != null && + this.RequestDate.Equals(input.RequestDate)) + ) && + ( + this.DeliveryTermsDeliveryPlantId == input.DeliveryTermsDeliveryPlantId || + (this.DeliveryTermsDeliveryPlantId != null && + this.DeliveryTermsDeliveryPlantId.Equals(input.DeliveryTermsDeliveryPlantId)) + ) && + ( + this.RequestedQuantity == input.RequestedQuantity || + (this.RequestedQuantity != null && + this.RequestedQuantity.Equals(input.RequestedQuantity)) + ) && + ( + this.ReceivingPointId == input.ReceivingPointId || + (this.ReceivingPointId != null && + this.ReceivingPointId.Equals(input.ReceivingPointId)) + ) && + ( + this.PriceComponentList == input.PriceComponentList || + this.PriceComponentList != null && + this.PriceComponentList.SequenceEqual(input.PriceComponentList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.ProductInternalId != null) + hashCode = hashCode * 59 + this.ProductInternalId.GetHashCode(); + if (this.ProductSalesMeasureUnitCode != null) + hashCode = hashCode * 59 + this.ProductSalesMeasureUnitCode.GetHashCode(); + if (this.RequestDate != null) + hashCode = hashCode * 59 + this.RequestDate.GetHashCode(); + if (this.DeliveryTermsDeliveryPlantId != null) + hashCode = hashCode * 59 + this.DeliveryTermsDeliveryPlantId.GetHashCode(); + if (this.RequestedQuantity != null) + hashCode = hashCode * 59 + this.RequestedQuantity.GetHashCode(); + if (this.ReceivingPointId != null) + hashCode = hashCode * 59 + this.ReceivingPointId.GetHashCode(); + if (this.PriceComponentList != null) + hashCode = hashCode * 59 + this.PriceComponentList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3.cs new file mode 100644 index 0000000000000000000000000000000000000000..33e5324bd33d53ebeaa889cbfce128ead26e0acd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderPriceComponentV3 <p>Sales order price component object.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3 : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The price specification element type code.</p>. + /// <p>The rate decimal value.</p>. + /// <p>The rate base decimal value.</p>. + /// <p>The calculated amount.</p>. + /// <p>The effective indicator.</p>. + /// <p>The inactivity reason code.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3(string priceSpecificationElementTypeCode = default(string), double? rateDecimalValue = default(double?), double? rateBaseDecimalValue = default(double?), double? calculatedAmount = default(double?), bool? effectiveIndicator = default(bool?), string inactivityReasonCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PriceSpecificationElementTypeCode = priceSpecificationElementTypeCode; + this.RateDecimalValue = rateDecimalValue; + this.RateBaseDecimalValue = rateBaseDecimalValue; + this.CalculatedAmount = calculatedAmount; + this.EffectiveIndicator = effectiveIndicator; + this.InactivityReasonCode = inactivityReasonCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The price specification element type code.</p> + /// + /// <p>The price specification element type code.</p> + [DataMember(Name="priceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string PriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>The rate decimal value.</p> + /// + /// <p>The rate decimal value.</p> + [DataMember(Name="rateDecimalValue", EmitDefaultValue=false)] + public double? RateDecimalValue { get; set; } + + /// + /// <p>The rate base decimal value.</p> + /// + /// <p>The rate base decimal value.</p> + [DataMember(Name="rateBaseDecimalValue", EmitDefaultValue=false)] + public double? RateBaseDecimalValue { get; set; } + + /// + /// <p>The calculated amount.</p> + /// + /// <p>The calculated amount.</p> + [DataMember(Name="calculatedAmount", EmitDefaultValue=false)] + public double? CalculatedAmount { get; set; } + + /// + /// <p>The effective indicator.</p> + /// + /// <p>The effective indicator.</p> + [DataMember(Name="effectiveIndicator", EmitDefaultValue=false)] + public bool? EffectiveIndicator { get; set; } + + /// + /// <p>The inactivity reason code.</p> + /// + /// <p>The inactivity reason code.</p> + [DataMember(Name="inactivityReasonCode", EmitDefaultValue=false)] + public string InactivityReasonCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3 {\n"); + sb.Append(" PriceSpecificationElementTypeCode: ").Append(PriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" RateDecimalValue: ").Append(RateDecimalValue).Append("\n"); + sb.Append(" RateBaseDecimalValue: ").Append(RateBaseDecimalValue).Append("\n"); + sb.Append(" CalculatedAmount: ").Append(CalculatedAmount).Append("\n"); + sb.Append(" EffectiveIndicator: ").Append(EffectiveIndicator).Append("\n"); + sb.Append(" InactivityReasonCode: ").Append(InactivityReasonCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3 instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3 to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3 input) + { + if (input == null) + return false; + + return + ( + this.PriceSpecificationElementTypeCode == input.PriceSpecificationElementTypeCode || + (this.PriceSpecificationElementTypeCode != null && + this.PriceSpecificationElementTypeCode.Equals(input.PriceSpecificationElementTypeCode)) + ) && + ( + this.RateDecimalValue == input.RateDecimalValue || + (this.RateDecimalValue != null && + this.RateDecimalValue.Equals(input.RateDecimalValue)) + ) && + ( + this.RateBaseDecimalValue == input.RateBaseDecimalValue || + (this.RateBaseDecimalValue != null && + this.RateBaseDecimalValue.Equals(input.RateBaseDecimalValue)) + ) && + ( + this.CalculatedAmount == input.CalculatedAmount || + (this.CalculatedAmount != null && + this.CalculatedAmount.Equals(input.CalculatedAmount)) + ) && + ( + this.EffectiveIndicator == input.EffectiveIndicator || + (this.EffectiveIndicator != null && + this.EffectiveIndicator.Equals(input.EffectiveIndicator)) + ) && + ( + this.InactivityReasonCode == input.InactivityReasonCode || + (this.InactivityReasonCode != null && + this.InactivityReasonCode.Equals(input.InactivityReasonCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.PriceSpecificationElementTypeCode.GetHashCode(); + if (this.RateDecimalValue != null) + hashCode = hashCode * 59 + this.RateDecimalValue.GetHashCode(); + if (this.RateBaseDecimalValue != null) + hashCode = hashCode * 59 + this.RateBaseDecimalValue.GetHashCode(); + if (this.CalculatedAmount != null) + hashCode = hashCode * 59 + this.CalculatedAmount.GetHashCode(); + if (this.EffectiveIndicator != null) + hashCode = hashCode * 59 + this.EffectiveIndicator.GetHashCode(); + if (this.InactivityReasonCode != null) + hashCode = hashCode * 59 + this.InactivityReasonCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponRequestData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponRequestData.cs new file mode 100644 index 0000000000000000000000000000000000000000..815a8b5a3db73dab3377b31caedc5cf7e8947293 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponRequestData.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckCouponRequestData <p>Entity for the coupon data in the request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponCheckCouponRequestData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCouponCheckCouponRequestData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The coupon identifier</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponCheckCouponRequestData(string couponSerialNumber = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "couponSerialNumber" is required (not null) + if (couponSerialNumber == null) + { + throw new InvalidDataException("couponSerialNumber is a required property for ComGkSoftwarePosApiServiceCouponCheckCouponRequestData and cannot be null"); + } + else + { + this.CouponSerialNumber = couponSerialNumber; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The coupon identifier</p> + /// + /// <p>The coupon identifier</p> + [DataMember(Name="couponSerialNumber", EmitDefaultValue=false)] + public string CouponSerialNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponCheckCouponRequestData {\n"); + sb.Append(" CouponSerialNumber: ").Append(CouponSerialNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponCheckCouponRequestData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponCheckCouponRequestData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponCheckCouponRequestData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponCheckCouponRequestData input) + { + if (input == null) + return false; + + return + ( + this.CouponSerialNumber == input.CouponSerialNumber || + (this.CouponSerialNumber != null && + this.CouponSerialNumber.Equals(input.CouponSerialNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CouponSerialNumber != null) + hashCode = hashCode * 59 + this.CouponSerialNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3b79ddacf1eabc0df04c89f39965b9c2b1fe04b0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsRequest.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckCouponsRequest <p>Request entity for 'Check Coupons' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponCheckCouponsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCouponCheckCouponsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The header data of the request.</p> (required). + /// <p>The uuid of the request.</p> (required). + /// <p>The coupon data of the request.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponCheckCouponsRequest(ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData header = default(ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData), string uuid = default(string), List coupons = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "header" is required (not null) + if (header == null) + { + throw new InvalidDataException("header is a required property for ComGkSoftwarePosApiServiceCouponCheckCouponsRequest and cannot be null"); + } + else + { + this.Header = header; + } + // to ensure "uuid" is required (not null) + if (uuid == null) + { + throw new InvalidDataException("uuid is a required property for ComGkSoftwarePosApiServiceCouponCheckCouponsRequest and cannot be null"); + } + else + { + this.Uuid = uuid; + } + // to ensure "coupons" is required (not null) + if (coupons == null) + { + throw new InvalidDataException("coupons is a required property for ComGkSoftwarePosApiServiceCouponCheckCouponsRequest and cannot be null"); + } + else + { + this.Coupons = coupons; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The header data of the request.</p> + /// + /// <p>The header data of the request.</p> + [DataMember(Name="header", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData Header { get; set; } + + /// + /// <p>The uuid of the request.</p> + /// + /// <p>The uuid of the request.</p> + [DataMember(Name="uuid", EmitDefaultValue=false)] + public string Uuid { get; set; } + + /// + /// <p>The coupon data of the request.</p> + /// + /// <p>The coupon data of the request.</p> + [DataMember(Name="coupons", EmitDefaultValue=false)] + public List Coupons { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponCheckCouponsRequest {\n"); + sb.Append(" Header: ").Append(Header).Append("\n"); + sb.Append(" Uuid: ").Append(Uuid).Append("\n"); + sb.Append(" Coupons: ").Append(Coupons).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponCheckCouponsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponCheckCouponsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponCheckCouponsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponCheckCouponsRequest input) + { + if (input == null) + return false; + + return + ( + this.Header == input.Header || + (this.Header != null && + this.Header.Equals(input.Header)) + ) && + ( + this.Uuid == input.Uuid || + (this.Uuid != null && + this.Uuid.Equals(input.Uuid)) + ) && + ( + this.Coupons == input.Coupons || + this.Coupons != null && + this.Coupons.SequenceEqual(input.Coupons) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Header != null) + hashCode = hashCode * 59 + this.Header.GetHashCode(); + if (this.Uuid != null) + hashCode = hashCode * 59 + this.Uuid.GetHashCode(); + if (this.Coupons != null) + hashCode = hashCode * 59 + this.Coupons.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..34673541737790b8114b9406411851575bf6ea93 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsResponse.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckCouponsResponse <p>Response entity for 'Check Coupons' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponCheckCouponsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCouponCheckCouponsResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The status of the response </p> (required). + /// <p>The coupon data of the response </p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponCheckCouponsResponse(ComGkSoftwarePosApiServiceCouponCouponingResponseStatus status = default(ComGkSoftwarePosApiServiceCouponCouponingResponseStatus), List coupons = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "status" is required (not null) + if (status == null) + { + throw new InvalidDataException("status is a required property for ComGkSoftwarePosApiServiceCouponCheckCouponsResponse and cannot be null"); + } + else + { + this.Status = status; + } + this.Coupons = coupons; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The status of the response </p> + /// + /// <p>The status of the response </p> + [DataMember(Name="status", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCouponCouponingResponseStatus Status { get; set; } + + /// + /// <p>The coupon data of the response </p> + /// + /// <p>The coupon data of the response </p> + [DataMember(Name="coupons", EmitDefaultValue=false)] + public List Coupons { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponCheckCouponsResponse {\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" Coupons: ").Append(Coupons).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponCheckCouponsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponCheckCouponsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponCheckCouponsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponCheckCouponsResponse input) + { + if (input == null) + return false; + + return + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.Coupons == input.Coupons || + this.Coupons != null && + this.Coupons.SequenceEqual(input.Coupons) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Status != null) + hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.Coupons != null) + hashCode = hashCode * 59 + this.Coupons.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsResultData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsResultData.cs new file mode 100644 index 0000000000000000000000000000000000000000..4e2a802307ae83173e7568dd0f3da37e84b6a830 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCheckCouponsResultData.cs @@ -0,0 +1,487 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckCouponsResultData <p>Entity for the coupon data in the response.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponCheckCouponsResultData : IEquatable, IValidatableObject + { + /// + /// <p>The state of the coupon</p> + /// + /// <p>The state of the coupon</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum VALID for value: VALID + /// + [EnumMember(Value = "VALID")] + VALID = 1, + + /// + /// Enum REDEEMED for value: REDEEMED + /// + [EnumMember(Value = "REDEEMED")] + REDEEMED = 2, + + /// + /// Enum EXPIRED for value: EXPIRED + /// + [EnumMember(Value = "EXPIRED")] + EXPIRED = 3, + + /// + /// Enum INVALID for value: INVALID + /// + [EnumMember(Value = "INVALID")] + INVALID = 4, + + /// + /// Enum BLOCKED for value: BLOCKED + /// + [EnumMember(Value = "BLOCKED")] + BLOCKED = 5 + } + + /// + /// <p>The state of the coupon</p> + /// + /// <p>The state of the coupon</p> + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The coupon identifier</p>. + /// <p>The state of the coupon</p>. + /// <p>The offer number of the coupon</p>. + /// <p>The remaining useable count of the coupon</p>. + /// <p>The expiry date of the coupon</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponCheckCouponsResultData(string couponSerialNumber = default(string), StatusEnum? status = default(StatusEnum?), string offerNumber = default(string), int? remainingUseCount = default(int?), string expirationTimestamp = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CouponSerialNumber = couponSerialNumber; + this.Status = status; + this.OfferNumber = offerNumber; + this.RemainingUseCount = remainingUseCount; + this.ExpirationTimestamp = expirationTimestamp; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The coupon identifier</p> + /// + /// <p>The coupon identifier</p> + [DataMember(Name="couponSerialNumber", EmitDefaultValue=false)] + public string CouponSerialNumber { get; set; } + + + /// + /// <p>The offer number of the coupon</p> + /// + /// <p>The offer number of the coupon</p> + [DataMember(Name="offerNumber", EmitDefaultValue=false)] + public string OfferNumber { get; set; } + + /// + /// <p>The remaining useable count of the coupon</p> + /// + /// <p>The remaining useable count of the coupon</p> + [DataMember(Name="remainingUseCount", EmitDefaultValue=false)] + public int? RemainingUseCount { get; set; } + + /// + /// <p>The expiry date of the coupon</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The expiry date of the coupon</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationTimestamp", EmitDefaultValue=false)] + public string ExpirationTimestamp { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponCheckCouponsResultData {\n"); + sb.Append(" CouponSerialNumber: ").Append(CouponSerialNumber).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" OfferNumber: ").Append(OfferNumber).Append("\n"); + sb.Append(" RemainingUseCount: ").Append(RemainingUseCount).Append("\n"); + sb.Append(" ExpirationTimestamp: ").Append(ExpirationTimestamp).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponCheckCouponsResultData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponCheckCouponsResultData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponCheckCouponsResultData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponCheckCouponsResultData input) + { + if (input == null) + return false; + + return + ( + this.CouponSerialNumber == input.CouponSerialNumber || + (this.CouponSerialNumber != null && + this.CouponSerialNumber.Equals(input.CouponSerialNumber)) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.OfferNumber == input.OfferNumber || + (this.OfferNumber != null && + this.OfferNumber.Equals(input.OfferNumber)) + ) && + ( + this.RemainingUseCount == input.RemainingUseCount || + (this.RemainingUseCount != null && + this.RemainingUseCount.Equals(input.RemainingUseCount)) + ) && + ( + this.ExpirationTimestamp == input.ExpirationTimestamp || + (this.ExpirationTimestamp != null && + this.ExpirationTimestamp.Equals(input.ExpirationTimestamp)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CouponSerialNumber != null) + hashCode = hashCode * 59 + this.CouponSerialNumber.GetHashCode(); + if (this.Status != null) + hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.OfferNumber != null) + hashCode = hashCode * 59 + this.OfferNumber.GetHashCode(); + if (this.RemainingUseCount != null) + hashCode = hashCode * 59 + this.RemainingUseCount.GetHashCode(); + if (this.ExpirationTimestamp != null) + hashCode = hashCode * 59 + this.ExpirationTimestamp.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData.cs new file mode 100644 index 0000000000000000000000000000000000000000..8ccd51a46794a64dbe8ee1a5f65aa8d1be6cf238 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData.cs @@ -0,0 +1,478 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CouponingRequestHeaderData <p>Entity for the request header data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Business unit of the requesting client</p>. + /// <p>Workstation id of the requesting client</p>. + /// <p>Transaction id of the client transaction</p>. + /// <p>Software version of the requesting client</p>. + /// <p>Address of the requesting client</p>. + /// <p>Country code where requesting client is located</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData(string businessUnitId = default(string), string workstationId = default(string), string transactionId = default(string), string softwareVersion = default(string), string clientAddress = default(string), string iSOCountryCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "iSOCountryCode" is required (not null) + if (iSOCountryCode == null) + { + throw new InvalidDataException("iSOCountryCode is a required property for ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData and cannot be null"); + } + else + { + this.ISOCountryCode = iSOCountryCode; + } + this.BusinessUnitId = businessUnitId; + this.WorkstationId = workstationId; + this.TransactionId = transactionId; + this.SoftwareVersion = softwareVersion; + this.ClientAddress = clientAddress; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Business unit of the requesting client</p> + /// + /// <p>Business unit of the requesting client</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>Workstation id of the requesting client</p> + /// + /// <p>Workstation id of the requesting client</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>Transaction id of the client transaction</p> + /// + /// <p>Transaction id of the client transaction</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>Software version of the requesting client</p> + /// + /// <p>Software version of the requesting client</p> + [DataMember(Name="softwareVersion", EmitDefaultValue=false)] + public string SoftwareVersion { get; set; } + + /// + /// <p>Address of the requesting client</p> + /// + /// <p>Address of the requesting client</p> + [DataMember(Name="clientAddress", EmitDefaultValue=false)] + public string ClientAddress { get; set; } + + /// + /// <p>Country code where requesting client is located</p> + /// + /// <p>Country code where requesting client is located</p> + [DataMember(Name="iSOCountryCode", EmitDefaultValue=false)] + public string ISOCountryCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" SoftwareVersion: ").Append(SoftwareVersion).Append("\n"); + sb.Append(" ClientAddress: ").Append(ClientAddress).Append("\n"); + sb.Append(" ISOCountryCode: ").Append(ISOCountryCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.SoftwareVersion == input.SoftwareVersion || + (this.SoftwareVersion != null && + this.SoftwareVersion.Equals(input.SoftwareVersion)) + ) && + ( + this.ClientAddress == input.ClientAddress || + (this.ClientAddress != null && + this.ClientAddress.Equals(input.ClientAddress)) + ) && + ( + this.ISOCountryCode == input.ISOCountryCode || + (this.ISOCountryCode != null && + this.ISOCountryCode.Equals(input.ISOCountryCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.SoftwareVersion != null) + hashCode = hashCode * 59 + this.SoftwareVersion.GetHashCode(); + if (this.ClientAddress != null) + hashCode = hashCode * 59 + this.ClientAddress.GetHashCode(); + if (this.ISOCountryCode != null) + hashCode = hashCode * 59 + this.ISOCountryCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingResponseError.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingResponseError.cs new file mode 100644 index 0000000000000000000000000000000000000000..89062709669fffc4f6b9211f199e49c1dd11b779 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingResponseError.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CouponingResponseError <p>The entity of the request execution error in the response.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponCouponingResponseError : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The error code which occurred.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponCouponingResponseError(string code = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Code = code; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The error code which occurred.</p> + /// + /// <p>The error code which occurred.</p> + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponCouponingResponseError {\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponCouponingResponseError); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponCouponingResponseError instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponCouponingResponseError to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponCouponingResponseError input) + { + if (input == null) + return false; + + return + ( + this.Code == input.Code || + (this.Code != null && + this.Code.Equals(input.Code)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Code != null) + hashCode = hashCode * 59 + this.Code.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingResponseStatus.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingResponseStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..953e5f22a351e1c9641e7f48e2507d3de0352d69 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponCouponingResponseStatus.cs @@ -0,0 +1,437 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CouponingResponseStatus <p>The entity of the status in the response.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponCouponingResponseStatus : IEquatable, IValidatableObject + { + /// + /// <p>The status code of the response</p> + /// + /// <p>The status code of the response</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum CodeEnum + { + + /// + /// Enum OK for value: OK + /// + [EnumMember(Value = "OK")] + OK = 1, + + /// + /// Enum ERROR for value: ERROR + /// + [EnumMember(Value = "ERROR")] + ERROR = 2, + + /// + /// Enum OFFLINE for value: OFFLINE + /// + [EnumMember(Value = "OFFLINE")] + OFFLINE = 3 + } + + /// + /// <p>The status code of the response</p> + /// + /// <p>The status code of the response</p> + [DataMember(Name="code", EmitDefaultValue=false)] + public CodeEnum Code { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCouponCouponingResponseStatus() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The status code of the response</p> (required). + /// <p>The error which may happen during the request execution.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponCouponingResponseStatus(CodeEnum code = default(CodeEnum), ComGkSoftwarePosApiServiceCouponCouponingResponseError error = default(ComGkSoftwarePosApiServiceCouponCouponingResponseError), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "code" is required (not null) + if (code == null) + { + throw new InvalidDataException("code is a required property for ComGkSoftwarePosApiServiceCouponCouponingResponseStatus and cannot be null"); + } + else + { + this.Code = code; + } + this.Error = error; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + + /// + /// <p>The error which may happen during the request execution.</p> + /// + /// <p>The error which may happen during the request execution.</p> + [DataMember(Name="error", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCouponCouponingResponseError Error { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponCouponingResponseStatus {\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" Error: ").Append(Error).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponCouponingResponseStatus); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponCouponingResponseStatus instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponCouponingResponseStatus to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponCouponingResponseStatus input) + { + if (input == null) + return false; + + return + ( + this.Code == input.Code || + (this.Code != null && + this.Code.Equals(input.Code)) + ) && + ( + this.Error == input.Error || + (this.Error != null && + this.Error.Equals(input.Error)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Code != null) + hashCode = hashCode * 59 + this.Code.GetHashCode(); + if (this.Error != null) + hashCode = hashCode * 59 + this.Error.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b5754fc36ccc8566eae39330c73ad1ca3b3ba347 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnCouponsRequest <p>Request entity for 'Return/Redeem Coupons' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponReturnCouponsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCouponReturnCouponsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The header data of the request.</p> (required). + /// <p>Flag if coupon serials should be marked as 'applied' on the transaction during return/redeem of coupons</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponReturnCouponsRequest(ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData header = default(ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData), bool? markAppliedCouponSerials = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "header" is required (not null) + if (header == null) + { + throw new InvalidDataException("header is a required property for ComGkSoftwarePosApiServiceCouponReturnCouponsRequest and cannot be null"); + } + else + { + this.Header = header; + } + this.MarkAppliedCouponSerials = markAppliedCouponSerials; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The header data of the request.</p> + /// + /// <p>The header data of the request.</p> + [DataMember(Name="header", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData Header { get; set; } + + /// + /// <p>Flag if coupon serials should be marked as 'applied' on the transaction during return/redeem of coupons</p> + /// + /// <p>Flag if coupon serials should be marked as 'applied' on the transaction during return/redeem of coupons</p> + [DataMember(Name="markAppliedCouponSerials", EmitDefaultValue=false)] + public bool? MarkAppliedCouponSerials { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponReturnCouponsRequest {\n"); + sb.Append(" Header: ").Append(Header).Append("\n"); + sb.Append(" MarkAppliedCouponSerials: ").Append(MarkAppliedCouponSerials).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponReturnCouponsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponReturnCouponsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponReturnCouponsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponReturnCouponsRequest input) + { + if (input == null) + return false; + + return + ( + this.Header == input.Header || + (this.Header != null && + this.Header.Equals(input.Header)) + ) && + ( + this.MarkAppliedCouponSerials == input.MarkAppliedCouponSerials || + (this.MarkAppliedCouponSerials != null && + this.MarkAppliedCouponSerials.Equals(input.MarkAppliedCouponSerials)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Header != null) + hashCode = hashCode * 59 + this.Header.GetHashCode(); + if (this.MarkAppliedCouponSerials != null) + hashCode = hashCode * 59 + this.MarkAppliedCouponSerials.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..689d7eb5305a8f1ec50e1e456d7b1918bf135a39 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsResponse.cs @@ -0,0 +1,427 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnCouponsResponse <p>Response entity for 'Return/Redeem Coupons' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponReturnCouponsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCouponReturnCouponsResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The status of the response </p> (required). + /// <p>The entity describing the result of the operation.</p>. + /// <p>The coupon result data of the response</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponReturnCouponsResponse(ComGkSoftwarePosApiServiceCouponCouponingResponseStatus status = default(ComGkSoftwarePosApiServiceCouponCouponingResponseStatus), ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), List coupons = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "status" is required (not null) + if (status == null) + { + throw new InvalidDataException("status is a required property for ComGkSoftwarePosApiServiceCouponReturnCouponsResponse and cannot be null"); + } + else + { + this.Status = status; + } + this.TransactionOperationResult = transactionOperationResult; + this.Coupons = coupons; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The status of the response </p> + /// + /// <p>The status of the response </p> + [DataMember(Name="status", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCouponCouponingResponseStatus Status { get; set; } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>The coupon result data of the response</p> + /// + /// <p>The coupon result data of the response</p> + [DataMember(Name="coupons", EmitDefaultValue=false)] + public List Coupons { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponReturnCouponsResponse {\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" Coupons: ").Append(Coupons).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponReturnCouponsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponReturnCouponsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponReturnCouponsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponReturnCouponsResponse input) + { + if (input == null) + return false; + + return + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.Coupons == input.Coupons || + this.Coupons != null && + this.Coupons.SequenceEqual(input.Coupons) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Status != null) + hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.Coupons != null) + hashCode = hashCode * 59 + this.Coupons.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsResultData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsResultData.cs new file mode 100644 index 0000000000000000000000000000000000000000..a61bdb6e177489d7d5b7d93087361eea80672197 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCouponReturnCouponsResultData.cs @@ -0,0 +1,442 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnCouponsResultData <p>Entity for the coupon result data in the response.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCouponReturnCouponsResultData : IEquatable, IValidatableObject + { + /// + /// <p>The result code of the coupon return</p> + /// + /// <p>The result code of the coupon return</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ResultCodeEnum + { + + /// + /// Enum SUCCESSFUL for value: SUCCESSFUL + /// + [EnumMember(Value = "SUCCESSFUL")] + SUCCESSFUL = 1, + + /// + /// Enum ALREADYREDEEMED for value: ALREADY_REDEEMED + /// + [EnumMember(Value = "ALREADY_REDEEMED")] + ALREADYREDEEMED = 2, + + /// + /// Enum INVALID for value: INVALID + /// + [EnumMember(Value = "INVALID")] + INVALID = 3, + + /// + /// Enum EXPIRED for value: EXPIRED + /// + [EnumMember(Value = "EXPIRED")] + EXPIRED = 4, + + /// + /// Enum FAILED for value: FAILED + /// + [EnumMember(Value = "FAILED")] + FAILED = 5, + + /// + /// Enum BLOCKED for value: BLOCKED + /// + [EnumMember(Value = "BLOCKED")] + BLOCKED = 6 + } + + /// + /// <p>The result code of the coupon return</p> + /// + /// <p>The result code of the coupon return</p> + [DataMember(Name="resultCode", EmitDefaultValue=false)] + public ResultCodeEnum? ResultCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The coupon identifier</p>. + /// <p>The result code of the coupon return</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCouponReturnCouponsResultData(string couponSerialNumber = default(string), ResultCodeEnum? resultCode = default(ResultCodeEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CouponSerialNumber = couponSerialNumber; + this.ResultCode = resultCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The coupon identifier</p> + /// + /// <p>The coupon identifier</p> + [DataMember(Name="couponSerialNumber", EmitDefaultValue=false)] + public string CouponSerialNumber { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCouponReturnCouponsResultData {\n"); + sb.Append(" CouponSerialNumber: ").Append(CouponSerialNumber).Append("\n"); + sb.Append(" ResultCode: ").Append(ResultCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCouponReturnCouponsResultData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCouponReturnCouponsResultData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCouponReturnCouponsResultData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCouponReturnCouponsResultData input) + { + if (input == null) + return false; + + return + ( + this.CouponSerialNumber == input.CouponSerialNumber || + (this.CouponSerialNumber != null && + this.CouponSerialNumber.Equals(input.CouponSerialNumber)) + ) && + ( + this.ResultCode == input.ResultCode || + (this.ResultCode != null && + this.ResultCode.Equals(input.ResultCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CouponSerialNumber != null) + hashCode = hashCode * 59 + this.CouponSerialNumber.GetHashCode(); + if (this.ResultCode != null) + hashCode = hashCode * 59 + this.ResultCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesAddress.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..5b55794807016d20ea59b84d5e52b8ee9304b388 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesAddress.cs @@ -0,0 +1,567 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Address <p>Object for address data</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesAddress : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: The first line of the address, normally the street number and name.</p>. + /// <p>String: The second line of an address, normally the Flat or Building Suite number.</p>. + /// <p>String: The third line of the address.</p>. + /// <p>String: The fourth line of the address.</p>. + /// <p>String: The fifth line of the address.It is normally used for the salutation.</p>. + /// <p>String: The city, town or village component of the address.</p>. + /// <p>String: The County, State, Province, Territory etc component of the address.</p>. + /// <p>String: The name of the County, State, Province, Territory etc. component of the address.</p>. + /// <p>String: This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.</p>. + /// <p>String: The postal or zip code of the address.</p>. + /// <p>String: The extension of the postal or zip code that further specifies a particular postal district.</p>. + /// <p>String: The ISO country code of the address.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesAddress(string addressLine1 = default(string), string addressLine2 = default(string), string addressLine3 = default(string), string addressLine4 = default(string), string addressLine5 = default(string), string city = default(string), string territory = default(string), string territoryName = default(string), string subTerritoryName = default(string), string postalCode = default(string), string postalCodeExtension = default(string), string isoCountryCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.AddressLine1 = addressLine1; + this.AddressLine2 = addressLine2; + this.AddressLine3 = addressLine3; + this.AddressLine4 = addressLine4; + this.AddressLine5 = addressLine5; + this.City = city; + this.Territory = territory; + this.TerritoryName = territoryName; + this.SubTerritoryName = subTerritoryName; + this.PostalCode = postalCode; + this.PostalCodeExtension = postalCodeExtension; + this.IsoCountryCode = isoCountryCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: The first line of the address, normally the street number and name.</p> + /// + /// <p>String: The first line of the address, normally the street number and name.</p> + [DataMember(Name="addressLine1", EmitDefaultValue=false)] + public string AddressLine1 { get; set; } + + /// + /// <p>String: The second line of an address, normally the Flat or Building Suite number.</p> + /// + /// <p>String: The second line of an address, normally the Flat or Building Suite number.</p> + [DataMember(Name="addressLine2", EmitDefaultValue=false)] + public string AddressLine2 { get; set; } + + /// + /// <p>String: The third line of the address.</p> + /// + /// <p>String: The third line of the address.</p> + [DataMember(Name="addressLine3", EmitDefaultValue=false)] + public string AddressLine3 { get; set; } + + /// + /// <p>String: The fourth line of the address.</p> + /// + /// <p>String: The fourth line of the address.</p> + [DataMember(Name="addressLine4", EmitDefaultValue=false)] + public string AddressLine4 { get; set; } + + /// + /// <p>String: The fifth line of the address.It is normally used for the salutation.</p> + /// + /// <p>String: The fifth line of the address.It is normally used for the salutation.</p> + [DataMember(Name="addressLine5", EmitDefaultValue=false)] + public string AddressLine5 { get; set; } + + /// + /// <p>String: The city, town or village component of the address.</p> + /// + /// <p>String: The city, town or village component of the address.</p> + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// <p>String: The County, State, Province, Territory etc component of the address.</p> + /// + /// <p>String: The County, State, Province, Territory etc component of the address.</p> + [DataMember(Name="territory", EmitDefaultValue=false)] + public string Territory { get; set; } + + /// + /// <p>String: The name of the County, State, Province, Territory etc. component of the address.</p> + /// + /// <p>String: The name of the County, State, Province, Territory etc. component of the address.</p> + [DataMember(Name="territoryName", EmitDefaultValue=false)] + public string TerritoryName { get; set; } + + /// + /// <p>String: This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.</p> + /// + /// <p>String: This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.</p> + [DataMember(Name="subTerritoryName", EmitDefaultValue=false)] + public string SubTerritoryName { get; set; } + + /// + /// <p>String: The postal or zip code of the address.</p> + /// + /// <p>String: The postal or zip code of the address.</p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// <p>String: The extension of the postal or zip code that further specifies a particular postal district.</p> + /// + /// <p>String: The extension of the postal or zip code that further specifies a particular postal district.</p> + [DataMember(Name="postalCodeExtension", EmitDefaultValue=false)] + public string PostalCodeExtension { get; set; } + + /// + /// <p>String: The ISO country code of the address.</p> + /// + /// <p>String: The ISO country code of the address.</p> + [DataMember(Name="isoCountryCode", EmitDefaultValue=false)] + public string IsoCountryCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesAddress {\n"); + sb.Append(" AddressLine1: ").Append(AddressLine1).Append("\n"); + sb.Append(" AddressLine2: ").Append(AddressLine2).Append("\n"); + sb.Append(" AddressLine3: ").Append(AddressLine3).Append("\n"); + sb.Append(" AddressLine4: ").Append(AddressLine4).Append("\n"); + sb.Append(" AddressLine5: ").Append(AddressLine5).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" Territory: ").Append(Territory).Append("\n"); + sb.Append(" TerritoryName: ").Append(TerritoryName).Append("\n"); + sb.Append(" SubTerritoryName: ").Append(SubTerritoryName).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" PostalCodeExtension: ").Append(PostalCodeExtension).Append("\n"); + sb.Append(" IsoCountryCode: ").Append(IsoCountryCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesAddress); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesAddress instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesAddress to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesAddress input) + { + if (input == null) + return false; + + return + ( + this.AddressLine1 == input.AddressLine1 || + (this.AddressLine1 != null && + this.AddressLine1.Equals(input.AddressLine1)) + ) && + ( + this.AddressLine2 == input.AddressLine2 || + (this.AddressLine2 != null && + this.AddressLine2.Equals(input.AddressLine2)) + ) && + ( + this.AddressLine3 == input.AddressLine3 || + (this.AddressLine3 != null && + this.AddressLine3.Equals(input.AddressLine3)) + ) && + ( + this.AddressLine4 == input.AddressLine4 || + (this.AddressLine4 != null && + this.AddressLine4.Equals(input.AddressLine4)) + ) && + ( + this.AddressLine5 == input.AddressLine5 || + (this.AddressLine5 != null && + this.AddressLine5.Equals(input.AddressLine5)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.Territory == input.Territory || + (this.Territory != null && + this.Territory.Equals(input.Territory)) + ) && + ( + this.TerritoryName == input.TerritoryName || + (this.TerritoryName != null && + this.TerritoryName.Equals(input.TerritoryName)) + ) && + ( + this.SubTerritoryName == input.SubTerritoryName || + (this.SubTerritoryName != null && + this.SubTerritoryName.Equals(input.SubTerritoryName)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.PostalCodeExtension == input.PostalCodeExtension || + (this.PostalCodeExtension != null && + this.PostalCodeExtension.Equals(input.PostalCodeExtension)) + ) && + ( + this.IsoCountryCode == input.IsoCountryCode || + (this.IsoCountryCode != null && + this.IsoCountryCode.Equals(input.IsoCountryCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AddressLine1 != null) + hashCode = hashCode * 59 + this.AddressLine1.GetHashCode(); + if (this.AddressLine2 != null) + hashCode = hashCode * 59 + this.AddressLine2.GetHashCode(); + if (this.AddressLine3 != null) + hashCode = hashCode * 59 + this.AddressLine3.GetHashCode(); + if (this.AddressLine4 != null) + hashCode = hashCode * 59 + this.AddressLine4.GetHashCode(); + if (this.AddressLine5 != null) + hashCode = hashCode * 59 + this.AddressLine5.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.Territory != null) + hashCode = hashCode * 59 + this.Territory.GetHashCode(); + if (this.TerritoryName != null) + hashCode = hashCode * 59 + this.TerritoryName.GetHashCode(); + if (this.SubTerritoryName != null) + hashCode = hashCode * 59 + this.SubTerritoryName.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.PostalCodeExtension != null) + hashCode = hashCode * 59 + this.PostalCodeExtension.GetHashCode(); + if (this.IsoCountryCode != null) + hashCode = hashCode * 59 + this.IsoCountryCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesContactMethod.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesContactMethod.cs new file mode 100644 index 0000000000000000000000000000000000000000..6869f6c9b4179cd786fc418b7e27ecd0b8ef4680 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesContactMethod.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ContactMethod <p>Data object for contact method</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesContactMethod : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: contact purpose</p><br /><pre> DEFAULT – Default<br /> INVOICE – Invoice<br /> DELIVERY – Delivery<br /></pre>. + /// <p>String: contact method</p><br /><pre> Address:<br /> HOME - home address<br /> HOMEPOSTALBOX - home postal box<br /> WORK - work address<br /> WORKPOSTALBOX - work postal box<br /> CONTACT - contact address<br /> Telephone:<br /> HOMETELEPHONE – home telephone<br /> HOMEMOBILEPHONE – home mobile phone<br /> HOMEFAX – home fax<br /> WORKTELEPHONE – work telephone<br /> WORKMOBILEPHONE – work mobile phone<br /> WORKFAX – work fax<br /> Email:<br /> HOMEEMAIL - home<br /> WORKEMAIL<br /></pre>. + /// <p>Address: address data</p>. + /// <p>Telephone: telephone data</p>. + /// <p>String: e-mail address</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesContactMethod(string contactPurposeTypeCode = default(string), string contactMethodTypeCode = default(string), ComGkSoftwarePosApiServiceCrmTypesAddress address = default(ComGkSoftwarePosApiServiceCrmTypesAddress), ComGkSoftwarePosApiServiceCrmTypesTelephone telephone = default(ComGkSoftwarePosApiServiceCrmTypesTelephone), string eMailAddress = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ContactPurposeTypeCode = contactPurposeTypeCode; + this.ContactMethodTypeCode = contactMethodTypeCode; + this.Address = address; + this.Telephone = telephone; + this.EMailAddress = eMailAddress; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: contact purpose</p><br /><pre> DEFAULT – Default<br /> INVOICE – Invoice<br /> DELIVERY – Delivery<br /></pre> + /// + /// <p>String: contact purpose</p><br /><pre> DEFAULT – Default<br /> INVOICE – Invoice<br /> DELIVERY – Delivery<br /></pre> + [DataMember(Name="contactPurposeTypeCode", EmitDefaultValue=false)] + public string ContactPurposeTypeCode { get; set; } + + /// + /// <p>String: contact method</p><br /><pre> Address:<br /> HOME - home address<br /> HOMEPOSTALBOX - home postal box<br /> WORK - work address<br /> WORKPOSTALBOX - work postal box<br /> CONTACT - contact address<br /> Telephone:<br /> HOMETELEPHONE – home telephone<br /> HOMEMOBILEPHONE – home mobile phone<br /> HOMEFAX – home fax<br /> WORKTELEPHONE – work telephone<br /> WORKMOBILEPHONE – work mobile phone<br /> WORKFAX – work fax<br /> Email:<br /> HOMEEMAIL - home<br /> WORKEMAIL<br /></pre> + /// + /// <p>String: contact method</p><br /><pre> Address:<br /> HOME - home address<br /> HOMEPOSTALBOX - home postal box<br /> WORK - work address<br /> WORKPOSTALBOX - work postal box<br /> CONTACT - contact address<br /> Telephone:<br /> HOMETELEPHONE – home telephone<br /> HOMEMOBILEPHONE – home mobile phone<br /> HOMEFAX – home fax<br /> WORKTELEPHONE – work telephone<br /> WORKMOBILEPHONE – work mobile phone<br /> WORKFAX – work fax<br /> Email:<br /> HOMEEMAIL - home<br /> WORKEMAIL<br /></pre> + [DataMember(Name="contactMethodTypeCode", EmitDefaultValue=false)] + public string ContactMethodTypeCode { get; set; } + + /// + /// <p>Address: address data</p> + /// + /// <p>Address: address data</p> + [DataMember(Name="address", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCrmTypesAddress Address { get; set; } + + /// + /// <p>Telephone: telephone data</p> + /// + /// <p>Telephone: telephone data</p> + [DataMember(Name="telephone", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCrmTypesTelephone Telephone { get; set; } + + /// + /// <p>String: e-mail address</p> + /// + /// <p>String: e-mail address</p> + [DataMember(Name="eMailAddress", EmitDefaultValue=false)] + public string EMailAddress { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesContactMethod {\n"); + sb.Append(" ContactPurposeTypeCode: ").Append(ContactPurposeTypeCode).Append("\n"); + sb.Append(" ContactMethodTypeCode: ").Append(ContactMethodTypeCode).Append("\n"); + sb.Append(" Address: ").Append(Address).Append("\n"); + sb.Append(" Telephone: ").Append(Telephone).Append("\n"); + sb.Append(" EMailAddress: ").Append(EMailAddress).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesContactMethod); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesContactMethod instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesContactMethod to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesContactMethod input) + { + if (input == null) + return false; + + return + ( + this.ContactPurposeTypeCode == input.ContactPurposeTypeCode || + (this.ContactPurposeTypeCode != null && + this.ContactPurposeTypeCode.Equals(input.ContactPurposeTypeCode)) + ) && + ( + this.ContactMethodTypeCode == input.ContactMethodTypeCode || + (this.ContactMethodTypeCode != null && + this.ContactMethodTypeCode.Equals(input.ContactMethodTypeCode)) + ) && + ( + this.Address == input.Address || + (this.Address != null && + this.Address.Equals(input.Address)) + ) && + ( + this.Telephone == input.Telephone || + (this.Telephone != null && + this.Telephone.Equals(input.Telephone)) + ) && + ( + this.EMailAddress == input.EMailAddress || + (this.EMailAddress != null && + this.EMailAddress.Equals(input.EMailAddress)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ContactPurposeTypeCode != null) + hashCode = hashCode * 59 + this.ContactPurposeTypeCode.GetHashCode(); + if (this.ContactMethodTypeCode != null) + hashCode = hashCode * 59 + this.ContactMethodTypeCode.GetHashCode(); + if (this.Address != null) + hashCode = hashCode * 59 + this.Address.GetHashCode(); + if (this.Telephone != null) + hashCode = hashCode * 59 + this.Telephone.GetHashCode(); + if (this.EMailAddress != null) + hashCode = hashCode * 59 + this.EMailAddress.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerAccount.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..380ac6a4d41c3f81374d9ce196af28ac03ed0bba --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerAccount.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerAccount <p>Data object customer account</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesCustomerAccount : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: customer account number</p>. + /// <p>String: account type</p><br /><pre> 00 - turnover of current year<br /> 01 - discount of current year<br /> 02 - points<br /></pre>. + /// <p>Money: account balance</p>. + /// <p>String: return code for the customer account request</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesCustomerAccount(string accountID = default(string), string accountTypeCode = default(string), ComGkSoftwarePosApiServiceCrmTypesMoney balance = default(ComGkSoftwarePosApiServiceCrmTypesMoney), string accountQueryReturnCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.AccountID = accountID; + this.AccountTypeCode = accountTypeCode; + this.Balance = balance; + this.AccountQueryReturnCode = accountQueryReturnCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: customer account number</p> + /// + /// <p>String: customer account number</p> + [DataMember(Name="accountID", EmitDefaultValue=false)] + public string AccountID { get; set; } + + /// + /// <p>String: account type</p><br /><pre> 00 - turnover of current year<br /> 01 - discount of current year<br /> 02 - points<br /></pre> + /// + /// <p>String: account type</p><br /><pre> 00 - turnover of current year<br /> 01 - discount of current year<br /> 02 - points<br /></pre> + [DataMember(Name="accountTypeCode", EmitDefaultValue=false)] + public string AccountTypeCode { get; set; } + + /// + /// <p>Money: account balance</p> + /// + /// <p>Money: account balance</p> + [DataMember(Name="balance", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCrmTypesMoney Balance { get; set; } + + /// + /// <p>String: return code for the customer account request</p> + /// + /// <p>String: return code for the customer account request</p> + [DataMember(Name="accountQueryReturnCode", EmitDefaultValue=false)] + public string AccountQueryReturnCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesCustomerAccount {\n"); + sb.Append(" AccountID: ").Append(AccountID).Append("\n"); + sb.Append(" AccountTypeCode: ").Append(AccountTypeCode).Append("\n"); + sb.Append(" Balance: ").Append(Balance).Append("\n"); + sb.Append(" AccountQueryReturnCode: ").Append(AccountQueryReturnCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesCustomerAccount); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesCustomerAccount instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesCustomerAccount to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesCustomerAccount input) + { + if (input == null) + return false; + + return + ( + this.AccountID == input.AccountID || + (this.AccountID != null && + this.AccountID.Equals(input.AccountID)) + ) && + ( + this.AccountTypeCode == input.AccountTypeCode || + (this.AccountTypeCode != null && + this.AccountTypeCode.Equals(input.AccountTypeCode)) + ) && + ( + this.Balance == input.Balance || + (this.Balance != null && + this.Balance.Equals(input.Balance)) + ) && + ( + this.AccountQueryReturnCode == input.AccountQueryReturnCode || + (this.AccountQueryReturnCode != null && + this.AccountQueryReturnCode.Equals(input.AccountQueryReturnCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AccountID != null) + hashCode = hashCode * 59 + this.AccountID.GetHashCode(); + if (this.AccountTypeCode != null) + hashCode = hashCode * 59 + this.AccountTypeCode.GetHashCode(); + if (this.Balance != null) + hashCode = hashCode * 59 + this.Balance.GetHashCode(); + if (this.AccountQueryReturnCode != null) + hashCode = hashCode * 59 + this.AccountQueryReturnCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerGroup.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0559350c7bd1c8ad9475009fb980d8881adabc6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerGroup.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerGroup <p>Data object CustomerGroup</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesCustomerGroup : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: customer group ID</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesCustomerGroup(string customerGroupID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerGroupID = customerGroupID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: customer group ID</p> + /// + /// <p>String: customer group ID</p> + [DataMember(Name="customerGroupID", EmitDefaultValue=false)] + public string CustomerGroupID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesCustomerGroup {\n"); + sb.Append(" CustomerGroupID: ").Append(CustomerGroupID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesCustomerGroup); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesCustomerGroup instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesCustomerGroup to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesCustomerGroup input) + { + if (input == null) + return false; + + return + ( + this.CustomerGroupID == input.CustomerGroupID || + (this.CustomerGroupID != null && + this.CustomerGroupID.Equals(input.CustomerGroupID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerGroupID != null) + hashCode = hashCode * 59 + this.CustomerGroupID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification.cs new file mode 100644 index 0000000000000000000000000000000000000000..dc86c4e34d66939693fa7b642ab055deccf1646d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerIdentification <p>Entity for customer identification</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Identification number</p>. + /// <p>Type of the identification number</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification(string identifier = default(string), string partyIdentificationTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Identifier = identifier; + this.PartyIdentificationTypeCode = partyIdentificationTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Identification number</p> + /// + /// <p>Identification number</p> + [DataMember(Name="identifier", EmitDefaultValue=false)] + public string Identifier { get; set; } + + /// + /// <p>Type of the identification number</p> + /// + /// <p>Type of the identification number</p> + [DataMember(Name="partyIdentificationTypeCode", EmitDefaultValue=false)] + public string PartyIdentificationTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification {\n"); + sb.Append(" Identifier: ").Append(Identifier).Append("\n"); + sb.Append(" PartyIdentificationTypeCode: ").Append(PartyIdentificationTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification input) + { + if (input == null) + return false; + + return + ( + this.Identifier == input.Identifier || + (this.Identifier != null && + this.Identifier.Equals(input.Identifier)) + ) && + ( + this.PartyIdentificationTypeCode == input.PartyIdentificationTypeCode || + (this.PartyIdentificationTypeCode != null && + this.PartyIdentificationTypeCode.Equals(input.PartyIdentificationTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Identifier != null) + hashCode = hashCode * 59 + this.Identifier.GetHashCode(); + if (this.PartyIdentificationTypeCode != null) + hashCode = hashCode * 59 + this.PartyIdentificationTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..212b0d50bdc69f6dfa9efc380d384baedc1ba29c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse.cs @@ -0,0 +1,546 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerQueryResponse <p>response object customer query</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>String: customer ID</p>. + /// <p>String: account ID</p>. + /// <p>EntityInformation_Person: person entity information</p>. + /// <p>ContactMethod: contact method list</p>. + /// <p>CustomerGroup: customer group list</p>. + /// <p>CustomerAccount: customer account list</p>. + /// <p>CustomerIdentification: customer identifications list</p>. + /// <p>boolean: Indicates that CRM is offline</p> (required). + /// <p>String: card number</p>. + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:<br /> CLIENT - Printout depends on client settings.<br /> PRINTONLY - Customer wants to have a printed receipt.<br /> MAILONLY - Customer wants to have the receipt per mail.<br /> NOTHING - Customer wants to have nothing.<br /> PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse(string customerID = default(string), string accountID = default(string), ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson person = default(ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson), List contactMethodList = default(List), List customerGroupList = default(List), List customerAccountList = default(List), List customerIdentificationList = default(List), bool? crmOffline = default(bool?), string cardNumber = default(string), string preferredReceiptPrintoutTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "crmOffline" is required (not null) + if (crmOffline == null) + { + throw new InvalidDataException("crmOffline is a required property for ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse and cannot be null"); + } + else + { + this.CrmOffline = crmOffline; + } + this.CustomerID = customerID; + this.AccountID = accountID; + this.Person = person; + this.ContactMethodList = contactMethodList; + this.CustomerGroupList = customerGroupList; + this.CustomerAccountList = customerAccountList; + this.CustomerIdentificationList = customerIdentificationList; + this.CardNumber = cardNumber; + this.PreferredReceiptPrintoutTypeCode = preferredReceiptPrintoutTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: customer ID</p> + /// + /// <p>String: customer ID</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>String: account ID</p> + /// + /// <p>String: account ID</p> + [DataMember(Name="accountID", EmitDefaultValue=false)] + public string AccountID { get; set; } + + /// + /// <p>EntityInformation_Person: person entity information</p> + /// + /// <p>EntityInformation_Person: person entity information</p> + [DataMember(Name="person", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson Person { get; set; } + + /// + /// <p>ContactMethod: contact method list</p> + /// + /// <p>ContactMethod: contact method list</p> + [DataMember(Name="contactMethodList", EmitDefaultValue=false)] + public List ContactMethodList { get; set; } + + /// + /// <p>CustomerGroup: customer group list</p> + /// + /// <p>CustomerGroup: customer group list</p> + [DataMember(Name="customerGroupList", EmitDefaultValue=false)] + public List CustomerGroupList { get; set; } + + /// + /// <p>CustomerAccount: customer account list</p> + /// + /// <p>CustomerAccount: customer account list</p> + [DataMember(Name="customerAccountList", EmitDefaultValue=false)] + public List CustomerAccountList { get; set; } + + /// + /// <p>CustomerIdentification: customer identifications list</p> + /// + /// <p>CustomerIdentification: customer identifications list</p> + [DataMember(Name="customerIdentificationList", EmitDefaultValue=false)] + public List CustomerIdentificationList { get; set; } + + /// + /// <p>boolean: Indicates that CRM is offline</p> + /// + /// <p>boolean: Indicates that CRM is offline</p> + [DataMember(Name="crmOffline", EmitDefaultValue=false)] + public bool? CrmOffline { get; set; } + + /// + /// <p>String: card number</p> + /// + /// <p>String: card number</p> + [DataMember(Name="cardNumber", EmitDefaultValue=false)] + public string CardNumber { get; set; } + + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:<br /> CLIENT - Printout depends on client settings.<br /> PRINTONLY - Customer wants to have a printed receipt.<br /> MAILONLY - Customer wants to have the receipt per mail.<br /> NOTHING - Customer wants to have nothing.<br /> PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</p> + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:<br /> CLIENT - Printout depends on client settings.<br /> PRINTONLY - Customer wants to have a printed receipt.<br /> MAILONLY - Customer wants to have the receipt per mail.<br /> NOTHING - Customer wants to have nothing.<br /> PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</p> + [DataMember(Name="preferredReceiptPrintoutTypeCode", EmitDefaultValue=false)] + public string PreferredReceiptPrintoutTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AccountID: ").Append(AccountID).Append("\n"); + sb.Append(" Person: ").Append(Person).Append("\n"); + sb.Append(" ContactMethodList: ").Append(ContactMethodList).Append("\n"); + sb.Append(" CustomerGroupList: ").Append(CustomerGroupList).Append("\n"); + sb.Append(" CustomerAccountList: ").Append(CustomerAccountList).Append("\n"); + sb.Append(" CustomerIdentificationList: ").Append(CustomerIdentificationList).Append("\n"); + sb.Append(" CrmOffline: ").Append(CrmOffline).Append("\n"); + sb.Append(" CardNumber: ").Append(CardNumber).Append("\n"); + sb.Append(" PreferredReceiptPrintoutTypeCode: ").Append(PreferredReceiptPrintoutTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AccountID == input.AccountID || + (this.AccountID != null && + this.AccountID.Equals(input.AccountID)) + ) && + ( + this.Person == input.Person || + (this.Person != null && + this.Person.Equals(input.Person)) + ) && + ( + this.ContactMethodList == input.ContactMethodList || + this.ContactMethodList != null && + this.ContactMethodList.SequenceEqual(input.ContactMethodList) + ) && + ( + this.CustomerGroupList == input.CustomerGroupList || + this.CustomerGroupList != null && + this.CustomerGroupList.SequenceEqual(input.CustomerGroupList) + ) && + ( + this.CustomerAccountList == input.CustomerAccountList || + this.CustomerAccountList != null && + this.CustomerAccountList.SequenceEqual(input.CustomerAccountList) + ) && + ( + this.CustomerIdentificationList == input.CustomerIdentificationList || + this.CustomerIdentificationList != null && + this.CustomerIdentificationList.SequenceEqual(input.CustomerIdentificationList) + ) && + ( + this.CrmOffline == input.CrmOffline || + (this.CrmOffline != null && + this.CrmOffline.Equals(input.CrmOffline)) + ) && + ( + this.CardNumber == input.CardNumber || + (this.CardNumber != null && + this.CardNumber.Equals(input.CardNumber)) + ) && + ( + this.PreferredReceiptPrintoutTypeCode == input.PreferredReceiptPrintoutTypeCode || + (this.PreferredReceiptPrintoutTypeCode != null && + this.PreferredReceiptPrintoutTypeCode.Equals(input.PreferredReceiptPrintoutTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AccountID != null) + hashCode = hashCode * 59 + this.AccountID.GetHashCode(); + if (this.Person != null) + hashCode = hashCode * 59 + this.Person.GetHashCode(); + if (this.ContactMethodList != null) + hashCode = hashCode * 59 + this.ContactMethodList.GetHashCode(); + if (this.CustomerGroupList != null) + hashCode = hashCode * 59 + this.CustomerGroupList.GetHashCode(); + if (this.CustomerAccountList != null) + hashCode = hashCode * 59 + this.CustomerAccountList.GetHashCode(); + if (this.CustomerIdentificationList != null) + hashCode = hashCode * 59 + this.CustomerIdentificationList.GetHashCode(); + if (this.CrmOffline != null) + hashCode = hashCode * 59 + this.CrmOffline.GetHashCode(); + if (this.CardNumber != null) + hashCode = hashCode * 59 + this.CardNumber.GetHashCode(); + if (this.PreferredReceiptPrintoutTypeCode != null) + hashCode = hashCode * 59 + this.PreferredReceiptPrintoutTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson.cs new file mode 100644 index 0000000000000000000000000000000000000000..0f5df2c6566ab0cfcef46594f7f423edeedaa3fa --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EntityInformation_Person <p>Object for holding person entity information</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: first name</p>. + /// <p>String: last name</p>. + /// <p>Date: birth date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>String: gender type</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson(string firstName = default(string), string lastName = default(string), string birthDate = default(string), string genderType = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.FirstName = firstName; + this.LastName = lastName; + this.BirthDate = birthDate; + this.GenderType = genderType; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: first name</p> + /// + /// <p>String: first name</p> + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// <p>String: last name</p> + /// + /// <p>String: last name</p> + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// <p>Date: birth date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date: birth date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="birthDate", EmitDefaultValue=false)] + public string BirthDate { get; set; } + + /// + /// <p>String: gender type</p> + /// + /// <p>String: gender type</p> + [DataMember(Name="genderType", EmitDefaultValue=false)] + public string GenderType { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson {\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" BirthDate: ").Append(BirthDate).Append("\n"); + sb.Append(" GenderType: ").Append(GenderType).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson input) + { + if (input == null) + return false; + + return + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.BirthDate == input.BirthDate || + (this.BirthDate != null && + this.BirthDate.Equals(input.BirthDate)) + ) && + ( + this.GenderType == input.GenderType || + (this.GenderType != null && + this.GenderType.Equals(input.GenderType)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.BirthDate != null) + hashCode = hashCode * 59 + this.BirthDate.GetHashCode(); + if (this.GenderType != null) + hashCode = hashCode * 59 + this.GenderType.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesMoney.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesMoney.cs new file mode 100644 index 0000000000000000000000000000000000000000..8dad98d12ef5f136d35701d9c0e8094d461928d0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesMoney.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Money <p>Data object Money</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesMoney : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Double: Amount with decimal places</p>. + /// <p>String: Currency of the amount</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesMoney(double? amount = default(double?), string currency = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Amount = amount; + this.Currency = currency; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Double: Amount with decimal places</p> + /// + /// <p>Double: Amount with decimal places</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>String: Currency of the amount</p> + /// + /// <p>String: Currency of the amount</p> + [DataMember(Name="currency", EmitDefaultValue=false)] + public string Currency { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesMoney {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesMoney); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesMoney instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesMoney to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesMoney input) + { + if (input == null) + return false; + + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Currency != null) + hashCode = hashCode * 59 + this.Currency.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesTelephone.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesTelephone.cs new file mode 100644 index 0000000000000000000000000000000000000000..305b69ada37400dd85b53065cac6de9e67c0f299 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceCrmTypesTelephone.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Telephone <p>Data object for telephone data</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceCrmTypesTelephone : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: country dialling code</p>. + /// <p>String: area</p>. + /// <p>String: subscriber ID</p>. + /// <p>String: extension ID</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceCrmTypesTelephone(string countryDiallingCode = default(string), string areaID = default(string), string subscriberID = default(string), string extensionID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CountryDiallingCode = countryDiallingCode; + this.AreaID = areaID; + this.SubscriberID = subscriberID; + this.ExtensionID = extensionID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: country dialling code</p> + /// + /// <p>String: country dialling code</p> + [DataMember(Name="countryDiallingCode", EmitDefaultValue=false)] + public string CountryDiallingCode { get; set; } + + /// + /// <p>String: area</p> + /// + /// <p>String: area</p> + [DataMember(Name="areaID", EmitDefaultValue=false)] + public string AreaID { get; set; } + + /// + /// <p>String: subscriber ID</p> + /// + /// <p>String: subscriber ID</p> + [DataMember(Name="subscriberID", EmitDefaultValue=false)] + public string SubscriberID { get; set; } + + /// + /// <p>String: extension ID</p> + /// + /// <p>String: extension ID</p> + [DataMember(Name="extensionID", EmitDefaultValue=false)] + public string ExtensionID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceCrmTypesTelephone {\n"); + sb.Append(" CountryDiallingCode: ").Append(CountryDiallingCode).Append("\n"); + sb.Append(" AreaID: ").Append(AreaID).Append("\n"); + sb.Append(" SubscriberID: ").Append(SubscriberID).Append("\n"); + sb.Append(" ExtensionID: ").Append(ExtensionID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceCrmTypesTelephone); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceCrmTypesTelephone instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceCrmTypesTelephone to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceCrmTypesTelephone input) + { + if (input == null) + return false; + + return + ( + this.CountryDiallingCode == input.CountryDiallingCode || + (this.CountryDiallingCode != null && + this.CountryDiallingCode.Equals(input.CountryDiallingCode)) + ) && + ( + this.AreaID == input.AreaID || + (this.AreaID != null && + this.AreaID.Equals(input.AreaID)) + ) && + ( + this.SubscriberID == input.SubscriberID || + (this.SubscriberID != null && + this.SubscriberID.Equals(input.SubscriberID)) + ) && + ( + this.ExtensionID == input.ExtensionID || + (this.ExtensionID != null && + this.ExtensionID.Equals(input.ExtensionID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CountryDiallingCode != null) + hashCode = hashCode * 59 + this.CountryDiallingCode.GetHashCode(); + if (this.AreaID != null) + hashCode = hashCode * 59 + this.AreaID.GetHashCode(); + if (this.SubscriberID != null) + hashCode = hashCode * 59 + this.SubscriberID.GetHashCode(); + if (this.ExtensionID != null) + hashCode = hashCode * 59 + this.ExtensionID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..27566a0a68506a84477f5f8bf8c65cd2e58c850b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreCustomerDataChangedDataEventRequest <p>Request object for StoreCustomerDataChangedDataEvent</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The old customer data</p> (required). + /// <p>The new customer data</p> (required). + /// <p>The reason for the change</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO oldCustomer = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO), ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO newCustomer = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "oldCustomer" is required (not null) + if (oldCustomer == null) + { + throw new InvalidDataException("oldCustomer is a required property for ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest and cannot be null"); + } + else + { + this.OldCustomer = oldCustomer; + } + // to ensure "newCustomer" is required (not null) + if (newCustomer == null) + { + throw new InvalidDataException("newCustomer is a required property for ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest and cannot be null"); + } + else + { + this.NewCustomer = newCustomer; + } + // to ensure "reason" is required (not null) + if (reason == null) + { + throw new InvalidDataException("reason is a required property for ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest and cannot be null"); + } + else + { + this.Reason = reason; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The old customer data</p> + /// + /// <p>The old customer data</p> + [DataMember(Name="oldCustomer", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO OldCustomer { get; set; } + + /// + /// <p>The new customer data</p> + /// + /// <p>The new customer data</p> + [DataMember(Name="newCustomer", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO NewCustomer { get; set; } + + /// + /// <p>The reason for the change</p> + /// + /// <p>The reason for the change</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest {\n"); + sb.Append(" OldCustomer: ").Append(OldCustomer).Append("\n"); + sb.Append(" NewCustomer: ").Append(NewCustomer).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest input) + { + if (input == null) + return false; + + return + ( + this.OldCustomer == input.OldCustomer || + (this.OldCustomer != null && + this.OldCustomer.Equals(input.OldCustomer)) + ) && + ( + this.NewCustomer == input.NewCustomer || + (this.NewCustomer != null && + this.NewCustomer.Equals(input.NewCustomer)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OldCustomer != null) + hashCode = hashCode * 59 + this.OldCustomer.GetHashCode(); + if (this.NewCustomer != null) + hashCode = hashCode * 59 + this.NewCustomer.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0230234bec769a6486dc71a58334b4891e070974 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreCustomerDataCreatedDataEventRequest <p>Request object for StoreCustomerDataCreatedDataEvent</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The created customer data</p> (required). + /// <p>The reason for the creation</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO customer = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customer" is required (not null) + if (customer == null) + { + throw new InvalidDataException("customer is a required property for ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest and cannot be null"); + } + else + { + this.Customer = customer; + } + // to ensure "reason" is required (not null) + if (reason == null) + { + throw new InvalidDataException("reason is a required property for ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest and cannot be null"); + } + else + { + this.Reason = reason; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The created customer data</p> + /// + /// <p>The created customer data</p> + [DataMember(Name="customer", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO Customer { get; set; } + + /// + /// <p>The reason for the creation</p> + /// + /// <p>The reason for the creation</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest {\n"); + sb.Append(" Customer: ").Append(Customer).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest input) + { + if (input == null) + return false; + + return + ( + this.Customer == input.Customer || + (this.Customer != null && + this.Customer.Equals(input.Customer)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Customer != null) + hashCode = hashCode * 59 + this.Customer.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2cf09d315189c17a377102847d0a959024b7b62e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreCustomerDataReadDataEventRequest <p>Request object for StoreCustomerDataReadDataEvent</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer data</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO customer = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customer" is required (not null) + if (customer == null) + { + throw new InvalidDataException("customer is a required property for ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest and cannot be null"); + } + else + { + this.Customer = customer; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer data</p> + /// + /// <p>The customer data</p> + [DataMember(Name="customer", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO Customer { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest {\n"); + sb.Append(" Customer: ").Append(Customer).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest input) + { + if (input == null) + return false; + + return + ( + this.Customer == input.Customer || + (this.Customer != null && + this.Customer.Equals(input.Customer)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Customer != null) + hashCode = hashCode * 59 + this.Customer.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8d3937c8e61ad0a1b5cfa68f2b28989a083623b5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreCustomerSearchCriteriaEventRequest <p>Request object for StoreCustomerSearchCriteriaEvent</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer filter/search criteria</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter customerContactFilter = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customerContactFilter" is required (not null) + if (customerContactFilter == null) + { + throw new InvalidDataException("customerContactFilter is a required property for ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest and cannot be null"); + } + else + { + this.CustomerContactFilter = customerContactFilter; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer filter/search criteria</p> + /// + /// <p>The customer filter/search criteria</p> + [DataMember(Name="customerContactFilter", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter CustomerContactFilter { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest {\n"); + sb.Append(" CustomerContactFilter: ").Append(CustomerContactFilter).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerContactFilter == input.CustomerContactFilter || + (this.CustomerContactFilter != null && + this.CustomerContactFilter.Equals(input.CustomerContactFilter)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerContactFilter != null) + hashCode = hashCode * 59 + this.CustomerContactFilter.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..aa0deb7bbdd6027972a70e48e4cf93a81c0949d2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest.cs @@ -0,0 +1,475 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ProcessDigitalReceiptRequest <p>Request entity for 'Add Digital Receipt' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest : IEquatable, IValidatableObject + { + /// + /// <p>The action code which should be executed for the digital receipt (EMail / QRCode)</p> + /// + /// <p>The action code which should be executed for the digital receipt (EMail / QRCode)</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum DigitalReceiptActionEnum + { + + /// + /// Enum None for value: None + /// + [EnumMember(Value = "None")] + None = 1, + + /// + /// Enum Email for value: Email + /// + [EnumMember(Value = "Email")] + Email = 2, + + /// + /// Enum QRCode for value: QRCode + /// + [EnumMember(Value = "QRCode")] + QRCode = 3 + } + + /// + /// <p>The action code which should be executed for the digital receipt (EMail / QRCode)</p> + /// + /// <p>The action code which should be executed for the digital receipt (EMail / QRCode)</p> + [DataMember(Name="digitalReceiptAction", EmitDefaultValue=false)] + public DigitalReceiptActionEnum? DigitalReceiptAction { get; set; } + /// + /// <p>The action code for the email handling (Client / Backend)</p> + /// + /// <p>The action code for the email handling (Client / Backend)</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum DigitalReceiptEmailActionEnum + { + + /// + /// Enum Backend for value: Backend + /// + [EnumMember(Value = "Backend")] + Backend = 1, + + /// + /// Enum Client for value: Client + /// + [EnumMember(Value = "Client")] + Client = 2 + } + + /// + /// <p>The action code for the email handling (Client / Backend)</p> + /// + /// <p>The action code for the email handling (Client / Backend)</p> + [DataMember(Name="digitalReceiptEmailAction", EmitDefaultValue=false)] + public DigitalReceiptEmailActionEnum? DigitalReceiptEmailAction { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The pdf attachment that is the PDF base64 encoded combined receipts binary stream data</p> (required). + /// <p>The action code which should be executed for the digital receipt (EMail / QRCode)</p>. + /// <p>The action code for the email handling (Client / Backend)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest(string pdf = default(string), DigitalReceiptActionEnum? digitalReceiptAction = default(DigitalReceiptActionEnum?), DigitalReceiptEmailActionEnum? digitalReceiptEmailAction = default(DigitalReceiptEmailActionEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "pdf" is required (not null) + if (pdf == null) + { + throw new InvalidDataException("pdf is a required property for ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest and cannot be null"); + } + else + { + this.Pdf = pdf; + } + this.DigitalReceiptAction = digitalReceiptAction; + this.DigitalReceiptEmailAction = digitalReceiptEmailAction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The pdf attachment that is the PDF base64 encoded combined receipts binary stream data</p> + /// + /// <p>The pdf attachment that is the PDF base64 encoded combined receipts binary stream data</p> + [DataMember(Name="pdf", EmitDefaultValue=false)] + public string Pdf { get; set; } + + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest {\n"); + sb.Append(" Pdf: ").Append(Pdf).Append("\n"); + sb.Append(" DigitalReceiptAction: ").Append(DigitalReceiptAction).Append("\n"); + sb.Append(" DigitalReceiptEmailAction: ").Append(DigitalReceiptEmailAction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest input) + { + if (input == null) + return false; + + return + ( + this.Pdf == input.Pdf || + (this.Pdf != null && + this.Pdf.Equals(input.Pdf)) + ) && + ( + this.DigitalReceiptAction == input.DigitalReceiptAction || + (this.DigitalReceiptAction != null && + this.DigitalReceiptAction.Equals(input.DigitalReceiptAction)) + ) && + ( + this.DigitalReceiptEmailAction == input.DigitalReceiptEmailAction || + (this.DigitalReceiptEmailAction != null && + this.DigitalReceiptEmailAction.Equals(input.DigitalReceiptEmailAction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Pdf != null) + hashCode = hashCode * 59 + this.Pdf.GetHashCode(); + if (this.DigitalReceiptAction != null) + hashCode = hashCode * 59 + this.DigitalReceiptAction.GetHashCode(); + if (this.DigitalReceiptEmailAction != null) + hashCode = hashCode * 59 + this.DigitalReceiptEmailAction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..0d0b9b3d2182b92d3ee6b3fb848f63ea3c71cf75 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse.cs @@ -0,0 +1,445 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ProcessDigitalReceiptResponse <p>Response entity for 'Add Digital Receipt' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse : IEquatable, IValidatableObject + { + /// + /// <p>The status of the response.</p> + /// + /// <p>The status of the response.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusCodeEnum + { + + /// + /// Enum OK for value: OK + /// + [EnumMember(Value = "OK")] + OK = 1, + + /// + /// Enum ERROR for value: ERROR + /// + [EnumMember(Value = "ERROR")] + ERROR = 2, + + /// + /// Enum OFFLINE for value: OFFLINE + /// + [EnumMember(Value = "OFFLINE")] + OFFLINE = 3 + } + + /// + /// <p>The status of the response.</p> + /// + /// <p>The status of the response.</p> + [DataMember(Name="statusCode", EmitDefaultValue=false)] + public StatusCodeEnum StatusCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The status of the response.</p> (required). + /// <p>The entity describing the transaction result of the operation.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse(StatusCodeEnum statusCode = default(StatusCodeEnum), ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "statusCode" is required (not null) + if (statusCode == null) + { + throw new InvalidDataException("statusCode is a required property for ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse and cannot be null"); + } + else + { + this.StatusCode = statusCode; + } + // to ensure "transactionOperationResult" is required (not null) + if (transactionOperationResult == null) + { + throw new InvalidDataException("transactionOperationResult is a required property for ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse and cannot be null"); + } + else + { + this.TransactionOperationResult = transactionOperationResult; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse {\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse input) + { + if (input == null) + return false; + + return + ( + this.StatusCode == input.StatusCode || + (this.StatusCode != null && + this.StatusCode.Equals(input.StatusCode)) + ) && + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StatusCode != null) + hashCode = hashCode * 59 + this.StatusCode.GetHashCode(); + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicBasketRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicBasketRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2bb16611987586f0e9c6f9d1d4324bfd13351226 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicBasketRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EwicBasketRequest <p>Request object for the EwicBasketRequest.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceEwicEwicBasketRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Transaction : The current transaction</p>. + /// <p>String : State code for eWIC card</p>. + /// <p>String : Expiration date for eWIC card</p>. + /// <p>EwicItemSubcategoryBenefitsResult[] : Benefits, UOM and Item SubCategory Description</p>. + /// <p>EwicPaymentOperationConfig : The eWIC payment config</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceEwicEwicBasketRequest(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), string stateCode = default(string), string expirationDate = default(string), List prescription = default(List), ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig ewicPaymentOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Transaction = transaction; + this.StateCode = stateCode; + this.ExpirationDate = expirationDate; + this.Prescription = prescription; + this.EwicPaymentOperationConfig = ewicPaymentOperationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Transaction : The current transaction</p> + /// + /// <p>Transaction : The current transaction</p> + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// <p>String : State code for eWIC card</p> + /// + /// <p>String : State code for eWIC card</p> + [DataMember(Name="stateCode", EmitDefaultValue=false)] + public string StateCode { get; set; } + + /// + /// <p>String : Expiration date for eWIC card</p> + /// + /// <p>String : Expiration date for eWIC card</p> + [DataMember(Name="expirationDate", EmitDefaultValue=false)] + public string ExpirationDate { get; set; } + + /// + /// <p>EwicItemSubcategoryBenefitsResult[] : Benefits, UOM and Item SubCategory Description</p> + /// + /// <p>EwicItemSubcategoryBenefitsResult[] : Benefits, UOM and Item SubCategory Description</p> + [DataMember(Name="prescription", EmitDefaultValue=false)] + public List Prescription { get; set; } + + /// + /// <p>EwicPaymentOperationConfig : The eWIC payment config</p> + /// + /// <p>EwicPaymentOperationConfig : The eWIC payment config</p> + [DataMember(Name="ewicPaymentOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig EwicPaymentOperationConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceEwicEwicBasketRequest {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" StateCode: ").Append(StateCode).Append("\n"); + sb.Append(" ExpirationDate: ").Append(ExpirationDate).Append("\n"); + sb.Append(" Prescription: ").Append(Prescription).Append("\n"); + sb.Append(" EwicPaymentOperationConfig: ").Append(EwicPaymentOperationConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceEwicEwicBasketRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceEwicEwicBasketRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceEwicEwicBasketRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceEwicEwicBasketRequest input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.StateCode == input.StateCode || + (this.StateCode != null && + this.StateCode.Equals(input.StateCode)) + ) && + ( + this.ExpirationDate == input.ExpirationDate || + (this.ExpirationDate != null && + this.ExpirationDate.Equals(input.ExpirationDate)) + ) && + ( + this.Prescription == input.Prescription || + this.Prescription != null && + this.Prescription.SequenceEqual(input.Prescription) + ) && + ( + this.EwicPaymentOperationConfig == input.EwicPaymentOperationConfig || + (this.EwicPaymentOperationConfig != null && + this.EwicPaymentOperationConfig.Equals(input.EwicPaymentOperationConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.StateCode != null) + hashCode = hashCode * 59 + this.StateCode.GetHashCode(); + if (this.ExpirationDate != null) + hashCode = hashCode * 59 + this.ExpirationDate.GetHashCode(); + if (this.Prescription != null) + hashCode = hashCode * 59 + this.Prescription.GetHashCode(); + if (this.EwicPaymentOperationConfig != null) + hashCode = hashCode * 59 + this.EwicPaymentOperationConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicBasketResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicBasketResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..ea5c231ffbb7f374bb666b1452cae0aa0988c1e0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicBasketResult.cs @@ -0,0 +1,747 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EwicBasketResult <p>Result object for the EwicBasketResult.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceEwicEwicBasketResult : IEquatable, IValidatableObject + { + /// + /// <p>EwicItemStatusType: Whether to apply WIC benefits for this item</p> + /// + /// <p>EwicItemStatusType: Whether to apply WIC benefits for this item</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum WIC for value: WIC + /// + [EnumMember(Value = "WIC")] + WIC = 1, + + /// + /// Enum NOWIC for value: NO_WIC + /// + [EnumMember(Value = "NO_WIC")] + NOWIC = 2, + + /// + /// Enum VOID for value: VOID + /// + [EnumMember(Value = "VOID")] + VOID = 3 + } + + /// + /// <p>EwicItemStatusType: Whether to apply WIC benefits for this item</p> + /// + /// <p>EwicItemStatusType: Whether to apply WIC benefits for this item</p> + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>String : Item description from master data</p>. + /// <p>double : Quantity of item purchased</p>. + /// <p>String : UOM description</p>. + /// <p>double : Item extended amount</p>. + /// <p>String : eWIC category description</p>. + /// <p>String : eWIC sub-category description</p>. + /// <p>String : UOM code</p>. + /// <p>String : eWIC category code</p>. + /// <p>String : eWIC sub-category code</p>. + /// <p>String : Item number</p>. + /// <p>short: Item index</p>. + /// <p>double: Quantity that is eligible to receive benefits, as obtained from the eWIC prescription</p>. + /// <p>double: Not to exceed price</p>. + /// <p>EwicItemStatusType: Whether to apply WIC benefits for this item</p>. + /// <p>boolean: Specifies whether the item can be straddled</p>. + /// <p>boolean: Specifies whether the item will be tendered partially with eWIC</p>. + /// <p>double: Item regular unit price</p>. + /// <p>double: Item extended discount amount</p>. + /// <p>double: Item quantity multiply by item benefits quantity</p>. + /// <p>double: Item price for confirmation screen</p>. + /// <p>double: Item variance price for NTE</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceEwicEwicBasketResult(string itemDescription = default(string), double? quantity = default(double?), string uomDesc = default(string), double? itemPrice = default(double?), string categoryDesc = default(string), string subcategoryDesc = default(string), string baseUOMCode = default(string), string category = default(string), string subcategory = default(string), string upcPluNumber = default(string), int? lineNumber = default(int?), double? benefitQuantity = default(double?), double? ntePrice = default(double?), StatusEnum? status = default(StatusEnum?), bool? wicPurchaseIndicator = default(bool?), bool? splitEwicTender = default(bool?), double? regularUnitPrice = default(double?), double? extendedDiscountAmount = default(double?), double? amount = default(double?), double? itemDisplayPrice = default(double?), double? itemVariance = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ItemDescription = itemDescription; + this.Quantity = quantity; + this.UomDesc = uomDesc; + this.ItemPrice = itemPrice; + this.CategoryDesc = categoryDesc; + this.SubcategoryDesc = subcategoryDesc; + this.BaseUOMCode = baseUOMCode; + this.Category = category; + this.Subcategory = subcategory; + this.UpcPluNumber = upcPluNumber; + this.LineNumber = lineNumber; + this.BenefitQuantity = benefitQuantity; + this.NtePrice = ntePrice; + this.Status = status; + this.WicPurchaseIndicator = wicPurchaseIndicator; + this.SplitEwicTender = splitEwicTender; + this.RegularUnitPrice = regularUnitPrice; + this.ExtendedDiscountAmount = extendedDiscountAmount; + this.Amount = amount; + this.ItemDisplayPrice = itemDisplayPrice; + this.ItemVariance = itemVariance; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String : Item description from master data</p> + /// + /// <p>String : Item description from master data</p> + [DataMember(Name="itemDescription", EmitDefaultValue=false)] + public string ItemDescription { get; set; } + + /// + /// <p>double : Quantity of item purchased</p> + /// + /// <p>double : Quantity of item purchased</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public double? Quantity { get; set; } + + /// + /// <p>String : UOM description</p> + /// + /// <p>String : UOM description</p> + [DataMember(Name="uomDesc", EmitDefaultValue=false)] + public string UomDesc { get; set; } + + /// + /// <p>double : Item extended amount</p> + /// + /// <p>double : Item extended amount</p> + [DataMember(Name="itemPrice", EmitDefaultValue=false)] + public double? ItemPrice { get; set; } + + /// + /// <p>String : eWIC category description</p> + /// + /// <p>String : eWIC category description</p> + [DataMember(Name="categoryDesc", EmitDefaultValue=false)] + public string CategoryDesc { get; set; } + + /// + /// <p>String : eWIC sub-category description</p> + /// + /// <p>String : eWIC sub-category description</p> + [DataMember(Name="subcategoryDesc", EmitDefaultValue=false)] + public string SubcategoryDesc { get; set; } + + /// + /// <p>String : UOM code</p> + /// + /// <p>String : UOM code</p> + [DataMember(Name="baseUOMCode", EmitDefaultValue=false)] + public string BaseUOMCode { get; set; } + + /// + /// <p>String : eWIC category code</p> + /// + /// <p>String : eWIC category code</p> + [DataMember(Name="category", EmitDefaultValue=false)] + public string Category { get; set; } + + /// + /// <p>String : eWIC sub-category code</p> + /// + /// <p>String : eWIC sub-category code</p> + [DataMember(Name="subcategory", EmitDefaultValue=false)] + public string Subcategory { get; set; } + + /// + /// <p>String : Item number</p> + /// + /// <p>String : Item number</p> + [DataMember(Name="upcPluNumber", EmitDefaultValue=false)] + public string UpcPluNumber { get; set; } + + /// + /// <p>short: Item index</p> + /// + /// <p>short: Item index</p> + [DataMember(Name="lineNumber", EmitDefaultValue=false)] + public int? LineNumber { get; set; } + + /// + /// <p>double: Quantity that is eligible to receive benefits, as obtained from the eWIC prescription</p> + /// + /// <p>double: Quantity that is eligible to receive benefits, as obtained from the eWIC prescription</p> + [DataMember(Name="benefitQuantity", EmitDefaultValue=false)] + public double? BenefitQuantity { get; set; } + + /// + /// <p>double: Not to exceed price</p> + /// + /// <p>double: Not to exceed price</p> + [DataMember(Name="ntePrice", EmitDefaultValue=false)] + public double? NtePrice { get; set; } + + + /// + /// <p>boolean: Specifies whether the item can be straddled</p> + /// + /// <p>boolean: Specifies whether the item can be straddled</p> + [DataMember(Name="wicPurchaseIndicator", EmitDefaultValue=false)] + public bool? WicPurchaseIndicator { get; set; } + + /// + /// <p>boolean: Specifies whether the item will be tendered partially with eWIC</p> + /// + /// <p>boolean: Specifies whether the item will be tendered partially with eWIC</p> + [DataMember(Name="splitEwicTender", EmitDefaultValue=false)] + public bool? SplitEwicTender { get; set; } + + /// + /// <p>double: Item regular unit price</p> + /// + /// <p>double: Item regular unit price</p> + [DataMember(Name="regularUnitPrice", EmitDefaultValue=false)] + public double? RegularUnitPrice { get; set; } + + /// + /// <p>double: Item extended discount amount</p> + /// + /// <p>double: Item extended discount amount</p> + [DataMember(Name="extendedDiscountAmount", EmitDefaultValue=false)] + public double? ExtendedDiscountAmount { get; set; } + + /// + /// <p>double: Item quantity multiply by item benefits quantity</p> + /// + /// <p>double: Item quantity multiply by item benefits quantity</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>double: Item price for confirmation screen</p> + /// + /// <p>double: Item price for confirmation screen</p> + [DataMember(Name="itemDisplayPrice", EmitDefaultValue=false)] + public double? ItemDisplayPrice { get; set; } + + /// + /// <p>double: Item variance price for NTE</p> + /// + /// <p>double: Item variance price for NTE</p> + [DataMember(Name="itemVariance", EmitDefaultValue=false)] + public double? ItemVariance { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceEwicEwicBasketResult {\n"); + sb.Append(" ItemDescription: ").Append(ItemDescription).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" UomDesc: ").Append(UomDesc).Append("\n"); + sb.Append(" ItemPrice: ").Append(ItemPrice).Append("\n"); + sb.Append(" CategoryDesc: ").Append(CategoryDesc).Append("\n"); + sb.Append(" SubcategoryDesc: ").Append(SubcategoryDesc).Append("\n"); + sb.Append(" BaseUOMCode: ").Append(BaseUOMCode).Append("\n"); + sb.Append(" Category: ").Append(Category).Append("\n"); + sb.Append(" Subcategory: ").Append(Subcategory).Append("\n"); + sb.Append(" UpcPluNumber: ").Append(UpcPluNumber).Append("\n"); + sb.Append(" LineNumber: ").Append(LineNumber).Append("\n"); + sb.Append(" BenefitQuantity: ").Append(BenefitQuantity).Append("\n"); + sb.Append(" NtePrice: ").Append(NtePrice).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" WicPurchaseIndicator: ").Append(WicPurchaseIndicator).Append("\n"); + sb.Append(" SplitEwicTender: ").Append(SplitEwicTender).Append("\n"); + sb.Append(" RegularUnitPrice: ").Append(RegularUnitPrice).Append("\n"); + sb.Append(" ExtendedDiscountAmount: ").Append(ExtendedDiscountAmount).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" ItemDisplayPrice: ").Append(ItemDisplayPrice).Append("\n"); + sb.Append(" ItemVariance: ").Append(ItemVariance).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceEwicEwicBasketResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceEwicEwicBasketResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceEwicEwicBasketResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceEwicEwicBasketResult input) + { + if (input == null) + return false; + + return + ( + this.ItemDescription == input.ItemDescription || + (this.ItemDescription != null && + this.ItemDescription.Equals(input.ItemDescription)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.UomDesc == input.UomDesc || + (this.UomDesc != null && + this.UomDesc.Equals(input.UomDesc)) + ) && + ( + this.ItemPrice == input.ItemPrice || + (this.ItemPrice != null && + this.ItemPrice.Equals(input.ItemPrice)) + ) && + ( + this.CategoryDesc == input.CategoryDesc || + (this.CategoryDesc != null && + this.CategoryDesc.Equals(input.CategoryDesc)) + ) && + ( + this.SubcategoryDesc == input.SubcategoryDesc || + (this.SubcategoryDesc != null && + this.SubcategoryDesc.Equals(input.SubcategoryDesc)) + ) && + ( + this.BaseUOMCode == input.BaseUOMCode || + (this.BaseUOMCode != null && + this.BaseUOMCode.Equals(input.BaseUOMCode)) + ) && + ( + this.Category == input.Category || + (this.Category != null && + this.Category.Equals(input.Category)) + ) && + ( + this.Subcategory == input.Subcategory || + (this.Subcategory != null && + this.Subcategory.Equals(input.Subcategory)) + ) && + ( + this.UpcPluNumber == input.UpcPluNumber || + (this.UpcPluNumber != null && + this.UpcPluNumber.Equals(input.UpcPluNumber)) + ) && + ( + this.LineNumber == input.LineNumber || + (this.LineNumber != null && + this.LineNumber.Equals(input.LineNumber)) + ) && + ( + this.BenefitQuantity == input.BenefitQuantity || + (this.BenefitQuantity != null && + this.BenefitQuantity.Equals(input.BenefitQuantity)) + ) && + ( + this.NtePrice == input.NtePrice || + (this.NtePrice != null && + this.NtePrice.Equals(input.NtePrice)) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.WicPurchaseIndicator == input.WicPurchaseIndicator || + (this.WicPurchaseIndicator != null && + this.WicPurchaseIndicator.Equals(input.WicPurchaseIndicator)) + ) && + ( + this.SplitEwicTender == input.SplitEwicTender || + (this.SplitEwicTender != null && + this.SplitEwicTender.Equals(input.SplitEwicTender)) + ) && + ( + this.RegularUnitPrice == input.RegularUnitPrice || + (this.RegularUnitPrice != null && + this.RegularUnitPrice.Equals(input.RegularUnitPrice)) + ) && + ( + this.ExtendedDiscountAmount == input.ExtendedDiscountAmount || + (this.ExtendedDiscountAmount != null && + this.ExtendedDiscountAmount.Equals(input.ExtendedDiscountAmount)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.ItemDisplayPrice == input.ItemDisplayPrice || + (this.ItemDisplayPrice != null && + this.ItemDisplayPrice.Equals(input.ItemDisplayPrice)) + ) && + ( + this.ItemVariance == input.ItemVariance || + (this.ItemVariance != null && + this.ItemVariance.Equals(input.ItemVariance)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemDescription != null) + hashCode = hashCode * 59 + this.ItemDescription.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.UomDesc != null) + hashCode = hashCode * 59 + this.UomDesc.GetHashCode(); + if (this.ItemPrice != null) + hashCode = hashCode * 59 + this.ItemPrice.GetHashCode(); + if (this.CategoryDesc != null) + hashCode = hashCode * 59 + this.CategoryDesc.GetHashCode(); + if (this.SubcategoryDesc != null) + hashCode = hashCode * 59 + this.SubcategoryDesc.GetHashCode(); + if (this.BaseUOMCode != null) + hashCode = hashCode * 59 + this.BaseUOMCode.GetHashCode(); + if (this.Category != null) + hashCode = hashCode * 59 + this.Category.GetHashCode(); + if (this.Subcategory != null) + hashCode = hashCode * 59 + this.Subcategory.GetHashCode(); + if (this.UpcPluNumber != null) + hashCode = hashCode * 59 + this.UpcPluNumber.GetHashCode(); + if (this.LineNumber != null) + hashCode = hashCode * 59 + this.LineNumber.GetHashCode(); + if (this.BenefitQuantity != null) + hashCode = hashCode * 59 + this.BenefitQuantity.GetHashCode(); + if (this.NtePrice != null) + hashCode = hashCode * 59 + this.NtePrice.GetHashCode(); + if (this.Status != null) + hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.WicPurchaseIndicator != null) + hashCode = hashCode * 59 + this.WicPurchaseIndicator.GetHashCode(); + if (this.SplitEwicTender != null) + hashCode = hashCode * 59 + this.SplitEwicTender.GetHashCode(); + if (this.RegularUnitPrice != null) + hashCode = hashCode * 59 + this.RegularUnitPrice.GetHashCode(); + if (this.ExtendedDiscountAmount != null) + hashCode = hashCode * 59 + this.ExtendedDiscountAmount.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.ItemDisplayPrice != null) + hashCode = hashCode * 59 + this.ItemDisplayPrice.GetHashCode(); + if (this.ItemVariance != null) + hashCode = hashCode * 59 + this.ItemVariance.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1492a7e475616252c3654e10222a95db691a73f3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EwicItemSubcategoryBenefitsRequest <p>Request object for the EWicItemSubCategoryBenefits.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String : Item Category Code</p>. + /// <p>String : Item Sub Category Code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest(string categoryCode = default(string), string subcategoryCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CategoryCode = categoryCode; + this.SubcategoryCode = subcategoryCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String : Item Category Code</p> + /// + /// <p>String : Item Category Code</p> + [DataMember(Name="categoryCode", EmitDefaultValue=false)] + public string CategoryCode { get; set; } + + /// + /// <p>String : Item Sub Category Code</p> + /// + /// <p>String : Item Sub Category Code</p> + [DataMember(Name="subcategoryCode", EmitDefaultValue=false)] + public string SubcategoryCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest {\n"); + sb.Append(" CategoryCode: ").Append(CategoryCode).Append("\n"); + sb.Append(" SubcategoryCode: ").Append(SubcategoryCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest input) + { + if (input == null) + return false; + + return + ( + this.CategoryCode == input.CategoryCode || + (this.CategoryCode != null && + this.CategoryCode.Equals(input.CategoryCode)) + ) && + ( + this.SubcategoryCode == input.SubcategoryCode || + (this.SubcategoryCode != null && + this.SubcategoryCode.Equals(input.SubcategoryCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CategoryCode != null) + hashCode = hashCode * 59 + this.CategoryCode.GetHashCode(); + if (this.SubcategoryCode != null) + hashCode = hashCode * 59 + this.SubcategoryCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..47e1a4fe86b0754d45318ba167d1f4a7e12fb252 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult.cs @@ -0,0 +1,447 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EwicItemSubcategoryBenefitsResult <p>Result object for the EwicItemSubCategoryLib.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>double: Benefits</p>. + /// uom. + /// <p>String : Item Sub Category Description</p>. + /// <p>String : eWIC category code</p>. + /// <p>String : eWIC sub-category code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult(double? benefits = default(double?), string uom = default(string), string subcategoryDesc = default(string), string category = default(string), string subcategory = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Benefits = benefits; + this.Uom = uom; + this.SubcategoryDesc = subcategoryDesc; + this.Category = category; + this.Subcategory = subcategory; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>double: Benefits</p> + /// + /// <p>double: Benefits</p> + [DataMember(Name="benefits", EmitDefaultValue=false)] + public double? Benefits { get; set; } + + /// + /// Gets or Sets Uom + /// + [DataMember(Name="uom", EmitDefaultValue=false)] + public string Uom { get; set; } + + /// + /// <p>String : Item Sub Category Description</p> + /// + /// <p>String : Item Sub Category Description</p> + [DataMember(Name="subcategoryDesc", EmitDefaultValue=false)] + public string SubcategoryDesc { get; set; } + + /// + /// <p>String : eWIC category code</p> + /// + /// <p>String : eWIC category code</p> + [DataMember(Name="category", EmitDefaultValue=false)] + public string Category { get; set; } + + /// + /// <p>String : eWIC sub-category code</p> + /// + /// <p>String : eWIC sub-category code</p> + [DataMember(Name="subcategory", EmitDefaultValue=false)] + public string Subcategory { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult {\n"); + sb.Append(" Benefits: ").Append(Benefits).Append("\n"); + sb.Append(" Uom: ").Append(Uom).Append("\n"); + sb.Append(" SubcategoryDesc: ").Append(SubcategoryDesc).Append("\n"); + sb.Append(" Category: ").Append(Category).Append("\n"); + sb.Append(" Subcategory: ").Append(Subcategory).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult input) + { + if (input == null) + return false; + + return + ( + this.Benefits == input.Benefits || + (this.Benefits != null && + this.Benefits.Equals(input.Benefits)) + ) && + ( + this.Uom == input.Uom || + (this.Uom != null && + this.Uom.Equals(input.Uom)) + ) && + ( + this.SubcategoryDesc == input.SubcategoryDesc || + (this.SubcategoryDesc != null && + this.SubcategoryDesc.Equals(input.SubcategoryDesc)) + ) && + ( + this.Category == input.Category || + (this.Category != null && + this.Category.Equals(input.Category)) + ) && + ( + this.Subcategory == input.Subcategory || + (this.Subcategory != null && + this.Subcategory.Equals(input.Subcategory)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Benefits != null) + hashCode = hashCode * 59 + this.Benefits.GetHashCode(); + if (this.Uom != null) + hashCode = hashCode * 59 + this.Uom.GetHashCode(); + if (this.SubcategoryDesc != null) + hashCode = hashCode * 59 + this.SubcategoryDesc.GetHashCode(); + if (this.Category != null) + hashCode = hashCode * 59 + this.Category.GetHashCode(); + if (this.Subcategory != null) + hashCode = hashCode * 59 + this.Subcategory.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..c443ff37cbca420fb69f7ee62ce2cb4889348a6d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult.cs @@ -0,0 +1,395 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EwicMatchingPrescriptionResult TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// ewicBasketresult. + /// failure. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult(List ewicBasketresult = default(List), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.EwicBasketresult = ewicBasketresult; + this.Failure = failure; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets EwicBasketresult + /// + [DataMember(Name="ewicBasketresult", EmitDefaultValue=false)] + public List EwicBasketresult { get; set; } + + /// + /// Gets or Sets Failure + /// + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult {\n"); + sb.Append(" EwicBasketresult: ").Append(EwicBasketresult).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult input) + { + if (input == null) + return false; + + return + ( + this.EwicBasketresult == input.EwicBasketresult || + this.EwicBasketresult != null && + this.EwicBasketresult.SequenceEqual(input.EwicBasketresult) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.EwicBasketresult != null) + hashCode = hashCode * 59 + this.EwicBasketresult.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartData.cs new file mode 100644 index 0000000000000000000000000000000000000000..05aaf4e946ec107c5697283f76a29efb12518d10 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartData.cs @@ -0,0 +1,563 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCartData <p>Representation of an external cart provided by an external order service</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCartExternalCartData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCartExternalCartData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The cart ID.</p> (required). + /// <p>The customer ID.</p>. + /// <p>The total item count of this cart.</p>. + /// <p>The count of items to pick up in a store.</p>. + /// <p>The count of items to be delivered.</p>. + /// <p>The total price of the whole cart, including discounts and delivery costs.</p>. + /// <p>The costs for delivery, usually calculated after the external service has all parameters, like delivery mode and delivery address.</p>. + /// <p>The total amount of discounts applied to the cart by the external service.</p>. + /// <p>A flag signaling if the cart has been calculated and is ready for order.</p>. + /// <p>The total price including taxes applied by the external service</p>. + /// <p>The line items of the cart.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCartExternalCartData(string cartId = default(string), string customerId = default(string), int? totalItems = default(int?), int? pickupItems = default(int?), int? deliveryItems = default(int?), ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalPrice = default(ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice), ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice deliveryCost = default(ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice), ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalDiscounts = default(ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice), bool? orderCalculated = default(bool?), ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalPriceWithTax = default(ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice), List entries = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "cartId" is required (not null) + if (cartId == null) + { + throw new InvalidDataException("cartId is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartData and cannot be null"); + } + else + { + this.CartId = cartId; + } + this.CustomerId = customerId; + this.TotalItems = totalItems; + this.PickupItems = pickupItems; + this.DeliveryItems = deliveryItems; + this.TotalPrice = totalPrice; + this.DeliveryCost = deliveryCost; + this.TotalDiscounts = totalDiscounts; + this.OrderCalculated = orderCalculated; + this.TotalPriceWithTax = totalPriceWithTax; + this.Entries = entries; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The cart ID.</p> + /// + /// <p>The cart ID.</p> + [DataMember(Name="cartId", EmitDefaultValue=false)] + public string CartId { get; set; } + + /// + /// <p>The customer ID.</p> + /// + /// <p>The customer ID.</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The total item count of this cart.</p> + /// + /// <p>The total item count of this cart.</p> + [DataMember(Name="totalItems", EmitDefaultValue=false)] + public int? TotalItems { get; set; } + + /// + /// <p>The count of items to pick up in a store.</p> + /// + /// <p>The count of items to pick up in a store.</p> + [DataMember(Name="pickupItems", EmitDefaultValue=false)] + public int? PickupItems { get; set; } + + /// + /// <p>The count of items to be delivered.</p> + /// + /// <p>The count of items to be delivered.</p> + [DataMember(Name="deliveryItems", EmitDefaultValue=false)] + public int? DeliveryItems { get; set; } + + /// + /// <p>The total price of the whole cart, including discounts and delivery costs.</p> + /// + /// <p>The total price of the whole cart, including discounts and delivery costs.</p> + [DataMember(Name="totalPrice", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice TotalPrice { get; set; } + + /// + /// <p>The costs for delivery, usually calculated after the external service has all parameters, like delivery mode and delivery address.</p> + /// + /// <p>The costs for delivery, usually calculated after the external service has all parameters, like delivery mode and delivery address.</p> + [DataMember(Name="deliveryCost", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice DeliveryCost { get; set; } + + /// + /// <p>The total amount of discounts applied to the cart by the external service.</p> + /// + /// <p>The total amount of discounts applied to the cart by the external service.</p> + [DataMember(Name="totalDiscounts", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice TotalDiscounts { get; set; } + + /// + /// <p>A flag signaling if the cart has been calculated and is ready for order.</p> + /// + /// <p>A flag signaling if the cart has been calculated and is ready for order.</p> + [DataMember(Name="orderCalculated", EmitDefaultValue=false)] + public bool? OrderCalculated { get; set; } + + /// + /// <p>The total price including taxes applied by the external service</p> + /// + /// <p>The total price including taxes applied by the external service</p> + [DataMember(Name="totalPriceWithTax", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice TotalPriceWithTax { get; set; } + + /// + /// <p>The line items of the cart.</p> + /// + /// <p>The line items of the cart.</p> + [DataMember(Name="entries", EmitDefaultValue=false)] + public List Entries { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCartExternalCartData {\n"); + sb.Append(" CartId: ").Append(CartId).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" TotalItems: ").Append(TotalItems).Append("\n"); + sb.Append(" PickupItems: ").Append(PickupItems).Append("\n"); + sb.Append(" DeliveryItems: ").Append(DeliveryItems).Append("\n"); + sb.Append(" TotalPrice: ").Append(TotalPrice).Append("\n"); + sb.Append(" DeliveryCost: ").Append(DeliveryCost).Append("\n"); + sb.Append(" TotalDiscounts: ").Append(TotalDiscounts).Append("\n"); + sb.Append(" OrderCalculated: ").Append(OrderCalculated).Append("\n"); + sb.Append(" TotalPriceWithTax: ").Append(TotalPriceWithTax).Append("\n"); + sb.Append(" Entries: ").Append(Entries).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCartExternalCartData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCartExternalCartData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCartExternalCartData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCartExternalCartData input) + { + if (input == null) + return false; + + return + ( + this.CartId == input.CartId || + (this.CartId != null && + this.CartId.Equals(input.CartId)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.TotalItems == input.TotalItems || + (this.TotalItems != null && + this.TotalItems.Equals(input.TotalItems)) + ) && + ( + this.PickupItems == input.PickupItems || + (this.PickupItems != null && + this.PickupItems.Equals(input.PickupItems)) + ) && + ( + this.DeliveryItems == input.DeliveryItems || + (this.DeliveryItems != null && + this.DeliveryItems.Equals(input.DeliveryItems)) + ) && + ( + this.TotalPrice == input.TotalPrice || + (this.TotalPrice != null && + this.TotalPrice.Equals(input.TotalPrice)) + ) && + ( + this.DeliveryCost == input.DeliveryCost || + (this.DeliveryCost != null && + this.DeliveryCost.Equals(input.DeliveryCost)) + ) && + ( + this.TotalDiscounts == input.TotalDiscounts || + (this.TotalDiscounts != null && + this.TotalDiscounts.Equals(input.TotalDiscounts)) + ) && + ( + this.OrderCalculated == input.OrderCalculated || + (this.OrderCalculated != null && + this.OrderCalculated.Equals(input.OrderCalculated)) + ) && + ( + this.TotalPriceWithTax == input.TotalPriceWithTax || + (this.TotalPriceWithTax != null && + this.TotalPriceWithTax.Equals(input.TotalPriceWithTax)) + ) && + ( + this.Entries == input.Entries || + this.Entries != null && + this.Entries.SequenceEqual(input.Entries) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CartId != null) + hashCode = hashCode * 59 + this.CartId.GetHashCode(); + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.TotalItems != null) + hashCode = hashCode * 59 + this.TotalItems.GetHashCode(); + if (this.PickupItems != null) + hashCode = hashCode * 59 + this.PickupItems.GetHashCode(); + if (this.DeliveryItems != null) + hashCode = hashCode * 59 + this.DeliveryItems.GetHashCode(); + if (this.TotalPrice != null) + hashCode = hashCode * 59 + this.TotalPrice.GetHashCode(); + if (this.DeliveryCost != null) + hashCode = hashCode * 59 + this.DeliveryCost.GetHashCode(); + if (this.TotalDiscounts != null) + hashCode = hashCode * 59 + this.TotalDiscounts.GetHashCode(); + if (this.OrderCalculated != null) + hashCode = hashCode * 59 + this.OrderCalculated.GetHashCode(); + if (this.TotalPriceWithTax != null) + hashCode = hashCode * 59 + this.TotalPriceWithTax.GetHashCode(); + if (this.Entries != null) + hashCode = hashCode * 59 + this.Entries.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..152348f6555e85863512ea0f3130e250a4a76a95 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCartDataEntry <p>A single line item entry in the external cart.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The reference number of the entry (usually an index number)</p> (required). + /// <p>The product occupying this cart entry</p> (required). + /// <p>The quantity of the product in the cart entry</p> (required). + /// <p>The total price of this cart entry</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry(int? entryNumber = default(int?), ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct product = default(ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct), int? quantity = default(int?), ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalPrice = default(ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "entryNumber" is required (not null) + if (entryNumber == null) + { + throw new InvalidDataException("entryNumber is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry and cannot be null"); + } + else + { + this.EntryNumber = entryNumber; + } + // to ensure "product" is required (not null) + if (product == null) + { + throw new InvalidDataException("product is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry and cannot be null"); + } + else + { + this.Product = product; + } + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry and cannot be null"); + } + else + { + this.Quantity = quantity; + } + // to ensure "totalPrice" is required (not null) + if (totalPrice == null) + { + throw new InvalidDataException("totalPrice is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry and cannot be null"); + } + else + { + this.TotalPrice = totalPrice; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The reference number of the entry (usually an index number)</p> + /// + /// <p>The reference number of the entry (usually an index number)</p> + [DataMember(Name="entryNumber", EmitDefaultValue=false)] + public int? EntryNumber { get; set; } + + /// + /// <p>The product occupying this cart entry</p> + /// + /// <p>The product occupying this cart entry</p> + [DataMember(Name="product", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct Product { get; set; } + + /// + /// <p>The quantity of the product in the cart entry</p> + /// + /// <p>The quantity of the product in the cart entry</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The total price of this cart entry</p> + /// + /// <p>The total price of this cart entry</p> + [DataMember(Name="totalPrice", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice TotalPrice { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry {\n"); + sb.Append(" EntryNumber: ").Append(EntryNumber).Append("\n"); + sb.Append(" Product: ").Append(Product).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" TotalPrice: ").Append(TotalPrice).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry input) + { + if (input == null) + return false; + + return + ( + this.EntryNumber == input.EntryNumber || + (this.EntryNumber != null && + this.EntryNumber.Equals(input.EntryNumber)) + ) && + ( + this.Product == input.Product || + (this.Product != null && + this.Product.Equals(input.Product)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.TotalPrice == input.TotalPrice || + (this.TotalPrice != null && + this.TotalPrice.Equals(input.TotalPrice)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.EntryNumber != null) + hashCode = hashCode * 59 + this.EntryNumber.GetHashCode(); + if (this.Product != null) + hashCode = hashCode * 59 + this.Product.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.TotalPrice != null) + hashCode = hashCode * 59 + this.TotalPrice.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..e4cc44c7a938c27c2261aa6c89254b5f90349495 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCartDataPrice <p>The pricing information type used in the ExternalCart</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>the price currency expressed as ISO code</p> (required). + /// <p>the price value</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice(string currencyIso = default(string), double? value = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "currencyIso" is required (not null) + if (currencyIso == null) + { + throw new InvalidDataException("currencyIso is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice and cannot be null"); + } + else + { + this.CurrencyIso = currencyIso; + } + // to ensure "value" is required (not null) + if (value == null) + { + throw new InvalidDataException("value is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice and cannot be null"); + } + else + { + this.Value = value; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>the price currency expressed as ISO code</p> + /// + /// <p>the price currency expressed as ISO code</p> + [DataMember(Name="currencyIso", EmitDefaultValue=false)] + public string CurrencyIso { get; set; } + + /// + /// <p>the price value</p> + /// + /// <p>the price value</p> + [DataMember(Name="value", EmitDefaultValue=false)] + public double? Value { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice {\n"); + sb.Append(" CurrencyIso: ").Append(CurrencyIso).Append("\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice input) + { + if (input == null) + return false; + + return + ( + this.CurrencyIso == input.CurrencyIso || + (this.CurrencyIso != null && + this.CurrencyIso.Equals(input.CurrencyIso)) + ) && + ( + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CurrencyIso != null) + hashCode = hashCode * 59 + this.CurrencyIso.GetHashCode(); + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct.cs new file mode 100644 index 0000000000000000000000000000000000000000..ab2e47611a04bfb90478a4004965c24a11829cb4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct.cs @@ -0,0 +1,469 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCartDataProduct <p>A single product representation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The product identifier</p> (required). + /// <p>The name of the product</p> (required). + /// <p>A flag signaling if product is currently purchasable or not</p>. + /// <p>The stock information, if available.</p>. + /// <p>A deeplink url to the product on the external service</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct(string code = default(string), string name = default(string), bool? purchasable = default(bool?), int? stock = default(int?), string url = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "code" is required (not null) + if (code == null) + { + throw new InvalidDataException("code is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct and cannot be null"); + } + else + { + this.Code = code; + } + // to ensure "name" is required (not null) + if (name == null) + { + throw new InvalidDataException("name is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct and cannot be null"); + } + else + { + this.Name = name; + } + this.Purchasable = purchasable; + this.Stock = stock; + this.Url = url; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The product identifier</p> + /// + /// <p>The product identifier</p> + [DataMember(Name="code", EmitDefaultValue=false)] + public string Code { get; set; } + + /// + /// <p>The name of the product</p> + /// + /// <p>The name of the product</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>A flag signaling if product is currently purchasable or not</p> + /// + /// <p>A flag signaling if product is currently purchasable or not</p> + [DataMember(Name="purchasable", EmitDefaultValue=false)] + public bool? Purchasable { get; set; } + + /// + /// <p>The stock information, if available.</p> + /// + /// <p>The stock information, if available.</p> + [DataMember(Name="stock", EmitDefaultValue=false)] + public int? Stock { get; set; } + + /// + /// <p>A deeplink url to the product on the external service</p> + /// + /// <p>A deeplink url to the product on the external service</p> + [DataMember(Name="url", EmitDefaultValue=false)] + public string Url { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct {\n"); + sb.Append(" Code: ").Append(Code).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Purchasable: ").Append(Purchasable).Append("\n"); + sb.Append(" Stock: ").Append(Stock).Append("\n"); + sb.Append(" Url: ").Append(Url).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct input) + { + if (input == null) + return false; + + return + ( + this.Code == input.Code || + (this.Code != null && + this.Code.Equals(input.Code)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Purchasable == input.Purchasable || + (this.Purchasable != null && + this.Purchasable.Equals(input.Purchasable)) + ) && + ( + this.Stock == input.Stock || + (this.Stock != null && + this.Stock.Equals(input.Stock)) + ) && + ( + this.Url == input.Url || + (this.Url != null && + this.Url.Equals(input.Url)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Code != null) + hashCode = hashCode * 59 + this.Code.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Purchasable != null) + hashCode = hashCode * 59 + this.Purchasable.GetHashCode(); + if (this.Stock != null) + hashCode = hashCode * 59 + this.Stock.GetHashCode(); + if (this.Url != null) + hashCode = hashCode * 59 + this.Url.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..870643c71584bee1bd7ba5e44dc79d203305554b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest.cs @@ -0,0 +1,485 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCartLineItemRequest <p>Add a lineitem to an external cart in external service</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The cart id.</p> (required). + /// <p>The customer id.</p> (required). + /// <p>The item id.</p> (required). + /// <p>The quantity amount.</p> (required). + /// <p>Optional store identifier for pickups.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest(string cartID = default(string), string customerID = default(string), string itemID = default(string), int? quantity = default(int?), string pickupStore = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "cartID" is required (not null) + if (cartID == null) + { + throw new InvalidDataException("cartID is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest and cannot be null"); + } + else + { + this.CartID = cartID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest and cannot be null"); + } + else + { + this.Quantity = quantity; + } + this.PickupStore = pickupStore; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The cart id.</p> + /// + /// <p>The cart id.</p> + [DataMember(Name="cartID", EmitDefaultValue=false)] + public string CartID { get; set; } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The quantity amount.</p> + /// + /// <p>The quantity amount.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>Optional store identifier for pickups.</p> + /// + /// <p>Optional store identifier for pickups.</p> + [DataMember(Name="pickupStore", EmitDefaultValue=false)] + public string PickupStore { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest {\n"); + sb.Append(" CartID: ").Append(CartID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" PickupStore: ").Append(PickupStore).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.CartID == input.CartID || + (this.CartID != null && + this.CartID.Equals(input.CartID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.PickupStore == input.PickupStore || + (this.PickupStore != null && + this.PickupStore.Equals(input.PickupStore)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CartID != null) + hashCode = hashCode * 59 + this.CartID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.PickupStore != null) + hashCode = hashCode * 59 + this.PickupStore.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a04dd9eed6bc9748b3f111ecbd62ee9cd2a28f50 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCartExternalCartRequest.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCartRequest <p>Lookup request object for external cart information</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCartExternalCartRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCartExternalCartRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The cart id.</p> (required). + /// <p>The customer id.</p> (required). + /// <p>The anonymous cart id.</p><br /><pre> Note: some external services use different cart id schemes. See implementation for details<br /></pre> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCartExternalCartRequest(string cartID = default(string), string customerID = default(string), string anonymousCartGUID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "cartID" is required (not null) + if (cartID == null) + { + throw new InvalidDataException("cartID is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartRequest and cannot be null"); + } + else + { + this.CartID = cartID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "anonymousCartGUID" is required (not null) + if (anonymousCartGUID == null) + { + throw new InvalidDataException("anonymousCartGUID is a required property for ComGkSoftwarePosApiServiceExternalCartExternalCartRequest and cannot be null"); + } + else + { + this.AnonymousCartGUID = anonymousCartGUID; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The cart id.</p> + /// + /// <p>The cart id.</p> + [DataMember(Name="cartID", EmitDefaultValue=false)] + public string CartID { get; set; } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>The anonymous cart id.</p><br /><pre> Note: some external services use different cart id schemes. See implementation for details<br /></pre> + /// + /// <p>The anonymous cart id.</p><br /><pre> Note: some external services use different cart id schemes. See implementation for details<br /></pre> + [DataMember(Name="anonymousCartGUID", EmitDefaultValue=false)] + public string AnonymousCartGUID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCartExternalCartRequest {\n"); + sb.Append(" CartID: ").Append(CartID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AnonymousCartGUID: ").Append(AnonymousCartGUID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCartExternalCartRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCartExternalCartRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCartExternalCartRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCartExternalCartRequest input) + { + if (input == null) + return false; + + return + ( + this.CartID == input.CartID || + (this.CartID != null && + this.CartID.Equals(input.CartID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AnonymousCartGUID == input.AnonymousCartGUID || + (this.AnonymousCartGUID != null && + this.AnonymousCartGUID.Equals(input.AnonymousCartGUID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CartID != null) + hashCode = hashCode * 59 + this.CartID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AnonymousCartGUID != null) + hashCode = hashCode * 59 + this.AnonymousCartGUID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d92609a0a2c3a7db771729e491d406732955135a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest.cs @@ -0,0 +1,543 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCustomerAddressRequest <p>Create a new customer address in external repository</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer id.</p> (required). + /// <p>Name of city. </p> (required). + /// <p>Postal code.</p> (required). + /// <p>The ISO country code.</p> (required). + /// <p>The address line 1</p> (required). + /// <p>The address line 2</p> (required). + /// <p>Name of territory</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest(string customerID = default(string), string city = default(string), string postalCode = default(string), string isoCountryCode = default(string), string addressLine1 = default(string), string addressLine2 = default(string), string territory = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "city" is required (not null) + if (city == null) + { + throw new InvalidDataException("city is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest and cannot be null"); + } + else + { + this.City = city; + } + // to ensure "postalCode" is required (not null) + if (postalCode == null) + { + throw new InvalidDataException("postalCode is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest and cannot be null"); + } + else + { + this.PostalCode = postalCode; + } + // to ensure "isoCountryCode" is required (not null) + if (isoCountryCode == null) + { + throw new InvalidDataException("isoCountryCode is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest and cannot be null"); + } + else + { + this.IsoCountryCode = isoCountryCode; + } + // to ensure "addressLine1" is required (not null) + if (addressLine1 == null) + { + throw new InvalidDataException("addressLine1 is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest and cannot be null"); + } + else + { + this.AddressLine1 = addressLine1; + } + // to ensure "addressLine2" is required (not null) + if (addressLine2 == null) + { + throw new InvalidDataException("addressLine2 is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest and cannot be null"); + } + else + { + this.AddressLine2 = addressLine2; + } + // to ensure "territory" is required (not null) + if (territory == null) + { + throw new InvalidDataException("territory is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest and cannot be null"); + } + else + { + this.Territory = territory; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>Name of city. </p> + /// + /// <p>Name of city. </p> + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// <p>Postal code.</p> + /// + /// <p>Postal code.</p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// <p>The ISO country code.</p> + /// + /// <p>The ISO country code.</p> + [DataMember(Name="isoCountryCode", EmitDefaultValue=false)] + public string IsoCountryCode { get; set; } + + /// + /// <p>The address line 1</p> + /// + /// <p>The address line 1</p> + [DataMember(Name="addressLine1", EmitDefaultValue=false)] + public string AddressLine1 { get; set; } + + /// + /// <p>The address line 2</p> + /// + /// <p>The address line 2</p> + [DataMember(Name="addressLine2", EmitDefaultValue=false)] + public string AddressLine2 { get; set; } + + /// + /// <p>Name of territory</p> + /// + /// <p>Name of territory</p> + [DataMember(Name="territory", EmitDefaultValue=false)] + public string Territory { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" IsoCountryCode: ").Append(IsoCountryCode).Append("\n"); + sb.Append(" AddressLine1: ").Append(AddressLine1).Append("\n"); + sb.Append(" AddressLine2: ").Append(AddressLine2).Append("\n"); + sb.Append(" Territory: ").Append(Territory).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.IsoCountryCode == input.IsoCountryCode || + (this.IsoCountryCode != null && + this.IsoCountryCode.Equals(input.IsoCountryCode)) + ) && + ( + this.AddressLine1 == input.AddressLine1 || + (this.AddressLine1 != null && + this.AddressLine1.Equals(input.AddressLine1)) + ) && + ( + this.AddressLine2 == input.AddressLine2 || + (this.AddressLine2 != null && + this.AddressLine2.Equals(input.AddressLine2)) + ) && + ( + this.Territory == input.Territory || + (this.Territory != null && + this.Territory.Equals(input.Territory)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.IsoCountryCode != null) + hashCode = hashCode * 59 + this.IsoCountryCode.GetHashCode(); + if (this.AddressLine1 != null) + hashCode = hashCode * 59 + this.AddressLine1.GetHashCode(); + if (this.AddressLine2 != null) + hashCode = hashCode * 59 + this.AddressLine2.GetHashCode(); + if (this.Territory != null) + hashCode = hashCode * 59 + this.Territory.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1ee4e9e2bdde4c36d90e3d95e50926c5b88d14b1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalCustomerDetailsRequest <p>Lookup request object for external customer information</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer id.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest(string customerID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..02fe083cfabbd8a27fe251e26ed70d45f5b7d234 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest.cs @@ -0,0 +1,460 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalItemInformationRequest <p>Lookup request object for external item information</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The item id.</p> (required). + /// <p>The language code used for I18N.</p> (required). + /// <p>The currency code.</p> (required). + /// <p>Specifies whether image urls should be resolved.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest(string itemID = default(string), string language = default(string), string currency = default(string), bool? getImages = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "language" is required (not null) + if (language == null) + { + throw new InvalidDataException("language is a required property for ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest and cannot be null"); + } + else + { + this.Language = language; + } + // to ensure "currency" is required (not null) + if (currency == null) + { + throw new InvalidDataException("currency is a required property for ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest and cannot be null"); + } + else + { + this.Currency = currency; + } + this.GetImages = getImages; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + [DataMember(Name="ItemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The language code used for I18N.</p> + /// + /// <p>The language code used for I18N.</p> + [DataMember(Name="language", EmitDefaultValue=false)] + public string Language { get; set; } + + /// + /// <p>The currency code.</p> + /// + /// <p>The currency code.</p> + [DataMember(Name="currency", EmitDefaultValue=false)] + public string Currency { get; set; } + + /// + /// <p>Specifies whether image urls should be resolved.</p> + /// + /// <p>Specifies whether image urls should be resolved.</p> + [DataMember(Name="getImages", EmitDefaultValue=false)] + public bool? GetImages { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" Language: ").Append(Language).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" GetImages: ").Append(GetImages).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.Language == input.Language || + (this.Language != null && + this.Language.Equals(input.Language)) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ) && + ( + this.GetImages == input.GetImages || + (this.GetImages != null && + this.GetImages.Equals(input.GetImages)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.Language != null) + hashCode = hashCode * 59 + this.Language.GetHashCode(); + if (this.Currency != null) + hashCode = hashCode * 59 + this.Currency.GetHashCode(); + if (this.GetImages != null) + hashCode = hashCode * 59 + this.GetImages.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3f21ee6605f064f07788b1d17327b84df538e5cc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest.cs @@ -0,0 +1,477 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalItemSearchRequest <p>Search request object for external item information</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The query used for item search.</p> (required). + /// <p>describe language</p> (required). + /// <p>The currency code.</p> (required). + /// <p>Specifies the max. record count to return.</p>. + /// <p>Specifies whether image urls should be resolved.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest(string query = default(string), string language = default(string), string currency = default(string), int? recordCount = default(int?), bool? getImages = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "query" is required (not null) + if (query == null) + { + throw new InvalidDataException("query is a required property for ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest and cannot be null"); + } + else + { + this.Query = query; + } + // to ensure "language" is required (not null) + if (language == null) + { + throw new InvalidDataException("language is a required property for ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest and cannot be null"); + } + else + { + this.Language = language; + } + // to ensure "currency" is required (not null) + if (currency == null) + { + throw new InvalidDataException("currency is a required property for ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest and cannot be null"); + } + else + { + this.Currency = currency; + } + this.RecordCount = recordCount; + this.GetImages = getImages; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The query used for item search.</p> + /// + /// <p>The query used for item search.</p> + [DataMember(Name="query", EmitDefaultValue=false)] + public string Query { get; set; } + + /// + /// <p>describe language</p> + /// + /// <p>describe language</p> + [DataMember(Name="language", EmitDefaultValue=false)] + public string Language { get; set; } + + /// + /// <p>The currency code.</p> + /// + /// <p>The currency code.</p> + [DataMember(Name="currency", EmitDefaultValue=false)] + public string Currency { get; set; } + + /// + /// <p>Specifies the max. record count to return.</p> + /// + /// <p>Specifies the max. record count to return.</p> + [DataMember(Name="recordCount", EmitDefaultValue=false)] + public int? RecordCount { get; set; } + + /// + /// <p>Specifies whether image urls should be resolved.</p> + /// + /// <p>Specifies whether image urls should be resolved.</p> + [DataMember(Name="getImages", EmitDefaultValue=false)] + public bool? GetImages { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest {\n"); + sb.Append(" Query: ").Append(Query).Append("\n"); + sb.Append(" Language: ").Append(Language).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" RecordCount: ").Append(RecordCount).Append("\n"); + sb.Append(" GetImages: ").Append(GetImages).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest input) + { + if (input == null) + return false; + + return + ( + this.Query == input.Query || + (this.Query != null && + this.Query.Equals(input.Query)) + ) && + ( + this.Language == input.Language || + (this.Language != null && + this.Language.Equals(input.Language)) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ) && + ( + this.RecordCount == input.RecordCount || + (this.RecordCount != null && + this.RecordCount.Equals(input.RecordCount)) + ) && + ( + this.GetImages == input.GetImages || + (this.GetImages != null && + this.GetImages.Equals(input.GetImages)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Query != null) + hashCode = hashCode * 59 + this.Query.GetHashCode(); + if (this.Language != null) + hashCode = hashCode * 59 + this.Language.GetHashCode(); + if (this.Currency != null) + hashCode = hashCode * 59 + this.Currency.GetHashCode(); + if (this.RecordCount != null) + hashCode = hashCode * 59 + this.RecordCount.GetHashCode(); + if (this.GetImages != null) + hashCode = hashCode * 59 + this.GetImages.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderAddress.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..cb9cbe159841be804759b3f0f447838ab31f1ba8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderAddress.cs @@ -0,0 +1,576 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Address <p>Address object for deliveries and invoices used by the external order service</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalOrderAddress : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalOrderAddress() { } + /// + /// Initializes a new instance of the class. + /// + /// title (required). + /// <p>First name of the customer</p> (required). + /// <p>Last name of the customer</p> (required). + /// <p>Address line 1</p> (required). + /// <p>Address line 2</p>. + /// <p>The city</p> (required). + /// <p>The zipcode</p> (required). + /// <p>The country to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> (required). + /// <p>The region to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalOrderAddress(string title = default(string), string firstName = default(string), string lastName = default(string), string line1 = default(string), string line2 = default(string), string town = default(string), string postalCode = default(string), string country = default(string), string region = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "title" is required (not null) + if (title == null) + { + throw new InvalidDataException("title is a required property for ComGkSoftwarePosApiServiceExternalOrderAddress and cannot be null"); + } + else + { + this.Title = title; + } + // to ensure "firstName" is required (not null) + if (firstName == null) + { + throw new InvalidDataException("firstName is a required property for ComGkSoftwarePosApiServiceExternalOrderAddress and cannot be null"); + } + else + { + this.FirstName = firstName; + } + // to ensure "lastName" is required (not null) + if (lastName == null) + { + throw new InvalidDataException("lastName is a required property for ComGkSoftwarePosApiServiceExternalOrderAddress and cannot be null"); + } + else + { + this.LastName = lastName; + } + // to ensure "line1" is required (not null) + if (line1 == null) + { + throw new InvalidDataException("line1 is a required property for ComGkSoftwarePosApiServiceExternalOrderAddress and cannot be null"); + } + else + { + this.Line1 = line1; + } + // to ensure "town" is required (not null) + if (town == null) + { + throw new InvalidDataException("town is a required property for ComGkSoftwarePosApiServiceExternalOrderAddress and cannot be null"); + } + else + { + this.Town = town; + } + // to ensure "postalCode" is required (not null) + if (postalCode == null) + { + throw new InvalidDataException("postalCode is a required property for ComGkSoftwarePosApiServiceExternalOrderAddress and cannot be null"); + } + else + { + this.PostalCode = postalCode; + } + // to ensure "country" is required (not null) + if (country == null) + { + throw new InvalidDataException("country is a required property for ComGkSoftwarePosApiServiceExternalOrderAddress and cannot be null"); + } + else + { + this.Country = country; + } + this.Line2 = line2; + this.Region = region; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Title + /// + [DataMember(Name="title", EmitDefaultValue=false)] + public string Title { get; set; } + + /// + /// <p>First name of the customer</p> + /// + /// <p>First name of the customer</p> + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// <p>Last name of the customer</p> + /// + /// <p>Last name of the customer</p> + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// <p>Address line 1</p> + /// + /// <p>Address line 1</p> + [DataMember(Name="line1", EmitDefaultValue=false)] + public string Line1 { get; set; } + + /// + /// <p>Address line 2</p> + /// + /// <p>Address line 2</p> + [DataMember(Name="line2", EmitDefaultValue=false)] + public string Line2 { get; set; } + + /// + /// <p>The city</p> + /// + /// <p>The city</p> + [DataMember(Name="town", EmitDefaultValue=false)] + public string Town { get; set; } + + /// + /// <p>The zipcode</p> + /// + /// <p>The zipcode</p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// <p>The country to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + /// + /// <p>The country to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// <p>The region to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + /// + /// <p>The region to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + [DataMember(Name="region", EmitDefaultValue=false)] + public string Region { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalOrderAddress {\n"); + sb.Append(" Title: ").Append(Title).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" Line1: ").Append(Line1).Append("\n"); + sb.Append(" Line2: ").Append(Line2).Append("\n"); + sb.Append(" Town: ").Append(Town).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" Region: ").Append(Region).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalOrderAddress); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalOrderAddress instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalOrderAddress to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalOrderAddress input) + { + if (input == null) + return false; + + return + ( + this.Title == input.Title || + (this.Title != null && + this.Title.Equals(input.Title)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.Line1 == input.Line1 || + (this.Line1 != null && + this.Line1.Equals(input.Line1)) + ) && + ( + this.Line2 == input.Line2 || + (this.Line2 != null && + this.Line2.Equals(input.Line2)) + ) && + ( + this.Town == input.Town || + (this.Town != null && + this.Town.Equals(input.Town)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) + ) && + ( + this.Region == input.Region || + (this.Region != null && + this.Region.Equals(input.Region)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Title != null) + hashCode = hashCode * 59 + this.Title.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.Line1 != null) + hashCode = hashCode * 59 + this.Line1.GetHashCode(); + if (this.Line2 != null) + hashCode = hashCode * 59 + this.Line2.GetHashCode(); + if (this.Town != null) + hashCode = hashCode * 59 + this.Town.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.Country != null) + hashCode = hashCode * 59 + this.Country.GetHashCode(); + if (this.Region != null) + hashCode = hashCode * 59 + this.Region.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3926766325c87c76bc65a2e21c22c6727791a278 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest.cs @@ -0,0 +1,602 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DeliveryAddressRequest <p>Request object for creating a delivery address on the external order service</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customers' ID</p> (required). + /// <p>The cart ID to set the address to</p> (required). + /// <p>First name of the customer</p> (required). + /// <p>Last name of the customer</p> (required). + /// <p>Address line 1</p> (required). + /// <p>Address line 2</p>. + /// <p>The city</p> (required). + /// <p>The zipcode</p> (required). + /// <p>The country to deliver to. Check the implementation for valid options.</p> (required). + /// <p>The region to deliver to. Check the implementation for valid options.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest(string customerID = default(string), string cartID = default(string), string firstName = default(string), string lastName = default(string), string line1 = default(string), string line2 = default(string), string town = default(string), string postalCode = default(string), string country = default(string), string region = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "cartID" is required (not null) + if (cartID == null) + { + throw new InvalidDataException("cartID is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.CartID = cartID; + } + // to ensure "firstName" is required (not null) + if (firstName == null) + { + throw new InvalidDataException("firstName is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.FirstName = firstName; + } + // to ensure "lastName" is required (not null) + if (lastName == null) + { + throw new InvalidDataException("lastName is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.LastName = lastName; + } + // to ensure "line1" is required (not null) + if (line1 == null) + { + throw new InvalidDataException("line1 is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.Line1 = line1; + } + // to ensure "town" is required (not null) + if (town == null) + { + throw new InvalidDataException("town is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.Town = town; + } + // to ensure "postalCode" is required (not null) + if (postalCode == null) + { + throw new InvalidDataException("postalCode is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.PostalCode = postalCode; + } + // to ensure "country" is required (not null) + if (country == null) + { + throw new InvalidDataException("country is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest and cannot be null"); + } + else + { + this.Country = country; + } + this.Line2 = line2; + this.Region = region; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customers' ID</p> + /// + /// <p>The customers' ID</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>The cart ID to set the address to</p> + /// + /// <p>The cart ID to set the address to</p> + [DataMember(Name="cartID", EmitDefaultValue=false)] + public string CartID { get; set; } + + /// + /// <p>First name of the customer</p> + /// + /// <p>First name of the customer</p> + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// <p>Last name of the customer</p> + /// + /// <p>Last name of the customer</p> + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// <p>Address line 1</p> + /// + /// <p>Address line 1</p> + [DataMember(Name="line1", EmitDefaultValue=false)] + public string Line1 { get; set; } + + /// + /// <p>Address line 2</p> + /// + /// <p>Address line 2</p> + [DataMember(Name="line2", EmitDefaultValue=false)] + public string Line2 { get; set; } + + /// + /// <p>The city</p> + /// + /// <p>The city</p> + [DataMember(Name="town", EmitDefaultValue=false)] + public string Town { get; set; } + + /// + /// <p>The zipcode</p> + /// + /// <p>The zipcode</p> + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// <p>The country to deliver to. Check the implementation for valid options.</p> + /// + /// <p>The country to deliver to. Check the implementation for valid options.</p> + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// <p>The region to deliver to. Check the implementation for valid options.</p> + /// + /// <p>The region to deliver to. Check the implementation for valid options.</p> + [DataMember(Name="region", EmitDefaultValue=false)] + public string Region { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" CartID: ").Append(CartID).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" Line1: ").Append(Line1).Append("\n"); + sb.Append(" Line2: ").Append(Line2).Append("\n"); + sb.Append(" Town: ").Append(Town).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" Region: ").Append(Region).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.CartID == input.CartID || + (this.CartID != null && + this.CartID.Equals(input.CartID)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.Line1 == input.Line1 || + (this.Line1 != null && + this.Line1.Equals(input.Line1)) + ) && + ( + this.Line2 == input.Line2 || + (this.Line2 != null && + this.Line2.Equals(input.Line2)) + ) && + ( + this.Town == input.Town || + (this.Town != null && + this.Town.Equals(input.Town)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) + ) && + ( + this.Region == input.Region || + (this.Region != null && + this.Region.Equals(input.Region)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.CartID != null) + hashCode = hashCode * 59 + this.CartID.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.Line1 != null) + hashCode = hashCode * 59 + this.Line1.GetHashCode(); + if (this.Line2 != null) + hashCode = hashCode * 59 + this.Line2.GetHashCode(); + if (this.Town != null) + hashCode = hashCode * 59 + this.Town.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.Country != null) + hashCode = hashCode * 59 + this.Country.GetHashCode(); + if (this.Region != null) + hashCode = hashCode * 59 + this.Region.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bbc19ec4cbedb80a16ed840206cfcb830b6e93e0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DeliveryModeRequest <p>Request object for setting the delivery mode on the external order service</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customers' ID</p> (required). + /// <p>The cart ID to set the address to</p> (required). + /// <p>The mode how the order is delivered.</p><br /><pre> Check the implementation for valid options.<br /></pre> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest(string customerID = default(string), string cartID = default(string), string mode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "cartID" is required (not null) + if (cartID == null) + { + throw new InvalidDataException("cartID is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest and cannot be null"); + } + else + { + this.CartID = cartID; + } + // to ensure "mode" is required (not null) + if (mode == null) + { + throw new InvalidDataException("mode is a required property for ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest and cannot be null"); + } + else + { + this.Mode = mode; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customers' ID</p> + /// + /// <p>The customers' ID</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>The cart ID to set the address to</p> + /// + /// <p>The cart ID to set the address to</p> + [DataMember(Name="cartID", EmitDefaultValue=false)] + public string CartID { get; set; } + + /// + /// <p>The mode how the order is delivered.</p><br /><pre> Check the implementation for valid options.<br /></pre> + /// + /// <p>The mode how the order is delivered.</p><br /><pre> Check the implementation for valid options.<br /></pre> + [DataMember(Name="mode", EmitDefaultValue=false)] + public string Mode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" CartID: ").Append(CartID).Append("\n"); + sb.Append(" Mode: ").Append(Mode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.CartID == input.CartID || + (this.CartID != null && + this.CartID.Equals(input.CartID)) + ) && + ( + this.Mode == input.Mode || + (this.Mode != null && + this.Mode.Equals(input.Mode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.CartID != null) + hashCode = hashCode * 59 + this.CartID.GetHashCode(); + if (this.Mode != null) + hashCode = hashCode * 59 + this.Mode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bdd5d69f85606f1d6ad7faa05040340f309dddcb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest.cs @@ -0,0 +1,642 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PaymentDetailsRequest <p>Request object to set payment details for the external order</p><br /><pre> Note: Some external services need credit card informations to satisfy their interfaces. See implementation for details.<br /></pre> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer's ID</p> (required). + /// cartID (required). + /// <p>The billing address for the external order</p> (required). + /// <p>The account holder of the credit card</p> (required). + /// <p>The credit card number</p> (required). + /// <p>The credit card type.</p> (required). + /// <p>The cards' expiry month</p> (required). + /// <p>The cards' expiry year</p> (required). + /// <p>A flag for setting this method as the future default payment</p> (required). + /// <p>ISO language code</p> (required). + /// <p>ISO currency code</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest(string customerID = default(string), string cartID = default(string), ComGkSoftwarePosApiServiceExternalOrderAddress billingAddress = default(ComGkSoftwarePosApiServiceExternalOrderAddress), string accountHolderName = default(string), string cardNumber = default(string), string cardType = default(string), string expiryMonth = default(string), string expiryYear = default(string), string defaultPayment = default(string), string language = default(string), string currency = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "cartID" is required (not null) + if (cartID == null) + { + throw new InvalidDataException("cartID is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.CartID = cartID; + } + // to ensure "billingAddress" is required (not null) + if (billingAddress == null) + { + throw new InvalidDataException("billingAddress is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.BillingAddress = billingAddress; + } + // to ensure "accountHolderName" is required (not null) + if (accountHolderName == null) + { + throw new InvalidDataException("accountHolderName is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.AccountHolderName = accountHolderName; + } + // to ensure "cardNumber" is required (not null) + if (cardNumber == null) + { + throw new InvalidDataException("cardNumber is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.CardNumber = cardNumber; + } + // to ensure "cardType" is required (not null) + if (cardType == null) + { + throw new InvalidDataException("cardType is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.CardType = cardType; + } + // to ensure "expiryMonth" is required (not null) + if (expiryMonth == null) + { + throw new InvalidDataException("expiryMonth is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.ExpiryMonth = expiryMonth; + } + // to ensure "expiryYear" is required (not null) + if (expiryYear == null) + { + throw new InvalidDataException("expiryYear is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.ExpiryYear = expiryYear; + } + // to ensure "defaultPayment" is required (not null) + if (defaultPayment == null) + { + throw new InvalidDataException("defaultPayment is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.DefaultPayment = defaultPayment; + } + // to ensure "language" is required (not null) + if (language == null) + { + throw new InvalidDataException("language is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.Language = language; + } + // to ensure "currency" is required (not null) + if (currency == null) + { + throw new InvalidDataException("currency is a required property for ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest and cannot be null"); + } + else + { + this.Currency = currency; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer's ID</p> + /// + /// <p>The customer's ID</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// Gets or Sets CartID + /// + [DataMember(Name="cartID", EmitDefaultValue=false)] + public string CartID { get; set; } + + /// + /// <p>The billing address for the external order</p> + /// + /// <p>The billing address for the external order</p> + [DataMember(Name="billingAddress", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceExternalOrderAddress BillingAddress { get; set; } + + /// + /// <p>The account holder of the credit card</p> + /// + /// <p>The account holder of the credit card</p> + [DataMember(Name="accountHolderName", EmitDefaultValue=false)] + public string AccountHolderName { get; set; } + + /// + /// <p>The credit card number</p> + /// + /// <p>The credit card number</p> + [DataMember(Name="cardNumber", EmitDefaultValue=false)] + public string CardNumber { get; set; } + + /// + /// <p>The credit card type.</p> + /// + /// <p>The credit card type.</p> + [DataMember(Name="cardType", EmitDefaultValue=false)] + public string CardType { get; set; } + + /// + /// <p>The cards' expiry month</p> + /// + /// <p>The cards' expiry month</p> + [DataMember(Name="expiryMonth", EmitDefaultValue=false)] + public string ExpiryMonth { get; set; } + + /// + /// <p>The cards' expiry year</p> + /// + /// <p>The cards' expiry year</p> + [DataMember(Name="expiryYear", EmitDefaultValue=false)] + public string ExpiryYear { get; set; } + + /// + /// <p>A flag for setting this method as the future default payment</p> + /// + /// <p>A flag for setting this method as the future default payment</p> + [DataMember(Name="defaultPayment", EmitDefaultValue=false)] + public string DefaultPayment { get; set; } + + /// + /// <p>ISO language code</p> + /// + /// <p>ISO language code</p> + [DataMember(Name="language", EmitDefaultValue=false)] + public string Language { get; set; } + + /// + /// <p>ISO currency code</p> + /// + /// <p>ISO currency code</p> + [DataMember(Name="currency", EmitDefaultValue=false)] + public string Currency { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest {\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" CartID: ").Append(CartID).Append("\n"); + sb.Append(" BillingAddress: ").Append(BillingAddress).Append("\n"); + sb.Append(" AccountHolderName: ").Append(AccountHolderName).Append("\n"); + sb.Append(" CardNumber: ").Append(CardNumber).Append("\n"); + sb.Append(" CardType: ").Append(CardType).Append("\n"); + sb.Append(" ExpiryMonth: ").Append(ExpiryMonth).Append("\n"); + sb.Append(" ExpiryYear: ").Append(ExpiryYear).Append("\n"); + sb.Append(" DefaultPayment: ").Append(DefaultPayment).Append("\n"); + sb.Append(" Language: ").Append(Language).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.CartID == input.CartID || + (this.CartID != null && + this.CartID.Equals(input.CartID)) + ) && + ( + this.BillingAddress == input.BillingAddress || + (this.BillingAddress != null && + this.BillingAddress.Equals(input.BillingAddress)) + ) && + ( + this.AccountHolderName == input.AccountHolderName || + (this.AccountHolderName != null && + this.AccountHolderName.Equals(input.AccountHolderName)) + ) && + ( + this.CardNumber == input.CardNumber || + (this.CardNumber != null && + this.CardNumber.Equals(input.CardNumber)) + ) && + ( + this.CardType == input.CardType || + (this.CardType != null && + this.CardType.Equals(input.CardType)) + ) && + ( + this.ExpiryMonth == input.ExpiryMonth || + (this.ExpiryMonth != null && + this.ExpiryMonth.Equals(input.ExpiryMonth)) + ) && + ( + this.ExpiryYear == input.ExpiryYear || + (this.ExpiryYear != null && + this.ExpiryYear.Equals(input.ExpiryYear)) + ) && + ( + this.DefaultPayment == input.DefaultPayment || + (this.DefaultPayment != null && + this.DefaultPayment.Equals(input.DefaultPayment)) + ) && + ( + this.Language == input.Language || + (this.Language != null && + this.Language.Equals(input.Language)) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.CartID != null) + hashCode = hashCode * 59 + this.CartID.GetHashCode(); + if (this.BillingAddress != null) + hashCode = hashCode * 59 + this.BillingAddress.GetHashCode(); + if (this.AccountHolderName != null) + hashCode = hashCode * 59 + this.AccountHolderName.GetHashCode(); + if (this.CardNumber != null) + hashCode = hashCode * 59 + this.CardNumber.GetHashCode(); + if (this.CardType != null) + hashCode = hashCode * 59 + this.CardType.GetHashCode(); + if (this.ExpiryMonth != null) + hashCode = hashCode * 59 + this.ExpiryMonth.GetHashCode(); + if (this.ExpiryYear != null) + hashCode = hashCode * 59 + this.ExpiryYear.GetHashCode(); + if (this.DefaultPayment != null) + hashCode = hashCode * 59 + this.DefaultPayment.GetHashCode(); + if (this.Language != null) + hashCode = hashCode * 59 + this.Language.GetHashCode(); + if (this.Currency != null) + hashCode = hashCode * 59 + this.Currency.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelDispenserTotalRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelDispenserTotalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8a88f78ab3991a7a93c3d6106f31c7ff9240c826 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelDispenserTotalRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DispenserTotalRequest <p>Request entity for Dispenser Total.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceFuelDispenserTotalRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The retail store id.</p>. + /// <p>The workstation id.</p>. + /// <p>The client version.</p>. + /// <p>The operator.</p>. + /// <p>The dispenser totals.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceFuelDispenserTotalRequest(string retailStoreId = default(string), string workstationId = default(string), string clientVersion = default(string), ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO _operator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), string dispenserTotals = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.ClientVersion = clientVersion; + this.Operator = _operator; + this.DispenserTotals = dispenserTotals; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>The operator.</p> + /// + /// <p>The operator.</p> + [DataMember(Name="operator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO Operator { get; set; } + + /// + /// <p>The dispenser totals.</p> + /// + /// <p>The dispenser totals.</p> + [DataMember(Name="dispenserTotals", EmitDefaultValue=false)] + public string DispenserTotals { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceFuelDispenserTotalRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" Operator: ").Append(Operator).Append("\n"); + sb.Append(" DispenserTotals: ").Append(DispenserTotals).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceFuelDispenserTotalRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceFuelDispenserTotalRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceFuelDispenserTotalRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceFuelDispenserTotalRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.Operator == input.Operator || + (this.Operator != null && + this.Operator.Equals(input.Operator)) + ) && + ( + this.DispenserTotals == input.DispenserTotals || + (this.DispenserTotals != null && + this.DispenserTotals.Equals(input.DispenserTotals)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.Operator != null) + hashCode = hashCode * 59 + this.Operator.GetHashCode(); + if (this.DispenserTotals != null) + hashCode = hashCode * 59 + this.DispenserTotals.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..76ea82a008957cccaa759aa0d92e8ad52fddaa1a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindPetrolItemRequest <p>Request entity for Find Petrol Item Request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The retail store id.</p>. + /// <p>The Nozzle id.</p>. + /// <p>The Fueling Point id.</p>. + /// <p>The Grade id.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest(string retailStoreId = default(string), string nozzleId = default(string), string fuellingPointId = default(string), string gradeId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RetailStoreId = retailStoreId; + this.NozzleId = nozzleId; + this.FuellingPointId = fuellingPointId; + this.GradeId = gradeId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The Nozzle id.</p> + /// + /// <p>The Nozzle id.</p> + [DataMember(Name="nozzleId", EmitDefaultValue=false)] + public string NozzleId { get; set; } + + /// + /// <p>The Fueling Point id.</p> + /// + /// <p>The Fueling Point id.</p> + [DataMember(Name="fuellingPointId", EmitDefaultValue=false)] + public string FuellingPointId { get; set; } + + /// + /// <p>The Grade id.</p> + /// + /// <p>The Grade id.</p> + [DataMember(Name="gradeId", EmitDefaultValue=false)] + public string GradeId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" NozzleId: ").Append(NozzleId).Append("\n"); + sb.Append(" FuellingPointId: ").Append(FuellingPointId).Append("\n"); + sb.Append(" GradeId: ").Append(GradeId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.NozzleId == input.NozzleId || + (this.NozzleId != null && + this.NozzleId.Equals(input.NozzleId)) + ) && + ( + this.FuellingPointId == input.FuellingPointId || + (this.FuellingPointId != null && + this.FuellingPointId.Equals(input.FuellingPointId)) + ) && + ( + this.GradeId == input.GradeId || + (this.GradeId != null && + this.GradeId.Equals(input.GradeId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.NozzleId != null) + hashCode = hashCode * 59 + this.NozzleId.GetHashCode(); + if (this.FuellingPointId != null) + hashCode = hashCode * 59 + this.FuellingPointId.GetHashCode(); + if (this.GradeId != null) + hashCode = hashCode * 59 + this.GradeId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..73443e11ca652b0810481132fd1815d0c5e29596 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FuelPriceChangeRequest <p>Request entity for Fuel Price Change Request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The retail store id.</p>. + /// <p>The workstation id.</p>. + /// <p>The client version.</p>. + /// <p>The operator.</p>. + /// <p>The fuel price changes.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest(string retailStoreId = default(string), string workstationId = default(string), string clientVersion = default(string), ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO _operator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), string fuelPriceChanges = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.ClientVersion = clientVersion; + this.Operator = _operator; + this.FuelPriceChanges = fuelPriceChanges; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>The operator.</p> + /// + /// <p>The operator.</p> + [DataMember(Name="operator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO Operator { get; set; } + + /// + /// <p>The fuel price changes.</p> + /// + /// <p>The fuel price changes.</p> + [DataMember(Name="fuelPriceChanges", EmitDefaultValue=false)] + public string FuelPriceChanges { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" Operator: ").Append(Operator).Append("\n"); + sb.Append(" FuelPriceChanges: ").Append(FuelPriceChanges).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.Operator == input.Operator || + (this.Operator != null && + this.Operator.Equals(input.Operator)) + ) && + ( + this.FuelPriceChanges == input.FuelPriceChanges || + (this.FuelPriceChanges != null && + this.FuelPriceChanges.Equals(input.FuelPriceChanges)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.Operator != null) + hashCode = hashCode * 59 + this.Operator.GetHashCode(); + if (this.FuelPriceChanges != null) + hashCode = hashCode * 59 + this.FuelPriceChanges.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cc0d007cec0e024d5127dfc5e1ca0d75495da832 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ActivateHospitalityReceiptRequest <p>Request entity for 'activateHospitalityReceipt' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Flag to activate or deactivate hospitality receipt print.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest(bool? activate = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "activate" is required (not null) + if (activate == null) + { + throw new InvalidDataException("activate is a required property for ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest and cannot be null"); + } + else + { + this.Activate = activate; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Flag to activate or deactivate hospitality receipt print.</p> + /// + /// <p>Flag to activate or deactivate hospitality receipt print.</p> + [DataMember(Name="activate", EmitDefaultValue=false)] + public bool? Activate { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest {\n"); + sb.Append(" Activate: ").Append(Activate).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest input) + { + if (input == null) + return false; + + return + ( + this.Activate == input.Activate || + (this.Activate != null && + this.Activate.Equals(input.Activate)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Activate != null) + hashCode = hashCode * 59 + this.Activate.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c186cd5aed886d8cd18a6a7453600302d1eb4fc1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest.cs @@ -0,0 +1,527 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddLineItemCourseNumberRequest <p>Request entity for 'Add Line Item Course Number Request' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>Specifies whether quantity accumulation is enabled.</p> (required). + /// <p>The course number for adding to selected line item.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), bool? quantityAccumulationEnabled = default(bool?), string courseNumber = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "quantityAccumulationEnabled" is required (not null) + if (quantityAccumulationEnabled == null) + { + throw new InvalidDataException("quantityAccumulationEnabled is a required property for ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.QuantityAccumulationEnabled = quantityAccumulationEnabled; + } + // to ensure "courseNumber" is required (not null) + if (courseNumber == null) + { + throw new InvalidDataException("courseNumber is a required property for ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.CourseNumber = courseNumber; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + [DataMember(Name="quantityAccumulationEnabled", EmitDefaultValue=false)] + public bool? QuantityAccumulationEnabled { get; set; } + + /// + /// <p>The course number for adding to selected line item.</p> + /// + /// <p>The course number for adding to selected line item.</p> + [DataMember(Name="courseNumber", EmitDefaultValue=false)] + public string CourseNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" QuantityAccumulationEnabled: ").Append(QuantityAccumulationEnabled).Append("\n"); + sb.Append(" CourseNumber: ").Append(CourseNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.QuantityAccumulationEnabled == input.QuantityAccumulationEnabled || + (this.QuantityAccumulationEnabled != null && + this.QuantityAccumulationEnabled.Equals(input.QuantityAccumulationEnabled)) + ) && + ( + this.CourseNumber == input.CourseNumber || + (this.CourseNumber != null && + this.CourseNumber.Equals(input.CourseNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.QuantityAccumulationEnabled != null) + hashCode = hashCode * 59 + this.QuantityAccumulationEnabled.GetHashCode(); + if (this.CourseNumber != null) + hashCode = hashCode * 59 + this.CourseNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..57e9329b6ecb4c9baa967f61f2cc82bec4e256be --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest.cs @@ -0,0 +1,620 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BelatedVoidLineItemRequest <p>Request entity for 'BelatedVoidLineItem' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operation configuration</p>. + /// <p>The key of the line item to void</p>. + /// <p>The key of the tender authorization related to voided line item</p>. + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p>. + /// <p>Flag indicating whether to copy the line item.</p> (required). + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p>. + /// <p>Indicates whether the transaction should be stored.</p> (required). + /// <p>The offline mode</p> (required). + /// <p>The keyed on line state.</p>. + /// <p>Indicates whether the POS is in service scale mode.</p>. + /// <p>The reason for the void.</p>. + /// recalculateTransaction. + /// <p>The quantity which should be voided from the line item.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey tenderAuthorizationKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey), string voidTypeCode = default(string), bool? copyVoidedLineItem = default(bool?), string giftCertCancellationId = default(string), bool? storeTransaction = default(bool?), bool? offlineMode = default(bool?), bool? keyedOnline = default(bool?), bool? serviceScaleMode = default(bool?), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO voidReason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), bool? recalculateTransaction = default(bool?), int? toVoidQuantity = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "copyVoidedLineItem" is required (not null) + if (copyVoidedLineItem == null) + { + throw new InvalidDataException("copyVoidedLineItem is a required property for ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest and cannot be null"); + } + else + { + this.CopyVoidedLineItem = copyVoidedLineItem; + } + // to ensure "storeTransaction" is required (not null) + if (storeTransaction == null) + { + throw new InvalidDataException("storeTransaction is a required property for ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest and cannot be null"); + } + else + { + this.StoreTransaction = storeTransaction; + } + // to ensure "offlineMode" is required (not null) + if (offlineMode == null) + { + throw new InvalidDataException("offlineMode is a required property for ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest and cannot be null"); + } + else + { + this.OfflineMode = offlineMode; + } + // to ensure "toVoidQuantity" is required (not null) + if (toVoidQuantity == null) + { + throw new InvalidDataException("toVoidQuantity is a required property for ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest and cannot be null"); + } + else + { + this.ToVoidQuantity = toVoidQuantity; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.TenderAuthorizationKey = tenderAuthorizationKey; + this.VoidTypeCode = voidTypeCode; + this.GiftCertCancellationId = giftCertCancellationId; + this.KeyedOnline = keyedOnline; + this.ServiceScaleMode = serviceScaleMode; + this.VoidReason = voidReason; + this.RecalculateTransaction = recalculateTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The key of the tender authorization related to voided line item</p> + /// + /// <p>The key of the tender authorization related to voided line item</p> + [DataMember(Name="tenderAuthorizationKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey TenderAuthorizationKey { get; set; } + + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + [DataMember(Name="voidTypeCode", EmitDefaultValue=false)] + public string VoidTypeCode { get; set; } + + /// + /// <p>Flag indicating whether to copy the line item.</p> + /// + /// <p>Flag indicating whether to copy the line item.</p> + [DataMember(Name="copyVoidedLineItem", EmitDefaultValue=false)] + public bool? CopyVoidedLineItem { get; set; } + + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + [DataMember(Name="giftCertCancellationId", EmitDefaultValue=false)] + public string GiftCertCancellationId { get; set; } + + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + [DataMember(Name="offlineMode", EmitDefaultValue=false)] + public bool? OfflineMode { get; set; } + + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + [DataMember(Name="serviceScaleMode", EmitDefaultValue=false)] + public bool? ServiceScaleMode { get; set; } + + /// + /// <p>The reason for the void.</p> + /// + /// <p>The reason for the void.</p> + [DataMember(Name="voidReason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO VoidReason { get; set; } + + /// + /// Gets or Sets RecalculateTransaction + /// + [DataMember(Name="recalculateTransaction", EmitDefaultValue=false)] + public bool? RecalculateTransaction { get; set; } + + /// + /// <p>The quantity which should be voided from the line item.</p> + /// + /// <p>The quantity which should be voided from the line item.</p> + [DataMember(Name="toVoidQuantity", EmitDefaultValue=false)] + public int? ToVoidQuantity { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" TenderAuthorizationKey: ").Append(TenderAuthorizationKey).Append("\n"); + sb.Append(" VoidTypeCode: ").Append(VoidTypeCode).Append("\n"); + sb.Append(" CopyVoidedLineItem: ").Append(CopyVoidedLineItem).Append("\n"); + sb.Append(" GiftCertCancellationId: ").Append(GiftCertCancellationId).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" OfflineMode: ").Append(OfflineMode).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" ServiceScaleMode: ").Append(ServiceScaleMode).Append("\n"); + sb.Append(" VoidReason: ").Append(VoidReason).Append("\n"); + sb.Append(" RecalculateTransaction: ").Append(RecalculateTransaction).Append("\n"); + sb.Append(" ToVoidQuantity: ").Append(ToVoidQuantity).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.TenderAuthorizationKey == input.TenderAuthorizationKey || + (this.TenderAuthorizationKey != null && + this.TenderAuthorizationKey.Equals(input.TenderAuthorizationKey)) + ) && + ( + this.VoidTypeCode == input.VoidTypeCode || + (this.VoidTypeCode != null && + this.VoidTypeCode.Equals(input.VoidTypeCode)) + ) && + ( + this.CopyVoidedLineItem == input.CopyVoidedLineItem || + (this.CopyVoidedLineItem != null && + this.CopyVoidedLineItem.Equals(input.CopyVoidedLineItem)) + ) && + ( + this.GiftCertCancellationId == input.GiftCertCancellationId || + (this.GiftCertCancellationId != null && + this.GiftCertCancellationId.Equals(input.GiftCertCancellationId)) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.OfflineMode == input.OfflineMode || + (this.OfflineMode != null && + this.OfflineMode.Equals(input.OfflineMode)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.ServiceScaleMode == input.ServiceScaleMode || + (this.ServiceScaleMode != null && + this.ServiceScaleMode.Equals(input.ServiceScaleMode)) + ) && + ( + this.VoidReason == input.VoidReason || + (this.VoidReason != null && + this.VoidReason.Equals(input.VoidReason)) + ) && + ( + this.RecalculateTransaction == input.RecalculateTransaction || + (this.RecalculateTransaction != null && + this.RecalculateTransaction.Equals(input.RecalculateTransaction)) + ) && + ( + this.ToVoidQuantity == input.ToVoidQuantity || + (this.ToVoidQuantity != null && + this.ToVoidQuantity.Equals(input.ToVoidQuantity)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.TenderAuthorizationKey != null) + hashCode = hashCode * 59 + this.TenderAuthorizationKey.GetHashCode(); + if (this.VoidTypeCode != null) + hashCode = hashCode * 59 + this.VoidTypeCode.GetHashCode(); + if (this.CopyVoidedLineItem != null) + hashCode = hashCode * 59 + this.CopyVoidedLineItem.GetHashCode(); + if (this.GiftCertCancellationId != null) + hashCode = hashCode * 59 + this.GiftCertCancellationId.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.OfflineMode != null) + hashCode = hashCode * 59 + this.OfflineMode.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.ServiceScaleMode != null) + hashCode = hashCode * 59 + this.ServiceScaleMode.GetHashCode(); + if (this.VoidReason != null) + hashCode = hashCode * 59 + this.VoidReason.GetHashCode(); + if (this.RecalculateTransaction != null) + hashCode = hashCode * 59 + this.RecalculateTransaction.GetHashCode(); + if (this.ToVoidQuantity != null) + hashCode = hashCode * 59 + this.ToVoidQuantity.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..9f29bde1da2988cd934de96d23f4083f07d76692 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse.cs @@ -0,0 +1,612 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BelatedVoidLineItemResponse <p>Response entity for 'BelatedVoidLineItem' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operation configuration</p>. + /// <p>The key of the line item to void</p>. + /// <p>The key of the tender authorization related to voided line item</p>. + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p>. + /// <p>Flag indicating whether to copy the line item.</p> (required). + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p>. + /// <p>Indicates whether the transaction should be stored.</p> (required). + /// <p>The offline mode</p> (required). + /// <p>The keyed on line state.</p>. + /// <p>Indicates whether the POS is in service scale mode.</p>. + /// <p>The reason for the void.</p>. + /// recalculateTransaction. + /// <p>The entity describing the transaction result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey tenderAuthorizationKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey), string voidTypeCode = default(string), bool? copyVoidedLineItem = default(bool?), string giftCertCancellationId = default(string), bool? storeTransaction = default(bool?), bool? offlineMode = default(bool?), bool? keyedOnline = default(bool?), bool? serviceScaleMode = default(bool?), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO voidReason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), bool? recalculateTransaction = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "copyVoidedLineItem" is required (not null) + if (copyVoidedLineItem == null) + { + throw new InvalidDataException("copyVoidedLineItem is a required property for ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse and cannot be null"); + } + else + { + this.CopyVoidedLineItem = copyVoidedLineItem; + } + // to ensure "storeTransaction" is required (not null) + if (storeTransaction == null) + { + throw new InvalidDataException("storeTransaction is a required property for ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse and cannot be null"); + } + else + { + this.StoreTransaction = storeTransaction; + } + // to ensure "offlineMode" is required (not null) + if (offlineMode == null) + { + throw new InvalidDataException("offlineMode is a required property for ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse and cannot be null"); + } + else + { + this.OfflineMode = offlineMode; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.TenderAuthorizationKey = tenderAuthorizationKey; + this.VoidTypeCode = voidTypeCode; + this.GiftCertCancellationId = giftCertCancellationId; + this.KeyedOnline = keyedOnline; + this.ServiceScaleMode = serviceScaleMode; + this.VoidReason = voidReason; + this.RecalculateTransaction = recalculateTransaction; + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The key of the tender authorization related to voided line item</p> + /// + /// <p>The key of the tender authorization related to voided line item</p> + [DataMember(Name="tenderAuthorizationKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey TenderAuthorizationKey { get; set; } + + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + [DataMember(Name="voidTypeCode", EmitDefaultValue=false)] + public string VoidTypeCode { get; set; } + + /// + /// <p>Flag indicating whether to copy the line item.</p> + /// + /// <p>Flag indicating whether to copy the line item.</p> + [DataMember(Name="copyVoidedLineItem", EmitDefaultValue=false)] + public bool? CopyVoidedLineItem { get; set; } + + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + [DataMember(Name="giftCertCancellationId", EmitDefaultValue=false)] + public string GiftCertCancellationId { get; set; } + + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + [DataMember(Name="offlineMode", EmitDefaultValue=false)] + public bool? OfflineMode { get; set; } + + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + [DataMember(Name="serviceScaleMode", EmitDefaultValue=false)] + public bool? ServiceScaleMode { get; set; } + + /// + /// <p>The reason for the void.</p> + /// + /// <p>The reason for the void.</p> + [DataMember(Name="voidReason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO VoidReason { get; set; } + + /// + /// Gets or Sets RecalculateTransaction + /// + [DataMember(Name="recalculateTransaction", EmitDefaultValue=false)] + public bool? RecalculateTransaction { get; set; } + + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" TenderAuthorizationKey: ").Append(TenderAuthorizationKey).Append("\n"); + sb.Append(" VoidTypeCode: ").Append(VoidTypeCode).Append("\n"); + sb.Append(" CopyVoidedLineItem: ").Append(CopyVoidedLineItem).Append("\n"); + sb.Append(" GiftCertCancellationId: ").Append(GiftCertCancellationId).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" OfflineMode: ").Append(OfflineMode).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" ServiceScaleMode: ").Append(ServiceScaleMode).Append("\n"); + sb.Append(" VoidReason: ").Append(VoidReason).Append("\n"); + sb.Append(" RecalculateTransaction: ").Append(RecalculateTransaction).Append("\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.TenderAuthorizationKey == input.TenderAuthorizationKey || + (this.TenderAuthorizationKey != null && + this.TenderAuthorizationKey.Equals(input.TenderAuthorizationKey)) + ) && + ( + this.VoidTypeCode == input.VoidTypeCode || + (this.VoidTypeCode != null && + this.VoidTypeCode.Equals(input.VoidTypeCode)) + ) && + ( + this.CopyVoidedLineItem == input.CopyVoidedLineItem || + (this.CopyVoidedLineItem != null && + this.CopyVoidedLineItem.Equals(input.CopyVoidedLineItem)) + ) && + ( + this.GiftCertCancellationId == input.GiftCertCancellationId || + (this.GiftCertCancellationId != null && + this.GiftCertCancellationId.Equals(input.GiftCertCancellationId)) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.OfflineMode == input.OfflineMode || + (this.OfflineMode != null && + this.OfflineMode.Equals(input.OfflineMode)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.ServiceScaleMode == input.ServiceScaleMode || + (this.ServiceScaleMode != null && + this.ServiceScaleMode.Equals(input.ServiceScaleMode)) + ) && + ( + this.VoidReason == input.VoidReason || + (this.VoidReason != null && + this.VoidReason.Equals(input.VoidReason)) + ) && + ( + this.RecalculateTransaction == input.RecalculateTransaction || + (this.RecalculateTransaction != null && + this.RecalculateTransaction.Equals(input.RecalculateTransaction)) + ) && + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.TenderAuthorizationKey != null) + hashCode = hashCode * 59 + this.TenderAuthorizationKey.GetHashCode(); + if (this.VoidTypeCode != null) + hashCode = hashCode * 59 + this.VoidTypeCode.GetHashCode(); + if (this.CopyVoidedLineItem != null) + hashCode = hashCode * 59 + this.CopyVoidedLineItem.GetHashCode(); + if (this.GiftCertCancellationId != null) + hashCode = hashCode * 59 + this.GiftCertCancellationId.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.OfflineMode != null) + hashCode = hashCode * 59 + this.OfflineMode.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.ServiceScaleMode != null) + hashCode = hashCode * 59 + this.ServiceScaleMode.GetHashCode(); + if (this.VoidReason != null) + hashCode = hashCode * 59 + this.VoidReason.GetHashCode(); + if (this.RecalculateTransaction != null) + hashCode = hashCode * 59 + this.RecalculateTransaction.GetHashCode(); + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f36837262bda993f1e2ccd8f626ad30ac821fe38 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ChangeTableOwnerRequest <p>Request entity for 'Change Table Owner' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The list of 'Table Status' object which should b used to update the table owner. </p>. + /// <p>The position operation configuration (need e.g. finalization of transactions)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest(List tableStatusList = default(List), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TableStatusList = tableStatusList; + this.OperationConfiguration = operationConfiguration; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The list of 'Table Status' object which should b used to update the table owner. </p> + /// + /// <p>The list of 'Table Status' object which should b used to update the table owner. </p> + [DataMember(Name="tableStatusList", EmitDefaultValue=false)] + public List TableStatusList { get; set; } + + /// + /// <p>The position operation configuration (need e.g. finalization of transactions)</p> + /// + /// <p>The position operation configuration (need e.g. finalization of transactions)</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest {\n"); + sb.Append(" TableStatusList: ").Append(TableStatusList).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest input) + { + if (input == null) + return false; + + return + ( + this.TableStatusList == input.TableStatusList || + this.TableStatusList != null && + this.TableStatusList.SequenceEqual(input.TableStatusList) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TableStatusList != null) + hashCode = hashCode * 59 + this.TableStatusList.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c1ba0fbe60a81a1110dbfaa34c9c3f4fb76b967 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ChangeTableOwnerResponse <p>Response entity for 'Change Table Owner' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The list of transaction objects which were created.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse(List transactionList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionList = transactionList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The list of transaction objects which were created.</p> + /// + /// <p>The list of transaction objects which were created.</p> + [DataMember(Name="transactionList", EmitDefaultValue=false)] + public List TransactionList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse {\n"); + sb.Append(" TransactionList: ").Append(TransactionList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionList == input.TransactionList || + this.TransactionList != null && + this.TransactionList.SequenceEqual(input.TransactionList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionList != null) + hashCode = hashCode * 59 + this.TransactionList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f30f452af2c0f5d06568885a474b2bff51a1729e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateBelatedTipTransactionRequest <p>Request entity for 'Create Belated Tip Transaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..908fd0e773ad96f4d357803c7083c8dbec6b22fd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateBelatedTipTransactionResponse <p>Response entity for 'Create Belated Tip Transaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the transaction result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..670ce8bc1077f1568ccf3dfc79b4bda49db70b25 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest.cs @@ -0,0 +1,475 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateOrRetrieveTransactionRequest <p>Request entity for 'CreateOrRetrieveTransaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest : IEquatable, IValidatableObject + { + /// + /// <p>Transaction type code of the transaction which is created or retrieved. </p> + /// + /// <p>Transaction type code of the transaction which is created or retrieved. </p> + [JsonConverter(typeof(StringEnumConverter))] + public enum TransactionTypeCodeEnum + { + + /// + /// Enum FOODORDER for value: FOOD_ORDER + /// + [EnumMember(Value = "FOOD_ORDER")] + FOODORDER = 1, + + /// + /// Enum SALE for value: SALE + /// + [EnumMember(Value = "SALE")] + SALE = 2, + + /// + /// Enum MOVEMENT for value: MOVEMENT + /// + [EnumMember(Value = "MOVEMENT")] + MOVEMENT = 3 + } + + /// + /// <p>Transaction type code of the transaction which is created or retrieved. </p> + /// + /// <p>Transaction type code of the transaction which is created or retrieved. </p> + [DataMember(Name="transactionTypeCode", EmitDefaultValue=false)] + public TransactionTypeCodeEnum? TransactionTypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>Table name of a new table</p>. + /// <p>TransactionId of the last transaction of the table</p>. + /// <p>Transaction DO of the last transaction of the table</p>. + /// <p>Transaction type code of the transaction which is created or retrieved. </p>. + /// <p>Defines if the created or retrieved transaction should be a scoped transaction (default: false)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest(string tableName = default(string), string lastTransactionId = default(string), ComGkSoftwareGkrApiTxpoolDtoTransaction lastTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), TransactionTypeCodeEnum? transactionTypeCode = default(TransactionTypeCodeEnum?), bool? scopedTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TableName = tableName; + this.LastTransactionId = lastTransactionId; + this.LastTransaction = lastTransaction; + this.TransactionTypeCode = transactionTypeCode; + this.ScopedTransaction = scopedTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Table name of a new table</p> + /// + /// <p>Table name of a new table</p> + [DataMember(Name="tableName", EmitDefaultValue=false)] + public string TableName { get; set; } + + /// + /// <p>TransactionId of the last transaction of the table</p> + /// + /// <p>TransactionId of the last transaction of the table</p> + [DataMember(Name="lastTransactionId", EmitDefaultValue=false)] + public string LastTransactionId { get; set; } + + /// + /// <p>Transaction DO of the last transaction of the table</p> + /// + /// <p>Transaction DO of the last transaction of the table</p> + [DataMember(Name="lastTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction LastTransaction { get; set; } + + + /// + /// <p>Defines if the created or retrieved transaction should be a scoped transaction (default: false)</p> + /// + /// <p>Defines if the created or retrieved transaction should be a scoped transaction (default: false)</p> + [DataMember(Name="scopedTransaction", EmitDefaultValue=false)] + public bool? ScopedTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest {\n"); + sb.Append(" TableName: ").Append(TableName).Append("\n"); + sb.Append(" LastTransactionId: ").Append(LastTransactionId).Append("\n"); + sb.Append(" LastTransaction: ").Append(LastTransaction).Append("\n"); + sb.Append(" TransactionTypeCode: ").Append(TransactionTypeCode).Append("\n"); + sb.Append(" ScopedTransaction: ").Append(ScopedTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.TableName == input.TableName || + (this.TableName != null && + this.TableName.Equals(input.TableName)) + ) && + ( + this.LastTransactionId == input.LastTransactionId || + (this.LastTransactionId != null && + this.LastTransactionId.Equals(input.LastTransactionId)) + ) && + ( + this.LastTransaction == input.LastTransaction || + (this.LastTransaction != null && + this.LastTransaction.Equals(input.LastTransaction)) + ) && + ( + this.TransactionTypeCode == input.TransactionTypeCode || + (this.TransactionTypeCode != null && + this.TransactionTypeCode.Equals(input.TransactionTypeCode)) + ) && + ( + this.ScopedTransaction == input.ScopedTransaction || + (this.ScopedTransaction != null && + this.ScopedTransaction.Equals(input.ScopedTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TableName != null) + hashCode = hashCode * 59 + this.TableName.GetHashCode(); + if (this.LastTransactionId != null) + hashCode = hashCode * 59 + this.LastTransactionId.GetHashCode(); + if (this.LastTransaction != null) + hashCode = hashCode * 59 + this.LastTransaction.GetHashCode(); + if (this.TransactionTypeCode != null) + hashCode = hashCode * 59 + this.TransactionTypeCode.GetHashCode(); + if (this.ScopedTransaction != null) + hashCode = hashCode * 59 + this.ScopedTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..e5b8d0608ac13f4c6168184418d33ad86ab42ca0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateOrRetrieveTransactionResponse <p>Response entity for 'CreateOrRetrieveTransaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the transaction result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3e487e2b6457a4f078f9b193acc302f015a31c68 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DeleteLineItemCourseNumberRequest <p>Request entity for 'Delete Line Item Course Number Request' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key of the line item in source transaction which should be modified.</p> (required). + /// <p>The position operation configuration (need e.g. for internal void operations).</p> (required). + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? quantityAccumulation = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "lineItemKey" is required (not null) + if (lineItemKey == null) + { + throw new InvalidDataException("lineItemKey is a required property for ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.LineItemKey = lineItemKey; + } + // to ensure "operationConfiguration" is required (not null) + if (operationConfiguration == null) + { + throw new InvalidDataException("operationConfiguration is a required property for ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.OperationConfiguration = operationConfiguration; + } + // to ensure "quantityAccumulation" is required (not null) + if (quantityAccumulation == null) + { + throw new InvalidDataException("quantityAccumulation is a required property for ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest and cannot be null"); + } + else + { + this.QuantityAccumulation = quantityAccumulation; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key of the line item in source transaction which should be modified.</p> + /// + /// <p>The line item key of the line item in source transaction which should be modified.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p> + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p> + [DataMember(Name="quantityAccumulation", EmitDefaultValue=false)] + public bool? QuantityAccumulation { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" QuantityAccumulation: ").Append(QuantityAccumulation).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.QuantityAccumulation == input.QuantityAccumulation || + (this.QuantityAccumulation != null && + this.QuantityAccumulation.Equals(input.QuantityAccumulation)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.QuantityAccumulation != null) + hashCode = hashCode * 59 + this.QuantityAccumulation.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bb6c83c1db274fe8d51bb5ba44d08d7295335d33 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinalizeMovementTransactionsRequest <p>Request entity for 'FinalizeMovementTransactions' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OperationConfiguration = operationConfiguration; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..903258da6fb9fdb727ac6a1a50b320c791ff7d8c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinalizeMovementTransactionsResponse <p>Response entity for 'FinalizeMovementTransactions' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the transaction result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7ede30b4138f73abce58c62d6ce4b786e7fc85d7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// IsLineItemAddedOrVoidedRequest <p>Request entity for 'IsLineItemAddedOrVoided' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..6463c174b4ad4a327789b976ec6772f46e170132 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// IsLineItemAddedOrVoidedResponse <p>Response entity for 'IsLineItemAddedOrVoided' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Flag that contains the result of the operation. It indicates if the transaction contains new or voided positions.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse(bool? lineItemAddedOrModified = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "lineItemAddedOrModified" is required (not null) + if (lineItemAddedOrModified == null) + { + throw new InvalidDataException("lineItemAddedOrModified is a required property for ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse and cannot be null"); + } + else + { + this.LineItemAddedOrModified = lineItemAddedOrModified; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Flag that contains the result of the operation. It indicates if the transaction contains new or voided positions.</p> + /// + /// <p>Flag that contains the result of the operation. It indicates if the transaction contains new or voided positions.</p> + [DataMember(Name="lineItemAddedOrModified", EmitDefaultValue=false)] + public bool? LineItemAddedOrModified { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse {\n"); + sb.Append(" LineItemAddedOrModified: ").Append(LineItemAddedOrModified).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse input) + { + if (input == null) + return false; + + return + ( + this.LineItemAddedOrModified == input.LineItemAddedOrModified || + (this.LineItemAddedOrModified != null && + this.LineItemAddedOrModified.Equals(input.LineItemAddedOrModified)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemAddedOrModified != null) + hashCode = hashCode * 59 + this.LineItemAddedOrModified.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..754239ae5511d6dbb9e4346ab2b726956e96fa4e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoadComboMealItemsRequest <p>Request entity for loading of 'ComboMeal' items</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group</p> (required). + /// <p>The item id</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest(string businessUnitGroupId = default(string), string itemId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "businessUnitGroupId" is required (not null) + if (businessUnitGroupId == null) + { + throw new InvalidDataException("businessUnitGroupId is a required property for ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest and cannot be null"); + } + else + { + this.BusinessUnitGroupId = businessUnitGroupId; + } + // to ensure "itemId" is required (not null) + if (itemId == null) + { + throw new InvalidDataException("itemId is a required property for ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest and cannot be null"); + } + else + { + this.ItemId = itemId; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The unique identifier of the business unit group</p> + /// + /// <p>The unique identifier of the business unit group</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>The item id</p> + /// + /// <p>The item id</p> + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..7029ef21d26f9422700beb4abb2a2222e947acd5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoadComboMealItemsResponse <p>Response entity for loading of 'ComboMeal' items</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The loaded combo meal item</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse(ComGkSoftwarePosApiServiceHospitalityPosComboMealItem comboMealItem = default(ComGkSoftwarePosApiServiceHospitalityPosComboMealItem), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ComboMealItem = comboMealItem; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The loaded combo meal item</p> + /// + /// <p>The loaded combo meal item</p> + [DataMember(Name="comboMealItem", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceHospitalityPosComboMealItem ComboMealItem { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse {\n"); + sb.Append(" ComboMealItem: ").Append(ComboMealItem).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse input) + { + if (input == null) + return false; + + return + ( + this.ComboMealItem == input.ComboMealItem || + (this.ComboMealItem != null && + this.ComboMealItem.Equals(input.ComboMealItem)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ComboMealItem != null) + hashCode = hashCode * 59 + this.ComboMealItem.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d9ee2a2d767cbcf1b0262b1aaa4124ce2f7e622 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoadCondimentsRequest <p>Request entity for loading of condiments.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit group ID.</p> (required). + /// <p>The main merchandise hierarchy group ID.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest(string businessUnitGroupId = default(string), string mainMerchandiseHierarchyGroupId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "businessUnitGroupId" is required (not null) + if (businessUnitGroupId == null) + { + throw new InvalidDataException("businessUnitGroupId is a required property for ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest and cannot be null"); + } + else + { + this.BusinessUnitGroupId = businessUnitGroupId; + } + this.MainMerchandiseHierarchyGroupId = mainMerchandiseHierarchyGroupId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit group ID.</p> + /// + /// <p>The business unit group ID.</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>The main merchandise hierarchy group ID.</p> + /// + /// <p>The main merchandise hierarchy group ID.</p> + [DataMember(Name="mainMerchandiseHierarchyGroupId", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupId: ").Append(MainMerchandiseHierarchyGroupId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.MainMerchandiseHierarchyGroupId == input.MainMerchandiseHierarchyGroupId || + (this.MainMerchandiseHierarchyGroupId != null && + this.MainMerchandiseHierarchyGroupId.Equals(input.MainMerchandiseHierarchyGroupId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupId != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..d4a93c3e1c7b4b18906b9cb91030a314b1b02fb3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoadCondimentsResponse <p>Response entity for loading of condiments.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of condiment components.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse(List relatedComponents = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RelatedComponents = relatedComponents; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of condiment components.</p> + /// + /// <p>List of condiment components.</p> + [DataMember(Name="relatedComponents", EmitDefaultValue=false)] + public List RelatedComponents { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse {\n"); + sb.Append(" RelatedComponents: ").Append(RelatedComponents).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse input) + { + if (input == null) + return false; + + return + ( + this.RelatedComponents == input.RelatedComponents || + this.RelatedComponents != null && + this.RelatedComponents.SequenceEqual(input.RelatedComponents) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RelatedComponents != null) + hashCode = hashCode * 59 + this.RelatedComponents.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4f4b1b9df88b0a6680916a9eee39638c9a62f7ca --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoadTableStatusRequest <p>Request entity for 'Load Table Status' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit ID (Retail Store ID).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest(string businessUnitId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit ID (Retail Store ID).</p> + /// + /// <p>The business unit ID (Retail Store ID).</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..c417cf60eef387bd98ca94a76f73cfac8d1c5467 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoadTableStatusResponse <p>Response entity for 'Load Table Status' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of tables in the response.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse(List tableStatusList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TableStatusList = tableStatusList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of tables in the response.</p> + /// + /// <p>List of tables in the response.</p> + [DataMember(Name="tableStatusList", EmitDefaultValue=false)] + public List TableStatusList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse {\n"); + sb.Append(" TableStatusList: ").Append(TableStatusList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse input) + { + if (input == null) + return false; + + return + ( + this.TableStatusList == input.TableStatusList || + this.TableStatusList != null && + this.TableStatusList.SequenceEqual(input.TableStatusList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TableStatusList != null) + hashCode = hashCode * 59 + this.TableStatusList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..f7026b6b163c18837ccf90b69a3f82f7366cdb52 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItem.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MoveLineItem <p>Entity with information of the line item which should be moved.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityMoveLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityMoveLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key of the line item in source transaction which should be moved.</p> (required). + /// <p>The quantity of the line item in source transaction which should be moved to targetTransaction.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityMoveLineItem(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), int? toMoveQuantity = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "lineItemKey" is required (not null) + if (lineItemKey == null) + { + throw new InvalidDataException("lineItemKey is a required property for ComGkSoftwarePosApiServiceHospitalityMoveLineItem and cannot be null"); + } + else + { + this.LineItemKey = lineItemKey; + } + // to ensure "toMoveQuantity" is required (not null) + if (toMoveQuantity == null) + { + throw new InvalidDataException("toMoveQuantity is a required property for ComGkSoftwarePosApiServiceHospitalityMoveLineItem and cannot be null"); + } + else + { + this.ToMoveQuantity = toMoveQuantity; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key of the line item in source transaction which should be moved.</p> + /// + /// <p>The line item key of the line item in source transaction which should be moved.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The quantity of the line item in source transaction which should be moved to targetTransaction.</p> + /// + /// <p>The quantity of the line item in source transaction which should be moved to targetTransaction.</p> + [DataMember(Name="toMoveQuantity", EmitDefaultValue=false)] + public int? ToMoveQuantity { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityMoveLineItem {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ToMoveQuantity: ").Append(ToMoveQuantity).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityMoveLineItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityMoveLineItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityMoveLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityMoveLineItem input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ToMoveQuantity == input.ToMoveQuantity || + (this.ToMoveQuantity != null && + this.ToMoveQuantity.Equals(input.ToMoveQuantity)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ToMoveQuantity != null) + hashCode = hashCode * 59 + this.ToMoveQuantity.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1190a59ca32fd10f1d17b76054c57c19fcacae41 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MoveLineItemsRequest <p>Request entity for 'MoveLineItems' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier for the source transaction.</p>. + /// <p>The identifier for the target transaction.</p>. + /// <p>The position operation configuration (need e.g. for internal void operations).</p>. + /// <p>Flag is all line items should be moved.</p>. + /// <p>List of line items which should be moved.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest(string sourceTransactionKey = default(string), string targetTransactionKey = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? moveAllLineItems = default(bool?), List lineItemList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.SourceTransactionKey = sourceTransactionKey; + this.TargetTransactionKey = targetTransactionKey; + this.OperationConfiguration = operationConfiguration; + this.MoveAllLineItems = moveAllLineItems; + this.LineItemList = lineItemList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier for the source transaction.</p> + /// + /// <p>The identifier for the source transaction.</p> + [DataMember(Name="sourceTransactionKey", EmitDefaultValue=false)] + public string SourceTransactionKey { get; set; } + + /// + /// <p>The identifier for the target transaction.</p> + /// + /// <p>The identifier for the target transaction.</p> + [DataMember(Name="targetTransactionKey", EmitDefaultValue=false)] + public string TargetTransactionKey { get; set; } + + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>Flag is all line items should be moved.</p> + /// + /// <p>Flag is all line items should be moved.</p> + [DataMember(Name="moveAllLineItems", EmitDefaultValue=false)] + public bool? MoveAllLineItems { get; set; } + + /// + /// <p>List of line items which should be moved.</p> + /// + /// <p>List of line items which should be moved.</p> + [DataMember(Name="lineItemList", EmitDefaultValue=false)] + public List LineItemList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest {\n"); + sb.Append(" SourceTransactionKey: ").Append(SourceTransactionKey).Append("\n"); + sb.Append(" TargetTransactionKey: ").Append(TargetTransactionKey).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" MoveAllLineItems: ").Append(MoveAllLineItems).Append("\n"); + sb.Append(" LineItemList: ").Append(LineItemList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest input) + { + if (input == null) + return false; + + return + ( + this.SourceTransactionKey == input.SourceTransactionKey || + (this.SourceTransactionKey != null && + this.SourceTransactionKey.Equals(input.SourceTransactionKey)) + ) && + ( + this.TargetTransactionKey == input.TargetTransactionKey || + (this.TargetTransactionKey != null && + this.TargetTransactionKey.Equals(input.TargetTransactionKey)) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.MoveAllLineItems == input.MoveAllLineItems || + (this.MoveAllLineItems != null && + this.MoveAllLineItems.Equals(input.MoveAllLineItems)) + ) && + ( + this.LineItemList == input.LineItemList || + this.LineItemList != null && + this.LineItemList.SequenceEqual(input.LineItemList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SourceTransactionKey != null) + hashCode = hashCode * 59 + this.SourceTransactionKey.GetHashCode(); + if (this.TargetTransactionKey != null) + hashCode = hashCode * 59 + this.TargetTransactionKey.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.MoveAllLineItems != null) + hashCode = hashCode * 59 + this.MoveAllLineItems.GetHashCode(); + if (this.LineItemList != null) + hashCode = hashCode * 59 + this.LineItemList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..67bd4e5b0bc386fa1f24aeaaa9ea85605a4d5467 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MoveLineItemsResponse <p>Response entity for 'MoveLineItems' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the transaction result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..3e8cef917778738b469da7b75334e78aedb70a6f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosComboMealComponent <p>Entity for a combo meal item component</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The related association type of the combo meal item component</p>. + /// <p>List of related items (standard items)</p>. + /// <p>The max price of all standard items of the component.</p>. + /// <p>List of alternative related items (alternative items)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO relatedItemAssociationType = default(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO), List relatedItems = default(List), double? relatedItemsMaxPrice = default(double?), List alternativeRelatedItems = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RelatedItemAssociationType = relatedItemAssociationType; + this.RelatedItems = relatedItems; + this.RelatedItemsMaxPrice = relatedItemsMaxPrice; + this.AlternativeRelatedItems = alternativeRelatedItems; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The related association type of the combo meal item component</p> + /// + /// <p>The related association type of the combo meal item component</p> + [DataMember(Name="relatedItemAssociationType", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO RelatedItemAssociationType { get; set; } + + /// + /// <p>List of related items (standard items)</p> + /// + /// <p>List of related items (standard items)</p> + [DataMember(Name="relatedItems", EmitDefaultValue=false)] + public List RelatedItems { get; set; } + + /// + /// <p>The max price of all standard items of the component.</p> + /// + /// <p>The max price of all standard items of the component.</p> + [DataMember(Name="relatedItemsMaxPrice", EmitDefaultValue=false)] + public double? RelatedItemsMaxPrice { get; set; } + + /// + /// <p>List of alternative related items (alternative items)</p> + /// + /// <p>List of alternative related items (alternative items)</p> + [DataMember(Name="alternativeRelatedItems", EmitDefaultValue=false)] + public List AlternativeRelatedItems { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent {\n"); + sb.Append(" RelatedItemAssociationType: ").Append(RelatedItemAssociationType).Append("\n"); + sb.Append(" RelatedItems: ").Append(RelatedItems).Append("\n"); + sb.Append(" RelatedItemsMaxPrice: ").Append(RelatedItemsMaxPrice).Append("\n"); + sb.Append(" AlternativeRelatedItems: ").Append(AlternativeRelatedItems).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent input) + { + if (input == null) + return false; + + return + ( + this.RelatedItemAssociationType == input.RelatedItemAssociationType || + (this.RelatedItemAssociationType != null && + this.RelatedItemAssociationType.Equals(input.RelatedItemAssociationType)) + ) && + ( + this.RelatedItems == input.RelatedItems || + this.RelatedItems != null && + this.RelatedItems.SequenceEqual(input.RelatedItems) + ) && + ( + this.RelatedItemsMaxPrice == input.RelatedItemsMaxPrice || + (this.RelatedItemsMaxPrice != null && + this.RelatedItemsMaxPrice.Equals(input.RelatedItemsMaxPrice)) + ) && + ( + this.AlternativeRelatedItems == input.AlternativeRelatedItems || + this.AlternativeRelatedItems != null && + this.AlternativeRelatedItems.SequenceEqual(input.AlternativeRelatedItems) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RelatedItemAssociationType != null) + hashCode = hashCode * 59 + this.RelatedItemAssociationType.GetHashCode(); + if (this.RelatedItems != null) + hashCode = hashCode * 59 + this.RelatedItems.GetHashCode(); + if (this.RelatedItemsMaxPrice != null) + hashCode = hashCode * 59 + this.RelatedItemsMaxPrice.GetHashCode(); + if (this.AlternativeRelatedItems != null) + hashCode = hashCode * 59 + this.AlternativeRelatedItems.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosComboMealItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosComboMealItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..4940cb65f6d8946dd629cbd4e8e97c7ab3fb7698 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosComboMealItem.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosComboMealItem <p>Entity for the Combo meal item (main item)</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityPosComboMealItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Name of the combo meal item</p>. + /// <p>List of components of the combo meal item</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityPosComboMealItem(string name = default(string), List relatedComponents = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Name = name; + this.RelatedComponents = relatedComponents; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Name of the combo meal item</p> + /// + /// <p>Name of the combo meal item</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>List of components of the combo meal item</p> + /// + /// <p>List of components of the combo meal item</p> + [DataMember(Name="relatedComponents", EmitDefaultValue=false)] + public List RelatedComponents { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityPosComboMealItem {\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" RelatedComponents: ").Append(RelatedComponents).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityPosComboMealItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityPosComboMealItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityPosComboMealItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityPosComboMealItem input) + { + if (input == null) + return false; + + return + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.RelatedComponents == input.RelatedComponents || + this.RelatedComponents != null && + this.RelatedComponents.SequenceEqual(input.RelatedComponents) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.RelatedComponents != null) + hashCode = hashCode * 59 + this.RelatedComponents.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..372648bfaf888af0a55d35f70d4076e7b85a9c2c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosCondimentComponent <p>Entity for a condiment item component</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The related association type of the combo meal item component</p>. + /// <p>List of related items.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO relatedItemAssociationType = default(ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO), List relatedItems = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RelatedItemAssociationType = relatedItemAssociationType; + this.RelatedItems = relatedItems; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The related association type of the combo meal item component</p> + /// + /// <p>The related association type of the combo meal item component</p> + [DataMember(Name="relatedItemAssociationType", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO RelatedItemAssociationType { get; set; } + + /// + /// <p>List of related items.</p> + /// + /// <p>List of related items.</p> + [DataMember(Name="relatedItems", EmitDefaultValue=false)] + public List RelatedItems { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent {\n"); + sb.Append(" RelatedItemAssociationType: ").Append(RelatedItemAssociationType).Append("\n"); + sb.Append(" RelatedItems: ").Append(RelatedItems).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent input) + { + if (input == null) + return false; + + return + ( + this.RelatedItemAssociationType == input.RelatedItemAssociationType || + (this.RelatedItemAssociationType != null && + this.RelatedItemAssociationType.Equals(input.RelatedItemAssociationType)) + ) && + ( + this.RelatedItems == input.RelatedItems || + this.RelatedItems != null && + this.RelatedItems.SequenceEqual(input.RelatedItems) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RelatedItemAssociationType != null) + hashCode = hashCode * 59 + this.RelatedItemAssociationType.GetHashCode(); + if (this.RelatedItems != null) + hashCode = hashCode * 59 + this.RelatedItems.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosRelatedItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosRelatedItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..bbeb5af756cd6a20387db561999bf3d7f34ca0be --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPosRelatedItem.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosRelatedItem <p>Entity for a related items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityPosRelatedItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityPosRelatedItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The quantity.</p> (required). + /// <p>The original related item</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityPosRelatedItem(int? quantity = default(int?), ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView itemView = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwarePosApiServiceHospitalityPosRelatedItem and cannot be null"); + } + else + { + this.Quantity = quantity; + } + this.ItemView = itemView; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The quantity.</p> + /// + /// <p>The quantity.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The original related item</p> + /// + /// <p>The original related item</p> + [DataMember(Name="itemView", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView ItemView { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityPosRelatedItem {\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" ItemView: ").Append(ItemView).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityPosRelatedItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityPosRelatedItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityPosRelatedItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityPosRelatedItem input) + { + if (input == null) + return false; + + return + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.ItemView == input.ItemView || + (this.ItemView != null && + this.ItemView.Equals(input.ItemView)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.ItemView != null) + hashCode = hashCode * 59 + this.ItemView.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bf84f7dc369f872ffd56d91c1b6d1382d3fa9c4c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PreparePrintOrderDataRequest <p>Request entity for 'PreparePrintOrderData' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The print order configuration.</p>. + /// <p>The transaction to use. This is an optional parameter, if it is not set the current active transaction will be used.</p>. + /// <p>List of line items to use. The is used as provided, no filter is applied.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest(ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig printOrderConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig), ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), List lineItemList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PrintOrderConfig = printOrderConfig; + this.Transaction = transaction; + this.LineItemList = lineItemList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The print order configuration.</p> + /// + /// <p>The print order configuration.</p> + [DataMember(Name="printOrderConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig PrintOrderConfig { get; set; } + + /// + /// <p>The transaction to use. This is an optional parameter, if it is not set the current active transaction will be used.</p> + /// + /// <p>The transaction to use. This is an optional parameter, if it is not set the current active transaction will be used.</p> + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// <p>List of line items to use. The is used as provided, no filter is applied.</p> + /// + /// <p>List of line items to use. The is used as provided, no filter is applied.</p> + [DataMember(Name="lineItemList", EmitDefaultValue=false)] + public List LineItemList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest {\n"); + sb.Append(" PrintOrderConfig: ").Append(PrintOrderConfig).Append("\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" LineItemList: ").Append(LineItemList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest input) + { + if (input == null) + return false; + + return + ( + this.PrintOrderConfig == input.PrintOrderConfig || + (this.PrintOrderConfig != null && + this.PrintOrderConfig.Equals(input.PrintOrderConfig)) + ) && + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.LineItemList == input.LineItemList || + this.LineItemList != null && + this.LineItemList.SequenceEqual(input.LineItemList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrintOrderConfig != null) + hashCode = hashCode * 59 + this.PrintOrderConfig.GetHashCode(); + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.LineItemList != null) + hashCode = hashCode * 59 + this.LineItemList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..b3bc07f8e80d539345703f11fc380350123135ad --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PreparePrintOrderDataResponse <p>Response entity for 'PreparePrintOrderData' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The result list contains the collected data that must be printed.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse(List printOrderDataList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PrintOrderDataList = printOrderDataList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The result list contains the collected data that must be printed.</p> + /// + /// <p>The result list contains the collected data that must be printed.</p> + [DataMember(Name="printOrderDataList", EmitDefaultValue=false)] + public List PrintOrderDataList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse {\n"); + sb.Append(" PrintOrderDataList: ").Append(PrintOrderDataList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse input) + { + if (input == null) + return false; + + return + ( + this.PrintOrderDataList == input.PrintOrderDataList || + this.PrintOrderDataList != null && + this.PrintOrderDataList.SequenceEqual(input.PrintOrderDataList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrintOrderDataList != null) + hashCode = hashCode * 59 + this.PrintOrderDataList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPrintOrderData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPrintOrderData.cs new file mode 100644 index 0000000000000000000000000000000000000000..352110fe9fdaa62144714cfc8f685155c1ce3314 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityPrintOrderData.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrintOrderData <p>Entity that describes printo order data. One instance consists of configuration plus list of related line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityPrintOrderData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The MHG2Printer assignment configuration.</p>. + /// <p>The course number for the printer report</p>. + /// <p>List of line items that matches the corresponding configuration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityPrintOrderData(ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig config = default(ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig), string courseNumber = default(string), List lineItemList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Config = config; + this.CourseNumber = courseNumber; + this.LineItemList = lineItemList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The MHG2Printer assignment configuration.</p> + /// + /// <p>The MHG2Printer assignment configuration.</p> + [DataMember(Name="config", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig Config { get; set; } + + /// + /// <p>The course number for the printer report</p> + /// + /// <p>The course number for the printer report</p> + [DataMember(Name="courseNumber", EmitDefaultValue=false)] + public string CourseNumber { get; set; } + + /// + /// <p>List of line items that matches the corresponding configuration.</p> + /// + /// <p>List of line items that matches the corresponding configuration.</p> + [DataMember(Name="lineItemList", EmitDefaultValue=false)] + public List LineItemList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityPrintOrderData {\n"); + sb.Append(" Config: ").Append(Config).Append("\n"); + sb.Append(" CourseNumber: ").Append(CourseNumber).Append("\n"); + sb.Append(" LineItemList: ").Append(LineItemList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityPrintOrderData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityPrintOrderData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityPrintOrderData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityPrintOrderData input) + { + if (input == null) + return false; + + return + ( + this.Config == input.Config || + (this.Config != null && + this.Config.Equals(input.Config)) + ) && + ( + this.CourseNumber == input.CourseNumber || + (this.CourseNumber != null && + this.CourseNumber.Equals(input.CourseNumber)) + ) && + ( + this.LineItemList == input.LineItemList || + this.LineItemList != null && + this.LineItemList.SequenceEqual(input.LineItemList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Config != null) + hashCode = hashCode * 59 + this.Config.GetHashCode(); + if (this.CourseNumber != null) + hashCode = hashCode * 59 + this.CourseNumber.GetHashCode(); + if (this.LineItemList != null) + hashCode = hashCode * 59 + this.LineItemList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2473a8274fef419f4fda21d45859974757b7d866 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RecoverTransactionRequest <p>Request entity for 'RecoverTransaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The table status that matches the table name of transaction to recover.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest(ComGkSoftwarePosApiServiceHospitalityTableStatus tableStatus = default(ComGkSoftwarePosApiServiceHospitalityTableStatus), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TableStatus = tableStatus; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The table status that matches the table name of transaction to recover.</p> + /// + /// <p>The table status that matches the table name of transaction to recover.</p> + [DataMember(Name="tableStatus", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceHospitalityTableStatus TableStatus { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest {\n"); + sb.Append(" TableStatus: ").Append(TableStatus).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.TableStatus == input.TableStatus || + (this.TableStatus != null && + this.TableStatus.Equals(input.TableStatus)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TableStatus != null) + hashCode = hashCode * 59 + this.TableStatus.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..15616bdef89db5f55edca71fd68d21d85f9bc8b9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse.cs @@ -0,0 +1,435 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RecoverTransactionResponse <p>Response entity for 'RecoverTransaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>May contain the transaction that is used for recovery.</p>. + /// <p>Indicates whether the recovery was aborted.</p> (required). + /// <p>Indicates whether the table relation was cleared.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), bool? recoveryAborted = default(bool?), bool? tableRelationCleared = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "recoveryAborted" is required (not null) + if (recoveryAborted == null) + { + throw new InvalidDataException("recoveryAborted is a required property for ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse and cannot be null"); + } + else + { + this.RecoveryAborted = recoveryAborted; + } + // to ensure "tableRelationCleared" is required (not null) + if (tableRelationCleared == null) + { + throw new InvalidDataException("tableRelationCleared is a required property for ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse and cannot be null"); + } + else + { + this.TableRelationCleared = tableRelationCleared; + } + this.Transaction = transaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>May contain the transaction that is used for recovery.</p> + /// + /// <p>May contain the transaction that is used for recovery.</p> + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// <p>Indicates whether the recovery was aborted.</p> + /// + /// <p>Indicates whether the recovery was aborted.</p> + [DataMember(Name="recoveryAborted", EmitDefaultValue=false)] + public bool? RecoveryAborted { get; set; } + + /// + /// <p>Indicates whether the table relation was cleared.</p> + /// + /// <p>Indicates whether the table relation was cleared.</p> + [DataMember(Name="tableRelationCleared", EmitDefaultValue=false)] + public bool? TableRelationCleared { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" RecoveryAborted: ").Append(RecoveryAborted).Append("\n"); + sb.Append(" TableRelationCleared: ").Append(TableRelationCleared).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.RecoveryAborted == input.RecoveryAborted || + (this.RecoveryAborted != null && + this.RecoveryAborted.Equals(input.RecoveryAborted)) + ) && + ( + this.TableRelationCleared == input.TableRelationCleared || + (this.TableRelationCleared != null && + this.TableRelationCleared.Equals(input.TableRelationCleared)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.RecoveryAborted != null) + hashCode = hashCode * 59 + this.RecoveryAborted.GetHashCode(); + if (this.TableRelationCleared != null) + hashCode = hashCode * 59 + this.TableRelationCleared.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..60362f1a737968d20a8aa1cd589bc315c6c41051 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest.cs @@ -0,0 +1,536 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterCondimentsRequest <p>The request entity of 'Enter Condiment' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>Specifies whether quantity accumulation is enabled.</p> (required). + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>List of components containing the selected condiments that should be registered.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), bool? quantityAccumulationEnabled = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), List relatedComponents = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "quantityAccumulationEnabled" is required (not null) + if (quantityAccumulationEnabled == null) + { + throw new InvalidDataException("quantityAccumulationEnabled is a required property for ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest and cannot be null"); + } + else + { + this.QuantityAccumulationEnabled = quantityAccumulationEnabled; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.RelatedComponents = relatedComponents; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + [DataMember(Name="quantityAccumulationEnabled", EmitDefaultValue=false)] + public bool? QuantityAccumulationEnabled { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>List of components containing the selected condiments that should be registered.</p> + /// + /// <p>List of components containing the selected condiments that should be registered.</p> + [DataMember(Name="relatedComponents", EmitDefaultValue=false)] + public List RelatedComponents { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" QuantityAccumulationEnabled: ").Append(QuantityAccumulationEnabled).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" RelatedComponents: ").Append(RelatedComponents).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.QuantityAccumulationEnabled == input.QuantityAccumulationEnabled || + (this.QuantityAccumulationEnabled != null && + this.QuantityAccumulationEnabled.Equals(input.QuantityAccumulationEnabled)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.RelatedComponents == input.RelatedComponents || + this.RelatedComponents != null && + this.RelatedComponents.SequenceEqual(input.RelatedComponents) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.QuantityAccumulationEnabled != null) + hashCode = hashCode * 59 + this.QuantityAccumulationEnabled.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.RelatedComponents != null) + hashCode = hashCode * 59 + this.RelatedComponents.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2dbddd0b7bee698277dc68322296898d010923dd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ResetToFoodOrderTransactionRequest <p>Request entity for 'ResetToFoodOrderTransaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Flag if transaction should be stored after the reset changes (default is true).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest(bool? storeTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.StoreTransaction = storeTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Flag if transaction should be stored after the reset changes (default is true).</p> + /// + /// <p>Flag if transaction should be stored after the reset changes (default is true).</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest {\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..a70c0471f83266f88d8e2755badfd9000409cfdb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ResetToFoodOrderTransactionResponse <p>Response entity for 'ResetToFoodOrderTransaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the transaction result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityTableStatus.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityTableStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..72f861459199198ba75fd56cbf83106db1b13fd5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceHospitalityTableStatus.cs @@ -0,0 +1,590 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TableStatus <p>Entity which represents the status of a table.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceHospitalityTableStatus : IEquatable, IValidatableObject + { + /// + /// <p>Status of the table</p> + /// + /// <p>Status of the table</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum EMPTY for value: EMPTY + /// + [EnumMember(Value = "EMPTY")] + EMPTY = 1, + + /// + /// Enum OPEN for value: OPEN + /// + [EnumMember(Value = "OPEN")] + OPEN = 2, + + /// + /// Enum INPROGRESS for value: IN_PROGRESS + /// + [EnumMember(Value = "IN_PROGRESS")] + INPROGRESS = 3 + } + + /// + /// <p>Status of the table</p> + /// + /// <p>Status of the table</p> + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum? Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceHospitalityTableStatus() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Number of the table (e.g. 10 or 10.1)</p> (required). + /// <p>Current total of all open/unpaid line items of the table</p>. + /// <p>Status of the table</p>. + /// <p>Workstation where the table is currently in progress. Only filled if Status = InProgress</p>. + /// <p>TransactionId of the last transaction of the table. The 'linked' transaction contains all relevant data of the table</p>. + /// <p>Transaction DO of the last transaction</p>. + /// <p>Workstation of the last modification</p>. + /// <p>Id of the table owner (opened the table or handover)</p>. + /// <p>First name of the table owner</p>. + /// <p>Last name of the table owner</p>. + /// <p>Checksum of the transaction </p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceHospitalityTableStatus(string tableName = default(string), double? total = default(double?), StatusEnum? status = default(StatusEnum?), string currentWorkstationId = default(string), string lastTransactionId = default(string), ComGkSoftwareGkrApiTxpoolDtoTransaction lastTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), string lastWorkstationId = default(string), string tableOwnerId = default(string), string tableOwnerFirstName = default(string), string tableOwnerLastName = default(string), string checksum = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "tableName" is required (not null) + if (tableName == null) + { + throw new InvalidDataException("tableName is a required property for ComGkSoftwarePosApiServiceHospitalityTableStatus and cannot be null"); + } + else + { + this.TableName = tableName; + } + this.Total = total; + this.Status = status; + this.CurrentWorkstationId = currentWorkstationId; + this.LastTransactionId = lastTransactionId; + this.LastTransaction = lastTransaction; + this.LastWorkstationId = lastWorkstationId; + this.TableOwnerId = tableOwnerId; + this.TableOwnerFirstName = tableOwnerFirstName; + this.TableOwnerLastName = tableOwnerLastName; + this.Checksum = checksum; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Number of the table (e.g. 10 or 10.1)</p> + /// + /// <p>Number of the table (e.g. 10 or 10.1)</p> + [DataMember(Name="tableName", EmitDefaultValue=false)] + public string TableName { get; set; } + + /// + /// <p>Current total of all open/unpaid line items of the table</p> + /// + /// <p>Current total of all open/unpaid line items of the table</p> + [DataMember(Name="total", EmitDefaultValue=false)] + public double? Total { get; set; } + + + /// + /// <p>Workstation where the table is currently in progress. Only filled if Status = InProgress</p> + /// + /// <p>Workstation where the table is currently in progress. Only filled if Status = InProgress</p> + [DataMember(Name="currentWorkstationId", EmitDefaultValue=false)] + public string CurrentWorkstationId { get; set; } + + /// + /// <p>TransactionId of the last transaction of the table. The 'linked' transaction contains all relevant data of the table</p> + /// + /// <p>TransactionId of the last transaction of the table. The 'linked' transaction contains all relevant data of the table</p> + [DataMember(Name="lastTransactionId", EmitDefaultValue=false)] + public string LastTransactionId { get; set; } + + /// + /// <p>Transaction DO of the last transaction</p> + /// + /// <p>Transaction DO of the last transaction</p> + [DataMember(Name="lastTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction LastTransaction { get; set; } + + /// + /// <p>Workstation of the last modification</p> + /// + /// <p>Workstation of the last modification</p> + [DataMember(Name="lastWorkstationId", EmitDefaultValue=false)] + public string LastWorkstationId { get; set; } + + /// + /// <p>Id of the table owner (opened the table or handover)</p> + /// + /// <p>Id of the table owner (opened the table or handover)</p> + [DataMember(Name="tableOwnerId", EmitDefaultValue=false)] + public string TableOwnerId { get; set; } + + /// + /// <p>First name of the table owner</p> + /// + /// <p>First name of the table owner</p> + [DataMember(Name="tableOwnerFirstName", EmitDefaultValue=false)] + public string TableOwnerFirstName { get; set; } + + /// + /// <p>Last name of the table owner</p> + /// + /// <p>Last name of the table owner</p> + [DataMember(Name="tableOwnerLastName", EmitDefaultValue=false)] + public string TableOwnerLastName { get; set; } + + /// + /// <p>Checksum of the transaction </p> + /// + /// <p>Checksum of the transaction </p> + [DataMember(Name="checksum", EmitDefaultValue=false)] + public string Checksum { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceHospitalityTableStatus {\n"); + sb.Append(" TableName: ").Append(TableName).Append("\n"); + sb.Append(" Total: ").Append(Total).Append("\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" CurrentWorkstationId: ").Append(CurrentWorkstationId).Append("\n"); + sb.Append(" LastTransactionId: ").Append(LastTransactionId).Append("\n"); + sb.Append(" LastTransaction: ").Append(LastTransaction).Append("\n"); + sb.Append(" LastWorkstationId: ").Append(LastWorkstationId).Append("\n"); + sb.Append(" TableOwnerId: ").Append(TableOwnerId).Append("\n"); + sb.Append(" TableOwnerFirstName: ").Append(TableOwnerFirstName).Append("\n"); + sb.Append(" TableOwnerLastName: ").Append(TableOwnerLastName).Append("\n"); + sb.Append(" Checksum: ").Append(Checksum).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceHospitalityTableStatus); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceHospitalityTableStatus instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceHospitalityTableStatus to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceHospitalityTableStatus input) + { + if (input == null) + return false; + + return + ( + this.TableName == input.TableName || + (this.TableName != null && + this.TableName.Equals(input.TableName)) + ) && + ( + this.Total == input.Total || + (this.Total != null && + this.Total.Equals(input.Total)) + ) && + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.CurrentWorkstationId == input.CurrentWorkstationId || + (this.CurrentWorkstationId != null && + this.CurrentWorkstationId.Equals(input.CurrentWorkstationId)) + ) && + ( + this.LastTransactionId == input.LastTransactionId || + (this.LastTransactionId != null && + this.LastTransactionId.Equals(input.LastTransactionId)) + ) && + ( + this.LastTransaction == input.LastTransaction || + (this.LastTransaction != null && + this.LastTransaction.Equals(input.LastTransaction)) + ) && + ( + this.LastWorkstationId == input.LastWorkstationId || + (this.LastWorkstationId != null && + this.LastWorkstationId.Equals(input.LastWorkstationId)) + ) && + ( + this.TableOwnerId == input.TableOwnerId || + (this.TableOwnerId != null && + this.TableOwnerId.Equals(input.TableOwnerId)) + ) && + ( + this.TableOwnerFirstName == input.TableOwnerFirstName || + (this.TableOwnerFirstName != null && + this.TableOwnerFirstName.Equals(input.TableOwnerFirstName)) + ) && + ( + this.TableOwnerLastName == input.TableOwnerLastName || + (this.TableOwnerLastName != null && + this.TableOwnerLastName.Equals(input.TableOwnerLastName)) + ) && + ( + this.Checksum == input.Checksum || + (this.Checksum != null && + this.Checksum.Equals(input.Checksum)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TableName != null) + hashCode = hashCode * 59 + this.TableName.GetHashCode(); + if (this.Total != null) + hashCode = hashCode * 59 + this.Total.GetHashCode(); + if (this.Status != null) + hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.CurrentWorkstationId != null) + hashCode = hashCode * 59 + this.CurrentWorkstationId.GetHashCode(); + if (this.LastTransactionId != null) + hashCode = hashCode * 59 + this.LastTransactionId.GetHashCode(); + if (this.LastTransaction != null) + hashCode = hashCode * 59 + this.LastTransaction.GetHashCode(); + if (this.LastWorkstationId != null) + hashCode = hashCode * 59 + this.LastWorkstationId.GetHashCode(); + if (this.TableOwnerId != null) + hashCode = hashCode * 59 + this.TableOwnerId.GetHashCode(); + if (this.TableOwnerFirstName != null) + hashCode = hashCode * 59 + this.TableOwnerFirstName.GetHashCode(); + if (this.TableOwnerLastName != null) + hashCode = hashCode * 59 + this.TableOwnerLastName.GetHashCode(); + if (this.Checksum != null) + hashCode = hashCode * 59 + this.Checksum.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cb962cccdd9750c952b2f1b7817c38e488dd796e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest.cs @@ -0,0 +1,427 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateCompleteVoidTransactionRequest <p>The entity CreateCompleteVoidTransactionRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> (required). + /// <p>The receipt text for DownPayment LineItem.</p>. + /// <p>The receipt text for Fee LineItem.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), string downPaymentReceiptText = default(string), string cancellationFeeReceiptText = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + this.DownPaymentReceiptText = downPaymentReceiptText; + this.CancellationFeeReceiptText = cancellationFeeReceiptText; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>The receipt text for DownPayment LineItem.</p> + /// + /// <p>The receipt text for DownPayment LineItem.</p> + [DataMember(Name="downPaymentReceiptText", EmitDefaultValue=false)] + public string DownPaymentReceiptText { get; set; } + + /// + /// <p>The receipt text for Fee LineItem.</p> + /// + /// <p>The receipt text for Fee LineItem.</p> + [DataMember(Name="cancellationFeeReceiptText", EmitDefaultValue=false)] + public string CancellationFeeReceiptText { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest {\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" DownPaymentReceiptText: ").Append(DownPaymentReceiptText).Append("\n"); + sb.Append(" CancellationFeeReceiptText: ").Append(CancellationFeeReceiptText).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.DownPaymentReceiptText == input.DownPaymentReceiptText || + (this.DownPaymentReceiptText != null && + this.DownPaymentReceiptText.Equals(input.DownPaymentReceiptText)) + ) && + ( + this.CancellationFeeReceiptText == input.CancellationFeeReceiptText || + (this.CancellationFeeReceiptText != null && + this.CancellationFeeReceiptText.Equals(input.CancellationFeeReceiptText)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.DownPaymentReceiptText != null) + hashCode = hashCode * 59 + this.DownPaymentReceiptText.GetHashCode(); + if (this.CancellationFeeReceiptText != null) + hashCode = hashCode * 59 + this.CancellationFeeReceiptText.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5a31e62087daf1fec64fc484153079f25a6d1c3c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest.cs @@ -0,0 +1,392 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateCustomerTransactionRequest <p>The Entity CreateCustomerTransactionRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// layaway (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Layaway + /// + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest {\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..82d461474195d3be0a83147d749e959fd5b988be --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest.cs @@ -0,0 +1,518 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateLayawayExtendTransactionRequest <p>The entity CreateLayawayExtendTransactionRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The Layaway which should be used to create the extend expiration date transaction out of it.</p> (required). + /// <p>Count of valid days.</p> (required). + /// <p>Count of payment days.</p> (required). + /// <p>Time after expiration Layway can shipped.</p> (required). + /// <p>Time when Layaway will be deleted if expired.</p> (required). + /// <p>Time when Layaway will be expired. Substitutes defined expiration date on Layaway creation.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), int? layawayValidDays = default(int?), int? paymentDays = default(int?), int? toleranceTime = default(int?), int? deletingTime = default(int?), string newExpirationDate = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + // to ensure "layawayValidDays" is required (not null) + if (layawayValidDays == null) + { + throw new InvalidDataException("layawayValidDays is a required property for ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest and cannot be null"); + } + else + { + this.LayawayValidDays = layawayValidDays; + } + // to ensure "paymentDays" is required (not null) + if (paymentDays == null) + { + throw new InvalidDataException("paymentDays is a required property for ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest and cannot be null"); + } + else + { + this.PaymentDays = paymentDays; + } + // to ensure "toleranceTime" is required (not null) + if (toleranceTime == null) + { + throw new InvalidDataException("toleranceTime is a required property for ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest and cannot be null"); + } + else + { + this.ToleranceTime = toleranceTime; + } + // to ensure "deletingTime" is required (not null) + if (deletingTime == null) + { + throw new InvalidDataException("deletingTime is a required property for ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest and cannot be null"); + } + else + { + this.DeletingTime = deletingTime; + } + // to ensure "newExpirationDate" is required (not null) + if (newExpirationDate == null) + { + throw new InvalidDataException("newExpirationDate is a required property for ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest and cannot be null"); + } + else + { + this.NewExpirationDate = newExpirationDate; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The Layaway which should be used to create the extend expiration date transaction out of it.</p> + /// + /// <p>The Layaway which should be used to create the extend expiration date transaction out of it.</p> + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>Count of valid days.</p> + /// + /// <p>Count of valid days.</p> + [DataMember(Name="layawayValidDays", EmitDefaultValue=false)] + public int? LayawayValidDays { get; set; } + + /// + /// <p>Count of payment days.</p> + /// + /// <p>Count of payment days.</p> + [DataMember(Name="paymentDays", EmitDefaultValue=false)] + public int? PaymentDays { get; set; } + + /// + /// <p>Time after expiration Layway can shipped.</p> + /// + /// <p>Time after expiration Layway can shipped.</p> + [DataMember(Name="toleranceTime", EmitDefaultValue=false)] + public int? ToleranceTime { get; set; } + + /// + /// <p>Time when Layaway will be deleted if expired.</p> + /// + /// <p>Time when Layaway will be deleted if expired.</p> + [DataMember(Name="deletingTime", EmitDefaultValue=false)] + public int? DeletingTime { get; set; } + + /// + /// <p>Time when Layaway will be expired. Substitutes defined expiration date on Layaway creation.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Time when Layaway will be expired. Substitutes defined expiration date on Layaway creation.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="newExpirationDate", EmitDefaultValue=false)] + public string NewExpirationDate { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest {\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" LayawayValidDays: ").Append(LayawayValidDays).Append("\n"); + sb.Append(" PaymentDays: ").Append(PaymentDays).Append("\n"); + sb.Append(" ToleranceTime: ").Append(ToleranceTime).Append("\n"); + sb.Append(" DeletingTime: ").Append(DeletingTime).Append("\n"); + sb.Append(" NewExpirationDate: ").Append(NewExpirationDate).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.LayawayValidDays == input.LayawayValidDays || + (this.LayawayValidDays != null && + this.LayawayValidDays.Equals(input.LayawayValidDays)) + ) && + ( + this.PaymentDays == input.PaymentDays || + (this.PaymentDays != null && + this.PaymentDays.Equals(input.PaymentDays)) + ) && + ( + this.ToleranceTime == input.ToleranceTime || + (this.ToleranceTime != null && + this.ToleranceTime.Equals(input.ToleranceTime)) + ) && + ( + this.DeletingTime == input.DeletingTime || + (this.DeletingTime != null && + this.DeletingTime.Equals(input.DeletingTime)) + ) && + ( + this.NewExpirationDate == input.NewExpirationDate || + (this.NewExpirationDate != null && + this.NewExpirationDate.Equals(input.NewExpirationDate)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.LayawayValidDays != null) + hashCode = hashCode * 59 + this.LayawayValidDays.GetHashCode(); + if (this.PaymentDays != null) + hashCode = hashCode * 59 + this.PaymentDays.GetHashCode(); + if (this.ToleranceTime != null) + hashCode = hashCode * 59 + this.ToleranceTime.GetHashCode(); + if (this.DeletingTime != null) + hashCode = hashCode * 59 + this.DeletingTime.GetHashCode(); + if (this.NewExpirationDate != null) + hashCode = hashCode * 59 + this.NewExpirationDate.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..01a3f5e24983107a9a7f47bfa848cf344ed2254b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreatePartialVoidTransactionRequest <p>The entity CreatePartialVoidTransactionRequest.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Layaway is a data object to hold attributes for layaway process </p> (required). + /// <p>List of partial void line item information which holds the selection (quantity) data</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), List lineItemInfoList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + // to ensure "lineItemInfoList" is required (not null) + if (lineItemInfoList == null) + { + throw new InvalidDataException("lineItemInfoList is a required property for ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest and cannot be null"); + } + else + { + this.LineItemInfoList = lineItemInfoList; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Layaway is a data object to hold attributes for layaway process </p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process </p> + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>List of partial void line item information which holds the selection (quantity) data</p> + /// + /// <p>List of partial void line item information which holds the selection (quantity) data</p> + [DataMember(Name="lineItemInfoList", EmitDefaultValue=false)] + public List LineItemInfoList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest {\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" LineItemInfoList: ").Append(LineItemInfoList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.LineItemInfoList == input.LineItemInfoList || + this.LineItemInfoList != null && + this.LineItemInfoList.SequenceEqual(input.LineItemInfoList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.LineItemInfoList != null) + hashCode = hashCode * 59 + this.LineItemInfoList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..875b86ad903f42438d72c8ea779f0df9aa630c03 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest.cs @@ -0,0 +1,427 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateRetrieveMoneyTransactionRequest <p>The entity CreateRetrieveMoneyTransactionRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> (required). + /// <p>The receipt text for DownPayment LineItem.</p>. + /// <p>The receipt text for Fee LineItem.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), string downPaymentReceiptText = default(string), string penaltyFeeReceiptText = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + this.DownPaymentReceiptText = downPaymentReceiptText; + this.PenaltyFeeReceiptText = penaltyFeeReceiptText; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>The receipt text for DownPayment LineItem.</p> + /// + /// <p>The receipt text for DownPayment LineItem.</p> + [DataMember(Name="downPaymentReceiptText", EmitDefaultValue=false)] + public string DownPaymentReceiptText { get; set; } + + /// + /// <p>The receipt text for Fee LineItem.</p> + /// + /// <p>The receipt text for Fee LineItem.</p> + [DataMember(Name="penaltyFeeReceiptText", EmitDefaultValue=false)] + public string PenaltyFeeReceiptText { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest {\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" DownPaymentReceiptText: ").Append(DownPaymentReceiptText).Append("\n"); + sb.Append(" PenaltyFeeReceiptText: ").Append(PenaltyFeeReceiptText).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.DownPaymentReceiptText == input.DownPaymentReceiptText || + (this.DownPaymentReceiptText != null && + this.DownPaymentReceiptText.Equals(input.DownPaymentReceiptText)) + ) && + ( + this.PenaltyFeeReceiptText == input.PenaltyFeeReceiptText || + (this.PenaltyFeeReceiptText != null && + this.PenaltyFeeReceiptText.Equals(input.PenaltyFeeReceiptText)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.DownPaymentReceiptText != null) + hashCode = hashCode * 59 + this.DownPaymentReceiptText.GetHashCode(); + if (this.PenaltyFeeReceiptText != null) + hashCode = hashCode * 59 + this.PenaltyFeeReceiptText.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8e7cc8244c2a550f68a4ed1a2db2b01506907b1d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DownPaymentAndFeeLineItemRequest <p>The entity DownPaymentAndFeeLineItemRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>initial down payment amount has to be paid.</p> (required). + /// <p>Service fee amount has to be paid.</p> (required). + /// <p>The receipt text for service fee line item.</p> (required). + /// <p>The receipt text for down payment line item.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest(double? downPaymentAmount = default(double?), double? serviceFeeAmount = default(double?), string serviceFeeReceiptText = default(string), string downPaymentReceiptText = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "downPaymentAmount" is required (not null) + if (downPaymentAmount == null) + { + throw new InvalidDataException("downPaymentAmount is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest and cannot be null"); + } + else + { + this.DownPaymentAmount = downPaymentAmount; + } + // to ensure "serviceFeeAmount" is required (not null) + if (serviceFeeAmount == null) + { + throw new InvalidDataException("serviceFeeAmount is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest and cannot be null"); + } + else + { + this.ServiceFeeAmount = serviceFeeAmount; + } + // to ensure "serviceFeeReceiptText" is required (not null) + if (serviceFeeReceiptText == null) + { + throw new InvalidDataException("serviceFeeReceiptText is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest and cannot be null"); + } + else + { + this.ServiceFeeReceiptText = serviceFeeReceiptText; + } + // to ensure "downPaymentReceiptText" is required (not null) + if (downPaymentReceiptText == null) + { + throw new InvalidDataException("downPaymentReceiptText is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest and cannot be null"); + } + else + { + this.DownPaymentReceiptText = downPaymentReceiptText; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>initial down payment amount has to be paid.</p> + /// + /// <p>initial down payment amount has to be paid.</p> + [DataMember(Name="downPaymentAmount", EmitDefaultValue=false)] + public double? DownPaymentAmount { get; set; } + + /// + /// <p>Service fee amount has to be paid.</p> + /// + /// <p>Service fee amount has to be paid.</p> + [DataMember(Name="serviceFeeAmount", EmitDefaultValue=false)] + public double? ServiceFeeAmount { get; set; } + + /// + /// <p>The receipt text for service fee line item.</p> + /// + /// <p>The receipt text for service fee line item.</p> + [DataMember(Name="serviceFeeReceiptText", EmitDefaultValue=false)] + public string ServiceFeeReceiptText { get; set; } + + /// + /// <p>The receipt text for down payment line item.</p> + /// + /// <p>The receipt text for down payment line item.</p> + [DataMember(Name="downPaymentReceiptText", EmitDefaultValue=false)] + public string DownPaymentReceiptText { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest {\n"); + sb.Append(" DownPaymentAmount: ").Append(DownPaymentAmount).Append("\n"); + sb.Append(" ServiceFeeAmount: ").Append(ServiceFeeAmount).Append("\n"); + sb.Append(" ServiceFeeReceiptText: ").Append(ServiceFeeReceiptText).Append("\n"); + sb.Append(" DownPaymentReceiptText: ").Append(DownPaymentReceiptText).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.DownPaymentAmount == input.DownPaymentAmount || + (this.DownPaymentAmount != null && + this.DownPaymentAmount.Equals(input.DownPaymentAmount)) + ) && + ( + this.ServiceFeeAmount == input.ServiceFeeAmount || + (this.ServiceFeeAmount != null && + this.ServiceFeeAmount.Equals(input.ServiceFeeAmount)) + ) && + ( + this.ServiceFeeReceiptText == input.ServiceFeeReceiptText || + (this.ServiceFeeReceiptText != null && + this.ServiceFeeReceiptText.Equals(input.ServiceFeeReceiptText)) + ) && + ( + this.DownPaymentReceiptText == input.DownPaymentReceiptText || + (this.DownPaymentReceiptText != null && + this.DownPaymentReceiptText.Equals(input.DownPaymentReceiptText)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DownPaymentAmount != null) + hashCode = hashCode * 59 + this.DownPaymentAmount.GetHashCode(); + if (this.ServiceFeeAmount != null) + hashCode = hashCode * 59 + this.ServiceFeeAmount.GetHashCode(); + if (this.ServiceFeeReceiptText != null) + hashCode = hashCode * 59 + this.ServiceFeeReceiptText.GetHashCode(); + if (this.DownPaymentReceiptText != null) + hashCode = hashCode * 59 + this.DownPaymentReceiptText.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..09748cd324e5165b651d9142a2c47f7c24df7c19 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DownPaymentTransactionRequest <p>The entity DownPaymentTransactionRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> (required). + /// <p>The parameter defines, if a negative or a positive down payment line item is created.</p> (required). + /// <p>The down payment amount</p> (required). + /// <p>The receipt text for down payment line item.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), bool? createDownpayment = default(bool?), double? downPaymentAmount = default(double?), string downPaymentReceiptText = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + // to ensure "createDownpayment" is required (not null) + if (createDownpayment == null) + { + throw new InvalidDataException("createDownpayment is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest and cannot be null"); + } + else + { + this.CreateDownpayment = createDownpayment; + } + // to ensure "downPaymentAmount" is required (not null) + if (downPaymentAmount == null) + { + throw new InvalidDataException("downPaymentAmount is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest and cannot be null"); + } + else + { + this.DownPaymentAmount = downPaymentAmount; + } + // to ensure "downPaymentReceiptText" is required (not null) + if (downPaymentReceiptText == null) + { + throw new InvalidDataException("downPaymentReceiptText is a required property for ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest and cannot be null"); + } + else + { + this.DownPaymentReceiptText = downPaymentReceiptText; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>The parameter defines, if a negative or a positive down payment line item is created.</p> + /// + /// <p>The parameter defines, if a negative or a positive down payment line item is created.</p> + [DataMember(Name="createDownpayment", EmitDefaultValue=false)] + public bool? CreateDownpayment { get; set; } + + /// + /// <p>The down payment amount</p> + /// + /// <p>The down payment amount</p> + [DataMember(Name="downPaymentAmount", EmitDefaultValue=false)] + public double? DownPaymentAmount { get; set; } + + /// + /// <p>The receipt text for down payment line item.</p> + /// + /// <p>The receipt text for down payment line item.</p> + [DataMember(Name="downPaymentReceiptText", EmitDefaultValue=false)] + public string DownPaymentReceiptText { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest {\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" CreateDownpayment: ").Append(CreateDownpayment).Append("\n"); + sb.Append(" DownPaymentAmount: ").Append(DownPaymentAmount).Append("\n"); + sb.Append(" DownPaymentReceiptText: ").Append(DownPaymentReceiptText).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.CreateDownpayment == input.CreateDownpayment || + (this.CreateDownpayment != null && + this.CreateDownpayment.Equals(input.CreateDownpayment)) + ) && + ( + this.DownPaymentAmount == input.DownPaymentAmount || + (this.DownPaymentAmount != null && + this.DownPaymentAmount.Equals(input.DownPaymentAmount)) + ) && + ( + this.DownPaymentReceiptText == input.DownPaymentReceiptText || + (this.DownPaymentReceiptText != null && + this.DownPaymentReceiptText.Equals(input.DownPaymentReceiptText)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.CreateDownpayment != null) + hashCode = hashCode * 59 + this.CreateDownpayment.GetHashCode(); + if (this.DownPaymentAmount != null) + hashCode = hashCode * 59 + this.DownPaymentAmount.GetHashCode(); + if (this.DownPaymentReceiptText != null) + hashCode = hashCode * 59 + this.DownPaymentReceiptText.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cae88afae1875147d73baa1c6cfcd09b2e1885f2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest.cs @@ -0,0 +1,462 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinalPaymentTransactionRequest <p>The entity FinalPaymentTransactionRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest : IEquatable, IValidatableObject + { + /// + /// <p>The parameter controls the promotion behavior for the final payment of the layaway. Possible values are: BEST_PRICE, INITIAL_PRICE, FINAL_PRICE (Default is BEST_PRICE).</p> + /// + /// <p>The parameter controls the promotion behavior for the final payment of the layaway. Possible values are: BEST_PRICE, INITIAL_PRICE, FINAL_PRICE (Default is BEST_PRICE).</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum PromotionHandlingEnum + { + + /// + /// Enum BESTPRICE for value: BEST_PRICE + /// + [EnumMember(Value = "BEST_PRICE")] + BESTPRICE = 1, + + /// + /// Enum INITIALPRICE for value: INITIAL_PRICE + /// + [EnumMember(Value = "INITIAL_PRICE")] + INITIALPRICE = 2, + + /// + /// Enum FINALPRICE for value: FINAL_PRICE + /// + [EnumMember(Value = "FINAL_PRICE")] + FINALPRICE = 3 + } + + /// + /// <p>The parameter controls the promotion behavior for the final payment of the layaway. Possible values are: BEST_PRICE, INITIAL_PRICE, FINAL_PRICE (Default is BEST_PRICE).</p> + /// + /// <p>The parameter controls the promotion behavior for the final payment of the layaway. Possible values are: BEST_PRICE, INITIAL_PRICE, FINAL_PRICE (Default is BEST_PRICE).</p> + [DataMember(Name="promotionHandling", EmitDefaultValue=false)] + public PromotionHandlingEnum? PromotionHandling { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> (required). + /// <p>The receipt text for down payment line item.</p> (required). + /// <p>The parameter controls the promotion behavior for the final payment of the layaway. Possible values are: BEST_PRICE, INITIAL_PRICE, FINAL_PRICE (Default is BEST_PRICE).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), string downPaymentReceiptText = default(string), PromotionHandlingEnum? promotionHandling = default(PromotionHandlingEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + // to ensure "downPaymentReceiptText" is required (not null) + if (downPaymentReceiptText == null) + { + throw new InvalidDataException("downPaymentReceiptText is a required property for ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest and cannot be null"); + } + else + { + this.DownPaymentReceiptText = downPaymentReceiptText; + } + this.PromotionHandling = promotionHandling; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>The receipt text for down payment line item.</p> + /// + /// <p>The receipt text for down payment line item.</p> + [DataMember(Name="downPaymentReceiptText", EmitDefaultValue=false)] + public string DownPaymentReceiptText { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest {\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" DownPaymentReceiptText: ").Append(DownPaymentReceiptText).Append("\n"); + sb.Append(" PromotionHandling: ").Append(PromotionHandling).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.DownPaymentReceiptText == input.DownPaymentReceiptText || + (this.DownPaymentReceiptText != null && + this.DownPaymentReceiptText.Equals(input.DownPaymentReceiptText)) + ) && + ( + this.PromotionHandling == input.PromotionHandling || + (this.PromotionHandling != null && + this.PromotionHandling.Equals(input.PromotionHandling)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.DownPaymentReceiptText != null) + hashCode = hashCode * 59 + this.DownPaymentReceiptText.GetHashCode(); + if (this.PromotionHandling != null) + hashCode = hashCode * 59 + this.PromotionHandling.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e7c22708df88ff6d9927f5ccbcd21a40d6c9d38b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindLayawayByCriteriaRequest <p>The entity FindLayawayByCriteriaRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The criterion which is used to find the layaway summary</p>. + /// <p>The criterion which is used to find the layaway summary</p>. + /// <p>aThe criterion which is used to find the layaway summary</p>. + /// <p>The criterion which is used to find the layaway summary</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The criterion which is used to find the layaway summary</p>. + /// <p>The criterion which is used to find the layaway summary</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest(string businessUnitId = default(string), string workstationId = default(string), string endWorkstationId = default(string), string businessDayDate = default(string), string sequenceNumber = default(string), string transactionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.WorkstationId = workstationId; + this.EndWorkstationId = endWorkstationId; + this.BusinessDayDate = businessDayDate; + this.SequenceNumber = sequenceNumber; + this.TransactionId = transactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>aThe criterion which is used to find the layaway summary</p> + /// + /// <p>aThe criterion which is used to find the layaway summary</p> + [DataMember(Name="endWorkstationId", EmitDefaultValue=false)] + public string EndWorkstationId { get; set; } + + /// + /// <p>The criterion which is used to find the layaway summary</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The criterion which is used to find the layaway summary</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="businessDayDate", EmitDefaultValue=false)] + public string BusinessDayDate { get; set; } + + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public string SequenceNumber { get; set; } + + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" EndWorkstationId: ").Append(EndWorkstationId).Append("\n"); + sb.Append(" BusinessDayDate: ").Append(BusinessDayDate).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.EndWorkstationId == input.EndWorkstationId || + (this.EndWorkstationId != null && + this.EndWorkstationId.Equals(input.EndWorkstationId)) + ) && + ( + this.BusinessDayDate == input.BusinessDayDate || + (this.BusinessDayDate != null && + this.BusinessDayDate.Equals(input.BusinessDayDate)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.EndWorkstationId != null) + hashCode = hashCode * 59 + this.EndWorkstationId.GetHashCode(); + if (this.BusinessDayDate != null) + hashCode = hashCode * 59 + this.BusinessDayDate.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..36b44a0127d9d9144fe823c48f742db5bed4d598 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindLayawayByCriteriaResponse <p>The entity FindLayawayByCriteriaResponse</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse(ComGkSoftwareGkrApiLayawayDtoLayawaySummary layawaySummary = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LayawaySummary = layawaySummary; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + [DataMember(Name="layawaySummary", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary LayawaySummary { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse {\n"); + sb.Append(" LayawaySummary: ").Append(LayawaySummary).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse input) + { + if (input == null) + return false; + + return + ( + this.LayawaySummary == input.LayawaySummary || + (this.LayawaySummary != null && + this.LayawaySummary.Equals(input.LayawaySummary)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LayawaySummary != null) + hashCode = hashCode * 59 + this.LayawaySummary.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d054df08ae2631a4acb0cf8f59cc147d14bc64af --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindLayawayListByCriteriaRequest <p>The entity FindLayawayListByCriteriaRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit ID which is used to find the layaway summary</p>. + /// <p>Whether to include suspended layaways in the search</p>. + /// <p>Whether to include terminated layaways in the search</p>. + /// <p>Whether to include fulfilled layaways in the search</p>. + /// <p>Whether to include voided layaways in the search</p>. + /// <p>Whether to include expired layaways in the search</p>. + /// <p>The customer ID which is used to find the layaway summary</p>. + /// <p>The address type code of the customer which is used to find the layaway summary</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest(string businessUnitId = default(string), bool? suspended = default(bool?), bool? terminated = default(bool?), bool? fulfilled = default(bool?), bool? voided = default(bool?), bool? expired = default(bool?), string customerId = default(string), string customerAddressTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.Suspended = suspended; + this.Terminated = terminated; + this.Fulfilled = fulfilled; + this.Voided = voided; + this.Expired = expired; + this.CustomerId = customerId; + this.CustomerAddressTypeCode = customerAddressTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit ID which is used to find the layaway summary</p> + /// + /// <p>The business unit ID which is used to find the layaway summary</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>Whether to include suspended layaways in the search</p> + /// + /// <p>Whether to include suspended layaways in the search</p> + [DataMember(Name="suspended", EmitDefaultValue=false)] + public bool? Suspended { get; set; } + + /// + /// <p>Whether to include terminated layaways in the search</p> + /// + /// <p>Whether to include terminated layaways in the search</p> + [DataMember(Name="terminated", EmitDefaultValue=false)] + public bool? Terminated { get; set; } + + /// + /// <p>Whether to include fulfilled layaways in the search</p> + /// + /// <p>Whether to include fulfilled layaways in the search</p> + [DataMember(Name="fulfilled", EmitDefaultValue=false)] + public bool? Fulfilled { get; set; } + + /// + /// <p>Whether to include voided layaways in the search</p> + /// + /// <p>Whether to include voided layaways in the search</p> + [DataMember(Name="voided", EmitDefaultValue=false)] + public bool? Voided { get; set; } + + /// + /// <p>Whether to include expired layaways in the search</p> + /// + /// <p>Whether to include expired layaways in the search</p> + [DataMember(Name="expired", EmitDefaultValue=false)] + public bool? Expired { get; set; } + + /// + /// <p>The customer ID which is used to find the layaway summary</p> + /// + /// <p>The customer ID which is used to find the layaway summary</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The address type code of the customer which is used to find the layaway summary</p> + /// + /// <p>The address type code of the customer which is used to find the layaway summary</p> + [DataMember(Name="customerAddressTypeCode", EmitDefaultValue=false)] + public string CustomerAddressTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" Suspended: ").Append(Suspended).Append("\n"); + sb.Append(" Terminated: ").Append(Terminated).Append("\n"); + sb.Append(" Fulfilled: ").Append(Fulfilled).Append("\n"); + sb.Append(" Voided: ").Append(Voided).Append("\n"); + sb.Append(" Expired: ").Append(Expired).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" CustomerAddressTypeCode: ").Append(CustomerAddressTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.Suspended == input.Suspended || + (this.Suspended != null && + this.Suspended.Equals(input.Suspended)) + ) && + ( + this.Terminated == input.Terminated || + (this.Terminated != null && + this.Terminated.Equals(input.Terminated)) + ) && + ( + this.Fulfilled == input.Fulfilled || + (this.Fulfilled != null && + this.Fulfilled.Equals(input.Fulfilled)) + ) && + ( + this.Voided == input.Voided || + (this.Voided != null && + this.Voided.Equals(input.Voided)) + ) && + ( + this.Expired == input.Expired || + (this.Expired != null && + this.Expired.Equals(input.Expired)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.CustomerAddressTypeCode == input.CustomerAddressTypeCode || + (this.CustomerAddressTypeCode != null && + this.CustomerAddressTypeCode.Equals(input.CustomerAddressTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.Suspended != null) + hashCode = hashCode * 59 + this.Suspended.GetHashCode(); + if (this.Terminated != null) + hashCode = hashCode * 59 + this.Terminated.GetHashCode(); + if (this.Fulfilled != null) + hashCode = hashCode * 59 + this.Fulfilled.GetHashCode(); + if (this.Voided != null) + hashCode = hashCode * 59 + this.Voided.GetHashCode(); + if (this.Expired != null) + hashCode = hashCode * 59 + this.Expired.GetHashCode(); + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.CustomerAddressTypeCode != null) + hashCode = hashCode * 59 + this.CustomerAddressTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..3c9672f1a6abcc2e309cd22ec6451d33a0f14e54 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindLayawayListByCriteriaResponse <p>The entity FindLayawayListByCriteriaResponse</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>All matching layaway data objects holding attributes for layaway process</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse(List layawaySummaryList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LayawaySummaryList = layawaySummaryList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>All matching layaway data objects holding attributes for layaway process</p> + /// + /// <p>All matching layaway data objects holding attributes for layaway process</p> + [DataMember(Name="layawaySummaryList", EmitDefaultValue=false)] + public List LayawaySummaryList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse {\n"); + sb.Append(" LayawaySummaryList: ").Append(LayawaySummaryList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse input) + { + if (input == null) + return false; + + return + ( + this.LayawaySummaryList == input.LayawaySummaryList || + this.LayawaySummaryList != null && + this.LayawaySummaryList.SequenceEqual(input.LayawaySummaryList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LayawaySummaryList != null) + hashCode = hashCode * 59 + this.LayawaySummaryList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd68a1acffcb41694e0647aaba082d7be1288b23 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// OpenScopedTxForLayawayRequest <p>The entity OpenScopedTxForLayawayRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The scope which should be used for the scoped transaction.</p> (required). + /// <p>The layaway which should be used to create the scoped transaction out of it.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest(string scope = default(string), ComGkSoftwareGkrApiLayawayDtoLayawaySummary layaway = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "scope" is required (not null) + if (scope == null) + { + throw new InvalidDataException("scope is a required property for ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest and cannot be null"); + } + else + { + this.Scope = scope; + } + // to ensure "layaway" is required (not null) + if (layaway == null) + { + throw new InvalidDataException("layaway is a required property for ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest and cannot be null"); + } + else + { + this.Layaway = layaway; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The scope which should be used for the scoped transaction.</p> + /// + /// <p>The scope which should be used for the scoped transaction.</p> + [DataMember(Name="scope", EmitDefaultValue=false)] + public string Scope { get; set; } + + /// + /// <p>The layaway which should be used to create the scoped transaction out of it.</p> + /// + /// <p>The layaway which should be used to create the scoped transaction out of it.</p> + [DataMember(Name="layaway", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary Layaway { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest {\n"); + sb.Append(" Scope: ").Append(Scope).Append("\n"); + sb.Append(" Layaway: ").Append(Layaway).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest input) + { + if (input == null) + return false; + + return + ( + this.Scope == input.Scope || + (this.Scope != null && + this.Scope.Equals(input.Scope)) + ) && + ( + this.Layaway == input.Layaway || + (this.Layaway != null && + this.Layaway.Equals(input.Layaway)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Scope != null) + hashCode = hashCode * 59 + this.Scope.GetHashCode(); + if (this.Layaway != null) + hashCode = hashCode * 59 + this.Layaway.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..9252431deaf218eb3c2e4afaee013e4d8c9336e3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PartialVoidLineItemInfo <p>The entity for holding information about the original line item from layaway (sequence number) and the selected 'for void' quantity</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Original sequence number of the line item in the layaway </p> (required). + /// <p>Selected quantity which should be voided vor the line item</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo(int? lineItemSequenceNumber = default(int?), double? voidQuantity = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "lineItemSequenceNumber" is required (not null) + if (lineItemSequenceNumber == null) + { + throw new InvalidDataException("lineItemSequenceNumber is a required property for ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo and cannot be null"); + } + else + { + this.LineItemSequenceNumber = lineItemSequenceNumber; + } + // to ensure "voidQuantity" is required (not null) + if (voidQuantity == null) + { + throw new InvalidDataException("voidQuantity is a required property for ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo and cannot be null"); + } + else + { + this.VoidQuantity = voidQuantity; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Original sequence number of the line item in the layaway </p> + /// + /// <p>Original sequence number of the line item in the layaway </p> + [DataMember(Name="lineItemSequenceNumber", EmitDefaultValue=false)] + public int? LineItemSequenceNumber { get; set; } + + /// + /// <p>Selected quantity which should be voided vor the line item</p> + /// + /// <p>Selected quantity which should be voided vor the line item</p> + [DataMember(Name="voidQuantity", EmitDefaultValue=false)] + public double? VoidQuantity { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo {\n"); + sb.Append(" LineItemSequenceNumber: ").Append(LineItemSequenceNumber).Append("\n"); + sb.Append(" VoidQuantity: ").Append(VoidQuantity).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo input) + { + if (input == null) + return false; + + return + ( + this.LineItemSequenceNumber == input.LineItemSequenceNumber || + (this.LineItemSequenceNumber != null && + this.LineItemSequenceNumber.Equals(input.LineItemSequenceNumber)) + ) && + ( + this.VoidQuantity == input.VoidQuantity || + (this.VoidQuantity != null && + this.VoidQuantity.Equals(input.VoidQuantity)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.LineItemSequenceNumber.GetHashCode(); + if (this.VoidQuantity != null) + hashCode = hashCode * 59 + this.VoidQuantity.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a99d8be3bfa3f24f27744289568386f25d853220 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PaymentPlanRequest <p>Request of a Calculation of Payment Plan</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Count of valid Days.</p>. + /// <p>Count of payment Days.</p>. + /// <p>Time after expiration layway can shipped.</p>. + /// <p>Time when Layaway will be deleted if expired.</p>. + /// <p>Fee Percent for cancellation a Layaway.</p>. + /// <p>Fee Amount for cancellation a Layaway.</p>. + /// <p>penalty fee percent if layway expired or cancelled.</p>. + /// <p>penalty fee amount if layway expired or cancelled.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest(int? layawayValidDays = default(int?), int? paymentDays = default(int?), int? toleranceTime = default(int?), int? deletingTime = default(int?), double? cancellationFeePercent = default(double?), double? cancellationFeeAmount = default(double?), double? penaltyFeePercent = default(double?), double? penaltyFeeAmount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LayawayValidDays = layawayValidDays; + this.PaymentDays = paymentDays; + this.ToleranceTime = toleranceTime; + this.DeletingTime = deletingTime; + this.CancellationFeePercent = cancellationFeePercent; + this.CancellationFeeAmount = cancellationFeeAmount; + this.PenaltyFeePercent = penaltyFeePercent; + this.PenaltyFeeAmount = penaltyFeeAmount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Count of valid Days.</p> + /// + /// <p>Count of valid Days.</p> + [DataMember(Name="layawayValidDays", EmitDefaultValue=false)] + public int? LayawayValidDays { get; set; } + + /// + /// <p>Count of payment Days.</p> + /// + /// <p>Count of payment Days.</p> + [DataMember(Name="paymentDays", EmitDefaultValue=false)] + public int? PaymentDays { get; set; } + + /// + /// <p>Time after expiration layway can shipped.</p> + /// + /// <p>Time after expiration layway can shipped.</p> + [DataMember(Name="toleranceTime", EmitDefaultValue=false)] + public int? ToleranceTime { get; set; } + + /// + /// <p>Time when Layaway will be deleted if expired.</p> + /// + /// <p>Time when Layaway will be deleted if expired.</p> + [DataMember(Name="deletingTime", EmitDefaultValue=false)] + public int? DeletingTime { get; set; } + + /// + /// <p>Fee Percent for cancellation a Layaway.</p> + /// + /// <p>Fee Percent for cancellation a Layaway.</p> + [DataMember(Name="cancellationFeePercent", EmitDefaultValue=false)] + public double? CancellationFeePercent { get; set; } + + /// + /// <p>Fee Amount for cancellation a Layaway.</p> + /// + /// <p>Fee Amount for cancellation a Layaway.</p> + [DataMember(Name="cancellationFeeAmount", EmitDefaultValue=false)] + public double? CancellationFeeAmount { get; set; } + + /// + /// <p>penalty fee percent if layway expired or cancelled.</p> + /// + /// <p>penalty fee percent if layway expired or cancelled.</p> + [DataMember(Name="penaltyFeePercent", EmitDefaultValue=false)] + public double? PenaltyFeePercent { get; set; } + + /// + /// <p>penalty fee amount if layway expired or cancelled.</p> + /// + /// <p>penalty fee amount if layway expired or cancelled.</p> + [DataMember(Name="penaltyFeeAmount", EmitDefaultValue=false)] + public double? PenaltyFeeAmount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest {\n"); + sb.Append(" LayawayValidDays: ").Append(LayawayValidDays).Append("\n"); + sb.Append(" PaymentDays: ").Append(PaymentDays).Append("\n"); + sb.Append(" ToleranceTime: ").Append(ToleranceTime).Append("\n"); + sb.Append(" DeletingTime: ").Append(DeletingTime).Append("\n"); + sb.Append(" CancellationFeePercent: ").Append(CancellationFeePercent).Append("\n"); + sb.Append(" CancellationFeeAmount: ").Append(CancellationFeeAmount).Append("\n"); + sb.Append(" PenaltyFeePercent: ").Append(PenaltyFeePercent).Append("\n"); + sb.Append(" PenaltyFeeAmount: ").Append(PenaltyFeeAmount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest input) + { + if (input == null) + return false; + + return + ( + this.LayawayValidDays == input.LayawayValidDays || + (this.LayawayValidDays != null && + this.LayawayValidDays.Equals(input.LayawayValidDays)) + ) && + ( + this.PaymentDays == input.PaymentDays || + (this.PaymentDays != null && + this.PaymentDays.Equals(input.PaymentDays)) + ) && + ( + this.ToleranceTime == input.ToleranceTime || + (this.ToleranceTime != null && + this.ToleranceTime.Equals(input.ToleranceTime)) + ) && + ( + this.DeletingTime == input.DeletingTime || + (this.DeletingTime != null && + this.DeletingTime.Equals(input.DeletingTime)) + ) && + ( + this.CancellationFeePercent == input.CancellationFeePercent || + (this.CancellationFeePercent != null && + this.CancellationFeePercent.Equals(input.CancellationFeePercent)) + ) && + ( + this.CancellationFeeAmount == input.CancellationFeeAmount || + (this.CancellationFeeAmount != null && + this.CancellationFeeAmount.Equals(input.CancellationFeeAmount)) + ) && + ( + this.PenaltyFeePercent == input.PenaltyFeePercent || + (this.PenaltyFeePercent != null && + this.PenaltyFeePercent.Equals(input.PenaltyFeePercent)) + ) && + ( + this.PenaltyFeeAmount == input.PenaltyFeeAmount || + (this.PenaltyFeeAmount != null && + this.PenaltyFeeAmount.Equals(input.PenaltyFeeAmount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LayawayValidDays != null) + hashCode = hashCode * 59 + this.LayawayValidDays.GetHashCode(); + if (this.PaymentDays != null) + hashCode = hashCode * 59 + this.PaymentDays.GetHashCode(); + if (this.ToleranceTime != null) + hashCode = hashCode * 59 + this.ToleranceTime.GetHashCode(); + if (this.DeletingTime != null) + hashCode = hashCode * 59 + this.DeletingTime.GetHashCode(); + if (this.CancellationFeePercent != null) + hashCode = hashCode * 59 + this.CancellationFeePercent.GetHashCode(); + if (this.CancellationFeeAmount != null) + hashCode = hashCode * 59 + this.CancellationFeeAmount.GetHashCode(); + if (this.PenaltyFeePercent != null) + hashCode = hashCode * 59 + this.PenaltyFeePercent.GetHashCode(); + if (this.PenaltyFeeAmount != null) + hashCode = hashCode * 59 + this.PenaltyFeeAmount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPaymentPlanResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPaymentPlanResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..87f31703688db4ba3dcc1ffc0e5d12a8de2b0e49 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayPaymentPlanResult.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PaymentPlanResult <p>empty Result, plan is inside transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayPaymentPlanResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayPaymentPlanResult(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayPaymentPlanResult {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayPaymentPlanResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayPaymentPlanResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayPaymentPlanResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayPaymentPlanResult input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..eabca075ea17984cb6e3b4310b68ff2136d805ef --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ValidateLayawayRequest <p>The Entity ValidateLayawayRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The process from which the validation is called</p>. + /// <p>Layaway is a data object to hold attributes for layaway process</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest(string callingFunction = default(string), ComGkSoftwareGkrApiLayawayDtoLayawaySummary layawaySummary = default(ComGkSoftwareGkrApiLayawayDtoLayawaySummary), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CallingFunction = callingFunction; + this.LayawaySummary = layawaySummary; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The process from which the validation is called</p> + /// + /// <p>The process from which the validation is called</p> + [DataMember(Name="callingFunction", EmitDefaultValue=false)] + public string CallingFunction { get; set; } + + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + [DataMember(Name="layawaySummary", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLayawayDtoLayawaySummary LayawaySummary { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest {\n"); + sb.Append(" CallingFunction: ").Append(CallingFunction).Append("\n"); + sb.Append(" LayawaySummary: ").Append(LayawaySummary).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest input) + { + if (input == null) + return false; + + return + ( + this.CallingFunction == input.CallingFunction || + (this.CallingFunction != null && + this.CallingFunction.Equals(input.CallingFunction)) + ) && + ( + this.LayawaySummary == input.LayawaySummary || + (this.LayawaySummary != null && + this.LayawaySummary.Equals(input.LayawaySummary)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CallingFunction != null) + hashCode = hashCode * 59 + this.CallingFunction.GetHashCode(); + if (this.LayawaySummary != null) + hashCode = hashCode * 59 + this.LayawaySummary.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..17cecaa840516a1f064747468c5d304e5d295055 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PointsRequest <p>The entity PointsRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: account ID</p>. + /// <p>double: points</p>. + /// <p>String: store ID</p>. + /// <p>String: transaction ID</p>. + /// <p>Indicates whether service should be called in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest(string accountID = default(string), double? points = default(double?), string storeID = default(string), string transactionID = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.AccountID = accountID; + this.Points = points; + this.StoreID = storeID; + this.TransactionID = transactionID; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: account ID</p> + /// + /// <p>String: account ID</p> + [DataMember(Name="accountID", EmitDefaultValue=false)] + public string AccountID { get; set; } + + /// + /// <p>double: points</p> + /// + /// <p>double: points</p> + [DataMember(Name="points", EmitDefaultValue=false)] + public double? Points { get; set; } + + /// + /// <p>String: store ID</p> + /// + /// <p>String: store ID</p> + [DataMember(Name="storeID", EmitDefaultValue=false)] + public string StoreID { get; set; } + + /// + /// <p>String: transaction ID</p> + /// + /// <p>String: transaction ID</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>Indicates whether service should be called in training mode.</p> + /// + /// <p>Indicates whether service should be called in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest {\n"); + sb.Append(" AccountID: ").Append(AccountID).Append("\n"); + sb.Append(" Points: ").Append(Points).Append("\n"); + sb.Append(" StoreID: ").Append(StoreID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest input) + { + if (input == null) + return false; + + return + ( + this.AccountID == input.AccountID || + (this.AccountID != null && + this.AccountID.Equals(input.AccountID)) + ) && + ( + this.Points == input.Points || + (this.Points != null && + this.Points.Equals(input.Points)) + ) && + ( + this.StoreID == input.StoreID || + (this.StoreID != null && + this.StoreID.Equals(input.StoreID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AccountID != null) + hashCode = hashCode * 59 + this.AccountID.GetHashCode(); + if (this.Points != null) + hashCode = hashCode * 59 + this.Points.GetHashCode(); + if (this.StoreID != null) + hashCode = hashCode * 59 + this.StoreID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..af9f68663caa10c1459b61a6e1d8c4045111047b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest.cs @@ -0,0 +1,395 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BaseClientMasterDataRequest <p>String: business unit iD<br /> BusinessUnitTextRequest: BusinessUnitTextRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// businessUnitId. + /// businessUnitTextFooterLinesRequest. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest(string businessUnitId = default(string), ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest businessUnitTextFooterLinesRequest = default(ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.BusinessUnitTextFooterLinesRequest = businessUnitTextFooterLinesRequest; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets BusinessUnitId + /// + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// Gets or Sets BusinessUnitTextFooterLinesRequest + /// + [DataMember(Name="businessUnitTextFooterLinesRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest BusinessUnitTextFooterLinesRequest { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" BusinessUnitTextFooterLinesRequest: ").Append(BusinessUnitTextFooterLinesRequest).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.BusinessUnitTextFooterLinesRequest == input.BusinessUnitTextFooterLinesRequest || + (this.BusinessUnitTextFooterLinesRequest != null && + this.BusinessUnitTextFooterLinesRequest.Equals(input.BusinessUnitTextFooterLinesRequest)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.BusinessUnitTextFooterLinesRequest != null) + hashCode = hashCode * 59 + this.BusinessUnitTextFooterLinesRequest.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..91edfa9590658e4d0db2fa8d155dd22abbec8c7d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BaseClientMasterDataResult TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// tenderDOs. + /// baseCurrency. + /// currencies. + /// exchangeRates. + /// businessUnitTextFooterLines. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult(List tenderDOs = default(List), ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO baseCurrency = default(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO), List currencies = default(List), Dictionary exchangeRates = default(Dictionary), List businessUnitTextFooterLines = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TenderDOs = tenderDOs; + this.BaseCurrency = baseCurrency; + this.Currencies = currencies; + this.ExchangeRates = exchangeRates; + this.BusinessUnitTextFooterLines = businessUnitTextFooterLines; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets TenderDOs + /// + [DataMember(Name="tenderDOs", EmitDefaultValue=false)] + public List TenderDOs { get; set; } + + /// + /// Gets or Sets BaseCurrency + /// + [DataMember(Name="baseCurrency", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO BaseCurrency { get; set; } + + /// + /// Gets or Sets Currencies + /// + [DataMember(Name="currencies", EmitDefaultValue=false)] + public List Currencies { get; set; } + + /// + /// Gets or Sets ExchangeRates + /// + [DataMember(Name="exchangeRates", EmitDefaultValue=false)] + public Dictionary ExchangeRates { get; set; } + + /// + /// Gets or Sets BusinessUnitTextFooterLines + /// + [DataMember(Name="businessUnitTextFooterLines", EmitDefaultValue=false)] + public List BusinessUnitTextFooterLines { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult {\n"); + sb.Append(" TenderDOs: ").Append(TenderDOs).Append("\n"); + sb.Append(" BaseCurrency: ").Append(BaseCurrency).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append(" ExchangeRates: ").Append(ExchangeRates).Append("\n"); + sb.Append(" BusinessUnitTextFooterLines: ").Append(BusinessUnitTextFooterLines).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult input) + { + if (input == null) + return false; + + return + ( + this.TenderDOs == input.TenderDOs || + this.TenderDOs != null && + this.TenderDOs.SequenceEqual(input.TenderDOs) + ) && + ( + this.BaseCurrency == input.BaseCurrency || + (this.BaseCurrency != null && + this.BaseCurrency.Equals(input.BaseCurrency)) + ) && + ( + this.Currencies == input.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(input.Currencies) + ) && + ( + this.ExchangeRates == input.ExchangeRates || + this.ExchangeRates != null && + this.ExchangeRates.SequenceEqual(input.ExchangeRates) + ) && + ( + this.BusinessUnitTextFooterLines == input.BusinessUnitTextFooterLines || + this.BusinessUnitTextFooterLines != null && + this.BusinessUnitTextFooterLines.SequenceEqual(input.BusinessUnitTextFooterLines) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderDOs != null) + hashCode = hashCode * 59 + this.TenderDOs.GetHashCode(); + if (this.BaseCurrency != null) + hashCode = hashCode * 59 + this.BaseCurrency.GetHashCode(); + if (this.Currencies != null) + hashCode = hashCode * 59 + this.Currencies.GetHashCode(); + if (this.ExchangeRates != null) + hashCode = hashCode * 59 + this.ExchangeRates.GetHashCode(); + if (this.BusinessUnitTextFooterLines != null) + hashCode = hashCode * 59 + this.BusinessUnitTextFooterLines.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3c01b35503f0c12c5694ed75d54b460dfc667838 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitTextRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: business unit iD</p>. + /// <p>String: receipt text iD</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest(string businessUnitID = default(string), string receiptTextID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitID = businessUnitID; + this.ReceiptTextID = receiptTextID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: business unit iD</p> + /// + /// <p>String: business unit iD</p> + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// <p>String: receipt text iD</p> + /// + /// <p>String: receipt text iD</p> + [DataMember(Name="receiptTextID", EmitDefaultValue=false)] + public string ReceiptTextID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest {\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" ReceiptTextID: ").Append(ReceiptTextID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.ReceiptTextID == input.ReceiptTextID || + (this.ReceiptTextID != null && + this.ReceiptTextID.Equals(input.ReceiptTextID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.ReceiptTextID != null) + hashCode = hashCode * 59 + this.ReceiptTextID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..48e39a4e5ab4302604fcb86638a86c8223f673e9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitTextResponse <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of BusinessUnitTextDO: businessUnitTextDOs</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse(List businessUnitTextList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitTextList = businessUnitTextList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of BusinessUnitTextDO: businessUnitTextDOs</p> + /// + /// <p>List of BusinessUnitTextDO: businessUnitTextDOs</p> + [DataMember(Name="businessUnitTextList", EmitDefaultValue=false)] + public List BusinessUnitTextList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse {\n"); + sb.Append(" BusinessUnitTextList: ").Append(BusinessUnitTextList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitTextList == input.BusinessUnitTextList || + this.BusinessUnitTextList != null && + this.BusinessUnitTextList.SequenceEqual(input.BusinessUnitTextList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitTextList != null) + hashCode = hashCode * 59 + this.BusinessUnitTextList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5411e5bb95a2709e7f5c284074617369ebf6f64c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CurrencyRoundingRuleRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>long: business unit group id</p>. + /// <p>String: iso currency code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest(string businessUnitGroupId = default(string), string isoCurrencyCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupId = businessUnitGroupId; + this.IsoCurrencyCode = isoCurrencyCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>String: iso currency code</p> + /// + /// <p>String: iso currency code</p> + [DataMember(Name="isoCurrencyCode", EmitDefaultValue=false)] + public string IsoCurrencyCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" IsoCurrencyCode: ").Append(IsoCurrencyCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.IsoCurrencyCode == input.IsoCurrencyCode || + (this.IsoCurrencyCode != null && + this.IsoCurrencyCode.Equals(input.IsoCurrencyCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.IsoCurrencyCode != null) + hashCode = hashCode * 59 + this.IsoCurrencyCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..925e5d7ecf113c9032bd1242a86b3030a12ca6b3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerContactViewRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>CustomerContactFilter: customer contact filter</p>. + /// <p>int: max results count</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter customerContactFilter = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter), int? maxResultsCount = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "maxResultsCount" is required (not null) + if (maxResultsCount == null) + { + throw new InvalidDataException("maxResultsCount is a required property for ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest and cannot be null"); + } + else + { + this.MaxResultsCount = maxResultsCount; + } + this.CustomerContactFilter = customerContactFilter; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>CustomerContactFilter: customer contact filter</p> + /// + /// <p>CustomerContactFilter: customer contact filter</p> + [DataMember(Name="customerContactFilter", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter CustomerContactFilter { get; set; } + + /// + /// <p>int: max results count</p> + /// + /// <p>int: max results count</p> + [DataMember(Name="maxResultsCount", EmitDefaultValue=false)] + public int? MaxResultsCount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest {\n"); + sb.Append(" CustomerContactFilter: ").Append(CustomerContactFilter).Append("\n"); + sb.Append(" MaxResultsCount: ").Append(MaxResultsCount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerContactFilter == input.CustomerContactFilter || + (this.CustomerContactFilter != null && + this.CustomerContactFilter.Equals(input.CustomerContactFilter)) + ) && + ( + this.MaxResultsCount == input.MaxResultsCount || + (this.MaxResultsCount != null && + this.MaxResultsCount.Equals(input.MaxResultsCount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerContactFilter != null) + hashCode = hashCode * 59 + this.CustomerContactFilter.GetHashCode(); + if (this.MaxResultsCount != null) + hashCode = hashCode * 59 + this.MaxResultsCount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..82535475862bffc57d82acb6f9bea3aa1bcaa849 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerContactViewResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of CustomerContactView: customerContactViews</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult(List customerContactViews = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerContactViews = customerContactViews; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of CustomerContactView: customerContactViews</p> + /// + /// <p>List of CustomerContactView: customerContactViews</p> + [DataMember(Name="customerContactViews", EmitDefaultValue=false)] + public List CustomerContactViews { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult {\n"); + sb.Append(" CustomerContactViews: ").Append(CustomerContactViews).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult input) + { + if (input == null) + return false; + + return + ( + this.CustomerContactViews == input.CustomerContactViews || + this.CustomerContactViews != null && + this.CustomerContactViews.SequenceEqual(input.CustomerContactViews) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerContactViews != null) + hashCode = hashCode * 59 + this.CustomerContactViews.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..797fec117af020b57ed84124fa591ff6996e31ff --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataCustomerResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataCustomerResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of CustomerDO: customerDOs</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataCustomerResult(List customerDOs = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerDOs = customerDOs; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of CustomerDO: customerDOs</p> + /// + /// <p>List of CustomerDO: customerDOs</p> + [DataMember(Name="customerDOs", EmitDefaultValue=false)] + public List CustomerDOs { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataCustomerResult {\n"); + sb.Append(" CustomerDOs: ").Append(CustomerDOs).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataCustomerResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataCustomerResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataCustomerResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataCustomerResult input) + { + if (input == null) + return false; + + return + ( + this.CustomerDOs == input.CustomerDOs || + this.CustomerDOs != null && + this.CustomerDOs.SequenceEqual(input.CustomerDOs) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerDOs != null) + hashCode = hashCode * 59 + this.CustomerDOs.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataDenominationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataDenominationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d26251fbd9c6cdfe1d080bb7e58f23b181d597fd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataDenominationRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DenominationRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataDenominationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: denomination type code</p>. + /// <p>String: currency code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataDenominationRequest(string denominationTypeCode = default(string), string currencyCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.DenominationTypeCode = denominationTypeCode; + this.CurrencyCode = currencyCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: denomination type code</p> + /// + /// <p>String: denomination type code</p> + [DataMember(Name="denominationTypeCode", EmitDefaultValue=false)] + public string DenominationTypeCode { get; set; } + + /// + /// <p>String: currency code</p> + /// + /// <p>String: currency code</p> + [DataMember(Name="currencyCode", EmitDefaultValue=false)] + public string CurrencyCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataDenominationRequest {\n"); + sb.Append(" DenominationTypeCode: ").Append(DenominationTypeCode).Append("\n"); + sb.Append(" CurrencyCode: ").Append(CurrencyCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataDenominationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataDenominationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataDenominationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataDenominationRequest input) + { + if (input == null) + return false; + + return + ( + this.DenominationTypeCode == input.DenominationTypeCode || + (this.DenominationTypeCode != null && + this.DenominationTypeCode.Equals(input.DenominationTypeCode)) + ) && + ( + this.CurrencyCode == input.CurrencyCode || + (this.CurrencyCode != null && + this.CurrencyCode.Equals(input.CurrencyCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DenominationTypeCode != null) + hashCode = hashCode * 59 + this.DenominationTypeCode.GetHashCode(); + if (this.CurrencyCode != null) + hashCode = hashCode * 59 + this.CurrencyCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataDenominationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataDenominationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..312add6e848094660b577602320edf8fb47dbded --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataDenominationResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DenominationResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataDenominationResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of DenominationDO: denominationDOs</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataDenominationResult(List denominationDOs = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.DenominationDOs = denominationDOs; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of DenominationDO: denominationDOs</p> + /// + /// <p>List of DenominationDO: denominationDOs</p> + [DataMember(Name="denominationDOs", EmitDefaultValue=false)] + public List DenominationDOs { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataDenominationResult {\n"); + sb.Append(" DenominationDOs: ").Append(DenominationDOs).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataDenominationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataDenominationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataDenominationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataDenominationResult input) + { + if (input == null) + return false; + + return + ( + this.DenominationDOs == input.DenominationDOs || + this.DenominationDOs != null && + this.DenominationDOs.SequenceEqual(input.DenominationDOs) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DenominationDOs != null) + hashCode = hashCode * 59 + this.DenominationDOs.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..10dda70fe2585c5d2151e67c762ac2de2b55ef0b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest.cs @@ -0,0 +1,697 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemSearchRequest <p>Request object for searching specified item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>long: The unique identifier of the business unit group (store number).</p> (required). + /// <p>PosUOMItemSearchFilter: Filter for search view</p>. + /// <p>int: Limits the search by number</p> (required). + /// <p>boolean: It specifies whether search is limited to package items only.</p> (required). + /// <p>String: It defines the required unit of measure code of the displayed package units.</p>. + /// <p>boolean: Specifies whether the entered item is excluded from the selection.</p> (required). + /// <p>String: Specifies the text class Id.</p>. + /// <p>boolean: Specifies, whether the item search results should be cached globally (until replication data changes) in case global master data caching is activated via configuration. (check GlobalMasterDataCacheServiceConfig.cacheSize)</p> (required). + /// <p>String: Specifies the text itemName.</p>. + /// <p>String: Specifies the itemId.</p>. + /// <p>String: Specifies the itemMerchandiseHierarchyGroup.</p>. + /// <p>String: Specifies the itemNormalPrice.</p>. + /// <p>boolean: Specifies the setsOnly flag.</p>. + /// <p>String: Specifies the itemColor.</p>. + /// <p>String: Specifies the itemSize.</p>. + /// <p>String: Specifies the itemLength.</p>. + /// <p>String: Specifies the itemSeason.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest(string businessUnitGroupId = default(string), ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter filter = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter), int? recordCount = default(int?), bool? packageSelection = default(bool?), string requiredUomCode = default(string), bool? skipEnteredItem = default(bool?), string textClassId = default(string), bool? cacheEnabled = default(bool?), string itemName = default(string), string itemId = default(string), string itemMerchandiseHierarchyGroup = default(string), string itemNormalPrice = default(string), bool? setsOnly = default(bool?), string itemColor = default(string), string itemSize = default(string), string itemLength = default(string), string itemSeason = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "businessUnitGroupId" is required (not null) + if (businessUnitGroupId == null) + { + throw new InvalidDataException("businessUnitGroupId is a required property for ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest and cannot be null"); + } + else + { + this.BusinessUnitGroupId = businessUnitGroupId; + } + // to ensure "recordCount" is required (not null) + if (recordCount == null) + { + throw new InvalidDataException("recordCount is a required property for ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest and cannot be null"); + } + else + { + this.RecordCount = recordCount; + } + // to ensure "packageSelection" is required (not null) + if (packageSelection == null) + { + throw new InvalidDataException("packageSelection is a required property for ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest and cannot be null"); + } + else + { + this.PackageSelection = packageSelection; + } + // to ensure "skipEnteredItem" is required (not null) + if (skipEnteredItem == null) + { + throw new InvalidDataException("skipEnteredItem is a required property for ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest and cannot be null"); + } + else + { + this.SkipEnteredItem = skipEnteredItem; + } + // to ensure "cacheEnabled" is required (not null) + if (cacheEnabled == null) + { + throw new InvalidDataException("cacheEnabled is a required property for ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest and cannot be null"); + } + else + { + this.CacheEnabled = cacheEnabled; + } + this.Filter = filter; + this.RequiredUomCode = requiredUomCode; + this.TextClassId = textClassId; + this.ItemName = itemName; + this.ItemId = itemId; + this.ItemMerchandiseHierarchyGroup = itemMerchandiseHierarchyGroup; + this.ItemNormalPrice = itemNormalPrice; + this.SetsOnly = setsOnly; + this.ItemColor = itemColor; + this.ItemSize = itemSize; + this.ItemLength = itemLength; + this.ItemSeason = itemSeason; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long: The unique identifier of the business unit group (store number).</p> + /// + /// <p>long: The unique identifier of the business unit group (store number).</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>PosUOMItemSearchFilter: Filter for search view</p> + /// + /// <p>PosUOMItemSearchFilter: Filter for search view</p> + [DataMember(Name="filter", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter Filter { get; set; } + + /// + /// <p>int: Limits the search by number</p> + /// + /// <p>int: Limits the search by number</p> + [DataMember(Name="recordCount", EmitDefaultValue=false)] + public int? RecordCount { get; set; } + + /// + /// <p>boolean: It specifies whether search is limited to package items only.</p> + /// + /// <p>boolean: It specifies whether search is limited to package items only.</p> + [DataMember(Name="packageSelection", EmitDefaultValue=false)] + public bool? PackageSelection { get; set; } + + /// + /// <p>String: It defines the required unit of measure code of the displayed package units.</p> + /// + /// <p>String: It defines the required unit of measure code of the displayed package units.</p> + [DataMember(Name="requiredUomCode", EmitDefaultValue=false)] + public string RequiredUomCode { get; set; } + + /// + /// <p>boolean: Specifies whether the entered item is excluded from the selection.</p> + /// + /// <p>boolean: Specifies whether the entered item is excluded from the selection.</p> + [DataMember(Name="skipEnteredItem", EmitDefaultValue=false)] + public bool? SkipEnteredItem { get; set; } + + /// + /// <p>String: Specifies the text class Id.</p> + /// + /// <p>String: Specifies the text class Id.</p> + [DataMember(Name="textClassId", EmitDefaultValue=false)] + public string TextClassId { get; set; } + + /// + /// <p>boolean: Specifies, whether the item search results should be cached globally (until replication data changes) in case global master data caching is activated via configuration. (check GlobalMasterDataCacheServiceConfig.cacheSize)</p> + /// + /// <p>boolean: Specifies, whether the item search results should be cached globally (until replication data changes) in case global master data caching is activated via configuration. (check GlobalMasterDataCacheServiceConfig.cacheSize)</p> + [DataMember(Name="cacheEnabled", EmitDefaultValue=false)] + public bool? CacheEnabled { get; set; } + + /// + /// <p>String: Specifies the text itemName.</p> + /// + /// <p>String: Specifies the text itemName.</p> + [DataMember(Name="itemName", EmitDefaultValue=false)] + public string ItemName { get; set; } + + /// + /// <p>String: Specifies the itemId.</p> + /// + /// <p>String: Specifies the itemId.</p> + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// <p>String: Specifies the itemMerchandiseHierarchyGroup.</p> + /// + /// <p>String: Specifies the itemMerchandiseHierarchyGroup.</p> + [DataMember(Name="itemMerchandiseHierarchyGroup", EmitDefaultValue=false)] + public string ItemMerchandiseHierarchyGroup { get; set; } + + /// + /// <p>String: Specifies the itemNormalPrice.</p> + /// + /// <p>String: Specifies the itemNormalPrice.</p> + [DataMember(Name="itemNormalPrice", EmitDefaultValue=false)] + public string ItemNormalPrice { get; set; } + + /// + /// <p>boolean: Specifies the setsOnly flag.</p> + /// + /// <p>boolean: Specifies the setsOnly flag.</p> + [DataMember(Name="setsOnly", EmitDefaultValue=false)] + public bool? SetsOnly { get; set; } + + /// + /// <p>String: Specifies the itemColor.</p> + /// + /// <p>String: Specifies the itemColor.</p> + [DataMember(Name="itemColor", EmitDefaultValue=false)] + public string ItemColor { get; set; } + + /// + /// <p>String: Specifies the itemSize.</p> + /// + /// <p>String: Specifies the itemSize.</p> + [DataMember(Name="itemSize", EmitDefaultValue=false)] + public string ItemSize { get; set; } + + /// + /// <p>String: Specifies the itemLength.</p> + /// + /// <p>String: Specifies the itemLength.</p> + [DataMember(Name="itemLength", EmitDefaultValue=false)] + public string ItemLength { get; set; } + + /// + /// <p>String: Specifies the itemSeason.</p> + /// + /// <p>String: Specifies the itemSeason.</p> + [DataMember(Name="itemSeason", EmitDefaultValue=false)] + public string ItemSeason { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" Filter: ").Append(Filter).Append("\n"); + sb.Append(" RecordCount: ").Append(RecordCount).Append("\n"); + sb.Append(" PackageSelection: ").Append(PackageSelection).Append("\n"); + sb.Append(" RequiredUomCode: ").Append(RequiredUomCode).Append("\n"); + sb.Append(" SkipEnteredItem: ").Append(SkipEnteredItem).Append("\n"); + sb.Append(" TextClassId: ").Append(TextClassId).Append("\n"); + sb.Append(" CacheEnabled: ").Append(CacheEnabled).Append("\n"); + sb.Append(" ItemName: ").Append(ItemName).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" ItemMerchandiseHierarchyGroup: ").Append(ItemMerchandiseHierarchyGroup).Append("\n"); + sb.Append(" ItemNormalPrice: ").Append(ItemNormalPrice).Append("\n"); + sb.Append(" SetsOnly: ").Append(SetsOnly).Append("\n"); + sb.Append(" ItemColor: ").Append(ItemColor).Append("\n"); + sb.Append(" ItemSize: ").Append(ItemSize).Append("\n"); + sb.Append(" ItemLength: ").Append(ItemLength).Append("\n"); + sb.Append(" ItemSeason: ").Append(ItemSeason).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.Filter == input.Filter || + (this.Filter != null && + this.Filter.Equals(input.Filter)) + ) && + ( + this.RecordCount == input.RecordCount || + (this.RecordCount != null && + this.RecordCount.Equals(input.RecordCount)) + ) && + ( + this.PackageSelection == input.PackageSelection || + (this.PackageSelection != null && + this.PackageSelection.Equals(input.PackageSelection)) + ) && + ( + this.RequiredUomCode == input.RequiredUomCode || + (this.RequiredUomCode != null && + this.RequiredUomCode.Equals(input.RequiredUomCode)) + ) && + ( + this.SkipEnteredItem == input.SkipEnteredItem || + (this.SkipEnteredItem != null && + this.SkipEnteredItem.Equals(input.SkipEnteredItem)) + ) && + ( + this.TextClassId == input.TextClassId || + (this.TextClassId != null && + this.TextClassId.Equals(input.TextClassId)) + ) && + ( + this.CacheEnabled == input.CacheEnabled || + (this.CacheEnabled != null && + this.CacheEnabled.Equals(input.CacheEnabled)) + ) && + ( + this.ItemName == input.ItemName || + (this.ItemName != null && + this.ItemName.Equals(input.ItemName)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.ItemMerchandiseHierarchyGroup == input.ItemMerchandiseHierarchyGroup || + (this.ItemMerchandiseHierarchyGroup != null && + this.ItemMerchandiseHierarchyGroup.Equals(input.ItemMerchandiseHierarchyGroup)) + ) && + ( + this.ItemNormalPrice == input.ItemNormalPrice || + (this.ItemNormalPrice != null && + this.ItemNormalPrice.Equals(input.ItemNormalPrice)) + ) && + ( + this.SetsOnly == input.SetsOnly || + (this.SetsOnly != null && + this.SetsOnly.Equals(input.SetsOnly)) + ) && + ( + this.ItemColor == input.ItemColor || + (this.ItemColor != null && + this.ItemColor.Equals(input.ItemColor)) + ) && + ( + this.ItemSize == input.ItemSize || + (this.ItemSize != null && + this.ItemSize.Equals(input.ItemSize)) + ) && + ( + this.ItemLength == input.ItemLength || + (this.ItemLength != null && + this.ItemLength.Equals(input.ItemLength)) + ) && + ( + this.ItemSeason == input.ItemSeason || + (this.ItemSeason != null && + this.ItemSeason.Equals(input.ItemSeason)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.Filter != null) + hashCode = hashCode * 59 + this.Filter.GetHashCode(); + if (this.RecordCount != null) + hashCode = hashCode * 59 + this.RecordCount.GetHashCode(); + if (this.PackageSelection != null) + hashCode = hashCode * 59 + this.PackageSelection.GetHashCode(); + if (this.RequiredUomCode != null) + hashCode = hashCode * 59 + this.RequiredUomCode.GetHashCode(); + if (this.SkipEnteredItem != null) + hashCode = hashCode * 59 + this.SkipEnteredItem.GetHashCode(); + if (this.TextClassId != null) + hashCode = hashCode * 59 + this.TextClassId.GetHashCode(); + if (this.CacheEnabled != null) + hashCode = hashCode * 59 + this.CacheEnabled.GetHashCode(); + if (this.ItemName != null) + hashCode = hashCode * 59 + this.ItemName.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.ItemMerchandiseHierarchyGroup != null) + hashCode = hashCode * 59 + this.ItemMerchandiseHierarchyGroup.GetHashCode(); + if (this.ItemNormalPrice != null) + hashCode = hashCode * 59 + this.ItemNormalPrice.GetHashCode(); + if (this.SetsOnly != null) + hashCode = hashCode * 59 + this.SetsOnly.GetHashCode(); + if (this.ItemColor != null) + hashCode = hashCode * 59 + this.ItemColor.GetHashCode(); + if (this.ItemSize != null) + hashCode = hashCode * 59 + this.ItemSize.GetHashCode(); + if (this.ItemLength != null) + hashCode = hashCode * 59 + this.ItemLength.GetHashCode(); + if (this.ItemSeason != null) + hashCode = hashCode * 59 + this.ItemSeason.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..da06bd1391fae30b52ef3344ee3c8d242668119f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// InformationStockInfoRequest <p>Request object for requesting stock details for specified item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The pos item id.</p>. + /// <p>The business unit id (retail store id)</p>. + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest(List posItemIds = default(List), string buId = default(string), bool? skipMasterDataResolution = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PosItemIds = posItemIds; + this.BuId = buId; + this.SkipMasterDataResolution = skipMasterDataResolution; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The pos item id.</p> + /// + /// <p>The pos item id.</p> + [DataMember(Name="posItemIds", EmitDefaultValue=false)] + public List PosItemIds { get; set; } + + /// + /// <p>The business unit id (retail store id)</p> + /// + /// <p>The business unit id (retail store id)</p> + [DataMember(Name="buId", EmitDefaultValue=false)] + public string BuId { get; set; } + + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + [DataMember(Name="skipMasterDataResolution", EmitDefaultValue=false)] + public bool? SkipMasterDataResolution { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest {\n"); + sb.Append(" PosItemIds: ").Append(PosItemIds).Append("\n"); + sb.Append(" BuId: ").Append(BuId).Append("\n"); + sb.Append(" SkipMasterDataResolution: ").Append(SkipMasterDataResolution).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest input) + { + if (input == null) + return false; + + return + ( + this.PosItemIds == input.PosItemIds || + this.PosItemIds != null && + this.PosItemIds.SequenceEqual(input.PosItemIds) + ) && + ( + this.BuId == input.BuId || + (this.BuId != null && + this.BuId.Equals(input.BuId)) + ) && + ( + this.SkipMasterDataResolution == input.SkipMasterDataResolution || + (this.SkipMasterDataResolution != null && + this.SkipMasterDataResolution.Equals(input.SkipMasterDataResolution)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemIds != null) + hashCode = hashCode * 59 + this.PosItemIds.GetHashCode(); + if (this.BuId != null) + hashCode = hashCode * 59 + this.BuId.GetHashCode(); + if (this.SkipMasterDataResolution != null) + hashCode = hashCode * 59 + this.SkipMasterDataResolution.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..9995fdef7a1dabeec0193a31c18bf3b957bb99fe --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemInformationLoadConfig <p>Config that defines what item info needs to be loaded.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>An existing item information object that has to be added to.</p>. + /// <p>Defines whether general item info should be loaded.</p>. + /// <p>Defines whether stock info should be loaded.</p>. + /// <p>Defines whether additional item info should be loaded.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig(ComGkSoftwarePosApiModelDomAppItemInformationItemInformation itemInformation = default(ComGkSoftwarePosApiModelDomAppItemInformationItemInformation), bool? loadItemInfo = default(bool?), bool? loadStockInfo = default(bool?), bool? loadAdditionalInfo = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ItemInformation = itemInformation; + this.LoadItemInfo = loadItemInfo; + this.LoadStockInfo = loadStockInfo; + this.LoadAdditionalInfo = loadAdditionalInfo; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>An existing item information object that has to be added to.</p> + /// + /// <p>An existing item information object that has to be added to.</p> + [DataMember(Name="itemInformation", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppItemInformationItemInformation ItemInformation { get; set; } + + /// + /// <p>Defines whether general item info should be loaded.</p> + /// + /// <p>Defines whether general item info should be loaded.</p> + [DataMember(Name="loadItemInfo", EmitDefaultValue=false)] + public bool? LoadItemInfo { get; set; } + + /// + /// <p>Defines whether stock info should be loaded.</p> + /// + /// <p>Defines whether stock info should be loaded.</p> + [DataMember(Name="loadStockInfo", EmitDefaultValue=false)] + public bool? LoadStockInfo { get; set; } + + /// + /// <p>Defines whether additional item info should be loaded.</p> + /// + /// <p>Defines whether additional item info should be loaded.</p> + [DataMember(Name="loadAdditionalInfo", EmitDefaultValue=false)] + public bool? LoadAdditionalInfo { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig {\n"); + sb.Append(" ItemInformation: ").Append(ItemInformation).Append("\n"); + sb.Append(" LoadItemInfo: ").Append(LoadItemInfo).Append("\n"); + sb.Append(" LoadStockInfo: ").Append(LoadStockInfo).Append("\n"); + sb.Append(" LoadAdditionalInfo: ").Append(LoadAdditionalInfo).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig input) + { + if (input == null) + return false; + + return + ( + this.ItemInformation == input.ItemInformation || + (this.ItemInformation != null && + this.ItemInformation.Equals(input.ItemInformation)) + ) && + ( + this.LoadItemInfo == input.LoadItemInfo || + (this.LoadItemInfo != null && + this.LoadItemInfo.Equals(input.LoadItemInfo)) + ) && + ( + this.LoadStockInfo == input.LoadStockInfo || + (this.LoadStockInfo != null && + this.LoadStockInfo.Equals(input.LoadStockInfo)) + ) && + ( + this.LoadAdditionalInfo == input.LoadAdditionalInfo || + (this.LoadAdditionalInfo != null && + this.LoadAdditionalInfo.Equals(input.LoadAdditionalInfo)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemInformation != null) + hashCode = hashCode * 59 + this.ItemInformation.GetHashCode(); + if (this.LoadItemInfo != null) + hashCode = hashCode * 59 + this.LoadItemInfo.GetHashCode(); + if (this.LoadStockInfo != null) + hashCode = hashCode * 59 + this.LoadStockInfo.GetHashCode(); + if (this.LoadAdditionalInfo != null) + hashCode = hashCode * 59 + this.LoadAdditionalInfo.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..af86d86ab38a54458d478cd9c49da2c2bf8db037 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest.cs @@ -0,0 +1,663 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemInformationRequest <p>Request object for item information</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>String: pos item id</p>. + /// <p>List String: additional text info text type codes</p>. + /// <p>String: system language</p>. + /// <p>It defines if the discount info should be displayed in transaction preview.</p>. + /// <p>It defines if the item info should be displayed in transaction preview.</p>. + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p>. + /// <p>the clients current buId</p>. + /// <p>Specifies that promotion prices should be calculated for the item.<br /> It is calculated based on actual basket.</p> (required). + /// <p>It specifies whether the group price is additionally displayed if a single item price is valid.</p>. + /// <p>Specifies treating of posItemID for item look-up. If true then is checked the posItemID in case sensitive mode.</p> (required). + /// <p>Specifies if item stock information should be requested from stock information system. Default value is true.</p> (required). + /// <p>It defines the unit price which should be used for the price calculation.</p>. + /// <p>It defines the unit price quantity which should be used for the price calculation (i.e. '3 for $1.00').</p>. + /// <p>It defines the quantity of the item.</p>. + /// <p>It defines the units of the item.</p>. + /// itemInformationLoadConfig. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest(string posItemId = default(string), List additionalTextInfoTextTypeCodes = default(List), string systemLanguage = default(string), bool? discountInfoEnabled = default(bool?), bool? itemInfoEnabled = default(bool?), List iconSalesInfoTextTypeCodes = default(List), string buId = default(string), bool? displayPromotionPrices = default(bool?), bool? displayGroupPrice = default(bool?), bool? itemIDCaseSensitive = default(bool?), bool? requestStock = default(bool?), double? price = default(double?), int? priceQuantity = default(int?), int? quantity = default(int?), double? unit = default(double?), ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig itemInformationLoadConfig = default(ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "displayPromotionPrices" is required (not null) + if (displayPromotionPrices == null) + { + throw new InvalidDataException("displayPromotionPrices is a required property for ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest and cannot be null"); + } + else + { + this.DisplayPromotionPrices = displayPromotionPrices; + } + // to ensure "itemIDCaseSensitive" is required (not null) + if (itemIDCaseSensitive == null) + { + throw new InvalidDataException("itemIDCaseSensitive is a required property for ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest and cannot be null"); + } + else + { + this.ItemIDCaseSensitive = itemIDCaseSensitive; + } + // to ensure "requestStock" is required (not null) + if (requestStock == null) + { + throw new InvalidDataException("requestStock is a required property for ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest and cannot be null"); + } + else + { + this.RequestStock = requestStock; + } + this.PosItemId = posItemId; + this.AdditionalTextInfoTextTypeCodes = additionalTextInfoTextTypeCodes; + this.SystemLanguage = systemLanguage; + this.DiscountInfoEnabled = discountInfoEnabled; + this.ItemInfoEnabled = itemInfoEnabled; + this.IconSalesInfoTextTypeCodes = iconSalesInfoTextTypeCodes; + this.BuId = buId; + this.DisplayGroupPrice = displayGroupPrice; + this.Price = price; + this.PriceQuantity = priceQuantity; + this.Quantity = quantity; + this.Unit = unit; + this.ItemInformationLoadConfig = itemInformationLoadConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: pos item id</p> + /// + /// <p>String: pos item id</p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>List String: additional text info text type codes</p> + /// + /// <p>List String: additional text info text type codes</p> + [DataMember(Name="additionalTextInfoTextTypeCodes", EmitDefaultValue=false)] + public List AdditionalTextInfoTextTypeCodes { get; set; } + + /// + /// <p>String: system language</p> + /// + /// <p>String: system language</p> + [DataMember(Name="systemLanguage", EmitDefaultValue=false)] + public string SystemLanguage { get; set; } + + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + [DataMember(Name="discountInfoEnabled", EmitDefaultValue=false)] + public bool? DiscountInfoEnabled { get; set; } + + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + [DataMember(Name="itemInfoEnabled", EmitDefaultValue=false)] + public bool? ItemInfoEnabled { get; set; } + + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + [DataMember(Name="iconSalesInfoTextTypeCodes", EmitDefaultValue=false)] + public List IconSalesInfoTextTypeCodes { get; set; } + + /// + /// <p>the clients current buId</p> + /// + /// <p>the clients current buId</p> + [DataMember(Name="buId", EmitDefaultValue=false)] + public string BuId { get; set; } + + /// + /// <p>Specifies that promotion prices should be calculated for the item.<br /> It is calculated based on actual basket.</p> + /// + /// <p>Specifies that promotion prices should be calculated for the item.<br /> It is calculated based on actual basket.</p> + [DataMember(Name="displayPromotionPrices", EmitDefaultValue=false)] + public bool? DisplayPromotionPrices { get; set; } + + /// + /// <p>It specifies whether the group price is additionally displayed if a single item price is valid.</p> + /// + /// <p>It specifies whether the group price is additionally displayed if a single item price is valid.</p> + [DataMember(Name="displayGroupPrice", EmitDefaultValue=false)] + public bool? DisplayGroupPrice { get; set; } + + /// + /// <p>Specifies treating of posItemID for item look-up. If true then is checked the posItemID in case sensitive mode.</p> + /// + /// <p>Specifies treating of posItemID for item look-up. If true then is checked the posItemID in case sensitive mode.</p> + [DataMember(Name="itemIDCaseSensitive", EmitDefaultValue=false)] + public bool? ItemIDCaseSensitive { get; set; } + + /// + /// <p>Specifies if item stock information should be requested from stock information system. Default value is true.</p> + /// + /// <p>Specifies if item stock information should be requested from stock information system. Default value is true.</p> + [DataMember(Name="requestStock", EmitDefaultValue=false)] + public bool? RequestStock { get; set; } + + /// + /// <p>It defines the unit price which should be used for the price calculation.</p> + /// + /// <p>It defines the unit price which should be used for the price calculation.</p> + [DataMember(Name="price", EmitDefaultValue=false)] + public double? Price { get; set; } + + /// + /// <p>It defines the unit price quantity which should be used for the price calculation (i.e. '3 for $1.00').</p> + /// + /// <p>It defines the unit price quantity which should be used for the price calculation (i.e. '3 for $1.00').</p> + [DataMember(Name="priceQuantity", EmitDefaultValue=false)] + public int? PriceQuantity { get; set; } + + /// + /// <p>It defines the quantity of the item.</p> + /// + /// <p>It defines the quantity of the item.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>It defines the units of the item.</p> + /// + /// <p>It defines the units of the item.</p> + [DataMember(Name="unit", EmitDefaultValue=false)] + public double? Unit { get; set; } + + /// + /// Gets or Sets ItemInformationLoadConfig + /// + [DataMember(Name="itemInformationLoadConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig ItemInformationLoadConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest {\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" AdditionalTextInfoTextTypeCodes: ").Append(AdditionalTextInfoTextTypeCodes).Append("\n"); + sb.Append(" SystemLanguage: ").Append(SystemLanguage).Append("\n"); + sb.Append(" DiscountInfoEnabled: ").Append(DiscountInfoEnabled).Append("\n"); + sb.Append(" ItemInfoEnabled: ").Append(ItemInfoEnabled).Append("\n"); + sb.Append(" IconSalesInfoTextTypeCodes: ").Append(IconSalesInfoTextTypeCodes).Append("\n"); + sb.Append(" BuId: ").Append(BuId).Append("\n"); + sb.Append(" DisplayPromotionPrices: ").Append(DisplayPromotionPrices).Append("\n"); + sb.Append(" DisplayGroupPrice: ").Append(DisplayGroupPrice).Append("\n"); + sb.Append(" ItemIDCaseSensitive: ").Append(ItemIDCaseSensitive).Append("\n"); + sb.Append(" RequestStock: ").Append(RequestStock).Append("\n"); + sb.Append(" Price: ").Append(Price).Append("\n"); + sb.Append(" PriceQuantity: ").Append(PriceQuantity).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" Unit: ").Append(Unit).Append("\n"); + sb.Append(" ItemInformationLoadConfig: ").Append(ItemInformationLoadConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest input) + { + if (input == null) + return false; + + return + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.AdditionalTextInfoTextTypeCodes == input.AdditionalTextInfoTextTypeCodes || + this.AdditionalTextInfoTextTypeCodes != null && + this.AdditionalTextInfoTextTypeCodes.SequenceEqual(input.AdditionalTextInfoTextTypeCodes) + ) && + ( + this.SystemLanguage == input.SystemLanguage || + (this.SystemLanguage != null && + this.SystemLanguage.Equals(input.SystemLanguage)) + ) && + ( + this.DiscountInfoEnabled == input.DiscountInfoEnabled || + (this.DiscountInfoEnabled != null && + this.DiscountInfoEnabled.Equals(input.DiscountInfoEnabled)) + ) && + ( + this.ItemInfoEnabled == input.ItemInfoEnabled || + (this.ItemInfoEnabled != null && + this.ItemInfoEnabled.Equals(input.ItemInfoEnabled)) + ) && + ( + this.IconSalesInfoTextTypeCodes == input.IconSalesInfoTextTypeCodes || + this.IconSalesInfoTextTypeCodes != null && + this.IconSalesInfoTextTypeCodes.SequenceEqual(input.IconSalesInfoTextTypeCodes) + ) && + ( + this.BuId == input.BuId || + (this.BuId != null && + this.BuId.Equals(input.BuId)) + ) && + ( + this.DisplayPromotionPrices == input.DisplayPromotionPrices || + (this.DisplayPromotionPrices != null && + this.DisplayPromotionPrices.Equals(input.DisplayPromotionPrices)) + ) && + ( + this.DisplayGroupPrice == input.DisplayGroupPrice || + (this.DisplayGroupPrice != null && + this.DisplayGroupPrice.Equals(input.DisplayGroupPrice)) + ) && + ( + this.ItemIDCaseSensitive == input.ItemIDCaseSensitive || + (this.ItemIDCaseSensitive != null && + this.ItemIDCaseSensitive.Equals(input.ItemIDCaseSensitive)) + ) && + ( + this.RequestStock == input.RequestStock || + (this.RequestStock != null && + this.RequestStock.Equals(input.RequestStock)) + ) && + ( + this.Price == input.Price || + (this.Price != null && + this.Price.Equals(input.Price)) + ) && + ( + this.PriceQuantity == input.PriceQuantity || + (this.PriceQuantity != null && + this.PriceQuantity.Equals(input.PriceQuantity)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.Unit == input.Unit || + (this.Unit != null && + this.Unit.Equals(input.Unit)) + ) && + ( + this.ItemInformationLoadConfig == input.ItemInformationLoadConfig || + (this.ItemInformationLoadConfig != null && + this.ItemInformationLoadConfig.Equals(input.ItemInformationLoadConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.AdditionalTextInfoTextTypeCodes != null) + hashCode = hashCode * 59 + this.AdditionalTextInfoTextTypeCodes.GetHashCode(); + if (this.SystemLanguage != null) + hashCode = hashCode * 59 + this.SystemLanguage.GetHashCode(); + if (this.DiscountInfoEnabled != null) + hashCode = hashCode * 59 + this.DiscountInfoEnabled.GetHashCode(); + if (this.ItemInfoEnabled != null) + hashCode = hashCode * 59 + this.ItemInfoEnabled.GetHashCode(); + if (this.IconSalesInfoTextTypeCodes != null) + hashCode = hashCode * 59 + this.IconSalesInfoTextTypeCodes.GetHashCode(); + if (this.BuId != null) + hashCode = hashCode * 59 + this.BuId.GetHashCode(); + if (this.DisplayPromotionPrices != null) + hashCode = hashCode * 59 + this.DisplayPromotionPrices.GetHashCode(); + if (this.DisplayGroupPrice != null) + hashCode = hashCode * 59 + this.DisplayGroupPrice.GetHashCode(); + if (this.ItemIDCaseSensitive != null) + hashCode = hashCode * 59 + this.ItemIDCaseSensitive.GetHashCode(); + if (this.RequestStock != null) + hashCode = hashCode * 59 + this.RequestStock.GetHashCode(); + if (this.Price != null) + hashCode = hashCode * 59 + this.Price.GetHashCode(); + if (this.PriceQuantity != null) + hashCode = hashCode * 59 + this.PriceQuantity.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.Unit != null) + hashCode = hashCode * 59 + this.Unit.GetHashCode(); + if (this.ItemInformationLoadConfig != null) + hashCode = hashCode * 59 + this.ItemInformationLoadConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b829dffd80b425456fad1f51067add7cf80508e0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemInformationStockInfoRequest <p>Request object for requesting stock details for specified item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The pos item id.</p>. + /// <p>The business unit id (retail store id)</p>. + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest(string posItemId = default(string), string buId = default(string), bool? skipMasterDataResolution = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PosItemId = posItemId; + this.BuId = buId; + this.SkipMasterDataResolution = skipMasterDataResolution; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The pos item id.</p> + /// + /// <p>The pos item id.</p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>The business unit id (retail store id)</p> + /// + /// <p>The business unit id (retail store id)</p> + [DataMember(Name="buId", EmitDefaultValue=false)] + public string BuId { get; set; } + + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + [DataMember(Name="skipMasterDataResolution", EmitDefaultValue=false)] + public bool? SkipMasterDataResolution { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest {\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" BuId: ").Append(BuId).Append("\n"); + sb.Append(" SkipMasterDataResolution: ").Append(SkipMasterDataResolution).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest input) + { + if (input == null) + return false; + + return + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.BuId == input.BuId || + (this.BuId != null && + this.BuId.Equals(input.BuId)) + ) && + ( + this.SkipMasterDataResolution == input.SkipMasterDataResolution || + (this.SkipMasterDataResolution != null && + this.SkipMasterDataResolution.Equals(input.SkipMasterDataResolution)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.BuId != null) + hashCode = hashCode * 59 + this.BuId.GetHashCode(); + if (this.SkipMasterDataResolution != null) + hashCode = hashCode * 59 + this.SkipMasterDataResolution.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9035415b28b3ce10cfbd495511424e432172ff76 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoadItemDOByKeyRequest <p>Request object for loading item master data for specified POS UOM itemDO key.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Key identifier for POS item unit of measure object.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey itemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ItemKey = itemKey; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Key identifier for POS item unit of measure object.</p> + /// + /// <p>Key identifier for POS item unit of measure object.</p> + [DataMember(Name="itemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey ItemKey { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest {\n"); + sb.Append(" ItemKey: ").Append(ItemKey).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest input) + { + if (input == null) + return false; + + return + ( + this.ItemKey == input.ItemKey || + (this.ItemKey != null && + this.ItemKey.Equals(input.ItemKey)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemKey != null) + hashCode = hashCode * 59 + this.ItemKey.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..ef06d7f90d68b5762bd60592d817288430d713dd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SimplePosUomItemDO <p>Data object SimplePosUomItemDO - Bean class for performant item operations</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: main pos item id</p>. + /// <p>String: pos UOM item pos identity type code</p>. + /// <p>String: item UOM code</p>. + /// <p>String: item selling rule quantity input method</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO(string mainPosItemId = default(string), string posUOMItemPosIdentityTypeCode = default(string), string itemUOMCode = default(string), string itemSellingRuleQuantityInputMethod = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.MainPosItemId = mainPosItemId; + this.PosUOMItemPosIdentityTypeCode = posUOMItemPosIdentityTypeCode; + this.ItemUOMCode = itemUOMCode; + this.ItemSellingRuleQuantityInputMethod = itemSellingRuleQuantityInputMethod; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: main pos item id</p> + /// + /// <p>String: main pos item id</p> + [DataMember(Name="mainPosItemId", EmitDefaultValue=false)] + public string MainPosItemId { get; set; } + + /// + /// <p>String: pos UOM item pos identity type code</p> + /// + /// <p>String: pos UOM item pos identity type code</p> + [DataMember(Name="posUOMItemPosIdentityTypeCode", EmitDefaultValue=false)] + public string PosUOMItemPosIdentityTypeCode { get; set; } + + /// + /// <p>String: item UOM code</p> + /// + /// <p>String: item UOM code</p> + [DataMember(Name="itemUOMCode", EmitDefaultValue=false)] + public string ItemUOMCode { get; set; } + + /// + /// <p>String: item selling rule quantity input method</p> + /// + /// <p>String: item selling rule quantity input method</p> + [DataMember(Name="itemSellingRuleQuantityInputMethod", EmitDefaultValue=false)] + public string ItemSellingRuleQuantityInputMethod { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO {\n"); + sb.Append(" MainPosItemId: ").Append(MainPosItemId).Append("\n"); + sb.Append(" PosUOMItemPosIdentityTypeCode: ").Append(PosUOMItemPosIdentityTypeCode).Append("\n"); + sb.Append(" ItemUOMCode: ").Append(ItemUOMCode).Append("\n"); + sb.Append(" ItemSellingRuleQuantityInputMethod: ").Append(ItemSellingRuleQuantityInputMethod).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO input) + { + if (input == null) + return false; + + return + ( + this.MainPosItemId == input.MainPosItemId || + (this.MainPosItemId != null && + this.MainPosItemId.Equals(input.MainPosItemId)) + ) && + ( + this.PosUOMItemPosIdentityTypeCode == input.PosUOMItemPosIdentityTypeCode || + (this.PosUOMItemPosIdentityTypeCode != null && + this.PosUOMItemPosIdentityTypeCode.Equals(input.PosUOMItemPosIdentityTypeCode)) + ) && + ( + this.ItemUOMCode == input.ItemUOMCode || + (this.ItemUOMCode != null && + this.ItemUOMCode.Equals(input.ItemUOMCode)) + ) && + ( + this.ItemSellingRuleQuantityInputMethod == input.ItemSellingRuleQuantityInputMethod || + (this.ItemSellingRuleQuantityInputMethod != null && + this.ItemSellingRuleQuantityInputMethod.Equals(input.ItemSellingRuleQuantityInputMethod)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MainPosItemId != null) + hashCode = hashCode * 59 + this.MainPosItemId.GetHashCode(); + if (this.PosUOMItemPosIdentityTypeCode != null) + hashCode = hashCode * 59 + this.PosUOMItemPosIdentityTypeCode.GetHashCode(); + if (this.ItemUOMCode != null) + hashCode = hashCode * 59 + this.ItemUOMCode.GetHashCode(); + if (this.ItemSellingRuleQuantityInputMethod != null) + hashCode = hashCode * 59 + this.ItemSellingRuleQuantityInputMethod.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataMHGroupRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataMHGroupRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd6f11861a571b2058d51d31d55c7ea21dd2f4d4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataMHGroupRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MHGroupRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataMHGroupRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>long: business unit group id</p>. + /// <p>String: merchandise hierarchy group id</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataMHGroupRequest(string businessUntiGroupId = default(string), string merchandiseHierarchyGroupId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUntiGroupId = businessUntiGroupId; + this.MerchandiseHierarchyGroupId = merchandiseHierarchyGroupId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + [DataMember(Name="businessUntiGroupId", EmitDefaultValue=false)] + public string BusinessUntiGroupId { get; set; } + + /// + /// <p>String: merchandise hierarchy group id</p> + /// + /// <p>String: merchandise hierarchy group id</p> + [DataMember(Name="merchandiseHierarchyGroupId", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataMHGroupRequest {\n"); + sb.Append(" BusinessUntiGroupId: ").Append(BusinessUntiGroupId).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupId: ").Append(MerchandiseHierarchyGroupId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataMHGroupRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataMHGroupRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataMHGroupRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataMHGroupRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUntiGroupId == input.BusinessUntiGroupId || + (this.BusinessUntiGroupId != null && + this.BusinessUntiGroupId.Equals(input.BusinessUntiGroupId)) + ) && + ( + this.MerchandiseHierarchyGroupId == input.MerchandiseHierarchyGroupId || + (this.MerchandiseHierarchyGroupId != null && + this.MerchandiseHierarchyGroupId.Equals(input.MerchandiseHierarchyGroupId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUntiGroupId != null) + hashCode = hashCode * 59 + this.BusinessUntiGroupId.GetHashCode(); + if (this.MerchandiseHierarchyGroupId != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataMHGroupResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataMHGroupResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..51f8c3c26f799c75dff3c4442f211963682fb3ed --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataMHGroupResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MHGroupResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataMHGroupResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of MhgSO: mhgDOs</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataMHGroupResult(List mhgSOs = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.MhgSOs = mhgSOs; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of MhgSO: mhgDOs</p> + /// + /// <p>List of MhgSO: mhgDOs</p> + [DataMember(Name="mhgSOs", EmitDefaultValue=false)] + public List MhgSOs { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataMHGroupResult {\n"); + sb.Append(" MhgSOs: ").Append(MhgSOs).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataMHGroupResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataMHGroupResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataMHGroupResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataMHGroupResult input) + { + if (input == null) + return false; + + return + ( + this.MhgSOs == input.MhgSOs || + this.MhgSOs != null && + this.MhgSOs.SequenceEqual(input.MhgSOs) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MhgSOs != null) + hashCode = hashCode * 59 + this.MhgSOs.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..48fe46434506e8db64b00614537c4983c0b4b673 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionItemRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>long: business unit group id</p>. + /// <p>Filter Object for service request</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest(string businessUnitGroupId = default(string), ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO promotionItemFilter = default(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupId = businessUnitGroupId; + this.PromotionItemFilter = promotionItemFilter; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>Filter Object for service request</p> + /// + /// <p>Filter Object for service request</p> + [DataMember(Name="promotionItemFilter", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO PromotionItemFilter { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" PromotionItemFilter: ").Append(PromotionItemFilter).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.PromotionItemFilter == input.PromotionItemFilter || + (this.PromotionItemFilter != null && + this.PromotionItemFilter.Equals(input.PromotionItemFilter)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.PromotionItemFilter != null) + hashCode = hashCode * 59 + this.PromotionItemFilter.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataReasonResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataReasonResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..53611e12028f67144ef7f2d025a5e627c83ce498 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataReasonResult.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReasonResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataReasonResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>ReasonCodeGroupSO: The reasonGroup</p>. + /// <p>List of ReasonSO: reasons</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataReasonResult(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO reasonGroup = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO), List reasons = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ReasonGroup = reasonGroup; + this.Reasons = reasons; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>ReasonCodeGroupSO: The reasonGroup</p> + /// + /// <p>ReasonCodeGroupSO: The reasonGroup</p> + [DataMember(Name="reasonGroup", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO ReasonGroup { get; set; } + + /// + /// <p>List of ReasonSO: reasons</p> + /// + /// <p>List of ReasonSO: reasons</p> + [DataMember(Name="reasons", EmitDefaultValue=false)] + public List Reasons { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataReasonResult {\n"); + sb.Append(" ReasonGroup: ").Append(ReasonGroup).Append("\n"); + sb.Append(" Reasons: ").Append(Reasons).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataReasonResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataReasonResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataReasonResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataReasonResult input) + { + if (input == null) + return false; + + return + ( + this.ReasonGroup == input.ReasonGroup || + (this.ReasonGroup != null && + this.ReasonGroup.Equals(input.ReasonGroup)) + ) && + ( + this.Reasons == input.Reasons || + this.Reasons != null && + this.Reasons.SequenceEqual(input.Reasons) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReasonGroup != null) + hashCode = hashCode * 59 + this.ReasonGroup.GetHashCode(); + if (this.Reasons != null) + hashCode = hashCode * 59 + this.Reasons.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..88291727ec649c511b74cef854348cb84ea21c2d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ScaleDomainRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>long: business unit group id</p>. + /// <p>String: scale domain id</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest(string businessUnitGroupId = default(string), string scaleDomainId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupId = businessUnitGroupId; + this.ScaleDomainId = scaleDomainId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>String: scale domain id</p> + /// + /// <p>String: scale domain id</p> + [DataMember(Name="scaleDomainId", EmitDefaultValue=false)] + public string ScaleDomainId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" ScaleDomainId: ").Append(ScaleDomainId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.ScaleDomainId == input.ScaleDomainId || + (this.ScaleDomainId != null && + this.ScaleDomainId.Equals(input.ScaleDomainId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.ScaleDomainId != null) + hashCode = hashCode * 59 + this.ScaleDomainId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataScaleDomainResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataScaleDomainResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..54d8c88d949821b613a1e10c83f5f177cff27790 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataScaleDomainResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ScaleDomainResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataScaleDomainResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>ScaleDomainDO: scale domain DO</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataScaleDomainResult(ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO scaleDomainDO = default(ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ScaleDomainDO = scaleDomainDO; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>ScaleDomainDO: scale domain DO</p> + /// + /// <p>ScaleDomainDO: scale domain DO</p> + [DataMember(Name="scaleDomainDO", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO ScaleDomainDO { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataScaleDomainResult {\n"); + sb.Append(" ScaleDomainDO: ").Append(ScaleDomainDO).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataScaleDomainResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataScaleDomainResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataScaleDomainResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataScaleDomainResult input) + { + if (input == null) + return false; + + return + ( + this.ScaleDomainDO == input.ScaleDomainDO || + (this.ScaleDomainDO != null && + this.ScaleDomainDO.Equals(input.ScaleDomainDO)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ScaleDomainDO != null) + hashCode = hashCode * 59 + this.ScaleDomainDO.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..c00847ed3dc9b0abc443f3a16b7666ebf276a45b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SimpleTaxListResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Map with taxGroupId as key and the tax percent as value.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult(Dictionary simpleTaxList = default(Dictionary), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.SimpleTaxList = simpleTaxList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Map with taxGroupId as key and the tax percent as value.</p> + /// + /// <p>Map with taxGroupId as key and the tax percent as value.</p> + [DataMember(Name="simpleTaxList", EmitDefaultValue=false)] + public Dictionary SimpleTaxList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult {\n"); + sb.Append(" SimpleTaxList: ").Append(SimpleTaxList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult input) + { + if (input == null) + return false; + + return + ( + this.SimpleTaxList == input.SimpleTaxList || + this.SimpleTaxList != null && + this.SimpleTaxList.SequenceEqual(input.SimpleTaxList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SimpleTaxList != null) + hashCode = hashCode * 59 + this.SimpleTaxList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f8d8b62d2dd61ce0b2842648cc84a4db735a0b54 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAdjustmentRuleRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>originalTenderTypeCode</p>. + /// <p>newTenderTypeCode</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest(string originalTenderTypeCode = default(string), string newTenderTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OriginalTenderTypeCode = originalTenderTypeCode; + this.NewTenderTypeCode = newTenderTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>originalTenderTypeCode</p> + /// + /// <p>originalTenderTypeCode</p> + [DataMember(Name="originalTenderTypeCode", EmitDefaultValue=false)] + public string OriginalTenderTypeCode { get; set; } + + /// + /// <p>newTenderTypeCode</p> + /// + /// <p>newTenderTypeCode</p> + [DataMember(Name="newTenderTypeCode", EmitDefaultValue=false)] + public string NewTenderTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest {\n"); + sb.Append(" OriginalTenderTypeCode: ").Append(OriginalTenderTypeCode).Append("\n"); + sb.Append(" NewTenderTypeCode: ").Append(NewTenderTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest input) + { + if (input == null) + return false; + + return + ( + this.OriginalTenderTypeCode == input.OriginalTenderTypeCode || + (this.OriginalTenderTypeCode != null && + this.OriginalTenderTypeCode.Equals(input.OriginalTenderTypeCode)) + ) && + ( + this.NewTenderTypeCode == input.NewTenderTypeCode || + (this.NewTenderTypeCode != null && + this.NewTenderTypeCode.Equals(input.NewTenderTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OriginalTenderTypeCode != null) + hashCode = hashCode * 59 + this.OriginalTenderTypeCode.GetHashCode(); + if (this.NewTenderTypeCode != null) + hashCode = hashCode * 59 + this.NewTenderTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..c3a6d32d31b3e93532d6593f0cc7d4b5f15ba0d7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderAdjustmentRuleResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of TenderAdjustmentRuleDO: tenderAdjustmentRuleDOs</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult(List tenderAdjustmentRuleDOs = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TenderAdjustmentRuleDOs = tenderAdjustmentRuleDOs; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of TenderAdjustmentRuleDO: tenderAdjustmentRuleDOs</p> + /// + /// <p>List of TenderAdjustmentRuleDO: tenderAdjustmentRuleDOs</p> + [DataMember(Name="tenderAdjustmentRuleDOs", EmitDefaultValue=false)] + public List TenderAdjustmentRuleDOs { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult {\n"); + sb.Append(" TenderAdjustmentRuleDOs: ").Append(TenderAdjustmentRuleDOs).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult input) + { + if (input == null) + return false; + + return + ( + this.TenderAdjustmentRuleDOs == input.TenderAdjustmentRuleDOs || + this.TenderAdjustmentRuleDOs != null && + this.TenderAdjustmentRuleDOs.SequenceEqual(input.TenderAdjustmentRuleDOs) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderAdjustmentRuleDOs != null) + hashCode = hashCode * 59 + this.TenderAdjustmentRuleDOs.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c78761cfc8e3dba7b4abb76a849d3e6ab7740a3e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderRequest.cs @@ -0,0 +1,528 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderRequest <p>Request object for the MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataTenderRequest : IEquatable, IValidatableObject + { + /// + /// <p>TenderGroupCode: tender group code</p> + /// + /// <p>TenderGroupCode: tender group code</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum TenderGroupCodeEnum + { + + /// + /// Enum CASH for value: CASH + /// + [EnumMember(Value = "CASH")] + CASH = 1, + + /// + /// Enum TERMINAL for value: TERMINAL + /// + [EnumMember(Value = "TERMINAL")] + TERMINAL = 2, + + /// + /// Enum GIFTCERT for value: GIFT_CERT + /// + [EnumMember(Value = "GIFT_CERT")] + GIFTCERT = 3, + + /// + /// Enum COUPON for value: COUPON + /// + [EnumMember(Value = "COUPON")] + COUPON = 4, + + /// + /// Enum CHEQUE for value: CHEQUE + /// + [EnumMember(Value = "CHEQUE")] + CHEQUE = 5, + + /// + /// Enum CREDIT for value: CREDIT + /// + [EnumMember(Value = "CREDIT")] + CREDIT = 6, + + /// + /// Enum PROMOTION for value: PROMOTION + /// + [EnumMember(Value = "PROMOTION")] + PROMOTION = 7, + + /// + /// Enum POINTS for value: POINTS + /// + [EnumMember(Value = "POINTS")] + POINTS = 8, + + /// + /// Enum CASHENGINE for value: CASHENGINE + /// + [EnumMember(Value = "CASHENGINE")] + CASHENGINE = 9 + } + + /// + /// <p>TenderGroupCode: tender group code</p> + /// + /// <p>TenderGroupCode: tender group code</p> + [DataMember(Name="tenderGroupCode", EmitDefaultValue=false)] + public TenderGroupCodeEnum? TenderGroupCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>long: business unit group id</p>. + /// <p>String: reason code</p>. + /// <p>String: reason code group code</p>. + /// <p>String: iso currency code</p>. + /// <p>String: tender class code</p>. + /// <p>TenderGroupCode: tender group code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataTenderRequest(string businessUnitGroupId = default(string), string reasonCode = default(string), string reasonCodeGroupCode = default(string), string isoCurrencyCode = default(string), string tenderClassCode = default(string), TenderGroupCodeEnum? tenderGroupCode = default(TenderGroupCodeEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupId = businessUnitGroupId; + this.ReasonCode = reasonCode; + this.ReasonCodeGroupCode = reasonCodeGroupCode; + this.IsoCurrencyCode = isoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.TenderGroupCode = tenderGroupCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>String: reason code</p> + /// + /// <p>String: reason code</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>String: reason code group code</p> + /// + /// <p>String: reason code group code</p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>String: iso currency code</p> + /// + /// <p>String: iso currency code</p> + [DataMember(Name="isoCurrencyCode", EmitDefaultValue=false)] + public string IsoCurrencyCode { get; set; } + + /// + /// <p>String: tender class code</p> + /// + /// <p>String: tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataTenderRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" IsoCurrencyCode: ").Append(IsoCurrencyCode).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" TenderGroupCode: ").Append(TenderGroupCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataTenderRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataTenderRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataTenderRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataTenderRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.IsoCurrencyCode == input.IsoCurrencyCode || + (this.IsoCurrencyCode != null && + this.IsoCurrencyCode.Equals(input.IsoCurrencyCode)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.TenderGroupCode == input.TenderGroupCode || + (this.TenderGroupCode != null && + this.TenderGroupCode.Equals(input.TenderGroupCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.IsoCurrencyCode != null) + hashCode = hashCode * 59 + this.IsoCurrencyCode.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.TenderGroupCode != null) + hashCode = hashCode * 59 + this.TenderGroupCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..fb9c272a8fe0eff14696839ce96d4b77a7e4082b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataTenderResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderResult <p>Result object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataTenderResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of TenderDO: tenderDOs</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataTenderResult(List tenderDOs = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TenderDOs = tenderDOs; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of TenderDO: tenderDOs</p> + /// + /// <p>List of TenderDO: tenderDOs</p> + [DataMember(Name="tenderDOs", EmitDefaultValue=false)] + public List TenderDOs { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataTenderResult {\n"); + sb.Append(" TenderDOs: ").Append(TenderDOs).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataTenderResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataTenderResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataTenderResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataTenderResult input) + { + if (input == null) + return false; + + return + ( + this.TenderDOs == input.TenderDOs || + this.TenderDOs != null && + this.TenderDOs.SequenceEqual(input.TenderDOs) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderDOs != null) + hashCode = hashCode * 59 + this.TenderDOs.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataWorkerRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataWorkerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..24f40cc96f77180e4ac68048bcc43ef966db518b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceMasterdataWorkerRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// WorkerRequest <p>Request object used by MasterDataService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceMasterdataWorkerRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>long: business unit group id</p>. + /// <p>String: worker id</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceMasterdataWorkerRequest(string businessUnitGroupId = default(string), string workerId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupId = businessUnitGroupId; + this.WorkerId = workerId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>String: worker id</p> + /// + /// <p>String: worker id</p> + [DataMember(Name="workerId", EmitDefaultValue=false)] + public string WorkerId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceMasterdataWorkerRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" WorkerId: ").Append(WorkerId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceMasterdataWorkerRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceMasterdataWorkerRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceMasterdataWorkerRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceMasterdataWorkerRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.WorkerId == input.WorkerId || + (this.WorkerId != null && + this.WorkerId.Equals(input.WorkerId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.WorkerId != null) + hashCode = hashCode * 59 + this.WorkerId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5d883e1593fff9fafc8cf1b4abfcc53cdf9ee326 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest.cs @@ -0,0 +1,427 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddTerminalPrintoutsToLineItemRequest <p>Request object to add terminal receipts that were printed to retail transaction line item as binary.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The retail transaction line item with the tender line item.</p> (required). + /// <p>The merchant terminal receipt.</p>. + /// <p>The customer terminal receipt.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem tenderLineItem = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem), string merchantReceipt = default(string), string customerReceipt = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "tenderLineItem" is required (not null) + if (tenderLineItem == null) + { + throw new InvalidDataException("tenderLineItem is a required property for ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest and cannot be null"); + } + else + { + this.TenderLineItem = tenderLineItem; + } + this.MerchantReceipt = merchantReceipt; + this.CustomerReceipt = customerReceipt; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retail transaction line item with the tender line item.</p> + /// + /// <p>The retail transaction line item with the tender line item.</p> + [DataMember(Name="tenderLineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem TenderLineItem { get; set; } + + /// + /// <p>The merchant terminal receipt.</p> + /// + /// <p>The merchant terminal receipt.</p> + [DataMember(Name="merchantReceipt", EmitDefaultValue=false)] + public string MerchantReceipt { get; set; } + + /// + /// <p>The customer terminal receipt.</p> + /// + /// <p>The customer terminal receipt.</p> + [DataMember(Name="customerReceipt", EmitDefaultValue=false)] + public string CustomerReceipt { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest {\n"); + sb.Append(" TenderLineItem: ").Append(TenderLineItem).Append("\n"); + sb.Append(" MerchantReceipt: ").Append(MerchantReceipt).Append("\n"); + sb.Append(" CustomerReceipt: ").Append(CustomerReceipt).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.TenderLineItem == input.TenderLineItem || + (this.TenderLineItem != null && + this.TenderLineItem.Equals(input.TenderLineItem)) + ) && + ( + this.MerchantReceipt == input.MerchantReceipt || + (this.MerchantReceipt != null && + this.MerchantReceipt.Equals(input.MerchantReceipt)) + ) && + ( + this.CustomerReceipt == input.CustomerReceipt || + (this.CustomerReceipt != null && + this.CustomerReceipt.Equals(input.CustomerReceipt)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderLineItem != null) + hashCode = hashCode * 59 + this.TenderLineItem.GetHashCode(); + if (this.MerchantReceipt != null) + hashCode = hashCode * 59 + this.MerchantReceipt.GetHashCode(); + if (this.CustomerReceipt != null) + hashCode = hashCode * 59 + this.CustomerReceipt.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAmountValidationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAmountValidationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..086fc55cbb262b09a47b3c69fd9b763a1a0168f5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAmountValidationRequest.cs @@ -0,0 +1,486 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AmountValidationRequest <p>A request wrapper for all informations required to validate and check a payment amount</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentAmountValidationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentAmountValidationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>double : amount</p> (required). + /// <p>TenderDO : tender</p>. + /// <p>String : iso currency code</p>. + /// <p>double : current tender total payment amount</p> (required). + /// <p>String : payment state</p>. + /// <p>String : allowed amount type code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentAmountValidationRequest(double? amount = default(double?), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), string isoCurrencyCode = default(string), double? currentTenderTotalPaymentAmount = default(double?), string paymentState = default(string), string allowedAmountTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationRequest and cannot be null"); + } + else + { + this.Amount = amount; + } + // to ensure "currentTenderTotalPaymentAmount" is required (not null) + if (currentTenderTotalPaymentAmount == null) + { + throw new InvalidDataException("currentTenderTotalPaymentAmount is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationRequest and cannot be null"); + } + else + { + this.CurrentTenderTotalPaymentAmount = currentTenderTotalPaymentAmount; + } + this.Tender = tender; + this.IsoCurrencyCode = isoCurrencyCode; + this.PaymentState = paymentState; + this.AllowedAmountTypeCode = allowedAmountTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>double : amount</p> + /// + /// <p>double : amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>TenderDO : tender</p> + /// + /// <p>TenderDO : tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>String : iso currency code</p> + /// + /// <p>String : iso currency code</p> + [DataMember(Name="isoCurrencyCode", EmitDefaultValue=false)] + public string IsoCurrencyCode { get; set; } + + /// + /// <p>double : current tender total payment amount</p> + /// + /// <p>double : current tender total payment amount</p> + [DataMember(Name="currentTenderTotalPaymentAmount", EmitDefaultValue=false)] + public double? CurrentTenderTotalPaymentAmount { get; set; } + + /// + /// <p>String : payment state</p> + /// + /// <p>String : payment state</p> + [DataMember(Name="paymentState", EmitDefaultValue=false)] + public string PaymentState { get; set; } + + /// + /// <p>String : allowed amount type code</p> + /// + /// <p>String : allowed amount type code</p> + [DataMember(Name="allowedAmountTypeCode", EmitDefaultValue=false)] + public string AllowedAmountTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentAmountValidationRequest {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" IsoCurrencyCode: ").Append(IsoCurrencyCode).Append("\n"); + sb.Append(" CurrentTenderTotalPaymentAmount: ").Append(CurrentTenderTotalPaymentAmount).Append("\n"); + sb.Append(" PaymentState: ").Append(PaymentState).Append("\n"); + sb.Append(" AllowedAmountTypeCode: ").Append(AllowedAmountTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentAmountValidationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentAmountValidationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentAmountValidationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentAmountValidationRequest input) + { + if (input == null) + return false; + + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.IsoCurrencyCode == input.IsoCurrencyCode || + (this.IsoCurrencyCode != null && + this.IsoCurrencyCode.Equals(input.IsoCurrencyCode)) + ) && + ( + this.CurrentTenderTotalPaymentAmount == input.CurrentTenderTotalPaymentAmount || + (this.CurrentTenderTotalPaymentAmount != null && + this.CurrentTenderTotalPaymentAmount.Equals(input.CurrentTenderTotalPaymentAmount)) + ) && + ( + this.PaymentState == input.PaymentState || + (this.PaymentState != null && + this.PaymentState.Equals(input.PaymentState)) + ) && + ( + this.AllowedAmountTypeCode == input.AllowedAmountTypeCode || + (this.AllowedAmountTypeCode != null && + this.AllowedAmountTypeCode.Equals(input.AllowedAmountTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.IsoCurrencyCode != null) + hashCode = hashCode * 59 + this.IsoCurrencyCode.GetHashCode(); + if (this.CurrentTenderTotalPaymentAmount != null) + hashCode = hashCode * 59 + this.CurrentTenderTotalPaymentAmount.GetHashCode(); + if (this.PaymentState != null) + hashCode = hashCode * 59 + this.PaymentState.GetHashCode(); + if (this.AllowedAmountTypeCode != null) + hashCode = hashCode * 59 + this.AllowedAmountTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAmountValidationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAmountValidationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..a36520eb203613c332a9350d3867e8b17ed63d9e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentAmountValidationResult.cs @@ -0,0 +1,543 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AmountValidationResult <p>A result wrapper for all informations after a validation and check of a payment amount</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentAmountValidationResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentAmountValidationResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>boolean : is okay</p> (required). + /// <p>boolean : is amount invalid</p> (required). + /// <p>boolean : is amount too high</p> (required). + /// <p>boolean : is amount too small</p> (required). + /// <p>boolean : is amount minimum limit exceeded</p> (required). + /// <p>boolean : is amount maximum limit exceeded</p> (required). + /// <p>double : amount limit</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentAmountValidationResult(bool? isOkay = default(bool?), bool? isAmountInvalid = default(bool?), bool? isAmountTooHigh = default(bool?), bool? isAmountTooSmall = default(bool?), bool? isAmountMinimumLimitExceeded = default(bool?), bool? isAmountMaximumLimitExceeded = default(bool?), double? amountLimit = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "isOkay" is required (not null) + if (isOkay == null) + { + throw new InvalidDataException("isOkay is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationResult and cannot be null"); + } + else + { + this.IsOkay = isOkay; + } + // to ensure "isAmountInvalid" is required (not null) + if (isAmountInvalid == null) + { + throw new InvalidDataException("isAmountInvalid is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationResult and cannot be null"); + } + else + { + this.IsAmountInvalid = isAmountInvalid; + } + // to ensure "isAmountTooHigh" is required (not null) + if (isAmountTooHigh == null) + { + throw new InvalidDataException("isAmountTooHigh is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationResult and cannot be null"); + } + else + { + this.IsAmountTooHigh = isAmountTooHigh; + } + // to ensure "isAmountTooSmall" is required (not null) + if (isAmountTooSmall == null) + { + throw new InvalidDataException("isAmountTooSmall is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationResult and cannot be null"); + } + else + { + this.IsAmountTooSmall = isAmountTooSmall; + } + // to ensure "isAmountMinimumLimitExceeded" is required (not null) + if (isAmountMinimumLimitExceeded == null) + { + throw new InvalidDataException("isAmountMinimumLimitExceeded is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationResult and cannot be null"); + } + else + { + this.IsAmountMinimumLimitExceeded = isAmountMinimumLimitExceeded; + } + // to ensure "isAmountMaximumLimitExceeded" is required (not null) + if (isAmountMaximumLimitExceeded == null) + { + throw new InvalidDataException("isAmountMaximumLimitExceeded is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationResult and cannot be null"); + } + else + { + this.IsAmountMaximumLimitExceeded = isAmountMaximumLimitExceeded; + } + // to ensure "amountLimit" is required (not null) + if (amountLimit == null) + { + throw new InvalidDataException("amountLimit is a required property for ComGkSoftwarePosApiServicePaymentAmountValidationResult and cannot be null"); + } + else + { + this.AmountLimit = amountLimit; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>boolean : is okay</p> + /// + /// <p>boolean : is okay</p> + [DataMember(Name="isOkay", EmitDefaultValue=false)] + public bool? IsOkay { get; set; } + + /// + /// <p>boolean : is amount invalid</p> + /// + /// <p>boolean : is amount invalid</p> + [DataMember(Name="isAmountInvalid", EmitDefaultValue=false)] + public bool? IsAmountInvalid { get; set; } + + /// + /// <p>boolean : is amount too high</p> + /// + /// <p>boolean : is amount too high</p> + [DataMember(Name="isAmountTooHigh", EmitDefaultValue=false)] + public bool? IsAmountTooHigh { get; set; } + + /// + /// <p>boolean : is amount too small</p> + /// + /// <p>boolean : is amount too small</p> + [DataMember(Name="isAmountTooSmall", EmitDefaultValue=false)] + public bool? IsAmountTooSmall { get; set; } + + /// + /// <p>boolean : is amount minimum limit exceeded</p> + /// + /// <p>boolean : is amount minimum limit exceeded</p> + [DataMember(Name="isAmountMinimumLimitExceeded", EmitDefaultValue=false)] + public bool? IsAmountMinimumLimitExceeded { get; set; } + + /// + /// <p>boolean : is amount maximum limit exceeded</p> + /// + /// <p>boolean : is amount maximum limit exceeded</p> + [DataMember(Name="isAmountMaximumLimitExceeded", EmitDefaultValue=false)] + public bool? IsAmountMaximumLimitExceeded { get; set; } + + /// + /// <p>double : amount limit</p> + /// + /// <p>double : amount limit</p> + [DataMember(Name="amountLimit", EmitDefaultValue=false)] + public double? AmountLimit { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentAmountValidationResult {\n"); + sb.Append(" IsOkay: ").Append(IsOkay).Append("\n"); + sb.Append(" IsAmountInvalid: ").Append(IsAmountInvalid).Append("\n"); + sb.Append(" IsAmountTooHigh: ").Append(IsAmountTooHigh).Append("\n"); + sb.Append(" IsAmountTooSmall: ").Append(IsAmountTooSmall).Append("\n"); + sb.Append(" IsAmountMinimumLimitExceeded: ").Append(IsAmountMinimumLimitExceeded).Append("\n"); + sb.Append(" IsAmountMaximumLimitExceeded: ").Append(IsAmountMaximumLimitExceeded).Append("\n"); + sb.Append(" AmountLimit: ").Append(AmountLimit).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentAmountValidationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentAmountValidationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentAmountValidationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentAmountValidationResult input) + { + if (input == null) + return false; + + return + ( + this.IsOkay == input.IsOkay || + (this.IsOkay != null && + this.IsOkay.Equals(input.IsOkay)) + ) && + ( + this.IsAmountInvalid == input.IsAmountInvalid || + (this.IsAmountInvalid != null && + this.IsAmountInvalid.Equals(input.IsAmountInvalid)) + ) && + ( + this.IsAmountTooHigh == input.IsAmountTooHigh || + (this.IsAmountTooHigh != null && + this.IsAmountTooHigh.Equals(input.IsAmountTooHigh)) + ) && + ( + this.IsAmountTooSmall == input.IsAmountTooSmall || + (this.IsAmountTooSmall != null && + this.IsAmountTooSmall.Equals(input.IsAmountTooSmall)) + ) && + ( + this.IsAmountMinimumLimitExceeded == input.IsAmountMinimumLimitExceeded || + (this.IsAmountMinimumLimitExceeded != null && + this.IsAmountMinimumLimitExceeded.Equals(input.IsAmountMinimumLimitExceeded)) + ) && + ( + this.IsAmountMaximumLimitExceeded == input.IsAmountMaximumLimitExceeded || + (this.IsAmountMaximumLimitExceeded != null && + this.IsAmountMaximumLimitExceeded.Equals(input.IsAmountMaximumLimitExceeded)) + ) && + ( + this.AmountLimit == input.AmountLimit || + (this.AmountLimit != null && + this.AmountLimit.Equals(input.AmountLimit)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.IsOkay != null) + hashCode = hashCode * 59 + this.IsOkay.GetHashCode(); + if (this.IsAmountInvalid != null) + hashCode = hashCode * 59 + this.IsAmountInvalid.GetHashCode(); + if (this.IsAmountTooHigh != null) + hashCode = hashCode * 59 + this.IsAmountTooHigh.GetHashCode(); + if (this.IsAmountTooSmall != null) + hashCode = hashCode * 59 + this.IsAmountTooSmall.GetHashCode(); + if (this.IsAmountMinimumLimitExceeded != null) + hashCode = hashCode * 59 + this.IsAmountMinimumLimitExceeded.GetHashCode(); + if (this.IsAmountMaximumLimitExceeded != null) + hashCode = hashCode * 59 + this.IsAmountMaximumLimitExceeded.GetHashCode(); + if (this.AmountLimit != null) + hashCode = hashCode * 59 + this.AmountLimit.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCashPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCashPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4bcc5b8bbee841ecb82f76b3f1c825a87515093e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCashPaymentRequest.cs @@ -0,0 +1,587 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CashPaymentRequest <p>Request object used by cash payment operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentCashPaymentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentCashPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>flag to indicate whether the change amount was already paid (e.g. by cash recycler)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentCashPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), bool? changeAmountPaid = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentCashPaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentCashPaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.ChangeAmountPaid = changeAmountPaid; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>flag to indicate whether the change amount was already paid (e.g. by cash recycler)</p> + /// + /// <p>flag to indicate whether the change amount was already paid (e.g. by cash recycler)</p> + [DataMember(Name="changeAmountPaid", EmitDefaultValue=false)] + public bool? ChangeAmountPaid { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentCashPaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" ChangeAmountPaid: ").Append(ChangeAmountPaid).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentCashPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentCashPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentCashPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentCashPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.ChangeAmountPaid == input.ChangeAmountPaid || + (this.ChangeAmountPaid != null && + this.ChangeAmountPaid.Equals(input.ChangeAmountPaid)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.ChangeAmountPaid != null) + hashCode = hashCode * 59 + this.ChangeAmountPaid.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCheckPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCheckPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ac67023241868fbdfa0fb751cb073efa11968c88 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCheckPaymentRequest.cs @@ -0,0 +1,714 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckPaymentRequest <p>Request object used by check payment operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentCheckPaymentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentCheckPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>success</p> (required). + /// <p>fullMicrData</p>. + /// <p>checkSequenceNumber</p>. + /// <p>adjudicationCode</p>. + /// <p>bankId</p>. + /// <p>checkAccountNumber</p>. + /// <p>merchantPrintCache </p>. + /// <p>customerPrintCache </p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentCheckPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), bool? success = default(bool?), string fullMicrData = default(string), string checkSequenceNumber = default(string), string adjudicationCode = default(string), string bankId = default(string), string checkAccountNumber = default(string), string merchantPrintCache = default(string), string customerPrintCache = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentCheckPaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentCheckPaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + // to ensure "success" is required (not null) + if (success == null) + { + throw new InvalidDataException("success is a required property for ComGkSoftwarePosApiServicePaymentCheckPaymentRequest and cannot be null"); + } + else + { + this.Success = success; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.FullMicrData = fullMicrData; + this.CheckSequenceNumber = checkSequenceNumber; + this.AdjudicationCode = adjudicationCode; + this.BankId = bankId; + this.CheckAccountNumber = checkAccountNumber; + this.MerchantPrintCache = merchantPrintCache; + this.CustomerPrintCache = customerPrintCache; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>success</p> + /// + /// <p>success</p> + [DataMember(Name="success", EmitDefaultValue=false)] + public bool? Success { get; set; } + + /// + /// <p>fullMicrData</p> + /// + /// <p>fullMicrData</p> + [DataMember(Name="fullMicrData", EmitDefaultValue=false)] + public string FullMicrData { get; set; } + + /// + /// <p>checkSequenceNumber</p> + /// + /// <p>checkSequenceNumber</p> + [DataMember(Name="checkSequenceNumber", EmitDefaultValue=false)] + public string CheckSequenceNumber { get; set; } + + /// + /// <p>adjudicationCode</p> + /// + /// <p>adjudicationCode</p> + [DataMember(Name="adjudicationCode", EmitDefaultValue=false)] + public string AdjudicationCode { get; set; } + + /// + /// <p>bankId</p> + /// + /// <p>bankId</p> + [DataMember(Name="bankId", EmitDefaultValue=false)] + public string BankId { get; set; } + + /// + /// <p>checkAccountNumber</p> + /// + /// <p>checkAccountNumber</p> + [DataMember(Name="checkAccountNumber", EmitDefaultValue=false)] + public string CheckAccountNumber { get; set; } + + /// + /// <p>merchantPrintCache </p> + /// + /// <p>merchantPrintCache </p> + [DataMember(Name="merchantPrintCache", EmitDefaultValue=false)] + public string MerchantPrintCache { get; set; } + + /// + /// <p>customerPrintCache </p> + /// + /// <p>customerPrintCache </p> + [DataMember(Name="customerPrintCache", EmitDefaultValue=false)] + public string CustomerPrintCache { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentCheckPaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" Success: ").Append(Success).Append("\n"); + sb.Append(" FullMicrData: ").Append(FullMicrData).Append("\n"); + sb.Append(" CheckSequenceNumber: ").Append(CheckSequenceNumber).Append("\n"); + sb.Append(" AdjudicationCode: ").Append(AdjudicationCode).Append("\n"); + sb.Append(" BankId: ").Append(BankId).Append("\n"); + sb.Append(" CheckAccountNumber: ").Append(CheckAccountNumber).Append("\n"); + sb.Append(" MerchantPrintCache: ").Append(MerchantPrintCache).Append("\n"); + sb.Append(" CustomerPrintCache: ").Append(CustomerPrintCache).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentCheckPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentCheckPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentCheckPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentCheckPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.Success == input.Success || + (this.Success != null && + this.Success.Equals(input.Success)) + ) && + ( + this.FullMicrData == input.FullMicrData || + (this.FullMicrData != null && + this.FullMicrData.Equals(input.FullMicrData)) + ) && + ( + this.CheckSequenceNumber == input.CheckSequenceNumber || + (this.CheckSequenceNumber != null && + this.CheckSequenceNumber.Equals(input.CheckSequenceNumber)) + ) && + ( + this.AdjudicationCode == input.AdjudicationCode || + (this.AdjudicationCode != null && + this.AdjudicationCode.Equals(input.AdjudicationCode)) + ) && + ( + this.BankId == input.BankId || + (this.BankId != null && + this.BankId.Equals(input.BankId)) + ) && + ( + this.CheckAccountNumber == input.CheckAccountNumber || + (this.CheckAccountNumber != null && + this.CheckAccountNumber.Equals(input.CheckAccountNumber)) + ) && + ( + this.MerchantPrintCache == input.MerchantPrintCache || + (this.MerchantPrintCache != null && + this.MerchantPrintCache.Equals(input.MerchantPrintCache)) + ) && + ( + this.CustomerPrintCache == input.CustomerPrintCache || + (this.CustomerPrintCache != null && + this.CustomerPrintCache.Equals(input.CustomerPrintCache)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.Success != null) + hashCode = hashCode * 59 + this.Success.GetHashCode(); + if (this.FullMicrData != null) + hashCode = hashCode * 59 + this.FullMicrData.GetHashCode(); + if (this.CheckSequenceNumber != null) + hashCode = hashCode * 59 + this.CheckSequenceNumber.GetHashCode(); + if (this.AdjudicationCode != null) + hashCode = hashCode * 59 + this.AdjudicationCode.GetHashCode(); + if (this.BankId != null) + hashCode = hashCode * 59 + this.BankId.GetHashCode(); + if (this.CheckAccountNumber != null) + hashCode = hashCode * 59 + this.CheckAccountNumber.GetHashCode(); + if (this.MerchantPrintCache != null) + hashCode = hashCode * 59 + this.MerchantPrintCache.GetHashCode(); + if (this.CustomerPrintCache != null) + hashCode = hashCode * 59 + this.CustomerPrintCache.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCreditPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCreditPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3716daa4d72d96161ce5dd6668954474098b24bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentCreditPaymentRequest.cs @@ -0,0 +1,587 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreditPaymentRequest <p>Request object used by credit payment operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentCreditPaymentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentCreditPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>long : document number</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentCreditPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), string documentNumber = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentCreditPaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentCreditPaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.DocumentNumber = documentNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>long : document number</p> + /// + /// <p>long : document number</p> + [DataMember(Name="documentNumber", EmitDefaultValue=false)] + public string DocumentNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentCreditPaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" DocumentNumber: ").Append(DocumentNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentCreditPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentCreditPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentCreditPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentCreditPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.DocumentNumber == input.DocumentNumber || + (this.DocumentNumber != null && + this.DocumentNumber.Equals(input.DocumentNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.DocumentNumber != null) + hashCode = hashCode * 59 + this.DocumentNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8b14503e76e559f8b43bf821a8d51736517a1bf4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest.cs @@ -0,0 +1,526 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FilterPerTenderRequest <p>Request object used by PaymentService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>boolean : wic mode</p> (required). + /// <p>double : base currency total payment amount</p> (required). + /// <p>double : base currency remaining payment amount</p> (required). + /// <p>List of TenderDO : allowed tender</p>. + /// <p>List of TenderDO : forbidden tender</p>. + /// <p>AllowedTendersConfig : allowed tenders config</p>. + /// lastTender. + /// lastTenderAmount. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest(bool? wicMode = default(bool?), double? baseCurrencyTotalPaymentAmount = default(double?), double? baseCurrencyRemainingPaymentAmount = default(double?), List allowedTender = default(List), List forbiddenTender = default(List), ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig allowedTendersConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO lastTender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), double? lastTenderAmount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "wicMode" is required (not null) + if (wicMode == null) + { + throw new InvalidDataException("wicMode is a required property for ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest and cannot be null"); + } + else + { + this.WicMode = wicMode; + } + // to ensure "baseCurrencyTotalPaymentAmount" is required (not null) + if (baseCurrencyTotalPaymentAmount == null) + { + throw new InvalidDataException("baseCurrencyTotalPaymentAmount is a required property for ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest and cannot be null"); + } + else + { + this.BaseCurrencyTotalPaymentAmount = baseCurrencyTotalPaymentAmount; + } + // to ensure "baseCurrencyRemainingPaymentAmount" is required (not null) + if (baseCurrencyRemainingPaymentAmount == null) + { + throw new InvalidDataException("baseCurrencyRemainingPaymentAmount is a required property for ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest and cannot be null"); + } + else + { + this.BaseCurrencyRemainingPaymentAmount = baseCurrencyRemainingPaymentAmount; + } + this.AllowedTender = allowedTender; + this.ForbiddenTender = forbiddenTender; + this.AllowedTendersConfig = allowedTendersConfig; + this.LastTender = lastTender; + this.LastTenderAmount = lastTenderAmount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>boolean : wic mode</p> + /// + /// <p>boolean : wic mode</p> + [DataMember(Name="wicMode", EmitDefaultValue=false)] + public bool? WicMode { get; set; } + + /// + /// <p>double : base currency total payment amount</p> + /// + /// <p>double : base currency total payment amount</p> + [DataMember(Name="baseCurrencyTotalPaymentAmount", EmitDefaultValue=false)] + public double? BaseCurrencyTotalPaymentAmount { get; set; } + + /// + /// <p>double : base currency remaining payment amount</p> + /// + /// <p>double : base currency remaining payment amount</p> + [DataMember(Name="baseCurrencyRemainingPaymentAmount", EmitDefaultValue=false)] + public double? BaseCurrencyRemainingPaymentAmount { get; set; } + + /// + /// <p>List of TenderDO : allowed tender</p> + /// + /// <p>List of TenderDO : allowed tender</p> + [DataMember(Name="allowedTender", EmitDefaultValue=false)] + public List AllowedTender { get; set; } + + /// + /// <p>List of TenderDO : forbidden tender</p> + /// + /// <p>List of TenderDO : forbidden tender</p> + [DataMember(Name="forbiddenTender", EmitDefaultValue=false)] + public List ForbiddenTender { get; set; } + + /// + /// <p>AllowedTendersConfig : allowed tenders config</p> + /// + /// <p>AllowedTendersConfig : allowed tenders config</p> + [DataMember(Name="allowedTendersConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig AllowedTendersConfig { get; set; } + + /// + /// Gets or Sets LastTender + /// + [DataMember(Name="lastTender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO LastTender { get; set; } + + /// + /// Gets or Sets LastTenderAmount + /// + [DataMember(Name="lastTenderAmount", EmitDefaultValue=false)] + public double? LastTenderAmount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest {\n"); + sb.Append(" WicMode: ").Append(WicMode).Append("\n"); + sb.Append(" BaseCurrencyTotalPaymentAmount: ").Append(BaseCurrencyTotalPaymentAmount).Append("\n"); + sb.Append(" BaseCurrencyRemainingPaymentAmount: ").Append(BaseCurrencyRemainingPaymentAmount).Append("\n"); + sb.Append(" AllowedTender: ").Append(AllowedTender).Append("\n"); + sb.Append(" ForbiddenTender: ").Append(ForbiddenTender).Append("\n"); + sb.Append(" AllowedTendersConfig: ").Append(AllowedTendersConfig).Append("\n"); + sb.Append(" LastTender: ").Append(LastTender).Append("\n"); + sb.Append(" LastTenderAmount: ").Append(LastTenderAmount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest input) + { + if (input == null) + return false; + + return + ( + this.WicMode == input.WicMode || + (this.WicMode != null && + this.WicMode.Equals(input.WicMode)) + ) && + ( + this.BaseCurrencyTotalPaymentAmount == input.BaseCurrencyTotalPaymentAmount || + (this.BaseCurrencyTotalPaymentAmount != null && + this.BaseCurrencyTotalPaymentAmount.Equals(input.BaseCurrencyTotalPaymentAmount)) + ) && + ( + this.BaseCurrencyRemainingPaymentAmount == input.BaseCurrencyRemainingPaymentAmount || + (this.BaseCurrencyRemainingPaymentAmount != null && + this.BaseCurrencyRemainingPaymentAmount.Equals(input.BaseCurrencyRemainingPaymentAmount)) + ) && + ( + this.AllowedTender == input.AllowedTender || + this.AllowedTender != null && + this.AllowedTender.SequenceEqual(input.AllowedTender) + ) && + ( + this.ForbiddenTender == input.ForbiddenTender || + this.ForbiddenTender != null && + this.ForbiddenTender.SequenceEqual(input.ForbiddenTender) + ) && + ( + this.AllowedTendersConfig == input.AllowedTendersConfig || + (this.AllowedTendersConfig != null && + this.AllowedTendersConfig.Equals(input.AllowedTendersConfig)) + ) && + ( + this.LastTender == input.LastTender || + (this.LastTender != null && + this.LastTender.Equals(input.LastTender)) + ) && + ( + this.LastTenderAmount == input.LastTenderAmount || + (this.LastTenderAmount != null && + this.LastTenderAmount.Equals(input.LastTenderAmount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.WicMode != null) + hashCode = hashCode * 59 + this.WicMode.GetHashCode(); + if (this.BaseCurrencyTotalPaymentAmount != null) + hashCode = hashCode * 59 + this.BaseCurrencyTotalPaymentAmount.GetHashCode(); + if (this.BaseCurrencyRemainingPaymentAmount != null) + hashCode = hashCode * 59 + this.BaseCurrencyRemainingPaymentAmount.GetHashCode(); + if (this.AllowedTender != null) + hashCode = hashCode * 59 + this.AllowedTender.GetHashCode(); + if (this.ForbiddenTender != null) + hashCode = hashCode * 59 + this.ForbiddenTender.GetHashCode(); + if (this.AllowedTendersConfig != null) + hashCode = hashCode * 59 + this.AllowedTendersConfig.GetHashCode(); + if (this.LastTender != null) + hashCode = hashCode * 59 + this.LastTender.GetHashCode(); + if (this.LastTenderAmount != null) + hashCode = hashCode * 59 + this.LastTenderAmount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6748999a98cc245568bb626c6286b2327a949ca5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest.cs @@ -0,0 +1,815 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificatePaymentRequest <p>A data structure holding all necessary parameters for creation of gift certificate tender line item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>String : gc number</p>. + /// <p>String : gc type</p>. + /// <p>boolean : gcs usage</p> (required). + /// <p>boolean : booking successful</p> (required). + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> (required). + /// <p>String : gcs transaction uuid</p>. + /// <p>String : external system adapter name</p>. + /// <p>Amount : remaining balance</p>. + /// <p>int : gc quantity</p>. + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>String : Track two of the giftcard.</p>. + /// <p>List of additional attributes for gift certificates with a name and a value.</p>. + /// <p>String : The current entry method code.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), string gcNumber = default(string), string gcType = default(string), bool? gcsUsage = default(bool?), bool? bookingSuccessful = default(bool?), bool? enableGiftCertificateChange = default(bool?), string gcsTransactionUuid = default(string), string externalSystemAdapterName = default(string), ComGkSoftwarePosApiModelDomAppAmountAmount remainingBalance = default(ComGkSoftwarePosApiModelDomAppAmountAmount), int? gcQuantity = default(int?), string expiryDate = default(string), string gcTrack2 = default(string), List additionalInfo = default(List), string entryMethodCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + // to ensure "gcsUsage" is required (not null) + if (gcsUsage == null) + { + throw new InvalidDataException("gcsUsage is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest and cannot be null"); + } + else + { + this.GcsUsage = gcsUsage; + } + // to ensure "bookingSuccessful" is required (not null) + if (bookingSuccessful == null) + { + throw new InvalidDataException("bookingSuccessful is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest and cannot be null"); + } + else + { + this.BookingSuccessful = bookingSuccessful; + } + // to ensure "enableGiftCertificateChange" is required (not null) + if (enableGiftCertificateChange == null) + { + throw new InvalidDataException("enableGiftCertificateChange is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest and cannot be null"); + } + else + { + this.EnableGiftCertificateChange = enableGiftCertificateChange; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.GcNumber = gcNumber; + this.GcType = gcType; + this.GcsTransactionUuid = gcsTransactionUuid; + this.ExternalSystemAdapterName = externalSystemAdapterName; + this.RemainingBalance = remainingBalance; + this.GcQuantity = gcQuantity; + this.ExpiryDate = expiryDate; + this.GcTrack2 = gcTrack2; + this.AdditionalInfo = additionalInfo; + this.EntryMethodCode = entryMethodCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>String : gc number</p> + /// + /// <p>String : gc number</p> + [DataMember(Name="gcNumber", EmitDefaultValue=false)] + public string GcNumber { get; set; } + + /// + /// <p>String : gc type</p> + /// + /// <p>String : gc type</p> + [DataMember(Name="gcType", EmitDefaultValue=false)] + public string GcType { get; set; } + + /// + /// <p>boolean : gcs usage</p> + /// + /// <p>boolean : gcs usage</p> + [DataMember(Name="gcsUsage", EmitDefaultValue=false)] + public bool? GcsUsage { get; set; } + + /// + /// <p>boolean : booking successful</p> + /// + /// <p>boolean : booking successful</p> + [DataMember(Name="bookingSuccessful", EmitDefaultValue=false)] + public bool? BookingSuccessful { get; set; } + + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + [DataMember(Name="enableGiftCertificateChange", EmitDefaultValue=false)] + public bool? EnableGiftCertificateChange { get; set; } + + /// + /// <p>String : gcs transaction uuid</p> + /// + /// <p>String : gcs transaction uuid</p> + [DataMember(Name="gcsTransactionUuid", EmitDefaultValue=false)] + public string GcsTransactionUuid { get; set; } + + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + [DataMember(Name="externalSystemAdapterName", EmitDefaultValue=false)] + public string ExternalSystemAdapterName { get; set; } + + /// + /// <p>Amount : remaining balance</p> + /// + /// <p>Amount : remaining balance</p> + [DataMember(Name="remainingBalance", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount RemainingBalance { get; set; } + + /// + /// <p>int : gc quantity</p> + /// + /// <p>int : gc quantity</p> + [DataMember(Name="gcQuantity", EmitDefaultValue=false)] + public int? GcQuantity { get; set; } + + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expiryDate", EmitDefaultValue=false)] + public string ExpiryDate { get; set; } + + /// + /// <p>String : Track two of the giftcard.</p> + /// + /// <p>String : Track two of the giftcard.</p> + [DataMember(Name="gcTrack2", EmitDefaultValue=false)] + public string GcTrack2 { get; set; } + + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + [DataMember(Name="additionalInfo", EmitDefaultValue=false)] + public List AdditionalInfo { get; set; } + + /// + /// <p>String : The current entry method code.</p> + /// + /// <p>String : The current entry method code.</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" GcNumber: ").Append(GcNumber).Append("\n"); + sb.Append(" GcType: ").Append(GcType).Append("\n"); + sb.Append(" GcsUsage: ").Append(GcsUsage).Append("\n"); + sb.Append(" BookingSuccessful: ").Append(BookingSuccessful).Append("\n"); + sb.Append(" EnableGiftCertificateChange: ").Append(EnableGiftCertificateChange).Append("\n"); + sb.Append(" GcsTransactionUuid: ").Append(GcsTransactionUuid).Append("\n"); + sb.Append(" ExternalSystemAdapterName: ").Append(ExternalSystemAdapterName).Append("\n"); + sb.Append(" RemainingBalance: ").Append(RemainingBalance).Append("\n"); + sb.Append(" GcQuantity: ").Append(GcQuantity).Append("\n"); + sb.Append(" ExpiryDate: ").Append(ExpiryDate).Append("\n"); + sb.Append(" GcTrack2: ").Append(GcTrack2).Append("\n"); + sb.Append(" AdditionalInfo: ").Append(AdditionalInfo).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.GcNumber == input.GcNumber || + (this.GcNumber != null && + this.GcNumber.Equals(input.GcNumber)) + ) && + ( + this.GcType == input.GcType || + (this.GcType != null && + this.GcType.Equals(input.GcType)) + ) && + ( + this.GcsUsage == input.GcsUsage || + (this.GcsUsage != null && + this.GcsUsage.Equals(input.GcsUsage)) + ) && + ( + this.BookingSuccessful == input.BookingSuccessful || + (this.BookingSuccessful != null && + this.BookingSuccessful.Equals(input.BookingSuccessful)) + ) && + ( + this.EnableGiftCertificateChange == input.EnableGiftCertificateChange || + (this.EnableGiftCertificateChange != null && + this.EnableGiftCertificateChange.Equals(input.EnableGiftCertificateChange)) + ) && + ( + this.GcsTransactionUuid == input.GcsTransactionUuid || + (this.GcsTransactionUuid != null && + this.GcsTransactionUuid.Equals(input.GcsTransactionUuid)) + ) && + ( + this.ExternalSystemAdapterName == input.ExternalSystemAdapterName || + (this.ExternalSystemAdapterName != null && + this.ExternalSystemAdapterName.Equals(input.ExternalSystemAdapterName)) + ) && + ( + this.RemainingBalance == input.RemainingBalance || + (this.RemainingBalance != null && + this.RemainingBalance.Equals(input.RemainingBalance)) + ) && + ( + this.GcQuantity == input.GcQuantity || + (this.GcQuantity != null && + this.GcQuantity.Equals(input.GcQuantity)) + ) && + ( + this.ExpiryDate == input.ExpiryDate || + (this.ExpiryDate != null && + this.ExpiryDate.Equals(input.ExpiryDate)) + ) && + ( + this.GcTrack2 == input.GcTrack2 || + (this.GcTrack2 != null && + this.GcTrack2.Equals(input.GcTrack2)) + ) && + ( + this.AdditionalInfo == input.AdditionalInfo || + this.AdditionalInfo != null && + this.AdditionalInfo.SequenceEqual(input.AdditionalInfo) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.GcNumber != null) + hashCode = hashCode * 59 + this.GcNumber.GetHashCode(); + if (this.GcType != null) + hashCode = hashCode * 59 + this.GcType.GetHashCode(); + if (this.GcsUsage != null) + hashCode = hashCode * 59 + this.GcsUsage.GetHashCode(); + if (this.BookingSuccessful != null) + hashCode = hashCode * 59 + this.BookingSuccessful.GetHashCode(); + if (this.EnableGiftCertificateChange != null) + hashCode = hashCode * 59 + this.EnableGiftCertificateChange.GetHashCode(); + if (this.GcsTransactionUuid != null) + hashCode = hashCode * 59 + this.GcsTransactionUuid.GetHashCode(); + if (this.ExternalSystemAdapterName != null) + hashCode = hashCode * 59 + this.ExternalSystemAdapterName.GetHashCode(); + if (this.RemainingBalance != null) + hashCode = hashCode * 59 + this.RemainingBalance.GetHashCode(); + if (this.GcQuantity != null) + hashCode = hashCode * 59 + this.GcQuantity.GetHashCode(); + if (this.ExpiryDate != null) + hashCode = hashCode * 59 + this.ExpiryDate.GetHashCode(); + if (this.GcTrack2 != null) + hashCode = hashCode * 59 + this.GcTrack2.GetHashCode(); + if (this.AdditionalInfo != null) + hashCode = hashCode * 59 + this.AdditionalInfo.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1e4f17175a59d0ad44c1f258e5bafe5c27dadac1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest.cs @@ -0,0 +1,849 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificateSpvPaymentRequest <p>A data structure holding all necessary parameters for creation of single purpose voucher sale return line item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>String : gc number</p>. + /// <p>String : gc type</p>. + /// <p>boolean : gcs usage</p> (required). + /// <p>boolean : booking successful</p> (required). + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> (required). + /// <p>String : gcs transaction uuid</p>. + /// <p>String : external system adapter name</p>. + /// <p>Amount : remaining balance</p>. + /// <p>int : gc quantity</p>. + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>String : Track two of the giftcard.</p>. + /// <p>List of additional attributes for gift certificates with a name and a value.</p>. + /// <p>String : The current entry method code.</p>. + /// <p>It defines the gift certificate item (e.g. for Single Purpose Vouchers).<br /> If filled then it will be used for sale return line item creation.</p>. + /// <p>Amount returned by the Stored Value Server (abs(GiftCertStatus.old_amount – GiftCertStatus.new_amount))</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), string gcNumber = default(string), string gcType = default(string), bool? gcsUsage = default(bool?), bool? bookingSuccessful = default(bool?), bool? enableGiftCertificateChange = default(bool?), string gcsTransactionUuid = default(string), string externalSystemAdapterName = default(string), ComGkSoftwarePosApiModelDomAppAmountAmount remainingBalance = default(ComGkSoftwarePosApiModelDomAppAmountAmount), int? gcQuantity = default(int?), string expiryDate = default(string), string gcTrack2 = default(string), List additionalInfo = default(List), string entryMethodCode = default(string), string gcItem = default(string), ComGkSoftwarePosApiModelDomAppAmountAmount returnedAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + // to ensure "gcsUsage" is required (not null) + if (gcsUsage == null) + { + throw new InvalidDataException("gcsUsage is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest and cannot be null"); + } + else + { + this.GcsUsage = gcsUsage; + } + // to ensure "bookingSuccessful" is required (not null) + if (bookingSuccessful == null) + { + throw new InvalidDataException("bookingSuccessful is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest and cannot be null"); + } + else + { + this.BookingSuccessful = bookingSuccessful; + } + // to ensure "enableGiftCertificateChange" is required (not null) + if (enableGiftCertificateChange == null) + { + throw new InvalidDataException("enableGiftCertificateChange is a required property for ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest and cannot be null"); + } + else + { + this.EnableGiftCertificateChange = enableGiftCertificateChange; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.GcNumber = gcNumber; + this.GcType = gcType; + this.GcsTransactionUuid = gcsTransactionUuid; + this.ExternalSystemAdapterName = externalSystemAdapterName; + this.RemainingBalance = remainingBalance; + this.GcQuantity = gcQuantity; + this.ExpiryDate = expiryDate; + this.GcTrack2 = gcTrack2; + this.AdditionalInfo = additionalInfo; + this.EntryMethodCode = entryMethodCode; + this.GcItem = gcItem; + this.ReturnedAmount = returnedAmount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>String : gc number</p> + /// + /// <p>String : gc number</p> + [DataMember(Name="gcNumber", EmitDefaultValue=false)] + public string GcNumber { get; set; } + + /// + /// <p>String : gc type</p> + /// + /// <p>String : gc type</p> + [DataMember(Name="gcType", EmitDefaultValue=false)] + public string GcType { get; set; } + + /// + /// <p>boolean : gcs usage</p> + /// + /// <p>boolean : gcs usage</p> + [DataMember(Name="gcsUsage", EmitDefaultValue=false)] + public bool? GcsUsage { get; set; } + + /// + /// <p>boolean : booking successful</p> + /// + /// <p>boolean : booking successful</p> + [DataMember(Name="bookingSuccessful", EmitDefaultValue=false)] + public bool? BookingSuccessful { get; set; } + + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + [DataMember(Name="enableGiftCertificateChange", EmitDefaultValue=false)] + public bool? EnableGiftCertificateChange { get; set; } + + /// + /// <p>String : gcs transaction uuid</p> + /// + /// <p>String : gcs transaction uuid</p> + [DataMember(Name="gcsTransactionUuid", EmitDefaultValue=false)] + public string GcsTransactionUuid { get; set; } + + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + [DataMember(Name="externalSystemAdapterName", EmitDefaultValue=false)] + public string ExternalSystemAdapterName { get; set; } + + /// + /// <p>Amount : remaining balance</p> + /// + /// <p>Amount : remaining balance</p> + [DataMember(Name="remainingBalance", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount RemainingBalance { get; set; } + + /// + /// <p>int : gc quantity</p> + /// + /// <p>int : gc quantity</p> + [DataMember(Name="gcQuantity", EmitDefaultValue=false)] + public int? GcQuantity { get; set; } + + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expiryDate", EmitDefaultValue=false)] + public string ExpiryDate { get; set; } + + /// + /// <p>String : Track two of the giftcard.</p> + /// + /// <p>String : Track two of the giftcard.</p> + [DataMember(Name="gcTrack2", EmitDefaultValue=false)] + public string GcTrack2 { get; set; } + + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + [DataMember(Name="additionalInfo", EmitDefaultValue=false)] + public List AdditionalInfo { get; set; } + + /// + /// <p>String : The current entry method code.</p> + /// + /// <p>String : The current entry method code.</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>It defines the gift certificate item (e.g. for Single Purpose Vouchers).<br /> If filled then it will be used for sale return line item creation.</p> + /// + /// <p>It defines the gift certificate item (e.g. for Single Purpose Vouchers).<br /> If filled then it will be used for sale return line item creation.</p> + [DataMember(Name="gcItem", EmitDefaultValue=false)] + public string GcItem { get; set; } + + /// + /// <p>Amount returned by the Stored Value Server (abs(GiftCertStatus.old_amount – GiftCertStatus.new_amount))</p> + /// + /// <p>Amount returned by the Stored Value Server (abs(GiftCertStatus.old_amount – GiftCertStatus.new_amount))</p> + [DataMember(Name="returnedAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount ReturnedAmount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" GcNumber: ").Append(GcNumber).Append("\n"); + sb.Append(" GcType: ").Append(GcType).Append("\n"); + sb.Append(" GcsUsage: ").Append(GcsUsage).Append("\n"); + sb.Append(" BookingSuccessful: ").Append(BookingSuccessful).Append("\n"); + sb.Append(" EnableGiftCertificateChange: ").Append(EnableGiftCertificateChange).Append("\n"); + sb.Append(" GcsTransactionUuid: ").Append(GcsTransactionUuid).Append("\n"); + sb.Append(" ExternalSystemAdapterName: ").Append(ExternalSystemAdapterName).Append("\n"); + sb.Append(" RemainingBalance: ").Append(RemainingBalance).Append("\n"); + sb.Append(" GcQuantity: ").Append(GcQuantity).Append("\n"); + sb.Append(" ExpiryDate: ").Append(ExpiryDate).Append("\n"); + sb.Append(" GcTrack2: ").Append(GcTrack2).Append("\n"); + sb.Append(" AdditionalInfo: ").Append(AdditionalInfo).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" GcItem: ").Append(GcItem).Append("\n"); + sb.Append(" ReturnedAmount: ").Append(ReturnedAmount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.GcNumber == input.GcNumber || + (this.GcNumber != null && + this.GcNumber.Equals(input.GcNumber)) + ) && + ( + this.GcType == input.GcType || + (this.GcType != null && + this.GcType.Equals(input.GcType)) + ) && + ( + this.GcsUsage == input.GcsUsage || + (this.GcsUsage != null && + this.GcsUsage.Equals(input.GcsUsage)) + ) && + ( + this.BookingSuccessful == input.BookingSuccessful || + (this.BookingSuccessful != null && + this.BookingSuccessful.Equals(input.BookingSuccessful)) + ) && + ( + this.EnableGiftCertificateChange == input.EnableGiftCertificateChange || + (this.EnableGiftCertificateChange != null && + this.EnableGiftCertificateChange.Equals(input.EnableGiftCertificateChange)) + ) && + ( + this.GcsTransactionUuid == input.GcsTransactionUuid || + (this.GcsTransactionUuid != null && + this.GcsTransactionUuid.Equals(input.GcsTransactionUuid)) + ) && + ( + this.ExternalSystemAdapterName == input.ExternalSystemAdapterName || + (this.ExternalSystemAdapterName != null && + this.ExternalSystemAdapterName.Equals(input.ExternalSystemAdapterName)) + ) && + ( + this.RemainingBalance == input.RemainingBalance || + (this.RemainingBalance != null && + this.RemainingBalance.Equals(input.RemainingBalance)) + ) && + ( + this.GcQuantity == input.GcQuantity || + (this.GcQuantity != null && + this.GcQuantity.Equals(input.GcQuantity)) + ) && + ( + this.ExpiryDate == input.ExpiryDate || + (this.ExpiryDate != null && + this.ExpiryDate.Equals(input.ExpiryDate)) + ) && + ( + this.GcTrack2 == input.GcTrack2 || + (this.GcTrack2 != null && + this.GcTrack2.Equals(input.GcTrack2)) + ) && + ( + this.AdditionalInfo == input.AdditionalInfo || + this.AdditionalInfo != null && + this.AdditionalInfo.SequenceEqual(input.AdditionalInfo) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.GcItem == input.GcItem || + (this.GcItem != null && + this.GcItem.Equals(input.GcItem)) + ) && + ( + this.ReturnedAmount == input.ReturnedAmount || + (this.ReturnedAmount != null && + this.ReturnedAmount.Equals(input.ReturnedAmount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.GcNumber != null) + hashCode = hashCode * 59 + this.GcNumber.GetHashCode(); + if (this.GcType != null) + hashCode = hashCode * 59 + this.GcType.GetHashCode(); + if (this.GcsUsage != null) + hashCode = hashCode * 59 + this.GcsUsage.GetHashCode(); + if (this.BookingSuccessful != null) + hashCode = hashCode * 59 + this.BookingSuccessful.GetHashCode(); + if (this.EnableGiftCertificateChange != null) + hashCode = hashCode * 59 + this.EnableGiftCertificateChange.GetHashCode(); + if (this.GcsTransactionUuid != null) + hashCode = hashCode * 59 + this.GcsTransactionUuid.GetHashCode(); + if (this.ExternalSystemAdapterName != null) + hashCode = hashCode * 59 + this.ExternalSystemAdapterName.GetHashCode(); + if (this.RemainingBalance != null) + hashCode = hashCode * 59 + this.RemainingBalance.GetHashCode(); + if (this.GcQuantity != null) + hashCode = hashCode * 59 + this.GcQuantity.GetHashCode(); + if (this.ExpiryDate != null) + hashCode = hashCode * 59 + this.ExpiryDate.GetHashCode(); + if (this.GcTrack2 != null) + hashCode = hashCode * 59 + this.GcTrack2.GetHashCode(); + if (this.AdditionalInfo != null) + hashCode = hashCode * 59 + this.AdditionalInfo.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.GcItem != null) + hashCode = hashCode * 59 + this.GcItem.GetHashCode(); + if (this.ReturnedAmount != null) + hashCode = hashCode * 59 + this.ReturnedAmount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPayableAmountResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPayableAmountResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..66c40d9adfe919143c9e1824970743d5d6a53a76 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPayableAmountResult.cs @@ -0,0 +1,694 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PayableAmountResult <p>Result object of the PaymentService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentPayableAmountResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentPayableAmountResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>double : change amount</p> (required). + /// <p>double : foreign currency change amount</p> (required). + /// <p>double : grand total amount</p> (required). + /// <p>double : foreign currency grand total amount</p> (required). + /// <p>double : payed amount</p> (required). + /// <p>double : foreign currency payed amount</p> (required). + /// <p>Amount: tip amount</p> (required). + /// <p>double : base currency tender payable amount</p> (required). + /// <p>double : foreign currency tender payable amount</p> (required). + /// <p>boolean : mgh tender permission rules checked</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentPayableAmountResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), double? changeAmount = default(double?), double? foreignCurrencyChangeAmount = default(double?), double? grandTotalAmount = default(double?), double? foreignCurrencyGrandTotalAmount = default(double?), double? payedAmount = default(double?), double? foreignCurrencyPayedAmount = default(double?), double? tipAmount = default(double?), double? baseCurrencyTenderPayableAmount = default(double?), double? foreignCurrencyTenderPayableAmount = default(double?), bool? mghTenderPermissionRulesChecked = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "changeAmount" is required (not null) + if (changeAmount == null) + { + throw new InvalidDataException("changeAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.ChangeAmount = changeAmount; + } + // to ensure "foreignCurrencyChangeAmount" is required (not null) + if (foreignCurrencyChangeAmount == null) + { + throw new InvalidDataException("foreignCurrencyChangeAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.ForeignCurrencyChangeAmount = foreignCurrencyChangeAmount; + } + // to ensure "grandTotalAmount" is required (not null) + if (grandTotalAmount == null) + { + throw new InvalidDataException("grandTotalAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.GrandTotalAmount = grandTotalAmount; + } + // to ensure "foreignCurrencyGrandTotalAmount" is required (not null) + if (foreignCurrencyGrandTotalAmount == null) + { + throw new InvalidDataException("foreignCurrencyGrandTotalAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.ForeignCurrencyGrandTotalAmount = foreignCurrencyGrandTotalAmount; + } + // to ensure "payedAmount" is required (not null) + if (payedAmount == null) + { + throw new InvalidDataException("payedAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.PayedAmount = payedAmount; + } + // to ensure "foreignCurrencyPayedAmount" is required (not null) + if (foreignCurrencyPayedAmount == null) + { + throw new InvalidDataException("foreignCurrencyPayedAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.ForeignCurrencyPayedAmount = foreignCurrencyPayedAmount; + } + // to ensure "tipAmount" is required (not null) + if (tipAmount == null) + { + throw new InvalidDataException("tipAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.TipAmount = tipAmount; + } + // to ensure "baseCurrencyTenderPayableAmount" is required (not null) + if (baseCurrencyTenderPayableAmount == null) + { + throw new InvalidDataException("baseCurrencyTenderPayableAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.BaseCurrencyTenderPayableAmount = baseCurrencyTenderPayableAmount; + } + // to ensure "foreignCurrencyTenderPayableAmount" is required (not null) + if (foreignCurrencyTenderPayableAmount == null) + { + throw new InvalidDataException("foreignCurrencyTenderPayableAmount is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.ForeignCurrencyTenderPayableAmount = foreignCurrencyTenderPayableAmount; + } + // to ensure "mghTenderPermissionRulesChecked" is required (not null) + if (mghTenderPermissionRulesChecked == null) + { + throw new InvalidDataException("mghTenderPermissionRulesChecked is a required property for ComGkSoftwarePosApiServicePaymentPayableAmountResult and cannot be null"); + } + else + { + this.MghTenderPermissionRulesChecked = mghTenderPermissionRulesChecked; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>double : change amount</p> + /// + /// <p>double : change amount</p> + [DataMember(Name="changeAmount", EmitDefaultValue=false)] + public double? ChangeAmount { get; set; } + + /// + /// <p>double : foreign currency change amount</p> + /// + /// <p>double : foreign currency change amount</p> + [DataMember(Name="foreignCurrencyChangeAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyChangeAmount { get; set; } + + /// + /// <p>double : grand total amount</p> + /// + /// <p>double : grand total amount</p> + [DataMember(Name="grandTotalAmount", EmitDefaultValue=false)] + public double? GrandTotalAmount { get; set; } + + /// + /// <p>double : foreign currency grand total amount</p> + /// + /// <p>double : foreign currency grand total amount</p> + [DataMember(Name="foreignCurrencyGrandTotalAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyGrandTotalAmount { get; set; } + + /// + /// <p>double : payed amount</p> + /// + /// <p>double : payed amount</p> + [DataMember(Name="payedAmount", EmitDefaultValue=false)] + public double? PayedAmount { get; set; } + + /// + /// <p>double : foreign currency payed amount</p> + /// + /// <p>double : foreign currency payed amount</p> + [DataMember(Name="foreignCurrencyPayedAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyPayedAmount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public double? TipAmount { get; set; } + + /// + /// <p>double : base currency tender payable amount</p> + /// + /// <p>double : base currency tender payable amount</p> + [DataMember(Name="baseCurrencyTenderPayableAmount", EmitDefaultValue=false)] + public double? BaseCurrencyTenderPayableAmount { get; set; } + + /// + /// <p>double : foreign currency tender payable amount</p> + /// + /// <p>double : foreign currency tender payable amount</p> + [DataMember(Name="foreignCurrencyTenderPayableAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyTenderPayableAmount { get; set; } + + /// + /// <p>boolean : mgh tender permission rules checked</p> + /// + /// <p>boolean : mgh tender permission rules checked</p> + [DataMember(Name="mghTenderPermissionRulesChecked", EmitDefaultValue=false)] + public bool? MghTenderPermissionRulesChecked { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentPayableAmountResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" ChangeAmount: ").Append(ChangeAmount).Append("\n"); + sb.Append(" ForeignCurrencyChangeAmount: ").Append(ForeignCurrencyChangeAmount).Append("\n"); + sb.Append(" GrandTotalAmount: ").Append(GrandTotalAmount).Append("\n"); + sb.Append(" ForeignCurrencyGrandTotalAmount: ").Append(ForeignCurrencyGrandTotalAmount).Append("\n"); + sb.Append(" PayedAmount: ").Append(PayedAmount).Append("\n"); + sb.Append(" ForeignCurrencyPayedAmount: ").Append(ForeignCurrencyPayedAmount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseCurrencyTenderPayableAmount: ").Append(BaseCurrencyTenderPayableAmount).Append("\n"); + sb.Append(" ForeignCurrencyTenderPayableAmount: ").Append(ForeignCurrencyTenderPayableAmount).Append("\n"); + sb.Append(" MghTenderPermissionRulesChecked: ").Append(MghTenderPermissionRulesChecked).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentPayableAmountResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentPayableAmountResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentPayableAmountResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentPayableAmountResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.ChangeAmount == input.ChangeAmount || + (this.ChangeAmount != null && + this.ChangeAmount.Equals(input.ChangeAmount)) + ) && + ( + this.ForeignCurrencyChangeAmount == input.ForeignCurrencyChangeAmount || + (this.ForeignCurrencyChangeAmount != null && + this.ForeignCurrencyChangeAmount.Equals(input.ForeignCurrencyChangeAmount)) + ) && + ( + this.GrandTotalAmount == input.GrandTotalAmount || + (this.GrandTotalAmount != null && + this.GrandTotalAmount.Equals(input.GrandTotalAmount)) + ) && + ( + this.ForeignCurrencyGrandTotalAmount == input.ForeignCurrencyGrandTotalAmount || + (this.ForeignCurrencyGrandTotalAmount != null && + this.ForeignCurrencyGrandTotalAmount.Equals(input.ForeignCurrencyGrandTotalAmount)) + ) && + ( + this.PayedAmount == input.PayedAmount || + (this.PayedAmount != null && + this.PayedAmount.Equals(input.PayedAmount)) + ) && + ( + this.ForeignCurrencyPayedAmount == input.ForeignCurrencyPayedAmount || + (this.ForeignCurrencyPayedAmount != null && + this.ForeignCurrencyPayedAmount.Equals(input.ForeignCurrencyPayedAmount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseCurrencyTenderPayableAmount == input.BaseCurrencyTenderPayableAmount || + (this.BaseCurrencyTenderPayableAmount != null && + this.BaseCurrencyTenderPayableAmount.Equals(input.BaseCurrencyTenderPayableAmount)) + ) && + ( + this.ForeignCurrencyTenderPayableAmount == input.ForeignCurrencyTenderPayableAmount || + (this.ForeignCurrencyTenderPayableAmount != null && + this.ForeignCurrencyTenderPayableAmount.Equals(input.ForeignCurrencyTenderPayableAmount)) + ) && + ( + this.MghTenderPermissionRulesChecked == input.MghTenderPermissionRulesChecked || + (this.MghTenderPermissionRulesChecked != null && + this.MghTenderPermissionRulesChecked.Equals(input.MghTenderPermissionRulesChecked)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.ChangeAmount != null) + hashCode = hashCode * 59 + this.ChangeAmount.GetHashCode(); + if (this.ForeignCurrencyChangeAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyChangeAmount.GetHashCode(); + if (this.GrandTotalAmount != null) + hashCode = hashCode * 59 + this.GrandTotalAmount.GetHashCode(); + if (this.ForeignCurrencyGrandTotalAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyGrandTotalAmount.GetHashCode(); + if (this.PayedAmount != null) + hashCode = hashCode * 59 + this.PayedAmount.GetHashCode(); + if (this.ForeignCurrencyPayedAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyPayedAmount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseCurrencyTenderPayableAmount != null) + hashCode = hashCode * 59 + this.BaseCurrencyTenderPayableAmount.GetHashCode(); + if (this.ForeignCurrencyTenderPayableAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyTenderPayableAmount.GetHashCode(); + if (this.MghTenderPermissionRulesChecked != null) + hashCode = hashCode * 59 + this.MghTenderPermissionRulesChecked.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentAmountsResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentAmountsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..c55f128178d9483fa568b687b1cd05661343ca41 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentAmountsResult.cs @@ -0,0 +1,619 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PaymentAmountsResult <p>Result object of the PaymentService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentPaymentAmountsResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentPaymentAmountsResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>double : change amount</p> (required). + /// <p>double : foreign currency change amount</p> (required). + /// <p>double : grand total amount</p> (required). + /// <p>double : foreign currency grand total amount</p> (required). + /// <p>double : payed amount</p> (required). + /// <p>double : foreign currency payed amount</p> (required). + /// <p>Amount: tip amount</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentPaymentAmountsResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), double? changeAmount = default(double?), double? foreignCurrencyChangeAmount = default(double?), double? grandTotalAmount = default(double?), double? foreignCurrencyGrandTotalAmount = default(double?), double? payedAmount = default(double?), double? foreignCurrencyPayedAmount = default(double?), double? tipAmount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "changeAmount" is required (not null) + if (changeAmount == null) + { + throw new InvalidDataException("changeAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.ChangeAmount = changeAmount; + } + // to ensure "foreignCurrencyChangeAmount" is required (not null) + if (foreignCurrencyChangeAmount == null) + { + throw new InvalidDataException("foreignCurrencyChangeAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.ForeignCurrencyChangeAmount = foreignCurrencyChangeAmount; + } + // to ensure "grandTotalAmount" is required (not null) + if (grandTotalAmount == null) + { + throw new InvalidDataException("grandTotalAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.GrandTotalAmount = grandTotalAmount; + } + // to ensure "foreignCurrencyGrandTotalAmount" is required (not null) + if (foreignCurrencyGrandTotalAmount == null) + { + throw new InvalidDataException("foreignCurrencyGrandTotalAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.ForeignCurrencyGrandTotalAmount = foreignCurrencyGrandTotalAmount; + } + // to ensure "payedAmount" is required (not null) + if (payedAmount == null) + { + throw new InvalidDataException("payedAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.PayedAmount = payedAmount; + } + // to ensure "foreignCurrencyPayedAmount" is required (not null) + if (foreignCurrencyPayedAmount == null) + { + throw new InvalidDataException("foreignCurrencyPayedAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.ForeignCurrencyPayedAmount = foreignCurrencyPayedAmount; + } + // to ensure "tipAmount" is required (not null) + if (tipAmount == null) + { + throw new InvalidDataException("tipAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentAmountsResult and cannot be null"); + } + else + { + this.TipAmount = tipAmount; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>double : change amount</p> + /// + /// <p>double : change amount</p> + [DataMember(Name="changeAmount", EmitDefaultValue=false)] + public double? ChangeAmount { get; set; } + + /// + /// <p>double : foreign currency change amount</p> + /// + /// <p>double : foreign currency change amount</p> + [DataMember(Name="foreignCurrencyChangeAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyChangeAmount { get; set; } + + /// + /// <p>double : grand total amount</p> + /// + /// <p>double : grand total amount</p> + [DataMember(Name="grandTotalAmount", EmitDefaultValue=false)] + public double? GrandTotalAmount { get; set; } + + /// + /// <p>double : foreign currency grand total amount</p> + /// + /// <p>double : foreign currency grand total amount</p> + [DataMember(Name="foreignCurrencyGrandTotalAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyGrandTotalAmount { get; set; } + + /// + /// <p>double : payed amount</p> + /// + /// <p>double : payed amount</p> + [DataMember(Name="payedAmount", EmitDefaultValue=false)] + public double? PayedAmount { get; set; } + + /// + /// <p>double : foreign currency payed amount</p> + /// + /// <p>double : foreign currency payed amount</p> + [DataMember(Name="foreignCurrencyPayedAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyPayedAmount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public double? TipAmount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentPaymentAmountsResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" ChangeAmount: ").Append(ChangeAmount).Append("\n"); + sb.Append(" ForeignCurrencyChangeAmount: ").Append(ForeignCurrencyChangeAmount).Append("\n"); + sb.Append(" GrandTotalAmount: ").Append(GrandTotalAmount).Append("\n"); + sb.Append(" ForeignCurrencyGrandTotalAmount: ").Append(ForeignCurrencyGrandTotalAmount).Append("\n"); + sb.Append(" PayedAmount: ").Append(PayedAmount).Append("\n"); + sb.Append(" ForeignCurrencyPayedAmount: ").Append(ForeignCurrencyPayedAmount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentPaymentAmountsResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentPaymentAmountsResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentPaymentAmountsResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentPaymentAmountsResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.ChangeAmount == input.ChangeAmount || + (this.ChangeAmount != null && + this.ChangeAmount.Equals(input.ChangeAmount)) + ) && + ( + this.ForeignCurrencyChangeAmount == input.ForeignCurrencyChangeAmount || + (this.ForeignCurrencyChangeAmount != null && + this.ForeignCurrencyChangeAmount.Equals(input.ForeignCurrencyChangeAmount)) + ) && + ( + this.GrandTotalAmount == input.GrandTotalAmount || + (this.GrandTotalAmount != null && + this.GrandTotalAmount.Equals(input.GrandTotalAmount)) + ) && + ( + this.ForeignCurrencyGrandTotalAmount == input.ForeignCurrencyGrandTotalAmount || + (this.ForeignCurrencyGrandTotalAmount != null && + this.ForeignCurrencyGrandTotalAmount.Equals(input.ForeignCurrencyGrandTotalAmount)) + ) && + ( + this.PayedAmount == input.PayedAmount || + (this.PayedAmount != null && + this.PayedAmount.Equals(input.PayedAmount)) + ) && + ( + this.ForeignCurrencyPayedAmount == input.ForeignCurrencyPayedAmount || + (this.ForeignCurrencyPayedAmount != null && + this.ForeignCurrencyPayedAmount.Equals(input.ForeignCurrencyPayedAmount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.ChangeAmount != null) + hashCode = hashCode * 59 + this.ChangeAmount.GetHashCode(); + if (this.ForeignCurrencyChangeAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyChangeAmount.GetHashCode(); + if (this.GrandTotalAmount != null) + hashCode = hashCode * 59 + this.GrandTotalAmount.GetHashCode(); + if (this.ForeignCurrencyGrandTotalAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyGrandTotalAmount.GetHashCode(); + if (this.PayedAmount != null) + hashCode = hashCode * 59 + this.PayedAmount.GetHashCode(); + if (this.ForeignCurrencyPayedAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyPayedAmount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..860b4f4743413b31e24a38acdb80e76a9cc2aeb4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentRequest.cs @@ -0,0 +1,570 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PaymentRequest <p>Basic request data structure for payment operation done on server. It is used mainly for tender line</p><br /><pre> item creation. If you need to send some additional data for the operation, you should extend this request object<br /></pre> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentPaymentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentPaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentPaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentPaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..d2f8a741f23ca46a6ee798763459b86827ee44da --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPaymentResult.cs @@ -0,0 +1,644 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PaymentResult <p>Result object of the PaymentService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentPaymentResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentPaymentResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>double : change amount</p> (required). + /// <p>double : foreign currency change amount</p> (required). + /// <p>double : grand total amount</p> (required). + /// <p>double : foreign currency grand total amount</p> (required). + /// <p>double : payed amount</p> (required). + /// <p>double : foreign currency payed amount</p> (required). + /// <p>Amount: tip amount</p> (required). + /// <p>boolean : transaction payed</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentPaymentResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), double? changeAmount = default(double?), double? foreignCurrencyChangeAmount = default(double?), double? grandTotalAmount = default(double?), double? foreignCurrencyGrandTotalAmount = default(double?), double? payedAmount = default(double?), double? foreignCurrencyPayedAmount = default(double?), double? tipAmount = default(double?), bool? transactionPayed = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "changeAmount" is required (not null) + if (changeAmount == null) + { + throw new InvalidDataException("changeAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.ChangeAmount = changeAmount; + } + // to ensure "foreignCurrencyChangeAmount" is required (not null) + if (foreignCurrencyChangeAmount == null) + { + throw new InvalidDataException("foreignCurrencyChangeAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.ForeignCurrencyChangeAmount = foreignCurrencyChangeAmount; + } + // to ensure "grandTotalAmount" is required (not null) + if (grandTotalAmount == null) + { + throw new InvalidDataException("grandTotalAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.GrandTotalAmount = grandTotalAmount; + } + // to ensure "foreignCurrencyGrandTotalAmount" is required (not null) + if (foreignCurrencyGrandTotalAmount == null) + { + throw new InvalidDataException("foreignCurrencyGrandTotalAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.ForeignCurrencyGrandTotalAmount = foreignCurrencyGrandTotalAmount; + } + // to ensure "payedAmount" is required (not null) + if (payedAmount == null) + { + throw new InvalidDataException("payedAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.PayedAmount = payedAmount; + } + // to ensure "foreignCurrencyPayedAmount" is required (not null) + if (foreignCurrencyPayedAmount == null) + { + throw new InvalidDataException("foreignCurrencyPayedAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.ForeignCurrencyPayedAmount = foreignCurrencyPayedAmount; + } + // to ensure "tipAmount" is required (not null) + if (tipAmount == null) + { + throw new InvalidDataException("tipAmount is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.TipAmount = tipAmount; + } + // to ensure "transactionPayed" is required (not null) + if (transactionPayed == null) + { + throw new InvalidDataException("transactionPayed is a required property for ComGkSoftwarePosApiServicePaymentPaymentResult and cannot be null"); + } + else + { + this.TransactionPayed = transactionPayed; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>double : change amount</p> + /// + /// <p>double : change amount</p> + [DataMember(Name="changeAmount", EmitDefaultValue=false)] + public double? ChangeAmount { get; set; } + + /// + /// <p>double : foreign currency change amount</p> + /// + /// <p>double : foreign currency change amount</p> + [DataMember(Name="foreignCurrencyChangeAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyChangeAmount { get; set; } + + /// + /// <p>double : grand total amount</p> + /// + /// <p>double : grand total amount</p> + [DataMember(Name="grandTotalAmount", EmitDefaultValue=false)] + public double? GrandTotalAmount { get; set; } + + /// + /// <p>double : foreign currency grand total amount</p> + /// + /// <p>double : foreign currency grand total amount</p> + [DataMember(Name="foreignCurrencyGrandTotalAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyGrandTotalAmount { get; set; } + + /// + /// <p>double : payed amount</p> + /// + /// <p>double : payed amount</p> + [DataMember(Name="payedAmount", EmitDefaultValue=false)] + public double? PayedAmount { get; set; } + + /// + /// <p>double : foreign currency payed amount</p> + /// + /// <p>double : foreign currency payed amount</p> + [DataMember(Name="foreignCurrencyPayedAmount", EmitDefaultValue=false)] + public double? ForeignCurrencyPayedAmount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public double? TipAmount { get; set; } + + /// + /// <p>boolean : transaction payed</p> + /// + /// <p>boolean : transaction payed</p> + [DataMember(Name="transactionPayed", EmitDefaultValue=false)] + public bool? TransactionPayed { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentPaymentResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" ChangeAmount: ").Append(ChangeAmount).Append("\n"); + sb.Append(" ForeignCurrencyChangeAmount: ").Append(ForeignCurrencyChangeAmount).Append("\n"); + sb.Append(" GrandTotalAmount: ").Append(GrandTotalAmount).Append("\n"); + sb.Append(" ForeignCurrencyGrandTotalAmount: ").Append(ForeignCurrencyGrandTotalAmount).Append("\n"); + sb.Append(" PayedAmount: ").Append(PayedAmount).Append("\n"); + sb.Append(" ForeignCurrencyPayedAmount: ").Append(ForeignCurrencyPayedAmount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" TransactionPayed: ").Append(TransactionPayed).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentPaymentResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentPaymentResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentPaymentResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentPaymentResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.ChangeAmount == input.ChangeAmount || + (this.ChangeAmount != null && + this.ChangeAmount.Equals(input.ChangeAmount)) + ) && + ( + this.ForeignCurrencyChangeAmount == input.ForeignCurrencyChangeAmount || + (this.ForeignCurrencyChangeAmount != null && + this.ForeignCurrencyChangeAmount.Equals(input.ForeignCurrencyChangeAmount)) + ) && + ( + this.GrandTotalAmount == input.GrandTotalAmount || + (this.GrandTotalAmount != null && + this.GrandTotalAmount.Equals(input.GrandTotalAmount)) + ) && + ( + this.ForeignCurrencyGrandTotalAmount == input.ForeignCurrencyGrandTotalAmount || + (this.ForeignCurrencyGrandTotalAmount != null && + this.ForeignCurrencyGrandTotalAmount.Equals(input.ForeignCurrencyGrandTotalAmount)) + ) && + ( + this.PayedAmount == input.PayedAmount || + (this.PayedAmount != null && + this.PayedAmount.Equals(input.PayedAmount)) + ) && + ( + this.ForeignCurrencyPayedAmount == input.ForeignCurrencyPayedAmount || + (this.ForeignCurrencyPayedAmount != null && + this.ForeignCurrencyPayedAmount.Equals(input.ForeignCurrencyPayedAmount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.TransactionPayed == input.TransactionPayed || + (this.TransactionPayed != null && + this.TransactionPayed.Equals(input.TransactionPayed)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.ChangeAmount != null) + hashCode = hashCode * 59 + this.ChangeAmount.GetHashCode(); + if (this.ForeignCurrencyChangeAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyChangeAmount.GetHashCode(); + if (this.GrandTotalAmount != null) + hashCode = hashCode * 59 + this.GrandTotalAmount.GetHashCode(); + if (this.ForeignCurrencyGrandTotalAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyGrandTotalAmount.GetHashCode(); + if (this.PayedAmount != null) + hashCode = hashCode * 59 + this.PayedAmount.GetHashCode(); + if (this.ForeignCurrencyPayedAmount != null) + hashCode = hashCode * 59 + this.ForeignCurrencyPayedAmount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.TransactionPayed != null) + hashCode = hashCode * 59 + this.TransactionPayed.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPointsPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPointsPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..632853bab200cb70409fc60bec7618b1e9f1a826 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentPointsPaymentRequest.cs @@ -0,0 +1,621 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PointsPaymentRequest <p>Request object used by points payment operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentPointsPaymentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentPointsPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>String : customer account id</p>. + /// <p>String : redemption transaction id</p>. + /// <p>double : points redemption conversion factor</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentPointsPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), string customerAccountId = default(string), string redemptionTransactionId = default(string), double? pointsRedemptionConversionFactor = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentPointsPaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentPointsPaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.CustomerAccountId = customerAccountId; + this.RedemptionTransactionId = redemptionTransactionId; + this.PointsRedemptionConversionFactor = pointsRedemptionConversionFactor; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>String : customer account id</p> + /// + /// <p>String : customer account id</p> + [DataMember(Name="customerAccountId", EmitDefaultValue=false)] + public string CustomerAccountId { get; set; } + + /// + /// <p>String : redemption transaction id</p> + /// + /// <p>String : redemption transaction id</p> + [DataMember(Name="redemptionTransactionId", EmitDefaultValue=false)] + public string RedemptionTransactionId { get; set; } + + /// + /// <p>double : points redemption conversion factor</p> + /// + /// <p>double : points redemption conversion factor</p> + [DataMember(Name="pointsRedemptionConversionFactor", EmitDefaultValue=false)] + public double? PointsRedemptionConversionFactor { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentPointsPaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" CustomerAccountId: ").Append(CustomerAccountId).Append("\n"); + sb.Append(" RedemptionTransactionId: ").Append(RedemptionTransactionId).Append("\n"); + sb.Append(" PointsRedemptionConversionFactor: ").Append(PointsRedemptionConversionFactor).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentPointsPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentPointsPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentPointsPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentPointsPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.CustomerAccountId == input.CustomerAccountId || + (this.CustomerAccountId != null && + this.CustomerAccountId.Equals(input.CustomerAccountId)) + ) && + ( + this.RedemptionTransactionId == input.RedemptionTransactionId || + (this.RedemptionTransactionId != null && + this.RedemptionTransactionId.Equals(input.RedemptionTransactionId)) + ) && + ( + this.PointsRedemptionConversionFactor == input.PointsRedemptionConversionFactor || + (this.PointsRedemptionConversionFactor != null && + this.PointsRedemptionConversionFactor.Equals(input.PointsRedemptionConversionFactor)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.CustomerAccountId != null) + hashCode = hashCode * 59 + this.CustomerAccountId.GetHashCode(); + if (this.RedemptionTransactionId != null) + hashCode = hashCode * 59 + this.RedemptionTransactionId.GetHashCode(); + if (this.PointsRedemptionConversionFactor != null) + hashCode = hashCode * 59 + this.PointsRedemptionConversionFactor.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..590928c010e13d3f01a6cd4664bc15e65eb3bebd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReduceTaxableAmountRequest <p>Request object to reduce the taxable amount for the transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Tender amount applied to use when reducing taxable amounts.</p> (required). + /// <p>Selected eWIC items to apply benefits to.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest(double? amount = default(double?), List ewicBasketResults = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "amount" is required (not null) + if (amount == null) + { + throw new InvalidDataException("amount is a required property for ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest and cannot be null"); + } + else + { + this.Amount = amount; + } + this.EwicBasketResults = ewicBasketResults; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Tender amount applied to use when reducing taxable amounts.</p> + /// + /// <p>Tender amount applied to use when reducing taxable amounts.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>Selected eWIC items to apply benefits to.</p> + /// + /// <p>Selected eWIC items to apply benefits to.</p> + [DataMember(Name="ewicBasketResults", EmitDefaultValue=false)] + public List EwicBasketResults { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" EwicBasketResults: ").Append(EwicBasketResults).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest input) + { + if (input == null) + return false; + + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.EwicBasketResults == input.EwicBasketResults || + this.EwicBasketResults != null && + this.EwicBasketResults.SequenceEqual(input.EwicBasketResults) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.EwicBasketResults != null) + hashCode = hashCode * 59 + this.EwicBasketResults.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..dd4face6755b94393857762229be116db09c627c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SpecialReturnAmountLookupKeyRequest <p>Request object to obtain a special return amount lookup key.<br /> Request must contain either the tender or both tenderTypeCode and itemRestrictionTypeCode.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>TenderDO : tender to obtain tender type code and item restriction type code from.</p>. + /// <p>String : tender type code to use to generate lookup key. Required if tender is null. If specified when tender is not null, this tender type code and the Tender's item restriction typecode will be used to generate the lookup key.</p>. + /// <p>String : item restriction type code to use to generate lookup key. Optional; null should be passed in if not relevant. Only used if tender is null.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), string tenderTypeCode = default(string), string itemRestrictionTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Tender = tender; + this.TenderTypeCode = tenderTypeCode; + this.ItemRestrictionTypeCode = itemRestrictionTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>TenderDO : tender to obtain tender type code and item restriction type code from.</p> + /// + /// <p>TenderDO : tender to obtain tender type code and item restriction type code from.</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>String : tender type code to use to generate lookup key. Required if tender is null. If specified when tender is not null, this tender type code and the Tender's item restriction typecode will be used to generate the lookup key.</p> + /// + /// <p>String : tender type code to use to generate lookup key. Required if tender is null. If specified when tender is not null, this tender type code and the Tender's item restriction typecode will be used to generate the lookup key.</p> + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// <p>String : item restriction type code to use to generate lookup key. Optional; null should be passed in if not relevant. Only used if tender is null.</p> + /// + /// <p>String : item restriction type code to use to generate lookup key. Optional; null should be passed in if not relevant. Only used if tender is null.</p> + [DataMember(Name="itemRestrictionTypeCode", EmitDefaultValue=false)] + public string ItemRestrictionTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest {\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" ItemRestrictionTypeCode: ").Append(ItemRestrictionTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest input) + { + if (input == null) + return false; + + return + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.ItemRestrictionTypeCode == input.ItemRestrictionTypeCode || + (this.ItemRestrictionTypeCode != null && + this.ItemRestrictionTypeCode.Equals(input.ItemRestrictionTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.ItemRestrictionTypeCode != null) + hashCode = hashCode * 59 + this.ItemRestrictionTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..04a5ed478742954cb689c752c4dba75250096cc5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest.cs @@ -0,0 +1,1752 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TerminalPaymentRequest <p>Request object used by terminal payment operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest : IEquatable, IValidatableObject + { + /// + /// <p>TerminalTransactionTypeCode: terminal transaction type code</p> + /// + /// <p>TerminalTransactionTypeCode: terminal transaction type code</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum TerminalTransactionTypeCodeEnum + { + + /// + /// Enum Offline for value: Offline + /// + [EnumMember(Value = "Offline")] + Offline = 1, + + /// + /// Enum Online for value: Online + /// + [EnumMember(Value = "Online")] + Online = 2 + } + + /// + /// <p>TerminalTransactionTypeCode: terminal transaction type code</p> + /// + /// <p>TerminalTransactionTypeCode: terminal transaction type code</p> + [DataMember(Name="terminalTransactionTypeCode", EmitDefaultValue=false)] + public TerminalTransactionTypeCodeEnum? TerminalTransactionTypeCode { get; set; } + /// + /// Defines RequestType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum RequestTypeEnum + { + + /// + /// Enum CREATETENDERAUTHORIZATION for value: CREATE_TENDER_AUTHORIZATION + /// + [EnumMember(Value = "CREATE_TENDER_AUTHORIZATION")] + CREATETENDERAUTHORIZATION = 1, + + /// + /// Enum REMOVERECOVERYDATA for value: REMOVE_RECOVERY_DATA + /// + [EnumMember(Value = "REMOVE_RECOVERY_DATA")] + REMOVERECOVERYDATA = 2, + + /// + /// Enum REGISTERTERMINALPAYMENT for value: REGISTER_TERMINAL_PAYMENT + /// + [EnumMember(Value = "REGISTER_TERMINAL_PAYMENT")] + REGISTERTERMINALPAYMENT = 3, + + /// + /// Enum UPDATEAFTERIMMEDIATEVOIDING for value: UPDATE_AFTER_IMMEDIATE_VOIDING + /// + [EnumMember(Value = "UPDATE_AFTER_IMMEDIATE_VOIDING")] + UPDATEAFTERIMMEDIATEVOIDING = 4, + + /// + /// Enum UPDATETOINTERMEDIATERESULT for value: UPDATE_TO_INTERMEDIATE_RESULT + /// + [EnumMember(Value = "UPDATE_TO_INTERMEDIATE_RESULT")] + UPDATETOINTERMEDIATERESULT = 5, + + /// + /// Enum UPDATETOFINALRESULT for value: UPDATE_TO_FINAL_RESULT + /// + [EnumMember(Value = "UPDATE_TO_FINAL_RESULT")] + UPDATETOFINALRESULT = 6, + + /// + /// Enum UPDATETRANSACTIONSTATEONLY for value: UPDATE_TRANSACTION_STATE_ONLY + /// + [EnumMember(Value = "UPDATE_TRANSACTION_STATE_ONLY")] + UPDATETRANSACTIONSTATEONLY = 7, + + /// + /// Enum CUSTOM01 for value: CUSTOM_01 + /// + [EnumMember(Value = "CUSTOM_01")] + CUSTOM01 = 8, + + /// + /// Enum CUSTOM02 for value: CUSTOM_02 + /// + [EnumMember(Value = "CUSTOM_02")] + CUSTOM02 = 9, + + /// + /// Enum CUSTOM03 for value: CUSTOM_03 + /// + [EnumMember(Value = "CUSTOM_03")] + CUSTOM03 = 10, + + /// + /// Enum CUSTOM04 for value: CUSTOM_04 + /// + [EnumMember(Value = "CUSTOM_04")] + CUSTOM04 = 11, + + /// + /// Enum CUSTOM05 for value: CUSTOM_05 + /// + [EnumMember(Value = "CUSTOM_05")] + CUSTOM05 = 12, + + /// + /// Enum CUSTOM06 for value: CUSTOM_06 + /// + [EnumMember(Value = "CUSTOM_06")] + CUSTOM06 = 13, + + /// + /// Enum CUSTOM07 for value: CUSTOM_07 + /// + [EnumMember(Value = "CUSTOM_07")] + CUSTOM07 = 14, + + /// + /// Enum CUSTOM08 for value: CUSTOM_08 + /// + [EnumMember(Value = "CUSTOM_08")] + CUSTOM08 = 15, + + /// + /// Enum CUSTOM09 for value: CUSTOM_09 + /// + [EnumMember(Value = "CUSTOM_09")] + CUSTOM09 = 16, + + /// + /// Enum CUSTOM10 for value: CUSTOM_10 + /// + [EnumMember(Value = "CUSTOM_10")] + CUSTOM10 = 17 + } + + /// + /// Gets or Sets RequestType + /// + [DataMember(Name="requestType", EmitDefaultValue=false)] + public RequestTypeEnum? RequestType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig: position operation config</p>. + /// <p>TenderDO: tender</p>. + /// <p>Amount: amount</p>. + /// <p>Amount: tip amount</p>. + /// <p>String: base iso currency code</p>. + /// <p>String: foreign iso currency code</p>. + /// <p>double: exchange rate</p> (required). + /// <p>boolean: multiply flag</p> (required). + /// <p>String : tender class code</p>. + /// <p>String : payment description</p>. + /// keyedOnline. + /// <p>boolean : success</p> (required). + /// <p>boolean : auto cancellation</p> (required). + /// <p>boolean : cancellation</p> (required). + /// <p>String : card type</p>. + /// <p>String : card issue code</p>. + /// <p>String : account number</p>. + /// <p>String : card entry method code</p>. + /// <p>double: cashbackAmount</p>. + /// <p>String : entry source code</p>. + /// <p>String : personal iD required type code</p>. + /// <p>int : personal iD reference number</p>. + /// <p>String : authorization method code</p>. + /// <p>String : adjudication code</p>. + /// <p>String : card expiration date</p>. + /// <p>String : card holder name</p>. + /// <p>String : card Issue sequence number</p>. + /// <p>String : card start date</p>. + /// <p>String : service code</p>. + /// <p>String : terminal transaction iD</p>. + /// <p>String : terminal iD</p>. + /// <p>int : terminal transaction status</p>. + /// <p>String : terminal transaction status</p>. + /// <p>TerminalTransactionTypeCode: terminal transaction type code</p>. + /// <p>String : card number</p>. + /// <p>String : merchant print cache</p>. + /// <p>String : customer print cache</p>. + /// <p>boolean : merchant cache printed</p> (required). + /// <p>boolean : customer cache printed</p> (required). + /// <p>String : approval code</p>. + /// <p>String : terminal type</p>. + /// <p>String : merchant number</p>. + /// <p>String : iso currency number</p>. + /// <p>Date : current date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>int : transaction status</p>. + /// <p>boolean : force offline</p>. + /// <p>String : card holder verification type code</p>. + /// <p>boolean : host authorized flag</p>. + /// <p>int : trace number</p>. + /// <p>int : terminal transaction error number</p>. + /// <p>String : adjuction text</p>. + /// <p>TenderAuthorizationKey : current tender authorization key</p>. + /// recoveryValues. + /// requestType. + /// origTenderAuthorizationNumber. + /// voidingLineItemSequenceNumber. + /// <p>String : terminal Reference Number</p>. + /// <p>String : token that comes back from USA Payment servers. Used with T+ </p>. + /// <p>String : format of the signature data ex. png, bmp </p>. + /// <p>String : signature data</p>. + /// internationalBankAccountNumber. + /// bankIdentifierCode. + /// creditorID. + /// mandateID. + /// prenotificationText. + /// <p>Tender description.</p>. + /// <p>Application identifier</p>. + /// <p>Masked application PAN.</p>. + /// <p>Currency key (default 978).</p>. + /// <p>String : purchase restriction if any exists.</p>. + /// <p>String : grade restriction value if any exists.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO tender = default(ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string baseIsoCurrencyCode = default(string), string foreignIsoCurrencyCode = default(string), double? exchangeRate = default(double?), bool? multiplyFlag = default(bool?), string tenderClassCode = default(string), string paymentDescription = default(string), bool? keyedOnline = default(bool?), bool? success = default(bool?), bool? autoCancellation = default(bool?), bool? cancellation = default(bool?), string cardType = default(string), string cardIssuerCode = default(string), string accountNumber = default(string), string cardEntryMethodCode = default(string), double? cashbackAmount = default(double?), string entrySourceCode = default(string), string personalIDRequiredTypeCode = default(string), int? personalIDReferenceNumber = default(int?), string authorizationMethodCode = default(string), string adjudicationCode = default(string), string cardExpirationDate = default(string), string cardHolderName = default(string), string cardIssueSequenceNumber = default(string), string cardStartDate = default(string), string serviceCode = default(string), string terminalTransactionID = default(string), string terminalID = default(string), int? terminalTransactionStatus = default(int?), string terminalTransactionResult = default(string), TerminalTransactionTypeCodeEnum? terminalTransactionTypeCode = default(TerminalTransactionTypeCodeEnum?), string cardNumber = default(string), string merchantPrintCache = default(string), string customerPrintCache = default(string), bool? merchantCachePrinted = default(bool?), bool? customerCachePrinted = default(bool?), string approvalCode = default(string), string terminalType = default(string), string merchantNumber = default(string), string isoCurrencyNumber = default(string), string currentDate = default(string), int? transactionStatus = default(int?), bool? forceOffline = default(bool?), string cardHolderVerificationTypeCode = default(string), bool? hostAuthorizedFlag = default(bool?), int? traceNumber = default(int?), int? terminalTransactionErrorNumber = default(int?), string adjuctionText = default(string), ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey currentTenderAuthorizationKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey), ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues recoveryValues = default(ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues), RequestTypeEnum? requestType = default(RequestTypeEnum?), int? origTenderAuthorizationNumber = default(int?), int? voidingLineItemSequenceNumber = default(int?), string terminalReferenceNumber = default(string), string token = default(string), string signatureFormat = default(string), string signatureData = default(string), string internationalBankAccountNumber = default(string), string bankIdentifierCode = default(string), string creditorID = default(string), string mandateID = default(string), string prenotificationText = default(string), string terminalTenderDescription = default(string), string applicationID = default(string), string encryptedPAN = default(string), string terminalTransactionCurrencyCode = default(string), string purchaseRestriction = default(string), string gradeRestriction = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "exchangeRate" is required (not null) + if (exchangeRate == null) + { + throw new InvalidDataException("exchangeRate is a required property for ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest and cannot be null"); + } + else + { + this.ExchangeRate = exchangeRate; + } + // to ensure "multiplyFlag" is required (not null) + if (multiplyFlag == null) + { + throw new InvalidDataException("multiplyFlag is a required property for ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest and cannot be null"); + } + else + { + this.MultiplyFlag = multiplyFlag; + } + // to ensure "success" is required (not null) + if (success == null) + { + throw new InvalidDataException("success is a required property for ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest and cannot be null"); + } + else + { + this.Success = success; + } + // to ensure "autoCancellation" is required (not null) + if (autoCancellation == null) + { + throw new InvalidDataException("autoCancellation is a required property for ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest and cannot be null"); + } + else + { + this.AutoCancellation = autoCancellation; + } + // to ensure "cancellation" is required (not null) + if (cancellation == null) + { + throw new InvalidDataException("cancellation is a required property for ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest and cannot be null"); + } + else + { + this.Cancellation = cancellation; + } + // to ensure "merchantCachePrinted" is required (not null) + if (merchantCachePrinted == null) + { + throw new InvalidDataException("merchantCachePrinted is a required property for ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest and cannot be null"); + } + else + { + this.MerchantCachePrinted = merchantCachePrinted; + } + // to ensure "customerCachePrinted" is required (not null) + if (customerCachePrinted == null) + { + throw new InvalidDataException("customerCachePrinted is a required property for ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest and cannot be null"); + } + else + { + this.CustomerCachePrinted = customerCachePrinted; + } + this.PositionOperationConfig = positionOperationConfig; + this.Tender = tender; + this.Amount = amount; + this.TipAmount = tipAmount; + this.BaseIsoCurrencyCode = baseIsoCurrencyCode; + this.ForeignIsoCurrencyCode = foreignIsoCurrencyCode; + this.TenderClassCode = tenderClassCode; + this.PaymentDescription = paymentDescription; + this.KeyedOnline = keyedOnline; + this.CardType = cardType; + this.CardIssuerCode = cardIssuerCode; + this.AccountNumber = accountNumber; + this.CardEntryMethodCode = cardEntryMethodCode; + this.CashbackAmount = cashbackAmount; + this.EntrySourceCode = entrySourceCode; + this.PersonalIDRequiredTypeCode = personalIDRequiredTypeCode; + this.PersonalIDReferenceNumber = personalIDReferenceNumber; + this.AuthorizationMethodCode = authorizationMethodCode; + this.AdjudicationCode = adjudicationCode; + this.CardExpirationDate = cardExpirationDate; + this.CardHolderName = cardHolderName; + this.CardIssueSequenceNumber = cardIssueSequenceNumber; + this.CardStartDate = cardStartDate; + this.ServiceCode = serviceCode; + this.TerminalTransactionID = terminalTransactionID; + this.TerminalID = terminalID; + this.TerminalTransactionStatus = terminalTransactionStatus; + this.TerminalTransactionResult = terminalTransactionResult; + this.TerminalTransactionTypeCode = terminalTransactionTypeCode; + this.CardNumber = cardNumber; + this.MerchantPrintCache = merchantPrintCache; + this.CustomerPrintCache = customerPrintCache; + this.ApprovalCode = approvalCode; + this.TerminalType = terminalType; + this.MerchantNumber = merchantNumber; + this.IsoCurrencyNumber = isoCurrencyNumber; + this.CurrentDate = currentDate; + this.TransactionStatus = transactionStatus; + this.ForceOffline = forceOffline; + this.CardHolderVerificationTypeCode = cardHolderVerificationTypeCode; + this.HostAuthorizedFlag = hostAuthorizedFlag; + this.TraceNumber = traceNumber; + this.TerminalTransactionErrorNumber = terminalTransactionErrorNumber; + this.AdjuctionText = adjuctionText; + this.CurrentTenderAuthorizationKey = currentTenderAuthorizationKey; + this.RecoveryValues = recoveryValues; + this.RequestType = requestType; + this.OrigTenderAuthorizationNumber = origTenderAuthorizationNumber; + this.VoidingLineItemSequenceNumber = voidingLineItemSequenceNumber; + this.TerminalReferenceNumber = terminalReferenceNumber; + this.Token = token; + this.SignatureFormat = signatureFormat; + this.SignatureData = signatureData; + this.InternationalBankAccountNumber = internationalBankAccountNumber; + this.BankIdentifierCode = bankIdentifierCode; + this.CreditorID = creditorID; + this.MandateID = mandateID; + this.PrenotificationText = prenotificationText; + this.TerminalTenderDescription = terminalTenderDescription; + this.ApplicationID = applicationID; + this.EncryptedPAN = encryptedPAN; + this.TerminalTransactionCurrencyCode = terminalTransactionCurrencyCode; + this.PurchaseRestriction = purchaseRestriction; + this.GradeRestriction = gradeRestriction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + [DataMember(Name="tender", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO Tender { get; set; } + + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + [DataMember(Name="tipAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount TipAmount { get; set; } + + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + [DataMember(Name="baseIsoCurrencyCode", EmitDefaultValue=false)] + public string BaseIsoCurrencyCode { get; set; } + + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + [DataMember(Name="foreignIsoCurrencyCode", EmitDefaultValue=false)] + public string ForeignIsoCurrencyCode { get; set; } + + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + [DataMember(Name="exchangeRate", EmitDefaultValue=false)] + public double? ExchangeRate { get; set; } + + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + [DataMember(Name="tenderClassCode", EmitDefaultValue=false)] + public string TenderClassCode { get; set; } + + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + [DataMember(Name="paymentDescription", EmitDefaultValue=false)] + public string PaymentDescription { get; set; } + + /// + /// Gets or Sets KeyedOnline + /// + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>boolean : success</p> + /// + /// <p>boolean : success</p> + [DataMember(Name="success", EmitDefaultValue=false)] + public bool? Success { get; set; } + + /// + /// <p>boolean : auto cancellation</p> + /// + /// <p>boolean : auto cancellation</p> + [DataMember(Name="autoCancellation", EmitDefaultValue=false)] + public bool? AutoCancellation { get; set; } + + /// + /// <p>boolean : cancellation</p> + /// + /// <p>boolean : cancellation</p> + [DataMember(Name="cancellation", EmitDefaultValue=false)] + public bool? Cancellation { get; set; } + + /// + /// <p>String : card type</p> + /// + /// <p>String : card type</p> + [DataMember(Name="cardType", EmitDefaultValue=false)] + public string CardType { get; set; } + + /// + /// <p>String : card issue code</p> + /// + /// <p>String : card issue code</p> + [DataMember(Name="cardIssuerCode", EmitDefaultValue=false)] + public string CardIssuerCode { get; set; } + + /// + /// <p>String : account number</p> + /// + /// <p>String : account number</p> + [DataMember(Name="accountNumber", EmitDefaultValue=false)] + public string AccountNumber { get; set; } + + /// + /// <p>String : card entry method code</p> + /// + /// <p>String : card entry method code</p> + [DataMember(Name="cardEntryMethodCode", EmitDefaultValue=false)] + public string CardEntryMethodCode { get; set; } + + /// + /// <p>double: cashbackAmount</p> + /// + /// <p>double: cashbackAmount</p> + [DataMember(Name="cashbackAmount", EmitDefaultValue=false)] + public double? CashbackAmount { get; set; } + + /// + /// <p>String : entry source code</p> + /// + /// <p>String : entry source code</p> + [DataMember(Name="entrySourceCode", EmitDefaultValue=false)] + public string EntrySourceCode { get; set; } + + /// + /// <p>String : personal iD required type code</p> + /// + /// <p>String : personal iD required type code</p> + [DataMember(Name="personalIDRequiredTypeCode", EmitDefaultValue=false)] + public string PersonalIDRequiredTypeCode { get; set; } + + /// + /// <p>int : personal iD reference number</p> + /// + /// <p>int : personal iD reference number</p> + [DataMember(Name="personalIDReferenceNumber", EmitDefaultValue=false)] + public int? PersonalIDReferenceNumber { get; set; } + + /// + /// <p>String : authorization method code</p> + /// + /// <p>String : authorization method code</p> + [DataMember(Name="authorizationMethodCode", EmitDefaultValue=false)] + public string AuthorizationMethodCode { get; set; } + + /// + /// <p>String : adjudication code</p> + /// + /// <p>String : adjudication code</p> + [DataMember(Name="adjudicationCode", EmitDefaultValue=false)] + public string AdjudicationCode { get; set; } + + /// + /// <p>String : card expiration date</p> + /// + /// <p>String : card expiration date</p> + [DataMember(Name="cardExpirationDate", EmitDefaultValue=false)] + public string CardExpirationDate { get; set; } + + /// + /// <p>String : card holder name</p> + /// + /// <p>String : card holder name</p> + [DataMember(Name="cardHolderName", EmitDefaultValue=false)] + public string CardHolderName { get; set; } + + /// + /// <p>String : card Issue sequence number</p> + /// + /// <p>String : card Issue sequence number</p> + [DataMember(Name="cardIssueSequenceNumber", EmitDefaultValue=false)] + public string CardIssueSequenceNumber { get; set; } + + /// + /// <p>String : card start date</p> + /// + /// <p>String : card start date</p> + [DataMember(Name="cardStartDate", EmitDefaultValue=false)] + public string CardStartDate { get; set; } + + /// + /// <p>String : service code</p> + /// + /// <p>String : service code</p> + [DataMember(Name="serviceCode", EmitDefaultValue=false)] + public string ServiceCode { get; set; } + + /// + /// <p>String : terminal transaction iD</p> + /// + /// <p>String : terminal transaction iD</p> + [DataMember(Name="terminalTransactionID", EmitDefaultValue=false)] + public string TerminalTransactionID { get; set; } + + /// + /// <p>String : terminal iD</p> + /// + /// <p>String : terminal iD</p> + [DataMember(Name="terminalID", EmitDefaultValue=false)] + public string TerminalID { get; set; } + + /// + /// <p>int : terminal transaction status</p> + /// + /// <p>int : terminal transaction status</p> + [DataMember(Name="terminalTransactionStatus", EmitDefaultValue=false)] + public int? TerminalTransactionStatus { get; set; } + + /// + /// <p>String : terminal transaction status</p> + /// + /// <p>String : terminal transaction status</p> + [DataMember(Name="terminalTransactionResult", EmitDefaultValue=false)] + public string TerminalTransactionResult { get; set; } + + + /// + /// <p>String : card number</p> + /// + /// <p>String : card number</p> + [DataMember(Name="cardNumber", EmitDefaultValue=false)] + public string CardNumber { get; set; } + + /// + /// <p>String : merchant print cache</p> + /// + /// <p>String : merchant print cache</p> + [DataMember(Name="merchantPrintCache", EmitDefaultValue=false)] + public string MerchantPrintCache { get; set; } + + /// + /// <p>String : customer print cache</p> + /// + /// <p>String : customer print cache</p> + [DataMember(Name="customerPrintCache", EmitDefaultValue=false)] + public string CustomerPrintCache { get; set; } + + /// + /// <p>boolean : merchant cache printed</p> + /// + /// <p>boolean : merchant cache printed</p> + [DataMember(Name="merchantCachePrinted", EmitDefaultValue=false)] + public bool? MerchantCachePrinted { get; set; } + + /// + /// <p>boolean : customer cache printed</p> + /// + /// <p>boolean : customer cache printed</p> + [DataMember(Name="customerCachePrinted", EmitDefaultValue=false)] + public bool? CustomerCachePrinted { get; set; } + + /// + /// <p>String : approval code</p> + /// + /// <p>String : approval code</p> + [DataMember(Name="approvalCode", EmitDefaultValue=false)] + public string ApprovalCode { get; set; } + + /// + /// <p>String : terminal type</p> + /// + /// <p>String : terminal type</p> + [DataMember(Name="terminalType", EmitDefaultValue=false)] + public string TerminalType { get; set; } + + /// + /// <p>String : merchant number</p> + /// + /// <p>String : merchant number</p> + [DataMember(Name="merchantNumber", EmitDefaultValue=false)] + public string MerchantNumber { get; set; } + + /// + /// <p>String : iso currency number</p> + /// + /// <p>String : iso currency number</p> + [DataMember(Name="isoCurrencyNumber", EmitDefaultValue=false)] + public string IsoCurrencyNumber { get; set; } + + /// + /// <p>Date : current date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : current date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="currentDate", EmitDefaultValue=false)] + public string CurrentDate { get; set; } + + /// + /// <p>int : transaction status</p> + /// + /// <p>int : transaction status</p> + [DataMember(Name="transactionStatus", EmitDefaultValue=false)] + public int? TransactionStatus { get; set; } + + /// + /// <p>boolean : force offline</p> + /// + /// <p>boolean : force offline</p> + [DataMember(Name="forceOffline", EmitDefaultValue=false)] + public bool? ForceOffline { get; set; } + + /// + /// <p>String : card holder verification type code</p> + /// + /// <p>String : card holder verification type code</p> + [DataMember(Name="cardHolderVerificationTypeCode", EmitDefaultValue=false)] + public string CardHolderVerificationTypeCode { get; set; } + + /// + /// <p>boolean : host authorized flag</p> + /// + /// <p>boolean : host authorized flag</p> + [DataMember(Name="hostAuthorizedFlag", EmitDefaultValue=false)] + public bool? HostAuthorizedFlag { get; set; } + + /// + /// <p>int : trace number</p> + /// + /// <p>int : trace number</p> + [DataMember(Name="traceNumber", EmitDefaultValue=false)] + public int? TraceNumber { get; set; } + + /// + /// <p>int : terminal transaction error number</p> + /// + /// <p>int : terminal transaction error number</p> + [DataMember(Name="terminalTransactionErrorNumber", EmitDefaultValue=false)] + public int? TerminalTransactionErrorNumber { get; set; } + + /// + /// <p>String : adjuction text</p> + /// + /// <p>String : adjuction text</p> + [DataMember(Name="adjuctionText", EmitDefaultValue=false)] + public string AdjuctionText { get; set; } + + /// + /// <p>TenderAuthorizationKey : current tender authorization key</p> + /// + /// <p>TenderAuthorizationKey : current tender authorization key</p> + [DataMember(Name="currentTenderAuthorizationKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey CurrentTenderAuthorizationKey { get; set; } + + /// + /// Gets or Sets RecoveryValues + /// + [DataMember(Name="recoveryValues", EmitDefaultValue=false)] + public ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues RecoveryValues { get; set; } + + + /// + /// Gets or Sets OrigTenderAuthorizationNumber + /// + [DataMember(Name="origTenderAuthorizationNumber", EmitDefaultValue=false)] + public int? OrigTenderAuthorizationNumber { get; set; } + + /// + /// Gets or Sets VoidingLineItemSequenceNumber + /// + [DataMember(Name="voidingLineItemSequenceNumber", EmitDefaultValue=false)] + public int? VoidingLineItemSequenceNumber { get; set; } + + /// + /// <p>String : terminal Reference Number</p> + /// + /// <p>String : terminal Reference Number</p> + [DataMember(Name="terminalReferenceNumber", EmitDefaultValue=false)] + public string TerminalReferenceNumber { get; set; } + + /// + /// <p>String : token that comes back from USA Payment servers. Used with T+ </p> + /// + /// <p>String : token that comes back from USA Payment servers. Used with T+ </p> + [DataMember(Name="token", EmitDefaultValue=false)] + public string Token { get; set; } + + /// + /// <p>String : format of the signature data ex. png, bmp </p> + /// + /// <p>String : format of the signature data ex. png, bmp </p> + [DataMember(Name="signatureFormat", EmitDefaultValue=false)] + public string SignatureFormat { get; set; } + + /// + /// <p>String : signature data</p> + /// + /// <p>String : signature data</p> + [DataMember(Name="signatureData", EmitDefaultValue=false)] + public string SignatureData { get; set; } + + /// + /// Gets or Sets InternationalBankAccountNumber + /// + [DataMember(Name="internationalBankAccountNumber", EmitDefaultValue=false)] + public string InternationalBankAccountNumber { get; set; } + + /// + /// Gets or Sets BankIdentifierCode + /// + [DataMember(Name="bankIdentifierCode", EmitDefaultValue=false)] + public string BankIdentifierCode { get; set; } + + /// + /// Gets or Sets CreditorID + /// + [DataMember(Name="creditorID", EmitDefaultValue=false)] + public string CreditorID { get; set; } + + /// + /// Gets or Sets MandateID + /// + [DataMember(Name="mandateID", EmitDefaultValue=false)] + public string MandateID { get; set; } + + /// + /// Gets or Sets PrenotificationText + /// + [DataMember(Name="prenotificationText", EmitDefaultValue=false)] + public string PrenotificationText { get; set; } + + /// + /// <p>Tender description.</p> + /// + /// <p>Tender description.</p> + [DataMember(Name="terminalTenderDescription", EmitDefaultValue=false)] + public string TerminalTenderDescription { get; set; } + + /// + /// <p>Application identifier</p> + /// + /// <p>Application identifier</p> + [DataMember(Name="applicationID", EmitDefaultValue=false)] + public string ApplicationID { get; set; } + + /// + /// <p>Masked application PAN.</p> + /// + /// <p>Masked application PAN.</p> + [DataMember(Name="encryptedPAN", EmitDefaultValue=false)] + public string EncryptedPAN { get; set; } + + /// + /// <p>Currency key (default 978).</p> + /// + /// <p>Currency key (default 978).</p> + [DataMember(Name="terminalTransactionCurrencyCode", EmitDefaultValue=false)] + public string TerminalTransactionCurrencyCode { get; set; } + + /// + /// <p>String : purchase restriction if any exists.</p> + /// + /// <p>String : purchase restriction if any exists.</p> + [DataMember(Name="purchaseRestriction", EmitDefaultValue=false)] + public string PurchaseRestriction { get; set; } + + /// + /// <p>String : grade restriction value if any exists.</p> + /// + /// <p>String : grade restriction value if any exists.</p> + [DataMember(Name="gradeRestriction", EmitDefaultValue=false)] + public string GradeRestriction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Tender: ").Append(Tender).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TipAmount: ").Append(TipAmount).Append("\n"); + sb.Append(" BaseIsoCurrencyCode: ").Append(BaseIsoCurrencyCode).Append("\n"); + sb.Append(" ForeignIsoCurrencyCode: ").Append(ForeignIsoCurrencyCode).Append("\n"); + sb.Append(" ExchangeRate: ").Append(ExchangeRate).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append(" TenderClassCode: ").Append(TenderClassCode).Append("\n"); + sb.Append(" PaymentDescription: ").Append(PaymentDescription).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" Success: ").Append(Success).Append("\n"); + sb.Append(" AutoCancellation: ").Append(AutoCancellation).Append("\n"); + sb.Append(" Cancellation: ").Append(Cancellation).Append("\n"); + sb.Append(" CardType: ").Append(CardType).Append("\n"); + sb.Append(" CardIssuerCode: ").Append(CardIssuerCode).Append("\n"); + sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n"); + sb.Append(" CardEntryMethodCode: ").Append(CardEntryMethodCode).Append("\n"); + sb.Append(" CashbackAmount: ").Append(CashbackAmount).Append("\n"); + sb.Append(" EntrySourceCode: ").Append(EntrySourceCode).Append("\n"); + sb.Append(" PersonalIDRequiredTypeCode: ").Append(PersonalIDRequiredTypeCode).Append("\n"); + sb.Append(" PersonalIDReferenceNumber: ").Append(PersonalIDReferenceNumber).Append("\n"); + sb.Append(" AuthorizationMethodCode: ").Append(AuthorizationMethodCode).Append("\n"); + sb.Append(" AdjudicationCode: ").Append(AdjudicationCode).Append("\n"); + sb.Append(" CardExpirationDate: ").Append(CardExpirationDate).Append("\n"); + sb.Append(" CardHolderName: ").Append(CardHolderName).Append("\n"); + sb.Append(" CardIssueSequenceNumber: ").Append(CardIssueSequenceNumber).Append("\n"); + sb.Append(" CardStartDate: ").Append(CardStartDate).Append("\n"); + sb.Append(" ServiceCode: ").Append(ServiceCode).Append("\n"); + sb.Append(" TerminalTransactionID: ").Append(TerminalTransactionID).Append("\n"); + sb.Append(" TerminalID: ").Append(TerminalID).Append("\n"); + sb.Append(" TerminalTransactionStatus: ").Append(TerminalTransactionStatus).Append("\n"); + sb.Append(" TerminalTransactionResult: ").Append(TerminalTransactionResult).Append("\n"); + sb.Append(" TerminalTransactionTypeCode: ").Append(TerminalTransactionTypeCode).Append("\n"); + sb.Append(" CardNumber: ").Append(CardNumber).Append("\n"); + sb.Append(" MerchantPrintCache: ").Append(MerchantPrintCache).Append("\n"); + sb.Append(" CustomerPrintCache: ").Append(CustomerPrintCache).Append("\n"); + sb.Append(" MerchantCachePrinted: ").Append(MerchantCachePrinted).Append("\n"); + sb.Append(" CustomerCachePrinted: ").Append(CustomerCachePrinted).Append("\n"); + sb.Append(" ApprovalCode: ").Append(ApprovalCode).Append("\n"); + sb.Append(" TerminalType: ").Append(TerminalType).Append("\n"); + sb.Append(" MerchantNumber: ").Append(MerchantNumber).Append("\n"); + sb.Append(" IsoCurrencyNumber: ").Append(IsoCurrencyNumber).Append("\n"); + sb.Append(" CurrentDate: ").Append(CurrentDate).Append("\n"); + sb.Append(" TransactionStatus: ").Append(TransactionStatus).Append("\n"); + sb.Append(" ForceOffline: ").Append(ForceOffline).Append("\n"); + sb.Append(" CardHolderVerificationTypeCode: ").Append(CardHolderVerificationTypeCode).Append("\n"); + sb.Append(" HostAuthorizedFlag: ").Append(HostAuthorizedFlag).Append("\n"); + sb.Append(" TraceNumber: ").Append(TraceNumber).Append("\n"); + sb.Append(" TerminalTransactionErrorNumber: ").Append(TerminalTransactionErrorNumber).Append("\n"); + sb.Append(" AdjuctionText: ").Append(AdjuctionText).Append("\n"); + sb.Append(" CurrentTenderAuthorizationKey: ").Append(CurrentTenderAuthorizationKey).Append("\n"); + sb.Append(" RecoveryValues: ").Append(RecoveryValues).Append("\n"); + sb.Append(" RequestType: ").Append(RequestType).Append("\n"); + sb.Append(" OrigTenderAuthorizationNumber: ").Append(OrigTenderAuthorizationNumber).Append("\n"); + sb.Append(" VoidingLineItemSequenceNumber: ").Append(VoidingLineItemSequenceNumber).Append("\n"); + sb.Append(" TerminalReferenceNumber: ").Append(TerminalReferenceNumber).Append("\n"); + sb.Append(" Token: ").Append(Token).Append("\n"); + sb.Append(" SignatureFormat: ").Append(SignatureFormat).Append("\n"); + sb.Append(" SignatureData: ").Append(SignatureData).Append("\n"); + sb.Append(" InternationalBankAccountNumber: ").Append(InternationalBankAccountNumber).Append("\n"); + sb.Append(" BankIdentifierCode: ").Append(BankIdentifierCode).Append("\n"); + sb.Append(" CreditorID: ").Append(CreditorID).Append("\n"); + sb.Append(" MandateID: ").Append(MandateID).Append("\n"); + sb.Append(" PrenotificationText: ").Append(PrenotificationText).Append("\n"); + sb.Append(" TerminalTenderDescription: ").Append(TerminalTenderDescription).Append("\n"); + sb.Append(" ApplicationID: ").Append(ApplicationID).Append("\n"); + sb.Append(" EncryptedPAN: ").Append(EncryptedPAN).Append("\n"); + sb.Append(" TerminalTransactionCurrencyCode: ").Append(TerminalTransactionCurrencyCode).Append("\n"); + sb.Append(" PurchaseRestriction: ").Append(PurchaseRestriction).Append("\n"); + sb.Append(" GradeRestriction: ").Append(GradeRestriction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Tender == input.Tender || + (this.Tender != null && + this.Tender.Equals(input.Tender)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TipAmount == input.TipAmount || + (this.TipAmount != null && + this.TipAmount.Equals(input.TipAmount)) + ) && + ( + this.BaseIsoCurrencyCode == input.BaseIsoCurrencyCode || + (this.BaseIsoCurrencyCode != null && + this.BaseIsoCurrencyCode.Equals(input.BaseIsoCurrencyCode)) + ) && + ( + this.ForeignIsoCurrencyCode == input.ForeignIsoCurrencyCode || + (this.ForeignIsoCurrencyCode != null && + this.ForeignIsoCurrencyCode.Equals(input.ForeignIsoCurrencyCode)) + ) && + ( + this.ExchangeRate == input.ExchangeRate || + (this.ExchangeRate != null && + this.ExchangeRate.Equals(input.ExchangeRate)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ) && + ( + this.TenderClassCode == input.TenderClassCode || + (this.TenderClassCode != null && + this.TenderClassCode.Equals(input.TenderClassCode)) + ) && + ( + this.PaymentDescription == input.PaymentDescription || + (this.PaymentDescription != null && + this.PaymentDescription.Equals(input.PaymentDescription)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.Success == input.Success || + (this.Success != null && + this.Success.Equals(input.Success)) + ) && + ( + this.AutoCancellation == input.AutoCancellation || + (this.AutoCancellation != null && + this.AutoCancellation.Equals(input.AutoCancellation)) + ) && + ( + this.Cancellation == input.Cancellation || + (this.Cancellation != null && + this.Cancellation.Equals(input.Cancellation)) + ) && + ( + this.CardType == input.CardType || + (this.CardType != null && + this.CardType.Equals(input.CardType)) + ) && + ( + this.CardIssuerCode == input.CardIssuerCode || + (this.CardIssuerCode != null && + this.CardIssuerCode.Equals(input.CardIssuerCode)) + ) && + ( + this.AccountNumber == input.AccountNumber || + (this.AccountNumber != null && + this.AccountNumber.Equals(input.AccountNumber)) + ) && + ( + this.CardEntryMethodCode == input.CardEntryMethodCode || + (this.CardEntryMethodCode != null && + this.CardEntryMethodCode.Equals(input.CardEntryMethodCode)) + ) && + ( + this.CashbackAmount == input.CashbackAmount || + (this.CashbackAmount != null && + this.CashbackAmount.Equals(input.CashbackAmount)) + ) && + ( + this.EntrySourceCode == input.EntrySourceCode || + (this.EntrySourceCode != null && + this.EntrySourceCode.Equals(input.EntrySourceCode)) + ) && + ( + this.PersonalIDRequiredTypeCode == input.PersonalIDRequiredTypeCode || + (this.PersonalIDRequiredTypeCode != null && + this.PersonalIDRequiredTypeCode.Equals(input.PersonalIDRequiredTypeCode)) + ) && + ( + this.PersonalIDReferenceNumber == input.PersonalIDReferenceNumber || + (this.PersonalIDReferenceNumber != null && + this.PersonalIDReferenceNumber.Equals(input.PersonalIDReferenceNumber)) + ) && + ( + this.AuthorizationMethodCode == input.AuthorizationMethodCode || + (this.AuthorizationMethodCode != null && + this.AuthorizationMethodCode.Equals(input.AuthorizationMethodCode)) + ) && + ( + this.AdjudicationCode == input.AdjudicationCode || + (this.AdjudicationCode != null && + this.AdjudicationCode.Equals(input.AdjudicationCode)) + ) && + ( + this.CardExpirationDate == input.CardExpirationDate || + (this.CardExpirationDate != null && + this.CardExpirationDate.Equals(input.CardExpirationDate)) + ) && + ( + this.CardHolderName == input.CardHolderName || + (this.CardHolderName != null && + this.CardHolderName.Equals(input.CardHolderName)) + ) && + ( + this.CardIssueSequenceNumber == input.CardIssueSequenceNumber || + (this.CardIssueSequenceNumber != null && + this.CardIssueSequenceNumber.Equals(input.CardIssueSequenceNumber)) + ) && + ( + this.CardStartDate == input.CardStartDate || + (this.CardStartDate != null && + this.CardStartDate.Equals(input.CardStartDate)) + ) && + ( + this.ServiceCode == input.ServiceCode || + (this.ServiceCode != null && + this.ServiceCode.Equals(input.ServiceCode)) + ) && + ( + this.TerminalTransactionID == input.TerminalTransactionID || + (this.TerminalTransactionID != null && + this.TerminalTransactionID.Equals(input.TerminalTransactionID)) + ) && + ( + this.TerminalID == input.TerminalID || + (this.TerminalID != null && + this.TerminalID.Equals(input.TerminalID)) + ) && + ( + this.TerminalTransactionStatus == input.TerminalTransactionStatus || + (this.TerminalTransactionStatus != null && + this.TerminalTransactionStatus.Equals(input.TerminalTransactionStatus)) + ) && + ( + this.TerminalTransactionResult == input.TerminalTransactionResult || + (this.TerminalTransactionResult != null && + this.TerminalTransactionResult.Equals(input.TerminalTransactionResult)) + ) && + ( + this.TerminalTransactionTypeCode == input.TerminalTransactionTypeCode || + (this.TerminalTransactionTypeCode != null && + this.TerminalTransactionTypeCode.Equals(input.TerminalTransactionTypeCode)) + ) && + ( + this.CardNumber == input.CardNumber || + (this.CardNumber != null && + this.CardNumber.Equals(input.CardNumber)) + ) && + ( + this.MerchantPrintCache == input.MerchantPrintCache || + (this.MerchantPrintCache != null && + this.MerchantPrintCache.Equals(input.MerchantPrintCache)) + ) && + ( + this.CustomerPrintCache == input.CustomerPrintCache || + (this.CustomerPrintCache != null && + this.CustomerPrintCache.Equals(input.CustomerPrintCache)) + ) && + ( + this.MerchantCachePrinted == input.MerchantCachePrinted || + (this.MerchantCachePrinted != null && + this.MerchantCachePrinted.Equals(input.MerchantCachePrinted)) + ) && + ( + this.CustomerCachePrinted == input.CustomerCachePrinted || + (this.CustomerCachePrinted != null && + this.CustomerCachePrinted.Equals(input.CustomerCachePrinted)) + ) && + ( + this.ApprovalCode == input.ApprovalCode || + (this.ApprovalCode != null && + this.ApprovalCode.Equals(input.ApprovalCode)) + ) && + ( + this.TerminalType == input.TerminalType || + (this.TerminalType != null && + this.TerminalType.Equals(input.TerminalType)) + ) && + ( + this.MerchantNumber == input.MerchantNumber || + (this.MerchantNumber != null && + this.MerchantNumber.Equals(input.MerchantNumber)) + ) && + ( + this.IsoCurrencyNumber == input.IsoCurrencyNumber || + (this.IsoCurrencyNumber != null && + this.IsoCurrencyNumber.Equals(input.IsoCurrencyNumber)) + ) && + ( + this.CurrentDate == input.CurrentDate || + (this.CurrentDate != null && + this.CurrentDate.Equals(input.CurrentDate)) + ) && + ( + this.TransactionStatus == input.TransactionStatus || + (this.TransactionStatus != null && + this.TransactionStatus.Equals(input.TransactionStatus)) + ) && + ( + this.ForceOffline == input.ForceOffline || + (this.ForceOffline != null && + this.ForceOffline.Equals(input.ForceOffline)) + ) && + ( + this.CardHolderVerificationTypeCode == input.CardHolderVerificationTypeCode || + (this.CardHolderVerificationTypeCode != null && + this.CardHolderVerificationTypeCode.Equals(input.CardHolderVerificationTypeCode)) + ) && + ( + this.HostAuthorizedFlag == input.HostAuthorizedFlag || + (this.HostAuthorizedFlag != null && + this.HostAuthorizedFlag.Equals(input.HostAuthorizedFlag)) + ) && + ( + this.TraceNumber == input.TraceNumber || + (this.TraceNumber != null && + this.TraceNumber.Equals(input.TraceNumber)) + ) && + ( + this.TerminalTransactionErrorNumber == input.TerminalTransactionErrorNumber || + (this.TerminalTransactionErrorNumber != null && + this.TerminalTransactionErrorNumber.Equals(input.TerminalTransactionErrorNumber)) + ) && + ( + this.AdjuctionText == input.AdjuctionText || + (this.AdjuctionText != null && + this.AdjuctionText.Equals(input.AdjuctionText)) + ) && + ( + this.CurrentTenderAuthorizationKey == input.CurrentTenderAuthorizationKey || + (this.CurrentTenderAuthorizationKey != null && + this.CurrentTenderAuthorizationKey.Equals(input.CurrentTenderAuthorizationKey)) + ) && + ( + this.RecoveryValues == input.RecoveryValues || + (this.RecoveryValues != null && + this.RecoveryValues.Equals(input.RecoveryValues)) + ) && + ( + this.RequestType == input.RequestType || + (this.RequestType != null && + this.RequestType.Equals(input.RequestType)) + ) && + ( + this.OrigTenderAuthorizationNumber == input.OrigTenderAuthorizationNumber || + (this.OrigTenderAuthorizationNumber != null && + this.OrigTenderAuthorizationNumber.Equals(input.OrigTenderAuthorizationNumber)) + ) && + ( + this.VoidingLineItemSequenceNumber == input.VoidingLineItemSequenceNumber || + (this.VoidingLineItemSequenceNumber != null && + this.VoidingLineItemSequenceNumber.Equals(input.VoidingLineItemSequenceNumber)) + ) && + ( + this.TerminalReferenceNumber == input.TerminalReferenceNumber || + (this.TerminalReferenceNumber != null && + this.TerminalReferenceNumber.Equals(input.TerminalReferenceNumber)) + ) && + ( + this.Token == input.Token || + (this.Token != null && + this.Token.Equals(input.Token)) + ) && + ( + this.SignatureFormat == input.SignatureFormat || + (this.SignatureFormat != null && + this.SignatureFormat.Equals(input.SignatureFormat)) + ) && + ( + this.SignatureData == input.SignatureData || + (this.SignatureData != null && + this.SignatureData.Equals(input.SignatureData)) + ) && + ( + this.InternationalBankAccountNumber == input.InternationalBankAccountNumber || + (this.InternationalBankAccountNumber != null && + this.InternationalBankAccountNumber.Equals(input.InternationalBankAccountNumber)) + ) && + ( + this.BankIdentifierCode == input.BankIdentifierCode || + (this.BankIdentifierCode != null && + this.BankIdentifierCode.Equals(input.BankIdentifierCode)) + ) && + ( + this.CreditorID == input.CreditorID || + (this.CreditorID != null && + this.CreditorID.Equals(input.CreditorID)) + ) && + ( + this.MandateID == input.MandateID || + (this.MandateID != null && + this.MandateID.Equals(input.MandateID)) + ) && + ( + this.PrenotificationText == input.PrenotificationText || + (this.PrenotificationText != null && + this.PrenotificationText.Equals(input.PrenotificationText)) + ) && + ( + this.TerminalTenderDescription == input.TerminalTenderDescription || + (this.TerminalTenderDescription != null && + this.TerminalTenderDescription.Equals(input.TerminalTenderDescription)) + ) && + ( + this.ApplicationID == input.ApplicationID || + (this.ApplicationID != null && + this.ApplicationID.Equals(input.ApplicationID)) + ) && + ( + this.EncryptedPAN == input.EncryptedPAN || + (this.EncryptedPAN != null && + this.EncryptedPAN.Equals(input.EncryptedPAN)) + ) && + ( + this.TerminalTransactionCurrencyCode == input.TerminalTransactionCurrencyCode || + (this.TerminalTransactionCurrencyCode != null && + this.TerminalTransactionCurrencyCode.Equals(input.TerminalTransactionCurrencyCode)) + ) && + ( + this.PurchaseRestriction == input.PurchaseRestriction || + (this.PurchaseRestriction != null && + this.PurchaseRestriction.Equals(input.PurchaseRestriction)) + ) && + ( + this.GradeRestriction == input.GradeRestriction || + (this.GradeRestriction != null && + this.GradeRestriction.Equals(input.GradeRestriction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Tender != null) + hashCode = hashCode * 59 + this.Tender.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TipAmount != null) + hashCode = hashCode * 59 + this.TipAmount.GetHashCode(); + if (this.BaseIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.BaseIsoCurrencyCode.GetHashCode(); + if (this.ForeignIsoCurrencyCode != null) + hashCode = hashCode * 59 + this.ForeignIsoCurrencyCode.GetHashCode(); + if (this.ExchangeRate != null) + hashCode = hashCode * 59 + this.ExchangeRate.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + if (this.TenderClassCode != null) + hashCode = hashCode * 59 + this.TenderClassCode.GetHashCode(); + if (this.PaymentDescription != null) + hashCode = hashCode * 59 + this.PaymentDescription.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.Success != null) + hashCode = hashCode * 59 + this.Success.GetHashCode(); + if (this.AutoCancellation != null) + hashCode = hashCode * 59 + this.AutoCancellation.GetHashCode(); + if (this.Cancellation != null) + hashCode = hashCode * 59 + this.Cancellation.GetHashCode(); + if (this.CardType != null) + hashCode = hashCode * 59 + this.CardType.GetHashCode(); + if (this.CardIssuerCode != null) + hashCode = hashCode * 59 + this.CardIssuerCode.GetHashCode(); + if (this.AccountNumber != null) + hashCode = hashCode * 59 + this.AccountNumber.GetHashCode(); + if (this.CardEntryMethodCode != null) + hashCode = hashCode * 59 + this.CardEntryMethodCode.GetHashCode(); + if (this.CashbackAmount != null) + hashCode = hashCode * 59 + this.CashbackAmount.GetHashCode(); + if (this.EntrySourceCode != null) + hashCode = hashCode * 59 + this.EntrySourceCode.GetHashCode(); + if (this.PersonalIDRequiredTypeCode != null) + hashCode = hashCode * 59 + this.PersonalIDRequiredTypeCode.GetHashCode(); + if (this.PersonalIDReferenceNumber != null) + hashCode = hashCode * 59 + this.PersonalIDReferenceNumber.GetHashCode(); + if (this.AuthorizationMethodCode != null) + hashCode = hashCode * 59 + this.AuthorizationMethodCode.GetHashCode(); + if (this.AdjudicationCode != null) + hashCode = hashCode * 59 + this.AdjudicationCode.GetHashCode(); + if (this.CardExpirationDate != null) + hashCode = hashCode * 59 + this.CardExpirationDate.GetHashCode(); + if (this.CardHolderName != null) + hashCode = hashCode * 59 + this.CardHolderName.GetHashCode(); + if (this.CardIssueSequenceNumber != null) + hashCode = hashCode * 59 + this.CardIssueSequenceNumber.GetHashCode(); + if (this.CardStartDate != null) + hashCode = hashCode * 59 + this.CardStartDate.GetHashCode(); + if (this.ServiceCode != null) + hashCode = hashCode * 59 + this.ServiceCode.GetHashCode(); + if (this.TerminalTransactionID != null) + hashCode = hashCode * 59 + this.TerminalTransactionID.GetHashCode(); + if (this.TerminalID != null) + hashCode = hashCode * 59 + this.TerminalID.GetHashCode(); + if (this.TerminalTransactionStatus != null) + hashCode = hashCode * 59 + this.TerminalTransactionStatus.GetHashCode(); + if (this.TerminalTransactionResult != null) + hashCode = hashCode * 59 + this.TerminalTransactionResult.GetHashCode(); + if (this.TerminalTransactionTypeCode != null) + hashCode = hashCode * 59 + this.TerminalTransactionTypeCode.GetHashCode(); + if (this.CardNumber != null) + hashCode = hashCode * 59 + this.CardNumber.GetHashCode(); + if (this.MerchantPrintCache != null) + hashCode = hashCode * 59 + this.MerchantPrintCache.GetHashCode(); + if (this.CustomerPrintCache != null) + hashCode = hashCode * 59 + this.CustomerPrintCache.GetHashCode(); + if (this.MerchantCachePrinted != null) + hashCode = hashCode * 59 + this.MerchantCachePrinted.GetHashCode(); + if (this.CustomerCachePrinted != null) + hashCode = hashCode * 59 + this.CustomerCachePrinted.GetHashCode(); + if (this.ApprovalCode != null) + hashCode = hashCode * 59 + this.ApprovalCode.GetHashCode(); + if (this.TerminalType != null) + hashCode = hashCode * 59 + this.TerminalType.GetHashCode(); + if (this.MerchantNumber != null) + hashCode = hashCode * 59 + this.MerchantNumber.GetHashCode(); + if (this.IsoCurrencyNumber != null) + hashCode = hashCode * 59 + this.IsoCurrencyNumber.GetHashCode(); + if (this.CurrentDate != null) + hashCode = hashCode * 59 + this.CurrentDate.GetHashCode(); + if (this.TransactionStatus != null) + hashCode = hashCode * 59 + this.TransactionStatus.GetHashCode(); + if (this.ForceOffline != null) + hashCode = hashCode * 59 + this.ForceOffline.GetHashCode(); + if (this.CardHolderVerificationTypeCode != null) + hashCode = hashCode * 59 + this.CardHolderVerificationTypeCode.GetHashCode(); + if (this.HostAuthorizedFlag != null) + hashCode = hashCode * 59 + this.HostAuthorizedFlag.GetHashCode(); + if (this.TraceNumber != null) + hashCode = hashCode * 59 + this.TraceNumber.GetHashCode(); + if (this.TerminalTransactionErrorNumber != null) + hashCode = hashCode * 59 + this.TerminalTransactionErrorNumber.GetHashCode(); + if (this.AdjuctionText != null) + hashCode = hashCode * 59 + this.AdjuctionText.GetHashCode(); + if (this.CurrentTenderAuthorizationKey != null) + hashCode = hashCode * 59 + this.CurrentTenderAuthorizationKey.GetHashCode(); + if (this.RecoveryValues != null) + hashCode = hashCode * 59 + this.RecoveryValues.GetHashCode(); + if (this.RequestType != null) + hashCode = hashCode * 59 + this.RequestType.GetHashCode(); + if (this.OrigTenderAuthorizationNumber != null) + hashCode = hashCode * 59 + this.OrigTenderAuthorizationNumber.GetHashCode(); + if (this.VoidingLineItemSequenceNumber != null) + hashCode = hashCode * 59 + this.VoidingLineItemSequenceNumber.GetHashCode(); + if (this.TerminalReferenceNumber != null) + hashCode = hashCode * 59 + this.TerminalReferenceNumber.GetHashCode(); + if (this.Token != null) + hashCode = hashCode * 59 + this.Token.GetHashCode(); + if (this.SignatureFormat != null) + hashCode = hashCode * 59 + this.SignatureFormat.GetHashCode(); + if (this.SignatureData != null) + hashCode = hashCode * 59 + this.SignatureData.GetHashCode(); + if (this.InternationalBankAccountNumber != null) + hashCode = hashCode * 59 + this.InternationalBankAccountNumber.GetHashCode(); + if (this.BankIdentifierCode != null) + hashCode = hashCode * 59 + this.BankIdentifierCode.GetHashCode(); + if (this.CreditorID != null) + hashCode = hashCode * 59 + this.CreditorID.GetHashCode(); + if (this.MandateID != null) + hashCode = hashCode * 59 + this.MandateID.GetHashCode(); + if (this.PrenotificationText != null) + hashCode = hashCode * 59 + this.PrenotificationText.GetHashCode(); + if (this.TerminalTenderDescription != null) + hashCode = hashCode * 59 + this.TerminalTenderDescription.GetHashCode(); + if (this.ApplicationID != null) + hashCode = hashCode * 59 + this.ApplicationID.GetHashCode(); + if (this.EncryptedPAN != null) + hashCode = hashCode * 59 + this.EncryptedPAN.GetHashCode(); + if (this.TerminalTransactionCurrencyCode != null) + hashCode = hashCode * 59 + this.TerminalTransactionCurrencyCode.GetHashCode(); + if (this.PurchaseRestriction != null) + hashCode = hashCode * 59 + this.PurchaseRestriction.GetHashCode(); + if (this.GradeRestriction != null) + hashCode = hashCode * 59 + this.GradeRestriction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f539c8d52ed973ca35791ff07c552f53b4fe9ae7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoyaltyRewardGiftCertificateRequest <p>Request object for the gift certificate loyalty reward process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String : external system adapter name</p>. + /// <p>boolean : gift certificate server use</p>. + /// <p>String : gift certificate prefix</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest(string externalSystemAdapterName = default(string), bool? giftCertificateServerUse = default(bool?), string giftCertificatePrefix = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ExternalSystemAdapterName = externalSystemAdapterName; + this.GiftCertificateServerUse = giftCertificateServerUse; + this.GiftCertificatePrefix = giftCertificatePrefix; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + [DataMember(Name="externalSystemAdapterName", EmitDefaultValue=false)] + public string ExternalSystemAdapterName { get; set; } + + /// + /// <p>boolean : gift certificate server use</p> + /// + /// <p>boolean : gift certificate server use</p> + [DataMember(Name="giftCertificateServerUse", EmitDefaultValue=false)] + public bool? GiftCertificateServerUse { get; set; } + + /// + /// <p>String : gift certificate prefix</p> + /// + /// <p>String : gift certificate prefix</p> + [DataMember(Name="giftCertificatePrefix", EmitDefaultValue=false)] + public string GiftCertificatePrefix { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest {\n"); + sb.Append(" ExternalSystemAdapterName: ").Append(ExternalSystemAdapterName).Append("\n"); + sb.Append(" GiftCertificateServerUse: ").Append(GiftCertificateServerUse).Append("\n"); + sb.Append(" GiftCertificatePrefix: ").Append(GiftCertificatePrefix).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest input) + { + if (input == null) + return false; + + return + ( + this.ExternalSystemAdapterName == input.ExternalSystemAdapterName || + (this.ExternalSystemAdapterName != null && + this.ExternalSystemAdapterName.Equals(input.ExternalSystemAdapterName)) + ) && + ( + this.GiftCertificateServerUse == input.GiftCertificateServerUse || + (this.GiftCertificateServerUse != null && + this.GiftCertificateServerUse.Equals(input.GiftCertificateServerUse)) + ) && + ( + this.GiftCertificatePrefix == input.GiftCertificatePrefix || + (this.GiftCertificatePrefix != null && + this.GiftCertificatePrefix.Equals(input.GiftCertificatePrefix)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExternalSystemAdapterName != null) + hashCode = hashCode * 59 + this.ExternalSystemAdapterName.GetHashCode(); + if (this.GiftCertificateServerUse != null) + hashCode = hashCode * 59 + this.GiftCertificateServerUse.GetHashCode(); + if (this.GiftCertificatePrefix != null) + hashCode = hashCode * 59 + this.GiftCertificatePrefix.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionPromotionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionPromotionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2269cca5bd9dd11a1a46b651a438292a27e6d021 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionPromotionRequest.cs @@ -0,0 +1,629 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionRequest <p>Request object for a promotion trigger process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePromotionPromotionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePromotionPromotionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>Promotion configuration used for checking line item promotion triggers.</p>. + /// <p>Object describing the reason of a promotion.</p>. + /// <p>An additional information concerning the promotion trigger (see {@link com.gk_software.gkr.api.txpool.dto.SaleReturnLineItemPromotionTrigger#reference_}).</p>. + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> (required). + /// <p>This parameter specifies whether a condition which relates to a trigger will be checked.</p> (required). + /// <p>This parameter defines the maximal line item quantity when a promotion trigger is allowed.</p>. + /// <p>The active customer order id in the client context, if any is available.</p>. + /// <p>A unique system assigned identifier for the LineItem of the CustomerOrder. <br /> That means, the sequence number of an active customer order.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePromotionPromotionRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig promotionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), string reference = default(string), double? promotionValue = default(double?), bool? checkIfRebateWasApplied = default(bool?), double? maximumQuantity = default(double?), string activeCustomerOrderId = default(string), int? customerSequenceNumber = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServicePromotionPromotionRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServicePromotionPromotionRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServicePromotionPromotionRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "promotionValue" is required (not null) + if (promotionValue == null) + { + throw new InvalidDataException("promotionValue is a required property for ComGkSoftwarePosApiServicePromotionPromotionRequest and cannot be null"); + } + else + { + this.PromotionValue = promotionValue; + } + // to ensure "checkIfRebateWasApplied" is required (not null) + if (checkIfRebateWasApplied == null) + { + throw new InvalidDataException("checkIfRebateWasApplied is a required property for ComGkSoftwarePosApiServicePromotionPromotionRequest and cannot be null"); + } + else + { + this.CheckIfRebateWasApplied = checkIfRebateWasApplied; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.PromotionOperationConfig = promotionOperationConfig; + this.Reason = reason; + this.Reference = reference; + this.MaximumQuantity = maximumQuantity; + this.ActiveCustomerOrderId = activeCustomerOrderId; + this.CustomerSequenceNumber = customerSequenceNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + [DataMember(Name="promotionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig PromotionOperationConfig { get; set; } + + /// + /// <p>Object describing the reason of a promotion.</p> + /// + /// <p>Object describing the reason of a promotion.</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>An additional information concerning the promotion trigger (see {@link com.gk_software.gkr.api.txpool.dto.SaleReturnLineItemPromotionTrigger#reference_}).</p> + /// + /// <p>An additional information concerning the promotion trigger (see {@link com.gk_software.gkr.api.txpool.dto.SaleReturnLineItemPromotionTrigger#reference_}).</p> + [DataMember(Name="reference", EmitDefaultValue=false)] + public string Reference { get; set; } + + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + [DataMember(Name="promotionValue", EmitDefaultValue=false)] + public double? PromotionValue { get; set; } + + /// + /// <p>This parameter specifies whether a condition which relates to a trigger will be checked.</p> + /// + /// <p>This parameter specifies whether a condition which relates to a trigger will be checked.</p> + [DataMember(Name="checkIfRebateWasApplied", EmitDefaultValue=false)] + public bool? CheckIfRebateWasApplied { get; set; } + + /// + /// <p>This parameter defines the maximal line item quantity when a promotion trigger is allowed.</p> + /// + /// <p>This parameter defines the maximal line item quantity when a promotion trigger is allowed.</p> + [DataMember(Name="maximumQuantity", EmitDefaultValue=false)] + public double? MaximumQuantity { get; set; } + + /// + /// <p>The active customer order id in the client context, if any is available.</p> + /// + /// <p>The active customer order id in the client context, if any is available.</p> + [DataMember(Name="activeCustomerOrderId", EmitDefaultValue=false)] + public string ActiveCustomerOrderId { get; set; } + + /// + /// <p>A unique system assigned identifier for the LineItem of the CustomerOrder. <br /> That means, the sequence number of an active customer order.</p> + /// + /// <p>A unique system assigned identifier for the LineItem of the CustomerOrder. <br /> That means, the sequence number of an active customer order.</p> + [DataMember(Name="customerSequenceNumber", EmitDefaultValue=false)] + public int? CustomerSequenceNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePromotionPromotionRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" PromotionOperationConfig: ").Append(PromotionOperationConfig).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Reference: ").Append(Reference).Append("\n"); + sb.Append(" PromotionValue: ").Append(PromotionValue).Append("\n"); + sb.Append(" CheckIfRebateWasApplied: ").Append(CheckIfRebateWasApplied).Append("\n"); + sb.Append(" MaximumQuantity: ").Append(MaximumQuantity).Append("\n"); + sb.Append(" ActiveCustomerOrderId: ").Append(ActiveCustomerOrderId).Append("\n"); + sb.Append(" CustomerSequenceNumber: ").Append(CustomerSequenceNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePromotionPromotionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePromotionPromotionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePromotionPromotionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePromotionPromotionRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.PromotionOperationConfig == input.PromotionOperationConfig || + (this.PromotionOperationConfig != null && + this.PromotionOperationConfig.Equals(input.PromotionOperationConfig)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.Reference == input.Reference || + (this.Reference != null && + this.Reference.Equals(input.Reference)) + ) && + ( + this.PromotionValue == input.PromotionValue || + (this.PromotionValue != null && + this.PromotionValue.Equals(input.PromotionValue)) + ) && + ( + this.CheckIfRebateWasApplied == input.CheckIfRebateWasApplied || + (this.CheckIfRebateWasApplied != null && + this.CheckIfRebateWasApplied.Equals(input.CheckIfRebateWasApplied)) + ) && + ( + this.MaximumQuantity == input.MaximumQuantity || + (this.MaximumQuantity != null && + this.MaximumQuantity.Equals(input.MaximumQuantity)) + ) && + ( + this.ActiveCustomerOrderId == input.ActiveCustomerOrderId || + (this.ActiveCustomerOrderId != null && + this.ActiveCustomerOrderId.Equals(input.ActiveCustomerOrderId)) + ) && + ( + this.CustomerSequenceNumber == input.CustomerSequenceNumber || + (this.CustomerSequenceNumber != null && + this.CustomerSequenceNumber.Equals(input.CustomerSequenceNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.PromotionOperationConfig != null) + hashCode = hashCode * 59 + this.PromotionOperationConfig.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.Reference != null) + hashCode = hashCode * 59 + this.Reference.GetHashCode(); + if (this.PromotionValue != null) + hashCode = hashCode * 59 + this.PromotionValue.GetHashCode(); + if (this.CheckIfRebateWasApplied != null) + hashCode = hashCode * 59 + this.CheckIfRebateWasApplied.GetHashCode(); + if (this.MaximumQuantity != null) + hashCode = hashCode * 59 + this.MaximumQuantity.GetHashCode(); + if (this.ActiveCustomerOrderId != null) + hashCode = hashCode * 59 + this.ActiveCustomerOrderId.GetHashCode(); + if (this.CustomerSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerSequenceNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..158cc8453081c035d10ba390bcd83b09c3749e76 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest.cs @@ -0,0 +1,469 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionTriggerValidationRequest <p>Request object for validating line item promotion triggers.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p>. + /// <p>Position operation configuration.</p>. + /// <p>The key of the line item to have its promotion triggers validated.</p>. + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> (required). + /// <p>Attribute currently not used.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest(ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig promotionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), double? promotionValue = default(double?), bool? validationMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "promotionValue" is required (not null) + if (promotionValue == null) + { + throw new InvalidDataException("promotionValue is a required property for ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest and cannot be null"); + } + else + { + this.PromotionValue = promotionValue; + } + // to ensure "validationMode" is required (not null) + if (validationMode == null) + { + throw new InvalidDataException("validationMode is a required property for ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest and cannot be null"); + } + else + { + this.ValidationMode = validationMode; + } + this.PromotionOperationConfig = promotionOperationConfig; + this.PositionOperationConfig = positionOperationConfig; + this.LineItemKey = lineItemKey; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + [DataMember(Name="promotionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig PromotionOperationConfig { get; set; } + + /// + /// <p>Position operation configuration.</p> + /// + /// <p>Position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The key of the line item to have its promotion triggers validated.</p> + /// + /// <p>The key of the line item to have its promotion triggers validated.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + [DataMember(Name="promotionValue", EmitDefaultValue=false)] + public double? PromotionValue { get; set; } + + /// + /// <p>Attribute currently not used.</p> + /// + /// <p>Attribute currently not used.</p> + [DataMember(Name="validationMode", EmitDefaultValue=false)] + public bool? ValidationMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest {\n"); + sb.Append(" PromotionOperationConfig: ").Append(PromotionOperationConfig).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" PromotionValue: ").Append(PromotionValue).Append("\n"); + sb.Append(" ValidationMode: ").Append(ValidationMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest input) + { + if (input == null) + return false; + + return + ( + this.PromotionOperationConfig == input.PromotionOperationConfig || + (this.PromotionOperationConfig != null && + this.PromotionOperationConfig.Equals(input.PromotionOperationConfig)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.PromotionValue == input.PromotionValue || + (this.PromotionValue != null && + this.PromotionValue.Equals(input.PromotionValue)) + ) && + ( + this.ValidationMode == input.ValidationMode || + (this.ValidationMode != null && + this.ValidationMode.Equals(input.ValidationMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PromotionOperationConfig != null) + hashCode = hashCode * 59 + this.PromotionOperationConfig.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.PromotionValue != null) + hashCode = hashCode * 59 + this.PromotionValue.GetHashCode(); + if (this.ValidationMode != null) + hashCode = hashCode * 59 + this.ValidationMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7642d4ec56831ff31e7a4b168ebfb4662af0247d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CopyExternalTransactionLineItemsFullRescanRequest <p>Request entity for 'copy external transaction line item' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The association type code to the line items of the external transaction</p> (required). + /// <p>The transaction ID to the line items of the external transaction</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest(string toAssociationTypeCode = default(string), string toTransactionID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "toAssociationTypeCode" is required (not null) + if (toAssociationTypeCode == null) + { + throw new InvalidDataException("toAssociationTypeCode is a required property for ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest and cannot be null"); + } + else + { + this.ToAssociationTypeCode = toAssociationTypeCode; + } + // to ensure "toTransactionID" is required (not null) + if (toTransactionID == null) + { + throw new InvalidDataException("toTransactionID is a required property for ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest and cannot be null"); + } + else + { + this.ToTransactionID = toTransactionID; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The association type code to the line items of the external transaction</p> + /// + /// <p>The association type code to the line items of the external transaction</p> + [DataMember(Name="toAssociationTypeCode", EmitDefaultValue=false)] + public string ToAssociationTypeCode { get; set; } + + /// + /// <p>The transaction ID to the line items of the external transaction</p> + /// + /// <p>The transaction ID to the line items of the external transaction</p> + [DataMember(Name="toTransactionID", EmitDefaultValue=false)] + public string ToTransactionID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest {\n"); + sb.Append(" ToAssociationTypeCode: ").Append(ToAssociationTypeCode).Append("\n"); + sb.Append(" ToTransactionID: ").Append(ToTransactionID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.ToAssociationTypeCode == input.ToAssociationTypeCode || + (this.ToAssociationTypeCode != null && + this.ToAssociationTypeCode.Equals(input.ToAssociationTypeCode)) + ) && + ( + this.ToTransactionID == input.ToTransactionID || + (this.ToTransactionID != null && + this.ToTransactionID.Equals(input.ToTransactionID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ToAssociationTypeCode != null) + hashCode = hashCode * 59 + this.ToAssociationTypeCode.GetHashCode(); + if (this.ToTransactionID != null) + hashCode = hashCode * 59 + this.ToTransactionID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..5478530f40997d2e3723f861fccea44c93620116 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CopyExternalTransactionLineItemsFullRescanResponse <p>Response entity for 'copy external transaction line item' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..685a854a6292a18e9cb9f28fb91d6ebcf348b71a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CopyGiftCertificateLineItemFullRescanRequest <p>Request entity for 'copy gift certificate line item' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The giftCertificateSerialNumber of the gift certificate which should be copied.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest(string giftCertificateSerialNumber = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "giftCertificateSerialNumber" is required (not null) + if (giftCertificateSerialNumber == null) + { + throw new InvalidDataException("giftCertificateSerialNumber is a required property for ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest and cannot be null"); + } + else + { + this.GiftCertificateSerialNumber = giftCertificateSerialNumber; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The giftCertificateSerialNumber of the gift certificate which should be copied.</p> + /// + /// <p>The giftCertificateSerialNumber of the gift certificate which should be copied.</p> + [DataMember(Name="giftCertificateSerialNumber", EmitDefaultValue=false)] + public string GiftCertificateSerialNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest {\n"); + sb.Append(" GiftCertificateSerialNumber: ").Append(GiftCertificateSerialNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.GiftCertificateSerialNumber == input.GiftCertificateSerialNumber || + (this.GiftCertificateSerialNumber != null && + this.GiftCertificateSerialNumber.Equals(input.GiftCertificateSerialNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.GiftCertificateSerialNumber != null) + hashCode = hashCode * 59 + this.GiftCertificateSerialNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..2b58d1fa14c4287530c70f9d4a9d2a115fcd4890 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CopyGiftCertificateLineItemFullRescanResponse <p>Response entity for 'copy gift certificate line item' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5542206071b91f207d3f0cad36264d79b7bb94b1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExecuteRescanAnalysisRequest <p>Request entity for 'Rescan Analysis' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..07e6e16ba5bed8c6c76753403b9145422877e64b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExecuteRescanAnalysisResponse <p>Response entity for 'Rescan Analysis' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a9858cd1166617ac056caf4f65fba7a541df76c1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinishFullRescanRequest <p>Request entity for 'finish full rescan' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..825d2dace71b825829e7e4860943be11d14063e9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinishFullRescanResponse <p>Response entity for 'finish full rescan' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>true if there is any difference in the relevant data between the customer scanned transaction and the rescan transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), bool? differencesFound = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.DifferencesFound = differencesFound; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>true if there is any difference in the relevant data between the customer scanned transaction and the rescan transaction.</p> + /// + /// <p>true if there is any difference in the relevant data between the customer scanned transaction and the rescan transaction.</p> + [DataMember(Name="differencesFound", EmitDefaultValue=false)] + public bool? DifferencesFound { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" DifferencesFound: ").Append(DifferencesFound).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.DifferencesFound == input.DifferencesFound || + (this.DifferencesFound != null && + this.DifferencesFound.Equals(input.DifferencesFound)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.DifferencesFound != null) + hashCode = hashCode * 59 + this.DifferencesFound.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..62d0b04579e485252fe100f552362131d1ee5702 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinishPartialRescanRequest <p>Request entity for 'finish partial rescan' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..f00c48707471d16c0f9d6e84b0588de6e219614e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinishPartialRescanResponse <p>Response entity for 'finish partial rescan' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2db4d5858e9f04960ce62f260de09d48e513fb01 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepareFullRescanRequest <p>Request entity for preparing 'Full Rescan' functionality.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..8b67e40a2432662cd2aa40bbf07e3a43ee93be67 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepareFullRescanResponse <p>Response entity for preparing 'Full Rescan' functionality.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6f54151396a9110713cce2e9cdd1a4c71ae96998 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PreparePartialRescanRequest <p>Request entity for preparing 'Partial Rescan' functionality.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..50508e1ba31de3b5db83e41438ca1b3246753317 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PreparePartialRescanResponse <p>Response entity for preparing 'Partial Rescan' functionality.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Contains number of items to rescan.</p> (required). + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse(int? numberToRescan = default(int?), ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "numberToRescan" is required (not null) + if (numberToRescan == null) + { + throw new InvalidDataException("numberToRescan is a required property for ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse and cannot be null"); + } + else + { + this.NumberToRescan = numberToRescan; + } + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Contains number of items to rescan.</p> + /// + /// <p>Contains number of items to rescan.</p> + [DataMember(Name="numberToRescan", EmitDefaultValue=false)] + public int? NumberToRescan { get; set; } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse {\n"); + sb.Append(" NumberToRescan: ").Append(NumberToRescan).Append("\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse input) + { + if (input == null) + return false; + + return + ( + this.NumberToRescan == input.NumberToRescan || + (this.NumberToRescan != null && + this.NumberToRescan.Equals(input.NumberToRescan)) + ) && + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.NumberToRescan != null) + hashCode = hashCode * 59 + this.NumberToRescan.GetHashCode(); + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..447f943f2fe760c6130a49f409b862ce4e7f0bd5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ProcessBarcodePartialRescanRequest <p>Request entity for 'process barcode partial rescan' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Contains the position operation config for the line item handling.</p>. + /// <p>Contains barcode of the scanned item.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string barcode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.Barcode = barcode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Contains the position operation config for the line item handling.</p> + /// + /// <p>Contains the position operation config for the line item handling.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Contains barcode of the scanned item.</p> + /// + /// <p>Contains barcode of the scanned item.</p> + [DataMember(Name="barcode", EmitDefaultValue=false)] + public string Barcode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Barcode: ").Append(Barcode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Barcode == input.Barcode || + (this.Barcode != null && + this.Barcode.Equals(input.Barcode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Barcode != null) + hashCode = hashCode * 59 + this.Barcode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..6f492a3835564c7c1e1ebe1bf4f46be3796e6226 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ProcessBarcodePartialRescanResponse <p>Response entity for 'process barcode partial rescan' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..626dab76fbc72732c068bdce553e32d0a6421aff --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SuspendAndRetrieveRescanTransactionRequest <p>Request entity for 'Suspend and Retrieve Rescan Transaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..8978f5ba321dc1c7485d540d8f0aba05d68d47a6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SuspendAndRetrieveRescanTransactionResponse <p>Response entity for 'Suspend and Retrieve Rescan Transaction' service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The entity describing the result of the operation.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult transactionOperationResult = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionOperationResult = transactionOperationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + [DataMember(Name="transactionOperationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult TransactionOperationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse {\n"); + sb.Append(" TransactionOperationResult: ").Append(TransactionOperationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionOperationResult == input.TransactionOperationResult || + (this.TransactionOperationResult != null && + this.TransactionOperationResult.Equals(input.TransactionOperationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionOperationResult != null) + hashCode = hashCode * 59 + this.TransactionOperationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..43e20dc9027aaa87fdc3d416a1340e4fada7065d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ValidateQuantityPartialRescanRequest <p>Request entity for quantity validation of a specific item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthenticationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthenticationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5ffb8cb897ebde286dba0220b427652c737e3d15 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthenticationRequest.cs @@ -0,0 +1,444 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AuthenticationRequest <p>Request object for the AuthenticationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSecurityAuthenticationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSecurityAuthenticationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operator login name</p>. + /// <p>The operator password</p>. + /// <p>The business unit id.</p>. + /// <p>boolean : password required</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSecurityAuthenticationRequest(string loginName = default(string), string password = default(string), string businessUnitId = default(string), bool? passwordRequired = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "passwordRequired" is required (not null) + if (passwordRequired == null) + { + throw new InvalidDataException("passwordRequired is a required property for ComGkSoftwarePosApiServiceSecurityAuthenticationRequest and cannot be null"); + } + else + { + this.PasswordRequired = passwordRequired; + } + this.LoginName = loginName; + this.Password = password; + this.BusinessUnitId = businessUnitId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operator login name</p> + /// + /// <p>The operator login name</p> + [DataMember(Name="loginName", EmitDefaultValue=false)] + public string LoginName { get; set; } + + /// + /// <p>The operator password</p> + /// + /// <p>The operator password</p> + [DataMember(Name="password", EmitDefaultValue=false)] + public string Password { get; set; } + + /// + /// <p>The business unit id.</p> + /// + /// <p>The business unit id.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>boolean : password required</p> + /// + /// <p>boolean : password required</p> + [DataMember(Name="passwordRequired", EmitDefaultValue=false)] + public bool? PasswordRequired { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSecurityAuthenticationRequest {\n"); + sb.Append(" LoginName: ").Append(LoginName).Append("\n"); + sb.Append(" Password: ").Append(Password).Append("\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" PasswordRequired: ").Append(PasswordRequired).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSecurityAuthenticationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSecurityAuthenticationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSecurityAuthenticationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSecurityAuthenticationRequest input) + { + if (input == null) + return false; + + return + ( + this.LoginName == input.LoginName || + (this.LoginName != null && + this.LoginName.Equals(input.LoginName)) + ) && + ( + this.Password == input.Password || + (this.Password != null && + this.Password.Equals(input.Password)) + ) && + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.PasswordRequired == input.PasswordRequired || + (this.PasswordRequired != null && + this.PasswordRequired.Equals(input.PasswordRequired)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LoginName != null) + hashCode = hashCode * 59 + this.LoginName.GetHashCode(); + if (this.Password != null) + hashCode = hashCode * 59 + this.Password.GetHashCode(); + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.PasswordRequired != null) + hashCode = hashCode * 59 + this.PasswordRequired.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthenticationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthenticationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ccc131a9724164347b0d33aff940afa7acaee4a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthenticationResult.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AuthenticationResult <p>Request object for the AuthenticationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSecurityAuthenticationResult : IEquatable, IValidatableObject + { + /// + /// <p>The passwordExceptionType. </p> + /// + /// <p>The passwordExceptionType. </p> + [JsonConverter(typeof(StringEnumConverter))] + public enum PasswordExceptionTypeEnum + { + + /// + /// Enum INITIAL for value: PASSWORD_INITIAL + /// + [EnumMember(Value = "PASSWORD_INITIAL")] + INITIAL = 1, + + /// + /// Enum EXPIRED for value: PASSWORD_EXPIRED + /// + [EnumMember(Value = "PASSWORD_EXPIRED")] + EXPIRED = 2 + } + + /// + /// <p>The passwordExceptionType. </p> + /// + /// <p>The passwordExceptionType. </p> + [DataMember(Name="passwordExceptionType", EmitDefaultValue=false)] + public PasswordExceptionTypeEnum? PasswordExceptionType { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>OperatorSO: resolved operator</p>. + /// realmId. + /// <p>If password is before expiration it contains the expiration count in days</p>. + /// <p>Indicate whether the password is before expiration</p>. + /// <p>The passwordExceptionType. </p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSecurityAuthenticationResult(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO resolvedOperator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), string realmId = default(string), int? expirationCountDays = default(int?), bool? passwordBeforeExpiration = default(bool?), PasswordExceptionTypeEnum? passwordExceptionType = default(PasswordExceptionTypeEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ResolvedOperator = resolvedOperator; + this.RealmId = realmId; + this.ExpirationCountDays = expirationCountDays; + this.PasswordBeforeExpiration = passwordBeforeExpiration; + this.PasswordExceptionType = passwordExceptionType; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>OperatorSO: resolved operator</p> + /// + /// <p>OperatorSO: resolved operator</p> + [DataMember(Name="resolvedOperator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO ResolvedOperator { get; set; } + + /// + /// Gets or Sets RealmId + /// + [DataMember(Name="realmId", EmitDefaultValue=false)] + public string RealmId { get; set; } + + /// + /// <p>If password is before expiration it contains the expiration count in days</p> + /// + /// <p>If password is before expiration it contains the expiration count in days</p> + [DataMember(Name="expirationCountDays", EmitDefaultValue=false)] + public int? ExpirationCountDays { get; set; } + + /// + /// <p>Indicate whether the password is before expiration</p> + /// + /// <p>Indicate whether the password is before expiration</p> + [DataMember(Name="passwordBeforeExpiration", EmitDefaultValue=false)] + public bool? PasswordBeforeExpiration { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSecurityAuthenticationResult {\n"); + sb.Append(" ResolvedOperator: ").Append(ResolvedOperator).Append("\n"); + sb.Append(" RealmId: ").Append(RealmId).Append("\n"); + sb.Append(" ExpirationCountDays: ").Append(ExpirationCountDays).Append("\n"); + sb.Append(" PasswordBeforeExpiration: ").Append(PasswordBeforeExpiration).Append("\n"); + sb.Append(" PasswordExceptionType: ").Append(PasswordExceptionType).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSecurityAuthenticationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSecurityAuthenticationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSecurityAuthenticationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSecurityAuthenticationResult input) + { + if (input == null) + return false; + + return + ( + this.ResolvedOperator == input.ResolvedOperator || + (this.ResolvedOperator != null && + this.ResolvedOperator.Equals(input.ResolvedOperator)) + ) && + ( + this.RealmId == input.RealmId || + (this.RealmId != null && + this.RealmId.Equals(input.RealmId)) + ) && + ( + this.ExpirationCountDays == input.ExpirationCountDays || + (this.ExpirationCountDays != null && + this.ExpirationCountDays.Equals(input.ExpirationCountDays)) + ) && + ( + this.PasswordBeforeExpiration == input.PasswordBeforeExpiration || + (this.PasswordBeforeExpiration != null && + this.PasswordBeforeExpiration.Equals(input.PasswordBeforeExpiration)) + ) && + ( + this.PasswordExceptionType == input.PasswordExceptionType || + (this.PasswordExceptionType != null && + this.PasswordExceptionType.Equals(input.PasswordExceptionType)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ResolvedOperator != null) + hashCode = hashCode * 59 + this.ResolvedOperator.GetHashCode(); + if (this.RealmId != null) + hashCode = hashCode * 59 + this.RealmId.GetHashCode(); + if (this.ExpirationCountDays != null) + hashCode = hashCode * 59 + this.ExpirationCountDays.GetHashCode(); + if (this.PasswordBeforeExpiration != null) + hashCode = hashCode * 59 + this.PasswordBeforeExpiration.GetHashCode(); + if (this.PasswordExceptionType != null) + hashCode = hashCode * 59 + this.PasswordExceptionType.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthorizationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthorizationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..58a00ffd3b93935b1b0baad2477e119765bccf93 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthorizationRequest.cs @@ -0,0 +1,571 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AuthorizationRequest <p>Request object for the AuthorizationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSecurityAuthorizationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSecurityAuthorizationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>String : original operator login name</p>. + /// <p>String : authorizing operator login name</p>. + /// <p>String : authorizing operator password</p>. + /// <p>String : right id</p>. + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p>. + /// <p>Indicates that operation is related to line item.</p>. + /// <p>Indicates that operation is related to retail transaction.</p>. + /// <p>Indicates that operation is related to control transaction.</p>. + /// <p>Indicates that operation is related to tender control transaction.</p>. + /// <p>boolean : authorizing operator must have rights</p> (required). + /// <p>boolean : skip password check</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSecurityAuthorizationRequest(string originalOperatorLoginName = default(string), string authorizingOperatorLoginName = default(string), string authorizingOperatorPassword = default(string), string rightId = default(string), string entryMethodCode = default(string), bool? lineItemRelevant = default(bool?), bool? retailTransactionRelevant = default(bool?), bool? controlTransactionRelevant = default(bool?), bool? tenderControlTransactionRelevant = default(bool?), bool? authorizingOperatorMustHaveRights = default(bool?), bool? skipPasswordCheck = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "authorizingOperatorMustHaveRights" is required (not null) + if (authorizingOperatorMustHaveRights == null) + { + throw new InvalidDataException("authorizingOperatorMustHaveRights is a required property for ComGkSoftwarePosApiServiceSecurityAuthorizationRequest and cannot be null"); + } + else + { + this.AuthorizingOperatorMustHaveRights = authorizingOperatorMustHaveRights; + } + // to ensure "skipPasswordCheck" is required (not null) + if (skipPasswordCheck == null) + { + throw new InvalidDataException("skipPasswordCheck is a required property for ComGkSoftwarePosApiServiceSecurityAuthorizationRequest and cannot be null"); + } + else + { + this.SkipPasswordCheck = skipPasswordCheck; + } + this.OriginalOperatorLoginName = originalOperatorLoginName; + this.AuthorizingOperatorLoginName = authorizingOperatorLoginName; + this.AuthorizingOperatorPassword = authorizingOperatorPassword; + this.RightId = rightId; + this.EntryMethodCode = entryMethodCode; + this.LineItemRelevant = lineItemRelevant; + this.RetailTransactionRelevant = retailTransactionRelevant; + this.ControlTransactionRelevant = controlTransactionRelevant; + this.TenderControlTransactionRelevant = tenderControlTransactionRelevant; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String : original operator login name</p> + /// + /// <p>String : original operator login name</p> + [DataMember(Name="originalOperatorLoginName", EmitDefaultValue=false)] + public string OriginalOperatorLoginName { get; set; } + + /// + /// <p>String : authorizing operator login name</p> + /// + /// <p>String : authorizing operator login name</p> + [DataMember(Name="authorizingOperatorLoginName", EmitDefaultValue=false)] + public string AuthorizingOperatorLoginName { get; set; } + + /// + /// <p>String : authorizing operator password</p> + /// + /// <p>String : authorizing operator password</p> + [DataMember(Name="authorizingOperatorPassword", EmitDefaultValue=false)] + public string AuthorizingOperatorPassword { get; set; } + + /// + /// <p>String : right id</p> + /// + /// <p>String : right id</p> + [DataMember(Name="rightId", EmitDefaultValue=false)] + public string RightId { get; set; } + + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + [DataMember(Name="EntryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Indicates that operation is related to line item.</p> + /// + /// <p>Indicates that operation is related to line item.</p> + [DataMember(Name="lineItemRelevant", EmitDefaultValue=false)] + public bool? LineItemRelevant { get; set; } + + /// + /// <p>Indicates that operation is related to retail transaction.</p> + /// + /// <p>Indicates that operation is related to retail transaction.</p> + [DataMember(Name="retailTransactionRelevant", EmitDefaultValue=false)] + public bool? RetailTransactionRelevant { get; set; } + + /// + /// <p>Indicates that operation is related to control transaction.</p> + /// + /// <p>Indicates that operation is related to control transaction.</p> + [DataMember(Name="controlTransactionRelevant", EmitDefaultValue=false)] + public bool? ControlTransactionRelevant { get; set; } + + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + [DataMember(Name="tenderControlTransactionRelevant", EmitDefaultValue=false)] + public bool? TenderControlTransactionRelevant { get; set; } + + /// + /// <p>boolean : authorizing operator must have rights</p> + /// + /// <p>boolean : authorizing operator must have rights</p> + [DataMember(Name="authorizingOperatorMustHaveRights", EmitDefaultValue=false)] + public bool? AuthorizingOperatorMustHaveRights { get; set; } + + /// + /// <p>boolean : skip password check</p> + /// + /// <p>boolean : skip password check</p> + [DataMember(Name="skipPasswordCheck", EmitDefaultValue=false)] + public bool? SkipPasswordCheck { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSecurityAuthorizationRequest {\n"); + sb.Append(" OriginalOperatorLoginName: ").Append(OriginalOperatorLoginName).Append("\n"); + sb.Append(" AuthorizingOperatorLoginName: ").Append(AuthorizingOperatorLoginName).Append("\n"); + sb.Append(" AuthorizingOperatorPassword: ").Append(AuthorizingOperatorPassword).Append("\n"); + sb.Append(" RightId: ").Append(RightId).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" LineItemRelevant: ").Append(LineItemRelevant).Append("\n"); + sb.Append(" RetailTransactionRelevant: ").Append(RetailTransactionRelevant).Append("\n"); + sb.Append(" ControlTransactionRelevant: ").Append(ControlTransactionRelevant).Append("\n"); + sb.Append(" TenderControlTransactionRelevant: ").Append(TenderControlTransactionRelevant).Append("\n"); + sb.Append(" AuthorizingOperatorMustHaveRights: ").Append(AuthorizingOperatorMustHaveRights).Append("\n"); + sb.Append(" SkipPasswordCheck: ").Append(SkipPasswordCheck).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSecurityAuthorizationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSecurityAuthorizationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSecurityAuthorizationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSecurityAuthorizationRequest input) + { + if (input == null) + return false; + + return + ( + this.OriginalOperatorLoginName == input.OriginalOperatorLoginName || + (this.OriginalOperatorLoginName != null && + this.OriginalOperatorLoginName.Equals(input.OriginalOperatorLoginName)) + ) && + ( + this.AuthorizingOperatorLoginName == input.AuthorizingOperatorLoginName || + (this.AuthorizingOperatorLoginName != null && + this.AuthorizingOperatorLoginName.Equals(input.AuthorizingOperatorLoginName)) + ) && + ( + this.AuthorizingOperatorPassword == input.AuthorizingOperatorPassword || + (this.AuthorizingOperatorPassword != null && + this.AuthorizingOperatorPassword.Equals(input.AuthorizingOperatorPassword)) + ) && + ( + this.RightId == input.RightId || + (this.RightId != null && + this.RightId.Equals(input.RightId)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.LineItemRelevant == input.LineItemRelevant || + (this.LineItemRelevant != null && + this.LineItemRelevant.Equals(input.LineItemRelevant)) + ) && + ( + this.RetailTransactionRelevant == input.RetailTransactionRelevant || + (this.RetailTransactionRelevant != null && + this.RetailTransactionRelevant.Equals(input.RetailTransactionRelevant)) + ) && + ( + this.ControlTransactionRelevant == input.ControlTransactionRelevant || + (this.ControlTransactionRelevant != null && + this.ControlTransactionRelevant.Equals(input.ControlTransactionRelevant)) + ) && + ( + this.TenderControlTransactionRelevant == input.TenderControlTransactionRelevant || + (this.TenderControlTransactionRelevant != null && + this.TenderControlTransactionRelevant.Equals(input.TenderControlTransactionRelevant)) + ) && + ( + this.AuthorizingOperatorMustHaveRights == input.AuthorizingOperatorMustHaveRights || + (this.AuthorizingOperatorMustHaveRights != null && + this.AuthorizingOperatorMustHaveRights.Equals(input.AuthorizingOperatorMustHaveRights)) + ) && + ( + this.SkipPasswordCheck == input.SkipPasswordCheck || + (this.SkipPasswordCheck != null && + this.SkipPasswordCheck.Equals(input.SkipPasswordCheck)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OriginalOperatorLoginName != null) + hashCode = hashCode * 59 + this.OriginalOperatorLoginName.GetHashCode(); + if (this.AuthorizingOperatorLoginName != null) + hashCode = hashCode * 59 + this.AuthorizingOperatorLoginName.GetHashCode(); + if (this.AuthorizingOperatorPassword != null) + hashCode = hashCode * 59 + this.AuthorizingOperatorPassword.GetHashCode(); + if (this.RightId != null) + hashCode = hashCode * 59 + this.RightId.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.LineItemRelevant != null) + hashCode = hashCode * 59 + this.LineItemRelevant.GetHashCode(); + if (this.RetailTransactionRelevant != null) + hashCode = hashCode * 59 + this.RetailTransactionRelevant.GetHashCode(); + if (this.ControlTransactionRelevant != null) + hashCode = hashCode * 59 + this.ControlTransactionRelevant.GetHashCode(); + if (this.TenderControlTransactionRelevant != null) + hashCode = hashCode * 59 + this.TenderControlTransactionRelevant.GetHashCode(); + if (this.AuthorizingOperatorMustHaveRights != null) + hashCode = hashCode * 59 + this.AuthorizingOperatorMustHaveRights.GetHashCode(); + if (this.SkipPasswordCheck != null) + hashCode = hashCode * 59 + this.SkipPasswordCheck.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthorizationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthorizationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..52b2ec3f9fd6fffc322ddbd69b13b0d7b3121819 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityAuthorizationResult.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AuthorizationResult <p>Result object used by AuthorizationService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSecurityAuthorizationResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>OperatorSO : operatorSO</p>. + /// <p>List of String : ids of permitted resources</p>. + /// <p>Authentication result.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSecurityAuthorizationResult(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO _operator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), List permittedResources = default(List), ComGkSoftwarePosApiServiceSecurityAuthenticationResult authenticationResult = default(ComGkSoftwarePosApiServiceSecurityAuthenticationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Operator = _operator; + this.PermittedResources = permittedResources; + this.AuthenticationResult = authenticationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>OperatorSO : operatorSO</p> + /// + /// <p>OperatorSO : operatorSO</p> + [DataMember(Name="operator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO Operator { get; set; } + + /// + /// <p>List of String : ids of permitted resources</p> + /// + /// <p>List of String : ids of permitted resources</p> + [DataMember(Name="permittedResources", EmitDefaultValue=false)] + public List PermittedResources { get; set; } + + /// + /// <p>Authentication result.</p> + /// + /// <p>Authentication result.</p> + [DataMember(Name="authenticationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSecurityAuthenticationResult AuthenticationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSecurityAuthorizationResult {\n"); + sb.Append(" Operator: ").Append(Operator).Append("\n"); + sb.Append(" PermittedResources: ").Append(PermittedResources).Append("\n"); + sb.Append(" AuthenticationResult: ").Append(AuthenticationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSecurityAuthorizationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSecurityAuthorizationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSecurityAuthorizationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSecurityAuthorizationResult input) + { + if (input == null) + return false; + + return + ( + this.Operator == input.Operator || + (this.Operator != null && + this.Operator.Equals(input.Operator)) + ) && + ( + this.PermittedResources == input.PermittedResources || + this.PermittedResources != null && + this.PermittedResources.SequenceEqual(input.PermittedResources) + ) && + ( + this.AuthenticationResult == input.AuthenticationResult || + (this.AuthenticationResult != null && + this.AuthenticationResult.Equals(input.AuthenticationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Operator != null) + hashCode = hashCode * 59 + this.Operator.GetHashCode(); + if (this.PermittedResources != null) + hashCode = hashCode * 59 + this.PermittedResources.GetHashCode(); + if (this.AuthenticationResult != null) + hashCode = hashCode * 59 + this.AuthenticationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData.cs new file mode 100644 index 0000000000000000000000000000000000000000..5a815f05a5900348c0261484b6b0a15040e97b39 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionResourceOverrideData <p>TransactionResourceOverrideData</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Long : business unit group id.</p>. + /// <p>OperatorSO : The operator data</p>. + /// <p>String : right id</p>. + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p>. + /// <p>Indicates that operation is related to line item.</p>. + /// <p>Indicates that operation is related to retail transaction.</p>. + /// <p>Indicates that operation is related to control transaction.</p>. + /// <p>Indicates that operation is related to tender control transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData(string businessUnitGroupID = default(string), ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO _operator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), string rightId = default(string), string entryMethodCode = default(string), bool? lineItemRelevant = default(bool?), bool? retailTransactionRelevant = default(bool?), bool? controlTransactionRelevant = default(bool?), bool? tenderControlTransactionRelevant = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitGroupID = businessUnitGroupID; + this.Operator = _operator; + this.RightId = rightId; + this.EntryMethodCode = entryMethodCode; + this.LineItemRelevant = lineItemRelevant; + this.RetailTransactionRelevant = retailTransactionRelevant; + this.ControlTransactionRelevant = controlTransactionRelevant; + this.TenderControlTransactionRelevant = tenderControlTransactionRelevant; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Long : business unit group id.</p> + /// + /// <p>Long : business unit group id.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>OperatorSO : The operator data</p> + /// + /// <p>OperatorSO : The operator data</p> + [DataMember(Name="operator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO Operator { get; set; } + + /// + /// <p>String : right id</p> + /// + /// <p>String : right id</p> + [DataMember(Name="rightId", EmitDefaultValue=false)] + public string RightId { get; set; } + + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Indicates that operation is related to line item.</p> + /// + /// <p>Indicates that operation is related to line item.</p> + [DataMember(Name="lineItemRelevant", EmitDefaultValue=false)] + public bool? LineItemRelevant { get; set; } + + /// + /// <p>Indicates that operation is related to retail transaction.</p> + /// + /// <p>Indicates that operation is related to retail transaction.</p> + [DataMember(Name="retailTransactionRelevant", EmitDefaultValue=false)] + public bool? RetailTransactionRelevant { get; set; } + + /// + /// <p>Indicates that operation is related to control transaction.</p> + /// + /// <p>Indicates that operation is related to control transaction.</p> + [DataMember(Name="controlTransactionRelevant", EmitDefaultValue=false)] + public bool? ControlTransactionRelevant { get; set; } + + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + [DataMember(Name="tenderControlTransactionRelevant", EmitDefaultValue=false)] + public bool? TenderControlTransactionRelevant { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" Operator: ").Append(Operator).Append("\n"); + sb.Append(" RightId: ").Append(RightId).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" LineItemRelevant: ").Append(LineItemRelevant).Append("\n"); + sb.Append(" RetailTransactionRelevant: ").Append(RetailTransactionRelevant).Append("\n"); + sb.Append(" ControlTransactionRelevant: ").Append(ControlTransactionRelevant).Append("\n"); + sb.Append(" TenderControlTransactionRelevant: ").Append(TenderControlTransactionRelevant).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.Operator == input.Operator || + (this.Operator != null && + this.Operator.Equals(input.Operator)) + ) && + ( + this.RightId == input.RightId || + (this.RightId != null && + this.RightId.Equals(input.RightId)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.LineItemRelevant == input.LineItemRelevant || + (this.LineItemRelevant != null && + this.LineItemRelevant.Equals(input.LineItemRelevant)) + ) && + ( + this.RetailTransactionRelevant == input.RetailTransactionRelevant || + (this.RetailTransactionRelevant != null && + this.RetailTransactionRelevant.Equals(input.RetailTransactionRelevant)) + ) && + ( + this.ControlTransactionRelevant == input.ControlTransactionRelevant || + (this.ControlTransactionRelevant != null && + this.ControlTransactionRelevant.Equals(input.ControlTransactionRelevant)) + ) && + ( + this.TenderControlTransactionRelevant == input.TenderControlTransactionRelevant || + (this.TenderControlTransactionRelevant != null && + this.TenderControlTransactionRelevant.Equals(input.TenderControlTransactionRelevant)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.Operator != null) + hashCode = hashCode * 59 + this.Operator.GetHashCode(); + if (this.RightId != null) + hashCode = hashCode * 59 + this.RightId.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.LineItemRelevant != null) + hashCode = hashCode * 59 + this.LineItemRelevant.GetHashCode(); + if (this.RetailTransactionRelevant != null) + hashCode = hashCode * 59 + this.RetailTransactionRelevant.GetHashCode(); + if (this.ControlTransactionRelevant != null) + hashCode = hashCode * 59 + this.ControlTransactionRelevant.GetHashCode(); + if (this.TenderControlTransactionRelevant != null) + hashCode = hashCode * 59 + this.TenderControlTransactionRelevant.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..35de7779c64be42ff668a9503fabbf79698b2f3c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UpdatePasswordRequest <p>Request object for the AuthenticationService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The operator login name.</p>. + /// <p>New password.</p>. + /// <p>Old password.</p>. + /// <p>The retail store id.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest(string loginName = default(string), string newPassword = default(string), string oldPassword = default(string), string storeId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LoginName = loginName; + this.NewPassword = newPassword; + this.OldPassword = oldPassword; + this.StoreId = storeId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operator login name.</p> + /// + /// <p>The operator login name.</p> + [DataMember(Name="loginName", EmitDefaultValue=false)] + public string LoginName { get; set; } + + /// + /// <p>New password.</p> + /// + /// <p>New password.</p> + [DataMember(Name="newPassword", EmitDefaultValue=false)] + public string NewPassword { get; set; } + + /// + /// <p>Old password.</p> + /// + /// <p>Old password.</p> + [DataMember(Name="oldPassword", EmitDefaultValue=false)] + public string OldPassword { get; set; } + + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest {\n"); + sb.Append(" LoginName: ").Append(LoginName).Append("\n"); + sb.Append(" NewPassword: ").Append(NewPassword).Append("\n"); + sb.Append(" OldPassword: ").Append(OldPassword).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest input) + { + if (input == null) + return false; + + return + ( + this.LoginName == input.LoginName || + (this.LoginName != null && + this.LoginName.Equals(input.LoginName)) + ) && + ( + this.NewPassword == input.NewPassword || + (this.NewPassword != null && + this.NewPassword.Equals(input.NewPassword)) + ) && + ( + this.OldPassword == input.OldPassword || + (this.OldPassword != null && + this.OldPassword.Equals(input.OldPassword)) + ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LoginName != null) + hashCode = hashCode * 59 + this.LoginName.GetHashCode(); + if (this.NewPassword != null) + hashCode = hashCode * 59 + this.NewPassword.GetHashCode(); + if (this.OldPassword != null) + hashCode = hashCode * 59 + this.OldPassword.GetHashCode(); + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..c220b2b693dd4afbbae148a75808d6ac45802e2b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UpdatePasswordResult <p>Result object used by AuthenticationService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLanguageSettings.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLanguageSettings.cs new file mode 100644 index 0000000000000000000000000000000000000000..42fff700257bd4db6c27cc7be597237354841e86 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLanguageSettings.cs @@ -0,0 +1,430 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LanguageSettings <p>Transport object for language dependent setting like active scope and hierarchies.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionLanguageSettings : IEquatable, IValidatableObject + { + /// + /// <p>LanguageScope : active language scope</p> + /// + /// <p>LanguageScope : active language scope</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ActiveLanguageScopeEnum + { + + /// + /// Enum Operator for value: Operator + /// + [EnumMember(Value = "Operator")] + Operator = 1, + + /// + /// Enum Customer for value: Customer + /// + [EnumMember(Value = "Customer")] + Customer = 2, + + /// + /// Enum Transaction for value: Transaction + /// + [EnumMember(Value = "Transaction")] + Transaction = 3, + + /// + /// Enum MasterData for value: MasterData + /// + [EnumMember(Value = "MasterData")] + MasterData = 4 + } + + /// + /// <p>LanguageScope : active language scope</p> + /// + /// <p>LanguageScope : active language scope</p> + [DataMember(Name="activeLanguageScope", EmitDefaultValue=false)] + public ActiveLanguageScopeEnum? ActiveLanguageScope { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>LanguageScope : active language scope</p>. + /// <p>String array of LanguageScope : hierarchy map</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionLanguageSettings(ActiveLanguageScopeEnum? activeLanguageScope = default(ActiveLanguageScopeEnum?), Dictionary hierarchyMap = default(Dictionary), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ActiveLanguageScope = activeLanguageScope; + this.HierarchyMap = hierarchyMap; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + + /// + /// <p>String array of LanguageScope : hierarchy map</p> + /// + /// <p>String array of LanguageScope : hierarchy map</p> + [DataMember(Name="hierarchyMap", EmitDefaultValue=false)] + public Dictionary HierarchyMap { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionLanguageSettings {\n"); + sb.Append(" ActiveLanguageScope: ").Append(ActiveLanguageScope).Append("\n"); + sb.Append(" HierarchyMap: ").Append(HierarchyMap).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionLanguageSettings); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionLanguageSettings instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionLanguageSettings to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionLanguageSettings input) + { + if (input == null) + return false; + + return + ( + this.ActiveLanguageScope == input.ActiveLanguageScope || + (this.ActiveLanguageScope != null && + this.ActiveLanguageScope.Equals(input.ActiveLanguageScope)) + ) && + ( + this.HierarchyMap == input.HierarchyMap || + this.HierarchyMap != null && + this.HierarchyMap.SequenceEqual(input.HierarchyMap) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ActiveLanguageScope != null) + hashCode = hashCode * 59 + this.ActiveLanguageScope.GetHashCode(); + if (this.HierarchyMap != null) + hashCode = hashCode * 59 + this.HierarchyMap.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLoginRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLoginRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..614e27b1e20ddd03c30467e44ddfbea96bf34700 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLoginRequest.cs @@ -0,0 +1,696 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoginRequest <p>Request object for the PosSessionService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionLoginRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionLoginRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>String : retail store id</p>. + /// <p>String : workstation id</p>. + /// <p>String : workstation address</p>. + /// <p>String : workstation type code</p>. + /// <p>String : client version</p>. + /// <p>String : login name</p>. + /// <p>TillDoKey : till id</p>. + /// <p>String : password</p>. + /// overrideData. + /// trainingMode (required). + /// finalizeControlTransactionFlag. + /// <p>boolean: use login type TECHNICAL for login manager calls (default is false)</p>. + /// <p>Login name of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p>. + /// <p>Password of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p>. + /// <p>Additional data that can be set/used to identify a session.</p>. + /// <p>Additional data that can be set/used to identify a session.</p>. + /// <p>Flag indicating, if POS server login is performed.</p>. + /// <p>Flag indicating, if sign on transaction should be created.</p>. + /// <p>Flag indicating, if session is online</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionLoginRequest(string retailStoreId = default(string), string workstationId = default(string), string workstationAddress = default(string), string workstationTypeCode = default(string), string clientVersion = default(string), string loginName = default(string), ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey tillId = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey), string password = default(string), ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData overrideData = default(ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData), bool? trainingMode = default(bool?), bool? finalizeControlTransactionFlag = default(bool?), bool? useLoginTypeTechnicalForLoginManager = default(bool?), string authorizerLoginName = default(string), string authorizerPassword = default(string), string additionalSessionCriteria01 = default(string), string additionalSessionCriteria02 = default(string), bool? posServerLoginEnabled = default(bool?), bool? signOnTransactionEnabled = default(bool?), bool? online = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "trainingMode" is required (not null) + if (trainingMode == null) + { + throw new InvalidDataException("trainingMode is a required property for ComGkSoftwarePosApiServiceSessionLoginRequest and cannot be null"); + } + else + { + this.TrainingMode = trainingMode; + } + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.WorkstationAddress = workstationAddress; + this.WorkstationTypeCode = workstationTypeCode; + this.ClientVersion = clientVersion; + this.LoginName = loginName; + this.TillId = tillId; + this.Password = password; + this.OverrideData = overrideData; + this.FinalizeControlTransactionFlag = finalizeControlTransactionFlag; + this.UseLoginTypeTechnicalForLoginManager = useLoginTypeTechnicalForLoginManager; + this.AuthorizerLoginName = authorizerLoginName; + this.AuthorizerPassword = authorizerPassword; + this.AdditionalSessionCriteria01 = additionalSessionCriteria01; + this.AdditionalSessionCriteria02 = additionalSessionCriteria02; + this.PosServerLoginEnabled = posServerLoginEnabled; + this.SignOnTransactionEnabled = signOnTransactionEnabled; + this.Online = online; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String : retail store id</p> + /// + /// <p>String : retail store id</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>String : workstation id</p> + /// + /// <p>String : workstation id</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>String : workstation address</p> + /// + /// <p>String : workstation address</p> + [DataMember(Name="workstationAddress", EmitDefaultValue=false)] + public string WorkstationAddress { get; set; } + + /// + /// <p>String : workstation type code</p> + /// + /// <p>String : workstation type code</p> + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// <p>String : client version</p> + /// + /// <p>String : client version</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>String : login name</p> + /// + /// <p>String : login name</p> + [DataMember(Name="loginName", EmitDefaultValue=false)] + public string LoginName { get; set; } + + /// + /// <p>TillDoKey : till id</p> + /// + /// <p>TillDoKey : till id</p> + [DataMember(Name="tillId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey TillId { get; set; } + + /// + /// <p>String : password</p> + /// + /// <p>String : password</p> + [DataMember(Name="password", EmitDefaultValue=false)] + public string Password { get; set; } + + /// + /// Gets or Sets OverrideData + /// + [DataMember(Name="overrideData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData OverrideData { get; set; } + + /// + /// Gets or Sets TrainingMode + /// + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// Gets or Sets FinalizeControlTransactionFlag + /// + [DataMember(Name="finalizeControlTransactionFlag", EmitDefaultValue=false)] + public bool? FinalizeControlTransactionFlag { get; set; } + + /// + /// <p>boolean: use login type TECHNICAL for login manager calls (default is false)</p> + /// + /// <p>boolean: use login type TECHNICAL for login manager calls (default is false)</p> + [DataMember(Name="useLoginTypeTechnicalForLoginManager", EmitDefaultValue=false)] + public bool? UseLoginTypeTechnicalForLoginManager { get; set; } + + /// + /// <p>Login name of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + /// + /// <p>Login name of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + [DataMember(Name="authorizerLoginName", EmitDefaultValue=false)] + public string AuthorizerLoginName { get; set; } + + /// + /// <p>Password of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + /// + /// <p>Password of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + [DataMember(Name="authorizerPassword", EmitDefaultValue=false)] + public string AuthorizerPassword { get; set; } + + /// + /// <p>Additional data that can be set/used to identify a session.</p> + /// + /// <p>Additional data that can be set/used to identify a session.</p> + [DataMember(Name="additionalSessionCriteria01", EmitDefaultValue=false)] + public string AdditionalSessionCriteria01 { get; set; } + + /// + /// <p>Additional data that can be set/used to identify a session.</p> + /// + /// <p>Additional data that can be set/used to identify a session.</p> + [DataMember(Name="additionalSessionCriteria02", EmitDefaultValue=false)] + public string AdditionalSessionCriteria02 { get; set; } + + /// + /// <p>Flag indicating, if POS server login is performed.</p> + /// + /// <p>Flag indicating, if POS server login is performed.</p> + [DataMember(Name="posServerLoginEnabled", EmitDefaultValue=false)] + public bool? PosServerLoginEnabled { get; set; } + + /// + /// <p>Flag indicating, if sign on transaction should be created.</p> + /// + /// <p>Flag indicating, if sign on transaction should be created.</p> + [DataMember(Name="signOnTransactionEnabled", EmitDefaultValue=false)] + public bool? SignOnTransactionEnabled { get; set; } + + /// + /// <p>Flag indicating, if session is online</p> + /// + /// <p>Flag indicating, if session is online</p> + [DataMember(Name="online", EmitDefaultValue=false)] + public bool? Online { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionLoginRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" WorkstationAddress: ").Append(WorkstationAddress).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" LoginName: ").Append(LoginName).Append("\n"); + sb.Append(" TillId: ").Append(TillId).Append("\n"); + sb.Append(" Password: ").Append(Password).Append("\n"); + sb.Append(" OverrideData: ").Append(OverrideData).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" FinalizeControlTransactionFlag: ").Append(FinalizeControlTransactionFlag).Append("\n"); + sb.Append(" UseLoginTypeTechnicalForLoginManager: ").Append(UseLoginTypeTechnicalForLoginManager).Append("\n"); + sb.Append(" AuthorizerLoginName: ").Append(AuthorizerLoginName).Append("\n"); + sb.Append(" AuthorizerPassword: ").Append(AuthorizerPassword).Append("\n"); + sb.Append(" AdditionalSessionCriteria01: ").Append(AdditionalSessionCriteria01).Append("\n"); + sb.Append(" AdditionalSessionCriteria02: ").Append(AdditionalSessionCriteria02).Append("\n"); + sb.Append(" PosServerLoginEnabled: ").Append(PosServerLoginEnabled).Append("\n"); + sb.Append(" SignOnTransactionEnabled: ").Append(SignOnTransactionEnabled).Append("\n"); + sb.Append(" Online: ").Append(Online).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionLoginRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionLoginRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionLoginRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionLoginRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.WorkstationAddress == input.WorkstationAddress || + (this.WorkstationAddress != null && + this.WorkstationAddress.Equals(input.WorkstationAddress)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.LoginName == input.LoginName || + (this.LoginName != null && + this.LoginName.Equals(input.LoginName)) + ) && + ( + this.TillId == input.TillId || + (this.TillId != null && + this.TillId.Equals(input.TillId)) + ) && + ( + this.Password == input.Password || + (this.Password != null && + this.Password.Equals(input.Password)) + ) && + ( + this.OverrideData == input.OverrideData || + (this.OverrideData != null && + this.OverrideData.Equals(input.OverrideData)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.FinalizeControlTransactionFlag == input.FinalizeControlTransactionFlag || + (this.FinalizeControlTransactionFlag != null && + this.FinalizeControlTransactionFlag.Equals(input.FinalizeControlTransactionFlag)) + ) && + ( + this.UseLoginTypeTechnicalForLoginManager == input.UseLoginTypeTechnicalForLoginManager || + (this.UseLoginTypeTechnicalForLoginManager != null && + this.UseLoginTypeTechnicalForLoginManager.Equals(input.UseLoginTypeTechnicalForLoginManager)) + ) && + ( + this.AuthorizerLoginName == input.AuthorizerLoginName || + (this.AuthorizerLoginName != null && + this.AuthorizerLoginName.Equals(input.AuthorizerLoginName)) + ) && + ( + this.AuthorizerPassword == input.AuthorizerPassword || + (this.AuthorizerPassword != null && + this.AuthorizerPassword.Equals(input.AuthorizerPassword)) + ) && + ( + this.AdditionalSessionCriteria01 == input.AdditionalSessionCriteria01 || + (this.AdditionalSessionCriteria01 != null && + this.AdditionalSessionCriteria01.Equals(input.AdditionalSessionCriteria01)) + ) && + ( + this.AdditionalSessionCriteria02 == input.AdditionalSessionCriteria02 || + (this.AdditionalSessionCriteria02 != null && + this.AdditionalSessionCriteria02.Equals(input.AdditionalSessionCriteria02)) + ) && + ( + this.PosServerLoginEnabled == input.PosServerLoginEnabled || + (this.PosServerLoginEnabled != null && + this.PosServerLoginEnabled.Equals(input.PosServerLoginEnabled)) + ) && + ( + this.SignOnTransactionEnabled == input.SignOnTransactionEnabled || + (this.SignOnTransactionEnabled != null && + this.SignOnTransactionEnabled.Equals(input.SignOnTransactionEnabled)) + ) && + ( + this.Online == input.Online || + (this.Online != null && + this.Online.Equals(input.Online)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.WorkstationAddress != null) + hashCode = hashCode * 59 + this.WorkstationAddress.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.LoginName != null) + hashCode = hashCode * 59 + this.LoginName.GetHashCode(); + if (this.TillId != null) + hashCode = hashCode * 59 + this.TillId.GetHashCode(); + if (this.Password != null) + hashCode = hashCode * 59 + this.Password.GetHashCode(); + if (this.OverrideData != null) + hashCode = hashCode * 59 + this.OverrideData.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.FinalizeControlTransactionFlag != null) + hashCode = hashCode * 59 + this.FinalizeControlTransactionFlag.GetHashCode(); + if (this.UseLoginTypeTechnicalForLoginManager != null) + hashCode = hashCode * 59 + this.UseLoginTypeTechnicalForLoginManager.GetHashCode(); + if (this.AuthorizerLoginName != null) + hashCode = hashCode * 59 + this.AuthorizerLoginName.GetHashCode(); + if (this.AuthorizerPassword != null) + hashCode = hashCode * 59 + this.AuthorizerPassword.GetHashCode(); + if (this.AdditionalSessionCriteria01 != null) + hashCode = hashCode * 59 + this.AdditionalSessionCriteria01.GetHashCode(); + if (this.AdditionalSessionCriteria02 != null) + hashCode = hashCode * 59 + this.AdditionalSessionCriteria02.GetHashCode(); + if (this.PosServerLoginEnabled != null) + hashCode = hashCode * 59 + this.PosServerLoginEnabled.GetHashCode(); + if (this.SignOnTransactionEnabled != null) + hashCode = hashCode * 59 + this.SignOnTransactionEnabled.GetHashCode(); + if (this.Online != null) + hashCode = hashCode * 59 + this.Online.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLoginResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLoginResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..cbdfeb7df22b25c80d092ed4859ae93aadf2a530 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLoginResult.cs @@ -0,0 +1,554 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LoginResult <p>Result object for the PosSessionService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionLoginResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionLoginResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>PosSessionId : pos session id</p>. + /// <p>OperatorSO : operator</p>. + /// <p>List of String : permitted resources</p>. + /// <p>BusinessUnitDO : business unit</p>. + /// <p>BusinessUnitGroupDO : business unit group</p>. + /// <p>boolean: Flag to indicate data privacy logging is enabled (true) or not (false)</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionLoginResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), ComGkSoftwarePosApiSessionPosSessionId posSessionId = default(ComGkSoftwarePosApiSessionPosSessionId), ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO _operator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), List permittedResources = default(List), ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO businessUnit = default(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO), ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO businessUnitGroup = default(ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO), bool? dataPrivacyEnabled = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceSessionLoginResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "dataPrivacyEnabled" is required (not null) + if (dataPrivacyEnabled == null) + { + throw new InvalidDataException("dataPrivacyEnabled is a required property for ComGkSoftwarePosApiServiceSessionLoginResult and cannot be null"); + } + else + { + this.DataPrivacyEnabled = dataPrivacyEnabled; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.PosSessionId = posSessionId; + this.Operator = _operator; + this.PermittedResources = permittedResources; + this.BusinessUnit = businessUnit; + this.BusinessUnitGroup = businessUnitGroup; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>PosSessionId : pos session id</p> + /// + /// <p>PosSessionId : pos session id</p> + [DataMember(Name="posSessionId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiSessionPosSessionId PosSessionId { get; set; } + + /// + /// <p>OperatorSO : operator</p> + /// + /// <p>OperatorSO : operator</p> + [DataMember(Name="operator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO Operator { get; set; } + + /// + /// <p>List of String : permitted resources</p> + /// + /// <p>List of String : permitted resources</p> + [DataMember(Name="permittedResources", EmitDefaultValue=false)] + public List PermittedResources { get; set; } + + /// + /// <p>BusinessUnitDO : business unit</p> + /// + /// <p>BusinessUnitDO : business unit</p> + [DataMember(Name="businessUnit", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO BusinessUnit { get; set; } + + /// + /// <p>BusinessUnitGroupDO : business unit group</p> + /// + /// <p>BusinessUnitGroupDO : business unit group</p> + [DataMember(Name="businessUnitGroup", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO BusinessUnitGroup { get; set; } + + /// + /// <p>boolean: Flag to indicate data privacy logging is enabled (true) or not (false)</p> + /// + /// <p>boolean: Flag to indicate data privacy logging is enabled (true) or not (false)</p> + [DataMember(Name="dataPrivacyEnabled", EmitDefaultValue=false)] + public bool? DataPrivacyEnabled { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionLoginResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" PosSessionId: ").Append(PosSessionId).Append("\n"); + sb.Append(" Operator: ").Append(Operator).Append("\n"); + sb.Append(" PermittedResources: ").Append(PermittedResources).Append("\n"); + sb.Append(" BusinessUnit: ").Append(BusinessUnit).Append("\n"); + sb.Append(" BusinessUnitGroup: ").Append(BusinessUnitGroup).Append("\n"); + sb.Append(" DataPrivacyEnabled: ").Append(DataPrivacyEnabled).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionLoginResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionLoginResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionLoginResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionLoginResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.PosSessionId == input.PosSessionId || + (this.PosSessionId != null && + this.PosSessionId.Equals(input.PosSessionId)) + ) && + ( + this.Operator == input.Operator || + (this.Operator != null && + this.Operator.Equals(input.Operator)) + ) && + ( + this.PermittedResources == input.PermittedResources || + this.PermittedResources != null && + this.PermittedResources.SequenceEqual(input.PermittedResources) + ) && + ( + this.BusinessUnit == input.BusinessUnit || + (this.BusinessUnit != null && + this.BusinessUnit.Equals(input.BusinessUnit)) + ) && + ( + this.BusinessUnitGroup == input.BusinessUnitGroup || + (this.BusinessUnitGroup != null && + this.BusinessUnitGroup.Equals(input.BusinessUnitGroup)) + ) && + ( + this.DataPrivacyEnabled == input.DataPrivacyEnabled || + (this.DataPrivacyEnabled != null && + this.DataPrivacyEnabled.Equals(input.DataPrivacyEnabled)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.PosSessionId != null) + hashCode = hashCode * 59 + this.PosSessionId.GetHashCode(); + if (this.Operator != null) + hashCode = hashCode * 59 + this.Operator.GetHashCode(); + if (this.PermittedResources != null) + hashCode = hashCode * 59 + this.PermittedResources.GetHashCode(); + if (this.BusinessUnit != null) + hashCode = hashCode * 59 + this.BusinessUnit.GetHashCode(); + if (this.BusinessUnitGroup != null) + hashCode = hashCode * 59 + this.BusinessUnitGroup.GetHashCode(); + if (this.DataPrivacyEnabled != null) + hashCode = hashCode * 59 + this.DataPrivacyEnabled.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLogoutRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLogoutRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..50782ab2ea3f0c37666999dfc86d619829d8b0da --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLogoutRequest.cs @@ -0,0 +1,510 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LogoutRequest <p>Request object for the PosSessionService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionLogoutRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionLogoutRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>String : retail store id</p>. + /// <p>String : workstation id</p>. + /// <p>String : client version</p>. + /// <p>Encrypted password used for logout</p>. + /// <p>Indicates whether password should be validated</p> (required). + /// <p>Override data used for logout</p>. + /// posServerLogoutEnabled. + /// signOutTransactionEnabled. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionLogoutRequest(string retailStoreId = default(string), string workstationId = default(string), string clientVersion = default(string), string password = default(string), bool? validatePassword = default(bool?), ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData overrideData = default(ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData), bool? posServerLogoutEnabled = default(bool?), bool? signOutTransactionEnabled = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "validatePassword" is required (not null) + if (validatePassword == null) + { + throw new InvalidDataException("validatePassword is a required property for ComGkSoftwarePosApiServiceSessionLogoutRequest and cannot be null"); + } + else + { + this.ValidatePassword = validatePassword; + } + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.ClientVersion = clientVersion; + this.Password = password; + this.OverrideData = overrideData; + this.PosServerLogoutEnabled = posServerLogoutEnabled; + this.SignOutTransactionEnabled = signOutTransactionEnabled; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String : retail store id</p> + /// + /// <p>String : retail store id</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>String : workstation id</p> + /// + /// <p>String : workstation id</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>String : client version</p> + /// + /// <p>String : client version</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>Encrypted password used for logout</p> + /// + /// <p>Encrypted password used for logout</p> + [DataMember(Name="password", EmitDefaultValue=false)] + public string Password { get; set; } + + /// + /// <p>Indicates whether password should be validated</p> + /// + /// <p>Indicates whether password should be validated</p> + [DataMember(Name="validatePassword", EmitDefaultValue=false)] + public bool? ValidatePassword { get; set; } + + /// + /// <p>Override data used for logout</p> + /// + /// <p>Override data used for logout</p> + [DataMember(Name="overrideData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData OverrideData { get; set; } + + /// + /// Gets or Sets PosServerLogoutEnabled + /// + [DataMember(Name="posServerLogoutEnabled", EmitDefaultValue=false)] + public bool? PosServerLogoutEnabled { get; set; } + + /// + /// Gets or Sets SignOutTransactionEnabled + /// + [DataMember(Name="signOutTransactionEnabled", EmitDefaultValue=false)] + public bool? SignOutTransactionEnabled { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionLogoutRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" Password: ").Append(Password).Append("\n"); + sb.Append(" ValidatePassword: ").Append(ValidatePassword).Append("\n"); + sb.Append(" OverrideData: ").Append(OverrideData).Append("\n"); + sb.Append(" PosServerLogoutEnabled: ").Append(PosServerLogoutEnabled).Append("\n"); + sb.Append(" SignOutTransactionEnabled: ").Append(SignOutTransactionEnabled).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionLogoutRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionLogoutRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionLogoutRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionLogoutRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.Password == input.Password || + (this.Password != null && + this.Password.Equals(input.Password)) + ) && + ( + this.ValidatePassword == input.ValidatePassword || + (this.ValidatePassword != null && + this.ValidatePassword.Equals(input.ValidatePassword)) + ) && + ( + this.OverrideData == input.OverrideData || + (this.OverrideData != null && + this.OverrideData.Equals(input.OverrideData)) + ) && + ( + this.PosServerLogoutEnabled == input.PosServerLogoutEnabled || + (this.PosServerLogoutEnabled != null && + this.PosServerLogoutEnabled.Equals(input.PosServerLogoutEnabled)) + ) && + ( + this.SignOutTransactionEnabled == input.SignOutTransactionEnabled || + (this.SignOutTransactionEnabled != null && + this.SignOutTransactionEnabled.Equals(input.SignOutTransactionEnabled)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.Password != null) + hashCode = hashCode * 59 + this.Password.GetHashCode(); + if (this.ValidatePassword != null) + hashCode = hashCode * 59 + this.ValidatePassword.GetHashCode(); + if (this.OverrideData != null) + hashCode = hashCode * 59 + this.OverrideData.GetHashCode(); + if (this.PosServerLogoutEnabled != null) + hashCode = hashCode * 59 + this.PosServerLogoutEnabled.GetHashCode(); + if (this.SignOutTransactionEnabled != null) + hashCode = hashCode * 59 + this.SignOutTransactionEnabled.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLogoutResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLogoutResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..074083869a54528896af8492eaef7873f4476762 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionLogoutResult.cs @@ -0,0 +1,520 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LogoutResult <p>Result object for the PosSessionService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionLogoutResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionLogoutResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>boolean : success</p> (required). + /// <p>OperatorSO : operator</p>. + /// <p>BusinessUnitDO : business unit</p>. + /// <p>The new POS-Server login manager status token from POS-Server logout response.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionLogoutResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), bool? success = default(bool?), ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO _operator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO businessUnit = default(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO), string workstationStatusToken = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceSessionLogoutResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "success" is required (not null) + if (success == null) + { + throw new InvalidDataException("success is a required property for ComGkSoftwarePosApiServiceSessionLogoutResult and cannot be null"); + } + else + { + this.Success = success; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.Operator = _operator; + this.BusinessUnit = businessUnit; + this.WorkstationStatusToken = workstationStatusToken; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>boolean : success</p> + /// + /// <p>boolean : success</p> + [DataMember(Name="success", EmitDefaultValue=false)] + public bool? Success { get; set; } + + /// + /// <p>OperatorSO : operator</p> + /// + /// <p>OperatorSO : operator</p> + [DataMember(Name="operator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO Operator { get; set; } + + /// + /// <p>BusinessUnitDO : business unit</p> + /// + /// <p>BusinessUnitDO : business unit</p> + [DataMember(Name="businessUnit", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO BusinessUnit { get; set; } + + /// + /// <p>The new POS-Server login manager status token from POS-Server logout response.</p> + /// + /// <p>The new POS-Server login manager status token from POS-Server logout response.</p> + [DataMember(Name="workstationStatusToken", EmitDefaultValue=false)] + public string WorkstationStatusToken { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionLogoutResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" Success: ").Append(Success).Append("\n"); + sb.Append(" Operator: ").Append(Operator).Append("\n"); + sb.Append(" BusinessUnit: ").Append(BusinessUnit).Append("\n"); + sb.Append(" WorkstationStatusToken: ").Append(WorkstationStatusToken).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionLogoutResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionLogoutResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionLogoutResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionLogoutResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.Success == input.Success || + (this.Success != null && + this.Success.Equals(input.Success)) + ) && + ( + this.Operator == input.Operator || + (this.Operator != null && + this.Operator.Equals(input.Operator)) + ) && + ( + this.BusinessUnit == input.BusinessUnit || + (this.BusinessUnit != null && + this.BusinessUnit.Equals(input.BusinessUnit)) + ) && + ( + this.WorkstationStatusToken == input.WorkstationStatusToken || + (this.WorkstationStatusToken != null && + this.WorkstationStatusToken.Equals(input.WorkstationStatusToken)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.Success != null) + hashCode = hashCode * 59 + this.Success.GetHashCode(); + if (this.Operator != null) + hashCode = hashCode * 59 + this.Operator.GetHashCode(); + if (this.BusinessUnit != null) + hashCode = hashCode * 59 + this.BusinessUnit.GetHashCode(); + if (this.WorkstationStatusToken != null) + hashCode = hashCode * 59 + this.WorkstationStatusToken.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1b397c8930c4547f48efbfb48b3aac4cfd25c7da --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest.cs @@ -0,0 +1,546 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosGroupOperatorLoginRequest <p>Request object to perform a pos group operator login.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The retail store identifier.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The workstation type code.</p>. + /// <p>The client version.</p>. + /// <p>The operator login name.</p>. + /// <p>The operator password.</p>. + /// <p>A flag to indicate whether the password is required or not.</p>. + /// <p>The till identifier.</p>. + /// <p>If set the pos group operator permissions are checked against this right.</p>. + /// <p>A flag to indicate whether training mode is active or not.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest(string retailStoreId = default(string), string workstationId = default(string), string workstationTypeCode = default(string), string clientVersion = default(string), string loginName = default(string), string password = default(string), bool? passwordRequired = default(bool?), ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey tillId = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey), string requiredRight = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "trainingMode" is required (not null) + if (trainingMode == null) + { + throw new InvalidDataException("trainingMode is a required property for ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest and cannot be null"); + } + else + { + this.TrainingMode = trainingMode; + } + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.WorkstationTypeCode = workstationTypeCode; + this.ClientVersion = clientVersion; + this.LoginName = loginName; + this.Password = password; + this.PasswordRequired = passwordRequired; + this.TillId = tillId; + this.RequiredRight = requiredRight; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The workstation type code.</p> + /// + /// <p>The workstation type code.</p> + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>The operator login name.</p> + /// + /// <p>The operator login name.</p> + [DataMember(Name="loginName", EmitDefaultValue=false)] + public string LoginName { get; set; } + + /// + /// <p>The operator password.</p> + /// + /// <p>The operator password.</p> + [DataMember(Name="password", EmitDefaultValue=false)] + public string Password { get; set; } + + /// + /// <p>A flag to indicate whether the password is required or not.</p> + /// + /// <p>A flag to indicate whether the password is required or not.</p> + [DataMember(Name="passwordRequired", EmitDefaultValue=false)] + public bool? PasswordRequired { get; set; } + + /// + /// <p>The till identifier.</p> + /// + /// <p>The till identifier.</p> + [DataMember(Name="tillId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey TillId { get; set; } + + /// + /// <p>If set the pos group operator permissions are checked against this right.</p> + /// + /// <p>If set the pos group operator permissions are checked against this right.</p> + [DataMember(Name="requiredRight", EmitDefaultValue=false)] + public string RequiredRight { get; set; } + + /// + /// <p>A flag to indicate whether training mode is active or not.</p> + /// + /// <p>A flag to indicate whether training mode is active or not.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" LoginName: ").Append(LoginName).Append("\n"); + sb.Append(" Password: ").Append(Password).Append("\n"); + sb.Append(" PasswordRequired: ").Append(PasswordRequired).Append("\n"); + sb.Append(" TillId: ").Append(TillId).Append("\n"); + sb.Append(" RequiredRight: ").Append(RequiredRight).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.LoginName == input.LoginName || + (this.LoginName != null && + this.LoginName.Equals(input.LoginName)) + ) && + ( + this.Password == input.Password || + (this.Password != null && + this.Password.Equals(input.Password)) + ) && + ( + this.PasswordRequired == input.PasswordRequired || + (this.PasswordRequired != null && + this.PasswordRequired.Equals(input.PasswordRequired)) + ) && + ( + this.TillId == input.TillId || + (this.TillId != null && + this.TillId.Equals(input.TillId)) + ) && + ( + this.RequiredRight == input.RequiredRight || + (this.RequiredRight != null && + this.RequiredRight.Equals(input.RequiredRight)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.LoginName != null) + hashCode = hashCode * 59 + this.LoginName.GetHashCode(); + if (this.Password != null) + hashCode = hashCode * 59 + this.Password.GetHashCode(); + if (this.PasswordRequired != null) + hashCode = hashCode * 59 + this.PasswordRequired.GetHashCode(); + if (this.TillId != null) + hashCode = hashCode * 59 + this.TillId.GetHashCode(); + if (this.RequiredRight != null) + hashCode = hashCode * 59 + this.RequiredRight.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..958d29a5e4c45139e394d716295f4716d38af081 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosGroupOperatorLoginResult <p>Result object for a pos group operator login.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The new created pos session identifier.</p>. + /// <p>The resolved operator.</p>. + /// <p>A list of permitted resources for the operator.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult(ComGkSoftwarePosApiSessionPosSessionId posSessionId = default(ComGkSoftwarePosApiSessionPosSessionId), ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO _operator = default(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO), List permittedResources = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PosSessionId = posSessionId; + this.Operator = _operator; + this.PermittedResources = permittedResources; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The new created pos session identifier.</p> + /// + /// <p>The new created pos session identifier.</p> + [DataMember(Name="posSessionId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiSessionPosSessionId PosSessionId { get; set; } + + /// + /// <p>The resolved operator.</p> + /// + /// <p>The resolved operator.</p> + [DataMember(Name="operator", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO Operator { get; set; } + + /// + /// <p>A list of permitted resources for the operator.</p> + /// + /// <p>A list of permitted resources for the operator.</p> + [DataMember(Name="permittedResources", EmitDefaultValue=false)] + public List PermittedResources { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult {\n"); + sb.Append(" PosSessionId: ").Append(PosSessionId).Append("\n"); + sb.Append(" Operator: ").Append(Operator).Append("\n"); + sb.Append(" PermittedResources: ").Append(PermittedResources).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult input) + { + if (input == null) + return false; + + return + ( + this.PosSessionId == input.PosSessionId || + (this.PosSessionId != null && + this.PosSessionId.Equals(input.PosSessionId)) + ) && + ( + this.Operator == input.Operator || + (this.Operator != null && + this.Operator.Equals(input.Operator)) + ) && + ( + this.PermittedResources == input.PermittedResources || + this.PermittedResources != null && + this.PermittedResources.SequenceEqual(input.PermittedResources) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosSessionId != null) + hashCode = hashCode * 59 + this.PosSessionId.GetHashCode(); + if (this.Operator != null) + hashCode = hashCode * 59 + this.Operator.GetHashCode(); + if (this.PermittedResources != null) + hashCode = hashCode * 59 + this.PermittedResources.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5ab3a62958e05cfdbde6eac3f60115d5ad4bca22 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosGroupOperatorLogoutRequest <p>Request object to perform a pos group operator logout.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The pos session identifier.</p>. + /// <p>A flag to indicate whether the pos group operator to logout is currently activated (true) or deactivated (false) at the POS.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest(ComGkSoftwarePosApiSessionPosSessionId posSessionId = default(ComGkSoftwarePosApiSessionPosSessionId), bool? posGroupOperatorActive = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "posGroupOperatorActive" is required (not null) + if (posGroupOperatorActive == null) + { + throw new InvalidDataException("posGroupOperatorActive is a required property for ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest and cannot be null"); + } + else + { + this.PosGroupOperatorActive = posGroupOperatorActive; + } + this.PosSessionId = posSessionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The pos session identifier.</p> + /// + /// <p>The pos session identifier.</p> + [DataMember(Name="posSessionId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiSessionPosSessionId PosSessionId { get; set; } + + /// + /// <p>A flag to indicate whether the pos group operator to logout is currently activated (true) or deactivated (false) at the POS.</p> + /// + /// <p>A flag to indicate whether the pos group operator to logout is currently activated (true) or deactivated (false) at the POS.</p> + [DataMember(Name="posGroupOperatorActive", EmitDefaultValue=false)] + public bool? PosGroupOperatorActive { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest {\n"); + sb.Append(" PosSessionId: ").Append(PosSessionId).Append("\n"); + sb.Append(" PosGroupOperatorActive: ").Append(PosGroupOperatorActive).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest input) + { + if (input == null) + return false; + + return + ( + this.PosSessionId == input.PosSessionId || + (this.PosSessionId != null && + this.PosSessionId.Equals(input.PosSessionId)) + ) && + ( + this.PosGroupOperatorActive == input.PosGroupOperatorActive || + (this.PosGroupOperatorActive != null && + this.PosGroupOperatorActive.Equals(input.PosGroupOperatorActive)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosSessionId != null) + hashCode = hashCode * 59 + this.PosSessionId.GetHashCode(); + if (this.PosGroupOperatorActive != null) + hashCode = hashCode * 59 + this.PosGroupOperatorActive.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..0ab7e34e0e9de5d0dc95adbe68b173979ebdef6b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosGroupOperatorLogoutResult <p>Result object for a pos group operator logout.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..418485d7c980ff2595b99795eaaacf518d44110b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosGroupUnfinishedTransactionCleanUpResponse <p>Response object for a clean up of unfinished transactions.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse : IEquatable, IValidatableObject + { + /// + /// <p>The status.</p> + /// + /// <p>The status.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusEnum + { + + /// + /// Enum DeactivateRequired for value: DeactivateRequired + /// + [EnumMember(Value = "DeactivateRequired")] + DeactivateRequired = 1, + + /// + /// Enum Finished for value: Finished + /// + [EnumMember(Value = "Finished")] + Finished = 2 + } + + /// + /// <p>The status.</p> + /// + /// <p>The status.</p> + [DataMember(Name="status", EmitDefaultValue=false)] + public StatusEnum Status { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The status.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse(StatusEnum status = default(StatusEnum), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "status" is required (not null) + if (status == null) + { + throw new InvalidDataException("status is a required property for ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse and cannot be null"); + } + else + { + this.Status = status; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse {\n"); + sb.Append(" Status: ").Append(Status).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse input) + { + if (input == null) + return false; + + return + ( + this.Status == input.Status || + (this.Status != null && + this.Status.Equals(input.Status)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Status != null) + hashCode = hashCode * 59 + this.Status.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..0f2578af978ca5cba50f45421c1afe5e207d99b3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SyncPosGroupSessionResult <p>Result object for a synchronization of pos sessions within the pos group.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionRemoveSessionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionRemoveSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6a5b0d0b7727420f4139f7bd476e1009fd3e7cc9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionRemoveSessionRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RemoveSessionRequest <p>Result object for the PosSessionService for remove session operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionRemoveSessionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionRemoveSessionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PosSessionId : the pos session id</p> (required). + /// <p>String : indicates that the SessionHolder should be cleared.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionRemoveSessionRequest(ComGkSoftwarePosApiSessionPosSessionId posSessionId = default(ComGkSoftwarePosApiSessionPosSessionId), bool? clearSessionHolder = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "posSessionId" is required (not null) + if (posSessionId == null) + { + throw new InvalidDataException("posSessionId is a required property for ComGkSoftwarePosApiServiceSessionRemoveSessionRequest and cannot be null"); + } + else + { + this.PosSessionId = posSessionId; + } + this.ClearSessionHolder = clearSessionHolder; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PosSessionId : the pos session id</p> + /// + /// <p>PosSessionId : the pos session id</p> + [DataMember(Name="posSessionId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiSessionPosSessionId PosSessionId { get; set; } + + /// + /// <p>String : indicates that the SessionHolder should be cleared.</p> + /// + /// <p>String : indicates that the SessionHolder should be cleared.</p> + [DataMember(Name="clearSessionHolder", EmitDefaultValue=false)] + public bool? ClearSessionHolder { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionRemoveSessionRequest {\n"); + sb.Append(" PosSessionId: ").Append(PosSessionId).Append("\n"); + sb.Append(" ClearSessionHolder: ").Append(ClearSessionHolder).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionRemoveSessionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionRemoveSessionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionRemoveSessionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionRemoveSessionRequest input) + { + if (input == null) + return false; + + return + ( + this.PosSessionId == input.PosSessionId || + (this.PosSessionId != null && + this.PosSessionId.Equals(input.PosSessionId)) + ) && + ( + this.ClearSessionHolder == input.ClearSessionHolder || + (this.ClearSessionHolder != null && + this.ClearSessionHolder.Equals(input.ClearSessionHolder)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosSessionId != null) + hashCode = hashCode * 59 + this.PosSessionId.GetHashCode(); + if (this.ClearSessionHolder != null) + hashCode = hashCode * 59 + this.ClearSessionHolder.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionSwitchUserResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionSwitchUserResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..72049aead58f2518a1b2ceaea0a08d0d8aa7670b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionSwitchUserResult.cs @@ -0,0 +1,494 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SwitchUserResult <p>Result object for the PosSessionService for switch user operations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionSwitchUserResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceSessionSwitchUserResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>LoginResult : login result</p>. + /// <p>LogoutResult : logout result</p>. + /// authenticationResult. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionSwitchUserResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), ComGkSoftwarePosApiServiceSessionLoginResult loginResult = default(ComGkSoftwarePosApiServiceSessionLoginResult), ComGkSoftwarePosApiServiceSessionLogoutResult logoutResult = default(ComGkSoftwarePosApiServiceSessionLogoutResult), ComGkSoftwarePosApiServiceSecurityAuthenticationResult authenticationResult = default(ComGkSoftwarePosApiServiceSecurityAuthenticationResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceSessionSwitchUserResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.LoginResult = loginResult; + this.LogoutResult = logoutResult; + this.AuthenticationResult = authenticationResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>LoginResult : login result</p> + /// + /// <p>LoginResult : login result</p> + [DataMember(Name="loginResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSessionLoginResult LoginResult { get; set; } + + /// + /// <p>LogoutResult : logout result</p> + /// + /// <p>LogoutResult : logout result</p> + [DataMember(Name="logoutResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSessionLogoutResult LogoutResult { get; set; } + + /// + /// Gets or Sets AuthenticationResult + /// + [DataMember(Name="authenticationResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSecurityAuthenticationResult AuthenticationResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionSwitchUserResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" LoginResult: ").Append(LoginResult).Append("\n"); + sb.Append(" LogoutResult: ").Append(LogoutResult).Append("\n"); + sb.Append(" AuthenticationResult: ").Append(AuthenticationResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionSwitchUserResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionSwitchUserResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionSwitchUserResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionSwitchUserResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.LoginResult == input.LoginResult || + (this.LoginResult != null && + this.LoginResult.Equals(input.LoginResult)) + ) && + ( + this.LogoutResult == input.LogoutResult || + (this.LogoutResult != null && + this.LogoutResult.Equals(input.LogoutResult)) + ) && + ( + this.AuthenticationResult == input.AuthenticationResult || + (this.AuthenticationResult != null && + this.AuthenticationResult.Equals(input.AuthenticationResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.LoginResult != null) + hashCode = hashCode * 59 + this.LoginResult.GetHashCode(); + if (this.LogoutResult != null) + hashCode = hashCode * 59 + this.LogoutResult.GetHashCode(); + if (this.AuthenticationResult != null) + hashCode = hashCode * 59 + this.AuthenticationResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionUnlockSessionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionUnlockSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..022e073755b0fe5ed646fa0601585f62e01968f4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSessionUnlockSessionRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UnlockSessionRequest <p>Request for workstation unlock.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSessionUnlockSessionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Transaction resource override data used during unlock.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSessionUnlockSessionRequest(ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData transactionResourceOverrideData = default(ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionResourceOverrideData = transactionResourceOverrideData; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Transaction resource override data used during unlock.</p> + /// + /// <p>Transaction resource override data used during unlock.</p> + [DataMember(Name="transactionResourceOverrideData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData TransactionResourceOverrideData { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSessionUnlockSessionRequest {\n"); + sb.Append(" TransactionResourceOverrideData: ").Append(TransactionResourceOverrideData).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSessionUnlockSessionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSessionUnlockSessionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSessionUnlockSessionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSessionUnlockSessionRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionResourceOverrideData == input.TransactionResourceOverrideData || + (this.TransactionResourceOverrideData != null && + this.TransactionResourceOverrideData.Equals(input.TransactionResourceOverrideData)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionResourceOverrideData != null) + hashCode = hashCode * 59 + this.TransactionResourceOverrideData.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..90a4122aeda3e9233cab4fc9c66076ad74d0de38 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckAvailabilityAndCleanupRequest <p>Request object for the checking service availability and cleaning up sessions and transactions on an active service instance.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The store identifier (business unit id).</p>. + /// <p>The workstation id.</p>. + /// <p>The client application version.</p>. + /// <p>The main transaction currently in client transaction context.</p>. + /// <p>Complete last finalized transaction object.</p>. + /// <p>Complete last finalized retail transaction object.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest(string retailStoreId = default(string), string workstationId = default(string), string clientVersion = default(string), ComGkSoftwareGkrApiTxpoolDtoTransaction mainTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedRetailTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.ClientVersion = clientVersion; + this.MainTransaction = mainTransaction; + this.LastFinalizedTransaction = lastFinalizedTransaction; + this.LastFinalizedRetailTransaction = lastFinalizedRetailTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The store identifier (business unit id).</p> + /// + /// <p>The store identifier (business unit id).</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The client application version.</p> + /// + /// <p>The client application version.</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>The main transaction currently in client transaction context.</p> + /// + /// <p>The main transaction currently in client transaction context.</p> + [DataMember(Name="mainTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction MainTransaction { get; set; } + + /// + /// <p>Complete last finalized transaction object.</p> + /// + /// <p>Complete last finalized transaction object.</p> + [DataMember(Name="lastFinalizedTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction LastFinalizedTransaction { get; set; } + + /// + /// <p>Complete last finalized retail transaction object.</p> + /// + /// <p>Complete last finalized retail transaction object.</p> + [DataMember(Name="lastFinalizedRetailTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction LastFinalizedRetailTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" MainTransaction: ").Append(MainTransaction).Append("\n"); + sb.Append(" LastFinalizedTransaction: ").Append(LastFinalizedTransaction).Append("\n"); + sb.Append(" LastFinalizedRetailTransaction: ").Append(LastFinalizedRetailTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.MainTransaction == input.MainTransaction || + (this.MainTransaction != null && + this.MainTransaction.Equals(input.MainTransaction)) + ) && + ( + this.LastFinalizedTransaction == input.LastFinalizedTransaction || + (this.LastFinalizedTransaction != null && + this.LastFinalizedTransaction.Equals(input.LastFinalizedTransaction)) + ) && + ( + this.LastFinalizedRetailTransaction == input.LastFinalizedRetailTransaction || + (this.LastFinalizedRetailTransaction != null && + this.LastFinalizedRetailTransaction.Equals(input.LastFinalizedRetailTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.MainTransaction != null) + hashCode = hashCode * 59 + this.MainTransaction.GetHashCode(); + if (this.LastFinalizedTransaction != null) + hashCode = hashCode * 59 + this.LastFinalizedTransaction.GetHashCode(); + if (this.LastFinalizedRetailTransaction != null) + hashCode = hashCode * 59 + this.LastFinalizedRetailTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..e801daaa53ad409485cb116f18a91cca24bd361d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent.cs @@ -0,0 +1,482 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MDReplicationEndEvent <p>Event object for master data replication end.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The store id (business unit id).</p>. + /// <p>Indicates if process ended without failure.</p>. + /// <p>Indicates if new pump was downloaded, data transfered to database and databases were switched.</p>. + /// <p>Indicates whether new transport objects were saved during master data replication.</p>. + /// <p>Id of last changed entity during master data replication.</p>. + /// <p>Message key of failure cause.</p>. + /// <p>Localized message of failure cause.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent(string storeNumber = default(string), bool? success = default(bool?), bool? newPumpUsed = default(bool?), bool? newTransportObjectsSaved = default(bool?), string lastChangedEntityId = default(string), string failKey = default(string), string failCause = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.StoreNumber = storeNumber; + this.Success = success; + this.NewPumpUsed = newPumpUsed; + this.NewTransportObjectsSaved = newTransportObjectsSaved; + this.LastChangedEntityId = lastChangedEntityId; + this.FailKey = failKey; + this.FailCause = failCause; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The store id (business unit id).</p> + /// + /// <p>The store id (business unit id).</p> + [DataMember(Name="storeNumber", EmitDefaultValue=false)] + public string StoreNumber { get; set; } + + /// + /// <p>Indicates if process ended without failure.</p> + /// + /// <p>Indicates if process ended without failure.</p> + [DataMember(Name="success", EmitDefaultValue=false)] + public bool? Success { get; set; } + + /// + /// <p>Indicates if new pump was downloaded, data transfered to database and databases were switched.</p> + /// + /// <p>Indicates if new pump was downloaded, data transfered to database and databases were switched.</p> + [DataMember(Name="newPumpUsed", EmitDefaultValue=false)] + public bool? NewPumpUsed { get; set; } + + /// + /// <p>Indicates whether new transport objects were saved during master data replication.</p> + /// + /// <p>Indicates whether new transport objects were saved during master data replication.</p> + [DataMember(Name="newTransportObjectsSaved", EmitDefaultValue=false)] + public bool? NewTransportObjectsSaved { get; set; } + + /// + /// <p>Id of last changed entity during master data replication.</p> + /// + /// <p>Id of last changed entity during master data replication.</p> + [DataMember(Name="lastChangedEntityId", EmitDefaultValue=false)] + public string LastChangedEntityId { get; set; } + + /// + /// <p>Message key of failure cause.</p> + /// + /// <p>Message key of failure cause.</p> + [DataMember(Name="failKey", EmitDefaultValue=false)] + public string FailKey { get; set; } + + /// + /// <p>Localized message of failure cause.</p> + /// + /// <p>Localized message of failure cause.</p> + [DataMember(Name="failCause", EmitDefaultValue=false)] + public string FailCause { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent {\n"); + sb.Append(" StoreNumber: ").Append(StoreNumber).Append("\n"); + sb.Append(" Success: ").Append(Success).Append("\n"); + sb.Append(" NewPumpUsed: ").Append(NewPumpUsed).Append("\n"); + sb.Append(" NewTransportObjectsSaved: ").Append(NewTransportObjectsSaved).Append("\n"); + sb.Append(" LastChangedEntityId: ").Append(LastChangedEntityId).Append("\n"); + sb.Append(" FailKey: ").Append(FailKey).Append("\n"); + sb.Append(" FailCause: ").Append(FailCause).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent input) + { + if (input == null) + return false; + + return + ( + this.StoreNumber == input.StoreNumber || + (this.StoreNumber != null && + this.StoreNumber.Equals(input.StoreNumber)) + ) && + ( + this.Success == input.Success || + (this.Success != null && + this.Success.Equals(input.Success)) + ) && + ( + this.NewPumpUsed == input.NewPumpUsed || + (this.NewPumpUsed != null && + this.NewPumpUsed.Equals(input.NewPumpUsed)) + ) && + ( + this.NewTransportObjectsSaved == input.NewTransportObjectsSaved || + (this.NewTransportObjectsSaved != null && + this.NewTransportObjectsSaved.Equals(input.NewTransportObjectsSaved)) + ) && + ( + this.LastChangedEntityId == input.LastChangedEntityId || + (this.LastChangedEntityId != null && + this.LastChangedEntityId.Equals(input.LastChangedEntityId)) + ) && + ( + this.FailKey == input.FailKey || + (this.FailKey != null && + this.FailKey.Equals(input.FailKey)) + ) && + ( + this.FailCause == input.FailCause || + (this.FailCause != null && + this.FailCause.Equals(input.FailCause)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StoreNumber != null) + hashCode = hashCode * 59 + this.StoreNumber.GetHashCode(); + if (this.Success != null) + hashCode = hashCode * 59 + this.Success.GetHashCode(); + if (this.NewPumpUsed != null) + hashCode = hashCode * 59 + this.NewPumpUsed.GetHashCode(); + if (this.NewTransportObjectsSaved != null) + hashCode = hashCode * 59 + this.NewTransportObjectsSaved.GetHashCode(); + if (this.LastChangedEntityId != null) + hashCode = hashCode * 59 + this.LastChangedEntityId.GetHashCode(); + if (this.FailKey != null) + hashCode = hashCode * 59 + this.FailKey.GetHashCode(); + if (this.FailCause != null) + hashCode = hashCode * 59 + this.FailCause.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..9aae9fa94d4e822295438756a12443b961b79c16 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent.cs @@ -0,0 +1,533 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MDReplicationProgressEvent <p>Event object for master data replication progress.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The event id.</p>. + /// <p>The retail store id.</p>. + /// <p>The retail store id.</p>. + /// <p>Returns current step (or count for count event) of action. Exact meaning of step may be different for different actions.</p>. + /// <p>Returns steps count of action. Exact meaning of step may be different for different actions.</p>. + /// <p>Translates progress to interval &lt;0, 1&gt; Values &lt; 0 and &gt; 1 indicates that this is before/after. For count event 1.0 is always returned.</p>. + /// <p>Indicates if this is event called before the action started.</p>. + /// <p>Indicates if this is event called after the action was completed.</p>. + /// <p>Indicates that this event is progress event</p>. + /// <p>Indicates that this event is count event (similar to progress, but with unknown stepsCount)</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent(string eventId = default(string), string type = default(string), string storeNumber = default(string), string currentStep = default(string), string stepsCount = default(string), double? progress = default(double?), bool? beforeEvent = default(bool?), bool? afterEvent = default(bool?), bool? progressEvent = default(bool?), bool? countEvent = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.EventId = eventId; + this.Type = type; + this.StoreNumber = storeNumber; + this.CurrentStep = currentStep; + this.StepsCount = stepsCount; + this.Progress = progress; + this.BeforeEvent = beforeEvent; + this.AfterEvent = afterEvent; + this.ProgressEvent = progressEvent; + this.CountEvent = countEvent; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The event id.</p> + /// + /// <p>The event id.</p> + [DataMember(Name="eventId", EmitDefaultValue=false)] + public string EventId { get; set; } + + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + [DataMember(Name="type", EmitDefaultValue=false)] + public string Type { get; set; } + + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + [DataMember(Name="storeNumber", EmitDefaultValue=false)] + public string StoreNumber { get; set; } + + /// + /// <p>Returns current step (or count for count event) of action. Exact meaning of step may be different for different actions.</p> + /// + /// <p>Returns current step (or count for count event) of action. Exact meaning of step may be different for different actions.</p> + [DataMember(Name="currentStep", EmitDefaultValue=false)] + public string CurrentStep { get; set; } + + /// + /// <p>Returns steps count of action. Exact meaning of step may be different for different actions.</p> + /// + /// <p>Returns steps count of action. Exact meaning of step may be different for different actions.</p> + [DataMember(Name="stepsCount", EmitDefaultValue=false)] + public string StepsCount { get; set; } + + /// + /// <p>Translates progress to interval &lt;0, 1&gt; Values &lt; 0 and &gt; 1 indicates that this is before/after. For count event 1.0 is always returned.</p> + /// + /// <p>Translates progress to interval &lt;0, 1&gt; Values &lt; 0 and &gt; 1 indicates that this is before/after. For count event 1.0 is always returned.</p> + [DataMember(Name="progress", EmitDefaultValue=false)] + public double? Progress { get; set; } + + /// + /// <p>Indicates if this is event called before the action started.</p> + /// + /// <p>Indicates if this is event called before the action started.</p> + [DataMember(Name="beforeEvent", EmitDefaultValue=false)] + public bool? BeforeEvent { get; set; } + + /// + /// <p>Indicates if this is event called after the action was completed.</p> + /// + /// <p>Indicates if this is event called after the action was completed.</p> + [DataMember(Name="afterEvent", EmitDefaultValue=false)] + public bool? AfterEvent { get; set; } + + /// + /// <p>Indicates that this event is progress event</p> + /// + /// <p>Indicates that this event is progress event</p> + [DataMember(Name="progressEvent", EmitDefaultValue=false)] + public bool? ProgressEvent { get; set; } + + /// + /// <p>Indicates that this event is count event (similar to progress, but with unknown stepsCount)</p> + /// + /// <p>Indicates that this event is count event (similar to progress, but with unknown stepsCount)</p> + [DataMember(Name="countEvent", EmitDefaultValue=false)] + public bool? CountEvent { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent {\n"); + sb.Append(" EventId: ").Append(EventId).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" StoreNumber: ").Append(StoreNumber).Append("\n"); + sb.Append(" CurrentStep: ").Append(CurrentStep).Append("\n"); + sb.Append(" StepsCount: ").Append(StepsCount).Append("\n"); + sb.Append(" Progress: ").Append(Progress).Append("\n"); + sb.Append(" BeforeEvent: ").Append(BeforeEvent).Append("\n"); + sb.Append(" AfterEvent: ").Append(AfterEvent).Append("\n"); + sb.Append(" ProgressEvent: ").Append(ProgressEvent).Append("\n"); + sb.Append(" CountEvent: ").Append(CountEvent).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent input) + { + if (input == null) + return false; + + return + ( + this.EventId == input.EventId || + (this.EventId != null && + this.EventId.Equals(input.EventId)) + ) && + ( + this.Type == input.Type || + (this.Type != null && + this.Type.Equals(input.Type)) + ) && + ( + this.StoreNumber == input.StoreNumber || + (this.StoreNumber != null && + this.StoreNumber.Equals(input.StoreNumber)) + ) && + ( + this.CurrentStep == input.CurrentStep || + (this.CurrentStep != null && + this.CurrentStep.Equals(input.CurrentStep)) + ) && + ( + this.StepsCount == input.StepsCount || + (this.StepsCount != null && + this.StepsCount.Equals(input.StepsCount)) + ) && + ( + this.Progress == input.Progress || + (this.Progress != null && + this.Progress.Equals(input.Progress)) + ) && + ( + this.BeforeEvent == input.BeforeEvent || + (this.BeforeEvent != null && + this.BeforeEvent.Equals(input.BeforeEvent)) + ) && + ( + this.AfterEvent == input.AfterEvent || + (this.AfterEvent != null && + this.AfterEvent.Equals(input.AfterEvent)) + ) && + ( + this.ProgressEvent == input.ProgressEvent || + (this.ProgressEvent != null && + this.ProgressEvent.Equals(input.ProgressEvent)) + ) && + ( + this.CountEvent == input.CountEvent || + (this.CountEvent != null && + this.CountEvent.Equals(input.CountEvent)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.EventId != null) + hashCode = hashCode * 59 + this.EventId.GetHashCode(); + if (this.Type != null) + hashCode = hashCode * 59 + this.Type.GetHashCode(); + if (this.StoreNumber != null) + hashCode = hashCode * 59 + this.StoreNumber.GetHashCode(); + if (this.CurrentStep != null) + hashCode = hashCode * 59 + this.CurrentStep.GetHashCode(); + if (this.StepsCount != null) + hashCode = hashCode * 59 + this.StepsCount.GetHashCode(); + if (this.Progress != null) + hashCode = hashCode * 59 + this.Progress.GetHashCode(); + if (this.BeforeEvent != null) + hashCode = hashCode * 59 + this.BeforeEvent.GetHashCode(); + if (this.AfterEvent != null) + hashCode = hashCode * 59 + this.AfterEvent.GetHashCode(); + if (this.ProgressEvent != null) + hashCode = hashCode * 59 + this.ProgressEvent.GetHashCode(); + if (this.CountEvent != null) + hashCode = hashCode * 59 + this.CountEvent.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..27fcb97f2193353acd029a08555efeee3b99feba --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest.cs @@ -0,0 +1,584 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TakeOverSessionRequest <p>Request object for session take over during a service switch due to communication failure on other existing service instances.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The operator login id.</p>. + /// <p>The store identifier (business unit id).</p>. + /// <p>The workstation id.</p>. + /// <p>The client application version.</p>. + /// <p>The till identifier.</p>. + /// <p>The main transaction currently in client transaction context.</p>. + /// <p>Scoped transactions currently present in client transaction context.</p>. + /// <p>The transaction id of the active transaction in client transaction context.</p>. + /// <p>Complete last finalized transaction object.</p>. + /// <p>Complete last finalized retail transaction object.</p>. + /// <p>The current pos session data in the client administration context.</p>. + /// <p>The current language settings in the client administration context.</p>. + /// <p>If true, the session take over will be enforced without further checks.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest(string operatorId = default(string), string retailStoreId = default(string), string workstationId = default(string), string clientVersion = default(string), ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey tillId = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey), ComGkSoftwareGkrApiTxpoolDtoTransaction mainTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), Dictionary scopedTransactions = default(Dictionary), string activatedTransactionId = default(string), ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedRetailTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), ComGkSoftwarePosApiSessionPosSessionData posSessionData = default(ComGkSoftwarePosApiSessionPosSessionData), ComGkSoftwarePosApiServiceSessionLanguageSettings languageSettings = default(ComGkSoftwarePosApiServiceSessionLanguageSettings), bool? enforceTakeOver = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OperatorId = operatorId; + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.ClientVersion = clientVersion; + this.TillId = tillId; + this.MainTransaction = mainTransaction; + this.ScopedTransactions = scopedTransactions; + this.ActivatedTransactionId = activatedTransactionId; + this.LastFinalizedTransaction = lastFinalizedTransaction; + this.LastFinalizedRetailTransaction = lastFinalizedRetailTransaction; + this.PosSessionData = posSessionData; + this.LanguageSettings = languageSettings; + this.EnforceTakeOver = enforceTakeOver; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operator login id.</p> + /// + /// <p>The operator login id.</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>The store identifier (business unit id).</p> + /// + /// <p>The store identifier (business unit id).</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The client application version.</p> + /// + /// <p>The client application version.</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>The till identifier.</p> + /// + /// <p>The till identifier.</p> + [DataMember(Name="tillId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey TillId { get; set; } + + /// + /// <p>The main transaction currently in client transaction context.</p> + /// + /// <p>The main transaction currently in client transaction context.</p> + [DataMember(Name="mainTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction MainTransaction { get; set; } + + /// + /// <p>Scoped transactions currently present in client transaction context.</p> + /// + /// <p>Scoped transactions currently present in client transaction context.</p> + [DataMember(Name="scopedTransactions", EmitDefaultValue=false)] + public Dictionary ScopedTransactions { get; set; } + + /// + /// <p>The transaction id of the active transaction in client transaction context.</p> + /// + /// <p>The transaction id of the active transaction in client transaction context.</p> + [DataMember(Name="activatedTransactionId", EmitDefaultValue=false)] + public string ActivatedTransactionId { get; set; } + + /// + /// <p>Complete last finalized transaction object.</p> + /// + /// <p>Complete last finalized transaction object.</p> + [DataMember(Name="lastFinalizedTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction LastFinalizedTransaction { get; set; } + + /// + /// <p>Complete last finalized retail transaction object.</p> + /// + /// <p>Complete last finalized retail transaction object.</p> + [DataMember(Name="lastFinalizedRetailTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction LastFinalizedRetailTransaction { get; set; } + + /// + /// <p>The current pos session data in the client administration context.</p> + /// + /// <p>The current pos session data in the client administration context.</p> + [DataMember(Name="posSessionData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiSessionPosSessionData PosSessionData { get; set; } + + /// + /// <p>The current language settings in the client administration context.</p> + /// + /// <p>The current language settings in the client administration context.</p> + [DataMember(Name="languageSettings", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceSessionLanguageSettings LanguageSettings { get; set; } + + /// + /// <p>If true, the session take over will be enforced without further checks.</p> + /// + /// <p>If true, the session take over will be enforced without further checks.</p> + [DataMember(Name="enforceTakeOver", EmitDefaultValue=false)] + public bool? EnforceTakeOver { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest {\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" TillId: ").Append(TillId).Append("\n"); + sb.Append(" MainTransaction: ").Append(MainTransaction).Append("\n"); + sb.Append(" ScopedTransactions: ").Append(ScopedTransactions).Append("\n"); + sb.Append(" ActivatedTransactionId: ").Append(ActivatedTransactionId).Append("\n"); + sb.Append(" LastFinalizedTransaction: ").Append(LastFinalizedTransaction).Append("\n"); + sb.Append(" LastFinalizedRetailTransaction: ").Append(LastFinalizedRetailTransaction).Append("\n"); + sb.Append(" PosSessionData: ").Append(PosSessionData).Append("\n"); + sb.Append(" LanguageSettings: ").Append(LanguageSettings).Append("\n"); + sb.Append(" EnforceTakeOver: ").Append(EnforceTakeOver).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest input) + { + if (input == null) + return false; + + return + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.TillId == input.TillId || + (this.TillId != null && + this.TillId.Equals(input.TillId)) + ) && + ( + this.MainTransaction == input.MainTransaction || + (this.MainTransaction != null && + this.MainTransaction.Equals(input.MainTransaction)) + ) && + ( + this.ScopedTransactions == input.ScopedTransactions || + this.ScopedTransactions != null && + this.ScopedTransactions.SequenceEqual(input.ScopedTransactions) + ) && + ( + this.ActivatedTransactionId == input.ActivatedTransactionId || + (this.ActivatedTransactionId != null && + this.ActivatedTransactionId.Equals(input.ActivatedTransactionId)) + ) && + ( + this.LastFinalizedTransaction == input.LastFinalizedTransaction || + (this.LastFinalizedTransaction != null && + this.LastFinalizedTransaction.Equals(input.LastFinalizedTransaction)) + ) && + ( + this.LastFinalizedRetailTransaction == input.LastFinalizedRetailTransaction || + (this.LastFinalizedRetailTransaction != null && + this.LastFinalizedRetailTransaction.Equals(input.LastFinalizedRetailTransaction)) + ) && + ( + this.PosSessionData == input.PosSessionData || + (this.PosSessionData != null && + this.PosSessionData.Equals(input.PosSessionData)) + ) && + ( + this.LanguageSettings == input.LanguageSettings || + (this.LanguageSettings != null && + this.LanguageSettings.Equals(input.LanguageSettings)) + ) && + ( + this.EnforceTakeOver == input.EnforceTakeOver || + (this.EnforceTakeOver != null && + this.EnforceTakeOver.Equals(input.EnforceTakeOver)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.TillId != null) + hashCode = hashCode * 59 + this.TillId.GetHashCode(); + if (this.MainTransaction != null) + hashCode = hashCode * 59 + this.MainTransaction.GetHashCode(); + if (this.ScopedTransactions != null) + hashCode = hashCode * 59 + this.ScopedTransactions.GetHashCode(); + if (this.ActivatedTransactionId != null) + hashCode = hashCode * 59 + this.ActivatedTransactionId.GetHashCode(); + if (this.LastFinalizedTransaction != null) + hashCode = hashCode * 59 + this.LastFinalizedTransaction.GetHashCode(); + if (this.LastFinalizedRetailTransaction != null) + hashCode = hashCode * 59 + this.LastFinalizedRetailTransaction.GetHashCode(); + if (this.PosSessionData != null) + hashCode = hashCode * 59 + this.PosSessionData.GetHashCode(); + if (this.LanguageSettings != null) + hashCode = hashCode * 59 + this.LanguageSettings.GetHashCode(); + if (this.EnforceTakeOver != null) + hashCode = hashCode * 59 + this.EnforceTakeOver.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStockStockServiceRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStockStockServiceRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d3e892bed1c2402be9957b6992943e0fefd39ff --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStockStockServiceRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StockServiceRequest <p>Request object for stock service.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceStockStockServiceRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Item identifiers for stock information request.</p>. + /// <p>Store identifiers requesting the stock information.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceStockStockServiceRequest(List itemIds = default(List), List storeIds = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ItemIds = itemIds; + this.StoreIds = storeIds; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Item identifiers for stock information request.</p> + /// + /// <p>Item identifiers for stock information request.</p> + [DataMember(Name="itemIds", EmitDefaultValue=false)] + public List ItemIds { get; set; } + + /// + /// <p>Store identifiers requesting the stock information.</p> + /// + /// <p>Store identifiers requesting the stock information.</p> + [DataMember(Name="storeIds", EmitDefaultValue=false)] + public List StoreIds { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceStockStockServiceRequest {\n"); + sb.Append(" ItemIds: ").Append(ItemIds).Append("\n"); + sb.Append(" StoreIds: ").Append(StoreIds).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceStockStockServiceRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceStockStockServiceRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceStockStockServiceRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceStockStockServiceRequest input) + { + if (input == null) + return false; + + return + ( + this.ItemIds == input.ItemIds || + this.ItemIds != null && + this.ItemIds.SequenceEqual(input.ItemIds) + ) && + ( + this.StoreIds == input.StoreIds || + this.StoreIds != null && + this.StoreIds.SequenceEqual(input.StoreIds) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemIds != null) + hashCode = hashCode * 59 + this.ItemIds.GetHashCode(); + if (this.StoreIds != null) + hashCode = hashCode * 59 + this.StoreIds.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7092480643c8c4270b58abc819864405a991c715 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest.cs @@ -0,0 +1,656 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CancelGiftCertTransactionRequest <p>Request object for canceling (voiding) a gift certificate.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Specific id of gift certificate service to use.</p>. + /// <p>Configuration for dealing with position operations when performing a gift certificate cancel.</p>. + /// <p>Calling process identifier.</p>. + /// <p>Stored values service identifier.</p>. + /// <p>Transaction id for transaction containing the gift certificate to be canceled.</p>. + /// <p>Number of receipt of transaction canceling the gift certificate (transaction sequence number).</p>. + /// <p>Transaction ID of the transaction to be canceled at stored value server (eg.: top up transaction id).</p>. + /// <p>Gift certificate number.</p>. + /// <p>Gift certificate track2 data.</p>. + /// <p>Gift certificate amount.</p>. + /// <p>ISO currency code.</p>. + /// <p>Approval code from terminal related to gift card transaction.</p>. + /// <p>The terminal reference number.</p>. + /// <p>The original transaction UUID from registration. </p>. + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all gift certificates.</p> (required). + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest(string serviceId = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string callingProcess = default(string), string storedValuesServiceId = default(string), string transactionId = default(string), string receiptNumber = default(string), string giftCertTransactionId = default(string), string giftCertNumber = default(string), string track2 = default(string), double? giftCertAmount = default(double?), string isoCurrencyCode = default(string), string approvalCode = default(string), string terminalReferenceNumber = default(string), string gcsTransactionUUID = default(string), bool? ignoreFailures = default(bool?), bool? voidTenderLineItems = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "ignoreFailures" is required (not null) + if (ignoreFailures == null) + { + throw new InvalidDataException("ignoreFailures is a required property for ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest and cannot be null"); + } + else + { + this.IgnoreFailures = ignoreFailures; + } + // to ensure "voidTenderLineItems" is required (not null) + if (voidTenderLineItems == null) + { + throw new InvalidDataException("voidTenderLineItems is a required property for ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest and cannot be null"); + } + else + { + this.VoidTenderLineItems = voidTenderLineItems; + } + this.ServiceId = serviceId; + this.PositionOperationConfig = positionOperationConfig; + this.CallingProcess = callingProcess; + this.StoredValuesServiceId = storedValuesServiceId; + this.TransactionId = transactionId; + this.ReceiptNumber = receiptNumber; + this.GiftCertTransactionId = giftCertTransactionId; + this.GiftCertNumber = giftCertNumber; + this.Track2 = track2; + this.GiftCertAmount = giftCertAmount; + this.IsoCurrencyCode = isoCurrencyCode; + this.ApprovalCode = approvalCode; + this.TerminalReferenceNumber = terminalReferenceNumber; + this.GcsTransactionUUID = gcsTransactionUUID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Specific id of gift certificate service to use.</p> + /// + /// <p>Specific id of gift certificate service to use.</p> + [DataMember(Name="serviceId", EmitDefaultValue=false)] + public string ServiceId { get; set; } + + /// + /// <p>Configuration for dealing with position operations when performing a gift certificate cancel.</p> + /// + /// <p>Configuration for dealing with position operations when performing a gift certificate cancel.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Calling process identifier.</p> + /// + /// <p>Calling process identifier.</p> + [DataMember(Name="callingProcess", EmitDefaultValue=false)] + public string CallingProcess { get; set; } + + /// + /// <p>Stored values service identifier.</p> + /// + /// <p>Stored values service identifier.</p> + [DataMember(Name="storedValuesServiceId", EmitDefaultValue=false)] + public string StoredValuesServiceId { get; set; } + + /// + /// <p>Transaction id for transaction containing the gift certificate to be canceled.</p> + /// + /// <p>Transaction id for transaction containing the gift certificate to be canceled.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>Number of receipt of transaction canceling the gift certificate (transaction sequence number).</p> + /// + /// <p>Number of receipt of transaction canceling the gift certificate (transaction sequence number).</p> + [DataMember(Name="receiptNumber", EmitDefaultValue=false)] + public string ReceiptNumber { get; set; } + + /// + /// <p>Transaction ID of the transaction to be canceled at stored value server (eg.: top up transaction id).</p> + /// + /// <p>Transaction ID of the transaction to be canceled at stored value server (eg.: top up transaction id).</p> + [DataMember(Name="giftCertTransactionId", EmitDefaultValue=false)] + public string GiftCertTransactionId { get; set; } + + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + [DataMember(Name="giftCertNumber", EmitDefaultValue=false)] + public string GiftCertNumber { get; set; } + + /// + /// <p>Gift certificate track2 data.</p> + /// + /// <p>Gift certificate track2 data.</p> + [DataMember(Name="Track2", EmitDefaultValue=false)] + public string Track2 { get; set; } + + /// + /// <p>Gift certificate amount.</p> + /// + /// <p>Gift certificate amount.</p> + [DataMember(Name="giftCertAmount", EmitDefaultValue=false)] + public double? GiftCertAmount { get; set; } + + /// + /// <p>ISO currency code.</p> + /// + /// <p>ISO currency code.</p> + [DataMember(Name="isoCurrencyCode", EmitDefaultValue=false)] + public string IsoCurrencyCode { get; set; } + + /// + /// <p>Approval code from terminal related to gift card transaction.</p> + /// + /// <p>Approval code from terminal related to gift card transaction.</p> + [DataMember(Name="approvalCode", EmitDefaultValue=false)] + public string ApprovalCode { get; set; } + + /// + /// <p>The terminal reference number.</p> + /// + /// <p>The terminal reference number.</p> + [DataMember(Name="terminalReferenceNumber", EmitDefaultValue=false)] + public string TerminalReferenceNumber { get; set; } + + /// + /// <p>The original transaction UUID from registration. </p> + /// + /// <p>The original transaction UUID from registration. </p> + [DataMember(Name="gcsTransactionUUID", EmitDefaultValue=false)] + public string GcsTransactionUUID { get; set; } + + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all gift certificates.</p> + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all gift certificates.</p> + [DataMember(Name="ignoreFailures", EmitDefaultValue=false)] + public bool? IgnoreFailures { get; set; } + + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + [DataMember(Name="voidTenderLineItems", EmitDefaultValue=false)] + public bool? VoidTenderLineItems { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest {\n"); + sb.Append(" ServiceId: ").Append(ServiceId).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" CallingProcess: ").Append(CallingProcess).Append("\n"); + sb.Append(" StoredValuesServiceId: ").Append(StoredValuesServiceId).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" ReceiptNumber: ").Append(ReceiptNumber).Append("\n"); + sb.Append(" GiftCertTransactionId: ").Append(GiftCertTransactionId).Append("\n"); + sb.Append(" GiftCertNumber: ").Append(GiftCertNumber).Append("\n"); + sb.Append(" Track2: ").Append(Track2).Append("\n"); + sb.Append(" GiftCertAmount: ").Append(GiftCertAmount).Append("\n"); + sb.Append(" IsoCurrencyCode: ").Append(IsoCurrencyCode).Append("\n"); + sb.Append(" ApprovalCode: ").Append(ApprovalCode).Append("\n"); + sb.Append(" TerminalReferenceNumber: ").Append(TerminalReferenceNumber).Append("\n"); + sb.Append(" GcsTransactionUUID: ").Append(GcsTransactionUUID).Append("\n"); + sb.Append(" IgnoreFailures: ").Append(IgnoreFailures).Append("\n"); + sb.Append(" VoidTenderLineItems: ").Append(VoidTenderLineItems).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.ServiceId == input.ServiceId || + (this.ServiceId != null && + this.ServiceId.Equals(input.ServiceId)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.CallingProcess == input.CallingProcess || + (this.CallingProcess != null && + this.CallingProcess.Equals(input.CallingProcess)) + ) && + ( + this.StoredValuesServiceId == input.StoredValuesServiceId || + (this.StoredValuesServiceId != null && + this.StoredValuesServiceId.Equals(input.StoredValuesServiceId)) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.ReceiptNumber == input.ReceiptNumber || + (this.ReceiptNumber != null && + this.ReceiptNumber.Equals(input.ReceiptNumber)) + ) && + ( + this.GiftCertTransactionId == input.GiftCertTransactionId || + (this.GiftCertTransactionId != null && + this.GiftCertTransactionId.Equals(input.GiftCertTransactionId)) + ) && + ( + this.GiftCertNumber == input.GiftCertNumber || + (this.GiftCertNumber != null && + this.GiftCertNumber.Equals(input.GiftCertNumber)) + ) && + ( + this.Track2 == input.Track2 || + (this.Track2 != null && + this.Track2.Equals(input.Track2)) + ) && + ( + this.GiftCertAmount == input.GiftCertAmount || + (this.GiftCertAmount != null && + this.GiftCertAmount.Equals(input.GiftCertAmount)) + ) && + ( + this.IsoCurrencyCode == input.IsoCurrencyCode || + (this.IsoCurrencyCode != null && + this.IsoCurrencyCode.Equals(input.IsoCurrencyCode)) + ) && + ( + this.ApprovalCode == input.ApprovalCode || + (this.ApprovalCode != null && + this.ApprovalCode.Equals(input.ApprovalCode)) + ) && + ( + this.TerminalReferenceNumber == input.TerminalReferenceNumber || + (this.TerminalReferenceNumber != null && + this.TerminalReferenceNumber.Equals(input.TerminalReferenceNumber)) + ) && + ( + this.GcsTransactionUUID == input.GcsTransactionUUID || + (this.GcsTransactionUUID != null && + this.GcsTransactionUUID.Equals(input.GcsTransactionUUID)) + ) && + ( + this.IgnoreFailures == input.IgnoreFailures || + (this.IgnoreFailures != null && + this.IgnoreFailures.Equals(input.IgnoreFailures)) + ) && + ( + this.VoidTenderLineItems == input.VoidTenderLineItems || + (this.VoidTenderLineItems != null && + this.VoidTenderLineItems.Equals(input.VoidTenderLineItems)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ServiceId != null) + hashCode = hashCode * 59 + this.ServiceId.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.CallingProcess != null) + hashCode = hashCode * 59 + this.CallingProcess.GetHashCode(); + if (this.StoredValuesServiceId != null) + hashCode = hashCode * 59 + this.StoredValuesServiceId.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.ReceiptNumber != null) + hashCode = hashCode * 59 + this.ReceiptNumber.GetHashCode(); + if (this.GiftCertTransactionId != null) + hashCode = hashCode * 59 + this.GiftCertTransactionId.GetHashCode(); + if (this.GiftCertNumber != null) + hashCode = hashCode * 59 + this.GiftCertNumber.GetHashCode(); + if (this.Track2 != null) + hashCode = hashCode * 59 + this.Track2.GetHashCode(); + if (this.GiftCertAmount != null) + hashCode = hashCode * 59 + this.GiftCertAmount.GetHashCode(); + if (this.IsoCurrencyCode != null) + hashCode = hashCode * 59 + this.IsoCurrencyCode.GetHashCode(); + if (this.ApprovalCode != null) + hashCode = hashCode * 59 + this.ApprovalCode.GetHashCode(); + if (this.TerminalReferenceNumber != null) + hashCode = hashCode * 59 + this.TerminalReferenceNumber.GetHashCode(); + if (this.GcsTransactionUUID != null) + hashCode = hashCode * 59 + this.GcsTransactionUUID.GetHashCode(); + if (this.IgnoreFailures != null) + hashCode = hashCode * 59 + this.IgnoreFailures.GetHashCode(); + if (this.VoidTenderLineItems != null) + hashCode = hashCode * 59 + this.VoidTenderLineItems.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8e586a062d334ed320af7b4190c677f10da99793 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest.cs @@ -0,0 +1,563 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificateRequest <p>Request object for the StoredValueServerService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Service identifier.</p>. + /// <p>Specifies the gift certificate type.<br /> Possible values are:<br /> gift certificate as '01'<br /> gift card as '02'<br /> foreign gift certificate as '03'<br /> promotion gift certificate as '04'</p>. + /// <p>Gift certificate number.</p>. + /// <p>Gift certificate track2 data.</p>. + /// <p>Amount of the gift certificate, its meaning depends on the operation.</p>. + /// <p>Expiration date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Universally unique transaction ID.</p>. + /// <p>The remaining payment amount for the base currency.</p> (required). + /// <p>Calling process identifier.</p>. + /// <p>List of additional info attributes and values.</p>. + /// <p>Indicates whether service has been started on training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest(string serviceId = default(string), string giftCertificateType = default(string), string giftCertificateNumber = default(string), string giftTrack2 = default(string), ComGkSoftwarePosApiModelDomAppAmountAmount amount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), string expiryDate = default(string), string gcsTransactionUUID = default(string), double? openPaymentAmount = default(double?), string callingProcess = default(string), List additionalInfo = default(List), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "openPaymentAmount" is required (not null) + if (openPaymentAmount == null) + { + throw new InvalidDataException("openPaymentAmount is a required property for ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest and cannot be null"); + } + else + { + this.OpenPaymentAmount = openPaymentAmount; + } + this.ServiceId = serviceId; + this.GiftCertificateType = giftCertificateType; + this.GiftCertificateNumber = giftCertificateNumber; + this.GiftTrack2 = giftTrack2; + this.Amount = amount; + this.ExpiryDate = expiryDate; + this.GcsTransactionUUID = gcsTransactionUUID; + this.CallingProcess = callingProcess; + this.AdditionalInfo = additionalInfo; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Service identifier.</p> + /// + /// <p>Service identifier.</p> + [DataMember(Name="serviceId", EmitDefaultValue=false)] + public string ServiceId { get; set; } + + /// + /// <p>Specifies the gift certificate type.<br /> Possible values are:<br /> gift certificate as '01'<br /> gift card as '02'<br /> foreign gift certificate as '03'<br /> promotion gift certificate as '04'</p> + /// + /// <p>Specifies the gift certificate type.<br /> Possible values are:<br /> gift certificate as '01'<br /> gift card as '02'<br /> foreign gift certificate as '03'<br /> promotion gift certificate as '04'</p> + [DataMember(Name="giftCertificateType", EmitDefaultValue=false)] + public string GiftCertificateType { get; set; } + + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + [DataMember(Name="giftCertificateNumber", EmitDefaultValue=false)] + public string GiftCertificateNumber { get; set; } + + /// + /// <p>Gift certificate track2 data.</p> + /// + /// <p>Gift certificate track2 data.</p> + [DataMember(Name="giftTrack2", EmitDefaultValue=false)] + public string GiftTrack2 { get; set; } + + /// + /// <p>Amount of the gift certificate, its meaning depends on the operation.</p> + /// + /// <p>Amount of the gift certificate, its meaning depends on the operation.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount Amount { get; set; } + + /// + /// <p>Expiration date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expiryDate", EmitDefaultValue=false)] + public string ExpiryDate { get; set; } + + /// + /// <p>Universally unique transaction ID.</p> + /// + /// <p>Universally unique transaction ID.</p> + [DataMember(Name="gcsTransactionUUID", EmitDefaultValue=false)] + public string GcsTransactionUUID { get; set; } + + /// + /// <p>The remaining payment amount for the base currency.</p> + /// + /// <p>The remaining payment amount for the base currency.</p> + [DataMember(Name="openPaymentAmount", EmitDefaultValue=false)] + public double? OpenPaymentAmount { get; set; } + + /// + /// <p>Calling process identifier.</p> + /// + /// <p>Calling process identifier.</p> + [DataMember(Name="callingProcess", EmitDefaultValue=false)] + public string CallingProcess { get; set; } + + /// + /// <p>List of additional info attributes and values.</p> + /// + /// <p>List of additional info attributes and values.</p> + [DataMember(Name="additionalInfo", EmitDefaultValue=false)] + public List AdditionalInfo { get; set; } + + /// + /// <p>Indicates whether service has been started on training mode.</p> + /// + /// <p>Indicates whether service has been started on training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest {\n"); + sb.Append(" ServiceId: ").Append(ServiceId).Append("\n"); + sb.Append(" GiftCertificateType: ").Append(GiftCertificateType).Append("\n"); + sb.Append(" GiftCertificateNumber: ").Append(GiftCertificateNumber).Append("\n"); + sb.Append(" GiftTrack2: ").Append(GiftTrack2).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" ExpiryDate: ").Append(ExpiryDate).Append("\n"); + sb.Append(" GcsTransactionUUID: ").Append(GcsTransactionUUID).Append("\n"); + sb.Append(" OpenPaymentAmount: ").Append(OpenPaymentAmount).Append("\n"); + sb.Append(" CallingProcess: ").Append(CallingProcess).Append("\n"); + sb.Append(" AdditionalInfo: ").Append(AdditionalInfo).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest input) + { + if (input == null) + return false; + + return + ( + this.ServiceId == input.ServiceId || + (this.ServiceId != null && + this.ServiceId.Equals(input.ServiceId)) + ) && + ( + this.GiftCertificateType == input.GiftCertificateType || + (this.GiftCertificateType != null && + this.GiftCertificateType.Equals(input.GiftCertificateType)) + ) && + ( + this.GiftCertificateNumber == input.GiftCertificateNumber || + (this.GiftCertificateNumber != null && + this.GiftCertificateNumber.Equals(input.GiftCertificateNumber)) + ) && + ( + this.GiftTrack2 == input.GiftTrack2 || + (this.GiftTrack2 != null && + this.GiftTrack2.Equals(input.GiftTrack2)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.ExpiryDate == input.ExpiryDate || + (this.ExpiryDate != null && + this.ExpiryDate.Equals(input.ExpiryDate)) + ) && + ( + this.GcsTransactionUUID == input.GcsTransactionUUID || + (this.GcsTransactionUUID != null && + this.GcsTransactionUUID.Equals(input.GcsTransactionUUID)) + ) && + ( + this.OpenPaymentAmount == input.OpenPaymentAmount || + (this.OpenPaymentAmount != null && + this.OpenPaymentAmount.Equals(input.OpenPaymentAmount)) + ) && + ( + this.CallingProcess == input.CallingProcess || + (this.CallingProcess != null && + this.CallingProcess.Equals(input.CallingProcess)) + ) && + ( + this.AdditionalInfo == input.AdditionalInfo || + this.AdditionalInfo != null && + this.AdditionalInfo.SequenceEqual(input.AdditionalInfo) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ServiceId != null) + hashCode = hashCode * 59 + this.ServiceId.GetHashCode(); + if (this.GiftCertificateType != null) + hashCode = hashCode * 59 + this.GiftCertificateType.GetHashCode(); + if (this.GiftCertificateNumber != null) + hashCode = hashCode * 59 + this.GiftCertificateNumber.GetHashCode(); + if (this.GiftTrack2 != null) + hashCode = hashCode * 59 + this.GiftTrack2.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.ExpiryDate != null) + hashCode = hashCode * 59 + this.ExpiryDate.GetHashCode(); + if (this.GcsTransactionUUID != null) + hashCode = hashCode * 59 + this.GcsTransactionUUID.GetHashCode(); + if (this.OpenPaymentAmount != null) + hashCode = hashCode * 59 + this.OpenPaymentAmount.GetHashCode(); + if (this.CallingProcess != null) + hashCode = hashCode * 59 + this.CallingProcess.GetHashCode(); + if (this.AdditionalInfo != null) + hashCode = hashCode * 59 + this.AdditionalInfo.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemApplicationInfo.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemApplicationInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..b4befaeb3c1006b6fddc995d067a6dfccc2a5d49 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemApplicationInfo.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ApplicationInfo <p>Data object for service application information.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSystemApplicationInfo : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Application version.</p>. + /// <p>Application revision number.</p>. + /// <p>Application build number.</p>. + /// <p>Application build date.</p>. + /// <p>JDK version used in application build.</p>. + /// <p>A key-value pair map of strings for fiscalization information. Extension point for projects to load fiscalization specific information into this map.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSystemApplicationInfo(string appVersion = default(string), string appRevision = default(string), string appBuildNumber = default(string), string appFormattedDate = default(string), string appJdkVersion = default(string), Dictionary fiscalizationInfo = default(Dictionary), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.AppVersion = appVersion; + this.AppRevision = appRevision; + this.AppBuildNumber = appBuildNumber; + this.AppFormattedDate = appFormattedDate; + this.AppJdkVersion = appJdkVersion; + this.FiscalizationInfo = fiscalizationInfo; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Application version.</p> + /// + /// <p>Application version.</p> + [DataMember(Name="appVersion", EmitDefaultValue=false)] + public string AppVersion { get; set; } + + /// + /// <p>Application revision number.</p> + /// + /// <p>Application revision number.</p> + [DataMember(Name="appRevision", EmitDefaultValue=false)] + public string AppRevision { get; set; } + + /// + /// <p>Application build number.</p> + /// + /// <p>Application build number.</p> + [DataMember(Name="appBuildNumber", EmitDefaultValue=false)] + public string AppBuildNumber { get; set; } + + /// + /// <p>Application build date.</p> + /// + /// <p>Application build date.</p> + [DataMember(Name="appFormattedDate", EmitDefaultValue=false)] + public string AppFormattedDate { get; set; } + + /// + /// <p>JDK version used in application build.</p> + /// + /// <p>JDK version used in application build.</p> + [DataMember(Name="appJdkVersion", EmitDefaultValue=false)] + public string AppJdkVersion { get; set; } + + /// + /// <p>A key-value pair map of strings for fiscalization information. Extension point for projects to load fiscalization specific information into this map.</p> + /// + /// <p>A key-value pair map of strings for fiscalization information. Extension point for projects to load fiscalization specific information into this map.</p> + [DataMember(Name="fiscalizationInfo", EmitDefaultValue=false)] + public Dictionary FiscalizationInfo { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSystemApplicationInfo {\n"); + sb.Append(" AppVersion: ").Append(AppVersion).Append("\n"); + sb.Append(" AppRevision: ").Append(AppRevision).Append("\n"); + sb.Append(" AppBuildNumber: ").Append(AppBuildNumber).Append("\n"); + sb.Append(" AppFormattedDate: ").Append(AppFormattedDate).Append("\n"); + sb.Append(" AppJdkVersion: ").Append(AppJdkVersion).Append("\n"); + sb.Append(" FiscalizationInfo: ").Append(FiscalizationInfo).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSystemApplicationInfo); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSystemApplicationInfo instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSystemApplicationInfo to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSystemApplicationInfo input) + { + if (input == null) + return false; + + return + ( + this.AppVersion == input.AppVersion || + (this.AppVersion != null && + this.AppVersion.Equals(input.AppVersion)) + ) && + ( + this.AppRevision == input.AppRevision || + (this.AppRevision != null && + this.AppRevision.Equals(input.AppRevision)) + ) && + ( + this.AppBuildNumber == input.AppBuildNumber || + (this.AppBuildNumber != null && + this.AppBuildNumber.Equals(input.AppBuildNumber)) + ) && + ( + this.AppFormattedDate == input.AppFormattedDate || + (this.AppFormattedDate != null && + this.AppFormattedDate.Equals(input.AppFormattedDate)) + ) && + ( + this.AppJdkVersion == input.AppJdkVersion || + (this.AppJdkVersion != null && + this.AppJdkVersion.Equals(input.AppJdkVersion)) + ) && + ( + this.FiscalizationInfo == input.FiscalizationInfo || + this.FiscalizationInfo != null && + this.FiscalizationInfo.SequenceEqual(input.FiscalizationInfo) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AppVersion != null) + hashCode = hashCode * 59 + this.AppVersion.GetHashCode(); + if (this.AppRevision != null) + hashCode = hashCode * 59 + this.AppRevision.GetHashCode(); + if (this.AppBuildNumber != null) + hashCode = hashCode * 59 + this.AppBuildNumber.GetHashCode(); + if (this.AppFormattedDate != null) + hashCode = hashCode * 59 + this.AppFormattedDate.GetHashCode(); + if (this.AppJdkVersion != null) + hashCode = hashCode * 59 + this.AppJdkVersion.GetHashCode(); + if (this.FiscalizationInfo != null) + hashCode = hashCode * 59 + this.FiscalizationInfo.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemPingRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemPingRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d018881e11481dbde7b35f439d74ab96ab5c421d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemPingRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PingRequest <p>Request object for the SystemService ping.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSystemPingRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Business unit id.</p>. + /// <p>Workstation id.</p>. + /// <p>Workstation address.</p>. + /// <p>The POS-Server / Login-Manager workstation status token that was received in prev. call.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSystemPingRequest(string businessUnitId = default(string), string workstationId = default(string), string workstationAddress = default(string), string workstationStatusToken = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.WorkstationId = workstationId; + this.WorkstationAddress = workstationAddress; + this.WorkstationStatusToken = workstationStatusToken; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Business unit id.</p> + /// + /// <p>Business unit id.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>Workstation id.</p> + /// + /// <p>Workstation id.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>Workstation address.</p> + /// + /// <p>Workstation address.</p> + [DataMember(Name="workstationAddress", EmitDefaultValue=false)] + public string WorkstationAddress { get; set; } + + /// + /// <p>The POS-Server / Login-Manager workstation status token that was received in prev. call.</p> + /// + /// <p>The POS-Server / Login-Manager workstation status token that was received in prev. call.</p> + [DataMember(Name="workstationStatusToken", EmitDefaultValue=false)] + public string WorkstationStatusToken { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSystemPingRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" WorkstationAddress: ").Append(WorkstationAddress).Append("\n"); + sb.Append(" WorkstationStatusToken: ").Append(WorkstationStatusToken).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSystemPingRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSystemPingRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSystemPingRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSystemPingRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.WorkstationAddress == input.WorkstationAddress || + (this.WorkstationAddress != null && + this.WorkstationAddress.Equals(input.WorkstationAddress)) + ) && + ( + this.WorkstationStatusToken == input.WorkstationStatusToken || + (this.WorkstationStatusToken != null && + this.WorkstationStatusToken.Equals(input.WorkstationStatusToken)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.WorkstationAddress != null) + hashCode = hashCode * 59 + this.WorkstationAddress.GetHashCode(); + if (this.WorkstationStatusToken != null) + hashCode = hashCode * 59 + this.WorkstationStatusToken.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemPingResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemPingResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..168c61a079f3bb05f36ee4b0ca29cf2b8e4b8a17 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceSystemPingResponse.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PingResponse <p>Response object for the SystemService ping.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceSystemPingResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Workstation command pending for client execution.</p>. + /// <p>The POS-Server / Login-Manager workstation status token. It must be stored and resend with next request.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceSystemPingResponse(ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand workstationCommand = default(ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand), string workstationStatusToken = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.WorkstationCommand = workstationCommand; + this.WorkstationStatusToken = workstationStatusToken; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Workstation command pending for client execution.</p> + /// + /// <p>Workstation command pending for client execution.</p> + [DataMember(Name="workstationCommand", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand WorkstationCommand { get; set; } + + /// + /// <p>The POS-Server / Login-Manager workstation status token. It must be stored and resend with next request.</p> + /// + /// <p>The POS-Server / Login-Manager workstation status token. It must be stored and resend with next request.</p> + [DataMember(Name="workstationStatusToken", EmitDefaultValue=false)] + public string WorkstationStatusToken { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceSystemPingResponse {\n"); + sb.Append(" WorkstationCommand: ").Append(WorkstationCommand).Append("\n"); + sb.Append(" WorkstationStatusToken: ").Append(WorkstationStatusToken).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceSystemPingResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceSystemPingResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceSystemPingResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceSystemPingResponse input) + { + if (input == null) + return false; + + return + ( + this.WorkstationCommand == input.WorkstationCommand || + (this.WorkstationCommand != null && + this.WorkstationCommand.Equals(input.WorkstationCommand)) + ) && + ( + this.WorkstationStatusToken == input.WorkstationStatusToken || + (this.WorkstationStatusToken != null && + this.WorkstationStatusToken.Equals(input.WorkstationStatusToken)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.WorkstationCommand != null) + hashCode = hashCode * 59 + this.WorkstationCommand.GetHashCode(); + if (this.WorkstationStatusToken != null) + hashCode = hashCode * 59 + this.WorkstationStatusToken.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2f2cd9ce3a35c2a7db2fdf7c0783c1582fec623b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest.cs @@ -0,0 +1,392 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindDynamicTableauItemListUpdateViewsRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// dynamicTableauItemListUpdateViewCriteria (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria dynamicTableauItemListUpdateViewCriteria = default(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "dynamicTableauItemListUpdateViewCriteria" is required (not null) + if (dynamicTableauItemListUpdateViewCriteria == null) + { + throw new InvalidDataException("dynamicTableauItemListUpdateViewCriteria is a required property for ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest and cannot be null"); + } + else + { + this.DynamicTableauItemListUpdateViewCriteria = dynamicTableauItemListUpdateViewCriteria; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets DynamicTableauItemListUpdateViewCriteria + /// + [DataMember(Name="dynamicTableauItemListUpdateViewCriteria", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria DynamicTableauItemListUpdateViewCriteria { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest {\n"); + sb.Append(" DynamicTableauItemListUpdateViewCriteria: ").Append(DynamicTableauItemListUpdateViewCriteria).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest input) + { + if (input == null) + return false; + + return + ( + this.DynamicTableauItemListUpdateViewCriteria == input.DynamicTableauItemListUpdateViewCriteria || + (this.DynamicTableauItemListUpdateViewCriteria != null && + this.DynamicTableauItemListUpdateViewCriteria.Equals(input.DynamicTableauItemListUpdateViewCriteria)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DynamicTableauItemListUpdateViewCriteria != null) + hashCode = hashCode * 59 + this.DynamicTableauItemListUpdateViewCriteria.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..6c68c004131a26c4db9c8ac464f3add3b405073a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse.cs @@ -0,0 +1,379 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindDynamicTableauItemListUpdateViewsResponse TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// dynamicTableauItemListUpdateViews. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse(List dynamicTableauItemListUpdateViews = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.DynamicTableauItemListUpdateViews = dynamicTableauItemListUpdateViews; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets DynamicTableauItemListUpdateViews + /// + [DataMember(Name="dynamicTableauItemListUpdateViews", EmitDefaultValue=false)] + public List DynamicTableauItemListUpdateViews { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse {\n"); + sb.Append(" DynamicTableauItemListUpdateViews: ").Append(DynamicTableauItemListUpdateViews).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse input) + { + if (input == null) + return false; + + return + ( + this.DynamicTableauItemListUpdateViews == input.DynamicTableauItemListUpdateViews || + this.DynamicTableauItemListUpdateViews != null && + this.DynamicTableauItemListUpdateViews.SequenceEqual(input.DynamicTableauItemListUpdateViews) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DynamicTableauItemListUpdateViews != null) + hashCode = hashCode * 59 + this.DynamicTableauItemListUpdateViews.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cf2f756bc046a809341da1aea2b583747cd2e6e6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest.cs @@ -0,0 +1,392 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindDynamicTableauItemListViewsRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// dynamicTableauItemListViewCriteria (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria dynamicTableauItemListViewCriteria = default(ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "dynamicTableauItemListViewCriteria" is required (not null) + if (dynamicTableauItemListViewCriteria == null) + { + throw new InvalidDataException("dynamicTableauItemListViewCriteria is a required property for ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest and cannot be null"); + } + else + { + this.DynamicTableauItemListViewCriteria = dynamicTableauItemListViewCriteria; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets DynamicTableauItemListViewCriteria + /// + [DataMember(Name="dynamicTableauItemListViewCriteria", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria DynamicTableauItemListViewCriteria { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest {\n"); + sb.Append(" DynamicTableauItemListViewCriteria: ").Append(DynamicTableauItemListViewCriteria).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest input) + { + if (input == null) + return false; + + return + ( + this.DynamicTableauItemListViewCriteria == input.DynamicTableauItemListViewCriteria || + (this.DynamicTableauItemListViewCriteria != null && + this.DynamicTableauItemListViewCriteria.Equals(input.DynamicTableauItemListViewCriteria)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DynamicTableauItemListViewCriteria != null) + hashCode = hashCode * 59 + this.DynamicTableauItemListViewCriteria.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..10cdd9450c8cb2c7ab6fcdeaf750d382abba4980 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse.cs @@ -0,0 +1,379 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FindDynamicTableauItemListViewsResponse TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// dynamicTableauItemListViews. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse(List dynamicTableauItemListViews = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.DynamicTableauItemListViews = dynamicTableauItemListViews; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets DynamicTableauItemListViews + /// + [DataMember(Name="dynamicTableauItemListViews", EmitDefaultValue=false)] + public List DynamicTableauItemListViews { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse {\n"); + sb.Append(" DynamicTableauItemListViews: ").Append(DynamicTableauItemListViews).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse input) + { + if (input == null) + return false; + + return + ( + this.DynamicTableauItemListViews == input.DynamicTableauItemListViews || + this.DynamicTableauItemListViews != null && + this.DynamicTableauItemListViews.SequenceEqual(input.DynamicTableauItemListViews) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DynamicTableauItemListViews != null) + hashCode = hashCode * 59 + this.DynamicTableauItemListViews.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f8128b376a81ff5bf9e63627d4a623973928a0a3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillRequest <p>Request object for the TillService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTillTillRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The operator id used for till assignments.</p>. + /// <p>The workstation id used for till assignments.</p>. + /// <p>The business unit id used for till assignments.</p>. + /// <p>Collection of till identifiers.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTillTillRequest(string operatorId = default(string), string workstationId = default(string), string businessUnitId = default(string), List tillIds = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OperatorId = operatorId; + this.WorkstationId = workstationId; + this.BusinessUnitId = businessUnitId; + this.TillIds = tillIds; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operator id used for till assignments.</p> + /// + /// <p>The operator id used for till assignments.</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>The workstation id used for till assignments.</p> + /// + /// <p>The workstation id used for till assignments.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The business unit id used for till assignments.</p> + /// + /// <p>The business unit id used for till assignments.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>Collection of till identifiers.</p> + /// + /// <p>Collection of till identifiers.</p> + [DataMember(Name="tillIds", EmitDefaultValue=false)] + public List TillIds { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTillTillRequest {\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" TillIds: ").Append(TillIds).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTillTillRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTillTillRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTillTillRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTillTillRequest input) + { + if (input == null) + return false; + + return + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.TillIds == input.TillIds || + this.TillIds != null && + this.TillIds.SequenceEqual(input.TillIds) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.TillIds != null) + hashCode = hashCode * 59 + this.TillIds.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..2068ef8bbb539c56c4a773b877478f67e23dbbde --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillResponse <p>Response object for the TillService containing assigned tills for given request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTillTillResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Collection of tills assigned to the given workstation or operator.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTillTillResponse(List tills = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Tills = tills; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Collection of tills assigned to the given workstation or operator.</p> + /// + /// <p>Collection of tills assigned to the given workstation or operator.</p> + [DataMember(Name="tills", EmitDefaultValue=false)] + public List Tills { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTillTillResponse {\n"); + sb.Append(" Tills: ").Append(Tills).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTillTillResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTillTillResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTillTillResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTillTillResponse input) + { + if (input == null) + return false; + + return + ( + this.Tills == input.Tills || + this.Tills != null && + this.Tills.SequenceEqual(input.Tills) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Tills != null) + hashCode = hashCode * 59 + this.Tills.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd0b0d437940ece72319f1434e5c07f697e3e17c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest.cs @@ -0,0 +1,504 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillTenderSummaryRequest <p>Request object for till tender summaries.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest : IEquatable, IValidatableObject + { + /// + /// <p>Refresh strategy of till copy object (eg.: ForceRefresh, RefreshAndOfflineFallback and CachedOrInitialize).</p> + /// + /// <p>Refresh strategy of till copy object (eg.: ForceRefresh, RefreshAndOfflineFallback and CachedOrInitialize).</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum RefreshStrategyEnum + { + + /// + /// Enum ForceRefresh for value: ForceRefresh + /// + [EnumMember(Value = "ForceRefresh")] + ForceRefresh = 1, + + /// + /// Enum RefreshAndOfflineFallback for value: RefreshAndOfflineFallback + /// + [EnumMember(Value = "RefreshAndOfflineFallback")] + RefreshAndOfflineFallback = 2, + + /// + /// Enum CachedOrInitialize for value: CachedOrInitialize + /// + [EnumMember(Value = "CachedOrInitialize")] + CachedOrInitialize = 3 + } + + /// + /// <p>Refresh strategy of till copy object (eg.: ForceRefresh, RefreshAndOfflineFallback and CachedOrInitialize).</p> + /// + /// <p>Refresh strategy of till copy object (eg.: ForceRefresh, RefreshAndOfflineFallback and CachedOrInitialize).</p> + [DataMember(Name="refreshStrategy", EmitDefaultValue=false)] + public RefreshStrategyEnum? RefreshStrategy { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Business unit group id used for till tender summary.</p> (required). + /// <p>Till identifier.</p> (required). + /// <p>Workstation id.</p>. + /// <p>Flag for indicating whether training mode is enabled.</p> (required). + /// <p>Refresh strategy of till copy object (eg.: ForceRefresh, RefreshAndOfflineFallback and CachedOrInitialize).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest(string businessUnitGroupId = default(string), string tillId = default(string), string workstationId = default(string), bool? trainingFlag = default(bool?), RefreshStrategyEnum? refreshStrategy = default(RefreshStrategyEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "businessUnitGroupId" is required (not null) + if (businessUnitGroupId == null) + { + throw new InvalidDataException("businessUnitGroupId is a required property for ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest and cannot be null"); + } + else + { + this.BusinessUnitGroupId = businessUnitGroupId; + } + // to ensure "tillId" is required (not null) + if (tillId == null) + { + throw new InvalidDataException("tillId is a required property for ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest and cannot be null"); + } + else + { + this.TillId = tillId; + } + // to ensure "trainingFlag" is required (not null) + if (trainingFlag == null) + { + throw new InvalidDataException("trainingFlag is a required property for ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest and cannot be null"); + } + else + { + this.TrainingFlag = trainingFlag; + } + this.WorkstationId = workstationId; + this.RefreshStrategy = refreshStrategy; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Business unit group id used for till tender summary.</p> + /// + /// <p>Business unit group id used for till tender summary.</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>Till identifier.</p> + /// + /// <p>Till identifier.</p> + [DataMember(Name="tillId", EmitDefaultValue=false)] + public string TillId { get; set; } + + /// + /// <p>Workstation id.</p> + /// + /// <p>Workstation id.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>Flag for indicating whether training mode is enabled.</p> + /// + /// <p>Flag for indicating whether training mode is enabled.</p> + [DataMember(Name="trainingFlag", EmitDefaultValue=false)] + public bool? TrainingFlag { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest {\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" TillId: ").Append(TillId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" TrainingFlag: ").Append(TrainingFlag).Append("\n"); + sb.Append(" RefreshStrategy: ").Append(RefreshStrategy).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.TillId == input.TillId || + (this.TillId != null && + this.TillId.Equals(input.TillId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.TrainingFlag == input.TrainingFlag || + (this.TrainingFlag != null && + this.TrainingFlag.Equals(input.TrainingFlag)) + ) && + ( + this.RefreshStrategy == input.RefreshStrategy || + (this.RefreshStrategy != null && + this.RefreshStrategy.Equals(input.RefreshStrategy)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.TillId != null) + hashCode = hashCode * 59 + this.TillId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.TrainingFlag != null) + hashCode = hashCode * 59 + this.TrainingFlag.GetHashCode(); + if (this.RefreshStrategy != null) + hashCode = hashCode * 59 + this.RefreshStrategy.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..56c8a3d849162b67b0cc6420c6e0c143a1743d0b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TillTenderSummaryResponse <p>Response object for the TillService containing a summary of till tenders.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The till copy object.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse(ComGkSoftwareGkrApiTcoDtoTillCopyObject tillCopyObject = default(ComGkSoftwareGkrApiTcoDtoTillCopyObject), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TillCopyObject = tillCopyObject; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The till copy object.</p> + /// + /// <p>The till copy object.</p> + [DataMember(Name="tillCopyObject", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTcoDtoTillCopyObject TillCopyObject { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse {\n"); + sb.Append(" TillCopyObject: ").Append(TillCopyObject).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse input) + { + if (input == null) + return false; + + return + ( + this.TillCopyObject == input.TillCopyObject || + (this.TillCopyObject != null && + this.TillCopyObject.Equals(input.TillCopyObject)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TillCopyObject != null) + hashCode = hashCode * 59 + this.TillCopyObject.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..befb9b142531e93060bea3c30ee3632b16478a58 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ActivateTaxExemptRequest <p>Request object for activating tax exemption.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key the operation refers to.</p>. + /// <p>The customer id.</p>. + /// <p>The reason for activating tax exemption.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string customerIdentifier = default(string), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LineItemKey = lineItemKey; + this.CustomerIdentifier = customerIdentifier; + this.Reason = reason; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + [DataMember(Name="customerIdentifier", EmitDefaultValue=false)] + public string CustomerIdentifier { get; set; } + + /// + /// <p>The reason for activating tax exemption.</p> + /// + /// <p>The reason for activating tax exemption.</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" CustomerIdentifier: ").Append(CustomerIdentifier).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.CustomerIdentifier == input.CustomerIdentifier || + (this.CustomerIdentifier != null && + this.CustomerIdentifier.Equals(input.CustomerIdentifier)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.CustomerIdentifier != null) + hashCode = hashCode * 59 + this.CustomerIdentifier.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..30458769dc6fbe6f6699290af649819b4ba59a36 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest.cs @@ -0,0 +1,413 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddExternalTransactionAdditionalPrintoutRequest <p>Request object to add additional external printouts.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The report identifier.</p>. + /// transactionId. + /// <p>A list of print additional line item text lines.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest(string reportId = default(string), string transactionId = default(string), List content = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ReportId = reportId; + this.TransactionId = transactionId; + this.Content = content; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The report identifier.</p> + /// + /// <p>The report identifier.</p> + [DataMember(Name="reportId", EmitDefaultValue=false)] + public string ReportId { get; set; } + + /// + /// Gets or Sets TransactionId + /// + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>A list of print additional line item text lines.</p> + /// + /// <p>A list of print additional line item text lines.</p> + [DataMember(Name="content", EmitDefaultValue=false)] + public List Content { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest {\n"); + sb.Append(" ReportId: ").Append(ReportId).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" Content: ").Append(Content).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest input) + { + if (input == null) + return false; + + return + ( + this.ReportId == input.ReportId || + (this.ReportId != null && + this.ReportId.Equals(input.ReportId)) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.Content == input.Content || + this.Content != null && + this.Content.SequenceEqual(input.Content) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReportId != null) + hashCode = hashCode * 59 + this.ReportId.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.Content != null) + hashCode = hashCode * 59 + this.Content.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..546a1cdbd7dc6a5eaaa5301b7361be674c652805 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest.cs @@ -0,0 +1,737 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddFiscalizationDataToTransactionRequest <p>Request object to add fiscalization data to a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the transaction where the fiscalization data should be set.</p>. + /// <p>The fiscalization day number.</p>. + /// <p>The fiscalization printer identifier.</p>. + /// <p>A flag to indicate if it is a fiscalization receipt/transaction.</p>. + /// <p>The fiscalization receipt number.</p>. + /// <p>The fiscalization signature.</p>. + /// <p>The fiscalization receipt text.</p>. + /// <p>The encoded fiscalization barcode image.</p>. + /// <p>The fiscalization barcode reference.</p>. + /// <p>The position operation configuration.</p>. + /// <p>The fiscalization receipt security code.</p>. + /// <p>The fiscalization receipt tax identifier.</p>. + /// <p>The fiscalization receipt fiscal code.</p>. + /// <p>The fiscalization year.</p>. + /// <p>The fiscalization signing key version.</p>. + /// <p>Daily sum of digital signatures</p>. + /// <p>Total sum of digital signatures</p>. + /// <p>Date and time of signature</p>. + /// <p>ESD serial number</p>. + /// <p>deprecated: as of 5.5.0. Use instead proper service to set flag<br /> A flag to indicate that the receipt was printed.</p>. + /// <p>Additional extensions</p>. + /// <p>Additional binary data extensions</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest(string transactionId = default(string), string fiscalDayNumber = default(string), string fiscalPrinterId = default(string), bool? fiscalReceipt = default(bool?), string fiscalReceiptNumber = default(string), string fiscalSignature = default(string), string fiscalReceiptText = default(string), string fiscalEncodedBarcodeImage = default(string), string fiscalBarcodeReference = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult fiscalSecurity = default(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult), ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult fiscalTaxId = default(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult), ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult fiscalCode = default(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult), int? fiscalYear = default(int?), string keyVersion = default(string), ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult signatureSumDaily = default(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult), ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult signatureSumPerpetual = default(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult), ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult timestamp = default(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult), ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult esdId = default(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult), bool? receiptPrinted = default(bool?), List extensions = default(List), List binaryDataExtensions = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.FiscalDayNumber = fiscalDayNumber; + this.FiscalPrinterId = fiscalPrinterId; + this.FiscalReceipt = fiscalReceipt; + this.FiscalReceiptNumber = fiscalReceiptNumber; + this.FiscalSignature = fiscalSignature; + this.FiscalReceiptText = fiscalReceiptText; + this.FiscalEncodedBarcodeImage = fiscalEncodedBarcodeImage; + this.FiscalBarcodeReference = fiscalBarcodeReference; + this.PositionOperationConfig = positionOperationConfig; + this.FiscalSecurity = fiscalSecurity; + this.FiscalTaxId = fiscalTaxId; + this.FiscalCode = fiscalCode; + this.FiscalYear = fiscalYear; + this.KeyVersion = keyVersion; + this.SignatureSumDaily = signatureSumDaily; + this.SignatureSumPerpetual = signatureSumPerpetual; + this.Timestamp = timestamp; + this.EsdId = esdId; + this.ReceiptPrinted = receiptPrinted; + this.Extensions = extensions; + this.BinaryDataExtensions = binaryDataExtensions; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of the transaction where the fiscalization data should be set.</p> + /// + /// <p>The identifier of the transaction where the fiscalization data should be set.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>The fiscalization day number.</p> + /// + /// <p>The fiscalization day number.</p> + [DataMember(Name="fiscalDayNumber", EmitDefaultValue=false)] + public string FiscalDayNumber { get; set; } + + /// + /// <p>The fiscalization printer identifier.</p> + /// + /// <p>The fiscalization printer identifier.</p> + [DataMember(Name="fiscalPrinterId", EmitDefaultValue=false)] + public string FiscalPrinterId { get; set; } + + /// + /// <p>A flag to indicate if it is a fiscalization receipt/transaction.</p> + /// + /// <p>A flag to indicate if it is a fiscalization receipt/transaction.</p> + [DataMember(Name="fiscalReceipt", EmitDefaultValue=false)] + public bool? FiscalReceipt { get; set; } + + /// + /// <p>The fiscalization receipt number.</p> + /// + /// <p>The fiscalization receipt number.</p> + [DataMember(Name="fiscalReceiptNumber", EmitDefaultValue=false)] + public string FiscalReceiptNumber { get; set; } + + /// + /// <p>The fiscalization signature.</p> + /// + /// <p>The fiscalization signature.</p> + [DataMember(Name="fiscalSignature", EmitDefaultValue=false)] + public string FiscalSignature { get; set; } + + /// + /// <p>The fiscalization receipt text.</p> + /// + /// <p>The fiscalization receipt text.</p> + [DataMember(Name="fiscalReceiptText", EmitDefaultValue=false)] + public string FiscalReceiptText { get; set; } + + /// + /// <p>The encoded fiscalization barcode image.</p> + /// + /// <p>The encoded fiscalization barcode image.</p> + [DataMember(Name="fiscalEncodedBarcodeImage", EmitDefaultValue=false)] + public string FiscalEncodedBarcodeImage { get; set; } + + /// + /// <p>The fiscalization barcode reference.</p> + /// + /// <p>The fiscalization barcode reference.</p> + [DataMember(Name="fiscalBarcodeReference", EmitDefaultValue=false)] + public string FiscalBarcodeReference { get; set; } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The fiscalization receipt security code.</p> + /// + /// <p>The fiscalization receipt security code.</p> + [DataMember(Name="fiscalSecurity", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult FiscalSecurity { get; set; } + + /// + /// <p>The fiscalization receipt tax identifier.</p> + /// + /// <p>The fiscalization receipt tax identifier.</p> + [DataMember(Name="fiscalTaxId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult FiscalTaxId { get; set; } + + /// + /// <p>The fiscalization receipt fiscal code.</p> + /// + /// <p>The fiscalization receipt fiscal code.</p> + [DataMember(Name="fiscalCode", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult FiscalCode { get; set; } + + /// + /// <p>The fiscalization year.</p> + /// + /// <p>The fiscalization year.</p> + [DataMember(Name="fiscalYear", EmitDefaultValue=false)] + public int? FiscalYear { get; set; } + + /// + /// <p>The fiscalization signing key version.</p> + /// + /// <p>The fiscalization signing key version.</p> + [DataMember(Name="keyVersion", EmitDefaultValue=false)] + public string KeyVersion { get; set; } + + /// + /// <p>Daily sum of digital signatures</p> + /// + /// <p>Daily sum of digital signatures</p> + [DataMember(Name="signatureSumDaily", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult SignatureSumDaily { get; set; } + + /// + /// <p>Total sum of digital signatures</p> + /// + /// <p>Total sum of digital signatures</p> + [DataMember(Name="signatureSumPerpetual", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult SignatureSumPerpetual { get; set; } + + /// + /// <p>Date and time of signature</p> + /// + /// <p>Date and time of signature</p> + [DataMember(Name="timestamp", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult Timestamp { get; set; } + + /// + /// <p>ESD serial number</p> + /// + /// <p>ESD serial number</p> + [DataMember(Name="esdId", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult EsdId { get; set; } + + /// + /// <p>deprecated: as of 5.5.0. Use instead proper service to set flag<br /> A flag to indicate that the receipt was printed.</p> + /// + /// <p>deprecated: as of 5.5.0. Use instead proper service to set flag<br /> A flag to indicate that the receipt was printed.</p> + [DataMember(Name="receiptPrinted", EmitDefaultValue=false)] + public bool? ReceiptPrinted { get; set; } + + /// + /// <p>Additional extensions</p> + /// + /// <p>Additional extensions</p> + [DataMember(Name="extensions", EmitDefaultValue=false)] + public List Extensions { get; set; } + + /// + /// <p>Additional binary data extensions</p> + /// + /// <p>Additional binary data extensions</p> + [DataMember(Name="binaryDataExtensions", EmitDefaultValue=false)] + public List BinaryDataExtensions { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" FiscalDayNumber: ").Append(FiscalDayNumber).Append("\n"); + sb.Append(" FiscalPrinterId: ").Append(FiscalPrinterId).Append("\n"); + sb.Append(" FiscalReceipt: ").Append(FiscalReceipt).Append("\n"); + sb.Append(" FiscalReceiptNumber: ").Append(FiscalReceiptNumber).Append("\n"); + sb.Append(" FiscalSignature: ").Append(FiscalSignature).Append("\n"); + sb.Append(" FiscalReceiptText: ").Append(FiscalReceiptText).Append("\n"); + sb.Append(" FiscalEncodedBarcodeImage: ").Append(FiscalEncodedBarcodeImage).Append("\n"); + sb.Append(" FiscalBarcodeReference: ").Append(FiscalBarcodeReference).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" FiscalSecurity: ").Append(FiscalSecurity).Append("\n"); + sb.Append(" FiscalTaxId: ").Append(FiscalTaxId).Append("\n"); + sb.Append(" FiscalCode: ").Append(FiscalCode).Append("\n"); + sb.Append(" FiscalYear: ").Append(FiscalYear).Append("\n"); + sb.Append(" KeyVersion: ").Append(KeyVersion).Append("\n"); + sb.Append(" SignatureSumDaily: ").Append(SignatureSumDaily).Append("\n"); + sb.Append(" SignatureSumPerpetual: ").Append(SignatureSumPerpetual).Append("\n"); + sb.Append(" Timestamp: ").Append(Timestamp).Append("\n"); + sb.Append(" EsdId: ").Append(EsdId).Append("\n"); + sb.Append(" ReceiptPrinted: ").Append(ReceiptPrinted).Append("\n"); + sb.Append(" Extensions: ").Append(Extensions).Append("\n"); + sb.Append(" BinaryDataExtensions: ").Append(BinaryDataExtensions).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.FiscalDayNumber == input.FiscalDayNumber || + (this.FiscalDayNumber != null && + this.FiscalDayNumber.Equals(input.FiscalDayNumber)) + ) && + ( + this.FiscalPrinterId == input.FiscalPrinterId || + (this.FiscalPrinterId != null && + this.FiscalPrinterId.Equals(input.FiscalPrinterId)) + ) && + ( + this.FiscalReceipt == input.FiscalReceipt || + (this.FiscalReceipt != null && + this.FiscalReceipt.Equals(input.FiscalReceipt)) + ) && + ( + this.FiscalReceiptNumber == input.FiscalReceiptNumber || + (this.FiscalReceiptNumber != null && + this.FiscalReceiptNumber.Equals(input.FiscalReceiptNumber)) + ) && + ( + this.FiscalSignature == input.FiscalSignature || + (this.FiscalSignature != null && + this.FiscalSignature.Equals(input.FiscalSignature)) + ) && + ( + this.FiscalReceiptText == input.FiscalReceiptText || + (this.FiscalReceiptText != null && + this.FiscalReceiptText.Equals(input.FiscalReceiptText)) + ) && + ( + this.FiscalEncodedBarcodeImage == input.FiscalEncodedBarcodeImage || + (this.FiscalEncodedBarcodeImage != null && + this.FiscalEncodedBarcodeImage.Equals(input.FiscalEncodedBarcodeImage)) + ) && + ( + this.FiscalBarcodeReference == input.FiscalBarcodeReference || + (this.FiscalBarcodeReference != null && + this.FiscalBarcodeReference.Equals(input.FiscalBarcodeReference)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.FiscalSecurity == input.FiscalSecurity || + (this.FiscalSecurity != null && + this.FiscalSecurity.Equals(input.FiscalSecurity)) + ) && + ( + this.FiscalTaxId == input.FiscalTaxId || + (this.FiscalTaxId != null && + this.FiscalTaxId.Equals(input.FiscalTaxId)) + ) && + ( + this.FiscalCode == input.FiscalCode || + (this.FiscalCode != null && + this.FiscalCode.Equals(input.FiscalCode)) + ) && + ( + this.FiscalYear == input.FiscalYear || + (this.FiscalYear != null && + this.FiscalYear.Equals(input.FiscalYear)) + ) && + ( + this.KeyVersion == input.KeyVersion || + (this.KeyVersion != null && + this.KeyVersion.Equals(input.KeyVersion)) + ) && + ( + this.SignatureSumDaily == input.SignatureSumDaily || + (this.SignatureSumDaily != null && + this.SignatureSumDaily.Equals(input.SignatureSumDaily)) + ) && + ( + this.SignatureSumPerpetual == input.SignatureSumPerpetual || + (this.SignatureSumPerpetual != null && + this.SignatureSumPerpetual.Equals(input.SignatureSumPerpetual)) + ) && + ( + this.Timestamp == input.Timestamp || + (this.Timestamp != null && + this.Timestamp.Equals(input.Timestamp)) + ) && + ( + this.EsdId == input.EsdId || + (this.EsdId != null && + this.EsdId.Equals(input.EsdId)) + ) && + ( + this.ReceiptPrinted == input.ReceiptPrinted || + (this.ReceiptPrinted != null && + this.ReceiptPrinted.Equals(input.ReceiptPrinted)) + ) && + ( + this.Extensions == input.Extensions || + this.Extensions != null && + this.Extensions.SequenceEqual(input.Extensions) + ) && + ( + this.BinaryDataExtensions == input.BinaryDataExtensions || + this.BinaryDataExtensions != null && + this.BinaryDataExtensions.SequenceEqual(input.BinaryDataExtensions) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.FiscalDayNumber != null) + hashCode = hashCode * 59 + this.FiscalDayNumber.GetHashCode(); + if (this.FiscalPrinterId != null) + hashCode = hashCode * 59 + this.FiscalPrinterId.GetHashCode(); + if (this.FiscalReceipt != null) + hashCode = hashCode * 59 + this.FiscalReceipt.GetHashCode(); + if (this.FiscalReceiptNumber != null) + hashCode = hashCode * 59 + this.FiscalReceiptNumber.GetHashCode(); + if (this.FiscalSignature != null) + hashCode = hashCode * 59 + this.FiscalSignature.GetHashCode(); + if (this.FiscalReceiptText != null) + hashCode = hashCode * 59 + this.FiscalReceiptText.GetHashCode(); + if (this.FiscalEncodedBarcodeImage != null) + hashCode = hashCode * 59 + this.FiscalEncodedBarcodeImage.GetHashCode(); + if (this.FiscalBarcodeReference != null) + hashCode = hashCode * 59 + this.FiscalBarcodeReference.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.FiscalSecurity != null) + hashCode = hashCode * 59 + this.FiscalSecurity.GetHashCode(); + if (this.FiscalTaxId != null) + hashCode = hashCode * 59 + this.FiscalTaxId.GetHashCode(); + if (this.FiscalCode != null) + hashCode = hashCode * 59 + this.FiscalCode.GetHashCode(); + if (this.FiscalYear != null) + hashCode = hashCode * 59 + this.FiscalYear.GetHashCode(); + if (this.KeyVersion != null) + hashCode = hashCode * 59 + this.KeyVersion.GetHashCode(); + if (this.SignatureSumDaily != null) + hashCode = hashCode * 59 + this.SignatureSumDaily.GetHashCode(); + if (this.SignatureSumPerpetual != null) + hashCode = hashCode * 59 + this.SignatureSumPerpetual.GetHashCode(); + if (this.Timestamp != null) + hashCode = hashCode * 59 + this.Timestamp.GetHashCode(); + if (this.EsdId != null) + hashCode = hashCode * 59 + this.EsdId.GetHashCode(); + if (this.ReceiptPrinted != null) + hashCode = hashCode * 59 + this.ReceiptPrinted.GetHashCode(); + if (this.Extensions != null) + hashCode = hashCode * 59 + this.Extensions.GetHashCode(); + if (this.BinaryDataExtensions != null) + hashCode = hashCode * 59 + this.BinaryDataExtensions.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a3db7b07421fee10a846f47e5cbb641a8ef68fd9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddTerminalPrintoutsToTransactionRequest <p>Transport object to store a list of merchant and customer printouts .</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Collection of printouts to store on a transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest(List terminalPrintoutsLineRequests = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TerminalPrintoutsLineRequests = terminalPrintoutsLineRequests; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Collection of printouts to store on a transaction.</p> + /// + /// <p>Collection of printouts to store on a transaction.</p> + [DataMember(Name="terminalPrintoutsLineRequests", EmitDefaultValue=false)] + public List TerminalPrintoutsLineRequests { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest {\n"); + sb.Append(" TerminalPrintoutsLineRequests: ").Append(TerminalPrintoutsLineRequests).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.TerminalPrintoutsLineRequests == input.TerminalPrintoutsLineRequests || + this.TerminalPrintoutsLineRequests != null && + this.TerminalPrintoutsLineRequests.SequenceEqual(input.TerminalPrintoutsLineRequests) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TerminalPrintoutsLineRequests != null) + hashCode = hashCode * 59 + this.TerminalPrintoutsLineRequests.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..431a30515adb10c781b75eb18c691d94a8cccf41 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest.cs @@ -0,0 +1,396 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddTransactionAdditionalPrintoutsRequest <p>Request object to add additional printouts to a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// transactionId. + /// <p>A list of transaction additional printouts.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest(string transactionId = default(string), List transactionAdditionalPrintouts = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.TransactionAdditionalPrintouts = transactionAdditionalPrintouts; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets TransactionId + /// + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>A list of transaction additional printouts.</p> + /// + /// <p>A list of transaction additional printouts.</p> + [DataMember(Name="transactionAdditionalPrintouts", EmitDefaultValue=false)] + public List TransactionAdditionalPrintouts { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" TransactionAdditionalPrintouts: ").Append(TransactionAdditionalPrintouts).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.TransactionAdditionalPrintouts == input.TransactionAdditionalPrintouts || + this.TransactionAdditionalPrintouts != null && + this.TransactionAdditionalPrintouts.SequenceEqual(input.TransactionAdditionalPrintouts) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.TransactionAdditionalPrintouts != null) + hashCode = hashCode * 59 + this.TransactionAdditionalPrintouts.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6277abcb121850b4bd82c13b053650712a99ae5d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddTransactionExtensionRequest <p>Request object for adding a transaction extension to the transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p>. + /// <p>The transaction extension key to be added to transaction.</p>. + /// <p>The transaction extension value to be added to transaction.</p>. + /// <p>A flag to indicate if the transaction should be stored. The default value is false.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest(string transactionId = default(string), string extensionKey = default(string), string extensionValue = default(string), bool? storeTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.ExtensionKey = extensionKey; + this.ExtensionValue = extensionValue; + this.StoreTransaction = storeTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>The transaction extension key to be added to transaction.</p> + /// + /// <p>The transaction extension key to be added to transaction.</p> + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>The transaction extension value to be added to transaction.</p> + /// + /// <p>The transaction extension value to be added to transaction.</p> + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// <p>A flag to indicate if the transaction should be stored. The default value is false.</p> + /// + /// <p>A flag to indicate if the transaction should be stored. The default value is false.</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c90f012631b9457e941cf6c011dfd01c817794db --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddTransactionExtensionsRequest <p>Request object for adding a list of transaction extensions to the transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of AddTransactionExtensionRequest objects. To add a single transaction extension for each request object in the list.</p>. + /// <p>The identifier of the transaction where the transaction extensions should be added.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest(List requests = default(List), string transactionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Requests = requests; + this.TransactionId = transactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of AddTransactionExtensionRequest objects. To add a single transaction extension for each request object in the list.</p> + /// + /// <p>A list of AddTransactionExtensionRequest objects. To add a single transaction extension for each request object in the list.</p> + [DataMember(Name="requests", EmitDefaultValue=false)] + public List Requests { get; set; } + + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest {\n"); + sb.Append(" Requests: ").Append(Requests).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest input) + { + if (input == null) + return false; + + return + ( + this.Requests == input.Requests || + this.Requests != null && + this.Requests.SequenceEqual(input.Requests) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Requests != null) + hashCode = hashCode * 59 + this.Requests.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ba5f2fabd47ec6f7e92e2b8bf5fa108ed74514e1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AddTransactionTimerRequest <p>Request object to add transaction timer to transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>ID of the timer.<br /> 1 ... Registration timer<br /> 2 ... Payment timer</p> (required). + /// <p>Start time of the timer.</p> (required). + /// <p>Stop time of the timer.</p> (required). + /// <p>Origin of the timer.<br /> 00 ... Current transaction<br /> 01 ... taken over from suspended transaction<br /> 02 ... taken over from food order / table movement transaction<br /> 03 ... taken over from scale transaction</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest(string timerID = default(string), string startTime = default(string), string stopTime = default(string), string timerOriginTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "timerID" is required (not null) + if (timerID == null) + { + throw new InvalidDataException("timerID is a required property for ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest and cannot be null"); + } + else + { + this.TimerID = timerID; + } + // to ensure "startTime" is required (not null) + if (startTime == null) + { + throw new InvalidDataException("startTime is a required property for ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest and cannot be null"); + } + else + { + this.StartTime = startTime; + } + // to ensure "stopTime" is required (not null) + if (stopTime == null) + { + throw new InvalidDataException("stopTime is a required property for ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest and cannot be null"); + } + else + { + this.StopTime = stopTime; + } + // to ensure "timerOriginTypeCode" is required (not null) + if (timerOriginTypeCode == null) + { + throw new InvalidDataException("timerOriginTypeCode is a required property for ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest and cannot be null"); + } + else + { + this.TimerOriginTypeCode = timerOriginTypeCode; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>ID of the timer.<br /> 1 ... Registration timer<br /> 2 ... Payment timer</p> + /// + /// <p>ID of the timer.<br /> 1 ... Registration timer<br /> 2 ... Payment timer</p> + [DataMember(Name="timerID", EmitDefaultValue=false)] + public string TimerID { get; set; } + + /// + /// <p>Start time of the timer.</p> + /// + /// <p>Start time of the timer.</p> + [DataMember(Name="startTime", EmitDefaultValue=false)] + public string StartTime { get; set; } + + /// + /// <p>Stop time of the timer.</p> + /// + /// <p>Stop time of the timer.</p> + [DataMember(Name="stopTime", EmitDefaultValue=false)] + public string StopTime { get; set; } + + /// + /// <p>Origin of the timer.<br /> 00 ... Current transaction<br /> 01 ... taken over from suspended transaction<br /> 02 ... taken over from food order / table movement transaction<br /> 03 ... taken over from scale transaction</p> + /// + /// <p>Origin of the timer.<br /> 00 ... Current transaction<br /> 01 ... taken over from suspended transaction<br /> 02 ... taken over from food order / table movement transaction<br /> 03 ... taken over from scale transaction</p> + [DataMember(Name="timerOriginTypeCode", EmitDefaultValue=false)] + public string TimerOriginTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest {\n"); + sb.Append(" TimerID: ").Append(TimerID).Append("\n"); + sb.Append(" StartTime: ").Append(StartTime).Append("\n"); + sb.Append(" StopTime: ").Append(StopTime).Append("\n"); + sb.Append(" TimerOriginTypeCode: ").Append(TimerOriginTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest input) + { + if (input == null) + return false; + + return + ( + this.TimerID == input.TimerID || + (this.TimerID != null && + this.TimerID.Equals(input.TimerID)) + ) && + ( + this.StartTime == input.StartTime || + (this.StartTime != null && + this.StartTime.Equals(input.StartTime)) + ) && + ( + this.StopTime == input.StopTime || + (this.StopTime != null && + this.StopTime.Equals(input.StopTime)) + ) && + ( + this.TimerOriginTypeCode == input.TimerOriginTypeCode || + (this.TimerOriginTypeCode != null && + this.TimerOriginTypeCode.Equals(input.TimerOriginTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TimerID != null) + hashCode = hashCode * 59 + this.TimerID.GetHashCode(); + if (this.StartTime != null) + hashCode = hashCode * 59 + this.StartTime.GetHashCode(); + if (this.StopTime != null) + hashCode = hashCode * 59 + this.StopTime.GetHashCode(); + if (this.TimerOriginTypeCode != null) + hashCode = hashCode * 59 + this.TimerOriginTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5874645664a8aad2843ed8e14ae6b15aef08ce59 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AlternativeTaxRequest <p>Request object for alternative tax.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The alternative tax informations for updating the tax group.</p> (required). + /// <p>A flag to indicate the recalculation of taxes.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), bool? calculateTax = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "alternativeTaxInfos" is required (not null) + if (alternativeTaxInfos == null) + { + throw new InvalidDataException("alternativeTaxInfos is a required property for ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest and cannot be null"); + } + else + { + this.AlternativeTaxInfos = alternativeTaxInfos; + } + // to ensure "calculateTax" is required (not null) + if (calculateTax == null) + { + throw new InvalidDataException("calculateTax is a required property for ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest and cannot be null"); + } + else + { + this.CalculateTax = calculateTax; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>A flag to indicate the recalculation of taxes.</p> + /// + /// <p>A flag to indicate the recalculation of taxes.</p> + [DataMember(Name="calculateTax", EmitDefaultValue=false)] + public bool? CalculateTax { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest {\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" CalculateTax: ").Append(CalculateTax).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest input) + { + if (input == null) + return false; + + return + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.CalculateTax == input.CalculateTax || + (this.CalculateTax != null && + this.CalculateTax.Equals(input.CalculateTax)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.CalculateTax != null) + hashCode = hashCode * 59 + this.CalculateTax.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a1b3d9ef53293558c3b0eeca96a426f6ad6bf145 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CalculateReturnUnitPricesRequest <p>Request object to calculate return unit prices during payment end.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The condition split configuration.</p>. + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig conditionSplitConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig), List manualDiscountTypes = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.ConditionSplitConfig = conditionSplitConfig; + this.ManualDiscountTypes = manualDiscountTypes; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The condition split configuration.</p> + /// + /// <p>The condition split configuration.</p> + [DataMember(Name="conditionSplitConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig ConditionSplitConfig { get; set; } + + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + [DataMember(Name="manualDiscountTypes", EmitDefaultValue=false)] + public List ManualDiscountTypes { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" ConditionSplitConfig: ").Append(ConditionSplitConfig).Append("\n"); + sb.Append(" ManualDiscountTypes: ").Append(ManualDiscountTypes).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.ConditionSplitConfig == input.ConditionSplitConfig || + (this.ConditionSplitConfig != null && + this.ConditionSplitConfig.Equals(input.ConditionSplitConfig)) + ) && + ( + this.ManualDiscountTypes == input.ManualDiscountTypes || + this.ManualDiscountTypes != null && + this.ManualDiscountTypes.SequenceEqual(input.ManualDiscountTypes) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.ConditionSplitConfig != null) + hashCode = hashCode * 59 + this.ConditionSplitConfig.GetHashCode(); + if (this.ManualDiscountTypes != null) + hashCode = hashCode * 59 + this.ManualDiscountTypes.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b846dacadd930288245a3d2cf8a167e026b99c96 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CancelAllExternalLineItemsRequest <p>Request object to cancel all external line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The name of the calling process.</p>. + /// <p>Indicates whether service should be started in training mode.</p>. + /// <p>The header object which should be used (and is needed) for the couponing service request</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string callingProcess = default(string), bool? trainingMode = default(bool?), ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData couponingServiceHeader = default(ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.CallingProcess = callingProcess; + this.TrainingMode = trainingMode; + this.CouponingServiceHeader = couponingServiceHeader; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The name of the calling process.</p> + /// + /// <p>The name of the calling process.</p> + [DataMember(Name="callingProcess", EmitDefaultValue=false)] + public string CallingProcess { get; set; } + + /// + /// <p>Indicates whether service should be started in training mode.</p> + /// + /// <p>Indicates whether service should be started in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>The header object which should be used (and is needed) for the couponing service request</p> + /// + /// <p>The header object which should be used (and is needed) for the couponing service request</p> + [DataMember(Name="couponingServiceHeader", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData CouponingServiceHeader { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" CallingProcess: ").Append(CallingProcess).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" CouponingServiceHeader: ").Append(CouponingServiceHeader).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.CallingProcess == input.CallingProcess || + (this.CallingProcess != null && + this.CallingProcess.Equals(input.CallingProcess)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.CouponingServiceHeader == input.CouponingServiceHeader || + (this.CouponingServiceHeader != null && + this.CouponingServiceHeader.Equals(input.CouponingServiceHeader)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.CallingProcess != null) + hashCode = hashCode * 59 + this.CallingProcess.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.CouponingServiceHeader != null) + hashCode = hashCode * 59 + this.CouponingServiceHeader.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..8f76f92f0d34631a7d3bd614dc11b14f142460ae --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult.cs @@ -0,0 +1,537 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CancelAllExternalLineItemsResult <p>Result object for service call to cancel all external line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>A flag to indicate that at least one loyalty points item was cancelled successful.</p>. + /// <p>A flag to indicate that at least one gift certificate was cancelled successful.</p>. + /// <p>The amount of earned frequent shopper points that could not be cancelled successful.</p> (required). + /// <p>A flag to indicate that at least one checkout coupon was canceled successful.</p>. + /// <p>A flag to indicate that at least one coupon redemption was canceled successful.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), bool? atLeastOneLoyaltyPointsItemRefunded = default(bool?), bool? atLeastOneGiftCertCancelled = default(bool?), double? failedFrequentShopperPointsEarnedAmounts = default(double?), bool? atLeastOneCheckoutCouponCanceled = default(bool?), bool? atLeastOneCouponRedemptionCanceled = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "failedFrequentShopperPointsEarnedAmounts" is required (not null) + if (failedFrequentShopperPointsEarnedAmounts == null) + { + throw new InvalidDataException("failedFrequentShopperPointsEarnedAmounts is a required property for ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult and cannot be null"); + } + else + { + this.FailedFrequentShopperPointsEarnedAmounts = failedFrequentShopperPointsEarnedAmounts; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.AtLeastOneLoyaltyPointsItemRefunded = atLeastOneLoyaltyPointsItemRefunded; + this.AtLeastOneGiftCertCancelled = atLeastOneGiftCertCancelled; + this.AtLeastOneCheckoutCouponCanceled = atLeastOneCheckoutCouponCanceled; + this.AtLeastOneCouponRedemptionCanceled = atLeastOneCouponRedemptionCanceled; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>A flag to indicate that at least one loyalty points item was cancelled successful.</p> + /// + /// <p>A flag to indicate that at least one loyalty points item was cancelled successful.</p> + [DataMember(Name="atLeastOneLoyaltyPointsItemRefunded", EmitDefaultValue=false)] + public bool? AtLeastOneLoyaltyPointsItemRefunded { get; set; } + + /// + /// <p>A flag to indicate that at least one gift certificate was cancelled successful.</p> + /// + /// <p>A flag to indicate that at least one gift certificate was cancelled successful.</p> + [DataMember(Name="atLeastOneGiftCertCancelled", EmitDefaultValue=false)] + public bool? AtLeastOneGiftCertCancelled { get; set; } + + /// + /// <p>The amount of earned frequent shopper points that could not be cancelled successful.</p> + /// + /// <p>The amount of earned frequent shopper points that could not be cancelled successful.</p> + [DataMember(Name="failedFrequentShopperPointsEarnedAmounts", EmitDefaultValue=false)] + public double? FailedFrequentShopperPointsEarnedAmounts { get; set; } + + /// + /// <p>A flag to indicate that at least one checkout coupon was canceled successful.</p> + /// + /// <p>A flag to indicate that at least one checkout coupon was canceled successful.</p> + [DataMember(Name="atLeastOneCheckoutCouponCanceled", EmitDefaultValue=false)] + public bool? AtLeastOneCheckoutCouponCanceled { get; set; } + + /// + /// <p>A flag to indicate that at least one coupon redemption was canceled successful.</p> + /// + /// <p>A flag to indicate that at least one coupon redemption was canceled successful.</p> + [DataMember(Name="atLeastOneCouponRedemptionCanceled", EmitDefaultValue=false)] + public bool? AtLeastOneCouponRedemptionCanceled { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" AtLeastOneLoyaltyPointsItemRefunded: ").Append(AtLeastOneLoyaltyPointsItemRefunded).Append("\n"); + sb.Append(" AtLeastOneGiftCertCancelled: ").Append(AtLeastOneGiftCertCancelled).Append("\n"); + sb.Append(" FailedFrequentShopperPointsEarnedAmounts: ").Append(FailedFrequentShopperPointsEarnedAmounts).Append("\n"); + sb.Append(" AtLeastOneCheckoutCouponCanceled: ").Append(AtLeastOneCheckoutCouponCanceled).Append("\n"); + sb.Append(" AtLeastOneCouponRedemptionCanceled: ").Append(AtLeastOneCouponRedemptionCanceled).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.AtLeastOneLoyaltyPointsItemRefunded == input.AtLeastOneLoyaltyPointsItemRefunded || + (this.AtLeastOneLoyaltyPointsItemRefunded != null && + this.AtLeastOneLoyaltyPointsItemRefunded.Equals(input.AtLeastOneLoyaltyPointsItemRefunded)) + ) && + ( + this.AtLeastOneGiftCertCancelled == input.AtLeastOneGiftCertCancelled || + (this.AtLeastOneGiftCertCancelled != null && + this.AtLeastOneGiftCertCancelled.Equals(input.AtLeastOneGiftCertCancelled)) + ) && + ( + this.FailedFrequentShopperPointsEarnedAmounts == input.FailedFrequentShopperPointsEarnedAmounts || + (this.FailedFrequentShopperPointsEarnedAmounts != null && + this.FailedFrequentShopperPointsEarnedAmounts.Equals(input.FailedFrequentShopperPointsEarnedAmounts)) + ) && + ( + this.AtLeastOneCheckoutCouponCanceled == input.AtLeastOneCheckoutCouponCanceled || + (this.AtLeastOneCheckoutCouponCanceled != null && + this.AtLeastOneCheckoutCouponCanceled.Equals(input.AtLeastOneCheckoutCouponCanceled)) + ) && + ( + this.AtLeastOneCouponRedemptionCanceled == input.AtLeastOneCouponRedemptionCanceled || + (this.AtLeastOneCouponRedemptionCanceled != null && + this.AtLeastOneCouponRedemptionCanceled.Equals(input.AtLeastOneCouponRedemptionCanceled)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.AtLeastOneLoyaltyPointsItemRefunded != null) + hashCode = hashCode * 59 + this.AtLeastOneLoyaltyPointsItemRefunded.GetHashCode(); + if (this.AtLeastOneGiftCertCancelled != null) + hashCode = hashCode * 59 + this.AtLeastOneGiftCertCancelled.GetHashCode(); + if (this.FailedFrequentShopperPointsEarnedAmounts != null) + hashCode = hashCode * 59 + this.FailedFrequentShopperPointsEarnedAmounts.GetHashCode(); + if (this.AtLeastOneCheckoutCouponCanceled != null) + hashCode = hashCode * 59 + this.AtLeastOneCheckoutCouponCanceled.GetHashCode(); + if (this.AtLeastOneCouponRedemptionCanceled != null) + hashCode = hashCode * 59 + this.AtLeastOneCouponRedemptionCanceled.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d9caf592b5897b1ea8dc3158370aa83ce6e3bd11 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CancelGiftCertLineItemRequest <p>The entity CancelGiftCertLineItemRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The key of the retail transaction line item.</p>. + /// <p>The transactionId</p>. + /// <p>The receiptNumber</p>. + /// <p>The callingProcess</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string transactionId = default(string), string receiptNumber = default(string), string callingProcess = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LineItemKey = lineItemKey; + this.TransactionId = transactionId; + this.ReceiptNumber = receiptNumber; + this.CallingProcess = callingProcess; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The key of the retail transaction line item.</p> + /// + /// <p>The key of the retail transaction line item.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The transactionId</p> + /// + /// <p>The transactionId</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>The receiptNumber</p> + /// + /// <p>The receiptNumber</p> + [DataMember(Name="receiptNumber", EmitDefaultValue=false)] + public string ReceiptNumber { get; set; } + + /// + /// <p>The callingProcess</p> + /// + /// <p>The callingProcess</p> + [DataMember(Name="callingProcess", EmitDefaultValue=false)] + public string CallingProcess { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" ReceiptNumber: ").Append(ReceiptNumber).Append("\n"); + sb.Append(" CallingProcess: ").Append(CallingProcess).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.ReceiptNumber == input.ReceiptNumber || + (this.ReceiptNumber != null && + this.ReceiptNumber.Equals(input.ReceiptNumber)) + ) && + ( + this.CallingProcess == input.CallingProcess || + (this.CallingProcess != null && + this.CallingProcess.Equals(input.CallingProcess)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.ReceiptNumber != null) + hashCode = hashCode * 59 + this.ReceiptNumber.GetHashCode(); + if (this.CallingProcess != null) + hashCode = hashCode * 59 + this.CallingProcess.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..df28773666ab4f7540dc7a3db30b9e46002836dd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CancelTransactionRequest <p>Request object for cancelling a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The reason.</p>. + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), bool? finalizeTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "finalizeTransaction" is required (not null) + if (finalizeTransaction == null) + { + throw new InvalidDataException("finalizeTransaction is a required property for ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest and cannot be null"); + } + else + { + this.FinalizeTransaction = finalizeTransaction; + } + this.Reason = reason; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The reason.</p> + /// + /// <p>The reason.</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + [DataMember(Name="finalizeTransaction", EmitDefaultValue=false)] + public bool? FinalizeTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest {\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" FinalizeTransaction: ").Append(FinalizeTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.FinalizeTransaction == input.FinalizeTransaction || + (this.FinalizeTransaction != null && + this.FinalizeTransaction.Equals(input.FinalizeTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.FinalizeTransaction != null) + hashCode = hashCode * 59 + this.FinalizeTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCashRefundRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCashRefundRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bf1ab67b96183ef3dfbd27d129b3893287bfadd4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCashRefundRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CashRefundRequest <p>Request object for cash refund.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCashRefundRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the transaction to refund.</p>. + /// <p>The position operation configuration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCashRefundRequest(string transactionId = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.PositionOperationConfig = positionOperationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of the transaction to refund.</p> + /// + /// <p>The identifier of the transaction to refund.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCashRefundRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCashRefundRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCashRefundRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCashRefundRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCashRefundRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d328c326af7af97ad279ee69423980d088d9357 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckPriceLimitRequest <p>Request object for checking of price limits.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The absolute price position limit.</p>. + /// <p>The percentage price position limit.</p>. + /// <p>The old price.</p>. + /// <p>The new price.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest(double? absolutePositionLimit = default(double?), double? percentPositionLimit = default(double?), double? oldPrice = default(double?), double? newPrice = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.AbsolutePositionLimit = absolutePositionLimit; + this.PercentPositionLimit = percentPositionLimit; + this.OldPrice = oldPrice; + this.NewPrice = newPrice; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The absolute price position limit.</p> + /// + /// <p>The absolute price position limit.</p> + [DataMember(Name="absolutePositionLimit", EmitDefaultValue=false)] + public double? AbsolutePositionLimit { get; set; } + + /// + /// <p>The percentage price position limit.</p> + /// + /// <p>The percentage price position limit.</p> + [DataMember(Name="percentPositionLimit", EmitDefaultValue=false)] + public double? PercentPositionLimit { get; set; } + + /// + /// <p>The old price.</p> + /// + /// <p>The old price.</p> + [DataMember(Name="oldPrice", EmitDefaultValue=false)] + public double? OldPrice { get; set; } + + /// + /// <p>The new price.</p> + /// + /// <p>The new price.</p> + [DataMember(Name="newPrice", EmitDefaultValue=false)] + public double? NewPrice { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest {\n"); + sb.Append(" AbsolutePositionLimit: ").Append(AbsolutePositionLimit).Append("\n"); + sb.Append(" PercentPositionLimit: ").Append(PercentPositionLimit).Append("\n"); + sb.Append(" OldPrice: ").Append(OldPrice).Append("\n"); + sb.Append(" NewPrice: ").Append(NewPrice).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest input) + { + if (input == null) + return false; + + return + ( + this.AbsolutePositionLimit == input.AbsolutePositionLimit || + (this.AbsolutePositionLimit != null && + this.AbsolutePositionLimit.Equals(input.AbsolutePositionLimit)) + ) && + ( + this.PercentPositionLimit == input.PercentPositionLimit || + (this.PercentPositionLimit != null && + this.PercentPositionLimit.Equals(input.PercentPositionLimit)) + ) && + ( + this.OldPrice == input.OldPrice || + (this.OldPrice != null && + this.OldPrice.Equals(input.OldPrice)) + ) && + ( + this.NewPrice == input.NewPrice || + (this.NewPrice != null && + this.NewPrice.Equals(input.NewPrice)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AbsolutePositionLimit != null) + hashCode = hashCode * 59 + this.AbsolutePositionLimit.GetHashCode(); + if (this.PercentPositionLimit != null) + hashCode = hashCode * 59 + this.PercentPositionLimit.GetHashCode(); + if (this.OldPrice != null) + hashCode = hashCode * 59 + this.OldPrice.GetHashCode(); + if (this.NewPrice != null) + hashCode = hashCode * 59 + this.NewPrice.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..622e21ec154bd1a0b62a72f6df7a620a8e2c2afe --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckQuantityInputProhibitedRequest <p>The check quantity input prohibited request object</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The pos item Id</p>. + /// <p>The business unit Id</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest(string posItemId = default(string), string businessUnitId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PosItemId = posItemId; + this.BusinessUnitId = businessUnitId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The pos item Id</p> + /// + /// <p>The pos item Id</p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>The business unit Id</p> + /// + /// <p>The business unit Id</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest {\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest input) + { + if (input == null) + return false; + + return + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..270075963f4d81b20730b08107cb7568b49f3642 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CheckTransactionVoidableRequest <p>Request object to check if a transaction is voidable.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of transaction to void.</p>. + /// <p>The allowed age of the transaction to void in days. If a receipt is older than allowed it is not voidable anymore.</p>. + /// <p>Indicates if cancellation of gift certificates is allowed.</p>. + /// <p>Indicates cancellation of receipts of other workstations is allowed or not. If only same workstation is allowed. The currentWorkstationId must match the workstation identifier in the transaction.</p>. + /// <p>The current workstation identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest(string transactionToVoidId = default(string), int? receiptAgeAllowedInDays = default(int?), bool? giftCertCancelAllowed = default(bool?), bool? onlySamePosAllowed = default(bool?), string currentWorkstationId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionToVoidId = transactionToVoidId; + this.ReceiptAgeAllowedInDays = receiptAgeAllowedInDays; + this.GiftCertCancelAllowed = giftCertCancelAllowed; + this.OnlySamePosAllowed = onlySamePosAllowed; + this.CurrentWorkstationId = currentWorkstationId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of transaction to void.</p> + /// + /// <p>The identifier of transaction to void.</p> + [DataMember(Name="transactionToVoidId", EmitDefaultValue=false)] + public string TransactionToVoidId { get; set; } + + /// + /// <p>The allowed age of the transaction to void in days. If a receipt is older than allowed it is not voidable anymore.</p> + /// + /// <p>The allowed age of the transaction to void in days. If a receipt is older than allowed it is not voidable anymore.</p> + [DataMember(Name="receiptAgeAllowedInDays", EmitDefaultValue=false)] + public int? ReceiptAgeAllowedInDays { get; set; } + + /// + /// <p>Indicates if cancellation of gift certificates is allowed.</p> + /// + /// <p>Indicates if cancellation of gift certificates is allowed.</p> + [DataMember(Name="giftCertCancelAllowed", EmitDefaultValue=false)] + public bool? GiftCertCancelAllowed { get; set; } + + /// + /// <p>Indicates cancellation of receipts of other workstations is allowed or not. If only same workstation is allowed. The currentWorkstationId must match the workstation identifier in the transaction.</p> + /// + /// <p>Indicates cancellation of receipts of other workstations is allowed or not. If only same workstation is allowed. The currentWorkstationId must match the workstation identifier in the transaction.</p> + [DataMember(Name="onlySamePosAllowed", EmitDefaultValue=false)] + public bool? OnlySamePosAllowed { get; set; } + + /// + /// <p>The current workstation identifier.</p> + /// + /// <p>The current workstation identifier.</p> + [DataMember(Name="currentWorkstationId", EmitDefaultValue=false)] + public string CurrentWorkstationId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest {\n"); + sb.Append(" TransactionToVoidId: ").Append(TransactionToVoidId).Append("\n"); + sb.Append(" ReceiptAgeAllowedInDays: ").Append(ReceiptAgeAllowedInDays).Append("\n"); + sb.Append(" GiftCertCancelAllowed: ").Append(GiftCertCancelAllowed).Append("\n"); + sb.Append(" OnlySamePosAllowed: ").Append(OnlySamePosAllowed).Append("\n"); + sb.Append(" CurrentWorkstationId: ").Append(CurrentWorkstationId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionToVoidId == input.TransactionToVoidId || + (this.TransactionToVoidId != null && + this.TransactionToVoidId.Equals(input.TransactionToVoidId)) + ) && + ( + this.ReceiptAgeAllowedInDays == input.ReceiptAgeAllowedInDays || + (this.ReceiptAgeAllowedInDays != null && + this.ReceiptAgeAllowedInDays.Equals(input.ReceiptAgeAllowedInDays)) + ) && + ( + this.GiftCertCancelAllowed == input.GiftCertCancelAllowed || + (this.GiftCertCancelAllowed != null && + this.GiftCertCancelAllowed.Equals(input.GiftCertCancelAllowed)) + ) && + ( + this.OnlySamePosAllowed == input.OnlySamePosAllowed || + (this.OnlySamePosAllowed != null && + this.OnlySamePosAllowed.Equals(input.OnlySamePosAllowed)) + ) && + ( + this.CurrentWorkstationId == input.CurrentWorkstationId || + (this.CurrentWorkstationId != null && + this.CurrentWorkstationId.Equals(input.CurrentWorkstationId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionToVoidId != null) + hashCode = hashCode * 59 + this.TransactionToVoidId.GetHashCode(); + if (this.ReceiptAgeAllowedInDays != null) + hashCode = hashCode * 59 + this.ReceiptAgeAllowedInDays.GetHashCode(); + if (this.GiftCertCancelAllowed != null) + hashCode = hashCode * 59 + this.GiftCertCancelAllowed.GetHashCode(); + if (this.OnlySamePosAllowed != null) + hashCode = hashCode * 59 + this.OnlySamePosAllowed.GetHashCode(); + if (this.CurrentWorkstationId != null) + hashCode = hashCode * 59 + this.CurrentWorkstationId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2d609d387ea59484d87a290c691ada31ff1417f0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest.cs @@ -0,0 +1,444 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ComboMealRegistrationRequest <p>Domain object for ComboMealRegistration</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Flag if line item to register is the main line item of the 'Combo Meal'</p> (required). + /// <p>The line item key of the 'Combo Meal' main line item. This field should only be set for related item registration.</p>. + /// <p>The original price of the 'Combo Meal' related line item (max(ComponentItem.currentPrice) of all standard items of the component).<br /> This field should only be set for related item registration and if the related item is an alternative item.</p>. + /// <p>Flag if 'discount shares calculation' should be processed during registration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest(bool? mainLineItem = default(bool?), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey mainLineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), double? relatedLineItemOriginalPrice = default(double?), bool? calculateDiscountShares = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "mainLineItem" is required (not null) + if (mainLineItem == null) + { + throw new InvalidDataException("mainLineItem is a required property for ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest and cannot be null"); + } + else + { + this.MainLineItem = mainLineItem; + } + this.MainLineItemKey = mainLineItemKey; + this.RelatedLineItemOriginalPrice = relatedLineItemOriginalPrice; + this.CalculateDiscountShares = calculateDiscountShares; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Flag if line item to register is the main line item of the 'Combo Meal'</p> + /// + /// <p>Flag if line item to register is the main line item of the 'Combo Meal'</p> + [DataMember(Name="mainLineItem", EmitDefaultValue=false)] + public bool? MainLineItem { get; set; } + + /// + /// <p>The line item key of the 'Combo Meal' main line item. This field should only be set for related item registration.</p> + /// + /// <p>The line item key of the 'Combo Meal' main line item. This field should only be set for related item registration.</p> + [DataMember(Name="mainLineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey MainLineItemKey { get; set; } + + /// + /// <p>The original price of the 'Combo Meal' related line item (max(ComponentItem.currentPrice) of all standard items of the component).<br /> This field should only be set for related item registration and if the related item is an alternative item.</p> + /// + /// <p>The original price of the 'Combo Meal' related line item (max(ComponentItem.currentPrice) of all standard items of the component).<br /> This field should only be set for related item registration and if the related item is an alternative item.</p> + [DataMember(Name="relatedLineItemOriginalPrice", EmitDefaultValue=false)] + public double? RelatedLineItemOriginalPrice { get; set; } + + /// + /// <p>Flag if 'discount shares calculation' should be processed during registration.</p> + /// + /// <p>Flag if 'discount shares calculation' should be processed during registration.</p> + [DataMember(Name="calculateDiscountShares", EmitDefaultValue=false)] + public bool? CalculateDiscountShares { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest {\n"); + sb.Append(" MainLineItem: ").Append(MainLineItem).Append("\n"); + sb.Append(" MainLineItemKey: ").Append(MainLineItemKey).Append("\n"); + sb.Append(" RelatedLineItemOriginalPrice: ").Append(RelatedLineItemOriginalPrice).Append("\n"); + sb.Append(" CalculateDiscountShares: ").Append(CalculateDiscountShares).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest input) + { + if (input == null) + return false; + + return + ( + this.MainLineItem == input.MainLineItem || + (this.MainLineItem != null && + this.MainLineItem.Equals(input.MainLineItem)) + ) && + ( + this.MainLineItemKey == input.MainLineItemKey || + (this.MainLineItemKey != null && + this.MainLineItemKey.Equals(input.MainLineItemKey)) + ) && + ( + this.RelatedLineItemOriginalPrice == input.RelatedLineItemOriginalPrice || + (this.RelatedLineItemOriginalPrice != null && + this.RelatedLineItemOriginalPrice.Equals(input.RelatedLineItemOriginalPrice)) + ) && + ( + this.CalculateDiscountShares == input.CalculateDiscountShares || + (this.CalculateDiscountShares != null && + this.CalculateDiscountShares.Equals(input.CalculateDiscountShares)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MainLineItem != null) + hashCode = hashCode * 59 + this.MainLineItem.GetHashCode(); + if (this.MainLineItemKey != null) + hashCode = hashCode * 59 + this.MainLineItemKey.GetHashCode(); + if (this.RelatedLineItemOriginalPrice != null) + hashCode = hashCode * 59 + this.RelatedLineItemOriginalPrice.GetHashCode(); + if (this.CalculateDiscountShares != null) + hashCode = hashCode * 59 + this.CalculateDiscountShares.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b78421ec978d4b78be69c237dc843d05bc2636b4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ConvertSuspendCodesRequest <p>Request object to convert suspend codes to transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>List of suspend codes.</p>. + /// <p>The number format pattern for prices.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest(List suspendCodes = default(List), string numberFormatPattern = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.SuspendCodes = suspendCodes; + this.NumberFormatPattern = numberFormatPattern; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>List of suspend codes.</p> + /// + /// <p>List of suspend codes.</p> + [DataMember(Name="suspendCodes", EmitDefaultValue=false)] + public List SuspendCodes { get; set; } + + /// + /// <p>The number format pattern for prices.</p> + /// + /// <p>The number format pattern for prices.</p> + [DataMember(Name="numberFormatPattern", EmitDefaultValue=false)] + public string NumberFormatPattern { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest {\n"); + sb.Append(" SuspendCodes: ").Append(SuspendCodes).Append("\n"); + sb.Append(" NumberFormatPattern: ").Append(NumberFormatPattern).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest input) + { + if (input == null) + return false; + + return + ( + this.SuspendCodes == input.SuspendCodes || + this.SuspendCodes != null && + this.SuspendCodes.SequenceEqual(input.SuspendCodes) + ) && + ( + this.NumberFormatPattern == input.NumberFormatPattern || + (this.NumberFormatPattern != null && + this.NumberFormatPattern.Equals(input.NumberFormatPattern)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SuspendCodes != null) + hashCode = hashCode * 59 + this.SuspendCodes.GetHashCode(); + if (this.NumberFormatPattern != null) + hashCode = hashCode * 59 + this.NumberFormatPattern.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..3b7e169e7105a01bd7a7e153556625a21c85b338 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ConvertSuspendCodesResponse <p>Response object from convert suspend codes function.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Transaction created with information from code.</p>. + /// <p>List of skipped items.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse(ComGkSoftwareGkrApiTxpoolDtoTransaction transactionFromConvertedSuspendCodes = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), List skippedItems = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionFromConvertedSuspendCodes = transactionFromConvertedSuspendCodes; + this.SkippedItems = skippedItems; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Transaction created with information from code.</p> + /// + /// <p>Transaction created with information from code.</p> + [DataMember(Name="transactionFromConvertedSuspendCodes", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction TransactionFromConvertedSuspendCodes { get; set; } + + /// + /// <p>List of skipped items.</p> + /// + /// <p>List of skipped items.</p> + [DataMember(Name="skippedItems", EmitDefaultValue=false)] + public List SkippedItems { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse {\n"); + sb.Append(" TransactionFromConvertedSuspendCodes: ").Append(TransactionFromConvertedSuspendCodes).Append("\n"); + sb.Append(" SkippedItems: ").Append(SkippedItems).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse input) + { + if (input == null) + return false; + + return + ( + this.TransactionFromConvertedSuspendCodes == input.TransactionFromConvertedSuspendCodes || + (this.TransactionFromConvertedSuspendCodes != null && + this.TransactionFromConvertedSuspendCodes.Equals(input.TransactionFromConvertedSuspendCodes)) + ) && + ( + this.SkippedItems == input.SkippedItems || + this.SkippedItems != null && + this.SkippedItems.SequenceEqual(input.SkippedItems) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionFromConvertedSuspendCodes != null) + hashCode = hashCode * 59 + this.TransactionFromConvertedSuspendCodes.GetHashCode(); + if (this.SkippedItems != null) + hashCode = hashCode * 59 + this.SkippedItems.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a5231d332b9331e18b81c87d5090911cdbe5c827 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest.cs @@ -0,0 +1,533 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateDownpaymentLineItemRequest <p>Request object for creating a CreateDownpaymentLineItem</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The external customerOrderID</p>. + /// <p>The salesOrder typeCode</p>. + /// <p>The receipt amount</p>. + /// <p>The documentInfos</p>. + /// <p>{@link com.gk_software.pos.api.service.transaction.SaleReturnLineItemDataRequest} data</p>. + /// <p>The language different</p>. + /// <p>PositionOperationConfig</p>. + /// <p>Indicates whether the transaction should be recalculated. Default value is 'true'.</p>. + /// <p>Indicates whether the transaction should be stored. Default value is 'true'.</p>. + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest(string externalCustomerOrderID = default(string), string salesOrderTypeCode = default(string), string receiptAmount = default(string), List documentInfos = default(List), ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest saleReturnLineItemDataRequest = default(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest), bool? languageDifferent = default(bool?), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? recalculateTransaction = default(bool?), bool? storeTransaction = default(bool?), string entryMethodCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ExternalCustomerOrderID = externalCustomerOrderID; + this.SalesOrderTypeCode = salesOrderTypeCode; + this.ReceiptAmount = receiptAmount; + this.DocumentInfos = documentInfos; + this.SaleReturnLineItemDataRequest = saleReturnLineItemDataRequest; + this.LanguageDifferent = languageDifferent; + this.OperationConfiguration = operationConfiguration; + this.RecalculateTransaction = recalculateTransaction; + this.StoreTransaction = storeTransaction; + this.EntryMethodCode = entryMethodCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The external customerOrderID</p> + /// + /// <p>The external customerOrderID</p> + [DataMember(Name="externalCustomerOrderID", EmitDefaultValue=false)] + public string ExternalCustomerOrderID { get; set; } + + /// + /// <p>The salesOrder typeCode</p> + /// + /// <p>The salesOrder typeCode</p> + [DataMember(Name="salesOrderTypeCode", EmitDefaultValue=false)] + public string SalesOrderTypeCode { get; set; } + + /// + /// <p>The receipt amount</p> + /// + /// <p>The receipt amount</p> + [DataMember(Name="receiptAmount", EmitDefaultValue=false)] + public string ReceiptAmount { get; set; } + + /// + /// <p>The documentInfos</p> + /// + /// <p>The documentInfos</p> + [DataMember(Name="documentInfos", EmitDefaultValue=false)] + public List DocumentInfos { get; set; } + + /// + /// <p>{@link com.gk_software.pos.api.service.transaction.SaleReturnLineItemDataRequest} data</p> + /// + /// <p>{@link com.gk_software.pos.api.service.transaction.SaleReturnLineItemDataRequest} data</p> + [DataMember(Name="saleReturnLineItemDataRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest SaleReturnLineItemDataRequest { get; set; } + + /// + /// <p>The language different</p> + /// + /// <p>The language different</p> + [DataMember(Name="languageDifferent", EmitDefaultValue=false)] + public bool? LanguageDifferent { get; set; } + + /// + /// <p>PositionOperationConfig</p> + /// + /// <p>PositionOperationConfig</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>Indicates whether the transaction should be recalculated. Default value is 'true'.</p> + /// + /// <p>Indicates whether the transaction should be recalculated. Default value is 'true'.</p> + [DataMember(Name="recalculateTransaction", EmitDefaultValue=false)] + public bool? RecalculateTransaction { get; set; } + + /// + /// <p>Indicates whether the transaction should be stored. Default value is 'true'.</p> + /// + /// <p>Indicates whether the transaction should be stored. Default value is 'true'.</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest {\n"); + sb.Append(" ExternalCustomerOrderID: ").Append(ExternalCustomerOrderID).Append("\n"); + sb.Append(" SalesOrderTypeCode: ").Append(SalesOrderTypeCode).Append("\n"); + sb.Append(" ReceiptAmount: ").Append(ReceiptAmount).Append("\n"); + sb.Append(" DocumentInfos: ").Append(DocumentInfos).Append("\n"); + sb.Append(" SaleReturnLineItemDataRequest: ").Append(SaleReturnLineItemDataRequest).Append("\n"); + sb.Append(" LanguageDifferent: ").Append(LanguageDifferent).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" RecalculateTransaction: ").Append(RecalculateTransaction).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.ExternalCustomerOrderID == input.ExternalCustomerOrderID || + (this.ExternalCustomerOrderID != null && + this.ExternalCustomerOrderID.Equals(input.ExternalCustomerOrderID)) + ) && + ( + this.SalesOrderTypeCode == input.SalesOrderTypeCode || + (this.SalesOrderTypeCode != null && + this.SalesOrderTypeCode.Equals(input.SalesOrderTypeCode)) + ) && + ( + this.ReceiptAmount == input.ReceiptAmount || + (this.ReceiptAmount != null && + this.ReceiptAmount.Equals(input.ReceiptAmount)) + ) && + ( + this.DocumentInfos == input.DocumentInfos || + this.DocumentInfos != null && + this.DocumentInfos.SequenceEqual(input.DocumentInfos) + ) && + ( + this.SaleReturnLineItemDataRequest == input.SaleReturnLineItemDataRequest || + (this.SaleReturnLineItemDataRequest != null && + this.SaleReturnLineItemDataRequest.Equals(input.SaleReturnLineItemDataRequest)) + ) && + ( + this.LanguageDifferent == input.LanguageDifferent || + (this.LanguageDifferent != null && + this.LanguageDifferent.Equals(input.LanguageDifferent)) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.RecalculateTransaction == input.RecalculateTransaction || + (this.RecalculateTransaction != null && + this.RecalculateTransaction.Equals(input.RecalculateTransaction)) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExternalCustomerOrderID != null) + hashCode = hashCode * 59 + this.ExternalCustomerOrderID.GetHashCode(); + if (this.SalesOrderTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderTypeCode.GetHashCode(); + if (this.ReceiptAmount != null) + hashCode = hashCode * 59 + this.ReceiptAmount.GetHashCode(); + if (this.DocumentInfos != null) + hashCode = hashCode * 59 + this.DocumentInfos.GetHashCode(); + if (this.SaleReturnLineItemDataRequest != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemDataRequest.GetHashCode(); + if (this.LanguageDifferent != null) + hashCode = hashCode * 59 + this.LanguageDifferent.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.RecalculateTransaction != null) + hashCode = hashCode * 59 + this.RecalculateTransaction.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..618bd4c8a565c3ac41ba5c45b2b1b82194692f3a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest.cs @@ -0,0 +1,395 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateDrawerAccountsRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// tenderRegistration. + /// manualChange. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest(ComGkSoftwarePosApiModelDomAppTenderTenderRegistration tenderRegistration = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistration), double? manualChange = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TenderRegistration = tenderRegistration; + this.ManualChange = manualChange; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets TenderRegistration + /// + [DataMember(Name="tenderRegistration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistration TenderRegistration { get; set; } + + /// + /// Gets or Sets ManualChange + /// + [DataMember(Name="manualChange", EmitDefaultValue=false)] + public double? ManualChange { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest {\n"); + sb.Append(" TenderRegistration: ").Append(TenderRegistration).Append("\n"); + sb.Append(" ManualChange: ").Append(ManualChange).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest input) + { + if (input == null) + return false; + + return + ( + this.TenderRegistration == input.TenderRegistration || + (this.TenderRegistration != null && + this.TenderRegistration.Equals(input.TenderRegistration)) + ) && + ( + this.ManualChange == input.ManualChange || + (this.ManualChange != null && + this.ManualChange.Equals(input.ManualChange)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderRegistration != null) + hashCode = hashCode * 59 + this.TenderRegistration.GetHashCode(); + if (this.ManualChange != null) + hashCode = hashCode * 59 + this.ManualChange.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..95fc0778a58e52c8f2da19fd7fdff499a568f4f0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest.cs @@ -0,0 +1,478 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateFailFiscalTransactionRequest <p>Request object to create a fiscal fail transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The fiscalization data that should be added to the fiscal fail transaction.</p> (required). + /// <p>The identifier of the original transaction for that the fiscal fail transaction should be created.</p>. + /// <p>The retail store identifier.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The client version.</p>. + /// <p>The operator identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest(ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest fiscalizationData = default(ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest), string originalTransactionID = default(string), string retailStoreId = default(string), string workstationId = default(string), string clientVersion = default(string), string operatorId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "fiscalizationData" is required (not null) + if (fiscalizationData == null) + { + throw new InvalidDataException("fiscalizationData is a required property for ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest and cannot be null"); + } + else + { + this.FiscalizationData = fiscalizationData; + } + this.OriginalTransactionID = originalTransactionID; + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.ClientVersion = clientVersion; + this.OperatorId = operatorId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The fiscalization data that should be added to the fiscal fail transaction.</p> + /// + /// <p>The fiscalization data that should be added to the fiscal fail transaction.</p> + [DataMember(Name="fiscalizationData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest FiscalizationData { get; set; } + + /// + /// <p>The identifier of the original transaction for that the fiscal fail transaction should be created.</p> + /// + /// <p>The identifier of the original transaction for that the fiscal fail transaction should be created.</p> + [DataMember(Name="originalTransactionID", EmitDefaultValue=false)] + public string OriginalTransactionID { get; set; } + + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest {\n"); + sb.Append(" FiscalizationData: ").Append(FiscalizationData).Append("\n"); + sb.Append(" OriginalTransactionID: ").Append(OriginalTransactionID).Append("\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.FiscalizationData == input.FiscalizationData || + (this.FiscalizationData != null && + this.FiscalizationData.Equals(input.FiscalizationData)) + ) && + ( + this.OriginalTransactionID == input.OriginalTransactionID || + (this.OriginalTransactionID != null && + this.OriginalTransactionID.Equals(input.OriginalTransactionID)) + ) && + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FiscalizationData != null) + hashCode = hashCode * 59 + this.FiscalizationData.GetHashCode(); + if (this.OriginalTransactionID != null) + hashCode = hashCode * 59 + this.OriginalTransactionID.GetHashCode(); + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c558e8ed95a8ab07c8c3c4953b247ef17568140 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateInvoicePaymentLineItemRequest <p>Request object for creating a InvoicePaymentLineItem</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The operation configuration.</p>. + /// <p>The saleReturnLineItemData request</p>. + /// <p>The customer receipt text.</p>. + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest saleReturnLineItemDataRequest = default(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest), string customerReceiptText = default(string), string entryMethodCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OperationConfiguration = operationConfiguration; + this.SaleReturnLineItemDataRequest = saleReturnLineItemDataRequest; + this.CustomerReceiptText = customerReceiptText; + this.EntryMethodCode = entryMethodCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The saleReturnLineItemData request</p> + /// + /// <p>The saleReturnLineItemData request</p> + [DataMember(Name="saleReturnLineItemDataRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest SaleReturnLineItemDataRequest { get; set; } + + /// + /// <p>The customer receipt text.</p> + /// + /// <p>The customer receipt text.</p> + [DataMember(Name="customerReceiptText", EmitDefaultValue=false)] + public string CustomerReceiptText { get; set; } + + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" SaleReturnLineItemDataRequest: ").Append(SaleReturnLineItemDataRequest).Append("\n"); + sb.Append(" CustomerReceiptText: ").Append(CustomerReceiptText).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.SaleReturnLineItemDataRequest == input.SaleReturnLineItemDataRequest || + (this.SaleReturnLineItemDataRequest != null && + this.SaleReturnLineItemDataRequest.Equals(input.SaleReturnLineItemDataRequest)) + ) && + ( + this.CustomerReceiptText == input.CustomerReceiptText || + (this.CustomerReceiptText != null && + this.CustomerReceiptText.Equals(input.CustomerReceiptText)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.SaleReturnLineItemDataRequest != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemDataRequest.GetHashCode(); + if (this.CustomerReceiptText != null) + hashCode = hashCode * 59 + this.CustomerReceiptText.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6afa7337d1a7ff37b54bc671fe7897f7577f4f90 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest.cs @@ -0,0 +1,527 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateLineItemRequest <p>The entity CreateLineItemRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest : IEquatable, IValidatableObject + { + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum SellerRelationMethodEnum + { + + /// + /// Enum CurrentLineItemOnly for value: CurrentLineItemOnly + /// + [EnumMember(Value = "CurrentLineItemOnly")] + CurrentLineItemOnly = 1, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentTransaction for value: CurrentAndFollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentTransaction")] + CurrentAndFollowingLineItemsOfCurrentTransaction = 2, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions for value: CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions")] + CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions = 3, + + /// + /// Enum AllLineItemsOfCurrentTransaction for value: AllLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "AllLineItemsOfCurrentTransaction")] + AllLineItemsOfCurrentTransaction = 4, + + /// + /// Enum FollowingLineItemsOfCurrentTransaction for value: FollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentTransaction")] + FollowingLineItemsOfCurrentTransaction = 5, + + /// + /// Enum FollowingLineItemsOfCurrentAndFollowingTransactions for value: FollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentAndFollowingTransactions")] + FollowingLineItemsOfCurrentAndFollowingTransactions = 6 + } + + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + [DataMember(Name="sellerRelationMethod", EmitDefaultValue=false)] + public SellerRelationMethodEnum? SellerRelationMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operationConfiguration</p>. + /// <p>The customerReceiptText</p>. + /// <p>The saleReturnLineItemRequestData</p>. + /// <p>The tenderRequestData</p>. + /// <p>Map&lt;String,String&gt; map for additional parameters for retailLineItem</p>. + /// <p>String to store seller Id</p>. + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string customerReceiptText = default(string), ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest saleReturnLineItemRequestData = default(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest), ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest tenderRequestData = default(ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest), Dictionary additionalParameterMap = default(Dictionary), string sellerId = default(string), SellerRelationMethodEnum? sellerRelationMethod = default(SellerRelationMethodEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OperationConfiguration = operationConfiguration; + this.CustomerReceiptText = customerReceiptText; + this.SaleReturnLineItemRequestData = saleReturnLineItemRequestData; + this.TenderRequestData = tenderRequestData; + this.AdditionalParameterMap = additionalParameterMap; + this.SellerId = sellerId; + this.SellerRelationMethod = sellerRelationMethod; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operationConfiguration</p> + /// + /// <p>The operationConfiguration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The customerReceiptText</p> + /// + /// <p>The customerReceiptText</p> + [DataMember(Name="customerReceiptText", EmitDefaultValue=false)] + public string CustomerReceiptText { get; set; } + + /// + /// <p>The saleReturnLineItemRequestData</p> + /// + /// <p>The saleReturnLineItemRequestData</p> + [DataMember(Name="saleReturnLineItemRequestData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest SaleReturnLineItemRequestData { get; set; } + + /// + /// <p>The tenderRequestData</p> + /// + /// <p>The tenderRequestData</p> + [DataMember(Name="tenderRequestData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest TenderRequestData { get; set; } + + /// + /// <p>Map&lt;String,String&gt; map for additional parameters for retailLineItem</p> + /// + /// <p>Map&lt;String,String&gt; map for additional parameters for retailLineItem</p> + [DataMember(Name="additionalParameterMap", EmitDefaultValue=false)] + public Dictionary AdditionalParameterMap { get; set; } + + /// + /// <p>String to store seller Id</p> + /// + /// <p>String to store seller Id</p> + [DataMember(Name="sellerId", EmitDefaultValue=false)] + public string SellerId { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" CustomerReceiptText: ").Append(CustomerReceiptText).Append("\n"); + sb.Append(" SaleReturnLineItemRequestData: ").Append(SaleReturnLineItemRequestData).Append("\n"); + sb.Append(" TenderRequestData: ").Append(TenderRequestData).Append("\n"); + sb.Append(" AdditionalParameterMap: ").Append(AdditionalParameterMap).Append("\n"); + sb.Append(" SellerId: ").Append(SellerId).Append("\n"); + sb.Append(" SellerRelationMethod: ").Append(SellerRelationMethod).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.CustomerReceiptText == input.CustomerReceiptText || + (this.CustomerReceiptText != null && + this.CustomerReceiptText.Equals(input.CustomerReceiptText)) + ) && + ( + this.SaleReturnLineItemRequestData == input.SaleReturnLineItemRequestData || + (this.SaleReturnLineItemRequestData != null && + this.SaleReturnLineItemRequestData.Equals(input.SaleReturnLineItemRequestData)) + ) && + ( + this.TenderRequestData == input.TenderRequestData || + (this.TenderRequestData != null && + this.TenderRequestData.Equals(input.TenderRequestData)) + ) && + ( + this.AdditionalParameterMap == input.AdditionalParameterMap || + this.AdditionalParameterMap != null && + this.AdditionalParameterMap.SequenceEqual(input.AdditionalParameterMap) + ) && + ( + this.SellerId == input.SellerId || + (this.SellerId != null && + this.SellerId.Equals(input.SellerId)) + ) && + ( + this.SellerRelationMethod == input.SellerRelationMethod || + (this.SellerRelationMethod != null && + this.SellerRelationMethod.Equals(input.SellerRelationMethod)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.CustomerReceiptText != null) + hashCode = hashCode * 59 + this.CustomerReceiptText.GetHashCode(); + if (this.SaleReturnLineItemRequestData != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemRequestData.GetHashCode(); + if (this.TenderRequestData != null) + hashCode = hashCode * 59 + this.TenderRequestData.GetHashCode(); + if (this.AdditionalParameterMap != null) + hashCode = hashCode * 59 + this.AdditionalParameterMap.GetHashCode(); + if (this.SellerId != null) + hashCode = hashCode * 59 + this.SellerId.GetHashCode(); + if (this.SellerRelationMethod != null) + hashCode = hashCode * 59 + this.SellerRelationMethod.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7f3aab1daeed7e67a7345a94bbf087a59f085b6f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateSuspendCodeRequest <p>Request object to create suspend code from transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Transaction from which will be created suspend code.</p>. + /// <p>Max size of one created 2D code.</p>. + /// <p>Version of created code.</p>. + /// <p>Entered or generated suspend number.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), int? maxSizeOf2DCode = default(int?), string codeVersion = default(string), string suspendNumber = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Transaction = transaction; + this.MaxSizeOf2DCode = maxSizeOf2DCode; + this.CodeVersion = codeVersion; + this.SuspendNumber = suspendNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Transaction from which will be created suspend code.</p> + /// + /// <p>Transaction from which will be created suspend code.</p> + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// <p>Max size of one created 2D code.</p> + /// + /// <p>Max size of one created 2D code.</p> + [DataMember(Name="maxSizeOf2DCode", EmitDefaultValue=false)] + public int? MaxSizeOf2DCode { get; set; } + + /// + /// <p>Version of created code.</p> + /// + /// <p>Version of created code.</p> + [DataMember(Name="codeVersion", EmitDefaultValue=false)] + public string CodeVersion { get; set; } + + /// + /// <p>Entered or generated suspend number.</p> + /// + /// <p>Entered or generated suspend number.</p> + [DataMember(Name="suspendNumber", EmitDefaultValue=false)] + public string SuspendNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" MaxSizeOf2DCode: ").Append(MaxSizeOf2DCode).Append("\n"); + sb.Append(" CodeVersion: ").Append(CodeVersion).Append("\n"); + sb.Append(" SuspendNumber: ").Append(SuspendNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.MaxSizeOf2DCode == input.MaxSizeOf2DCode || + (this.MaxSizeOf2DCode != null && + this.MaxSizeOf2DCode.Equals(input.MaxSizeOf2DCode)) + ) && + ( + this.CodeVersion == input.CodeVersion || + (this.CodeVersion != null && + this.CodeVersion.Equals(input.CodeVersion)) + ) && + ( + this.SuspendNumber == input.SuspendNumber || + (this.SuspendNumber != null && + this.SuspendNumber.Equals(input.SuspendNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.MaxSizeOf2DCode != null) + hashCode = hashCode * 59 + this.MaxSizeOf2DCode.GetHashCode(); + if (this.CodeVersion != null) + hashCode = hashCode * 59 + this.CodeVersion.GetHashCode(); + if (this.SuspendNumber != null) + hashCode = hashCode * 59 + this.SuspendNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..034401dedd1c8be1079e85dc0a431d8620ca3934 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateTransactionLineItemAssociationRequest <p>Request object to create a retail transaction line item association.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key of the from line item.</p>. + /// <p>The line item key of the to line item.</p>. + /// <p>The line item association type code.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey fromLineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey toLineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string lineItemAssociationTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.FromLineItemKey = fromLineItemKey; + this.ToLineItemKey = toLineItemKey; + this.LineItemAssociationTypeCode = lineItemAssociationTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key of the from line item.</p> + /// + /// <p>The line item key of the from line item.</p> + [DataMember(Name="fromLineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey FromLineItemKey { get; set; } + + /// + /// <p>The line item key of the to line item.</p> + /// + /// <p>The line item key of the to line item.</p> + [DataMember(Name="toLineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey ToLineItemKey { get; set; } + + /// + /// <p>The line item association type code.</p> + /// + /// <p>The line item association type code.</p> + [DataMember(Name="lineItemAssociationTypeCode", EmitDefaultValue=false)] + public string LineItemAssociationTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest {\n"); + sb.Append(" FromLineItemKey: ").Append(FromLineItemKey).Append("\n"); + sb.Append(" ToLineItemKey: ").Append(ToLineItemKey).Append("\n"); + sb.Append(" LineItemAssociationTypeCode: ").Append(LineItemAssociationTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest input) + { + if (input == null) + return false; + + return + ( + this.FromLineItemKey == input.FromLineItemKey || + (this.FromLineItemKey != null && + this.FromLineItemKey.Equals(input.FromLineItemKey)) + ) && + ( + this.ToLineItemKey == input.ToLineItemKey || + (this.ToLineItemKey != null && + this.ToLineItemKey.Equals(input.ToLineItemKey)) + ) && + ( + this.LineItemAssociationTypeCode == input.LineItemAssociationTypeCode || + (this.LineItemAssociationTypeCode != null && + this.LineItemAssociationTypeCode.Equals(input.LineItemAssociationTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FromLineItemKey != null) + hashCode = hashCode * 59 + this.FromLineItemKey.GetHashCode(); + if (this.ToLineItemKey != null) + hashCode = hashCode * 59 + this.ToLineItemKey.GetHashCode(); + if (this.LineItemAssociationTypeCode != null) + hashCode = hashCode * 59 + this.LineItemAssociationTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..01b68f6f350bfb9d23013092c242d0c6169a00bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateTransactionLineItemAssociationsRequest <p>Request object to create multiple retail transaction line item associations.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The list of request objects to create a single retail line item association one by one.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest(List requests = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Requests = requests; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The list of request objects to create a single retail line item association one by one.</p> + /// + /// <p>The list of request objects to create a single retail line item association one by one.</p> + [DataMember(Name="requests", EmitDefaultValue=false)] + public List Requests { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest {\n"); + sb.Append(" Requests: ").Append(Requests).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest input) + { + if (input == null) + return false; + + return + ( + this.Requests == input.Requests || + this.Requests != null && + this.Requests.SequenceEqual(input.Requests) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Requests != null) + hashCode = hashCode * 59 + this.Requests.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cf4a90f0ffb40b145ab3d63f5cdc9e4fc66a6599 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateVoidTransactionRequest <p>Request object to create a void transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the transaction to void.</p>. + /// <p>The reason code.</p>. + /// <p>The reason description.</p>. + /// <p>A flag to indicate that gift certificate cancellation is allowed.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest(string transactionToVoidId = default(string), string reasonCode = default(string), string reasonDescription = default(string), bool? giftCertCancellationAllowed = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionToVoidId = transactionToVoidId; + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.GiftCertCancellationAllowed = giftCertCancellationAllowed; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of the transaction to void.</p> + /// + /// <p>The identifier of the transaction to void.</p> + [DataMember(Name="transactionToVoidId", EmitDefaultValue=false)] + public string TransactionToVoidId { get; set; } + + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>The reason description.</p> + /// + /// <p>The reason description.</p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>A flag to indicate that gift certificate cancellation is allowed.</p> + /// + /// <p>A flag to indicate that gift certificate cancellation is allowed.</p> + [DataMember(Name="giftCertCancellationAllowed", EmitDefaultValue=false)] + public bool? GiftCertCancellationAllowed { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest {\n"); + sb.Append(" TransactionToVoidId: ").Append(TransactionToVoidId).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" GiftCertCancellationAllowed: ").Append(GiftCertCancellationAllowed).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionToVoidId == input.TransactionToVoidId || + (this.TransactionToVoidId != null && + this.TransactionToVoidId.Equals(input.TransactionToVoidId)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.GiftCertCancellationAllowed == input.GiftCertCancellationAllowed || + (this.GiftCertCancellationAllowed != null && + this.GiftCertCancellationAllowed.Equals(input.GiftCertCancellationAllowed)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionToVoidId != null) + hashCode = hashCode * 59 + this.TransactionToVoidId.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.GiftCertCancellationAllowed != null) + hashCode = hashCode * 59 + this.GiftCertCancellationAllowed.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6df08a47fa944be3e6c4617afb684cab5b6c18bb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CreateWorkerDiscountLineItemRequest <p>Request object for creating worker discounts.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The worker id.</p>. + /// <p>The receipt text for a worker discount.</p>. + /// <p>The position operation configuration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest(string workerID = default(string), string receiptText = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.WorkerID = workerID; + this.ReceiptText = receiptText; + this.OperationConfiguration = operationConfiguration; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The worker id.</p> + /// + /// <p>The worker id.</p> + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// <p>The receipt text for a worker discount.</p> + /// + /// <p>The receipt text for a worker discount.</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest {\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..10d97d8e6d1d2b6fdb11c5efac6ac52e48410beb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest.cs @@ -0,0 +1,600 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerAssignmentRequest <p>Request object for operation which assign customer to active transaction</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String : customer id</p>. + /// <p>String : customer card type</p>. + /// <p>String : customer card type description</p>. + /// <p>String : customer group id</p>. + /// <p>CustomerDO : customerDO</p>. + /// customerTenderGroup. + /// <p>CustomerData : customer data used for customer data entry process</p>. + /// <p>CustomerWebserviceResult : customer web service data</p>. + /// <p>boolean : searchFor identification number</p>. + /// <p>String : customer iD entry method code</p>. + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:</p><br /><ul><br /> <li>CLIENT - Printout depends on client settings.</li><br /> <li>PRINTONLY - Customer wants to have a printed receipt.</li><br /> <li>MAILONLY - Customer wants to have the receipt per mail.</li><br /> <li>NOTHING - Customer wants to have nothing.</li><br /> <li>PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</li><br /></ul>. + /// <p>The organization name</p>. + /// <p>The data provider id</p>. + /// <p>It specifies if the customer is a dummy/unknown customer </p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest(string customerId = default(string), string customerCardType = default(string), string customerCardTypeDescription = default(string), string customerGroupId = default(string), ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO customerDO = default(ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO), ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO customerTenderGroup = default(ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO), ComGkSoftwarePosFlowLibsCustomerCustomerData customerData = default(ComGkSoftwarePosFlowLibsCustomerCustomerData), ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult customerWebServiceData = default(ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult), bool? searchForIdentificationNumber = default(bool?), string customerIDEntryMethodCode = default(string), string preferredReceiptPrintoutTypeCode = default(string), string organizationName = default(string), string dataProvider = default(string), bool? genericFlag = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerId = customerId; + this.CustomerCardType = customerCardType; + this.CustomerCardTypeDescription = customerCardTypeDescription; + this.CustomerGroupId = customerGroupId; + this.CustomerDO = customerDO; + this.CustomerTenderGroup = customerTenderGroup; + this.CustomerData = customerData; + this.CustomerWebServiceData = customerWebServiceData; + this.SearchForIdentificationNumber = searchForIdentificationNumber; + this.CustomerIDEntryMethodCode = customerIDEntryMethodCode; + this.PreferredReceiptPrintoutTypeCode = preferredReceiptPrintoutTypeCode; + this.OrganizationName = organizationName; + this.DataProvider = dataProvider; + this.GenericFlag = genericFlag; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String : customer id</p> + /// + /// <p>String : customer id</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>String : customer card type</p> + /// + /// <p>String : customer card type</p> + [DataMember(Name="customerCardType", EmitDefaultValue=false)] + public string CustomerCardType { get; set; } + + /// + /// <p>String : customer card type description</p> + /// + /// <p>String : customer card type description</p> + [DataMember(Name="customerCardTypeDescription", EmitDefaultValue=false)] + public string CustomerCardTypeDescription { get; set; } + + /// + /// <p>String : customer group id</p> + /// + /// <p>String : customer group id</p> + [DataMember(Name="customerGroupId", EmitDefaultValue=false)] + public string CustomerGroupId { get; set; } + + /// + /// <p>CustomerDO : customerDO</p> + /// + /// <p>CustomerDO : customerDO</p> + [DataMember(Name="customerDO", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO CustomerDO { get; set; } + + /// + /// Gets or Sets CustomerTenderGroup + /// + [DataMember(Name="customerTenderGroup", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO CustomerTenderGroup { get; set; } + + /// + /// <p>CustomerData : customer data used for customer data entry process</p> + /// + /// <p>CustomerData : customer data used for customer data entry process</p> + [DataMember(Name="customerData", EmitDefaultValue=false)] + public ComGkSoftwarePosFlowLibsCustomerCustomerData CustomerData { get; set; } + + /// + /// <p>CustomerWebserviceResult : customer web service data</p> + /// + /// <p>CustomerWebserviceResult : customer web service data</p> + [DataMember(Name="customerWebServiceData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult CustomerWebServiceData { get; set; } + + /// + /// <p>boolean : searchFor identification number</p> + /// + /// <p>boolean : searchFor identification number</p> + [DataMember(Name="searchForIdentificationNumber", EmitDefaultValue=false)] + public bool? SearchForIdentificationNumber { get; set; } + + /// + /// <p>String : customer iD entry method code</p> + /// + /// <p>String : customer iD entry method code</p> + [DataMember(Name="customerIDEntryMethodCode", EmitDefaultValue=false)] + public string CustomerIDEntryMethodCode { get; set; } + + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:</p><br /><ul><br /> <li>CLIENT - Printout depends on client settings.</li><br /> <li>PRINTONLY - Customer wants to have a printed receipt.</li><br /> <li>MAILONLY - Customer wants to have the receipt per mail.</li><br /> <li>NOTHING - Customer wants to have nothing.</li><br /> <li>PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</li><br /></ul> + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:</p><br /><ul><br /> <li>CLIENT - Printout depends on client settings.</li><br /> <li>PRINTONLY - Customer wants to have a printed receipt.</li><br /> <li>MAILONLY - Customer wants to have the receipt per mail.</li><br /> <li>NOTHING - Customer wants to have nothing.</li><br /> <li>PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</li><br /></ul> + [DataMember(Name="preferredReceiptPrintoutTypeCode", EmitDefaultValue=false)] + public string PreferredReceiptPrintoutTypeCode { get; set; } + + /// + /// <p>The organization name</p> + /// + /// <p>The organization name</p> + [DataMember(Name="organizationName", EmitDefaultValue=false)] + public string OrganizationName { get; set; } + + /// + /// <p>The data provider id</p> + /// + /// <p>The data provider id</p> + [DataMember(Name="dataProvider", EmitDefaultValue=false)] + public string DataProvider { get; set; } + + /// + /// <p>It specifies if the customer is a dummy/unknown customer </p> + /// + /// <p>It specifies if the customer is a dummy/unknown customer </p> + [DataMember(Name="genericFlag", EmitDefaultValue=false)] + public bool? GenericFlag { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" CustomerCardType: ").Append(CustomerCardType).Append("\n"); + sb.Append(" CustomerCardTypeDescription: ").Append(CustomerCardTypeDescription).Append("\n"); + sb.Append(" CustomerGroupId: ").Append(CustomerGroupId).Append("\n"); + sb.Append(" CustomerDO: ").Append(CustomerDO).Append("\n"); + sb.Append(" CustomerTenderGroup: ").Append(CustomerTenderGroup).Append("\n"); + sb.Append(" CustomerData: ").Append(CustomerData).Append("\n"); + sb.Append(" CustomerWebServiceData: ").Append(CustomerWebServiceData).Append("\n"); + sb.Append(" SearchForIdentificationNumber: ").Append(SearchForIdentificationNumber).Append("\n"); + sb.Append(" CustomerIDEntryMethodCode: ").Append(CustomerIDEntryMethodCode).Append("\n"); + sb.Append(" PreferredReceiptPrintoutTypeCode: ").Append(PreferredReceiptPrintoutTypeCode).Append("\n"); + sb.Append(" OrganizationName: ").Append(OrganizationName).Append("\n"); + sb.Append(" DataProvider: ").Append(DataProvider).Append("\n"); + sb.Append(" GenericFlag: ").Append(GenericFlag).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.CustomerCardType == input.CustomerCardType || + (this.CustomerCardType != null && + this.CustomerCardType.Equals(input.CustomerCardType)) + ) && + ( + this.CustomerCardTypeDescription == input.CustomerCardTypeDescription || + (this.CustomerCardTypeDescription != null && + this.CustomerCardTypeDescription.Equals(input.CustomerCardTypeDescription)) + ) && + ( + this.CustomerGroupId == input.CustomerGroupId || + (this.CustomerGroupId != null && + this.CustomerGroupId.Equals(input.CustomerGroupId)) + ) && + ( + this.CustomerDO == input.CustomerDO || + (this.CustomerDO != null && + this.CustomerDO.Equals(input.CustomerDO)) + ) && + ( + this.CustomerTenderGroup == input.CustomerTenderGroup || + (this.CustomerTenderGroup != null && + this.CustomerTenderGroup.Equals(input.CustomerTenderGroup)) + ) && + ( + this.CustomerData == input.CustomerData || + (this.CustomerData != null && + this.CustomerData.Equals(input.CustomerData)) + ) && + ( + this.CustomerWebServiceData == input.CustomerWebServiceData || + (this.CustomerWebServiceData != null && + this.CustomerWebServiceData.Equals(input.CustomerWebServiceData)) + ) && + ( + this.SearchForIdentificationNumber == input.SearchForIdentificationNumber || + (this.SearchForIdentificationNumber != null && + this.SearchForIdentificationNumber.Equals(input.SearchForIdentificationNumber)) + ) && + ( + this.CustomerIDEntryMethodCode == input.CustomerIDEntryMethodCode || + (this.CustomerIDEntryMethodCode != null && + this.CustomerIDEntryMethodCode.Equals(input.CustomerIDEntryMethodCode)) + ) && + ( + this.PreferredReceiptPrintoutTypeCode == input.PreferredReceiptPrintoutTypeCode || + (this.PreferredReceiptPrintoutTypeCode != null && + this.PreferredReceiptPrintoutTypeCode.Equals(input.PreferredReceiptPrintoutTypeCode)) + ) && + ( + this.OrganizationName == input.OrganizationName || + (this.OrganizationName != null && + this.OrganizationName.Equals(input.OrganizationName)) + ) && + ( + this.DataProvider == input.DataProvider || + (this.DataProvider != null && + this.DataProvider.Equals(input.DataProvider)) + ) && + ( + this.GenericFlag == input.GenericFlag || + (this.GenericFlag != null && + this.GenericFlag.Equals(input.GenericFlag)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.CustomerCardType != null) + hashCode = hashCode * 59 + this.CustomerCardType.GetHashCode(); + if (this.CustomerCardTypeDescription != null) + hashCode = hashCode * 59 + this.CustomerCardTypeDescription.GetHashCode(); + if (this.CustomerGroupId != null) + hashCode = hashCode * 59 + this.CustomerGroupId.GetHashCode(); + if (this.CustomerDO != null) + hashCode = hashCode * 59 + this.CustomerDO.GetHashCode(); + if (this.CustomerTenderGroup != null) + hashCode = hashCode * 59 + this.CustomerTenderGroup.GetHashCode(); + if (this.CustomerData != null) + hashCode = hashCode * 59 + this.CustomerData.GetHashCode(); + if (this.CustomerWebServiceData != null) + hashCode = hashCode * 59 + this.CustomerWebServiceData.GetHashCode(); + if (this.SearchForIdentificationNumber != null) + hashCode = hashCode * 59 + this.SearchForIdentificationNumber.GetHashCode(); + if (this.CustomerIDEntryMethodCode != null) + hashCode = hashCode * 59 + this.CustomerIDEntryMethodCode.GetHashCode(); + if (this.PreferredReceiptPrintoutTypeCode != null) + hashCode = hashCode * 59 + this.PreferredReceiptPrintoutTypeCode.GetHashCode(); + if (this.OrganizationName != null) + hashCode = hashCode * 59 + this.OrganizationName.GetHashCode(); + if (this.DataProvider != null) + hashCode = hashCode * 59 + this.DataProvider.GetHashCode(); + if (this.GenericFlag != null) + hashCode = hashCode * 59 + this.GenericFlag.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f9ba7bc704b8f1597f037d47b8f878309f0a7aa5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest.cs @@ -0,0 +1,537 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerRegistrationRequest <p>Request object for the CustomerTransactionService</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The customer identifier (customer id / party identification)</p>. + /// <p>The customer group id</p>. + /// <p>The customer card type</p>. + /// <p>The customer card number</p>. + /// <p>The customer card type description key</p>. + /// <p>In case that 'searchDatabase' setting is set to false the value of<br /> that property is used to determine where the search should be executed.<br /> Possible values are:</p><br /><ul><br /> <li>SAP_ERP (default)</li><br /> <li>SAP_CRM</li><br /> <li>VALUEPHONE</li><br /></ul>. + /// <p>Indicates whether the customer should be searched in local MD database.</p> (required). + /// <p>This parameters works only in combination with searchDatabase=true, it<br /> specifies the type of customer identifier:</p><br /><ul><br /> <li>false: search by party identification is executed</li><br /> <li>true: search by customer id is executed</li><br /></ul> (required). + /// <p>Indicates if the service was started in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest(string identifier = default(string), string customerGroupId = default(string), string customerCardType = default(string), string customerCardNumber = default(string), string customerCardTypeDescriptionKey = default(string), string useWebService = default(string), bool? searchDatabase = default(bool?), bool? searchForIdentificationNumber = default(bool?), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "searchDatabase" is required (not null) + if (searchDatabase == null) + { + throw new InvalidDataException("searchDatabase is a required property for ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest and cannot be null"); + } + else + { + this.SearchDatabase = searchDatabase; + } + // to ensure "searchForIdentificationNumber" is required (not null) + if (searchForIdentificationNumber == null) + { + throw new InvalidDataException("searchForIdentificationNumber is a required property for ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest and cannot be null"); + } + else + { + this.SearchForIdentificationNumber = searchForIdentificationNumber; + } + this.Identifier = identifier; + this.CustomerGroupId = customerGroupId; + this.CustomerCardType = customerCardType; + this.CustomerCardNumber = customerCardNumber; + this.CustomerCardTypeDescriptionKey = customerCardTypeDescriptionKey; + this.UseWebService = useWebService; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The customer identifier (customer id / party identification)</p> + /// + /// <p>The customer identifier (customer id / party identification)</p> + [DataMember(Name="identifier", EmitDefaultValue=false)] + public string Identifier { get; set; } + + /// + /// <p>The customer group id</p> + /// + /// <p>The customer group id</p> + [DataMember(Name="customerGroupId", EmitDefaultValue=false)] + public string CustomerGroupId { get; set; } + + /// + /// <p>The customer card type</p> + /// + /// <p>The customer card type</p> + [DataMember(Name="customerCardType", EmitDefaultValue=false)] + public string CustomerCardType { get; set; } + + /// + /// <p>The customer card number</p> + /// + /// <p>The customer card number</p> + [DataMember(Name="customerCardNumber", EmitDefaultValue=false)] + public string CustomerCardNumber { get; set; } + + /// + /// <p>The customer card type description key</p> + /// + /// <p>The customer card type description key</p> + [DataMember(Name="customerCardTypeDescriptionKey", EmitDefaultValue=false)] + public string CustomerCardTypeDescriptionKey { get; set; } + + /// + /// <p>In case that 'searchDatabase' setting is set to false the value of<br /> that property is used to determine where the search should be executed.<br /> Possible values are:</p><br /><ul><br /> <li>SAP_ERP (default)</li><br /> <li>SAP_CRM</li><br /> <li>VALUEPHONE</li><br /></ul> + /// + /// <p>In case that 'searchDatabase' setting is set to false the value of<br /> that property is used to determine where the search should be executed.<br /> Possible values are:</p><br /><ul><br /> <li>SAP_ERP (default)</li><br /> <li>SAP_CRM</li><br /> <li>VALUEPHONE</li><br /></ul> + [DataMember(Name="useWebService", EmitDefaultValue=false)] + public string UseWebService { get; set; } + + /// + /// <p>Indicates whether the customer should be searched in local MD database.</p> + /// + /// <p>Indicates whether the customer should be searched in local MD database.</p> + [DataMember(Name="searchDatabase", EmitDefaultValue=false)] + public bool? SearchDatabase { get; set; } + + /// + /// <p>This parameters works only in combination with searchDatabase=true, it<br /> specifies the type of customer identifier:</p><br /><ul><br /> <li>false: search by party identification is executed</li><br /> <li>true: search by customer id is executed</li><br /></ul> + /// + /// <p>This parameters works only in combination with searchDatabase=true, it<br /> specifies the type of customer identifier:</p><br /><ul><br /> <li>false: search by party identification is executed</li><br /> <li>true: search by customer id is executed</li><br /></ul> + [DataMember(Name="searchForIdentificationNumber", EmitDefaultValue=false)] + public bool? SearchForIdentificationNumber { get; set; } + + /// + /// <p>Indicates if the service was started in training mode.</p> + /// + /// <p>Indicates if the service was started in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest {\n"); + sb.Append(" Identifier: ").Append(Identifier).Append("\n"); + sb.Append(" CustomerGroupId: ").Append(CustomerGroupId).Append("\n"); + sb.Append(" CustomerCardType: ").Append(CustomerCardType).Append("\n"); + sb.Append(" CustomerCardNumber: ").Append(CustomerCardNumber).Append("\n"); + sb.Append(" CustomerCardTypeDescriptionKey: ").Append(CustomerCardTypeDescriptionKey).Append("\n"); + sb.Append(" UseWebService: ").Append(UseWebService).Append("\n"); + sb.Append(" SearchDatabase: ").Append(SearchDatabase).Append("\n"); + sb.Append(" SearchForIdentificationNumber: ").Append(SearchForIdentificationNumber).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest input) + { + if (input == null) + return false; + + return + ( + this.Identifier == input.Identifier || + (this.Identifier != null && + this.Identifier.Equals(input.Identifier)) + ) && + ( + this.CustomerGroupId == input.CustomerGroupId || + (this.CustomerGroupId != null && + this.CustomerGroupId.Equals(input.CustomerGroupId)) + ) && + ( + this.CustomerCardType == input.CustomerCardType || + (this.CustomerCardType != null && + this.CustomerCardType.Equals(input.CustomerCardType)) + ) && + ( + this.CustomerCardNumber == input.CustomerCardNumber || + (this.CustomerCardNumber != null && + this.CustomerCardNumber.Equals(input.CustomerCardNumber)) + ) && + ( + this.CustomerCardTypeDescriptionKey == input.CustomerCardTypeDescriptionKey || + (this.CustomerCardTypeDescriptionKey != null && + this.CustomerCardTypeDescriptionKey.Equals(input.CustomerCardTypeDescriptionKey)) + ) && + ( + this.UseWebService == input.UseWebService || + (this.UseWebService != null && + this.UseWebService.Equals(input.UseWebService)) + ) && + ( + this.SearchDatabase == input.SearchDatabase || + (this.SearchDatabase != null && + this.SearchDatabase.Equals(input.SearchDatabase)) + ) && + ( + this.SearchForIdentificationNumber == input.SearchForIdentificationNumber || + (this.SearchForIdentificationNumber != null && + this.SearchForIdentificationNumber.Equals(input.SearchForIdentificationNumber)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Identifier != null) + hashCode = hashCode * 59 + this.Identifier.GetHashCode(); + if (this.CustomerGroupId != null) + hashCode = hashCode * 59 + this.CustomerGroupId.GetHashCode(); + if (this.CustomerCardType != null) + hashCode = hashCode * 59 + this.CustomerCardType.GetHashCode(); + if (this.CustomerCardNumber != null) + hashCode = hashCode * 59 + this.CustomerCardNumber.GetHashCode(); + if (this.CustomerCardTypeDescriptionKey != null) + hashCode = hashCode * 59 + this.CustomerCardTypeDescriptionKey.GetHashCode(); + if (this.UseWebService != null) + hashCode = hashCode * 59 + this.UseWebService.GetHashCode(); + if (this.SearchDatabase != null) + hashCode = hashCode * 59 + this.SearchDatabase.GetHashCode(); + if (this.SearchForIdentificationNumber != null) + hashCode = hashCode * 59 + this.SearchForIdentificationNumber.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b64f33880e3bc52a739a6be587add5830801cecc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerRemovalRequest <p>Request object for operation which removes customer from active transaction</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>long : business unit group iD</p> (required). + /// <p>String : transaction iD</p> (required). + /// <p>String : customer iD</p> (required). + /// <p>String : address type code</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest(string businessUnitGroupID = default(string), string transactionID = default(string), string customerID = default(string), string addressTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "transactionID" is required (not null) + if (transactionID == null) + { + throw new InvalidDataException("transactionID is a required property for ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest and cannot be null"); + } + else + { + this.TransactionID = transactionID; + } + // to ensure "customerID" is required (not null) + if (customerID == null) + { + throw new InvalidDataException("customerID is a required property for ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest and cannot be null"); + } + else + { + this.CustomerID = customerID; + } + // to ensure "addressTypeCode" is required (not null) + if (addressTypeCode == null) + { + throw new InvalidDataException("addressTypeCode is a required property for ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest and cannot be null"); + } + else + { + this.AddressTypeCode = addressTypeCode; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>long : business unit group iD</p> + /// + /// <p>long : business unit group iD</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>String : transaction iD</p> + /// + /// <p>String : transaction iD</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>String : customer iD</p> + /// + /// <p>String : customer iD</p> + [DataMember(Name="customerID", EmitDefaultValue=false)] + public string CustomerID { get; set; } + + /// + /// <p>String : address type code</p> + /// + /// <p>String : address type code</p> + [DataMember(Name="addressTypeCode", EmitDefaultValue=false)] + public string AddressTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" CustomerID: ").Append(CustomerID).Append("\n"); + sb.Append(" AddressTypeCode: ").Append(AddressTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.CustomerID == input.CustomerID || + (this.CustomerID != null && + this.CustomerID.Equals(input.CustomerID)) + ) && + ( + this.AddressTypeCode == input.AddressTypeCode || + (this.AddressTypeCode != null && + this.AddressTypeCode.Equals(input.AddressTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.CustomerID != null) + hashCode = hashCode * 59 + this.CustomerID.GetHashCode(); + if (this.AddressTypeCode != null) + hashCode = hashCode * 59 + this.AddressTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..70f7627e61dc9cdc1c738b4a3e00fc228a781b33 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DeactivateTaxExemptRequest <p>Request object for deactivating tax exemption.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key the operation refers to.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LineItemKey = lineItemKey; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..22b26793292d4320e18c5e9ece5d2066db1d4608 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DuplicatePrintOutTransactionsRequest <p>Request object to search for duplicate printout transactions.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p>. + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p>. + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The business unit group identifier.</p>. + /// <p>The business unit identifier.</p>. + /// <p>Limits the number of found receipts to the given value.</p>. + /// <p>The identifier for the original transaction (as part of the search criteria).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest(bool? transactionIsNotVoided = default(bool?), bool? cancelledFlag = default(bool?), bool? suspendedFlag = default(bool?), string workstationID = default(string), string businessUnitGroupID = default(string), string businessUnitID = default(string), int? maxReceiptCount = default(int?), string originalTransactionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionIsNotVoided = transactionIsNotVoided; + this.CancelledFlag = cancelledFlag; + this.SuspendedFlag = suspendedFlag; + this.WorkstationID = workstationID; + this.BusinessUnitGroupID = businessUnitGroupID; + this.BusinessUnitID = businessUnitID; + this.MaxReceiptCount = maxReceiptCount; + this.OriginalTransactionId = originalTransactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + [DataMember(Name="transactionIsNotVoided", EmitDefaultValue=false)] + public bool? TransactionIsNotVoided { get; set; } + + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + [DataMember(Name="CancelledFlag", EmitDefaultValue=false)] + public bool? CancelledFlag { get; set; } + + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + [DataMember(Name="SuspendedFlag", EmitDefaultValue=false)] + public bool? SuspendedFlag { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// <p>The business unit group identifier.</p> + /// + /// <p>The business unit group identifier.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitID", EmitDefaultValue=false)] + public string BusinessUnitID { get; set; } + + /// + /// <p>Limits the number of found receipts to the given value.</p> + /// + /// <p>Limits the number of found receipts to the given value.</p> + [DataMember(Name="maxReceiptCount", EmitDefaultValue=false)] + public int? MaxReceiptCount { get; set; } + + /// + /// <p>The identifier for the original transaction (as part of the search criteria).</p> + /// + /// <p>The identifier for the original transaction (as part of the search criteria).</p> + [DataMember(Name="originalTransactionId", EmitDefaultValue=false)] + public string OriginalTransactionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest {\n"); + sb.Append(" TransactionIsNotVoided: ").Append(TransactionIsNotVoided).Append("\n"); + sb.Append(" CancelledFlag: ").Append(CancelledFlag).Append("\n"); + sb.Append(" SuspendedFlag: ").Append(SuspendedFlag).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" BusinessUnitID: ").Append(BusinessUnitID).Append("\n"); + sb.Append(" MaxReceiptCount: ").Append(MaxReceiptCount).Append("\n"); + sb.Append(" OriginalTransactionId: ").Append(OriginalTransactionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionIsNotVoided == input.TransactionIsNotVoided || + (this.TransactionIsNotVoided != null && + this.TransactionIsNotVoided.Equals(input.TransactionIsNotVoided)) + ) && + ( + this.CancelledFlag == input.CancelledFlag || + (this.CancelledFlag != null && + this.CancelledFlag.Equals(input.CancelledFlag)) + ) && + ( + this.SuspendedFlag == input.SuspendedFlag || + (this.SuspendedFlag != null && + this.SuspendedFlag.Equals(input.SuspendedFlag)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.BusinessUnitID == input.BusinessUnitID || + (this.BusinessUnitID != null && + this.BusinessUnitID.Equals(input.BusinessUnitID)) + ) && + ( + this.MaxReceiptCount == input.MaxReceiptCount || + (this.MaxReceiptCount != null && + this.MaxReceiptCount.Equals(input.MaxReceiptCount)) + ) && + ( + this.OriginalTransactionId == input.OriginalTransactionId || + (this.OriginalTransactionId != null && + this.OriginalTransactionId.Equals(input.OriginalTransactionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionIsNotVoided != null) + hashCode = hashCode * 59 + this.TransactionIsNotVoided.GetHashCode(); + if (this.CancelledFlag != null) + hashCode = hashCode * 59 + this.CancelledFlag.GetHashCode(); + if (this.SuspendedFlag != null) + hashCode = hashCode * 59 + this.SuspendedFlag.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.BusinessUnitID != null) + hashCode = hashCode * 59 + this.BusinessUnitID.GetHashCode(); + if (this.MaxReceiptCount != null) + hashCode = hashCode * 59 + this.MaxReceiptCount.GetHashCode(); + if (this.OriginalTransactionId != null) + hashCode = hashCode * 59 + this.OriginalTransactionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionEnterCouponRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionEnterCouponRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b5b275345a4bbfa083706de3200a186e64e3ec9b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionEnterCouponRequest.cs @@ -0,0 +1,509 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EnterCouponRequest <p>Request object for entering coupons.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionEnterCouponRequest : IEquatable, IValidatableObject + { + /// + /// <p>The coupon privilege type.</p> + /// + /// <p>The coupon privilege type.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum PrivilegeTypeEnum + { + + /// + /// Enum DISCOUNTPERCENT for value: DISCOUNT_PERCENT + /// + [EnumMember(Value = "DISCOUNT_PERCENT")] + DISCOUNTPERCENT = 1, + + /// + /// Enum DISCOUNTABSOLUTE for value: DISCOUNT_ABSOLUTE + /// + [EnumMember(Value = "DISCOUNT_ABSOLUTE")] + DISCOUNTABSOLUTE = 2, + + /// + /// Enum PRICEABSOLUTE for value: PRICE_ABSOLUTE + /// + [EnumMember(Value = "PRICE_ABSOLUTE")] + PRICEABSOLUTE = 3 + } + + /// + /// <p>The coupon privilege type.</p> + /// + /// <p>The coupon privilege type.</p> + [DataMember(Name="privilegeType", EmitDefaultValue=false)] + public PrivilegeTypeEnum? PrivilegeType { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The coupon number.</p>. + /// <p>The coupon privilege type.</p>. + /// <p>The coupon privilege value.</p>. + /// <p>The position operation configuration.</p>. + /// <p>The coupon serial data</p>. + /// <p>The customer id</p>. + /// <p>The customer address type code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionEnterCouponRequest(string couponNumber = default(string), PrivilegeTypeEnum? privilegeType = default(PrivilegeTypeEnum?), double? privilegeValue = default(double?), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData couponSerialData = default(ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData), string customerId = default(string), string customerAddressTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CouponNumber = couponNumber; + this.PrivilegeType = privilegeType; + this.PrivilegeValue = privilegeValue; + this.PositionOperationConfig = positionOperationConfig; + this.CouponSerialData = couponSerialData; + this.CustomerId = customerId; + this.CustomerAddressTypeCode = customerAddressTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The coupon number.</p> + /// + /// <p>The coupon number.</p> + [DataMember(Name="couponNumber", EmitDefaultValue=false)] + public string CouponNumber { get; set; } + + + /// + /// <p>The coupon privilege value.</p> + /// + /// <p>The coupon privilege value.</p> + [DataMember(Name="privilegeValue", EmitDefaultValue=false)] + public double? PrivilegeValue { get; set; } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The coupon serial data</p> + /// + /// <p>The coupon serial data</p> + [DataMember(Name="couponSerialData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData CouponSerialData { get; set; } + + /// + /// <p>The customer id</p> + /// + /// <p>The customer id</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The customer address type code</p> + /// + /// <p>The customer address type code</p> + [DataMember(Name="customerAddressTypeCode", EmitDefaultValue=false)] + public string CustomerAddressTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionEnterCouponRequest {\n"); + sb.Append(" CouponNumber: ").Append(CouponNumber).Append("\n"); + sb.Append(" PrivilegeType: ").Append(PrivilegeType).Append("\n"); + sb.Append(" PrivilegeValue: ").Append(PrivilegeValue).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" CouponSerialData: ").Append(CouponSerialData).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" CustomerAddressTypeCode: ").Append(CustomerAddressTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionEnterCouponRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionEnterCouponRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionEnterCouponRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionEnterCouponRequest input) + { + if (input == null) + return false; + + return + ( + this.CouponNumber == input.CouponNumber || + (this.CouponNumber != null && + this.CouponNumber.Equals(input.CouponNumber)) + ) && + ( + this.PrivilegeType == input.PrivilegeType || + (this.PrivilegeType != null && + this.PrivilegeType.Equals(input.PrivilegeType)) + ) && + ( + this.PrivilegeValue == input.PrivilegeValue || + (this.PrivilegeValue != null && + this.PrivilegeValue.Equals(input.PrivilegeValue)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.CouponSerialData == input.CouponSerialData || + (this.CouponSerialData != null && + this.CouponSerialData.Equals(input.CouponSerialData)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.CustomerAddressTypeCode == input.CustomerAddressTypeCode || + (this.CustomerAddressTypeCode != null && + this.CustomerAddressTypeCode.Equals(input.CustomerAddressTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CouponNumber != null) + hashCode = hashCode * 59 + this.CouponNumber.GetHashCode(); + if (this.PrivilegeType != null) + hashCode = hashCode * 59 + this.PrivilegeType.GetHashCode(); + if (this.PrivilegeValue != null) + hashCode = hashCode * 59 + this.PrivilegeValue.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.CouponSerialData != null) + hashCode = hashCode * 59 + this.CouponSerialData.GetHashCode(); + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.CustomerAddressTypeCode != null) + hashCode = hashCode * 59 + this.CustomerAddressTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ea481f4515e2f48b37f3edea3556f51c3f8f09b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EnterCouponSerialData <p>Request object for entering coupon serial data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The copupon serial number</p>. + /// <p>The booking successful type code</p>. + /// <p>The booking transaction Uuid</p>. + /// <p>The expiration timestamp</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData(string couponSerialNumber = default(string), string bookingSuccessfulTypeCode = default(string), string bookingTransactionUuid = default(string), string expirationTimestamp = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CouponSerialNumber = couponSerialNumber; + this.BookingSuccessfulTypeCode = bookingSuccessfulTypeCode; + this.BookingTransactionUuid = bookingTransactionUuid; + this.ExpirationTimestamp = expirationTimestamp; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The copupon serial number</p> + /// + /// <p>The copupon serial number</p> + [DataMember(Name="couponSerialNumber", EmitDefaultValue=false)] + public string CouponSerialNumber { get; set; } + + /// + /// <p>The booking successful type code</p> + /// + /// <p>The booking successful type code</p> + [DataMember(Name="bookingSuccessfulTypeCode", EmitDefaultValue=false)] + public string BookingSuccessfulTypeCode { get; set; } + + /// + /// <p>The booking transaction Uuid</p> + /// + /// <p>The booking transaction Uuid</p> + [DataMember(Name="bookingTransactionUuid", EmitDefaultValue=false)] + public string BookingTransactionUuid { get; set; } + + /// + /// <p>The expiration timestamp</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The expiration timestamp</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationTimestamp", EmitDefaultValue=false)] + public string ExpirationTimestamp { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData {\n"); + sb.Append(" CouponSerialNumber: ").Append(CouponSerialNumber).Append("\n"); + sb.Append(" BookingSuccessfulTypeCode: ").Append(BookingSuccessfulTypeCode).Append("\n"); + sb.Append(" BookingTransactionUuid: ").Append(BookingTransactionUuid).Append("\n"); + sb.Append(" ExpirationTimestamp: ").Append(ExpirationTimestamp).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData input) + { + if (input == null) + return false; + + return + ( + this.CouponSerialNumber == input.CouponSerialNumber || + (this.CouponSerialNumber != null && + this.CouponSerialNumber.Equals(input.CouponSerialNumber)) + ) && + ( + this.BookingSuccessfulTypeCode == input.BookingSuccessfulTypeCode || + (this.BookingSuccessfulTypeCode != null && + this.BookingSuccessfulTypeCode.Equals(input.BookingSuccessfulTypeCode)) + ) && + ( + this.BookingTransactionUuid == input.BookingTransactionUuid || + (this.BookingTransactionUuid != null && + this.BookingTransactionUuid.Equals(input.BookingTransactionUuid)) + ) && + ( + this.ExpirationTimestamp == input.ExpirationTimestamp || + (this.ExpirationTimestamp != null && + this.ExpirationTimestamp.Equals(input.ExpirationTimestamp)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CouponSerialNumber != null) + hashCode = hashCode * 59 + this.CouponSerialNumber.GetHashCode(); + if (this.BookingSuccessfulTypeCode != null) + hashCode = hashCode * 59 + this.BookingSuccessfulTypeCode.GetHashCode(); + if (this.BookingTransactionUuid != null) + hashCode = hashCode * 59 + this.BookingTransactionUuid.GetHashCode(); + if (this.ExpirationTimestamp != null) + hashCode = hashCode * 59 + this.ExpirationTimestamp.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExtension.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..4c4bea7b35493ad08d309029cd11d03bcc18d107 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExtension.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Extension <p>Extension object</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionExtension : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Extension key</p>. + /// <p>Extension value</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionExtension(string extensionKey = default(string), string extensionValue = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ExtensionKey = extensionKey; + this.ExtensionValue = extensionValue; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Extension key</p> + /// + /// <p>Extension key</p> + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>Extension value</p> + /// + /// <p>Extension value</p> + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionExtension {\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionExtension); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionExtension instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionExtension to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionExtension input) + { + if (input == null) + return false; + + return + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f303616f5e2caa5a75fdd9b8abf5e203cf6e7d1b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalItemRegistrationRequest <p>Domain object used for registration of external line items</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The ISO currency code.</p> (required). + /// <p>The locale.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest(string isoCurrencyCode = default(string), string locale = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "isoCurrencyCode" is required (not null) + if (isoCurrencyCode == null) + { + throw new InvalidDataException("isoCurrencyCode is a required property for ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest and cannot be null"); + } + else + { + this.IsoCurrencyCode = isoCurrencyCode; + } + // to ensure "locale" is required (not null) + if (locale == null) + { + throw new InvalidDataException("locale is a required property for ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest and cannot be null"); + } + else + { + this.Locale = locale; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The ISO currency code.</p> + /// + /// <p>The ISO currency code.</p> + [DataMember(Name="isoCurrencyCode", EmitDefaultValue=false)] + public string IsoCurrencyCode { get; set; } + + /// + /// <p>The locale.</p> + /// + /// <p>The locale.</p> + [DataMember(Name="locale", EmitDefaultValue=false)] + public string Locale { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest {\n"); + sb.Append(" IsoCurrencyCode: ").Append(IsoCurrencyCode).Append("\n"); + sb.Append(" Locale: ").Append(Locale).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest input) + { + if (input == null) + return false; + + return + ( + this.IsoCurrencyCode == input.IsoCurrencyCode || + (this.IsoCurrencyCode != null && + this.IsoCurrencyCode.Equals(input.IsoCurrencyCode)) + ) && + ( + this.Locale == input.Locale || + (this.Locale != null && + this.Locale.Equals(input.Locale)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.IsoCurrencyCode != null) + hashCode = hashCode * 59 + this.IsoCurrencyCode.GetHashCode(); + if (this.Locale != null) + hashCode = hashCode * 59 + this.Locale.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExternalLineItemData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExternalLineItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..22893156230cacfa5c7170e1cb60512c07d64479 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionExternalLineItemData.cs @@ -0,0 +1,1004 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExternalLineItemData <p>Manual line item creation with external data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionExternalLineItemData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionExternalLineItemData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The pos item ID - IdentityAlphaNumeric40.</p>. + /// <p>The item ID - IdentityUUID.</p>. + /// <p>The pos department ID - IdentityAlphaNumeric40.</p>. + /// <p>The unit of measure code - Code4</p>. + /// <p>The item type - Code4</p>. + /// <p>The regular unit price - MoneyShortRetail</p>. + /// <p>The number of items the regular price is defined for, i.e. 3 for $1.00</p>. + /// <p>The actual unit price - MoneyShortRetail</p> (required). + /// <p>The number of items the actual price is defined for, i.e. 3 for $1.00</p>. + /// <p>The quantity - QuantityIntegerGK</p> (required). + /// <p>The units - Quantity</p>. + /// <p>The quantity input method - Code2</p>. + /// <p>The length - Quantity</p>. + /// <p>The width - Quantity</p>. + /// <p>The height - Quantity</p>. + /// <p>The receipt text - NNameGK</p> (required). + /// <p>The receipt description - NDescriptionShortGK</p>. + /// <p>The wic flag - BIT</p>. + /// <p>The allow food stamp flag -&gt; BIT</p>. + /// <p>The registration number - DescriptionShort</p>. + /// <p>The discount flag - BIT</p>. + /// <p>The frequent shopper points eligibility flag - BIT</p>. + /// <p>The discount type code - VARCHAR(1)</p>. + /// <p>The price change type code - Code2</p>. + /// <p>The price type code - Code2</p>. + /// <p>The not considered by loyalty engine flag - BIT</p>. + /// <p>The merchandise hierarchy group name - Name</p>. + /// <p>The merchandise hierarchy group description - DescriptionShort</p>. + /// <p>The PosUOMItemDO class code.</p>. + /// <p>The prohibit tax exempt flag - BIT</p>. + /// <p>The prohibit return flag - BIT</p>. + /// <p>The warranty duration - QuantityTransactionCount</p>. + /// <p>The deposit type code - Code2</p>. + /// <p>The tax exempt code - Code2</p>. + /// <p>The main POS item ID - IdentityGTIN</p>. + /// <p>The main merchandise hierarchy group ID qualifier - Code4</p>. + /// <p>The main merchandise hierarchy group ID - IdentityAlphaNumeric40</p>. + /// <p>The tax group ID - Code</p>. + /// <p>The tare ount - Quantity16_3GK</p>. + /// <p>The sale return line item characteristic list - SaleReturnLineItemCharacteristic[0..*]</p>. + /// <p>The sale return line item merchandise hierarchy group list - SaleReturnLineItemMerchandiseHierarchyGroup[0..*]</p>. + /// <p>The retail transaction line item I18N text list - RetailTransactionLineItemI18NText[0..*]</p>. + /// <p>The serialized unit modifer - SerializedUnitModifer</p>. + /// <p>The sale return line item sales order - SaleReturnLineItemSalesOrder</p>. + /// <p>The reason code</p>. + /// <p>The reason code group code</p>. + /// <p>The reason description</p>. + /// <p>The retail transaction line item additional parameter list</p>. + /// <p>The retail price modifier list</p>. + /// <p>The line item extension list</p>. + /// <p>The print additional line item text line list</p>. + public ComGkSoftwarePosApiServiceTransactionExternalLineItemData(string posItemID = default(string), string itemID = default(string), string posDepartmentID = default(string), string unitOfMeasureCode = default(string), string itemType = default(string), double? regularUnitPrice = default(double?), int? regularUnitPriceQuantity = default(int?), double? actualUnitPrice = default(double?), int? actualUnitPriceQuantity = default(int?), int? quantity = default(int?), double? units = default(double?), string quantityInputMethod = default(string), double? length = default(double?), double? width = default(double?), double? height = default(double?), string receiptText = default(string), string receiptDescription = default(string), bool? wicFlag = default(bool?), bool? allowFoodStampFlag = default(bool?), string registrationNumber = default(string), bool? discountFlag = default(bool?), bool? frequentShopperPointsEligibilityFlag = default(bool?), string discountTypeCode = default(string), string priceChangeTypeCode = default(string), string priceTypeCode = default(string), bool? notConsideredByLoyaltyEngineFlag = default(bool?), string merchandiseHierarchyGroupName = default(string), string merchandiseHierarchyGroupDescription = default(string), string itemClassCode = default(string), bool? prohibitTaxExemptFlag = default(bool?), bool? prohibitReturnFlag = default(bool?), double? warrantyDuration = default(double?), string depositTypeCode = default(string), string taxExemptCode = default(string), string mainPOSItemID = default(string), string mainMerchandiseHierarchyGroupIDQualifier = default(string), string mainMerchandiseHierarchyGroupID = default(string), string taxGroupID = default(string), double? tareCount = default(double?), List saleReturnLineItemCharacteristicList = default(List), List saleReturnLineItemMerchandiseHierarchyGroupList = default(List), List retailTransactionLineItemI18NTextList = default(List), ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer serializedUnitModifer = default(ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer), ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder saleReturnLineItemSalesOrder = default(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder), string reasonCode = default(string), string reasonCodeGroupCode = default(string), string reasonDescription = default(string), List retailTransactionLineItemAdditionalParameterList = default(List), List retailPriceModifierList = default(List), List lineItemExtensionList = default(List), List printAdditionalLineItemTextLineList = default(List)) + { + // to ensure "actualUnitPrice" is required (not null) + if (actualUnitPrice == null) + { + throw new InvalidDataException("actualUnitPrice is a required property for ComGkSoftwarePosApiServiceTransactionExternalLineItemData and cannot be null"); + } + else + { + this.ActualUnitPrice = actualUnitPrice; + } + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwarePosApiServiceTransactionExternalLineItemData and cannot be null"); + } + else + { + this.Quantity = quantity; + } + // to ensure "receiptText" is required (not null) + if (receiptText == null) + { + throw new InvalidDataException("receiptText is a required property for ComGkSoftwarePosApiServiceTransactionExternalLineItemData and cannot be null"); + } + else + { + this.ReceiptText = receiptText; + } + this.PosItemID = posItemID; + this.ItemID = itemID; + this.PosDepartmentID = posDepartmentID; + this.UnitOfMeasureCode = unitOfMeasureCode; + this.ItemType = itemType; + this.RegularUnitPrice = regularUnitPrice; + this.RegularUnitPriceQuantity = regularUnitPriceQuantity; + this.ActualUnitPriceQuantity = actualUnitPriceQuantity; + this.Units = units; + this.QuantityInputMethod = quantityInputMethod; + this.Length = length; + this.Width = width; + this.Height = height; + this.ReceiptDescription = receiptDescription; + this.WicFlag = wicFlag; + this.AllowFoodStampFlag = allowFoodStampFlag; + this.RegistrationNumber = registrationNumber; + this.DiscountFlag = discountFlag; + this.FrequentShopperPointsEligibilityFlag = frequentShopperPointsEligibilityFlag; + this.DiscountTypeCode = discountTypeCode; + this.PriceChangeTypeCode = priceChangeTypeCode; + this.PriceTypeCode = priceTypeCode; + this.NotConsideredByLoyaltyEngineFlag = notConsideredByLoyaltyEngineFlag; + this.MerchandiseHierarchyGroupName = merchandiseHierarchyGroupName; + this.MerchandiseHierarchyGroupDescription = merchandiseHierarchyGroupDescription; + this.ItemClassCode = itemClassCode; + this.ProhibitTaxExemptFlag = prohibitTaxExemptFlag; + this.ProhibitReturnFlag = prohibitReturnFlag; + this.WarrantyDuration = warrantyDuration; + this.DepositTypeCode = depositTypeCode; + this.TaxExemptCode = taxExemptCode; + this.MainPOSItemID = mainPOSItemID; + this.MainMerchandiseHierarchyGroupIDQualifier = mainMerchandiseHierarchyGroupIDQualifier; + this.MainMerchandiseHierarchyGroupID = mainMerchandiseHierarchyGroupID; + this.TaxGroupID = taxGroupID; + this.TareCount = tareCount; + this.SaleReturnLineItemCharacteristicList = saleReturnLineItemCharacteristicList; + this.SaleReturnLineItemMerchandiseHierarchyGroupList = saleReturnLineItemMerchandiseHierarchyGroupList; + this.RetailTransactionLineItemI18NTextList = retailTransactionLineItemI18NTextList; + this.SerializedUnitModifer = serializedUnitModifer; + this.SaleReturnLineItemSalesOrder = saleReturnLineItemSalesOrder; + this.ReasonCode = reasonCode; + this.ReasonCodeGroupCode = reasonCodeGroupCode; + this.ReasonDescription = reasonDescription; + this.RetailTransactionLineItemAdditionalParameterList = retailTransactionLineItemAdditionalParameterList; + this.RetailPriceModifierList = retailPriceModifierList; + this.LineItemExtensionList = lineItemExtensionList; + this.PrintAdditionalLineItemTextLineList = printAdditionalLineItemTextLineList; + } + + /// + /// <p>The pos item ID - IdentityAlphaNumeric40.</p> + /// + /// <p>The pos item ID - IdentityAlphaNumeric40.</p> + [DataMember(Name="posItemID", EmitDefaultValue=false)] + public string PosItemID { get; set; } + + /// + /// <p>The item ID - IdentityUUID.</p> + /// + /// <p>The item ID - IdentityUUID.</p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The pos department ID - IdentityAlphaNumeric40.</p> + /// + /// <p>The pos department ID - IdentityAlphaNumeric40.</p> + [DataMember(Name="posDepartmentID", EmitDefaultValue=false)] + public string PosDepartmentID { get; set; } + + /// + /// <p>The unit of measure code - Code4</p> + /// + /// <p>The unit of measure code - Code4</p> + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// <p>The item type - Code4</p> + /// + /// <p>The item type - Code4</p> + [DataMember(Name="itemType", EmitDefaultValue=false)] + public string ItemType { get; set; } + + /// + /// <p>The regular unit price - MoneyShortRetail</p> + /// + /// <p>The regular unit price - MoneyShortRetail</p> + [DataMember(Name="regularUnitPrice", EmitDefaultValue=false)] + public double? RegularUnitPrice { get; set; } + + /// + /// <p>The number of items the regular price is defined for, i.e. 3 for $1.00</p> + /// + /// <p>The number of items the regular price is defined for, i.e. 3 for $1.00</p> + [DataMember(Name="regularUnitPriceQuantity", EmitDefaultValue=false)] + public int? RegularUnitPriceQuantity { get; set; } + + /// + /// <p>The actual unit price - MoneyShortRetail</p> + /// + /// <p>The actual unit price - MoneyShortRetail</p> + [DataMember(Name="actualUnitPrice", EmitDefaultValue=false)] + public double? ActualUnitPrice { get; set; } + + /// + /// <p>The number of items the actual price is defined for, i.e. 3 for $1.00</p> + /// + /// <p>The number of items the actual price is defined for, i.e. 3 for $1.00</p> + [DataMember(Name="actualUnitPriceQuantity", EmitDefaultValue=false)] + public int? ActualUnitPriceQuantity { get; set; } + + /// + /// <p>The quantity - QuantityIntegerGK</p> + /// + /// <p>The quantity - QuantityIntegerGK</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The units - Quantity</p> + /// + /// <p>The units - Quantity</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>The quantity input method - Code2</p> + /// + /// <p>The quantity input method - Code2</p> + [DataMember(Name="quantityInputMethod", EmitDefaultValue=false)] + public string QuantityInputMethod { get; set; } + + /// + /// <p>The length - Quantity</p> + /// + /// <p>The length - Quantity</p> + [DataMember(Name="length", EmitDefaultValue=false)] + public double? Length { get; set; } + + /// + /// <p>The width - Quantity</p> + /// + /// <p>The width - Quantity</p> + [DataMember(Name="width", EmitDefaultValue=false)] + public double? Width { get; set; } + + /// + /// <p>The height - Quantity</p> + /// + /// <p>The height - Quantity</p> + [DataMember(Name="height", EmitDefaultValue=false)] + public double? Height { get; set; } + + /// + /// <p>The receipt text - NNameGK</p> + /// + /// <p>The receipt text - NNameGK</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>The receipt description - NDescriptionShortGK</p> + /// + /// <p>The receipt description - NDescriptionShortGK</p> + [DataMember(Name="receiptDescription", EmitDefaultValue=false)] + public string ReceiptDescription { get; set; } + + /// + /// <p>The wic flag - BIT</p> + /// + /// <p>The wic flag - BIT</p> + [DataMember(Name="wicFlag", EmitDefaultValue=false)] + public bool? WicFlag { get; set; } + + /// + /// <p>The allow food stamp flag -&gt; BIT</p> + /// + /// <p>The allow food stamp flag -&gt; BIT</p> + [DataMember(Name="allowFoodStampFlag", EmitDefaultValue=false)] + public bool? AllowFoodStampFlag { get; set; } + + /// + /// <p>The registration number - DescriptionShort</p> + /// + /// <p>The registration number - DescriptionShort</p> + [DataMember(Name="registrationNumber", EmitDefaultValue=false)] + public string RegistrationNumber { get; set; } + + /// + /// <p>The discount flag - BIT</p> + /// + /// <p>The discount flag - BIT</p> + [DataMember(Name="discountFlag", EmitDefaultValue=false)] + public bool? DiscountFlag { get; set; } + + /// + /// <p>The frequent shopper points eligibility flag - BIT</p> + /// + /// <p>The frequent shopper points eligibility flag - BIT</p> + [DataMember(Name="frequentShopperPointsEligibilityFlag", EmitDefaultValue=false)] + public bool? FrequentShopperPointsEligibilityFlag { get; set; } + + /// + /// <p>The discount type code - VARCHAR(1)</p> + /// + /// <p>The discount type code - VARCHAR(1)</p> + [DataMember(Name="discountTypeCode", EmitDefaultValue=false)] + public string DiscountTypeCode { get; set; } + + /// + /// <p>The price change type code - Code2</p> + /// + /// <p>The price change type code - Code2</p> + [DataMember(Name="priceChangeTypeCode", EmitDefaultValue=false)] + public string PriceChangeTypeCode { get; set; } + + /// + /// <p>The price type code - Code2</p> + /// + /// <p>The price type code - Code2</p> + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// <p>The not considered by loyalty engine flag - BIT</p> + /// + /// <p>The not considered by loyalty engine flag - BIT</p> + [DataMember(Name="notConsideredByLoyaltyEngineFlag", EmitDefaultValue=false)] + public bool? NotConsideredByLoyaltyEngineFlag { get; set; } + + /// + /// <p>The merchandise hierarchy group name - Name</p> + /// + /// <p>The merchandise hierarchy group name - Name</p> + [DataMember(Name="merchandiseHierarchyGroupName", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupName { get; set; } + + /// + /// <p>The merchandise hierarchy group description - DescriptionShort</p> + /// + /// <p>The merchandise hierarchy group description - DescriptionShort</p> + [DataMember(Name="merchandiseHierarchyGroupDescription", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupDescription { get; set; } + + /// + /// <p>The PosUOMItemDO class code.</p> + /// + /// <p>The PosUOMItemDO class code.</p> + [DataMember(Name="itemClassCode", EmitDefaultValue=false)] + public string ItemClassCode { get; set; } + + /// + /// <p>The prohibit tax exempt flag - BIT</p> + /// + /// <p>The prohibit tax exempt flag - BIT</p> + [DataMember(Name="prohibitTaxExemptFlag", EmitDefaultValue=false)] + public bool? ProhibitTaxExemptFlag { get; set; } + + /// + /// <p>The prohibit return flag - BIT</p> + /// + /// <p>The prohibit return flag - BIT</p> + [DataMember(Name="prohibitReturnFlag", EmitDefaultValue=false)] + public bool? ProhibitReturnFlag { get; set; } + + /// + /// <p>The warranty duration - QuantityTransactionCount</p> + /// + /// <p>The warranty duration - QuantityTransactionCount</p> + [DataMember(Name="warrantyDuration", EmitDefaultValue=false)] + public double? WarrantyDuration { get; set; } + + /// + /// <p>The deposit type code - Code2</p> + /// + /// <p>The deposit type code - Code2</p> + [DataMember(Name="depositTypeCode", EmitDefaultValue=false)] + public string DepositTypeCode { get; set; } + + /// + /// <p>The tax exempt code - Code2</p> + /// + /// <p>The tax exempt code - Code2</p> + [DataMember(Name="taxExemptCode", EmitDefaultValue=false)] + public string TaxExemptCode { get; set; } + + /// + /// <p>The main POS item ID - IdentityGTIN</p> + /// + /// <p>The main POS item ID - IdentityGTIN</p> + [DataMember(Name="mainPOSItemID", EmitDefaultValue=false)] + public string MainPOSItemID { get; set; } + + /// + /// <p>The main merchandise hierarchy group ID qualifier - Code4</p> + /// + /// <p>The main merchandise hierarchy group ID qualifier - Code4</p> + [DataMember(Name="mainMerchandiseHierarchyGroupIDQualifier", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupIDQualifier { get; set; } + + /// + /// <p>The main merchandise hierarchy group ID - IdentityAlphaNumeric40</p> + /// + /// <p>The main merchandise hierarchy group ID - IdentityAlphaNumeric40</p> + [DataMember(Name="mainMerchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupID { get; set; } + + /// + /// <p>The tax group ID - Code</p> + /// + /// <p>The tax group ID - Code</p> + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// <p>The tare ount - Quantity16_3GK</p> + /// + /// <p>The tare ount - Quantity16_3GK</p> + [DataMember(Name="tareCount", EmitDefaultValue=false)] + public double? TareCount { get; set; } + + /// + /// <p>The sale return line item characteristic list - SaleReturnLineItemCharacteristic[0..*]</p> + /// + /// <p>The sale return line item characteristic list - SaleReturnLineItemCharacteristic[0..*]</p> + [DataMember(Name="saleReturnLineItemCharacteristicList", EmitDefaultValue=false)] + public List SaleReturnLineItemCharacteristicList { get; set; } + + /// + /// <p>The sale return line item merchandise hierarchy group list - SaleReturnLineItemMerchandiseHierarchyGroup[0..*]</p> + /// + /// <p>The sale return line item merchandise hierarchy group list - SaleReturnLineItemMerchandiseHierarchyGroup[0..*]</p> + [DataMember(Name="saleReturnLineItemMerchandiseHierarchyGroupList", EmitDefaultValue=false)] + public List SaleReturnLineItemMerchandiseHierarchyGroupList { get; set; } + + /// + /// <p>The retail transaction line item I18N text list - RetailTransactionLineItemI18NText[0..*]</p> + /// + /// <p>The retail transaction line item I18N text list - RetailTransactionLineItemI18NText[0..*]</p> + [DataMember(Name="retailTransactionLineItemI18NTextList", EmitDefaultValue=false)] + public List RetailTransactionLineItemI18NTextList { get; set; } + + /// + /// <p>The serialized unit modifer - SerializedUnitModifer</p> + /// + /// <p>The serialized unit modifer - SerializedUnitModifer</p> + [DataMember(Name="serializedUnitModifer", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer SerializedUnitModifer { get; set; } + + /// + /// <p>The sale return line item sales order - SaleReturnLineItemSalesOrder</p> + /// + /// <p>The sale return line item sales order - SaleReturnLineItemSalesOrder</p> + [DataMember(Name="saleReturnLineItemSalesOrder", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder SaleReturnLineItemSalesOrder { get; set; } + + /// + /// <p>The reason code</p> + /// + /// <p>The reason code</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>The reason code group code</p> + /// + /// <p>The reason code group code</p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>The reason description</p> + /// + /// <p>The reason description</p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>The retail transaction line item additional parameter list</p> + /// + /// <p>The retail transaction line item additional parameter list</p> + [DataMember(Name="retailTransactionLineItemAdditionalParameterList", EmitDefaultValue=false)] + public List RetailTransactionLineItemAdditionalParameterList { get; set; } + + /// + /// <p>The retail price modifier list</p> + /// + /// <p>The retail price modifier list</p> + [DataMember(Name="retailPriceModifierList", EmitDefaultValue=false)] + public List RetailPriceModifierList { get; set; } + + /// + /// <p>The line item extension list</p> + /// + /// <p>The line item extension list</p> + [DataMember(Name="lineItemExtensionList", EmitDefaultValue=false)] + public List LineItemExtensionList { get; set; } + + /// + /// <p>The print additional line item text line list</p> + /// + /// <p>The print additional line item text line list</p> + [DataMember(Name="printAdditionalLineItemTextLineList", EmitDefaultValue=false)] + public List PrintAdditionalLineItemTextLineList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionExternalLineItemData {\n"); + sb.Append(" PosItemID: ").Append(PosItemID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" PosDepartmentID: ").Append(PosDepartmentID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" ItemType: ").Append(ItemType).Append("\n"); + sb.Append(" RegularUnitPrice: ").Append(RegularUnitPrice).Append("\n"); + sb.Append(" RegularUnitPriceQuantity: ").Append(RegularUnitPriceQuantity).Append("\n"); + sb.Append(" ActualUnitPrice: ").Append(ActualUnitPrice).Append("\n"); + sb.Append(" ActualUnitPriceQuantity: ").Append(ActualUnitPriceQuantity).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" QuantityInputMethod: ").Append(QuantityInputMethod).Append("\n"); + sb.Append(" Length: ").Append(Length).Append("\n"); + sb.Append(" Width: ").Append(Width).Append("\n"); + sb.Append(" Height: ").Append(Height).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" ReceiptDescription: ").Append(ReceiptDescription).Append("\n"); + sb.Append(" WicFlag: ").Append(WicFlag).Append("\n"); + sb.Append(" AllowFoodStampFlag: ").Append(AllowFoodStampFlag).Append("\n"); + sb.Append(" RegistrationNumber: ").Append(RegistrationNumber).Append("\n"); + sb.Append(" DiscountFlag: ").Append(DiscountFlag).Append("\n"); + sb.Append(" FrequentShopperPointsEligibilityFlag: ").Append(FrequentShopperPointsEligibilityFlag).Append("\n"); + sb.Append(" DiscountTypeCode: ").Append(DiscountTypeCode).Append("\n"); + sb.Append(" PriceChangeTypeCode: ").Append(PriceChangeTypeCode).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" NotConsideredByLoyaltyEngineFlag: ").Append(NotConsideredByLoyaltyEngineFlag).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupName: ").Append(MerchandiseHierarchyGroupName).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupDescription: ").Append(MerchandiseHierarchyGroupDescription).Append("\n"); + sb.Append(" ItemClassCode: ").Append(ItemClassCode).Append("\n"); + sb.Append(" ProhibitTaxExemptFlag: ").Append(ProhibitTaxExemptFlag).Append("\n"); + sb.Append(" ProhibitReturnFlag: ").Append(ProhibitReturnFlag).Append("\n"); + sb.Append(" WarrantyDuration: ").Append(WarrantyDuration).Append("\n"); + sb.Append(" DepositTypeCode: ").Append(DepositTypeCode).Append("\n"); + sb.Append(" TaxExemptCode: ").Append(TaxExemptCode).Append("\n"); + sb.Append(" MainPOSItemID: ").Append(MainPOSItemID).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupIDQualifier: ").Append(MainMerchandiseHierarchyGroupIDQualifier).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupID: ").Append(MainMerchandiseHierarchyGroupID).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" TareCount: ").Append(TareCount).Append("\n"); + sb.Append(" SaleReturnLineItemCharacteristicList: ").Append(SaleReturnLineItemCharacteristicList).Append("\n"); + sb.Append(" SaleReturnLineItemMerchandiseHierarchyGroupList: ").Append(SaleReturnLineItemMerchandiseHierarchyGroupList).Append("\n"); + sb.Append(" RetailTransactionLineItemI18NTextList: ").Append(RetailTransactionLineItemI18NTextList).Append("\n"); + sb.Append(" SerializedUnitModifer: ").Append(SerializedUnitModifer).Append("\n"); + sb.Append(" SaleReturnLineItemSalesOrder: ").Append(SaleReturnLineItemSalesOrder).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" RetailTransactionLineItemAdditionalParameterList: ").Append(RetailTransactionLineItemAdditionalParameterList).Append("\n"); + sb.Append(" RetailPriceModifierList: ").Append(RetailPriceModifierList).Append("\n"); + sb.Append(" LineItemExtensionList: ").Append(LineItemExtensionList).Append("\n"); + sb.Append(" PrintAdditionalLineItemTextLineList: ").Append(PrintAdditionalLineItemTextLineList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionExternalLineItemData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionExternalLineItemData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionExternalLineItemData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionExternalLineItemData input) + { + if (input == null) + return false; + + return + ( + this.PosItemID == input.PosItemID || + (this.PosItemID != null && + this.PosItemID.Equals(input.PosItemID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.PosDepartmentID == input.PosDepartmentID || + (this.PosDepartmentID != null && + this.PosDepartmentID.Equals(input.PosDepartmentID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.ItemType == input.ItemType || + (this.ItemType != null && + this.ItemType.Equals(input.ItemType)) + ) && + ( + this.RegularUnitPrice == input.RegularUnitPrice || + (this.RegularUnitPrice != null && + this.RegularUnitPrice.Equals(input.RegularUnitPrice)) + ) && + ( + this.RegularUnitPriceQuantity == input.RegularUnitPriceQuantity || + (this.RegularUnitPriceQuantity != null && + this.RegularUnitPriceQuantity.Equals(input.RegularUnitPriceQuantity)) + ) && + ( + this.ActualUnitPrice == input.ActualUnitPrice || + (this.ActualUnitPrice != null && + this.ActualUnitPrice.Equals(input.ActualUnitPrice)) + ) && + ( + this.ActualUnitPriceQuantity == input.ActualUnitPriceQuantity || + (this.ActualUnitPriceQuantity != null && + this.ActualUnitPriceQuantity.Equals(input.ActualUnitPriceQuantity)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.QuantityInputMethod == input.QuantityInputMethod || + (this.QuantityInputMethod != null && + this.QuantityInputMethod.Equals(input.QuantityInputMethod)) + ) && + ( + this.Length == input.Length || + (this.Length != null && + this.Length.Equals(input.Length)) + ) && + ( + this.Width == input.Width || + (this.Width != null && + this.Width.Equals(input.Width)) + ) && + ( + this.Height == input.Height || + (this.Height != null && + this.Height.Equals(input.Height)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.ReceiptDescription == input.ReceiptDescription || + (this.ReceiptDescription != null && + this.ReceiptDescription.Equals(input.ReceiptDescription)) + ) && + ( + this.WicFlag == input.WicFlag || + (this.WicFlag != null && + this.WicFlag.Equals(input.WicFlag)) + ) && + ( + this.AllowFoodStampFlag == input.AllowFoodStampFlag || + (this.AllowFoodStampFlag != null && + this.AllowFoodStampFlag.Equals(input.AllowFoodStampFlag)) + ) && + ( + this.RegistrationNumber == input.RegistrationNumber || + (this.RegistrationNumber != null && + this.RegistrationNumber.Equals(input.RegistrationNumber)) + ) && + ( + this.DiscountFlag == input.DiscountFlag || + (this.DiscountFlag != null && + this.DiscountFlag.Equals(input.DiscountFlag)) + ) && + ( + this.FrequentShopperPointsEligibilityFlag == input.FrequentShopperPointsEligibilityFlag || + (this.FrequentShopperPointsEligibilityFlag != null && + this.FrequentShopperPointsEligibilityFlag.Equals(input.FrequentShopperPointsEligibilityFlag)) + ) && + ( + this.DiscountTypeCode == input.DiscountTypeCode || + (this.DiscountTypeCode != null && + this.DiscountTypeCode.Equals(input.DiscountTypeCode)) + ) && + ( + this.PriceChangeTypeCode == input.PriceChangeTypeCode || + (this.PriceChangeTypeCode != null && + this.PriceChangeTypeCode.Equals(input.PriceChangeTypeCode)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.NotConsideredByLoyaltyEngineFlag == input.NotConsideredByLoyaltyEngineFlag || + (this.NotConsideredByLoyaltyEngineFlag != null && + this.NotConsideredByLoyaltyEngineFlag.Equals(input.NotConsideredByLoyaltyEngineFlag)) + ) && + ( + this.MerchandiseHierarchyGroupName == input.MerchandiseHierarchyGroupName || + (this.MerchandiseHierarchyGroupName != null && + this.MerchandiseHierarchyGroupName.Equals(input.MerchandiseHierarchyGroupName)) + ) && + ( + this.MerchandiseHierarchyGroupDescription == input.MerchandiseHierarchyGroupDescription || + (this.MerchandiseHierarchyGroupDescription != null && + this.MerchandiseHierarchyGroupDescription.Equals(input.MerchandiseHierarchyGroupDescription)) + ) && + ( + this.ItemClassCode == input.ItemClassCode || + (this.ItemClassCode != null && + this.ItemClassCode.Equals(input.ItemClassCode)) + ) && + ( + this.ProhibitTaxExemptFlag == input.ProhibitTaxExemptFlag || + (this.ProhibitTaxExemptFlag != null && + this.ProhibitTaxExemptFlag.Equals(input.ProhibitTaxExemptFlag)) + ) && + ( + this.ProhibitReturnFlag == input.ProhibitReturnFlag || + (this.ProhibitReturnFlag != null && + this.ProhibitReturnFlag.Equals(input.ProhibitReturnFlag)) + ) && + ( + this.WarrantyDuration == input.WarrantyDuration || + (this.WarrantyDuration != null && + this.WarrantyDuration.Equals(input.WarrantyDuration)) + ) && + ( + this.DepositTypeCode == input.DepositTypeCode || + (this.DepositTypeCode != null && + this.DepositTypeCode.Equals(input.DepositTypeCode)) + ) && + ( + this.TaxExemptCode == input.TaxExemptCode || + (this.TaxExemptCode != null && + this.TaxExemptCode.Equals(input.TaxExemptCode)) + ) && + ( + this.MainPOSItemID == input.MainPOSItemID || + (this.MainPOSItemID != null && + this.MainPOSItemID.Equals(input.MainPOSItemID)) + ) && + ( + this.MainMerchandiseHierarchyGroupIDQualifier == input.MainMerchandiseHierarchyGroupIDQualifier || + (this.MainMerchandiseHierarchyGroupIDQualifier != null && + this.MainMerchandiseHierarchyGroupIDQualifier.Equals(input.MainMerchandiseHierarchyGroupIDQualifier)) + ) && + ( + this.MainMerchandiseHierarchyGroupID == input.MainMerchandiseHierarchyGroupID || + (this.MainMerchandiseHierarchyGroupID != null && + this.MainMerchandiseHierarchyGroupID.Equals(input.MainMerchandiseHierarchyGroupID)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.TareCount == input.TareCount || + (this.TareCount != null && + this.TareCount.Equals(input.TareCount)) + ) && + ( + this.SaleReturnLineItemCharacteristicList == input.SaleReturnLineItemCharacteristicList || + this.SaleReturnLineItemCharacteristicList != null && + this.SaleReturnLineItemCharacteristicList.SequenceEqual(input.SaleReturnLineItemCharacteristicList) + ) && + ( + this.SaleReturnLineItemMerchandiseHierarchyGroupList == input.SaleReturnLineItemMerchandiseHierarchyGroupList || + this.SaleReturnLineItemMerchandiseHierarchyGroupList != null && + this.SaleReturnLineItemMerchandiseHierarchyGroupList.SequenceEqual(input.SaleReturnLineItemMerchandiseHierarchyGroupList) + ) && + ( + this.RetailTransactionLineItemI18NTextList == input.RetailTransactionLineItemI18NTextList || + this.RetailTransactionLineItemI18NTextList != null && + this.RetailTransactionLineItemI18NTextList.SequenceEqual(input.RetailTransactionLineItemI18NTextList) + ) && + ( + this.SerializedUnitModifer == input.SerializedUnitModifer || + (this.SerializedUnitModifer != null && + this.SerializedUnitModifer.Equals(input.SerializedUnitModifer)) + ) && + ( + this.SaleReturnLineItemSalesOrder == input.SaleReturnLineItemSalesOrder || + (this.SaleReturnLineItemSalesOrder != null && + this.SaleReturnLineItemSalesOrder.Equals(input.SaleReturnLineItemSalesOrder)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.RetailTransactionLineItemAdditionalParameterList == input.RetailTransactionLineItemAdditionalParameterList || + this.RetailTransactionLineItemAdditionalParameterList != null && + this.RetailTransactionLineItemAdditionalParameterList.SequenceEqual(input.RetailTransactionLineItemAdditionalParameterList) + ) && + ( + this.RetailPriceModifierList == input.RetailPriceModifierList || + this.RetailPriceModifierList != null && + this.RetailPriceModifierList.SequenceEqual(input.RetailPriceModifierList) + ) && + ( + this.LineItemExtensionList == input.LineItemExtensionList || + this.LineItemExtensionList != null && + this.LineItemExtensionList.SequenceEqual(input.LineItemExtensionList) + ) && + ( + this.PrintAdditionalLineItemTextLineList == input.PrintAdditionalLineItemTextLineList || + this.PrintAdditionalLineItemTextLineList != null && + this.PrintAdditionalLineItemTextLineList.SequenceEqual(input.PrintAdditionalLineItemTextLineList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemID != null) + hashCode = hashCode * 59 + this.PosItemID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.PosDepartmentID != null) + hashCode = hashCode * 59 + this.PosDepartmentID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.ItemType != null) + hashCode = hashCode * 59 + this.ItemType.GetHashCode(); + if (this.RegularUnitPrice != null) + hashCode = hashCode * 59 + this.RegularUnitPrice.GetHashCode(); + if (this.RegularUnitPriceQuantity != null) + hashCode = hashCode * 59 + this.RegularUnitPriceQuantity.GetHashCode(); + if (this.ActualUnitPrice != null) + hashCode = hashCode * 59 + this.ActualUnitPrice.GetHashCode(); + if (this.ActualUnitPriceQuantity != null) + hashCode = hashCode * 59 + this.ActualUnitPriceQuantity.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.QuantityInputMethod != null) + hashCode = hashCode * 59 + this.QuantityInputMethod.GetHashCode(); + if (this.Length != null) + hashCode = hashCode * 59 + this.Length.GetHashCode(); + if (this.Width != null) + hashCode = hashCode * 59 + this.Width.GetHashCode(); + if (this.Height != null) + hashCode = hashCode * 59 + this.Height.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.ReceiptDescription != null) + hashCode = hashCode * 59 + this.ReceiptDescription.GetHashCode(); + if (this.WicFlag != null) + hashCode = hashCode * 59 + this.WicFlag.GetHashCode(); + if (this.AllowFoodStampFlag != null) + hashCode = hashCode * 59 + this.AllowFoodStampFlag.GetHashCode(); + if (this.RegistrationNumber != null) + hashCode = hashCode * 59 + this.RegistrationNumber.GetHashCode(); + if (this.DiscountFlag != null) + hashCode = hashCode * 59 + this.DiscountFlag.GetHashCode(); + if (this.FrequentShopperPointsEligibilityFlag != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsEligibilityFlag.GetHashCode(); + if (this.DiscountTypeCode != null) + hashCode = hashCode * 59 + this.DiscountTypeCode.GetHashCode(); + if (this.PriceChangeTypeCode != null) + hashCode = hashCode * 59 + this.PriceChangeTypeCode.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.NotConsideredByLoyaltyEngineFlag != null) + hashCode = hashCode * 59 + this.NotConsideredByLoyaltyEngineFlag.GetHashCode(); + if (this.MerchandiseHierarchyGroupName != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupName.GetHashCode(); + if (this.MerchandiseHierarchyGroupDescription != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupDescription.GetHashCode(); + if (this.ItemClassCode != null) + hashCode = hashCode * 59 + this.ItemClassCode.GetHashCode(); + if (this.ProhibitTaxExemptFlag != null) + hashCode = hashCode * 59 + this.ProhibitTaxExemptFlag.GetHashCode(); + if (this.ProhibitReturnFlag != null) + hashCode = hashCode * 59 + this.ProhibitReturnFlag.GetHashCode(); + if (this.WarrantyDuration != null) + hashCode = hashCode * 59 + this.WarrantyDuration.GetHashCode(); + if (this.DepositTypeCode != null) + hashCode = hashCode * 59 + this.DepositTypeCode.GetHashCode(); + if (this.TaxExemptCode != null) + hashCode = hashCode * 59 + this.TaxExemptCode.GetHashCode(); + if (this.MainPOSItemID != null) + hashCode = hashCode * 59 + this.MainPOSItemID.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupIDQualifier != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupIDQualifier.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupID.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.TareCount != null) + hashCode = hashCode * 59 + this.TareCount.GetHashCode(); + if (this.SaleReturnLineItemCharacteristicList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemCharacteristicList.GetHashCode(); + if (this.SaleReturnLineItemMerchandiseHierarchyGroupList != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemMerchandiseHierarchyGroupList.GetHashCode(); + if (this.RetailTransactionLineItemI18NTextList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemI18NTextList.GetHashCode(); + if (this.SerializedUnitModifer != null) + hashCode = hashCode * 59 + this.SerializedUnitModifer.GetHashCode(); + if (this.SaleReturnLineItemSalesOrder != null) + hashCode = hashCode * 59 + this.SaleReturnLineItemSalesOrder.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.RetailTransactionLineItemAdditionalParameterList != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemAdditionalParameterList.GetHashCode(); + if (this.RetailPriceModifierList != null) + hashCode = hashCode * 59 + this.RetailPriceModifierList.GetHashCode(); + if (this.LineItemExtensionList != null) + hashCode = hashCode * 59 + this.LineItemExtensionList.GetHashCode(); + if (this.PrintAdditionalLineItemTextLineList != null) + hashCode = hashCode * 59 + this.PrintAdditionalLineItemTextLineList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..91999a6fea62f444e2449a7a1b302c8657382cfc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest.cs @@ -0,0 +1,444 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FinalizeTransactionRequest <p>Request to finalize a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>Indicates whether correlation checking should be ignored if parent pool is offline.</p> (required). + /// <p>Indicates that the export of finalized transaction must be omit.</p>. + /// <p>The identifier for the transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? ignoreParentOffline = default(bool?), bool? omitParentExport = default(bool?), string transactionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "ignoreParentOffline" is required (not null) + if (ignoreParentOffline == null) + { + throw new InvalidDataException("ignoreParentOffline is a required property for ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest and cannot be null"); + } + else + { + this.IgnoreParentOffline = ignoreParentOffline; + } + this.PositionOperationConfig = positionOperationConfig; + this.OmitParentExport = omitParentExport; + this.TransactionId = transactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Indicates whether correlation checking should be ignored if parent pool is offline.</p> + /// + /// <p>Indicates whether correlation checking should be ignored if parent pool is offline.</p> + [DataMember(Name="ignoreParentOffline", EmitDefaultValue=false)] + public bool? IgnoreParentOffline { get; set; } + + /// + /// <p>Indicates that the export of finalized transaction must be omit.</p> + /// + /// <p>Indicates that the export of finalized transaction must be omit.</p> + [DataMember(Name="omitParentExport", EmitDefaultValue=false)] + public bool? OmitParentExport { get; set; } + + /// + /// <p>The identifier for the transaction.</p> + /// + /// <p>The identifier for the transaction.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" IgnoreParentOffline: ").Append(IgnoreParentOffline).Append("\n"); + sb.Append(" OmitParentExport: ").Append(OmitParentExport).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.IgnoreParentOffline == input.IgnoreParentOffline || + (this.IgnoreParentOffline != null && + this.IgnoreParentOffline.Equals(input.IgnoreParentOffline)) + ) && + ( + this.OmitParentExport == input.OmitParentExport || + (this.OmitParentExport != null && + this.OmitParentExport.Equals(input.OmitParentExport)) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.IgnoreParentOffline != null) + hashCode = hashCode * 59 + this.IgnoreParentOffline.GetHashCode(); + if (this.OmitParentExport != null) + hashCode = hashCode * 59 + this.OmitParentExport.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..3f5c46a42eba72b905b802f067f02f4458c1ee11 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FiscalTagFieldResult <p>Result of an single object that contains the tag field value related to each signature result.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The label that must be printed on the receipt.</p>. + /// <p>The fiscal value that must be printed on the receipt.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult(string label = default(string), string value = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Label = label; + this.Value = value; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The label that must be printed on the receipt.</p> + /// + /// <p>The label that must be printed on the receipt.</p> + [DataMember(Name="label", EmitDefaultValue=false)] + public string Label { get; set; } + + /// + /// <p>The fiscal value that must be printed on the receipt.</p> + /// + /// <p>The fiscal value that must be printed on the receipt.</p> + [DataMember(Name="value", EmitDefaultValue=false)] + public string Value { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult {\n"); + sb.Append(" Label: ").Append(Label).Append("\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult input) + { + if (input == null) + return false; + + return + ( + this.Label == input.Label || + (this.Label != null && + this.Label.Equals(input.Label)) + ) && + ( + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Label != null) + hashCode = hashCode * 59 + this.Label.GetHashCode(); + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8f92ea064094d22eec3c448626bd8431704e12dc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GetEndDateTimestampExtensionRequest <p>Request object to get the end date timestamp from transaction extensions of a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The transaction identifier for the transaction to get the end date timestamp from.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest(string transactionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The transaction identifier for the transaction to get the end date timestamp from.</p> + /// + /// <p>The transaction identifier for the transaction to get the end date timestamp from.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..b78845c0d00ae8fe5712488ce3cc15901b778b4d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult.cs @@ -0,0 +1,461 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GetOrCreateEndDateTimestampExtensionResult <p>Result object for getting or creating the end date timestamp extension.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>The end date timestamp transaction extension.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), ComGkSoftwareGkrApiTxpoolDtoTransactionExtension endDateTimestampExtension = default(ComGkSoftwareGkrApiTxpoolDtoTransactionExtension), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.EndDateTimestampExtension = endDateTimestampExtension; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>The end date timestamp transaction extension.</p> + /// + /// <p>The end date timestamp transaction extension.</p> + [DataMember(Name="endDateTimestampExtension", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransactionExtension EndDateTimestampExtension { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" EndDateTimestampExtension: ").Append(EndDateTimestampExtension).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.EndDateTimestampExtension == input.EndDateTimestampExtension || + (this.EndDateTimestampExtension != null && + this.EndDateTimestampExtension.Equals(input.EndDateTimestampExtension)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.EndDateTimestampExtension != null) + hashCode = hashCode * 59 + this.EndDateTimestampExtension.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..24a459d88e24d71d7162756395d915ec0b112c10 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest.cs @@ -0,0 +1,774 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// GiftCertificateRegistrationRequest <p>Request object for operations which create a SaleReturnLineItem on active transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>PositionOperationConfig : position operation config</p>. + /// <p>String : gift certificate number</p>. + /// <p>String : gift certificate item number</p>. + /// <p>String : gift certificate amount</p>. + /// <p>GiftCertServiceResult : service result</p>. + /// <p>String : gift certificate description</p>. + /// <p>boolean : online</p> (required). + /// <p>Specifies if a return receipt should be created.</p> (required). + /// <p>String : external system adapter name</p>. + /// <p>String : gc class</p>. + /// <p>Date : expiry date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>int : quantity</p>. + /// <p>String : action code</p>. + /// <p>String : gift certificate type</p>. + /// <p>boolean : gcs usage</p> (required). + /// <p>String : tax group iD</p>. + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>Track2 data.</p>. + /// <p>Contains additional information.</p>. + /// <p>The sales person number request</p>. + /// <p>Indicates whether the take away sale mode is active.</p> (required). + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string gcNumber = default(string), string gcItemNumber = default(string), ComGkSoftwarePosApiModelDomAppAmountAmount gcAmount = default(ComGkSoftwarePosApiModelDomAppAmountAmount), ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult serviceResult = default(ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult), string gcDescription = default(string), bool? online = default(bool?), bool? createReturnReceipt = default(bool?), string externalSystemAdapterName = default(string), string gcClass = default(string), string expiryDate = default(string), int? quantity = default(int?), string actionCode = default(string), string gcType = default(string), bool? gcsUsage = default(bool?), string taxGroupID = default(string), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string track2 = default(string), List additionalInfo = default(List), ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest salesPersonNumberRequest = default(ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest), bool? takeAwaySaleMode = default(bool?), string entryMethodCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "online" is required (not null) + if (online == null) + { + throw new InvalidDataException("online is a required property for ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest and cannot be null"); + } + else + { + this.Online = online; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "gcsUsage" is required (not null) + if (gcsUsage == null) + { + throw new InvalidDataException("gcsUsage is a required property for ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest and cannot be null"); + } + else + { + this.GcsUsage = gcsUsage; + } + // to ensure "takeAwaySaleMode" is required (not null) + if (takeAwaySaleMode == null) + { + throw new InvalidDataException("takeAwaySaleMode is a required property for ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest and cannot be null"); + } + else + { + this.TakeAwaySaleMode = takeAwaySaleMode; + } + this.PositionOperationConfig = positionOperationConfig; + this.GcNumber = gcNumber; + this.GcItemNumber = gcItemNumber; + this.GcAmount = gcAmount; + this.ServiceResult = serviceResult; + this.GcDescription = gcDescription; + this.ExternalSystemAdapterName = externalSystemAdapterName; + this.GcClass = gcClass; + this.ExpiryDate = expiryDate; + this.Quantity = quantity; + this.ActionCode = actionCode; + this.GcType = gcType; + this.TaxGroupID = taxGroupID; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.Track2 = track2; + this.AdditionalInfo = additionalInfo; + this.SalesPersonNumberRequest = salesPersonNumberRequest; + this.EntryMethodCode = entryMethodCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>PositionOperationConfig : position operation config</p> + /// + /// <p>PositionOperationConfig : position operation config</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>String : gift certificate number</p> + /// + /// <p>String : gift certificate number</p> + [DataMember(Name="gcNumber", EmitDefaultValue=false)] + public string GcNumber { get; set; } + + /// + /// <p>String : gift certificate item number</p> + /// + /// <p>String : gift certificate item number</p> + [DataMember(Name="gcItemNumber", EmitDefaultValue=false)] + public string GcItemNumber { get; set; } + + /// + /// <p>String : gift certificate amount</p> + /// + /// <p>String : gift certificate amount</p> + [DataMember(Name="gcAmount", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppAmountAmount GcAmount { get; set; } + + /// + /// <p>GiftCertServiceResult : service result</p> + /// + /// <p>GiftCertServiceResult : service result</p> + [DataMember(Name="serviceResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult ServiceResult { get; set; } + + /// + /// <p>String : gift certificate description</p> + /// + /// <p>String : gift certificate description</p> + [DataMember(Name="gcDescription", EmitDefaultValue=false)] + public string GcDescription { get; set; } + + /// + /// <p>boolean : online</p> + /// + /// <p>boolean : online</p> + [DataMember(Name="online", EmitDefaultValue=false)] + public bool? Online { get; set; } + + /// + /// <p>Specifies if a return receipt should be created.</p> + /// + /// <p>Specifies if a return receipt should be created.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + [DataMember(Name="externalSystemAdapterName", EmitDefaultValue=false)] + public string ExternalSystemAdapterName { get; set; } + + /// + /// <p>String : gc class</p> + /// + /// <p>String : gc class</p> + [DataMember(Name="gcClass", EmitDefaultValue=false)] + public string GcClass { get; set; } + + /// + /// <p>Date : expiry date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : expiry date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expiryDate", EmitDefaultValue=false)] + public string ExpiryDate { get; set; } + + /// + /// <p>int : quantity</p> + /// + /// <p>int : quantity</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>String : action code</p> + /// + /// <p>String : action code</p> + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// <p>String : gift certificate type</p> + /// + /// <p>String : gift certificate type</p> + [DataMember(Name="gcType", EmitDefaultValue=false)] + public string GcType { get; set; } + + /// + /// <p>boolean : gcs usage</p> + /// + /// <p>boolean : gcs usage</p> + [DataMember(Name="gcsUsage", EmitDefaultValue=false)] + public bool? GcsUsage { get; set; } + + /// + /// <p>String : tax group iD</p> + /// + /// <p>String : tax group iD</p> + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>Track2 data.</p> + /// + /// <p>Track2 data.</p> + [DataMember(Name="track2", EmitDefaultValue=false)] + public string Track2 { get; set; } + + /// + /// <p>Contains additional information.</p> + /// + /// <p>Contains additional information.</p> + [DataMember(Name="additionalInfo", EmitDefaultValue=false)] + public List AdditionalInfo { get; set; } + + /// + /// <p>The sales person number request</p> + /// + /// <p>The sales person number request</p> + [DataMember(Name="salesPersonNumberRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest SalesPersonNumberRequest { get; set; } + + /// + /// <p>Indicates whether the take away sale mode is active.</p> + /// + /// <p>Indicates whether the take away sale mode is active.</p> + [DataMember(Name="takeAwaySaleMode", EmitDefaultValue=false)] + public bool? TakeAwaySaleMode { get; set; } + + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" GcNumber: ").Append(GcNumber).Append("\n"); + sb.Append(" GcItemNumber: ").Append(GcItemNumber).Append("\n"); + sb.Append(" GcAmount: ").Append(GcAmount).Append("\n"); + sb.Append(" ServiceResult: ").Append(ServiceResult).Append("\n"); + sb.Append(" GcDescription: ").Append(GcDescription).Append("\n"); + sb.Append(" Online: ").Append(Online).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" ExternalSystemAdapterName: ").Append(ExternalSystemAdapterName).Append("\n"); + sb.Append(" GcClass: ").Append(GcClass).Append("\n"); + sb.Append(" ExpiryDate: ").Append(ExpiryDate).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" GcType: ").Append(GcType).Append("\n"); + sb.Append(" GcsUsage: ").Append(GcsUsage).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" Track2: ").Append(Track2).Append("\n"); + sb.Append(" AdditionalInfo: ").Append(AdditionalInfo).Append("\n"); + sb.Append(" SalesPersonNumberRequest: ").Append(SalesPersonNumberRequest).Append("\n"); + sb.Append(" TakeAwaySaleMode: ").Append(TakeAwaySaleMode).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.GcNumber == input.GcNumber || + (this.GcNumber != null && + this.GcNumber.Equals(input.GcNumber)) + ) && + ( + this.GcItemNumber == input.GcItemNumber || + (this.GcItemNumber != null && + this.GcItemNumber.Equals(input.GcItemNumber)) + ) && + ( + this.GcAmount == input.GcAmount || + (this.GcAmount != null && + this.GcAmount.Equals(input.GcAmount)) + ) && + ( + this.ServiceResult == input.ServiceResult || + (this.ServiceResult != null && + this.ServiceResult.Equals(input.ServiceResult)) + ) && + ( + this.GcDescription == input.GcDescription || + (this.GcDescription != null && + this.GcDescription.Equals(input.GcDescription)) + ) && + ( + this.Online == input.Online || + (this.Online != null && + this.Online.Equals(input.Online)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.ExternalSystemAdapterName == input.ExternalSystemAdapterName || + (this.ExternalSystemAdapterName != null && + this.ExternalSystemAdapterName.Equals(input.ExternalSystemAdapterName)) + ) && + ( + this.GcClass == input.GcClass || + (this.GcClass != null && + this.GcClass.Equals(input.GcClass)) + ) && + ( + this.ExpiryDate == input.ExpiryDate || + (this.ExpiryDate != null && + this.ExpiryDate.Equals(input.ExpiryDate)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.GcType == input.GcType || + (this.GcType != null && + this.GcType.Equals(input.GcType)) + ) && + ( + this.GcsUsage == input.GcsUsage || + (this.GcsUsage != null && + this.GcsUsage.Equals(input.GcsUsage)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.Track2 == input.Track2 || + (this.Track2 != null && + this.Track2.Equals(input.Track2)) + ) && + ( + this.AdditionalInfo == input.AdditionalInfo || + this.AdditionalInfo != null && + this.AdditionalInfo.SequenceEqual(input.AdditionalInfo) + ) && + ( + this.SalesPersonNumberRequest == input.SalesPersonNumberRequest || + (this.SalesPersonNumberRequest != null && + this.SalesPersonNumberRequest.Equals(input.SalesPersonNumberRequest)) + ) && + ( + this.TakeAwaySaleMode == input.TakeAwaySaleMode || + (this.TakeAwaySaleMode != null && + this.TakeAwaySaleMode.Equals(input.TakeAwaySaleMode)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.GcNumber != null) + hashCode = hashCode * 59 + this.GcNumber.GetHashCode(); + if (this.GcItemNumber != null) + hashCode = hashCode * 59 + this.GcItemNumber.GetHashCode(); + if (this.GcAmount != null) + hashCode = hashCode * 59 + this.GcAmount.GetHashCode(); + if (this.ServiceResult != null) + hashCode = hashCode * 59 + this.ServiceResult.GetHashCode(); + if (this.GcDescription != null) + hashCode = hashCode * 59 + this.GcDescription.GetHashCode(); + if (this.Online != null) + hashCode = hashCode * 59 + this.Online.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.ExternalSystemAdapterName != null) + hashCode = hashCode * 59 + this.ExternalSystemAdapterName.GetHashCode(); + if (this.GcClass != null) + hashCode = hashCode * 59 + this.GcClass.GetHashCode(); + if (this.ExpiryDate != null) + hashCode = hashCode * 59 + this.ExpiryDate.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.GcType != null) + hashCode = hashCode * 59 + this.GcType.GetHashCode(); + if (this.GcsUsage != null) + hashCode = hashCode * 59 + this.GcsUsage.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.Track2 != null) + hashCode = hashCode * 59 + this.Track2.GetHashCode(); + if (this.AdditionalInfo != null) + hashCode = hashCode * 59 + this.AdditionalInfo.GetHashCode(); + if (this.SalesPersonNumberRequest != null) + hashCode = hashCode * 59 + this.SalesPersonNumberRequest.GetHashCode(); + if (this.TakeAwaySaleMode != null) + hashCode = hashCode * 59 + this.TakeAwaySaleMode.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInternalLineItemData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInternalLineItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..45ba75f89bd758504dbe542117a238fb0fef0868 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInternalLineItemData.cs @@ -0,0 +1,193 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// InternalLineItemData TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionInternalLineItemData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Item identification.</p>. + /// <p>Item identification.</p>. + /// <p>Item amount.</p>. + /// <p>Item tax group id.</p>. + /// <p>Item description</p>. + public ComGkSoftwarePosApiServiceTransactionInternalLineItemData(string posItemID = default(string), string itemID = default(string), double? amount = default(double?), string taxGroupID = default(string), string itemReceiptText = default(string)) + { + this.PosItemID = posItemID; + this.ItemID = itemID; + this.Amount = amount; + this.TaxGroupID = taxGroupID; + this.ItemReceiptText = itemReceiptText; + } + + /// + /// <p>Item identification.</p> + /// + /// <p>Item identification.</p> + [DataMember(Name="posItemID", EmitDefaultValue=false)] + public string PosItemID { get; set; } + + /// + /// <p>Item identification.</p> + /// + /// <p>Item identification.</p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>Item amount.</p> + /// + /// <p>Item amount.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>Item tax group id.</p> + /// + /// <p>Item tax group id.</p> + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// <p>Item description</p> + /// + /// <p>Item description</p> + [DataMember(Name="itemReceiptText", EmitDefaultValue=false)] + public string ItemReceiptText { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionInternalLineItemData {\n"); + sb.Append(" PosItemID: ").Append(PosItemID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" ItemReceiptText: ").Append(ItemReceiptText).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionInternalLineItemData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionInternalLineItemData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionInternalLineItemData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionInternalLineItemData input) + { + if (input == null) + return false; + + return + ( + this.PosItemID == input.PosItemID || + (this.PosItemID != null && + this.PosItemID.Equals(input.PosItemID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.ItemReceiptText == input.ItemReceiptText || + (this.ItemReceiptText != null && + this.ItemReceiptText.Equals(input.ItemReceiptText)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PosItemID != null) + hashCode = hashCode * 59 + this.PosItemID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.ItemReceiptText != null) + hashCode = hashCode * 59 + this.ItemReceiptText.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a71740fafc5e64c560f60447829907e9b3398e7a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// InvoiceNumberRequest <p>Request object to create the invoice number and set it to transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The invoice transaction identifier.</p>. + /// <p>The invoice number format pattern.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string invoicetransactionId = default(string), string invoiceNumberFormat = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.InvoicetransactionId = invoicetransactionId; + this.InvoiceNumberFormat = invoiceNumberFormat; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The invoice transaction identifier.</p> + /// + /// <p>The invoice transaction identifier.</p> + [DataMember(Name="invoicetransactionId", EmitDefaultValue=false)] + public string InvoicetransactionId { get; set; } + + /// + /// <p>The invoice number format pattern.</p> + /// + /// <p>The invoice number format pattern.</p> + [DataMember(Name="invoiceNumberFormat", EmitDefaultValue=false)] + public string InvoiceNumberFormat { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" InvoicetransactionId: ").Append(InvoicetransactionId).Append("\n"); + sb.Append(" InvoiceNumberFormat: ").Append(InvoiceNumberFormat).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.InvoicetransactionId == input.InvoicetransactionId || + (this.InvoicetransactionId != null && + this.InvoicetransactionId.Equals(input.InvoicetransactionId)) + ) && + ( + this.InvoiceNumberFormat == input.InvoiceNumberFormat || + (this.InvoiceNumberFormat != null && + this.InvoiceNumberFormat.Equals(input.InvoiceNumberFormat)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.InvoicetransactionId != null) + hashCode = hashCode * 59 + this.InvoicetransactionId.GetHashCode(); + if (this.InvoiceNumberFormat != null) + hashCode = hashCode * 59 + this.InvoiceNumberFormat.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..76175e58344f9ca58f1f7d6700a658308d554533 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// InvoicePrintoutTypeCodeRequest <p>Request object to set the invoice printout type code.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The invoice printout type code.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string invoicePrintoutTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.InvoicePrintoutTypeCode = invoicePrintoutTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The invoice printout type code.</p> + /// + /// <p>The invoice printout type code.</p> + [DataMember(Name="invoicePrintoutTypeCode", EmitDefaultValue=false)] + public string InvoicePrintoutTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" InvoicePrintoutTypeCode: ").Append(InvoicePrintoutTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.InvoicePrintoutTypeCode == input.InvoicePrintoutTypeCode || + (this.InvoicePrintoutTypeCode != null && + this.InvoicePrintoutTypeCode.Equals(input.InvoicePrintoutTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.InvoicePrintoutTypeCode != null) + hashCode = hashCode * 59 + this.InvoicePrintoutTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionItemIdentificator.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionItemIdentificator.cs new file mode 100644 index 0000000000000000000000000000000000000000..d680b1c8c40a9222c89fcdc8d09c12bffb1d902d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionItemIdentificator.cs @@ -0,0 +1,142 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemIdentificator <p>Domain object for ItemIdentificator.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionItemIdentificator : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The id of the item to register.</p>. + /// <p>The id of the item to register.</p>. + public ComGkSoftwarePosApiServiceTransactionItemIdentificator(string itemID = default(string), string uomCode = default(string)) + { + this.ItemID = itemID; + this.UomCode = uomCode; + } + + /// + /// <p>The id of the item to register.</p> + /// + /// <p>The id of the item to register.</p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>The id of the item to register.</p> + /// + /// <p>The id of the item to register.</p> + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionItemIdentificator {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionItemIdentificator); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionItemIdentificator instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionItemIdentificator to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionItemIdentificator input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLimitExceedResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLimitExceedResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..16bdeefe7909f60c806d89e228bd591af8f7b2bf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLimitExceedResult.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LimitExceedResult <p>The limit exceed result</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionLimitExceedResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionLimitExceedResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The limit exceed action</p> (required). + /// <p>The old price</p> (required). + /// <p>The new price</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionLimitExceedResult(string limitExceedAction = default(string), double? oldPrice = default(double?), double? newPrice = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "limitExceedAction" is required (not null) + if (limitExceedAction == null) + { + throw new InvalidDataException("limitExceedAction is a required property for ComGkSoftwarePosApiServiceTransactionLimitExceedResult and cannot be null"); + } + else + { + this.LimitExceedAction = limitExceedAction; + } + // to ensure "oldPrice" is required (not null) + if (oldPrice == null) + { + throw new InvalidDataException("oldPrice is a required property for ComGkSoftwarePosApiServiceTransactionLimitExceedResult and cannot be null"); + } + else + { + this.OldPrice = oldPrice; + } + // to ensure "newPrice" is required (not null) + if (newPrice == null) + { + throw new InvalidDataException("newPrice is a required property for ComGkSoftwarePosApiServiceTransactionLimitExceedResult and cannot be null"); + } + else + { + this.NewPrice = newPrice; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The limit exceed action</p> + /// + /// <p>The limit exceed action</p> + [DataMember(Name="limitExceedAction", EmitDefaultValue=false)] + public string LimitExceedAction { get; set; } + + /// + /// <p>The old price</p> + /// + /// <p>The old price</p> + [DataMember(Name="oldPrice", EmitDefaultValue=false)] + public double? OldPrice { get; set; } + + /// + /// <p>The new price</p> + /// + /// <p>The new price</p> + [DataMember(Name="newPrice", EmitDefaultValue=false)] + public double? NewPrice { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionLimitExceedResult {\n"); + sb.Append(" LimitExceedAction: ").Append(LimitExceedAction).Append("\n"); + sb.Append(" OldPrice: ").Append(OldPrice).Append("\n"); + sb.Append(" NewPrice: ").Append(NewPrice).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionLimitExceedResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionLimitExceedResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionLimitExceedResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionLimitExceedResult input) + { + if (input == null) + return false; + + return + ( + this.LimitExceedAction == input.LimitExceedAction || + (this.LimitExceedAction != null && + this.LimitExceedAction.Equals(input.LimitExceedAction)) + ) && + ( + this.OldPrice == input.OldPrice || + (this.OldPrice != null && + this.OldPrice.Equals(input.OldPrice)) + ) && + ( + this.NewPrice == input.NewPrice || + (this.NewPrice != null && + this.NewPrice.Equals(input.NewPrice)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LimitExceedAction != null) + hashCode = hashCode * 59 + this.LimitExceedAction.GetHashCode(); + if (this.OldPrice != null) + hashCode = hashCode * 59 + this.OldPrice.GetHashCode(); + if (this.NewPrice != null) + hashCode = hashCode * 59 + this.NewPrice.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..aed063d59ece0c1ed7266bec4483f3dc97a10908 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest.cs @@ -0,0 +1,511 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemExtensionRequest <p>Domain object for LineItemExtensionRequest.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The extension Key.</p>. + /// <p>The extension Value.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string extensionKey = default(string), string extensionValue = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.ExtensionKey = extensionKey; + this.ExtensionValue = extensionValue; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The extension Key.</p> + /// + /// <p>The extension Key.</p> + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>The extension Value.</p> + /// + /// <p>The extension Value.</p> + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4a7b4b155614d4fc09303914117b4a037c56aadb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemExtensionsRequest <p>Domain object for LineItemExtensionsRequest.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The extensions request.</p>. + /// <p>The operation configuration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest(List extensionRequests = default(List), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ExtensionRequests = extensionRequests; + this.OperationConfiguration = operationConfiguration; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The extensions request.</p> + /// + /// <p>The extensions request.</p> + [DataMember(Name="extensionRequests", EmitDefaultValue=false)] + public List ExtensionRequests { get; set; } + + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest {\n"); + sb.Append(" ExtensionRequests: ").Append(ExtensionRequests).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest input) + { + if (input == null) + return false; + + return + ( + this.ExtensionRequests == input.ExtensionRequests || + this.ExtensionRequests != null && + this.ExtensionRequests.SequenceEqual(input.ExtensionRequests) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExtensionRequests != null) + hashCode = hashCode * 59 + this.ExtensionRequests.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..2e4698387804480a87053c06c2d443763811b73a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LineItemsReductionDetail <p>Entity containing details for performing the item reduction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The key identifier for the line item to be reduced.</p>. + /// <p>Describes the maximum number of reductions to be performed on given line item.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), int? maximumReductionQuantity = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LineItemKey = lineItemKey; + this.MaximumReductionQuantity = maximumReductionQuantity; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The key identifier for the line item to be reduced.</p> + /// + /// <p>The key identifier for the line item to be reduced.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Describes the maximum number of reductions to be performed on given line item.</p> + /// + /// <p>Describes the maximum number of reductions to be performed on given line item.</p> + [DataMember(Name="maximumReductionQuantity", EmitDefaultValue=false)] + public int? MaximumReductionQuantity { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" MaximumReductionQuantity: ").Append(MaximumReductionQuantity).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.MaximumReductionQuantity == input.MaximumReductionQuantity || + (this.MaximumReductionQuantity != null && + this.MaximumReductionQuantity.Equals(input.MaximumReductionQuantity)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.MaximumReductionQuantity != null) + hashCode = hashCode * 59 + this.MaximumReductionQuantity.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c854dd81501b29615c76e32e4a48303865702783 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// LinkedItemRegistrationRequest <p>Request object for registering linked items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The id of the linked item to be registered.</p>. + /// <p>the UOM code of the linked item to be registered.</p>. + /// <p>The id of the main item linked to this linked item.</p>. + /// <p>The actionCode of this linked item.</p>. + /// <p>The units of this linked item.</p>. + /// <p>The quantity of the mainitem.</p>. + /// <p>linkedLineItemSequenceNumber of this linked item.</p>. + /// <p>RetailTransactionLineItem</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest(string linkedItemId = default(string), string linkedItemUOMCode = default(string), string mainItemId = default(string), string actionCode = default(string), double? units = default(double?), int? quantity = default(int?), int? maintemSequenceNumber = default(int?), ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem mainLineItem = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LinkedItemId = linkedItemId; + this.LinkedItemUOMCode = linkedItemUOMCode; + this.MainItemId = mainItemId; + this.ActionCode = actionCode; + this.Units = units; + this.Quantity = quantity; + this.MaintemSequenceNumber = maintemSequenceNumber; + this.MainLineItem = mainLineItem; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The id of the linked item to be registered.</p> + /// + /// <p>The id of the linked item to be registered.</p> + [DataMember(Name="linkedItemId", EmitDefaultValue=false)] + public string LinkedItemId { get; set; } + + /// + /// <p>the UOM code of the linked item to be registered.</p> + /// + /// <p>the UOM code of the linked item to be registered.</p> + [DataMember(Name="linkedItemUOMCode", EmitDefaultValue=false)] + public string LinkedItemUOMCode { get; set; } + + /// + /// <p>The id of the main item linked to this linked item.</p> + /// + /// <p>The id of the main item linked to this linked item.</p> + [DataMember(Name="mainItemId", EmitDefaultValue=false)] + public string MainItemId { get; set; } + + /// + /// <p>The actionCode of this linked item.</p> + /// + /// <p>The actionCode of this linked item.</p> + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// <p>The units of this linked item.</p> + /// + /// <p>The units of this linked item.</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>The quantity of the mainitem.</p> + /// + /// <p>The quantity of the mainitem.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>linkedLineItemSequenceNumber of this linked item.</p> + /// + /// <p>linkedLineItemSequenceNumber of this linked item.</p> + [DataMember(Name="maintemSequenceNumber", EmitDefaultValue=false)] + public int? MaintemSequenceNumber { get; set; } + + /// + /// <p>RetailTransactionLineItem</p> + /// + /// <p>RetailTransactionLineItem</p> + [DataMember(Name="mainLineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem MainLineItem { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest {\n"); + sb.Append(" LinkedItemId: ").Append(LinkedItemId).Append("\n"); + sb.Append(" LinkedItemUOMCode: ").Append(LinkedItemUOMCode).Append("\n"); + sb.Append(" MainItemId: ").Append(MainItemId).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" MaintemSequenceNumber: ").Append(MaintemSequenceNumber).Append("\n"); + sb.Append(" MainLineItem: ").Append(MainLineItem).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest input) + { + if (input == null) + return false; + + return + ( + this.LinkedItemId == input.LinkedItemId || + (this.LinkedItemId != null && + this.LinkedItemId.Equals(input.LinkedItemId)) + ) && + ( + this.LinkedItemUOMCode == input.LinkedItemUOMCode || + (this.LinkedItemUOMCode != null && + this.LinkedItemUOMCode.Equals(input.LinkedItemUOMCode)) + ) && + ( + this.MainItemId == input.MainItemId || + (this.MainItemId != null && + this.MainItemId.Equals(input.MainItemId)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.MaintemSequenceNumber == input.MaintemSequenceNumber || + (this.MaintemSequenceNumber != null && + this.MaintemSequenceNumber.Equals(input.MaintemSequenceNumber)) + ) && + ( + this.MainLineItem == input.MainLineItem || + (this.MainLineItem != null && + this.MainLineItem.Equals(input.MainLineItem)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LinkedItemId != null) + hashCode = hashCode * 59 + this.LinkedItemId.GetHashCode(); + if (this.LinkedItemUOMCode != null) + hashCode = hashCode * 59 + this.LinkedItemUOMCode.GetHashCode(); + if (this.MainItemId != null) + hashCode = hashCode * 59 + this.MainItemId.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.MaintemSequenceNumber != null) + hashCode = hashCode * 59 + this.MaintemSequenceNumber.GetHashCode(); + if (this.MainLineItem != null) + hashCode = hashCode * 59 + this.MainLineItem.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..338bcb810077e2ab09e396924257b5a0805be720 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PKORKONumberRequest <p>Request object to retrieve new document number for PKO/RKO reports.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier for the invoice transaction.</p>. + /// <p>The invoice number format pattern.</p>. + /// <p>The transaction type.</p>. + /// <p>The generator name.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest(string invoicetransactionId = default(string), string invoiceNumberFormat = default(string), string transactionType = default(string), string generatorName = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.InvoicetransactionId = invoicetransactionId; + this.InvoiceNumberFormat = invoiceNumberFormat; + this.TransactionType = transactionType; + this.GeneratorName = generatorName; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier for the invoice transaction.</p> + /// + /// <p>The identifier for the invoice transaction.</p> + [DataMember(Name="invoicetransactionId", EmitDefaultValue=false)] + public string InvoicetransactionId { get; set; } + + /// + /// <p>The invoice number format pattern.</p> + /// + /// <p>The invoice number format pattern.</p> + [DataMember(Name="invoiceNumberFormat", EmitDefaultValue=false)] + public string InvoiceNumberFormat { get; set; } + + /// + /// <p>The transaction type.</p> + /// + /// <p>The transaction type.</p> + [DataMember(Name="transactionType", EmitDefaultValue=false)] + public string TransactionType { get; set; } + + /// + /// <p>The generator name.</p> + /// + /// <p>The generator name.</p> + [DataMember(Name="generatorName", EmitDefaultValue=false)] + public string GeneratorName { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest {\n"); + sb.Append(" InvoicetransactionId: ").Append(InvoicetransactionId).Append("\n"); + sb.Append(" InvoiceNumberFormat: ").Append(InvoiceNumberFormat).Append("\n"); + sb.Append(" TransactionType: ").Append(TransactionType).Append("\n"); + sb.Append(" GeneratorName: ").Append(GeneratorName).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest input) + { + if (input == null) + return false; + + return + ( + this.InvoicetransactionId == input.InvoicetransactionId || + (this.InvoicetransactionId != null && + this.InvoicetransactionId.Equals(input.InvoicetransactionId)) + ) && + ( + this.InvoiceNumberFormat == input.InvoiceNumberFormat || + (this.InvoiceNumberFormat != null && + this.InvoiceNumberFormat.Equals(input.InvoiceNumberFormat)) + ) && + ( + this.TransactionType == input.TransactionType || + (this.TransactionType != null && + this.TransactionType.Equals(input.TransactionType)) + ) && + ( + this.GeneratorName == input.GeneratorName || + (this.GeneratorName != null && + this.GeneratorName.Equals(input.GeneratorName)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.InvoicetransactionId != null) + hashCode = hashCode * 59 + this.InvoicetransactionId.GetHashCode(); + if (this.InvoiceNumberFormat != null) + hashCode = hashCode * 59 + this.InvoiceNumberFormat.GetHashCode(); + if (this.TransactionType != null) + hashCode = hashCode * 59 + this.TransactionType.GetHashCode(); + if (this.GeneratorName != null) + hashCode = hashCode * 59 + this.GeneratorName.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..956f7be8e32e0b860cda5764c56328ef861084c8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest.cs @@ -0,0 +1,645 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PayInOutLineItemRequest <p>Domain object for CreatePayInOutLineItem Request</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest : IEquatable, IValidatableObject + { + /// + /// <p>The PayInOutType</p> + /// + /// <p>The PayInOutType</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ItemTypeEnum + { + + /// + /// Enum INLINEITEM for value: PAY_IN_LINEITEM + /// + [EnumMember(Value = "PAY_IN_LINEITEM")] + INLINEITEM = 1, + + /// + /// Enum INRECEIPT for value: PAY_IN_RECEIPT + /// + [EnumMember(Value = "PAY_IN_RECEIPT")] + INRECEIPT = 2, + + /// + /// Enum OUTLINEITEM for value: PAY_OUT_LINEITEM + /// + [EnumMember(Value = "PAY_OUT_LINEITEM")] + OUTLINEITEM = 3, + + /// + /// Enum OUTRECEIPT for value: PAY_OUT_RECEIPT + /// + [EnumMember(Value = "PAY_OUT_RECEIPT")] + OUTRECEIPT = 4 + } + + /// + /// <p>The PayInOutType</p> + /// + /// <p>The PayInOutType</p> + [DataMember(Name="itemType", EmitDefaultValue=false)] + public ItemTypeEnum? ItemType { get; set; } + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum SellerRelationMethodEnum + { + + /// + /// Enum CurrentLineItemOnly for value: CurrentLineItemOnly + /// + [EnumMember(Value = "CurrentLineItemOnly")] + CurrentLineItemOnly = 1, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentTransaction for value: CurrentAndFollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentTransaction")] + CurrentAndFollowingLineItemsOfCurrentTransaction = 2, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions for value: CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions")] + CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions = 3, + + /// + /// Enum AllLineItemsOfCurrentTransaction for value: AllLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "AllLineItemsOfCurrentTransaction")] + AllLineItemsOfCurrentTransaction = 4, + + /// + /// Enum FollowingLineItemsOfCurrentTransaction for value: FollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentTransaction")] + FollowingLineItemsOfCurrentTransaction = 5, + + /// + /// Enum FollowingLineItemsOfCurrentAndFollowingTransactions for value: FollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentAndFollowingTransactions")] + FollowingLineItemsOfCurrentAndFollowingTransactions = 6 + } + + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + [DataMember(Name="sellerRelationMethod", EmitDefaultValue=false)] + public SellerRelationMethodEnum? SellerRelationMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The reason</p>. + /// <p>The amount</p>. + /// <p>The taxGroupId</p>. + /// <p>The PayInOutType</p>. + /// <p>The operationConfiguration</p>. + /// <p>The receiptText</p>. + /// <p>The customerReceiptText</p>. + /// <p>The PayInOutReasonParam</p>. + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>String to store seller Id</p>. + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p>. + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), double? amount = default(double?), string taxGroupId = default(string), ItemTypeEnum? itemType = default(ItemTypeEnum?), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string receiptText = default(string), string customerReceiptText = default(string), ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam reasonParams = default(ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string sellerId = default(string), SellerRelationMethodEnum? sellerRelationMethod = default(SellerRelationMethodEnum?), string entryMethodCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Reason = reason; + this.Amount = amount; + this.TaxGroupId = taxGroupId; + this.ItemType = itemType; + this.OperationConfiguration = operationConfiguration; + this.ReceiptText = receiptText; + this.CustomerReceiptText = customerReceiptText; + this.ReasonParams = reasonParams; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.SellerId = sellerId; + this.SellerRelationMethod = sellerRelationMethod; + this.EntryMethodCode = entryMethodCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The reason</p> + /// + /// <p>The reason</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>The amount</p> + /// + /// <p>The amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>The taxGroupId</p> + /// + /// <p>The taxGroupId</p> + [DataMember(Name="taxGroupId", EmitDefaultValue=false)] + public string TaxGroupId { get; set; } + + + /// + /// <p>The operationConfiguration</p> + /// + /// <p>The operationConfiguration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The receiptText</p> + /// + /// <p>The receiptText</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>The customerReceiptText</p> + /// + /// <p>The customerReceiptText</p> + [DataMember(Name="customerReceiptText", EmitDefaultValue=false)] + public string CustomerReceiptText { get; set; } + + /// + /// <p>The PayInOutReasonParam</p> + /// + /// <p>The PayInOutReasonParam</p> + [DataMember(Name="reasonParams", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam ReasonParams { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>String to store seller Id</p> + /// + /// <p>String to store seller Id</p> + [DataMember(Name="sellerId", EmitDefaultValue=false)] + public string SellerId { get; set; } + + + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest {\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" TaxGroupId: ").Append(TaxGroupId).Append("\n"); + sb.Append(" ItemType: ").Append(ItemType).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" CustomerReceiptText: ").Append(CustomerReceiptText).Append("\n"); + sb.Append(" ReasonParams: ").Append(ReasonParams).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" SellerId: ").Append(SellerId).Append("\n"); + sb.Append(" SellerRelationMethod: ").Append(SellerRelationMethod).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.TaxGroupId == input.TaxGroupId || + (this.TaxGroupId != null && + this.TaxGroupId.Equals(input.TaxGroupId)) + ) && + ( + this.ItemType == input.ItemType || + (this.ItemType != null && + this.ItemType.Equals(input.ItemType)) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.CustomerReceiptText == input.CustomerReceiptText || + (this.CustomerReceiptText != null && + this.CustomerReceiptText.Equals(input.CustomerReceiptText)) + ) && + ( + this.ReasonParams == input.ReasonParams || + (this.ReasonParams != null && + this.ReasonParams.Equals(input.ReasonParams)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.SellerId == input.SellerId || + (this.SellerId != null && + this.SellerId.Equals(input.SellerId)) + ) && + ( + this.SellerRelationMethod == input.SellerRelationMethod || + (this.SellerRelationMethod != null && + this.SellerRelationMethod.Equals(input.SellerRelationMethod)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.TaxGroupId != null) + hashCode = hashCode * 59 + this.TaxGroupId.GetHashCode(); + if (this.ItemType != null) + hashCode = hashCode * 59 + this.ItemType.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.CustomerReceiptText != null) + hashCode = hashCode * 59 + this.CustomerReceiptText.GetHashCode(); + if (this.ReasonParams != null) + hashCode = hashCode * 59 + this.ReasonParams.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.SellerId != null) + hashCode = hashCode * 59 + this.SellerId.GetHashCode(); + if (this.SellerRelationMethod != null) + hashCode = hashCode * 59 + this.SellerRelationMethod.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam.cs new file mode 100644 index 0000000000000000000000000000000000000000..c283fa6d112961694b23404f8a7b899d7354c613 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam.cs @@ -0,0 +1,312 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PayInOutReasonParam <p>Domain object for PayInOutReasonParam</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The input0_name.</p>. + /// <p>The input1_name.</p>. + /// <p>The input2_name.</p>. + /// <p>The input3_name.</p>. + /// <p>The input0_value.</p>. + /// <p>The input1_value.</p>. + /// <p>The input2_value.</p>. + /// <p>The input3_value.</p>. + /// <p>The input0_id.</p>. + /// <p>The input1_id.</p>. + /// <p>The input2_id.</p>. + /// <p>The input3_id.</p>. + public ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam(string input0Name = default(string), string input1Name = default(string), string input2Name = default(string), string input3Name = default(string), string input0Value = default(string), string input1Value = default(string), string input2Value = default(string), string input3Value = default(string), string input0Id = default(string), string input1Id = default(string), string input2Id = default(string), string input3Id = default(string)) + { + this.Input0Name = input0Name; + this.Input1Name = input1Name; + this.Input2Name = input2Name; + this.Input3Name = input3Name; + this.Input0Value = input0Value; + this.Input1Value = input1Value; + this.Input2Value = input2Value; + this.Input3Value = input3Value; + this.Input0Id = input0Id; + this.Input1Id = input1Id; + this.Input2Id = input2Id; + this.Input3Id = input3Id; + } + + /// + /// <p>The input0_name.</p> + /// + /// <p>The input0_name.</p> + [DataMember(Name="input0_name", EmitDefaultValue=false)] + public string Input0Name { get; set; } + + /// + /// <p>The input1_name.</p> + /// + /// <p>The input1_name.</p> + [DataMember(Name="input1_name", EmitDefaultValue=false)] + public string Input1Name { get; set; } + + /// + /// <p>The input2_name.</p> + /// + /// <p>The input2_name.</p> + [DataMember(Name="input2_name", EmitDefaultValue=false)] + public string Input2Name { get; set; } + + /// + /// <p>The input3_name.</p> + /// + /// <p>The input3_name.</p> + [DataMember(Name="input3_name", EmitDefaultValue=false)] + public string Input3Name { get; set; } + + /// + /// <p>The input0_value.</p> + /// + /// <p>The input0_value.</p> + [DataMember(Name="input0_value", EmitDefaultValue=false)] + public string Input0Value { get; set; } + + /// + /// <p>The input1_value.</p> + /// + /// <p>The input1_value.</p> + [DataMember(Name="input1_value", EmitDefaultValue=false)] + public string Input1Value { get; set; } + + /// + /// <p>The input2_value.</p> + /// + /// <p>The input2_value.</p> + [DataMember(Name="input2_value", EmitDefaultValue=false)] + public string Input2Value { get; set; } + + /// + /// <p>The input3_value.</p> + /// + /// <p>The input3_value.</p> + [DataMember(Name="input3_value", EmitDefaultValue=false)] + public string Input3Value { get; set; } + + /// + /// <p>The input0_id.</p> + /// + /// <p>The input0_id.</p> + [DataMember(Name="input0_id", EmitDefaultValue=false)] + public string Input0Id { get; set; } + + /// + /// <p>The input1_id.</p> + /// + /// <p>The input1_id.</p> + [DataMember(Name="input1_id", EmitDefaultValue=false)] + public string Input1Id { get; set; } + + /// + /// <p>The input2_id.</p> + /// + /// <p>The input2_id.</p> + [DataMember(Name="input2_id", EmitDefaultValue=false)] + public string Input2Id { get; set; } + + /// + /// <p>The input3_id.</p> + /// + /// <p>The input3_id.</p> + [DataMember(Name="input3_id", EmitDefaultValue=false)] + public string Input3Id { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam {\n"); + sb.Append(" Input0Name: ").Append(Input0Name).Append("\n"); + sb.Append(" Input1Name: ").Append(Input1Name).Append("\n"); + sb.Append(" Input2Name: ").Append(Input2Name).Append("\n"); + sb.Append(" Input3Name: ").Append(Input3Name).Append("\n"); + sb.Append(" Input0Value: ").Append(Input0Value).Append("\n"); + sb.Append(" Input1Value: ").Append(Input1Value).Append("\n"); + sb.Append(" Input2Value: ").Append(Input2Value).Append("\n"); + sb.Append(" Input3Value: ").Append(Input3Value).Append("\n"); + sb.Append(" Input0Id: ").Append(Input0Id).Append("\n"); + sb.Append(" Input1Id: ").Append(Input1Id).Append("\n"); + sb.Append(" Input2Id: ").Append(Input2Id).Append("\n"); + sb.Append(" Input3Id: ").Append(Input3Id).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam input) + { + if (input == null) + return false; + + return + ( + this.Input0Name == input.Input0Name || + (this.Input0Name != null && + this.Input0Name.Equals(input.Input0Name)) + ) && + ( + this.Input1Name == input.Input1Name || + (this.Input1Name != null && + this.Input1Name.Equals(input.Input1Name)) + ) && + ( + this.Input2Name == input.Input2Name || + (this.Input2Name != null && + this.Input2Name.Equals(input.Input2Name)) + ) && + ( + this.Input3Name == input.Input3Name || + (this.Input3Name != null && + this.Input3Name.Equals(input.Input3Name)) + ) && + ( + this.Input0Value == input.Input0Value || + (this.Input0Value != null && + this.Input0Value.Equals(input.Input0Value)) + ) && + ( + this.Input1Value == input.Input1Value || + (this.Input1Value != null && + this.Input1Value.Equals(input.Input1Value)) + ) && + ( + this.Input2Value == input.Input2Value || + (this.Input2Value != null && + this.Input2Value.Equals(input.Input2Value)) + ) && + ( + this.Input3Value == input.Input3Value || + (this.Input3Value != null && + this.Input3Value.Equals(input.Input3Value)) + ) && + ( + this.Input0Id == input.Input0Id || + (this.Input0Id != null && + this.Input0Id.Equals(input.Input0Id)) + ) && + ( + this.Input1Id == input.Input1Id || + (this.Input1Id != null && + this.Input1Id.Equals(input.Input1Id)) + ) && + ( + this.Input2Id == input.Input2Id || + (this.Input2Id != null && + this.Input2Id.Equals(input.Input2Id)) + ) && + ( + this.Input3Id == input.Input3Id || + (this.Input3Id != null && + this.Input3Id.Equals(input.Input3Id)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Input0Name != null) + hashCode = hashCode * 59 + this.Input0Name.GetHashCode(); + if (this.Input1Name != null) + hashCode = hashCode * 59 + this.Input1Name.GetHashCode(); + if (this.Input2Name != null) + hashCode = hashCode * 59 + this.Input2Name.GetHashCode(); + if (this.Input3Name != null) + hashCode = hashCode * 59 + this.Input3Name.GetHashCode(); + if (this.Input0Value != null) + hashCode = hashCode * 59 + this.Input0Value.GetHashCode(); + if (this.Input1Value != null) + hashCode = hashCode * 59 + this.Input1Value.GetHashCode(); + if (this.Input2Value != null) + hashCode = hashCode * 59 + this.Input2Value.GetHashCode(); + if (this.Input3Value != null) + hashCode = hashCode * 59 + this.Input3Value.GetHashCode(); + if (this.Input0Id != null) + hashCode = hashCode * 59 + this.Input0Id.GetHashCode(); + if (this.Input1Id != null) + hashCode = hashCode * 59 + this.Input1Id.GetHashCode(); + if (this.Input2Id != null) + hashCode = hashCode * 59 + this.Input2Id.GetHashCode(); + if (this.Input3Id != null) + hashCode = hashCode * 59 + this.Input3Id.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a1098f47093f777ac7dec602753cfa784670395e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest.cs @@ -0,0 +1,430 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PointsRefundBatchRequest <p>The entity for refunding batch of points line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Position operation configuration</p>. + /// <p>The retailTransactionLineItems</p>. + /// <p>The businessUnitId</p>. + /// trainingMode. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), List retailTransactionLineItems = default(List), string businessUnitId = default(string), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfiguration = positionOperationConfiguration; + this.RetailTransactionLineItems = retailTransactionLineItems; + this.BusinessUnitId = businessUnitId; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Position operation configuration</p> + /// + /// <p>Position operation configuration</p> + [DataMember(Name="positionOperationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfiguration { get; set; } + + /// + /// <p>The retailTransactionLineItems</p> + /// + /// <p>The retailTransactionLineItems</p> + [DataMember(Name="retailTransactionLineItems", EmitDefaultValue=false)] + public List RetailTransactionLineItems { get; set; } + + /// + /// <p>The businessUnitId</p> + /// + /// <p>The businessUnitId</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// Gets or Sets TrainingMode + /// + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest {\n"); + sb.Append(" PositionOperationConfiguration: ").Append(PositionOperationConfiguration).Append("\n"); + sb.Append(" RetailTransactionLineItems: ").Append(RetailTransactionLineItems).Append("\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfiguration == input.PositionOperationConfiguration || + (this.PositionOperationConfiguration != null && + this.PositionOperationConfiguration.Equals(input.PositionOperationConfiguration)) + ) && + ( + this.RetailTransactionLineItems == input.RetailTransactionLineItems || + this.RetailTransactionLineItems != null && + this.RetailTransactionLineItems.SequenceEqual(input.RetailTransactionLineItems) + ) && + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfiguration != null) + hashCode = hashCode * 59 + this.PositionOperationConfiguration.GetHashCode(); + if (this.RetailTransactionLineItems != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItems.GetHashCode(); + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPointsRefundRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPointsRefundRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..deb82150277fb813525c46d49051082cd69628e5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPointsRefundRequest.cs @@ -0,0 +1,469 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PointsRefundRequest <p>The entity PointsRefundRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPointsRefundRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionPointsRefundRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The retailTransactionLineItem</p>. + /// <p>The businessUnitId</p>. + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all points.</p> (required). + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> (required). + /// <p>Indicates whether service call should be performed in training mode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPointsRefundRequest(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem retailTransactionLineItem = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem), string businessUnitId = default(string), bool? ignoreFailures = default(bool?), bool? voidTenderLineItems = default(bool?), bool? trainingMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "ignoreFailures" is required (not null) + if (ignoreFailures == null) + { + throw new InvalidDataException("ignoreFailures is a required property for ComGkSoftwarePosApiServiceTransactionPointsRefundRequest and cannot be null"); + } + else + { + this.IgnoreFailures = ignoreFailures; + } + // to ensure "voidTenderLineItems" is required (not null) + if (voidTenderLineItems == null) + { + throw new InvalidDataException("voidTenderLineItems is a required property for ComGkSoftwarePosApiServiceTransactionPointsRefundRequest and cannot be null"); + } + else + { + this.VoidTenderLineItems = voidTenderLineItems; + } + this.RetailTransactionLineItem = retailTransactionLineItem; + this.BusinessUnitId = businessUnitId; + this.TrainingMode = trainingMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retailTransactionLineItem</p> + /// + /// <p>The retailTransactionLineItem</p> + [DataMember(Name="retailTransactionLineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem RetailTransactionLineItem { get; set; } + + /// + /// <p>The businessUnitId</p> + /// + /// <p>The businessUnitId</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all points.</p> + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all points.</p> + [DataMember(Name="ignoreFailures", EmitDefaultValue=false)] + public bool? IgnoreFailures { get; set; } + + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + [DataMember(Name="voidTenderLineItems", EmitDefaultValue=false)] + public bool? VoidTenderLineItems { get; set; } + + /// + /// <p>Indicates whether service call should be performed in training mode.</p> + /// + /// <p>Indicates whether service call should be performed in training mode.</p> + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPointsRefundRequest {\n"); + sb.Append(" RetailTransactionLineItem: ").Append(RetailTransactionLineItem).Append("\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" IgnoreFailures: ").Append(IgnoreFailures).Append("\n"); + sb.Append(" VoidTenderLineItems: ").Append(VoidTenderLineItems).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPointsRefundRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPointsRefundRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPointsRefundRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPointsRefundRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailTransactionLineItem == input.RetailTransactionLineItem || + (this.RetailTransactionLineItem != null && + this.RetailTransactionLineItem.Equals(input.RetailTransactionLineItem)) + ) && + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.IgnoreFailures == input.IgnoreFailures || + (this.IgnoreFailures != null && + this.IgnoreFailures.Equals(input.IgnoreFailures)) + ) && + ( + this.VoidTenderLineItems == input.VoidTenderLineItems || + (this.VoidTenderLineItems != null && + this.VoidTenderLineItems.Equals(input.VoidTenderLineItems)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailTransactionLineItem != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItem.GetHashCode(); + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.IgnoreFailures != null) + hashCode = hashCode * 59 + this.IgnoreFailures.GetHashCode(); + if (this.VoidTenderLineItems != null) + hashCode = hashCode * 59 + this.VoidTenderLineItems.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f52b8b43dcb4e50aed98f725d56ed87320da605c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosTransactionCRSCashExchangeRequest <p>Request object to create a cash recycler exchange transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>String: the operator ID</p>. + /// <p>Double: the amount that should be payed out</p>. + /// <p>Double: the amount that was payed out</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest(string operatorId = default(string), double? amountToPayOut = default(double?), double? amountPayedOut = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OperatorId = operatorId; + this.AmountToPayOut = amountToPayOut; + this.AmountPayedOut = amountPayedOut; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>String: the operator ID</p> + /// + /// <p>String: the operator ID</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>Double: the amount that should be payed out</p> + /// + /// <p>Double: the amount that should be payed out</p> + [DataMember(Name="amountToPayOut", EmitDefaultValue=false)] + public double? AmountToPayOut { get; set; } + + /// + /// <p>Double: the amount that was payed out</p> + /// + /// <p>Double: the amount that was payed out</p> + [DataMember(Name="amountPayedOut", EmitDefaultValue=false)] + public double? AmountPayedOut { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest {\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" AmountToPayOut: ").Append(AmountToPayOut).Append("\n"); + sb.Append(" AmountPayedOut: ").Append(AmountPayedOut).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest input) + { + if (input == null) + return false; + + return + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.AmountToPayOut == input.AmountToPayOut || + (this.AmountToPayOut != null && + this.AmountToPayOut.Equals(input.AmountToPayOut)) + ) && + ( + this.AmountPayedOut == input.AmountPayedOut || + (this.AmountPayedOut != null && + this.AmountPayedOut.Equals(input.AmountPayedOut)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.AmountToPayOut != null) + hashCode = hashCode * 59 + this.AmountToPayOut.GetHashCode(); + if (this.AmountPayedOut != null) + hashCode = hashCode * 59 + this.AmountPayedOut.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPosTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPosTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..10ceaa40882a04a5d124206e10b860ce8f79df2a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPosTransactionRequest.cs @@ -0,0 +1,482 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosTransactionRequest <p>Request object for multiple PosTransactionService calls, e.g. to create special control transactions.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPosTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The retail store identifier.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The client version.</p>. + /// <p>The operator identifier.</p>. + /// <p>The terminal cache.</p>. + /// <p>The reason.</p>. + /// <p>The tax certificate identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPosTransactionRequest(string retailStoreId = default(string), string workstationId = default(string), string clientVersion = default(string), string operatorId = default(string), string terminalCache = default(string), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), string taxCertificateId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RetailStoreId = retailStoreId; + this.WorkstationId = workstationId; + this.ClientVersion = clientVersion; + this.OperatorId = operatorId; + this.TerminalCache = terminalCache; + this.Reason = reason; + this.TaxCertificateId = taxCertificateId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + [DataMember(Name="retailStoreId", EmitDefaultValue=false)] + public string RetailStoreId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>The terminal cache.</p> + /// + /// <p>The terminal cache.</p> + [DataMember(Name="terminalCache", EmitDefaultValue=false)] + public string TerminalCache { get; set; } + + /// + /// <p>The reason.</p> + /// + /// <p>The reason.</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>The tax certificate identifier.</p> + /// + /// <p>The tax certificate identifier.</p> + [DataMember(Name="taxCertificateId", EmitDefaultValue=false)] + public string TaxCertificateId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPosTransactionRequest {\n"); + sb.Append(" RetailStoreId: ").Append(RetailStoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" TerminalCache: ").Append(TerminalCache).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" TaxCertificateId: ").Append(TaxCertificateId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPosTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPosTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPosTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPosTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreId == input.RetailStoreId || + (this.RetailStoreId != null && + this.RetailStoreId.Equals(input.RetailStoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.TerminalCache == input.TerminalCache || + (this.TerminalCache != null && + this.TerminalCache.Equals(input.TerminalCache)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.TaxCertificateId == input.TaxCertificateId || + (this.TaxCertificateId != null && + this.TaxCertificateId.Equals(input.TaxCertificateId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreId != null) + hashCode = hashCode * 59 + this.RetailStoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.TerminalCache != null) + hashCode = hashCode * 59 + this.TerminalCache.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.TaxCertificateId != null) + hashCode = hashCode * 59 + this.TaxCertificateId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5ef3a5c4c2e3398c6e712a3d6158b56c02e2f1ea --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidCreditRefundRequest <p>Request object for adding failed prepaid line items for refunding.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The refund reason code</p>. + /// <p>The refund reason group code</p>. + /// <p>List of line item keys for the invalid items</p>. + /// <p>The position operation configuration for the refund position creation</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest(string refundReasonCode = default(string), string refundReasonGroupCode = default(string), List invalidItems = default(List), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RefundReasonCode = refundReasonCode; + this.RefundReasonGroupCode = refundReasonGroupCode; + this.InvalidItems = invalidItems; + this.PositionOperationConfig = positionOperationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The refund reason code</p> + /// + /// <p>The refund reason code</p> + [DataMember(Name="refundReasonCode", EmitDefaultValue=false)] + public string RefundReasonCode { get; set; } + + /// + /// <p>The refund reason group code</p> + /// + /// <p>The refund reason group code</p> + [DataMember(Name="refundReasonGroupCode", EmitDefaultValue=false)] + public string RefundReasonGroupCode { get; set; } + + /// + /// <p>List of line item keys for the invalid items</p> + /// + /// <p>List of line item keys for the invalid items</p> + [DataMember(Name="invalidItems", EmitDefaultValue=false)] + public List InvalidItems { get; set; } + + /// + /// <p>The position operation configuration for the refund position creation</p> + /// + /// <p>The position operation configuration for the refund position creation</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest {\n"); + sb.Append(" RefundReasonCode: ").Append(RefundReasonCode).Append("\n"); + sb.Append(" RefundReasonGroupCode: ").Append(RefundReasonGroupCode).Append("\n"); + sb.Append(" InvalidItems: ").Append(InvalidItems).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest input) + { + if (input == null) + return false; + + return + ( + this.RefundReasonCode == input.RefundReasonCode || + (this.RefundReasonCode != null && + this.RefundReasonCode.Equals(input.RefundReasonCode)) + ) && + ( + this.RefundReasonGroupCode == input.RefundReasonGroupCode || + (this.RefundReasonGroupCode != null && + this.RefundReasonGroupCode.Equals(input.RefundReasonGroupCode)) + ) && + ( + this.InvalidItems == input.InvalidItems || + this.InvalidItems != null && + this.InvalidItems.SequenceEqual(input.InvalidItems) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RefundReasonCode != null) + hashCode = hashCode * 59 + this.RefundReasonCode.GetHashCode(); + if (this.RefundReasonGroupCode != null) + hashCode = hashCode * 59 + this.RefundReasonGroupCode.GetHashCode(); + if (this.InvalidItems != null) + hashCode = hashCode * 59 + this.InvalidItems.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..902a5027f9119b364676b7ade72ca8c9e3e45692 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest.cs @@ -0,0 +1,612 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidCreditSaleRegistrationRequest <p>Request object for operations which create a SaleReturnLineItem for a prepaid credit sale on the active transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest : IEquatable, IValidatableObject + { + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum SellerRelationMethodEnum + { + + /// + /// Enum CurrentLineItemOnly for value: CurrentLineItemOnly + /// + [EnumMember(Value = "CurrentLineItemOnly")] + CurrentLineItemOnly = 1, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentTransaction for value: CurrentAndFollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentTransaction")] + CurrentAndFollowingLineItemsOfCurrentTransaction = 2, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions for value: CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions")] + CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions = 3, + + /// + /// Enum AllLineItemsOfCurrentTransaction for value: AllLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "AllLineItemsOfCurrentTransaction")] + AllLineItemsOfCurrentTransaction = 4, + + /// + /// Enum FollowingLineItemsOfCurrentTransaction for value: FollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentTransaction")] + FollowingLineItemsOfCurrentTransaction = 5, + + /// + /// Enum FollowingLineItemsOfCurrentAndFollowingTransactions for value: FollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentAndFollowingTransactions")] + FollowingLineItemsOfCurrentAndFollowingTransactions = 6 + } + + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + [DataMember(Name="sellerRelationMethod", EmitDefaultValue=false)] + public SellerRelationMethodEnum? SellerRelationMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The amount value.</p>. + /// <p>The quantity value.</p>. + /// <p>The action code for the line item. The default value is 'SI'.</p>. + /// <p>The adapter type for the call to the external system for prepaid credit sales.</p>. + /// <p>The entry identifier from prepaidType configuration.</p>. + /// <p>The item identifier of the prepaid item</p>. + /// <p>The provider code of the prepaid item</p>. + /// <p>The resource key of the prepaid receipt</p>. + /// <p>The position operation configuration for the SaleReturnLineItem registration</p>. + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>String to store seller Id</p>. + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest(double? amount = default(double?), int? quantity = default(int?), string actionCode = default(string), string adapterType = default(string), int? smId = default(int?), string itemId = default(string), string providerCode = default(string), string resourceId = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string sellerId = default(string), SellerRelationMethodEnum? sellerRelationMethod = default(SellerRelationMethodEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Amount = amount; + this.Quantity = quantity; + this.ActionCode = actionCode; + this.AdapterType = adapterType; + this.SmId = smId; + this.ItemId = itemId; + this.ProviderCode = providerCode; + this.ResourceId = resourceId; + this.PositionOperationConfig = positionOperationConfig; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.SellerId = sellerId; + this.SellerRelationMethod = sellerRelationMethod; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The amount value.</p> + /// + /// <p>The amount value.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>The quantity value.</p> + /// + /// <p>The quantity value.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The action code for the line item. The default value is 'SI'.</p> + /// + /// <p>The action code for the line item. The default value is 'SI'.</p> + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// <p>The adapter type for the call to the external system for prepaid credit sales.</p> + /// + /// <p>The adapter type for the call to the external system for prepaid credit sales.</p> + [DataMember(Name="adapterType", EmitDefaultValue=false)] + public string AdapterType { get; set; } + + /// + /// <p>The entry identifier from prepaidType configuration.</p> + /// + /// <p>The entry identifier from prepaidType configuration.</p> + [DataMember(Name="sm_id", EmitDefaultValue=false)] + public int? SmId { get; set; } + + /// + /// <p>The item identifier of the prepaid item</p> + /// + /// <p>The item identifier of the prepaid item</p> + [DataMember(Name="item_id", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// <p>The provider code of the prepaid item</p> + /// + /// <p>The provider code of the prepaid item</p> + [DataMember(Name="provider_code", EmitDefaultValue=false)] + public string ProviderCode { get; set; } + + /// + /// <p>The resource key of the prepaid receipt</p> + /// + /// <p>The resource key of the prepaid receipt</p> + [DataMember(Name="resource_id", EmitDefaultValue=false)] + public string ResourceId { get; set; } + + /// + /// <p>The position operation configuration for the SaleReturnLineItem registration</p> + /// + /// <p>The position operation configuration for the SaleReturnLineItem registration</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>String to store seller Id</p> + /// + /// <p>String to store seller Id</p> + [DataMember(Name="sellerId", EmitDefaultValue=false)] + public string SellerId { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" AdapterType: ").Append(AdapterType).Append("\n"); + sb.Append(" SmId: ").Append(SmId).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" ProviderCode: ").Append(ProviderCode).Append("\n"); + sb.Append(" ResourceId: ").Append(ResourceId).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" SellerId: ").Append(SellerId).Append("\n"); + sb.Append(" SellerRelationMethod: ").Append(SellerRelationMethod).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest input) + { + if (input == null) + return false; + + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.AdapterType == input.AdapterType || + (this.AdapterType != null && + this.AdapterType.Equals(input.AdapterType)) + ) && + ( + this.SmId == input.SmId || + (this.SmId != null && + this.SmId.Equals(input.SmId)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.ProviderCode == input.ProviderCode || + (this.ProviderCode != null && + this.ProviderCode.Equals(input.ProviderCode)) + ) && + ( + this.ResourceId == input.ResourceId || + (this.ResourceId != null && + this.ResourceId.Equals(input.ResourceId)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.SellerId == input.SellerId || + (this.SellerId != null && + this.SellerId.Equals(input.SellerId)) + ) && + ( + this.SellerRelationMethod == input.SellerRelationMethod || + (this.SellerRelationMethod != null && + this.SellerRelationMethod.Equals(input.SellerRelationMethod)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.AdapterType != null) + hashCode = hashCode * 59 + this.AdapterType.GetHashCode(); + if (this.SmId != null) + hashCode = hashCode * 59 + this.SmId.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.ProviderCode != null) + hashCode = hashCode * 59 + this.ProviderCode.GetHashCode(); + if (this.ResourceId != null) + hashCode = hashCode * 59 + this.ResourceId.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.SellerId != null) + hashCode = hashCode * 59 + this.SellerId.GetHashCode(); + if (this.SellerRelationMethod != null) + hashCode = hashCode * 59 + this.SellerRelationMethod.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5960ab0f3248843445c1afb054d008ec2558f40b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidCreditSaleUpdateRequest <p>Request object for updating a SaleReturnLineItem of a prepaid credit sale.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key</p>. + /// <p>The return code of the stored value server call.</p>. + /// <p>The serial number of the prepaid card.</p>. + /// <p>The position operation configuration for the SaleReturnLineItem update.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string returnCode = default(string), string serialNumber = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LineItemKey = lineItemKey; + this.ReturnCode = returnCode; + this.SerialNumber = serialNumber; + this.PositionOperationConfig = positionOperationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key</p> + /// + /// <p>The line item key</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The return code of the stored value server call.</p> + /// + /// <p>The return code of the stored value server call.</p> + [DataMember(Name="returnCode", EmitDefaultValue=false)] + public string ReturnCode { get; set; } + + /// + /// <p>The serial number of the prepaid card.</p> + /// + /// <p>The serial number of the prepaid card.</p> + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// <p>The position operation configuration for the SaleReturnLineItem update.</p> + /// + /// <p>The position operation configuration for the SaleReturnLineItem update.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnCode: ").Append(ReturnCode).Append("\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnCode == input.ReturnCode || + (this.ReturnCode != null && + this.ReturnCode.Equals(input.ReturnCode)) + ) && + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnCode != null) + hashCode = hashCode * 59 + this.ReturnCode.GetHashCode(); + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b63e058bbc16a0b25e5403e2a2fd94e2fb932040 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest.cs @@ -0,0 +1,617 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrintOutTransactionsRequest <p>Request object to search for printout transactions.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A flag to indicate that only transaction of type code 'RETAIL' and category code 'SALE' should be searched.</p>. + /// <p>The transaction type code.</p>. + /// <p>The retail transaction type code.</p>. + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p>. + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p>. + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p>. + /// <p>The workstation identifier.</p>. + /// endWorkstationID. + /// <p>The business unit group identifier.</p>. + /// <p>A flag to indicate that only transactions that are printable should be searched.</p>. + /// <p>Limits the number of found receipts to the given value.</p>. + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>A list of parent customer identifiers.</p>. + /// <p>A list of customer identifiers.</p>. + /// <p>A card type which has to be used for the customer identification.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest(bool? onlySalesReprintable = default(bool?), string transactionTypeCode = default(string), string retailTransactionTypeCode = default(string), bool? transactionIsNotVoided = default(bool?), bool? cancelledFlag = default(bool?), bool? suspendedFlag = default(bool?), string workstationID = default(string), string endWorkstationID = default(string), string businessUnitGroupID = default(string), bool? receiptIsPrintable = default(bool?), int? maxReceiptCount = default(int?), string beginDateTimestampGreaterOrEquals = default(string), List parentCustomerIds = default(List), List customerIds = default(List), string customerAddressTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OnlySalesReprintable = onlySalesReprintable; + this.TransactionTypeCode = transactionTypeCode; + this.RetailTransactionTypeCode = retailTransactionTypeCode; + this.TransactionIsNotVoided = transactionIsNotVoided; + this.CancelledFlag = cancelledFlag; + this.SuspendedFlag = suspendedFlag; + this.WorkstationID = workstationID; + this.EndWorkstationID = endWorkstationID; + this.BusinessUnitGroupID = businessUnitGroupID; + this.ReceiptIsPrintable = receiptIsPrintable; + this.MaxReceiptCount = maxReceiptCount; + this.BeginDateTimestampGreaterOrEquals = beginDateTimestampGreaterOrEquals; + this.ParentCustomerIds = parentCustomerIds; + this.CustomerIds = customerIds; + this.CustomerAddressTypeCode = customerAddressTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A flag to indicate that only transaction of type code 'RETAIL' and category code 'SALE' should be searched.</p> + /// + /// <p>A flag to indicate that only transaction of type code 'RETAIL' and category code 'SALE' should be searched.</p> + [DataMember(Name="onlySalesReprintable", EmitDefaultValue=false)] + public bool? OnlySalesReprintable { get; set; } + + /// + /// <p>The transaction type code.</p> + /// + /// <p>The transaction type code.</p> + [DataMember(Name="TransactionTypeCode", EmitDefaultValue=false)] + public string TransactionTypeCode { get; set; } + + /// + /// <p>The retail transaction type code.</p> + /// + /// <p>The retail transaction type code.</p> + [DataMember(Name="RetailTransactionTypeCode", EmitDefaultValue=false)] + public string RetailTransactionTypeCode { get; set; } + + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + [DataMember(Name="transactionIsNotVoided", EmitDefaultValue=false)] + public bool? TransactionIsNotVoided { get; set; } + + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + [DataMember(Name="CancelledFlag", EmitDefaultValue=false)] + public bool? CancelledFlag { get; set; } + + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + [DataMember(Name="SuspendedFlag", EmitDefaultValue=false)] + public bool? SuspendedFlag { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// Gets or Sets EndWorkstationID + /// + [DataMember(Name="endWorkstationID", EmitDefaultValue=false)] + public string EndWorkstationID { get; set; } + + /// + /// <p>The business unit group identifier.</p> + /// + /// <p>The business unit group identifier.</p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>A flag to indicate that only transactions that are printable should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are printable should be searched.</p> + [DataMember(Name="receiptIsPrintable", EmitDefaultValue=false)] + public bool? ReceiptIsPrintable { get; set; } + + /// + /// <p>Limits the number of found receipts to the given value.</p> + /// + /// <p>Limits the number of found receipts to the given value.</p> + [DataMember(Name="maxReceiptCount", EmitDefaultValue=false)] + public int? MaxReceiptCount { get; set; } + + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="beginDateTimestampGreaterOrEquals", EmitDefaultValue=false)] + public string BeginDateTimestampGreaterOrEquals { get; set; } + + /// + /// <p>A list of parent customer identifiers.</p> + /// + /// <p>A list of parent customer identifiers.</p> + [DataMember(Name="parentCustomerIds", EmitDefaultValue=false)] + public List ParentCustomerIds { get; set; } + + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + [DataMember(Name="customerIds", EmitDefaultValue=false)] + public List CustomerIds { get; set; } + + /// + /// <p>A card type which has to be used for the customer identification.</p> + /// + /// <p>A card type which has to be used for the customer identification.</p> + [DataMember(Name="customerAddressTypeCode", EmitDefaultValue=false)] + public string CustomerAddressTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest {\n"); + sb.Append(" OnlySalesReprintable: ").Append(OnlySalesReprintable).Append("\n"); + sb.Append(" TransactionTypeCode: ").Append(TransactionTypeCode).Append("\n"); + sb.Append(" RetailTransactionTypeCode: ").Append(RetailTransactionTypeCode).Append("\n"); + sb.Append(" TransactionIsNotVoided: ").Append(TransactionIsNotVoided).Append("\n"); + sb.Append(" CancelledFlag: ").Append(CancelledFlag).Append("\n"); + sb.Append(" SuspendedFlag: ").Append(SuspendedFlag).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" EndWorkstationID: ").Append(EndWorkstationID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ReceiptIsPrintable: ").Append(ReceiptIsPrintable).Append("\n"); + sb.Append(" MaxReceiptCount: ").Append(MaxReceiptCount).Append("\n"); + sb.Append(" BeginDateTimestampGreaterOrEquals: ").Append(BeginDateTimestampGreaterOrEquals).Append("\n"); + sb.Append(" ParentCustomerIds: ").Append(ParentCustomerIds).Append("\n"); + sb.Append(" CustomerIds: ").Append(CustomerIds).Append("\n"); + sb.Append(" CustomerAddressTypeCode: ").Append(CustomerAddressTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest input) + { + if (input == null) + return false; + + return + ( + this.OnlySalesReprintable == input.OnlySalesReprintable || + (this.OnlySalesReprintable != null && + this.OnlySalesReprintable.Equals(input.OnlySalesReprintable)) + ) && + ( + this.TransactionTypeCode == input.TransactionTypeCode || + (this.TransactionTypeCode != null && + this.TransactionTypeCode.Equals(input.TransactionTypeCode)) + ) && + ( + this.RetailTransactionTypeCode == input.RetailTransactionTypeCode || + (this.RetailTransactionTypeCode != null && + this.RetailTransactionTypeCode.Equals(input.RetailTransactionTypeCode)) + ) && + ( + this.TransactionIsNotVoided == input.TransactionIsNotVoided || + (this.TransactionIsNotVoided != null && + this.TransactionIsNotVoided.Equals(input.TransactionIsNotVoided)) + ) && + ( + this.CancelledFlag == input.CancelledFlag || + (this.CancelledFlag != null && + this.CancelledFlag.Equals(input.CancelledFlag)) + ) && + ( + this.SuspendedFlag == input.SuspendedFlag || + (this.SuspendedFlag != null && + this.SuspendedFlag.Equals(input.SuspendedFlag)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.EndWorkstationID == input.EndWorkstationID || + (this.EndWorkstationID != null && + this.EndWorkstationID.Equals(input.EndWorkstationID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ReceiptIsPrintable == input.ReceiptIsPrintable || + (this.ReceiptIsPrintable != null && + this.ReceiptIsPrintable.Equals(input.ReceiptIsPrintable)) + ) && + ( + this.MaxReceiptCount == input.MaxReceiptCount || + (this.MaxReceiptCount != null && + this.MaxReceiptCount.Equals(input.MaxReceiptCount)) + ) && + ( + this.BeginDateTimestampGreaterOrEquals == input.BeginDateTimestampGreaterOrEquals || + (this.BeginDateTimestampGreaterOrEquals != null && + this.BeginDateTimestampGreaterOrEquals.Equals(input.BeginDateTimestampGreaterOrEquals)) + ) && + ( + this.ParentCustomerIds == input.ParentCustomerIds || + this.ParentCustomerIds != null && + this.ParentCustomerIds.SequenceEqual(input.ParentCustomerIds) + ) && + ( + this.CustomerIds == input.CustomerIds || + this.CustomerIds != null && + this.CustomerIds.SequenceEqual(input.CustomerIds) + ) && + ( + this.CustomerAddressTypeCode == input.CustomerAddressTypeCode || + (this.CustomerAddressTypeCode != null && + this.CustomerAddressTypeCode.Equals(input.CustomerAddressTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OnlySalesReprintable != null) + hashCode = hashCode * 59 + this.OnlySalesReprintable.GetHashCode(); + if (this.TransactionTypeCode != null) + hashCode = hashCode * 59 + this.TransactionTypeCode.GetHashCode(); + if (this.RetailTransactionTypeCode != null) + hashCode = hashCode * 59 + this.RetailTransactionTypeCode.GetHashCode(); + if (this.TransactionIsNotVoided != null) + hashCode = hashCode * 59 + this.TransactionIsNotVoided.GetHashCode(); + if (this.CancelledFlag != null) + hashCode = hashCode * 59 + this.CancelledFlag.GetHashCode(); + if (this.SuspendedFlag != null) + hashCode = hashCode * 59 + this.SuspendedFlag.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.EndWorkstationID != null) + hashCode = hashCode * 59 + this.EndWorkstationID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ReceiptIsPrintable != null) + hashCode = hashCode * 59 + this.ReceiptIsPrintable.GetHashCode(); + if (this.MaxReceiptCount != null) + hashCode = hashCode * 59 + this.MaxReceiptCount.GetHashCode(); + if (this.BeginDateTimestampGreaterOrEquals != null) + hashCode = hashCode * 59 + this.BeginDateTimestampGreaterOrEquals.GetHashCode(); + if (this.ParentCustomerIds != null) + hashCode = hashCode * 59 + this.ParentCustomerIds.GetHashCode(); + if (this.CustomerIds != null) + hashCode = hashCode * 59 + this.CustomerIds.GetHashCode(); + if (this.CustomerAddressTypeCode != null) + hashCode = hashCode * 59 + this.CustomerAddressTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b080f8424b6f58d1ef87a92ce8ce99ed95a17ef9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrintoutRelatedAttributesRequest <p>Request object to set printout related attributes.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The transaction on which the receiptPrintoutFlag should be set.</p>. + /// <p>A flag to indicate that for the transaction a receipt was printed.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), bool? receiptPrintoutFlag = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Transaction = transaction; + this.ReceiptPrintoutFlag = receiptPrintoutFlag; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The transaction on which the receiptPrintoutFlag should be set.</p> + /// + /// <p>The transaction on which the receiptPrintoutFlag should be set.</p> + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// <p>A flag to indicate that for the transaction a receipt was printed.</p> + /// + /// <p>A flag to indicate that for the transaction a receipt was printed.</p> + [DataMember(Name="receiptPrintoutFlag", EmitDefaultValue=false)] + public bool? ReceiptPrintoutFlag { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" ReceiptPrintoutFlag: ").Append(ReceiptPrintoutFlag).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.ReceiptPrintoutFlag == input.ReceiptPrintoutFlag || + (this.ReceiptPrintoutFlag != null && + this.ReceiptPrintoutFlag.Equals(input.ReceiptPrintoutFlag)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.ReceiptPrintoutFlag != null) + hashCode = hashCode * 59 + this.ReceiptPrintoutFlag.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionQuantityInput.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionQuantityInput.cs new file mode 100644 index 0000000000000000000000000000000000000000..f77a6e20eac6f526493fb0b6b6e5ce2681b491f4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionQuantityInput.cs @@ -0,0 +1,499 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// QuantityInput <p>Request object for quantity input.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionQuantityInput : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The pieces.</p>. + /// <p>The length.</p>. + /// <p>The width.</p>. + /// <p>The height.</p>. + /// <p>The measure.</p>. + /// <p>The weight.</p>. + /// <p>The manual weight input.</p>. + /// <p>The units.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionQuantityInput(int? pieces = default(int?), double? length = default(double?), double? width = default(double?), double? height = default(double?), double? measure = default(double?), double? weight = default(double?), bool? manualWeightInput = default(bool?), double? units = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Pieces = pieces; + this.Length = length; + this.Width = width; + this.Height = height; + this.Measure = measure; + this.Weight = weight; + this.ManualWeightInput = manualWeightInput; + this.Units = units; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The pieces.</p> + /// + /// <p>The pieces.</p> + [DataMember(Name="pieces", EmitDefaultValue=false)] + public int? Pieces { get; set; } + + /// + /// <p>The length.</p> + /// + /// <p>The length.</p> + [DataMember(Name="length", EmitDefaultValue=false)] + public double? Length { get; set; } + + /// + /// <p>The width.</p> + /// + /// <p>The width.</p> + [DataMember(Name="width", EmitDefaultValue=false)] + public double? Width { get; set; } + + /// + /// <p>The height.</p> + /// + /// <p>The height.</p> + [DataMember(Name="height", EmitDefaultValue=false)] + public double? Height { get; set; } + + /// + /// <p>The measure.</p> + /// + /// <p>The measure.</p> + [DataMember(Name="measure", EmitDefaultValue=false)] + public double? Measure { get; set; } + + /// + /// <p>The weight.</p> + /// + /// <p>The weight.</p> + [DataMember(Name="weight", EmitDefaultValue=false)] + public double? Weight { get; set; } + + /// + /// <p>The manual weight input.</p> + /// + /// <p>The manual weight input.</p> + [DataMember(Name="manualWeightInput", EmitDefaultValue=false)] + public bool? ManualWeightInput { get; set; } + + /// + /// <p>The units.</p> + /// + /// <p>The units.</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionQuantityInput {\n"); + sb.Append(" Pieces: ").Append(Pieces).Append("\n"); + sb.Append(" Length: ").Append(Length).Append("\n"); + sb.Append(" Width: ").Append(Width).Append("\n"); + sb.Append(" Height: ").Append(Height).Append("\n"); + sb.Append(" Measure: ").Append(Measure).Append("\n"); + sb.Append(" Weight: ").Append(Weight).Append("\n"); + sb.Append(" ManualWeightInput: ").Append(ManualWeightInput).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionQuantityInput); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionQuantityInput instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionQuantityInput to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionQuantityInput input) + { + if (input == null) + return false; + + return + ( + this.Pieces == input.Pieces || + (this.Pieces != null && + this.Pieces.Equals(input.Pieces)) + ) && + ( + this.Length == input.Length || + (this.Length != null && + this.Length.Equals(input.Length)) + ) && + ( + this.Width == input.Width || + (this.Width != null && + this.Width.Equals(input.Width)) + ) && + ( + this.Height == input.Height || + (this.Height != null && + this.Height.Equals(input.Height)) + ) && + ( + this.Measure == input.Measure || + (this.Measure != null && + this.Measure.Equals(input.Measure)) + ) && + ( + this.Weight == input.Weight || + (this.Weight != null && + this.Weight.Equals(input.Weight)) + ) && + ( + this.ManualWeightInput == input.ManualWeightInput || + (this.ManualWeightInput != null && + this.ManualWeightInput.Equals(input.ManualWeightInput)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Pieces != null) + hashCode = hashCode * 59 + this.Pieces.GetHashCode(); + if (this.Length != null) + hashCode = hashCode * 59 + this.Length.GetHashCode(); + if (this.Width != null) + hashCode = hashCode * 59 + this.Width.GetHashCode(); + if (this.Height != null) + hashCode = hashCode * 59 + this.Height.GetHashCode(); + if (this.Measure != null) + hashCode = hashCode * 59 + this.Measure.GetHashCode(); + if (this.Weight != null) + hashCode = hashCode * 59 + this.Weight.GetHashCode(); + if (this.ManualWeightInput != null) + hashCode = hashCode * 59 + this.ManualWeightInput.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..47f194fc1c374e65425d759d2c57d6c11266f16f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RecalculateLineItemsRequest <p>Request object for recalculation of line items PosTransactionService.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of retail transaction line items for recalculation.</p>. + /// <p>The currency code.</p>. + /// <p>The business unit group identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest(List items = default(List), string currencyCode = default(string), string businessUnitGroupId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Items = items; + this.CurrencyCode = currencyCode; + this.BusinessUnitGroupId = businessUnitGroupId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of retail transaction line items for recalculation.</p> + /// + /// <p>A list of retail transaction line items for recalculation.</p> + [DataMember(Name="items", EmitDefaultValue=false)] + public List Items { get; set; } + + /// + /// <p>The currency code.</p> + /// + /// <p>The currency code.</p> + [DataMember(Name="currencyCode", EmitDefaultValue=false)] + public string CurrencyCode { get; set; } + + /// + /// <p>The business unit group identifier.</p> + /// + /// <p>The business unit group identifier.</p> + [DataMember(Name="businessUnitGroupId", EmitDefaultValue=false)] + public string BusinessUnitGroupId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest {\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append(" CurrencyCode: ").Append(CurrencyCode).Append("\n"); + sb.Append(" BusinessUnitGroupId: ").Append(BusinessUnitGroupId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest input) + { + if (input == null) + return false; + + return + ( + this.Items == input.Items || + this.Items != null && + this.Items.SequenceEqual(input.Items) + ) && + ( + this.CurrencyCode == input.CurrencyCode || + (this.CurrencyCode != null && + this.CurrencyCode.Equals(input.CurrencyCode)) + ) && + ( + this.BusinessUnitGroupId == input.BusinessUnitGroupId || + (this.BusinessUnitGroupId != null && + this.BusinessUnitGroupId.Equals(input.BusinessUnitGroupId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Items != null) + hashCode = hashCode * 59 + this.Items.GetHashCode(); + if (this.CurrencyCode != null) + hashCode = hashCode * 59 + this.CurrencyCode.GetHashCode(); + if (this.BusinessUnitGroupId != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..24b0dfffd7e46479b29fadc4caf51afadd92f0a1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReceiptAsEmailActivationRequest <p>Request object for receipt as email activation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A flag to enable/disable receipt as email.</p> (required). + /// <p>The user email address.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest(bool? emailRequestedFlag = default(bool?), string emailAddress = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "emailRequestedFlag" is required (not null) + if (emailRequestedFlag == null) + { + throw new InvalidDataException("emailRequestedFlag is a required property for ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest and cannot be null"); + } + else + { + this.EmailRequestedFlag = emailRequestedFlag; + } + this.EmailAddress = emailAddress; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A flag to enable/disable receipt as email.</p> + /// + /// <p>A flag to enable/disable receipt as email.</p> + [DataMember(Name="emailRequestedFlag", EmitDefaultValue=false)] + public bool? EmailRequestedFlag { get; set; } + + /// + /// <p>The user email address.</p> + /// + /// <p>The user email address.</p> + [DataMember(Name="emailAddress", EmitDefaultValue=false)] + public string EmailAddress { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest {\n"); + sb.Append(" EmailRequestedFlag: ").Append(EmailRequestedFlag).Append("\n"); + sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest input) + { + if (input == null) + return false; + + return + ( + this.EmailRequestedFlag == input.EmailRequestedFlag || + (this.EmailRequestedFlag != null && + this.EmailRequestedFlag.Equals(input.EmailRequestedFlag)) + ) && + ( + this.EmailAddress == input.EmailAddress || + (this.EmailAddress != null && + this.EmailAddress.Equals(input.EmailAddress)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.EmailRequestedFlag != null) + hashCode = hashCode * 59 + this.EmailRequestedFlag.GetHashCode(); + if (this.EmailAddress != null) + hashCode = hashCode * 59 + this.EmailAddress.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3f320d1f8293de3166281b13b2d447b61ab7ba1e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest.cs @@ -0,0 +1,363 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RecoverTransactionRequest <p>Request object to check for an open transaction in the persistence and if a transaction exits to load it and set as current active transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest(string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest {\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2210a2c73af872b8f68c4ee4dfbf7f6569f7f2bd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest.cs @@ -0,0 +1,461 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReduceLineItemsRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p> (required). + /// <p>List of entities containing details for performing the item reduction.</p>. + /// <p>The keyed online state.</p>. + /// <p>A flag to indicate whether offline mode registration is active or not.</p>. + /// <p>Indicates whether the transaction should be stored.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), List lineItemsReductionDetail = default(List), bool? keyedOnline = default(bool?), bool? offlineMode = default(bool?), bool? storeTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "positionOperationConfiguration" is required (not null) + if (positionOperationConfiguration == null) + { + throw new InvalidDataException("positionOperationConfiguration is a required property for ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest and cannot be null"); + } + else + { + this.PositionOperationConfiguration = positionOperationConfiguration; + } + this.LineItemsReductionDetail = lineItemsReductionDetail; + this.KeyedOnline = keyedOnline; + this.OfflineMode = offlineMode; + this.StoreTransaction = storeTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfiguration { get; set; } + + /// + /// <p>List of entities containing details for performing the item reduction.</p> + /// + /// <p>List of entities containing details for performing the item reduction.</p> + [DataMember(Name="lineItemsReductionDetail", EmitDefaultValue=false)] + public List LineItemsReductionDetail { get; set; } + + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + [DataMember(Name="offlineMode", EmitDefaultValue=false)] + public bool? OfflineMode { get; set; } + + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest {\n"); + sb.Append(" PositionOperationConfiguration: ").Append(PositionOperationConfiguration).Append("\n"); + sb.Append(" LineItemsReductionDetail: ").Append(LineItemsReductionDetail).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" OfflineMode: ").Append(OfflineMode).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfiguration == input.PositionOperationConfiguration || + (this.PositionOperationConfiguration != null && + this.PositionOperationConfiguration.Equals(input.PositionOperationConfiguration)) + ) && + ( + this.LineItemsReductionDetail == input.LineItemsReductionDetail || + this.LineItemsReductionDetail != null && + this.LineItemsReductionDetail.SequenceEqual(input.LineItemsReductionDetail) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.OfflineMode == input.OfflineMode || + (this.OfflineMode != null && + this.OfflineMode.Equals(input.OfflineMode)) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfiguration != null) + hashCode = hashCode * 59 + this.PositionOperationConfiguration.GetHashCode(); + if (this.LineItemsReductionDetail != null) + hashCode = hashCode * 59 + this.LineItemsReductionDetail.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.OfflineMode != null) + hashCode = hashCode * 59 + this.OfflineMode.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2c5342fd935519f274b109138156f205baa1d8dd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest.cs @@ -0,0 +1,1855 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterCustomerAccountPaymentRequest <p>The entity RegisterCustomerAccountPaymentRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest : IEquatable, IValidatableObject + { + /// + /// <p>price variant to use.</p> + /// + /// <p>price variant to use.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceVariantEnum + { + + /// + /// Enum Normal for value: Normal + /// + [EnumMember(Value = "Normal")] + Normal = 1, + + /// + /// Enum Special for value: Special + /// + [EnumMember(Value = "Special")] + Special = 2, + + /// + /// Enum Actual for value: Actual + /// + [EnumMember(Value = "Actual")] + Actual = 3, + + /// + /// Enum Group for value: Group + /// + [EnumMember(Value = "Group")] + Group = 4 + } + + /// + /// <p>price variant to use.</p> + /// + /// <p>price variant to use.</p> + [DataMember(Name="priceVariant", EmitDefaultValue=false)] + public PriceVariantEnum? PriceVariant { get; set; } + /// + /// <p>The current active scale mode.</p> + /// + /// <p>The current active scale mode.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ScaleModeEnum + { + + /// + /// Enum SelfService for value: SelfService + /// + [EnumMember(Value = "SelfService")] + SelfService = 1, + + /// + /// Enum Prepackaging for value: Prepackaging + /// + [EnumMember(Value = "Prepackaging")] + Prepackaging = 2, + + /// + /// Enum Service for value: Service + /// + [EnumMember(Value = "Service")] + Service = 3 + } + + /// + /// <p>The current active scale mode.</p> + /// + /// <p>The current active scale mode.</p> + [DataMember(Name="scaleMode", EmitDefaultValue=false)] + public ScaleModeEnum? ScaleMode { get; set; } + /// + /// <p>The current active scale selling mode.</p> + /// + /// <p>The current active scale selling mode.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ScaleSellingModeEnum + { + + /// + /// Enum Standard for value: Standard + /// + [EnumMember(Value = "Standard")] + Standard = 1, + + /// + /// Enum Fast for value: Fast + /// + [EnumMember(Value = "Fast")] + Fast = 2 + } + + /// + /// <p>The current active scale selling mode.</p> + /// + /// <p>The current active scale selling mode.</p> + [DataMember(Name="scaleSellingMode", EmitDefaultValue=false)] + public ScaleSellingModeEnum? ScaleSellingMode { get; set; } + /// + /// <p>The parameter defines the provider for the item data.</p> + /// + /// <p>The parameter defines the provider for the item data.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ItemProviderEnum + { + + /// + /// Enum Local for value: Local + /// + [EnumMember(Value = "Local")] + Local = 1, + + /// + /// Enum Remote for value: Remote + /// + [EnumMember(Value = "Remote")] + Remote = 2 + } + + /// + /// <p>The parameter defines the provider for the item data.</p> + /// + /// <p>The parameter defines the provider for the item data.</p> + [DataMember(Name="itemProvider", EmitDefaultValue=false)] + public ItemProviderEnum? ItemProvider { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p>. + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p>. + /// <p>Wic mode flag.</p> (required). + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> (required). + /// <p>The order mode.</p> (required). + /// <p>Indicates whether the layaway mode is active.</p> (required). + /// <p>Indicates whether the take away sale mode is active.</p> (required). + /// <p>Indicates if variant check should be performed.</p> (required). + /// <p>Indicates if validation process should check sales restrictions.</p> (required). + /// <p>indicates if variant check should be performed.</p> (required). + /// <p>Indicates the request is for a linked empties deposit item.</p> (required). + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> (required). + /// <p>Indicates whether promo icons should be retrieved.</p> (required). + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p>. + /// <p>price variant to use.</p>. + /// <p>The overriding price.</p>. + /// <p>the overriding quantity.</p>. + /// <p>The overriding position amount.</p>. + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p>. + /// <p>Indicates whether the price difference limit checks should be done or not.</p> (required). + /// <p>Price type code (for price change).</p>. + /// <p>Set price mode (for price change).</p>. + /// <p>A reason code for this request (e.g. reason for returns).</p>. + /// <p>A reason code group code for this request (e.g. reason for returns).</p>. + /// <p>A reason description for this request (e.g. reason for returns).</p>. + /// <p>A reason parameter used for handling of salable information.</p>. + /// <p>A price change reason code.</p>. + /// <p>A price change reason code group code.</p>. + /// <p>A price change reason description.</p>. + /// <p>Serial number to set.</p>. + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p>. + /// <p>Receipt text to set.</p>. + /// <p>Object for linked item information.</p>. + /// <p>A request to register an external item to transaction.</p>. + /// <p>Double.</p>. + /// <p>The active customer order id.</p>. + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p>. + /// <p>The customer order sequence number.</p>. + /// <p>The sales order type code.</p>. + /// <p>The sales order delivery type code.</p>. + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>ItemEntryConfig - bring config to server side.</p>. + /// <p>Request for Sales Person Number.</p>. + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p>. + /// <p>Scale transaction parameters to add to transaction.</p>. + /// <p>The keyed online state.</p>. + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> (required). + /// <p>The promotion trigger active state.</p>. + /// <p>The qualified line item type.</p>. + /// <p>The list of external retail price modifier to add to transaction.</p>. + /// <p>The list of external retail price modifier to add to transaction.</p>. + /// <p>The print list for additional line item text to print.</p>. + /// <p>The current active scale mode.</p>. + /// <p>The current active scale selling mode.</p>. + /// <p>The course Number to be set on line item.</p>. + /// <p>The parameter defines the provider for the item data.</p>. + /// <p>The parameter consists all information for a combo meal item registration.</p>. + /// appEnablement. + /// <p>The itemType</p>. + /// <p>The i18NTextPayOut</p>. + /// <p>The i18NTextPayIn</p>. + /// <p>The languageDifferent</p>. + /// <p>The customerAccountText</p>. + /// <p>The customerId</p>. + /// <p>The receiptTextPI</p>. + /// <p>The receiptTextPO</p>. + /// <p>The openAmount</p>. + /// <p>The amount</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string barcode = default(string), ComGkSoftwarePosApiServiceTransactionItemIdentificator itemIdentificator = default(ComGkSoftwarePosApiServiceTransactionItemIdentificator), bool? wicMode = default(bool?), bool? takeOverSetItems = default(bool?), bool? orderMode = default(bool?), bool? layawayMode = default(bool?), bool? takeAwaySaleMode = default(bool?), bool? checkForVariants = default(bool?), bool? salesRestrictionsCheckNeeded = default(bool?), bool? returnReasonRequired = default(bool?), bool? linkedEmptiesItem = default(bool?), bool? closeLineItem = default(bool?), bool? getPromoIcons = default(bool?), int? emptiesReturnQuantity = default(int?), PriceVariantEnum? priceVariant = default(PriceVariantEnum?), double? overridingPrice = default(double?), ComGkSoftwarePosApiServiceTransactionQuantityInput overridingQuantity = default(ComGkSoftwarePosApiServiceTransactionQuantityInput), double? overridingPositionAmount = default(double?), ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult weightResult = default(ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult), bool? doPriceDifferenceLimitCheck = default(bool?), string priceTypeCode = default(string), string setPriceMode = default(string), string reasonCode = default(string), string reasonCodeGroupCode = default(string), string reasonDescription = default(string), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO reasonParameter = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO), string priceChangeReasonCode = default(string), string priceChangeReasonCodeGroupCode = default(string), string priceChangeReasonDescription = default(string), string serialNumber = default(string), string itemTraceableUnitID = default(string), string receiptText = default(string), ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest linkedItemRegistrationRequest = default(ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest), ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest externalItemRegistrationRequest = default(ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest), double? factor = default(double?), string activeCustomerOrderId = default(string), int? customerSequenceNumber = default(int?), int? customerOrderSequenceNumber = default(int?), string salesOrderTypeCode = default(string), string salesOrderDeliveryTypeCode = default(string), string requestedDeliveryDate = default(string), ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig itemEntryConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig), ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest salesPersonNumberRequest = default(ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string entryMethodCode = default(string), ComGkSoftwarePosApiServiceTransactionScaleTransactionParams scaleTransactionParams = default(ComGkSoftwarePosApiServiceTransactionScaleTransactionParams), bool? keyedOnline = default(bool?), List postValidationSalesRestrictionIds = default(List), bool? promotionTriggerActive = default(bool?), string lineItemItemType = default(string), List retailPriceModifierList = default(List), List lineItemExtensionList = default(List), List printAdditionalLineItemTextLineList = default(List), ScaleModeEnum? scaleMode = default(ScaleModeEnum?), ScaleSellingModeEnum? scaleSellingMode = default(ScaleSellingModeEnum?), string courseNumber = default(string), ItemProviderEnum? itemProvider = default(ItemProviderEnum?), ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest comboMealRegistrationRequest = default(ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest), bool? appEnablement = default(bool?), string itemType = default(string), string i18NTextPayOut = default(string), string i18NTextPayIn = default(string), bool? languageDifferent = default(bool?), string customerAccountText = default(string), string customerId = default(string), string receiptTextPI = default(string), string receiptTextPO = default(string), double? openAmount = default(double?), double? amount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "wicMode" is required (not null) + if (wicMode == null) + { + throw new InvalidDataException("wicMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.WicMode = wicMode; + } + // to ensure "takeOverSetItems" is required (not null) + if (takeOverSetItems == null) + { + throw new InvalidDataException("takeOverSetItems is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.TakeOverSetItems = takeOverSetItems; + } + // to ensure "orderMode" is required (not null) + if (orderMode == null) + { + throw new InvalidDataException("orderMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.OrderMode = orderMode; + } + // to ensure "layawayMode" is required (not null) + if (layawayMode == null) + { + throw new InvalidDataException("layawayMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.LayawayMode = layawayMode; + } + // to ensure "takeAwaySaleMode" is required (not null) + if (takeAwaySaleMode == null) + { + throw new InvalidDataException("takeAwaySaleMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.TakeAwaySaleMode = takeAwaySaleMode; + } + // to ensure "checkForVariants" is required (not null) + if (checkForVariants == null) + { + throw new InvalidDataException("checkForVariants is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.CheckForVariants = checkForVariants; + } + // to ensure "salesRestrictionsCheckNeeded" is required (not null) + if (salesRestrictionsCheckNeeded == null) + { + throw new InvalidDataException("salesRestrictionsCheckNeeded is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.SalesRestrictionsCheckNeeded = salesRestrictionsCheckNeeded; + } + // to ensure "returnReasonRequired" is required (not null) + if (returnReasonRequired == null) + { + throw new InvalidDataException("returnReasonRequired is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.ReturnReasonRequired = returnReasonRequired; + } + // to ensure "linkedEmptiesItem" is required (not null) + if (linkedEmptiesItem == null) + { + throw new InvalidDataException("linkedEmptiesItem is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.LinkedEmptiesItem = linkedEmptiesItem; + } + // to ensure "closeLineItem" is required (not null) + if (closeLineItem == null) + { + throw new InvalidDataException("closeLineItem is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.CloseLineItem = closeLineItem; + } + // to ensure "getPromoIcons" is required (not null) + if (getPromoIcons == null) + { + throw new InvalidDataException("getPromoIcons is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.GetPromoIcons = getPromoIcons; + } + // to ensure "doPriceDifferenceLimitCheck" is required (not null) + if (doPriceDifferenceLimitCheck == null) + { + throw new InvalidDataException("doPriceDifferenceLimitCheck is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.DoPriceDifferenceLimitCheck = doPriceDifferenceLimitCheck; + } + // to ensure "postValidationSalesRestrictionIds" is required (not null) + if (postValidationSalesRestrictionIds == null) + { + throw new InvalidDataException("postValidationSalesRestrictionIds is a required property for ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest and cannot be null"); + } + else + { + this.PostValidationSalesRestrictionIds = postValidationSalesRestrictionIds; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.Barcode = barcode; + this.ItemIdentificator = itemIdentificator; + this.EmptiesReturnQuantity = emptiesReturnQuantity; + this.PriceVariant = priceVariant; + this.OverridingPrice = overridingPrice; + this.OverridingQuantity = overridingQuantity; + this.OverridingPositionAmount = overridingPositionAmount; + this.WeightResult = weightResult; + this.PriceTypeCode = priceTypeCode; + this.SetPriceMode = setPriceMode; + this.ReasonCode = reasonCode; + this.ReasonCodeGroupCode = reasonCodeGroupCode; + this.ReasonDescription = reasonDescription; + this.ReasonParameter = reasonParameter; + this.PriceChangeReasonCode = priceChangeReasonCode; + this.PriceChangeReasonCodeGroupCode = priceChangeReasonCodeGroupCode; + this.PriceChangeReasonDescription = priceChangeReasonDescription; + this.SerialNumber = serialNumber; + this.ItemTraceableUnitID = itemTraceableUnitID; + this.ReceiptText = receiptText; + this.LinkedItemRegistrationRequest = linkedItemRegistrationRequest; + this.ExternalItemRegistrationRequest = externalItemRegistrationRequest; + this.Factor = factor; + this.ActiveCustomerOrderId = activeCustomerOrderId; + this.CustomerSequenceNumber = customerSequenceNumber; + this.CustomerOrderSequenceNumber = customerOrderSequenceNumber; + this.SalesOrderTypeCode = salesOrderTypeCode; + this.SalesOrderDeliveryTypeCode = salesOrderDeliveryTypeCode; + this.RequestedDeliveryDate = requestedDeliveryDate; + this.ItemEntryConfig = itemEntryConfig; + this.SalesPersonNumberRequest = salesPersonNumberRequest; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.EntryMethodCode = entryMethodCode; + this.ScaleTransactionParams = scaleTransactionParams; + this.KeyedOnline = keyedOnline; + this.PromotionTriggerActive = promotionTriggerActive; + this.LineItemItemType = lineItemItemType; + this.RetailPriceModifierList = retailPriceModifierList; + this.LineItemExtensionList = lineItemExtensionList; + this.PrintAdditionalLineItemTextLineList = printAdditionalLineItemTextLineList; + this.ScaleMode = scaleMode; + this.ScaleSellingMode = scaleSellingMode; + this.CourseNumber = courseNumber; + this.ItemProvider = itemProvider; + this.ComboMealRegistrationRequest = comboMealRegistrationRequest; + this.AppEnablement = appEnablement; + this.ItemType = itemType; + this.I18NTextPayOut = i18NTextPayOut; + this.I18NTextPayIn = i18NTextPayIn; + this.LanguageDifferent = languageDifferent; + this.CustomerAccountText = customerAccountText; + this.CustomerId = customerId; + this.ReceiptTextPI = receiptTextPI; + this.ReceiptTextPO = receiptTextPO; + this.OpenAmount = openAmount; + this.Amount = amount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + [DataMember(Name="barcode", EmitDefaultValue=false)] + public string Barcode { get; set; } + + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + [DataMember(Name="itemIdentificator", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionItemIdentificator ItemIdentificator { get; set; } + + /// + /// <p>Wic mode flag.</p> + /// + /// <p>Wic mode flag.</p> + [DataMember(Name="wicMode", EmitDefaultValue=false)] + public bool? WicMode { get; set; } + + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + [DataMember(Name="takeOverSetItems", EmitDefaultValue=false)] + public bool? TakeOverSetItems { get; set; } + + /// + /// <p>The order mode.</p> + /// + /// <p>The order mode.</p> + [DataMember(Name="orderMode", EmitDefaultValue=false)] + public bool? OrderMode { get; set; } + + /// + /// <p>Indicates whether the layaway mode is active.</p> + /// + /// <p>Indicates whether the layaway mode is active.</p> + [DataMember(Name="layawayMode", EmitDefaultValue=false)] + public bool? LayawayMode { get; set; } + + /// + /// <p>Indicates whether the take away sale mode is active.</p> + /// + /// <p>Indicates whether the take away sale mode is active.</p> + [DataMember(Name="takeAwaySaleMode", EmitDefaultValue=false)] + public bool? TakeAwaySaleMode { get; set; } + + /// + /// <p>Indicates if variant check should be performed.</p> + /// + /// <p>Indicates if variant check should be performed.</p> + [DataMember(Name="checkForVariants", EmitDefaultValue=false)] + public bool? CheckForVariants { get; set; } + + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + [DataMember(Name="salesRestrictionsCheckNeeded", EmitDefaultValue=false)] + public bool? SalesRestrictionsCheckNeeded { get; set; } + + /// + /// <p>indicates if variant check should be performed.</p> + /// + /// <p>indicates if variant check should be performed.</p> + [DataMember(Name="returnReasonRequired", EmitDefaultValue=false)] + public bool? ReturnReasonRequired { get; set; } + + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + [DataMember(Name="linkedEmptiesItem", EmitDefaultValue=false)] + public bool? LinkedEmptiesItem { get; set; } + + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + [DataMember(Name="closeLineItem", EmitDefaultValue=false)] + public bool? CloseLineItem { get; set; } + + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + [DataMember(Name="getPromoIcons", EmitDefaultValue=false)] + public bool? GetPromoIcons { get; set; } + + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + [DataMember(Name="emptiesReturnQuantity", EmitDefaultValue=false)] + public int? EmptiesReturnQuantity { get; set; } + + + /// + /// <p>The overriding price.</p> + /// + /// <p>The overriding price.</p> + [DataMember(Name="overridingPrice", EmitDefaultValue=false)] + public double? OverridingPrice { get; set; } + + /// + /// <p>the overriding quantity.</p> + /// + /// <p>the overriding quantity.</p> + [DataMember(Name="overridingQuantity", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionQuantityInput OverridingQuantity { get; set; } + + /// + /// <p>The overriding position amount.</p> + /// + /// <p>The overriding position amount.</p> + [DataMember(Name="overridingPositionAmount", EmitDefaultValue=false)] + public double? OverridingPositionAmount { get; set; } + + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + [DataMember(Name="weightResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult WeightResult { get; set; } + + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + [DataMember(Name="doPriceDifferenceLimitCheck", EmitDefaultValue=false)] + public bool? DoPriceDifferenceLimitCheck { get; set; } + + /// + /// <p>Price type code (for price change).</p> + /// + /// <p>Price type code (for price change).</p> + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// <p>Set price mode (for price change).</p> + /// + /// <p>Set price mode (for price change).</p> + [DataMember(Name="setPriceMode", EmitDefaultValue=false)] + public string SetPriceMode { get; set; } + + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>A reason parameter used for handling of salable information.</p> + /// + /// <p>A reason parameter used for handling of salable information.</p> + [DataMember(Name="reasonParameter", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO ReasonParameter { get; set; } + + /// + /// <p>A price change reason code.</p> + /// + /// <p>A price change reason code.</p> + [DataMember(Name="priceChangeReasonCode", EmitDefaultValue=false)] + public string PriceChangeReasonCode { get; set; } + + /// + /// <p>A price change reason code group code.</p> + /// + /// <p>A price change reason code group code.</p> + [DataMember(Name="priceChangeReasonCodeGroupCode", EmitDefaultValue=false)] + public string PriceChangeReasonCodeGroupCode { get; set; } + + /// + /// <p>A price change reason description.</p> + /// + /// <p>A price change reason description.</p> + [DataMember(Name="priceChangeReasonDescription", EmitDefaultValue=false)] + public string PriceChangeReasonDescription { get; set; } + + /// + /// <p>Serial number to set.</p> + /// + /// <p>Serial number to set.</p> + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + [DataMember(Name="itemTraceableUnitID", EmitDefaultValue=false)] + public string ItemTraceableUnitID { get; set; } + + /// + /// <p>Receipt text to set.</p> + /// + /// <p>Receipt text to set.</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>Object for linked item information.</p> + /// + /// <p>Object for linked item information.</p> + [DataMember(Name="linkedItemRegistrationRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest LinkedItemRegistrationRequest { get; set; } + + /// + /// <p>A request to register an external item to transaction.</p> + /// + /// <p>A request to register an external item to transaction.</p> + [DataMember(Name="externalItemRegistrationRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest ExternalItemRegistrationRequest { get; set; } + + /// + /// <p>Double.</p> + /// + /// <p>Double.</p> + [DataMember(Name="factor", EmitDefaultValue=false)] + public double? Factor { get; set; } + + /// + /// <p>The active customer order id.</p> + /// + /// <p>The active customer order id.</p> + [DataMember(Name="activeCustomerOrderId", EmitDefaultValue=false)] + public string ActiveCustomerOrderId { get; set; } + + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + [DataMember(Name="customerSequenceNumber", EmitDefaultValue=false)] + public int? CustomerSequenceNumber { get; set; } + + /// + /// <p>The customer order sequence number.</p> + /// + /// <p>The customer order sequence number.</p> + [DataMember(Name="customerOrderSequenceNumber", EmitDefaultValue=false)] + public int? CustomerOrderSequenceNumber { get; set; } + + /// + /// <p>The sales order type code.</p> + /// + /// <p>The sales order type code.</p> + [DataMember(Name="salesOrderTypeCode", EmitDefaultValue=false)] + public string SalesOrderTypeCode { get; set; } + + /// + /// <p>The sales order delivery type code.</p> + /// + /// <p>The sales order delivery type code.</p> + [DataMember(Name="salesOrderDeliveryTypeCode", EmitDefaultValue=false)] + public string SalesOrderDeliveryTypeCode { get; set; } + + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestedDeliveryDate", EmitDefaultValue=false)] + public string RequestedDeliveryDate { get; set; } + + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + [DataMember(Name="itemEntryConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig ItemEntryConfig { get; set; } + + /// + /// <p>Request for Sales Person Number.</p> + /// + /// <p>Request for Sales Person Number.</p> + [DataMember(Name="salesPersonNumberRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest SalesPersonNumberRequest { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Scale transaction parameters to add to transaction.</p> + /// + /// <p>Scale transaction parameters to add to transaction.</p> + [DataMember(Name="scaleTransactionParams", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionScaleTransactionParams ScaleTransactionParams { get; set; } + + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + [DataMember(Name="postValidationSalesRestrictionIds", EmitDefaultValue=false)] + public List PostValidationSalesRestrictionIds { get; set; } + + /// + /// <p>The promotion trigger active state.</p> + /// + /// <p>The promotion trigger active state.</p> + [DataMember(Name="promotionTriggerActive", EmitDefaultValue=false)] + public bool? PromotionTriggerActive { get; set; } + + /// + /// <p>The qualified line item type.</p> + /// + /// <p>The qualified line item type.</p> + [DataMember(Name="lineItemItemType", EmitDefaultValue=false)] + public string LineItemItemType { get; set; } + + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + [DataMember(Name="retailPriceModifierList", EmitDefaultValue=false)] + public List RetailPriceModifierList { get; set; } + + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + [DataMember(Name="lineItemExtensionList", EmitDefaultValue=false)] + public List LineItemExtensionList { get; set; } + + /// + /// <p>The print list for additional line item text to print.</p> + /// + /// <p>The print list for additional line item text to print.</p> + [DataMember(Name="printAdditionalLineItemTextLineList", EmitDefaultValue=false)] + public List PrintAdditionalLineItemTextLineList { get; set; } + + + + /// + /// <p>The course Number to be set on line item.</p> + /// + /// <p>The course Number to be set on line item.</p> + [DataMember(Name="courseNumber", EmitDefaultValue=false)] + public string CourseNumber { get; set; } + + + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + [DataMember(Name="comboMealRegistrationRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest ComboMealRegistrationRequest { get; set; } + + /// + /// Gets or Sets AppEnablement + /// + [DataMember(Name="appEnablement", EmitDefaultValue=false)] + public bool? AppEnablement { get; set; } + + /// + /// <p>The itemType</p> + /// + /// <p>The itemType</p> + [DataMember(Name="itemType", EmitDefaultValue=false)] + public string ItemType { get; set; } + + /// + /// <p>The i18NTextPayOut</p> + /// + /// <p>The i18NTextPayOut</p> + [DataMember(Name="i18NTextPayOut", EmitDefaultValue=false)] + public string I18NTextPayOut { get; set; } + + /// + /// <p>The i18NTextPayIn</p> + /// + /// <p>The i18NTextPayIn</p> + [DataMember(Name="i18NTextPayIn", EmitDefaultValue=false)] + public string I18NTextPayIn { get; set; } + + /// + /// <p>The languageDifferent</p> + /// + /// <p>The languageDifferent</p> + [DataMember(Name="languageDifferent", EmitDefaultValue=false)] + public bool? LanguageDifferent { get; set; } + + /// + /// <p>The customerAccountText</p> + /// + /// <p>The customerAccountText</p> + [DataMember(Name="customerAccountText", EmitDefaultValue=false)] + public string CustomerAccountText { get; set; } + + /// + /// <p>The customerId</p> + /// + /// <p>The customerId</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The receiptTextPI</p> + /// + /// <p>The receiptTextPI</p> + [DataMember(Name="receiptTextPI", EmitDefaultValue=false)] + public string ReceiptTextPI { get; set; } + + /// + /// <p>The receiptTextPO</p> + /// + /// <p>The receiptTextPO</p> + [DataMember(Name="receiptTextPO", EmitDefaultValue=false)] + public string ReceiptTextPO { get; set; } + + /// + /// <p>The openAmount</p> + /// + /// <p>The openAmount</p> + [DataMember(Name="openAmount", EmitDefaultValue=false)] + public double? OpenAmount { get; set; } + + /// + /// <p>The amount</p> + /// + /// <p>The amount</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" Barcode: ").Append(Barcode).Append("\n"); + sb.Append(" ItemIdentificator: ").Append(ItemIdentificator).Append("\n"); + sb.Append(" WicMode: ").Append(WicMode).Append("\n"); + sb.Append(" TakeOverSetItems: ").Append(TakeOverSetItems).Append("\n"); + sb.Append(" OrderMode: ").Append(OrderMode).Append("\n"); + sb.Append(" LayawayMode: ").Append(LayawayMode).Append("\n"); + sb.Append(" TakeAwaySaleMode: ").Append(TakeAwaySaleMode).Append("\n"); + sb.Append(" CheckForVariants: ").Append(CheckForVariants).Append("\n"); + sb.Append(" SalesRestrictionsCheckNeeded: ").Append(SalesRestrictionsCheckNeeded).Append("\n"); + sb.Append(" ReturnReasonRequired: ").Append(ReturnReasonRequired).Append("\n"); + sb.Append(" LinkedEmptiesItem: ").Append(LinkedEmptiesItem).Append("\n"); + sb.Append(" CloseLineItem: ").Append(CloseLineItem).Append("\n"); + sb.Append(" GetPromoIcons: ").Append(GetPromoIcons).Append("\n"); + sb.Append(" EmptiesReturnQuantity: ").Append(EmptiesReturnQuantity).Append("\n"); + sb.Append(" PriceVariant: ").Append(PriceVariant).Append("\n"); + sb.Append(" OverridingPrice: ").Append(OverridingPrice).Append("\n"); + sb.Append(" OverridingQuantity: ").Append(OverridingQuantity).Append("\n"); + sb.Append(" OverridingPositionAmount: ").Append(OverridingPositionAmount).Append("\n"); + sb.Append(" WeightResult: ").Append(WeightResult).Append("\n"); + sb.Append(" DoPriceDifferenceLimitCheck: ").Append(DoPriceDifferenceLimitCheck).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" SetPriceMode: ").Append(SetPriceMode).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" ReasonParameter: ").Append(ReasonParameter).Append("\n"); + sb.Append(" PriceChangeReasonCode: ").Append(PriceChangeReasonCode).Append("\n"); + sb.Append(" PriceChangeReasonCodeGroupCode: ").Append(PriceChangeReasonCodeGroupCode).Append("\n"); + sb.Append(" PriceChangeReasonDescription: ").Append(PriceChangeReasonDescription).Append("\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" ItemTraceableUnitID: ").Append(ItemTraceableUnitID).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" LinkedItemRegistrationRequest: ").Append(LinkedItemRegistrationRequest).Append("\n"); + sb.Append(" ExternalItemRegistrationRequest: ").Append(ExternalItemRegistrationRequest).Append("\n"); + sb.Append(" Factor: ").Append(Factor).Append("\n"); + sb.Append(" ActiveCustomerOrderId: ").Append(ActiveCustomerOrderId).Append("\n"); + sb.Append(" CustomerSequenceNumber: ").Append(CustomerSequenceNumber).Append("\n"); + sb.Append(" CustomerOrderSequenceNumber: ").Append(CustomerOrderSequenceNumber).Append("\n"); + sb.Append(" SalesOrderTypeCode: ").Append(SalesOrderTypeCode).Append("\n"); + sb.Append(" SalesOrderDeliveryTypeCode: ").Append(SalesOrderDeliveryTypeCode).Append("\n"); + sb.Append(" RequestedDeliveryDate: ").Append(RequestedDeliveryDate).Append("\n"); + sb.Append(" ItemEntryConfig: ").Append(ItemEntryConfig).Append("\n"); + sb.Append(" SalesPersonNumberRequest: ").Append(SalesPersonNumberRequest).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" ScaleTransactionParams: ").Append(ScaleTransactionParams).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" PostValidationSalesRestrictionIds: ").Append(PostValidationSalesRestrictionIds).Append("\n"); + sb.Append(" PromotionTriggerActive: ").Append(PromotionTriggerActive).Append("\n"); + sb.Append(" LineItemItemType: ").Append(LineItemItemType).Append("\n"); + sb.Append(" RetailPriceModifierList: ").Append(RetailPriceModifierList).Append("\n"); + sb.Append(" LineItemExtensionList: ").Append(LineItemExtensionList).Append("\n"); + sb.Append(" PrintAdditionalLineItemTextLineList: ").Append(PrintAdditionalLineItemTextLineList).Append("\n"); + sb.Append(" ScaleMode: ").Append(ScaleMode).Append("\n"); + sb.Append(" ScaleSellingMode: ").Append(ScaleSellingMode).Append("\n"); + sb.Append(" CourseNumber: ").Append(CourseNumber).Append("\n"); + sb.Append(" ItemProvider: ").Append(ItemProvider).Append("\n"); + sb.Append(" ComboMealRegistrationRequest: ").Append(ComboMealRegistrationRequest).Append("\n"); + sb.Append(" AppEnablement: ").Append(AppEnablement).Append("\n"); + sb.Append(" ItemType: ").Append(ItemType).Append("\n"); + sb.Append(" I18NTextPayOut: ").Append(I18NTextPayOut).Append("\n"); + sb.Append(" I18NTextPayIn: ").Append(I18NTextPayIn).Append("\n"); + sb.Append(" LanguageDifferent: ").Append(LanguageDifferent).Append("\n"); + sb.Append(" CustomerAccountText: ").Append(CustomerAccountText).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" ReceiptTextPI: ").Append(ReceiptTextPI).Append("\n"); + sb.Append(" ReceiptTextPO: ").Append(ReceiptTextPO).Append("\n"); + sb.Append(" OpenAmount: ").Append(OpenAmount).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.Barcode == input.Barcode || + (this.Barcode != null && + this.Barcode.Equals(input.Barcode)) + ) && + ( + this.ItemIdentificator == input.ItemIdentificator || + (this.ItemIdentificator != null && + this.ItemIdentificator.Equals(input.ItemIdentificator)) + ) && + ( + this.WicMode == input.WicMode || + (this.WicMode != null && + this.WicMode.Equals(input.WicMode)) + ) && + ( + this.TakeOverSetItems == input.TakeOverSetItems || + (this.TakeOverSetItems != null && + this.TakeOverSetItems.Equals(input.TakeOverSetItems)) + ) && + ( + this.OrderMode == input.OrderMode || + (this.OrderMode != null && + this.OrderMode.Equals(input.OrderMode)) + ) && + ( + this.LayawayMode == input.LayawayMode || + (this.LayawayMode != null && + this.LayawayMode.Equals(input.LayawayMode)) + ) && + ( + this.TakeAwaySaleMode == input.TakeAwaySaleMode || + (this.TakeAwaySaleMode != null && + this.TakeAwaySaleMode.Equals(input.TakeAwaySaleMode)) + ) && + ( + this.CheckForVariants == input.CheckForVariants || + (this.CheckForVariants != null && + this.CheckForVariants.Equals(input.CheckForVariants)) + ) && + ( + this.SalesRestrictionsCheckNeeded == input.SalesRestrictionsCheckNeeded || + (this.SalesRestrictionsCheckNeeded != null && + this.SalesRestrictionsCheckNeeded.Equals(input.SalesRestrictionsCheckNeeded)) + ) && + ( + this.ReturnReasonRequired == input.ReturnReasonRequired || + (this.ReturnReasonRequired != null && + this.ReturnReasonRequired.Equals(input.ReturnReasonRequired)) + ) && + ( + this.LinkedEmptiesItem == input.LinkedEmptiesItem || + (this.LinkedEmptiesItem != null && + this.LinkedEmptiesItem.Equals(input.LinkedEmptiesItem)) + ) && + ( + this.CloseLineItem == input.CloseLineItem || + (this.CloseLineItem != null && + this.CloseLineItem.Equals(input.CloseLineItem)) + ) && + ( + this.GetPromoIcons == input.GetPromoIcons || + (this.GetPromoIcons != null && + this.GetPromoIcons.Equals(input.GetPromoIcons)) + ) && + ( + this.EmptiesReturnQuantity == input.EmptiesReturnQuantity || + (this.EmptiesReturnQuantity != null && + this.EmptiesReturnQuantity.Equals(input.EmptiesReturnQuantity)) + ) && + ( + this.PriceVariant == input.PriceVariant || + (this.PriceVariant != null && + this.PriceVariant.Equals(input.PriceVariant)) + ) && + ( + this.OverridingPrice == input.OverridingPrice || + (this.OverridingPrice != null && + this.OverridingPrice.Equals(input.OverridingPrice)) + ) && + ( + this.OverridingQuantity == input.OverridingQuantity || + (this.OverridingQuantity != null && + this.OverridingQuantity.Equals(input.OverridingQuantity)) + ) && + ( + this.OverridingPositionAmount == input.OverridingPositionAmount || + (this.OverridingPositionAmount != null && + this.OverridingPositionAmount.Equals(input.OverridingPositionAmount)) + ) && + ( + this.WeightResult == input.WeightResult || + (this.WeightResult != null && + this.WeightResult.Equals(input.WeightResult)) + ) && + ( + this.DoPriceDifferenceLimitCheck == input.DoPriceDifferenceLimitCheck || + (this.DoPriceDifferenceLimitCheck != null && + this.DoPriceDifferenceLimitCheck.Equals(input.DoPriceDifferenceLimitCheck)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.SetPriceMode == input.SetPriceMode || + (this.SetPriceMode != null && + this.SetPriceMode.Equals(input.SetPriceMode)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.ReasonParameter == input.ReasonParameter || + (this.ReasonParameter != null && + this.ReasonParameter.Equals(input.ReasonParameter)) + ) && + ( + this.PriceChangeReasonCode == input.PriceChangeReasonCode || + (this.PriceChangeReasonCode != null && + this.PriceChangeReasonCode.Equals(input.PriceChangeReasonCode)) + ) && + ( + this.PriceChangeReasonCodeGroupCode == input.PriceChangeReasonCodeGroupCode || + (this.PriceChangeReasonCodeGroupCode != null && + this.PriceChangeReasonCodeGroupCode.Equals(input.PriceChangeReasonCodeGroupCode)) + ) && + ( + this.PriceChangeReasonDescription == input.PriceChangeReasonDescription || + (this.PriceChangeReasonDescription != null && + this.PriceChangeReasonDescription.Equals(input.PriceChangeReasonDescription)) + ) && + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.ItemTraceableUnitID == input.ItemTraceableUnitID || + (this.ItemTraceableUnitID != null && + this.ItemTraceableUnitID.Equals(input.ItemTraceableUnitID)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.LinkedItemRegistrationRequest == input.LinkedItemRegistrationRequest || + (this.LinkedItemRegistrationRequest != null && + this.LinkedItemRegistrationRequest.Equals(input.LinkedItemRegistrationRequest)) + ) && + ( + this.ExternalItemRegistrationRequest == input.ExternalItemRegistrationRequest || + (this.ExternalItemRegistrationRequest != null && + this.ExternalItemRegistrationRequest.Equals(input.ExternalItemRegistrationRequest)) + ) && + ( + this.Factor == input.Factor || + (this.Factor != null && + this.Factor.Equals(input.Factor)) + ) && + ( + this.ActiveCustomerOrderId == input.ActiveCustomerOrderId || + (this.ActiveCustomerOrderId != null && + this.ActiveCustomerOrderId.Equals(input.ActiveCustomerOrderId)) + ) && + ( + this.CustomerSequenceNumber == input.CustomerSequenceNumber || + (this.CustomerSequenceNumber != null && + this.CustomerSequenceNumber.Equals(input.CustomerSequenceNumber)) + ) && + ( + this.CustomerOrderSequenceNumber == input.CustomerOrderSequenceNumber || + (this.CustomerOrderSequenceNumber != null && + this.CustomerOrderSequenceNumber.Equals(input.CustomerOrderSequenceNumber)) + ) && + ( + this.SalesOrderTypeCode == input.SalesOrderTypeCode || + (this.SalesOrderTypeCode != null && + this.SalesOrderTypeCode.Equals(input.SalesOrderTypeCode)) + ) && + ( + this.SalesOrderDeliveryTypeCode == input.SalesOrderDeliveryTypeCode || + (this.SalesOrderDeliveryTypeCode != null && + this.SalesOrderDeliveryTypeCode.Equals(input.SalesOrderDeliveryTypeCode)) + ) && + ( + this.RequestedDeliveryDate == input.RequestedDeliveryDate || + (this.RequestedDeliveryDate != null && + this.RequestedDeliveryDate.Equals(input.RequestedDeliveryDate)) + ) && + ( + this.ItemEntryConfig == input.ItemEntryConfig || + (this.ItemEntryConfig != null && + this.ItemEntryConfig.Equals(input.ItemEntryConfig)) + ) && + ( + this.SalesPersonNumberRequest == input.SalesPersonNumberRequest || + (this.SalesPersonNumberRequest != null && + this.SalesPersonNumberRequest.Equals(input.SalesPersonNumberRequest)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.ScaleTransactionParams == input.ScaleTransactionParams || + (this.ScaleTransactionParams != null && + this.ScaleTransactionParams.Equals(input.ScaleTransactionParams)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.PostValidationSalesRestrictionIds == input.PostValidationSalesRestrictionIds || + this.PostValidationSalesRestrictionIds != null && + this.PostValidationSalesRestrictionIds.SequenceEqual(input.PostValidationSalesRestrictionIds) + ) && + ( + this.PromotionTriggerActive == input.PromotionTriggerActive || + (this.PromotionTriggerActive != null && + this.PromotionTriggerActive.Equals(input.PromotionTriggerActive)) + ) && + ( + this.LineItemItemType == input.LineItemItemType || + (this.LineItemItemType != null && + this.LineItemItemType.Equals(input.LineItemItemType)) + ) && + ( + this.RetailPriceModifierList == input.RetailPriceModifierList || + this.RetailPriceModifierList != null && + this.RetailPriceModifierList.SequenceEqual(input.RetailPriceModifierList) + ) && + ( + this.LineItemExtensionList == input.LineItemExtensionList || + this.LineItemExtensionList != null && + this.LineItemExtensionList.SequenceEqual(input.LineItemExtensionList) + ) && + ( + this.PrintAdditionalLineItemTextLineList == input.PrintAdditionalLineItemTextLineList || + this.PrintAdditionalLineItemTextLineList != null && + this.PrintAdditionalLineItemTextLineList.SequenceEqual(input.PrintAdditionalLineItemTextLineList) + ) && + ( + this.ScaleMode == input.ScaleMode || + (this.ScaleMode != null && + this.ScaleMode.Equals(input.ScaleMode)) + ) && + ( + this.ScaleSellingMode == input.ScaleSellingMode || + (this.ScaleSellingMode != null && + this.ScaleSellingMode.Equals(input.ScaleSellingMode)) + ) && + ( + this.CourseNumber == input.CourseNumber || + (this.CourseNumber != null && + this.CourseNumber.Equals(input.CourseNumber)) + ) && + ( + this.ItemProvider == input.ItemProvider || + (this.ItemProvider != null && + this.ItemProvider.Equals(input.ItemProvider)) + ) && + ( + this.ComboMealRegistrationRequest == input.ComboMealRegistrationRequest || + (this.ComboMealRegistrationRequest != null && + this.ComboMealRegistrationRequest.Equals(input.ComboMealRegistrationRequest)) + ) && + ( + this.AppEnablement == input.AppEnablement || + (this.AppEnablement != null && + this.AppEnablement.Equals(input.AppEnablement)) + ) && + ( + this.ItemType == input.ItemType || + (this.ItemType != null && + this.ItemType.Equals(input.ItemType)) + ) && + ( + this.I18NTextPayOut == input.I18NTextPayOut || + (this.I18NTextPayOut != null && + this.I18NTextPayOut.Equals(input.I18NTextPayOut)) + ) && + ( + this.I18NTextPayIn == input.I18NTextPayIn || + (this.I18NTextPayIn != null && + this.I18NTextPayIn.Equals(input.I18NTextPayIn)) + ) && + ( + this.LanguageDifferent == input.LanguageDifferent || + (this.LanguageDifferent != null && + this.LanguageDifferent.Equals(input.LanguageDifferent)) + ) && + ( + this.CustomerAccountText == input.CustomerAccountText || + (this.CustomerAccountText != null && + this.CustomerAccountText.Equals(input.CustomerAccountText)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.ReceiptTextPI == input.ReceiptTextPI || + (this.ReceiptTextPI != null && + this.ReceiptTextPI.Equals(input.ReceiptTextPI)) + ) && + ( + this.ReceiptTextPO == input.ReceiptTextPO || + (this.ReceiptTextPO != null && + this.ReceiptTextPO.Equals(input.ReceiptTextPO)) + ) && + ( + this.OpenAmount == input.OpenAmount || + (this.OpenAmount != null && + this.OpenAmount.Equals(input.OpenAmount)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.Barcode != null) + hashCode = hashCode * 59 + this.Barcode.GetHashCode(); + if (this.ItemIdentificator != null) + hashCode = hashCode * 59 + this.ItemIdentificator.GetHashCode(); + if (this.WicMode != null) + hashCode = hashCode * 59 + this.WicMode.GetHashCode(); + if (this.TakeOverSetItems != null) + hashCode = hashCode * 59 + this.TakeOverSetItems.GetHashCode(); + if (this.OrderMode != null) + hashCode = hashCode * 59 + this.OrderMode.GetHashCode(); + if (this.LayawayMode != null) + hashCode = hashCode * 59 + this.LayawayMode.GetHashCode(); + if (this.TakeAwaySaleMode != null) + hashCode = hashCode * 59 + this.TakeAwaySaleMode.GetHashCode(); + if (this.CheckForVariants != null) + hashCode = hashCode * 59 + this.CheckForVariants.GetHashCode(); + if (this.SalesRestrictionsCheckNeeded != null) + hashCode = hashCode * 59 + this.SalesRestrictionsCheckNeeded.GetHashCode(); + if (this.ReturnReasonRequired != null) + hashCode = hashCode * 59 + this.ReturnReasonRequired.GetHashCode(); + if (this.LinkedEmptiesItem != null) + hashCode = hashCode * 59 + this.LinkedEmptiesItem.GetHashCode(); + if (this.CloseLineItem != null) + hashCode = hashCode * 59 + this.CloseLineItem.GetHashCode(); + if (this.GetPromoIcons != null) + hashCode = hashCode * 59 + this.GetPromoIcons.GetHashCode(); + if (this.EmptiesReturnQuantity != null) + hashCode = hashCode * 59 + this.EmptiesReturnQuantity.GetHashCode(); + if (this.PriceVariant != null) + hashCode = hashCode * 59 + this.PriceVariant.GetHashCode(); + if (this.OverridingPrice != null) + hashCode = hashCode * 59 + this.OverridingPrice.GetHashCode(); + if (this.OverridingQuantity != null) + hashCode = hashCode * 59 + this.OverridingQuantity.GetHashCode(); + if (this.OverridingPositionAmount != null) + hashCode = hashCode * 59 + this.OverridingPositionAmount.GetHashCode(); + if (this.WeightResult != null) + hashCode = hashCode * 59 + this.WeightResult.GetHashCode(); + if (this.DoPriceDifferenceLimitCheck != null) + hashCode = hashCode * 59 + this.DoPriceDifferenceLimitCheck.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.SetPriceMode != null) + hashCode = hashCode * 59 + this.SetPriceMode.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.ReasonParameter != null) + hashCode = hashCode * 59 + this.ReasonParameter.GetHashCode(); + if (this.PriceChangeReasonCode != null) + hashCode = hashCode * 59 + this.PriceChangeReasonCode.GetHashCode(); + if (this.PriceChangeReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.PriceChangeReasonCodeGroupCode.GetHashCode(); + if (this.PriceChangeReasonDescription != null) + hashCode = hashCode * 59 + this.PriceChangeReasonDescription.GetHashCode(); + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.ItemTraceableUnitID != null) + hashCode = hashCode * 59 + this.ItemTraceableUnitID.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.LinkedItemRegistrationRequest != null) + hashCode = hashCode * 59 + this.LinkedItemRegistrationRequest.GetHashCode(); + if (this.ExternalItemRegistrationRequest != null) + hashCode = hashCode * 59 + this.ExternalItemRegistrationRequest.GetHashCode(); + if (this.Factor != null) + hashCode = hashCode * 59 + this.Factor.GetHashCode(); + if (this.ActiveCustomerOrderId != null) + hashCode = hashCode * 59 + this.ActiveCustomerOrderId.GetHashCode(); + if (this.CustomerSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerSequenceNumber.GetHashCode(); + if (this.CustomerOrderSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerOrderSequenceNumber.GetHashCode(); + if (this.SalesOrderTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderTypeCode.GetHashCode(); + if (this.SalesOrderDeliveryTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderDeliveryTypeCode.GetHashCode(); + if (this.RequestedDeliveryDate != null) + hashCode = hashCode * 59 + this.RequestedDeliveryDate.GetHashCode(); + if (this.ItemEntryConfig != null) + hashCode = hashCode * 59 + this.ItemEntryConfig.GetHashCode(); + if (this.SalesPersonNumberRequest != null) + hashCode = hashCode * 59 + this.SalesPersonNumberRequest.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.ScaleTransactionParams != null) + hashCode = hashCode * 59 + this.ScaleTransactionParams.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.PostValidationSalesRestrictionIds != null) + hashCode = hashCode * 59 + this.PostValidationSalesRestrictionIds.GetHashCode(); + if (this.PromotionTriggerActive != null) + hashCode = hashCode * 59 + this.PromotionTriggerActive.GetHashCode(); + if (this.LineItemItemType != null) + hashCode = hashCode * 59 + this.LineItemItemType.GetHashCode(); + if (this.RetailPriceModifierList != null) + hashCode = hashCode * 59 + this.RetailPriceModifierList.GetHashCode(); + if (this.LineItemExtensionList != null) + hashCode = hashCode * 59 + this.LineItemExtensionList.GetHashCode(); + if (this.PrintAdditionalLineItemTextLineList != null) + hashCode = hashCode * 59 + this.PrintAdditionalLineItemTextLineList.GetHashCode(); + if (this.ScaleMode != null) + hashCode = hashCode * 59 + this.ScaleMode.GetHashCode(); + if (this.ScaleSellingMode != null) + hashCode = hashCode * 59 + this.ScaleSellingMode.GetHashCode(); + if (this.CourseNumber != null) + hashCode = hashCode * 59 + this.CourseNumber.GetHashCode(); + if (this.ItemProvider != null) + hashCode = hashCode * 59 + this.ItemProvider.GetHashCode(); + if (this.ComboMealRegistrationRequest != null) + hashCode = hashCode * 59 + this.ComboMealRegistrationRequest.GetHashCode(); + if (this.AppEnablement != null) + hashCode = hashCode * 59 + this.AppEnablement.GetHashCode(); + if (this.ItemType != null) + hashCode = hashCode * 59 + this.ItemType.GetHashCode(); + if (this.I18NTextPayOut != null) + hashCode = hashCode * 59 + this.I18NTextPayOut.GetHashCode(); + if (this.I18NTextPayIn != null) + hashCode = hashCode * 59 + this.I18NTextPayIn.GetHashCode(); + if (this.LanguageDifferent != null) + hashCode = hashCode * 59 + this.LanguageDifferent.GetHashCode(); + if (this.CustomerAccountText != null) + hashCode = hashCode * 59 + this.CustomerAccountText.GetHashCode(); + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.ReceiptTextPI != null) + hashCode = hashCode * 59 + this.ReceiptTextPI.GetHashCode(); + if (this.ReceiptTextPO != null) + hashCode = hashCode * 59 + this.ReceiptTextPO.GetHashCode(); + if (this.OpenAmount != null) + hashCode = hashCode * 59 + this.OpenAmount.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ee6c6f7ffa886ed327c4f1b66a71944ce35e32f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest.cs @@ -0,0 +1,756 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterEmptiesTransactionRequest <p>Request object for the retrieve empties transaction process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest : IEquatable, IValidatableObject + { + /// + /// <p>The deposit type 1.</p> + /// + /// <p>The deposit type 1.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum DepositType1Enum + { + + /// + /// Enum RETURNABLE for value: RETURNABLE + /// + [EnumMember(Value = "RETURNABLE")] + RETURNABLE = 1, + + /// + /// Enum NONRETURNABLE for value: NON_RETURNABLE + /// + [EnumMember(Value = "NON_RETURNABLE")] + NONRETURNABLE = 2 + } + + /// + /// <p>The deposit type 1.</p> + /// + /// <p>The deposit type 1.</p> + [DataMember(Name="depositType1", EmitDefaultValue=false)] + public DepositType1Enum? DepositType1 { get; set; } + /// + /// <p>The deposit type 2.</p> + /// + /// <p>The deposit type 2.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum DepositType2Enum + { + + /// + /// Enum RETURNABLE for value: RETURNABLE + /// + [EnumMember(Value = "RETURNABLE")] + RETURNABLE = 1, + + /// + /// Enum NONRETURNABLE for value: NON_RETURNABLE + /// + [EnumMember(Value = "NON_RETURNABLE")] + NONRETURNABLE = 2 + } + + /// + /// <p>The deposit type 2.</p> + /// + /// <p>The deposit type 2.</p> + [DataMember(Name="depositType2", EmitDefaultValue=false)] + public DepositType2Enum? DepositType2 { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>A flag to indicate that return mode is active.</p> (required). + /// <p>The collective number. When add as one line item is wanted or necessary the item with collective number is used for empties return transaction registration.</p>. + /// <p>The transaction identifier for the empties return transaction.</p>. + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p>. + /// <p>The amount1. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 1 line item registration.</p>. + /// <p>The amount2. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 2 line item registration.</p>. + /// <p>The one-way deposit item number.</p>. + /// <p>The multi-way deposit item number.</p>. + /// <p>The deposit type 1.</p>. + /// <p>The deposit type 2.</p>. + /// <p>A flag to indicate that the empties return line items should be registered as one collective line item.</p> (required). + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> (required). + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> (required). + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> (required). + /// <p>A complete transaction holding the retrieved empties return transaction.</p>. + /// <p>The alternative tax information for updating the tax group.</p>. + /// <p>The retail store identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? returnMode = default(bool?), string collectiveNumber = default(string), string transactionIdentifier = default(string), double? amount = default(double?), double? amount1 = default(double?), double? amount2 = default(double?), string oneWayItemNumber = default(string), string multiWayItemNumber = default(string), DepositType1Enum? depositType1 = default(DepositType1Enum?), DepositType2Enum? depositType2 = default(DepositType2Enum?), bool? addAsOneLineItem = default(bool?), bool? statusOfflineConfirmed = default(bool?), bool? statusRedeemedConfirmed = default(bool?), bool? statusNotFoundConfirmed = default(bool?), ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction emptiesTransaction = default(ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string storeId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "addAsOneLineItem" is required (not null) + if (addAsOneLineItem == null) + { + throw new InvalidDataException("addAsOneLineItem is a required property for ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest and cannot be null"); + } + else + { + this.AddAsOneLineItem = addAsOneLineItem; + } + // to ensure "statusOfflineConfirmed" is required (not null) + if (statusOfflineConfirmed == null) + { + throw new InvalidDataException("statusOfflineConfirmed is a required property for ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest and cannot be null"); + } + else + { + this.StatusOfflineConfirmed = statusOfflineConfirmed; + } + // to ensure "statusRedeemedConfirmed" is required (not null) + if (statusRedeemedConfirmed == null) + { + throw new InvalidDataException("statusRedeemedConfirmed is a required property for ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest and cannot be null"); + } + else + { + this.StatusRedeemedConfirmed = statusRedeemedConfirmed; + } + // to ensure "statusNotFoundConfirmed" is required (not null) + if (statusNotFoundConfirmed == null) + { + throw new InvalidDataException("statusNotFoundConfirmed is a required property for ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest and cannot be null"); + } + else + { + this.StatusNotFoundConfirmed = statusNotFoundConfirmed; + } + this.PositionOperationConfig = positionOperationConfig; + this.CollectiveNumber = collectiveNumber; + this.TransactionIdentifier = transactionIdentifier; + this.Amount = amount; + this.Amount1 = amount1; + this.Amount2 = amount2; + this.OneWayItemNumber = oneWayItemNumber; + this.MultiWayItemNumber = multiWayItemNumber; + this.DepositType1 = depositType1; + this.DepositType2 = depositType2; + this.EmptiesTransaction = emptiesTransaction; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.StoreId = storeId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>A flag to indicate that return mode is active.</p> + /// + /// <p>A flag to indicate that return mode is active.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>The collective number. When add as one line item is wanted or necessary the item with collective number is used for empties return transaction registration.</p> + /// + /// <p>The collective number. When add as one line item is wanted or necessary the item with collective number is used for empties return transaction registration.</p> + [DataMember(Name="collectiveNumber", EmitDefaultValue=false)] + public string CollectiveNumber { get; set; } + + /// + /// <p>The transaction identifier for the empties return transaction.</p> + /// + /// <p>The transaction identifier for the empties return transaction.</p> + [DataMember(Name="transactionIdentifier", EmitDefaultValue=false)] + public string TransactionIdentifier { get; set; } + + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>The amount1. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 1 line item registration.</p> + /// + /// <p>The amount1. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 1 line item registration.</p> + [DataMember(Name="amount1", EmitDefaultValue=false)] + public double? Amount1 { get; set; } + + /// + /// <p>The amount2. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 2 line item registration.</p> + /// + /// <p>The amount2. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 2 line item registration.</p> + [DataMember(Name="amount2", EmitDefaultValue=false)] + public double? Amount2 { get; set; } + + /// + /// <p>The one-way deposit item number.</p> + /// + /// <p>The one-way deposit item number.</p> + [DataMember(Name="oneWayItemNumber", EmitDefaultValue=false)] + public string OneWayItemNumber { get; set; } + + /// + /// <p>The multi-way deposit item number.</p> + /// + /// <p>The multi-way deposit item number.</p> + [DataMember(Name="multiWayItemNumber", EmitDefaultValue=false)] + public string MultiWayItemNumber { get; set; } + + + + /// + /// <p>A flag to indicate that the empties return line items should be registered as one collective line item.</p> + /// + /// <p>A flag to indicate that the empties return line items should be registered as one collective line item.</p> + [DataMember(Name="addAsOneLineItem", EmitDefaultValue=false)] + public bool? AddAsOneLineItem { get; set; } + + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + [DataMember(Name="statusOfflineConfirmed", EmitDefaultValue=false)] + public bool? StatusOfflineConfirmed { get; set; } + + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + [DataMember(Name="statusRedeemedConfirmed", EmitDefaultValue=false)] + public bool? StatusRedeemedConfirmed { get; set; } + + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + [DataMember(Name="statusNotFoundConfirmed", EmitDefaultValue=false)] + public bool? StatusNotFoundConfirmed { get; set; } + + /// + /// <p>A complete transaction holding the retrieved empties return transaction.</p> + /// + /// <p>A complete transaction holding the retrieved empties return transaction.</p> + [DataMember(Name="emptiesTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction EmptiesTransaction { get; set; } + + /// + /// <p>The alternative tax information for updating the tax group.</p> + /// + /// <p>The alternative tax information for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" CollectiveNumber: ").Append(CollectiveNumber).Append("\n"); + sb.Append(" TransactionIdentifier: ").Append(TransactionIdentifier).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Amount1: ").Append(Amount1).Append("\n"); + sb.Append(" Amount2: ").Append(Amount2).Append("\n"); + sb.Append(" OneWayItemNumber: ").Append(OneWayItemNumber).Append("\n"); + sb.Append(" MultiWayItemNumber: ").Append(MultiWayItemNumber).Append("\n"); + sb.Append(" DepositType1: ").Append(DepositType1).Append("\n"); + sb.Append(" DepositType2: ").Append(DepositType2).Append("\n"); + sb.Append(" AddAsOneLineItem: ").Append(AddAsOneLineItem).Append("\n"); + sb.Append(" StatusOfflineConfirmed: ").Append(StatusOfflineConfirmed).Append("\n"); + sb.Append(" StatusRedeemedConfirmed: ").Append(StatusRedeemedConfirmed).Append("\n"); + sb.Append(" StatusNotFoundConfirmed: ").Append(StatusNotFoundConfirmed).Append("\n"); + sb.Append(" EmptiesTransaction: ").Append(EmptiesTransaction).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.CollectiveNumber == input.CollectiveNumber || + (this.CollectiveNumber != null && + this.CollectiveNumber.Equals(input.CollectiveNumber)) + ) && + ( + this.TransactionIdentifier == input.TransactionIdentifier || + (this.TransactionIdentifier != null && + this.TransactionIdentifier.Equals(input.TransactionIdentifier)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Amount1 == input.Amount1 || + (this.Amount1 != null && + this.Amount1.Equals(input.Amount1)) + ) && + ( + this.Amount2 == input.Amount2 || + (this.Amount2 != null && + this.Amount2.Equals(input.Amount2)) + ) && + ( + this.OneWayItemNumber == input.OneWayItemNumber || + (this.OneWayItemNumber != null && + this.OneWayItemNumber.Equals(input.OneWayItemNumber)) + ) && + ( + this.MultiWayItemNumber == input.MultiWayItemNumber || + (this.MultiWayItemNumber != null && + this.MultiWayItemNumber.Equals(input.MultiWayItemNumber)) + ) && + ( + this.DepositType1 == input.DepositType1 || + (this.DepositType1 != null && + this.DepositType1.Equals(input.DepositType1)) + ) && + ( + this.DepositType2 == input.DepositType2 || + (this.DepositType2 != null && + this.DepositType2.Equals(input.DepositType2)) + ) && + ( + this.AddAsOneLineItem == input.AddAsOneLineItem || + (this.AddAsOneLineItem != null && + this.AddAsOneLineItem.Equals(input.AddAsOneLineItem)) + ) && + ( + this.StatusOfflineConfirmed == input.StatusOfflineConfirmed || + (this.StatusOfflineConfirmed != null && + this.StatusOfflineConfirmed.Equals(input.StatusOfflineConfirmed)) + ) && + ( + this.StatusRedeemedConfirmed == input.StatusRedeemedConfirmed || + (this.StatusRedeemedConfirmed != null && + this.StatusRedeemedConfirmed.Equals(input.StatusRedeemedConfirmed)) + ) && + ( + this.StatusNotFoundConfirmed == input.StatusNotFoundConfirmed || + (this.StatusNotFoundConfirmed != null && + this.StatusNotFoundConfirmed.Equals(input.StatusNotFoundConfirmed)) + ) && + ( + this.EmptiesTransaction == input.EmptiesTransaction || + (this.EmptiesTransaction != null && + this.EmptiesTransaction.Equals(input.EmptiesTransaction)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.CollectiveNumber != null) + hashCode = hashCode * 59 + this.CollectiveNumber.GetHashCode(); + if (this.TransactionIdentifier != null) + hashCode = hashCode * 59 + this.TransactionIdentifier.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Amount1 != null) + hashCode = hashCode * 59 + this.Amount1.GetHashCode(); + if (this.Amount2 != null) + hashCode = hashCode * 59 + this.Amount2.GetHashCode(); + if (this.OneWayItemNumber != null) + hashCode = hashCode * 59 + this.OneWayItemNumber.GetHashCode(); + if (this.MultiWayItemNumber != null) + hashCode = hashCode * 59 + this.MultiWayItemNumber.GetHashCode(); + if (this.DepositType1 != null) + hashCode = hashCode * 59 + this.DepositType1.GetHashCode(); + if (this.DepositType2 != null) + hashCode = hashCode * 59 + this.DepositType2.GetHashCode(); + if (this.AddAsOneLineItem != null) + hashCode = hashCode * 59 + this.AddAsOneLineItem.GetHashCode(); + if (this.StatusOfflineConfirmed != null) + hashCode = hashCode * 59 + this.StatusOfflineConfirmed.GetHashCode(); + if (this.StatusRedeemedConfirmed != null) + hashCode = hashCode * 59 + this.StatusRedeemedConfirmed.GetHashCode(); + if (this.StatusNotFoundConfirmed != null) + hashCode = hashCode * 59 + this.StatusNotFoundConfirmed.GetHashCode(); + if (this.EmptiesTransaction != null) + hashCode = hashCode * 59 + this.EmptiesTransaction.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..4f79edb805f4e1f195ec2781fa1c76ffa7c14a8b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult.cs @@ -0,0 +1,531 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterEmptiesTransactionResult <p>Result object for the retrieve empties transaction process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult : IEquatable, IValidatableObject + { + /// + /// <p>The status result (in detail).</p> + /// + /// <p>The status result (in detail).</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusResultEnum + { + + /// + /// Enum Success for value: Success + /// + [EnumMember(Value = "Success")] + Success = 1, + + /// + /// Enum Offline for value: Offline + /// + [EnumMember(Value = "Offline")] + Offline = 2, + + /// + /// Enum NotFound for value: NotFound + /// + [EnumMember(Value = "NotFound")] + NotFound = 3, + + /// + /// Enum Cancelled for value: Cancelled + /// + [EnumMember(Value = "Cancelled")] + Cancelled = 4, + + /// + /// Enum Voided for value: Voided + /// + [EnumMember(Value = "Voided")] + Voided = 5, + + /// + /// Enum Redeemed for value: Redeemed + /// + [EnumMember(Value = "Redeemed")] + Redeemed = 6 + } + + /// + /// <p>The status result (in detail).</p> + /// + /// <p>The status result (in detail).</p> + [DataMember(Name="statusResult", EmitDefaultValue=false)] + public StatusResultEnum? StatusResult { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> (required). + /// <p>The status result (in detail).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), bool? statusOkay = default(bool?), StatusResultEnum? statusResult = default(StatusResultEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "statusOkay" is required (not null) + if (statusOkay == null) + { + throw new InvalidDataException("statusOkay is a required property for ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult and cannot be null"); + } + else + { + this.StatusOkay = statusOkay; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.StatusResult = statusResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + [DataMember(Name="statusOkay", EmitDefaultValue=false)] + public bool? StatusOkay { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" StatusOkay: ").Append(StatusOkay).Append("\n"); + sb.Append(" StatusResult: ").Append(StatusResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.StatusOkay == input.StatusOkay || + (this.StatusOkay != null && + this.StatusOkay.Equals(input.StatusOkay)) + ) && + ( + this.StatusResult == input.StatusResult || + (this.StatusResult != null && + this.StatusResult.Equals(input.StatusResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.StatusOkay != null) + hashCode = hashCode * 59 + this.StatusOkay.GetHashCode(); + if (this.StatusResult != null) + hashCode = hashCode * 59 + this.StatusResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..66b97660855e8fd86dfa13ed361ee1cacc7e5b2d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest.cs @@ -0,0 +1,550 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterRetrievedSalesOrderRequest <p>The entity RegisterRetrievedSalesOrderRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The externalCustomerOrderID</p>. + /// <p>The itemPositions List</p>. + /// <p>The clearedDownpaymentPosition</p>. + /// <p>The dcActionCode</p>. + /// <p>The dcReceiptText</p>. + /// <p>The dcRegularUnitPrice</p>. + /// <p>The dcQuantity</p>. + /// <p>The languageDifferent</p>. + /// <p>The dcI18NText</p>. + /// <p>The operationConfiguration</p>. + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest(string externalCustomerOrderID = default(string), List itemPositions = default(List), string clearedDownpaymentPosition = default(string), string dcActionCode = default(string), string dcReceiptText = default(string), double? dcRegularUnitPrice = default(double?), int? dcQuantity = default(int?), bool? languageDifferent = default(bool?), string dcI18NText = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ExternalCustomerOrderID = externalCustomerOrderID; + this.ItemPositions = itemPositions; + this.ClearedDownpaymentPosition = clearedDownpaymentPosition; + this.DcActionCode = dcActionCode; + this.DcReceiptText = dcReceiptText; + this.DcRegularUnitPrice = dcRegularUnitPrice; + this.DcQuantity = dcQuantity; + this.LanguageDifferent = languageDifferent; + this.DcI18NText = dcI18NText; + this.OperationConfiguration = operationConfiguration; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The externalCustomerOrderID</p> + /// + /// <p>The externalCustomerOrderID</p> + [DataMember(Name="externalCustomerOrderID", EmitDefaultValue=false)] + public string ExternalCustomerOrderID { get; set; } + + /// + /// <p>The itemPositions List</p> + /// + /// <p>The itemPositions List</p> + [DataMember(Name="itemPositions", EmitDefaultValue=false)] + public List ItemPositions { get; set; } + + /// + /// <p>The clearedDownpaymentPosition</p> + /// + /// <p>The clearedDownpaymentPosition</p> + [DataMember(Name="clearedDownpaymentPosition", EmitDefaultValue=false)] + public string ClearedDownpaymentPosition { get; set; } + + /// + /// <p>The dcActionCode</p> + /// + /// <p>The dcActionCode</p> + [DataMember(Name="dcActionCode", EmitDefaultValue=false)] + public string DcActionCode { get; set; } + + /// + /// <p>The dcReceiptText</p> + /// + /// <p>The dcReceiptText</p> + [DataMember(Name="dcReceiptText", EmitDefaultValue=false)] + public string DcReceiptText { get; set; } + + /// + /// <p>The dcRegularUnitPrice</p> + /// + /// <p>The dcRegularUnitPrice</p> + [DataMember(Name="dcRegularUnitPrice", EmitDefaultValue=false)] + public double? DcRegularUnitPrice { get; set; } + + /// + /// <p>The dcQuantity</p> + /// + /// <p>The dcQuantity</p> + [DataMember(Name="dcQuantity", EmitDefaultValue=false)] + public int? DcQuantity { get; set; } + + /// + /// <p>The languageDifferent</p> + /// + /// <p>The languageDifferent</p> + [DataMember(Name="languageDifferent", EmitDefaultValue=false)] + public bool? LanguageDifferent { get; set; } + + /// + /// <p>The dcI18NText</p> + /// + /// <p>The dcI18NText</p> + [DataMember(Name="dcI18NText", EmitDefaultValue=false)] + public string DcI18NText { get; set; } + + /// + /// <p>The operationConfiguration</p> + /// + /// <p>The operationConfiguration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest {\n"); + sb.Append(" ExternalCustomerOrderID: ").Append(ExternalCustomerOrderID).Append("\n"); + sb.Append(" ItemPositions: ").Append(ItemPositions).Append("\n"); + sb.Append(" ClearedDownpaymentPosition: ").Append(ClearedDownpaymentPosition).Append("\n"); + sb.Append(" DcActionCode: ").Append(DcActionCode).Append("\n"); + sb.Append(" DcReceiptText: ").Append(DcReceiptText).Append("\n"); + sb.Append(" DcRegularUnitPrice: ").Append(DcRegularUnitPrice).Append("\n"); + sb.Append(" DcQuantity: ").Append(DcQuantity).Append("\n"); + sb.Append(" LanguageDifferent: ").Append(LanguageDifferent).Append("\n"); + sb.Append(" DcI18NText: ").Append(DcI18NText).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest input) + { + if (input == null) + return false; + + return + ( + this.ExternalCustomerOrderID == input.ExternalCustomerOrderID || + (this.ExternalCustomerOrderID != null && + this.ExternalCustomerOrderID.Equals(input.ExternalCustomerOrderID)) + ) && + ( + this.ItemPositions == input.ItemPositions || + this.ItemPositions != null && + this.ItemPositions.SequenceEqual(input.ItemPositions) + ) && + ( + this.ClearedDownpaymentPosition == input.ClearedDownpaymentPosition || + (this.ClearedDownpaymentPosition != null && + this.ClearedDownpaymentPosition.Equals(input.ClearedDownpaymentPosition)) + ) && + ( + this.DcActionCode == input.DcActionCode || + (this.DcActionCode != null && + this.DcActionCode.Equals(input.DcActionCode)) + ) && + ( + this.DcReceiptText == input.DcReceiptText || + (this.DcReceiptText != null && + this.DcReceiptText.Equals(input.DcReceiptText)) + ) && + ( + this.DcRegularUnitPrice == input.DcRegularUnitPrice || + (this.DcRegularUnitPrice != null && + this.DcRegularUnitPrice.Equals(input.DcRegularUnitPrice)) + ) && + ( + this.DcQuantity == input.DcQuantity || + (this.DcQuantity != null && + this.DcQuantity.Equals(input.DcQuantity)) + ) && + ( + this.LanguageDifferent == input.LanguageDifferent || + (this.LanguageDifferent != null && + this.LanguageDifferent.Equals(input.LanguageDifferent)) + ) && + ( + this.DcI18NText == input.DcI18NText || + (this.DcI18NText != null && + this.DcI18NText.Equals(input.DcI18NText)) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExternalCustomerOrderID != null) + hashCode = hashCode * 59 + this.ExternalCustomerOrderID.GetHashCode(); + if (this.ItemPositions != null) + hashCode = hashCode * 59 + this.ItemPositions.GetHashCode(); + if (this.ClearedDownpaymentPosition != null) + hashCode = hashCode * 59 + this.ClearedDownpaymentPosition.GetHashCode(); + if (this.DcActionCode != null) + hashCode = hashCode * 59 + this.DcActionCode.GetHashCode(); + if (this.DcReceiptText != null) + hashCode = hashCode * 59 + this.DcReceiptText.GetHashCode(); + if (this.DcRegularUnitPrice != null) + hashCode = hashCode * 59 + this.DcRegularUnitPrice.GetHashCode(); + if (this.DcQuantity != null) + hashCode = hashCode * 59 + this.DcQuantity.GetHashCode(); + if (this.LanguageDifferent != null) + hashCode = hashCode * 59 + this.LanguageDifferent.GetHashCode(); + if (this.DcI18NText != null) + hashCode = hashCode * 59 + this.DcI18NText.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8d92711981252b0ed2f0062036b001f5a0dedb5c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest.cs @@ -0,0 +1,587 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterScaleTransactionRequest <p>Request object for the retrieve scale transaction process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>A flag to indicate that return mode is active.</p> (required). + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p>. + /// <p>The transaction identifier for the scale transaction.</p>. + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p>. + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> (required). + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> (required). + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> (required). + /// <p>A complete transaction holding the retrieved scale transaction.</p>. + /// <p>The alternative tax informations for updating the tax group.</p>. + /// <p>A Transaction which was converted from a suspend code.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? returnMode = default(bool?), string collectiveNumber = default(string), string transactionIdentifier = default(string), double? amount = default(double?), bool? statusOfflineConfirmed = default(bool?), bool? statusRedeemedConfirmed = default(bool?), bool? statusNotFoundConfirmed = default(bool?), ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction scaleTransaction = default(ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), ComGkSoftwareGkrApiTxpoolDtoTransaction suspendCodeTransaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "statusOfflineConfirmed" is required (not null) + if (statusOfflineConfirmed == null) + { + throw new InvalidDataException("statusOfflineConfirmed is a required property for ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest and cannot be null"); + } + else + { + this.StatusOfflineConfirmed = statusOfflineConfirmed; + } + // to ensure "statusRedeemedConfirmed" is required (not null) + if (statusRedeemedConfirmed == null) + { + throw new InvalidDataException("statusRedeemedConfirmed is a required property for ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest and cannot be null"); + } + else + { + this.StatusRedeemedConfirmed = statusRedeemedConfirmed; + } + // to ensure "statusNotFoundConfirmed" is required (not null) + if (statusNotFoundConfirmed == null) + { + throw new InvalidDataException("statusNotFoundConfirmed is a required property for ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest and cannot be null"); + } + else + { + this.StatusNotFoundConfirmed = statusNotFoundConfirmed; + } + this.PositionOperationConfig = positionOperationConfig; + this.CollectiveNumber = collectiveNumber; + this.TransactionIdentifier = transactionIdentifier; + this.Amount = amount; + this.ScaleTransaction = scaleTransaction; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.SuspendCodeTransaction = suspendCodeTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>A flag to indicate that return mode is active.</p> + /// + /// <p>A flag to indicate that return mode is active.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + [DataMember(Name="collectiveNumber", EmitDefaultValue=false)] + public string CollectiveNumber { get; set; } + + /// + /// <p>The transaction identifier for the scale transaction.</p> + /// + /// <p>The transaction identifier for the scale transaction.</p> + [DataMember(Name="transactionIdentifier", EmitDefaultValue=false)] + public string TransactionIdentifier { get; set; } + + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + [DataMember(Name="amount", EmitDefaultValue=false)] + public double? Amount { get; set; } + + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + [DataMember(Name="statusOfflineConfirmed", EmitDefaultValue=false)] + public bool? StatusOfflineConfirmed { get; set; } + + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + [DataMember(Name="statusRedeemedConfirmed", EmitDefaultValue=false)] + public bool? StatusRedeemedConfirmed { get; set; } + + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + [DataMember(Name="statusNotFoundConfirmed", EmitDefaultValue=false)] + public bool? StatusNotFoundConfirmed { get; set; } + + /// + /// <p>A complete transaction holding the retrieved scale transaction.</p> + /// + /// <p>A complete transaction holding the retrieved scale transaction.</p> + [DataMember(Name="scaleTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction ScaleTransaction { get; set; } + + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>A Transaction which was converted from a suspend code.</p> + /// + /// <p>A Transaction which was converted from a suspend code.</p> + [DataMember(Name="suspendCodeTransaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction SuspendCodeTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" CollectiveNumber: ").Append(CollectiveNumber).Append("\n"); + sb.Append(" TransactionIdentifier: ").Append(TransactionIdentifier).Append("\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" StatusOfflineConfirmed: ").Append(StatusOfflineConfirmed).Append("\n"); + sb.Append(" StatusRedeemedConfirmed: ").Append(StatusRedeemedConfirmed).Append("\n"); + sb.Append(" StatusNotFoundConfirmed: ").Append(StatusNotFoundConfirmed).Append("\n"); + sb.Append(" ScaleTransaction: ").Append(ScaleTransaction).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" SuspendCodeTransaction: ").Append(SuspendCodeTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.CollectiveNumber == input.CollectiveNumber || + (this.CollectiveNumber != null && + this.CollectiveNumber.Equals(input.CollectiveNumber)) + ) && + ( + this.TransactionIdentifier == input.TransactionIdentifier || + (this.TransactionIdentifier != null && + this.TransactionIdentifier.Equals(input.TransactionIdentifier)) + ) && + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.StatusOfflineConfirmed == input.StatusOfflineConfirmed || + (this.StatusOfflineConfirmed != null && + this.StatusOfflineConfirmed.Equals(input.StatusOfflineConfirmed)) + ) && + ( + this.StatusRedeemedConfirmed == input.StatusRedeemedConfirmed || + (this.StatusRedeemedConfirmed != null && + this.StatusRedeemedConfirmed.Equals(input.StatusRedeemedConfirmed)) + ) && + ( + this.StatusNotFoundConfirmed == input.StatusNotFoundConfirmed || + (this.StatusNotFoundConfirmed != null && + this.StatusNotFoundConfirmed.Equals(input.StatusNotFoundConfirmed)) + ) && + ( + this.ScaleTransaction == input.ScaleTransaction || + (this.ScaleTransaction != null && + this.ScaleTransaction.Equals(input.ScaleTransaction)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.SuspendCodeTransaction == input.SuspendCodeTransaction || + (this.SuspendCodeTransaction != null && + this.SuspendCodeTransaction.Equals(input.SuspendCodeTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.CollectiveNumber != null) + hashCode = hashCode * 59 + this.CollectiveNumber.GetHashCode(); + if (this.TransactionIdentifier != null) + hashCode = hashCode * 59 + this.TransactionIdentifier.GetHashCode(); + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.StatusOfflineConfirmed != null) + hashCode = hashCode * 59 + this.StatusOfflineConfirmed.GetHashCode(); + if (this.StatusRedeemedConfirmed != null) + hashCode = hashCode * 59 + this.StatusRedeemedConfirmed.GetHashCode(); + if (this.StatusNotFoundConfirmed != null) + hashCode = hashCode * 59 + this.StatusNotFoundConfirmed.GetHashCode(); + if (this.ScaleTransaction != null) + hashCode = hashCode * 59 + this.ScaleTransaction.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.SuspendCodeTransaction != null) + hashCode = hashCode * 59 + this.SuspendCodeTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..7123d25388d9bf2f4a7ab9121025a2f09c3f97a5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult.cs @@ -0,0 +1,531 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegisterScaleTransactionResult <p>Result object for the retrieve scale transaction process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult : IEquatable, IValidatableObject + { + /// + /// <p>The status result (in detail).</p> + /// + /// <p>The status result (in detail).</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum StatusResultEnum + { + + /// + /// Enum Success for value: Success + /// + [EnumMember(Value = "Success")] + Success = 1, + + /// + /// Enum Offline for value: Offline + /// + [EnumMember(Value = "Offline")] + Offline = 2, + + /// + /// Enum NotFound for value: NotFound + /// + [EnumMember(Value = "NotFound")] + NotFound = 3, + + /// + /// Enum Cancelled for value: Cancelled + /// + [EnumMember(Value = "Cancelled")] + Cancelled = 4, + + /// + /// Enum Voided for value: Voided + /// + [EnumMember(Value = "Voided")] + Voided = 5, + + /// + /// Enum Redeemed for value: Redeemed + /// + [EnumMember(Value = "Redeemed")] + Redeemed = 6 + } + + /// + /// <p>The status result (in detail).</p> + /// + /// <p>The status result (in detail).</p> + [DataMember(Name="statusResult", EmitDefaultValue=false)] + public StatusResultEnum? StatusResult { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> (required). + /// <p>The status result (in detail).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), bool? statusOkay = default(bool?), StatusResultEnum? statusResult = default(StatusResultEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "statusOkay" is required (not null) + if (statusOkay == null) + { + throw new InvalidDataException("statusOkay is a required property for ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult and cannot be null"); + } + else + { + this.StatusOkay = statusOkay; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.StatusResult = statusResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + [DataMember(Name="statusOkay", EmitDefaultValue=false)] + public bool? StatusOkay { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" StatusOkay: ").Append(StatusOkay).Append("\n"); + sb.Append(" StatusResult: ").Append(StatusResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.StatusOkay == input.StatusOkay || + (this.StatusOkay != null && + this.StatusOkay.Equals(input.StatusOkay)) + ) && + ( + this.StatusResult == input.StatusResult || + (this.StatusResult != null && + this.StatusResult.Equals(input.StatusResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.StatusOkay != null) + hashCode = hashCode * 59 + this.StatusOkay.GetHashCode(); + if (this.StatusResult != null) + hashCode = hashCode * 59 + this.StatusResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7df469a1715ffaa878db2fcfc3b65366c3370bdd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest.cs @@ -0,0 +1,573 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegistrationExternalRequest <p>Domain object for Registration External Request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest : IEquatable, IValidatableObject + { + /// + /// <p>The seller relation method.</p> + /// + /// <p>The seller relation method.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum SellerRelationMethodEnum + { + + /// + /// Enum CurrentLineItemOnly for value: CurrentLineItemOnly + /// + [EnumMember(Value = "CurrentLineItemOnly")] + CurrentLineItemOnly = 1, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentTransaction for value: CurrentAndFollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentTransaction")] + CurrentAndFollowingLineItemsOfCurrentTransaction = 2, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions for value: CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions")] + CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions = 3, + + /// + /// Enum AllLineItemsOfCurrentTransaction for value: AllLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "AllLineItemsOfCurrentTransaction")] + AllLineItemsOfCurrentTransaction = 4, + + /// + /// Enum FollowingLineItemsOfCurrentTransaction for value: FollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentTransaction")] + FollowingLineItemsOfCurrentTransaction = 5, + + /// + /// Enum FollowingLineItemsOfCurrentAndFollowingTransactions for value: FollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentAndFollowingTransactions")] + FollowingLineItemsOfCurrentAndFollowingTransactions = 6 + } + + /// + /// <p>The seller relation method.</p> + /// + /// <p>The seller relation method.</p> + [DataMember(Name="sellerRelationMethod", EmitDefaultValue=false)] + public SellerRelationMethodEnum? SellerRelationMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>Manual line item creation with external data.</p>. + /// <p>The seller id.</p>. + /// <p>The seller relation method.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), ComGkSoftwarePosApiServiceTransactionExternalLineItemData externalLineItemData = default(ComGkSoftwarePosApiServiceTransactionExternalLineItemData), string salesPersonNumber = default(string), SellerRelationMethodEnum? sellerRelationMethod = default(SellerRelationMethodEnum?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.ExternalLineItemData = externalLineItemData; + this.SalesPersonNumber = salesPersonNumber; + this.SellerRelationMethod = sellerRelationMethod; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Manual line item creation with external data.</p> + /// + /// <p>Manual line item creation with external data.</p> + [DataMember(Name="externalLineItemData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionExternalLineItemData ExternalLineItemData { get; set; } + + /// + /// <p>The seller id.</p> + /// + /// <p>The seller id.</p> + [DataMember(Name="salesPersonNumber", EmitDefaultValue=false)] + public string SalesPersonNumber { get; set; } + + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" ExternalLineItemData: ").Append(ExternalLineItemData).Append("\n"); + sb.Append(" SalesPersonNumber: ").Append(SalesPersonNumber).Append("\n"); + sb.Append(" SellerRelationMethod: ").Append(SellerRelationMethod).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.ExternalLineItemData == input.ExternalLineItemData || + (this.ExternalLineItemData != null && + this.ExternalLineItemData.Equals(input.ExternalLineItemData)) + ) && + ( + this.SalesPersonNumber == input.SalesPersonNumber || + (this.SalesPersonNumber != null && + this.SalesPersonNumber.Equals(input.SalesPersonNumber)) + ) && + ( + this.SellerRelationMethod == input.SellerRelationMethod || + (this.SellerRelationMethod != null && + this.SellerRelationMethod.Equals(input.SellerRelationMethod)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.ExternalLineItemData != null) + hashCode = hashCode * 59 + this.ExternalLineItemData.GetHashCode(); + if (this.SalesPersonNumber != null) + hashCode = hashCode * 59 + this.SalesPersonNumber.GetHashCode(); + if (this.SellerRelationMethod != null) + hashCode = hashCode * 59 + this.SellerRelationMethod.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..871889be15a30dd51b2b619899e7509d65abffa8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest.cs @@ -0,0 +1,494 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegistrationInternalRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>All the data needed to create a new internal Line Item.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), ComGkSoftwarePosApiServiceTransactionInternalLineItemData internalLineItemData = default(ComGkSoftwarePosApiServiceTransactionInternalLineItemData), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.InternalLineItemData = internalLineItemData; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>All the data needed to create a new internal Line Item.</p> + /// + /// <p>All the data needed to create a new internal Line Item.</p> + [DataMember(Name="internalLineItemData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionInternalLineItemData InternalLineItemData { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" InternalLineItemData: ").Append(InternalLineItemData).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.InternalLineItemData == input.InternalLineItemData || + (this.InternalLineItemData != null && + this.InternalLineItemData.Equals(input.InternalLineItemData)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.InternalLineItemData != null) + hashCode = hashCode * 59 + this.InternalLineItemData.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3856a03432d9dd2f4695f9c401fa7aa792f940f5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationRequest.cs @@ -0,0 +1,1685 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegistrationRequest <p>Domain object for Registration Request.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegistrationRequest : IEquatable, IValidatableObject + { + /// + /// <p>price variant to use.</p> + /// + /// <p>price variant to use.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceVariantEnum + { + + /// + /// Enum Normal for value: Normal + /// + [EnumMember(Value = "Normal")] + Normal = 1, + + /// + /// Enum Special for value: Special + /// + [EnumMember(Value = "Special")] + Special = 2, + + /// + /// Enum Actual for value: Actual + /// + [EnumMember(Value = "Actual")] + Actual = 3, + + /// + /// Enum Group for value: Group + /// + [EnumMember(Value = "Group")] + Group = 4 + } + + /// + /// <p>price variant to use.</p> + /// + /// <p>price variant to use.</p> + [DataMember(Name="priceVariant", EmitDefaultValue=false)] + public PriceVariantEnum? PriceVariant { get; set; } + /// + /// <p>The current active scale mode.</p> + /// + /// <p>The current active scale mode.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ScaleModeEnum + { + + /// + /// Enum SelfService for value: SelfService + /// + [EnumMember(Value = "SelfService")] + SelfService = 1, + + /// + /// Enum Prepackaging for value: Prepackaging + /// + [EnumMember(Value = "Prepackaging")] + Prepackaging = 2, + + /// + /// Enum Service for value: Service + /// + [EnumMember(Value = "Service")] + Service = 3 + } + + /// + /// <p>The current active scale mode.</p> + /// + /// <p>The current active scale mode.</p> + [DataMember(Name="scaleMode", EmitDefaultValue=false)] + public ScaleModeEnum? ScaleMode { get; set; } + /// + /// <p>The current active scale selling mode.</p> + /// + /// <p>The current active scale selling mode.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ScaleSellingModeEnum + { + + /// + /// Enum Standard for value: Standard + /// + [EnumMember(Value = "Standard")] + Standard = 1, + + /// + /// Enum Fast for value: Fast + /// + [EnumMember(Value = "Fast")] + Fast = 2 + } + + /// + /// <p>The current active scale selling mode.</p> + /// + /// <p>The current active scale selling mode.</p> + [DataMember(Name="scaleSellingMode", EmitDefaultValue=false)] + public ScaleSellingModeEnum? ScaleSellingMode { get; set; } + /// + /// <p>The parameter defines the provider for the item data.</p> + /// + /// <p>The parameter defines the provider for the item data.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ItemProviderEnum + { + + /// + /// Enum Local for value: Local + /// + [EnumMember(Value = "Local")] + Local = 1, + + /// + /// Enum Remote for value: Remote + /// + [EnumMember(Value = "Remote")] + Remote = 2 + } + + /// + /// <p>The parameter defines the provider for the item data.</p> + /// + /// <p>The parameter defines the provider for the item data.</p> + [DataMember(Name="itemProvider", EmitDefaultValue=false)] + public ItemProviderEnum? ItemProvider { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegistrationRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p>. + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p>. + /// <p>Wic mode flag.</p> (required). + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> (required). + /// <p>The order mode.</p> (required). + /// <p>Indicates whether the layaway mode is active.</p> (required). + /// <p>Indicates whether the take away sale mode is active.</p> (required). + /// <p>Indicates if variant check should be performed.</p> (required). + /// <p>Indicates if validation process should check sales restrictions.</p> (required). + /// <p>indicates if variant check should be performed.</p> (required). + /// <p>Indicates the request is for a linked empties deposit item.</p> (required). + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> (required). + /// <p>Indicates whether promo icons should be retrieved.</p> (required). + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p>. + /// <p>price variant to use.</p>. + /// <p>The overriding price.</p>. + /// <p>the overriding quantity.</p>. + /// <p>The overriding position amount.</p>. + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p>. + /// <p>Indicates whether the price difference limit checks should be done or not.</p> (required). + /// <p>Price type code (for price change).</p>. + /// <p>Set price mode (for price change).</p>. + /// <p>A reason code for this request (e.g. reason for returns).</p>. + /// <p>A reason code group code for this request (e.g. reason for returns).</p>. + /// <p>A reason description for this request (e.g. reason for returns).</p>. + /// <p>A reason parameter used for handling of salable information.</p>. + /// <p>A price change reason code.</p>. + /// <p>A price change reason code group code.</p>. + /// <p>A price change reason description.</p>. + /// <p>Serial number to set.</p>. + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p>. + /// <p>Receipt text to set.</p>. + /// <p>Object for linked item information.</p>. + /// <p>A request to register an external item to transaction.</p>. + /// <p>Double.</p>. + /// <p>The active customer order id.</p>. + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p>. + /// <p>The customer order sequence number.</p>. + /// <p>The sales order type code.</p>. + /// <p>The sales order delivery type code.</p>. + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>ItemEntryConfig - bring config to server side.</p>. + /// <p>Request for Sales Person Number.</p>. + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p>. + /// <p>Scale transaction parameters to add to transaction.</p>. + /// <p>The keyed online state.</p>. + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> (required). + /// <p>The promotion trigger active state.</p>. + /// <p>The qualified line item type.</p>. + /// <p>The list of external retail price modifier to add to transaction.</p>. + /// <p>The list of external retail price modifier to add to transaction.</p>. + /// <p>The print list for additional line item text to print.</p>. + /// <p>The current active scale mode.</p>. + /// <p>The current active scale selling mode.</p>. + /// <p>The course Number to be set on line item.</p>. + /// <p>The parameter defines the provider for the item data.</p>. + /// <p>The parameter consists all information for a combo meal item registration.</p>. + /// appEnablement. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegistrationRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string barcode = default(string), ComGkSoftwarePosApiServiceTransactionItemIdentificator itemIdentificator = default(ComGkSoftwarePosApiServiceTransactionItemIdentificator), bool? wicMode = default(bool?), bool? takeOverSetItems = default(bool?), bool? orderMode = default(bool?), bool? layawayMode = default(bool?), bool? takeAwaySaleMode = default(bool?), bool? checkForVariants = default(bool?), bool? salesRestrictionsCheckNeeded = default(bool?), bool? returnReasonRequired = default(bool?), bool? linkedEmptiesItem = default(bool?), bool? closeLineItem = default(bool?), bool? getPromoIcons = default(bool?), int? emptiesReturnQuantity = default(int?), PriceVariantEnum? priceVariant = default(PriceVariantEnum?), double? overridingPrice = default(double?), ComGkSoftwarePosApiServiceTransactionQuantityInput overridingQuantity = default(ComGkSoftwarePosApiServiceTransactionQuantityInput), double? overridingPositionAmount = default(double?), ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult weightResult = default(ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult), bool? doPriceDifferenceLimitCheck = default(bool?), string priceTypeCode = default(string), string setPriceMode = default(string), string reasonCode = default(string), string reasonCodeGroupCode = default(string), string reasonDescription = default(string), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO reasonParameter = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO), string priceChangeReasonCode = default(string), string priceChangeReasonCodeGroupCode = default(string), string priceChangeReasonDescription = default(string), string serialNumber = default(string), string itemTraceableUnitID = default(string), string receiptText = default(string), ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest linkedItemRegistrationRequest = default(ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest), ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest externalItemRegistrationRequest = default(ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest), double? factor = default(double?), string activeCustomerOrderId = default(string), int? customerSequenceNumber = default(int?), int? customerOrderSequenceNumber = default(int?), string salesOrderTypeCode = default(string), string salesOrderDeliveryTypeCode = default(string), string requestedDeliveryDate = default(string), ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig itemEntryConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig), ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest salesPersonNumberRequest = default(ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string entryMethodCode = default(string), ComGkSoftwarePosApiServiceTransactionScaleTransactionParams scaleTransactionParams = default(ComGkSoftwarePosApiServiceTransactionScaleTransactionParams), bool? keyedOnline = default(bool?), List postValidationSalesRestrictionIds = default(List), bool? promotionTriggerActive = default(bool?), string lineItemItemType = default(string), List retailPriceModifierList = default(List), List lineItemExtensionList = default(List), List printAdditionalLineItemTextLineList = default(List), ScaleModeEnum? scaleMode = default(ScaleModeEnum?), ScaleSellingModeEnum? scaleSellingMode = default(ScaleSellingModeEnum?), string courseNumber = default(string), ItemProviderEnum? itemProvider = default(ItemProviderEnum?), ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest comboMealRegistrationRequest = default(ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest), bool? appEnablement = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "wicMode" is required (not null) + if (wicMode == null) + { + throw new InvalidDataException("wicMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.WicMode = wicMode; + } + // to ensure "takeOverSetItems" is required (not null) + if (takeOverSetItems == null) + { + throw new InvalidDataException("takeOverSetItems is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.TakeOverSetItems = takeOverSetItems; + } + // to ensure "orderMode" is required (not null) + if (orderMode == null) + { + throw new InvalidDataException("orderMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.OrderMode = orderMode; + } + // to ensure "layawayMode" is required (not null) + if (layawayMode == null) + { + throw new InvalidDataException("layawayMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.LayawayMode = layawayMode; + } + // to ensure "takeAwaySaleMode" is required (not null) + if (takeAwaySaleMode == null) + { + throw new InvalidDataException("takeAwaySaleMode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.TakeAwaySaleMode = takeAwaySaleMode; + } + // to ensure "checkForVariants" is required (not null) + if (checkForVariants == null) + { + throw new InvalidDataException("checkForVariants is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.CheckForVariants = checkForVariants; + } + // to ensure "salesRestrictionsCheckNeeded" is required (not null) + if (salesRestrictionsCheckNeeded == null) + { + throw new InvalidDataException("salesRestrictionsCheckNeeded is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.SalesRestrictionsCheckNeeded = salesRestrictionsCheckNeeded; + } + // to ensure "returnReasonRequired" is required (not null) + if (returnReasonRequired == null) + { + throw new InvalidDataException("returnReasonRequired is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.ReturnReasonRequired = returnReasonRequired; + } + // to ensure "linkedEmptiesItem" is required (not null) + if (linkedEmptiesItem == null) + { + throw new InvalidDataException("linkedEmptiesItem is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.LinkedEmptiesItem = linkedEmptiesItem; + } + // to ensure "closeLineItem" is required (not null) + if (closeLineItem == null) + { + throw new InvalidDataException("closeLineItem is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.CloseLineItem = closeLineItem; + } + // to ensure "getPromoIcons" is required (not null) + if (getPromoIcons == null) + { + throw new InvalidDataException("getPromoIcons is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.GetPromoIcons = getPromoIcons; + } + // to ensure "doPriceDifferenceLimitCheck" is required (not null) + if (doPriceDifferenceLimitCheck == null) + { + throw new InvalidDataException("doPriceDifferenceLimitCheck is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.DoPriceDifferenceLimitCheck = doPriceDifferenceLimitCheck; + } + // to ensure "postValidationSalesRestrictionIds" is required (not null) + if (postValidationSalesRestrictionIds == null) + { + throw new InvalidDataException("postValidationSalesRestrictionIds is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationRequest and cannot be null"); + } + else + { + this.PostValidationSalesRestrictionIds = postValidationSalesRestrictionIds; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.Barcode = barcode; + this.ItemIdentificator = itemIdentificator; + this.EmptiesReturnQuantity = emptiesReturnQuantity; + this.PriceVariant = priceVariant; + this.OverridingPrice = overridingPrice; + this.OverridingQuantity = overridingQuantity; + this.OverridingPositionAmount = overridingPositionAmount; + this.WeightResult = weightResult; + this.PriceTypeCode = priceTypeCode; + this.SetPriceMode = setPriceMode; + this.ReasonCode = reasonCode; + this.ReasonCodeGroupCode = reasonCodeGroupCode; + this.ReasonDescription = reasonDescription; + this.ReasonParameter = reasonParameter; + this.PriceChangeReasonCode = priceChangeReasonCode; + this.PriceChangeReasonCodeGroupCode = priceChangeReasonCodeGroupCode; + this.PriceChangeReasonDescription = priceChangeReasonDescription; + this.SerialNumber = serialNumber; + this.ItemTraceableUnitID = itemTraceableUnitID; + this.ReceiptText = receiptText; + this.LinkedItemRegistrationRequest = linkedItemRegistrationRequest; + this.ExternalItemRegistrationRequest = externalItemRegistrationRequest; + this.Factor = factor; + this.ActiveCustomerOrderId = activeCustomerOrderId; + this.CustomerSequenceNumber = customerSequenceNumber; + this.CustomerOrderSequenceNumber = customerOrderSequenceNumber; + this.SalesOrderTypeCode = salesOrderTypeCode; + this.SalesOrderDeliveryTypeCode = salesOrderDeliveryTypeCode; + this.RequestedDeliveryDate = requestedDeliveryDate; + this.ItemEntryConfig = itemEntryConfig; + this.SalesPersonNumberRequest = salesPersonNumberRequest; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.EntryMethodCode = entryMethodCode; + this.ScaleTransactionParams = scaleTransactionParams; + this.KeyedOnline = keyedOnline; + this.PromotionTriggerActive = promotionTriggerActive; + this.LineItemItemType = lineItemItemType; + this.RetailPriceModifierList = retailPriceModifierList; + this.LineItemExtensionList = lineItemExtensionList; + this.PrintAdditionalLineItemTextLineList = printAdditionalLineItemTextLineList; + this.ScaleMode = scaleMode; + this.ScaleSellingMode = scaleSellingMode; + this.CourseNumber = courseNumber; + this.ItemProvider = itemProvider; + this.ComboMealRegistrationRequest = comboMealRegistrationRequest; + this.AppEnablement = appEnablement; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + [DataMember(Name="barcode", EmitDefaultValue=false)] + public string Barcode { get; set; } + + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + [DataMember(Name="itemIdentificator", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionItemIdentificator ItemIdentificator { get; set; } + + /// + /// <p>Wic mode flag.</p> + /// + /// <p>Wic mode flag.</p> + [DataMember(Name="wicMode", EmitDefaultValue=false)] + public bool? WicMode { get; set; } + + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + [DataMember(Name="takeOverSetItems", EmitDefaultValue=false)] + public bool? TakeOverSetItems { get; set; } + + /// + /// <p>The order mode.</p> + /// + /// <p>The order mode.</p> + [DataMember(Name="orderMode", EmitDefaultValue=false)] + public bool? OrderMode { get; set; } + + /// + /// <p>Indicates whether the layaway mode is active.</p> + /// + /// <p>Indicates whether the layaway mode is active.</p> + [DataMember(Name="layawayMode", EmitDefaultValue=false)] + public bool? LayawayMode { get; set; } + + /// + /// <p>Indicates whether the take away sale mode is active.</p> + /// + /// <p>Indicates whether the take away sale mode is active.</p> + [DataMember(Name="takeAwaySaleMode", EmitDefaultValue=false)] + public bool? TakeAwaySaleMode { get; set; } + + /// + /// <p>Indicates if variant check should be performed.</p> + /// + /// <p>Indicates if variant check should be performed.</p> + [DataMember(Name="checkForVariants", EmitDefaultValue=false)] + public bool? CheckForVariants { get; set; } + + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + [DataMember(Name="salesRestrictionsCheckNeeded", EmitDefaultValue=false)] + public bool? SalesRestrictionsCheckNeeded { get; set; } + + /// + /// <p>indicates if variant check should be performed.</p> + /// + /// <p>indicates if variant check should be performed.</p> + [DataMember(Name="returnReasonRequired", EmitDefaultValue=false)] + public bool? ReturnReasonRequired { get; set; } + + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + [DataMember(Name="linkedEmptiesItem", EmitDefaultValue=false)] + public bool? LinkedEmptiesItem { get; set; } + + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + [DataMember(Name="closeLineItem", EmitDefaultValue=false)] + public bool? CloseLineItem { get; set; } + + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + [DataMember(Name="getPromoIcons", EmitDefaultValue=false)] + public bool? GetPromoIcons { get; set; } + + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + [DataMember(Name="emptiesReturnQuantity", EmitDefaultValue=false)] + public int? EmptiesReturnQuantity { get; set; } + + + /// + /// <p>The overriding price.</p> + /// + /// <p>The overriding price.</p> + [DataMember(Name="overridingPrice", EmitDefaultValue=false)] + public double? OverridingPrice { get; set; } + + /// + /// <p>the overriding quantity.</p> + /// + /// <p>the overriding quantity.</p> + [DataMember(Name="overridingQuantity", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionQuantityInput OverridingQuantity { get; set; } + + /// + /// <p>The overriding position amount.</p> + /// + /// <p>The overriding position amount.</p> + [DataMember(Name="overridingPositionAmount", EmitDefaultValue=false)] + public double? OverridingPositionAmount { get; set; } + + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + [DataMember(Name="weightResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult WeightResult { get; set; } + + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + [DataMember(Name="doPriceDifferenceLimitCheck", EmitDefaultValue=false)] + public bool? DoPriceDifferenceLimitCheck { get; set; } + + /// + /// <p>Price type code (for price change).</p> + /// + /// <p>Price type code (for price change).</p> + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// <p>Set price mode (for price change).</p> + /// + /// <p>Set price mode (for price change).</p> + [DataMember(Name="setPriceMode", EmitDefaultValue=false)] + public string SetPriceMode { get; set; } + + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>A reason parameter used for handling of salable information.</p> + /// + /// <p>A reason parameter used for handling of salable information.</p> + [DataMember(Name="reasonParameter", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO ReasonParameter { get; set; } + + /// + /// <p>A price change reason code.</p> + /// + /// <p>A price change reason code.</p> + [DataMember(Name="priceChangeReasonCode", EmitDefaultValue=false)] + public string PriceChangeReasonCode { get; set; } + + /// + /// <p>A price change reason code group code.</p> + /// + /// <p>A price change reason code group code.</p> + [DataMember(Name="priceChangeReasonCodeGroupCode", EmitDefaultValue=false)] + public string PriceChangeReasonCodeGroupCode { get; set; } + + /// + /// <p>A price change reason description.</p> + /// + /// <p>A price change reason description.</p> + [DataMember(Name="priceChangeReasonDescription", EmitDefaultValue=false)] + public string PriceChangeReasonDescription { get; set; } + + /// + /// <p>Serial number to set.</p> + /// + /// <p>Serial number to set.</p> + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + [DataMember(Name="itemTraceableUnitID", EmitDefaultValue=false)] + public string ItemTraceableUnitID { get; set; } + + /// + /// <p>Receipt text to set.</p> + /// + /// <p>Receipt text to set.</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>Object for linked item information.</p> + /// + /// <p>Object for linked item information.</p> + [DataMember(Name="linkedItemRegistrationRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest LinkedItemRegistrationRequest { get; set; } + + /// + /// <p>A request to register an external item to transaction.</p> + /// + /// <p>A request to register an external item to transaction.</p> + [DataMember(Name="externalItemRegistrationRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest ExternalItemRegistrationRequest { get; set; } + + /// + /// <p>Double.</p> + /// + /// <p>Double.</p> + [DataMember(Name="factor", EmitDefaultValue=false)] + public double? Factor { get; set; } + + /// + /// <p>The active customer order id.</p> + /// + /// <p>The active customer order id.</p> + [DataMember(Name="activeCustomerOrderId", EmitDefaultValue=false)] + public string ActiveCustomerOrderId { get; set; } + + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + [DataMember(Name="customerSequenceNumber", EmitDefaultValue=false)] + public int? CustomerSequenceNumber { get; set; } + + /// + /// <p>The customer order sequence number.</p> + /// + /// <p>The customer order sequence number.</p> + [DataMember(Name="customerOrderSequenceNumber", EmitDefaultValue=false)] + public int? CustomerOrderSequenceNumber { get; set; } + + /// + /// <p>The sales order type code.</p> + /// + /// <p>The sales order type code.</p> + [DataMember(Name="salesOrderTypeCode", EmitDefaultValue=false)] + public string SalesOrderTypeCode { get; set; } + + /// + /// <p>The sales order delivery type code.</p> + /// + /// <p>The sales order delivery type code.</p> + [DataMember(Name="salesOrderDeliveryTypeCode", EmitDefaultValue=false)] + public string SalesOrderDeliveryTypeCode { get; set; } + + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestedDeliveryDate", EmitDefaultValue=false)] + public string RequestedDeliveryDate { get; set; } + + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + [DataMember(Name="itemEntryConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig ItemEntryConfig { get; set; } + + /// + /// <p>Request for Sales Person Number.</p> + /// + /// <p>Request for Sales Person Number.</p> + [DataMember(Name="salesPersonNumberRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest SalesPersonNumberRequest { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Scale transaction parameters to add to transaction.</p> + /// + /// <p>Scale transaction parameters to add to transaction.</p> + [DataMember(Name="scaleTransactionParams", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionScaleTransactionParams ScaleTransactionParams { get; set; } + + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + [DataMember(Name="postValidationSalesRestrictionIds", EmitDefaultValue=false)] + public List PostValidationSalesRestrictionIds { get; set; } + + /// + /// <p>The promotion trigger active state.</p> + /// + /// <p>The promotion trigger active state.</p> + [DataMember(Name="promotionTriggerActive", EmitDefaultValue=false)] + public bool? PromotionTriggerActive { get; set; } + + /// + /// <p>The qualified line item type.</p> + /// + /// <p>The qualified line item type.</p> + [DataMember(Name="lineItemItemType", EmitDefaultValue=false)] + public string LineItemItemType { get; set; } + + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + [DataMember(Name="retailPriceModifierList", EmitDefaultValue=false)] + public List RetailPriceModifierList { get; set; } + + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + [DataMember(Name="lineItemExtensionList", EmitDefaultValue=false)] + public List LineItemExtensionList { get; set; } + + /// + /// <p>The print list for additional line item text to print.</p> + /// + /// <p>The print list for additional line item text to print.</p> + [DataMember(Name="printAdditionalLineItemTextLineList", EmitDefaultValue=false)] + public List PrintAdditionalLineItemTextLineList { get; set; } + + + + /// + /// <p>The course Number to be set on line item.</p> + /// + /// <p>The course Number to be set on line item.</p> + [DataMember(Name="courseNumber", EmitDefaultValue=false)] + public string CourseNumber { get; set; } + + + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + [DataMember(Name="comboMealRegistrationRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest ComboMealRegistrationRequest { get; set; } + + /// + /// Gets or Sets AppEnablement + /// + [DataMember(Name="appEnablement", EmitDefaultValue=false)] + public bool? AppEnablement { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegistrationRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" Barcode: ").Append(Barcode).Append("\n"); + sb.Append(" ItemIdentificator: ").Append(ItemIdentificator).Append("\n"); + sb.Append(" WicMode: ").Append(WicMode).Append("\n"); + sb.Append(" TakeOverSetItems: ").Append(TakeOverSetItems).Append("\n"); + sb.Append(" OrderMode: ").Append(OrderMode).Append("\n"); + sb.Append(" LayawayMode: ").Append(LayawayMode).Append("\n"); + sb.Append(" TakeAwaySaleMode: ").Append(TakeAwaySaleMode).Append("\n"); + sb.Append(" CheckForVariants: ").Append(CheckForVariants).Append("\n"); + sb.Append(" SalesRestrictionsCheckNeeded: ").Append(SalesRestrictionsCheckNeeded).Append("\n"); + sb.Append(" ReturnReasonRequired: ").Append(ReturnReasonRequired).Append("\n"); + sb.Append(" LinkedEmptiesItem: ").Append(LinkedEmptiesItem).Append("\n"); + sb.Append(" CloseLineItem: ").Append(CloseLineItem).Append("\n"); + sb.Append(" GetPromoIcons: ").Append(GetPromoIcons).Append("\n"); + sb.Append(" EmptiesReturnQuantity: ").Append(EmptiesReturnQuantity).Append("\n"); + sb.Append(" PriceVariant: ").Append(PriceVariant).Append("\n"); + sb.Append(" OverridingPrice: ").Append(OverridingPrice).Append("\n"); + sb.Append(" OverridingQuantity: ").Append(OverridingQuantity).Append("\n"); + sb.Append(" OverridingPositionAmount: ").Append(OverridingPositionAmount).Append("\n"); + sb.Append(" WeightResult: ").Append(WeightResult).Append("\n"); + sb.Append(" DoPriceDifferenceLimitCheck: ").Append(DoPriceDifferenceLimitCheck).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" SetPriceMode: ").Append(SetPriceMode).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" ReasonParameter: ").Append(ReasonParameter).Append("\n"); + sb.Append(" PriceChangeReasonCode: ").Append(PriceChangeReasonCode).Append("\n"); + sb.Append(" PriceChangeReasonCodeGroupCode: ").Append(PriceChangeReasonCodeGroupCode).Append("\n"); + sb.Append(" PriceChangeReasonDescription: ").Append(PriceChangeReasonDescription).Append("\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" ItemTraceableUnitID: ").Append(ItemTraceableUnitID).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" LinkedItemRegistrationRequest: ").Append(LinkedItemRegistrationRequest).Append("\n"); + sb.Append(" ExternalItemRegistrationRequest: ").Append(ExternalItemRegistrationRequest).Append("\n"); + sb.Append(" Factor: ").Append(Factor).Append("\n"); + sb.Append(" ActiveCustomerOrderId: ").Append(ActiveCustomerOrderId).Append("\n"); + sb.Append(" CustomerSequenceNumber: ").Append(CustomerSequenceNumber).Append("\n"); + sb.Append(" CustomerOrderSequenceNumber: ").Append(CustomerOrderSequenceNumber).Append("\n"); + sb.Append(" SalesOrderTypeCode: ").Append(SalesOrderTypeCode).Append("\n"); + sb.Append(" SalesOrderDeliveryTypeCode: ").Append(SalesOrderDeliveryTypeCode).Append("\n"); + sb.Append(" RequestedDeliveryDate: ").Append(RequestedDeliveryDate).Append("\n"); + sb.Append(" ItemEntryConfig: ").Append(ItemEntryConfig).Append("\n"); + sb.Append(" SalesPersonNumberRequest: ").Append(SalesPersonNumberRequest).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" ScaleTransactionParams: ").Append(ScaleTransactionParams).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" PostValidationSalesRestrictionIds: ").Append(PostValidationSalesRestrictionIds).Append("\n"); + sb.Append(" PromotionTriggerActive: ").Append(PromotionTriggerActive).Append("\n"); + sb.Append(" LineItemItemType: ").Append(LineItemItemType).Append("\n"); + sb.Append(" RetailPriceModifierList: ").Append(RetailPriceModifierList).Append("\n"); + sb.Append(" LineItemExtensionList: ").Append(LineItemExtensionList).Append("\n"); + sb.Append(" PrintAdditionalLineItemTextLineList: ").Append(PrintAdditionalLineItemTextLineList).Append("\n"); + sb.Append(" ScaleMode: ").Append(ScaleMode).Append("\n"); + sb.Append(" ScaleSellingMode: ").Append(ScaleSellingMode).Append("\n"); + sb.Append(" CourseNumber: ").Append(CourseNumber).Append("\n"); + sb.Append(" ItemProvider: ").Append(ItemProvider).Append("\n"); + sb.Append(" ComboMealRegistrationRequest: ").Append(ComboMealRegistrationRequest).Append("\n"); + sb.Append(" AppEnablement: ").Append(AppEnablement).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegistrationRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegistrationRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegistrationRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegistrationRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.Barcode == input.Barcode || + (this.Barcode != null && + this.Barcode.Equals(input.Barcode)) + ) && + ( + this.ItemIdentificator == input.ItemIdentificator || + (this.ItemIdentificator != null && + this.ItemIdentificator.Equals(input.ItemIdentificator)) + ) && + ( + this.WicMode == input.WicMode || + (this.WicMode != null && + this.WicMode.Equals(input.WicMode)) + ) && + ( + this.TakeOverSetItems == input.TakeOverSetItems || + (this.TakeOverSetItems != null && + this.TakeOverSetItems.Equals(input.TakeOverSetItems)) + ) && + ( + this.OrderMode == input.OrderMode || + (this.OrderMode != null && + this.OrderMode.Equals(input.OrderMode)) + ) && + ( + this.LayawayMode == input.LayawayMode || + (this.LayawayMode != null && + this.LayawayMode.Equals(input.LayawayMode)) + ) && + ( + this.TakeAwaySaleMode == input.TakeAwaySaleMode || + (this.TakeAwaySaleMode != null && + this.TakeAwaySaleMode.Equals(input.TakeAwaySaleMode)) + ) && + ( + this.CheckForVariants == input.CheckForVariants || + (this.CheckForVariants != null && + this.CheckForVariants.Equals(input.CheckForVariants)) + ) && + ( + this.SalesRestrictionsCheckNeeded == input.SalesRestrictionsCheckNeeded || + (this.SalesRestrictionsCheckNeeded != null && + this.SalesRestrictionsCheckNeeded.Equals(input.SalesRestrictionsCheckNeeded)) + ) && + ( + this.ReturnReasonRequired == input.ReturnReasonRequired || + (this.ReturnReasonRequired != null && + this.ReturnReasonRequired.Equals(input.ReturnReasonRequired)) + ) && + ( + this.LinkedEmptiesItem == input.LinkedEmptiesItem || + (this.LinkedEmptiesItem != null && + this.LinkedEmptiesItem.Equals(input.LinkedEmptiesItem)) + ) && + ( + this.CloseLineItem == input.CloseLineItem || + (this.CloseLineItem != null && + this.CloseLineItem.Equals(input.CloseLineItem)) + ) && + ( + this.GetPromoIcons == input.GetPromoIcons || + (this.GetPromoIcons != null && + this.GetPromoIcons.Equals(input.GetPromoIcons)) + ) && + ( + this.EmptiesReturnQuantity == input.EmptiesReturnQuantity || + (this.EmptiesReturnQuantity != null && + this.EmptiesReturnQuantity.Equals(input.EmptiesReturnQuantity)) + ) && + ( + this.PriceVariant == input.PriceVariant || + (this.PriceVariant != null && + this.PriceVariant.Equals(input.PriceVariant)) + ) && + ( + this.OverridingPrice == input.OverridingPrice || + (this.OverridingPrice != null && + this.OverridingPrice.Equals(input.OverridingPrice)) + ) && + ( + this.OverridingQuantity == input.OverridingQuantity || + (this.OverridingQuantity != null && + this.OverridingQuantity.Equals(input.OverridingQuantity)) + ) && + ( + this.OverridingPositionAmount == input.OverridingPositionAmount || + (this.OverridingPositionAmount != null && + this.OverridingPositionAmount.Equals(input.OverridingPositionAmount)) + ) && + ( + this.WeightResult == input.WeightResult || + (this.WeightResult != null && + this.WeightResult.Equals(input.WeightResult)) + ) && + ( + this.DoPriceDifferenceLimitCheck == input.DoPriceDifferenceLimitCheck || + (this.DoPriceDifferenceLimitCheck != null && + this.DoPriceDifferenceLimitCheck.Equals(input.DoPriceDifferenceLimitCheck)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.SetPriceMode == input.SetPriceMode || + (this.SetPriceMode != null && + this.SetPriceMode.Equals(input.SetPriceMode)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.ReasonParameter == input.ReasonParameter || + (this.ReasonParameter != null && + this.ReasonParameter.Equals(input.ReasonParameter)) + ) && + ( + this.PriceChangeReasonCode == input.PriceChangeReasonCode || + (this.PriceChangeReasonCode != null && + this.PriceChangeReasonCode.Equals(input.PriceChangeReasonCode)) + ) && + ( + this.PriceChangeReasonCodeGroupCode == input.PriceChangeReasonCodeGroupCode || + (this.PriceChangeReasonCodeGroupCode != null && + this.PriceChangeReasonCodeGroupCode.Equals(input.PriceChangeReasonCodeGroupCode)) + ) && + ( + this.PriceChangeReasonDescription == input.PriceChangeReasonDescription || + (this.PriceChangeReasonDescription != null && + this.PriceChangeReasonDescription.Equals(input.PriceChangeReasonDescription)) + ) && + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.ItemTraceableUnitID == input.ItemTraceableUnitID || + (this.ItemTraceableUnitID != null && + this.ItemTraceableUnitID.Equals(input.ItemTraceableUnitID)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.LinkedItemRegistrationRequest == input.LinkedItemRegistrationRequest || + (this.LinkedItemRegistrationRequest != null && + this.LinkedItemRegistrationRequest.Equals(input.LinkedItemRegistrationRequest)) + ) && + ( + this.ExternalItemRegistrationRequest == input.ExternalItemRegistrationRequest || + (this.ExternalItemRegistrationRequest != null && + this.ExternalItemRegistrationRequest.Equals(input.ExternalItemRegistrationRequest)) + ) && + ( + this.Factor == input.Factor || + (this.Factor != null && + this.Factor.Equals(input.Factor)) + ) && + ( + this.ActiveCustomerOrderId == input.ActiveCustomerOrderId || + (this.ActiveCustomerOrderId != null && + this.ActiveCustomerOrderId.Equals(input.ActiveCustomerOrderId)) + ) && + ( + this.CustomerSequenceNumber == input.CustomerSequenceNumber || + (this.CustomerSequenceNumber != null && + this.CustomerSequenceNumber.Equals(input.CustomerSequenceNumber)) + ) && + ( + this.CustomerOrderSequenceNumber == input.CustomerOrderSequenceNumber || + (this.CustomerOrderSequenceNumber != null && + this.CustomerOrderSequenceNumber.Equals(input.CustomerOrderSequenceNumber)) + ) && + ( + this.SalesOrderTypeCode == input.SalesOrderTypeCode || + (this.SalesOrderTypeCode != null && + this.SalesOrderTypeCode.Equals(input.SalesOrderTypeCode)) + ) && + ( + this.SalesOrderDeliveryTypeCode == input.SalesOrderDeliveryTypeCode || + (this.SalesOrderDeliveryTypeCode != null && + this.SalesOrderDeliveryTypeCode.Equals(input.SalesOrderDeliveryTypeCode)) + ) && + ( + this.RequestedDeliveryDate == input.RequestedDeliveryDate || + (this.RequestedDeliveryDate != null && + this.RequestedDeliveryDate.Equals(input.RequestedDeliveryDate)) + ) && + ( + this.ItemEntryConfig == input.ItemEntryConfig || + (this.ItemEntryConfig != null && + this.ItemEntryConfig.Equals(input.ItemEntryConfig)) + ) && + ( + this.SalesPersonNumberRequest == input.SalesPersonNumberRequest || + (this.SalesPersonNumberRequest != null && + this.SalesPersonNumberRequest.Equals(input.SalesPersonNumberRequest)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.ScaleTransactionParams == input.ScaleTransactionParams || + (this.ScaleTransactionParams != null && + this.ScaleTransactionParams.Equals(input.ScaleTransactionParams)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.PostValidationSalesRestrictionIds == input.PostValidationSalesRestrictionIds || + this.PostValidationSalesRestrictionIds != null && + this.PostValidationSalesRestrictionIds.SequenceEqual(input.PostValidationSalesRestrictionIds) + ) && + ( + this.PromotionTriggerActive == input.PromotionTriggerActive || + (this.PromotionTriggerActive != null && + this.PromotionTriggerActive.Equals(input.PromotionTriggerActive)) + ) && + ( + this.LineItemItemType == input.LineItemItemType || + (this.LineItemItemType != null && + this.LineItemItemType.Equals(input.LineItemItemType)) + ) && + ( + this.RetailPriceModifierList == input.RetailPriceModifierList || + this.RetailPriceModifierList != null && + this.RetailPriceModifierList.SequenceEqual(input.RetailPriceModifierList) + ) && + ( + this.LineItemExtensionList == input.LineItemExtensionList || + this.LineItemExtensionList != null && + this.LineItemExtensionList.SequenceEqual(input.LineItemExtensionList) + ) && + ( + this.PrintAdditionalLineItemTextLineList == input.PrintAdditionalLineItemTextLineList || + this.PrintAdditionalLineItemTextLineList != null && + this.PrintAdditionalLineItemTextLineList.SequenceEqual(input.PrintAdditionalLineItemTextLineList) + ) && + ( + this.ScaleMode == input.ScaleMode || + (this.ScaleMode != null && + this.ScaleMode.Equals(input.ScaleMode)) + ) && + ( + this.ScaleSellingMode == input.ScaleSellingMode || + (this.ScaleSellingMode != null && + this.ScaleSellingMode.Equals(input.ScaleSellingMode)) + ) && + ( + this.CourseNumber == input.CourseNumber || + (this.CourseNumber != null && + this.CourseNumber.Equals(input.CourseNumber)) + ) && + ( + this.ItemProvider == input.ItemProvider || + (this.ItemProvider != null && + this.ItemProvider.Equals(input.ItemProvider)) + ) && + ( + this.ComboMealRegistrationRequest == input.ComboMealRegistrationRequest || + (this.ComboMealRegistrationRequest != null && + this.ComboMealRegistrationRequest.Equals(input.ComboMealRegistrationRequest)) + ) && + ( + this.AppEnablement == input.AppEnablement || + (this.AppEnablement != null && + this.AppEnablement.Equals(input.AppEnablement)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.Barcode != null) + hashCode = hashCode * 59 + this.Barcode.GetHashCode(); + if (this.ItemIdentificator != null) + hashCode = hashCode * 59 + this.ItemIdentificator.GetHashCode(); + if (this.WicMode != null) + hashCode = hashCode * 59 + this.WicMode.GetHashCode(); + if (this.TakeOverSetItems != null) + hashCode = hashCode * 59 + this.TakeOverSetItems.GetHashCode(); + if (this.OrderMode != null) + hashCode = hashCode * 59 + this.OrderMode.GetHashCode(); + if (this.LayawayMode != null) + hashCode = hashCode * 59 + this.LayawayMode.GetHashCode(); + if (this.TakeAwaySaleMode != null) + hashCode = hashCode * 59 + this.TakeAwaySaleMode.GetHashCode(); + if (this.CheckForVariants != null) + hashCode = hashCode * 59 + this.CheckForVariants.GetHashCode(); + if (this.SalesRestrictionsCheckNeeded != null) + hashCode = hashCode * 59 + this.SalesRestrictionsCheckNeeded.GetHashCode(); + if (this.ReturnReasonRequired != null) + hashCode = hashCode * 59 + this.ReturnReasonRequired.GetHashCode(); + if (this.LinkedEmptiesItem != null) + hashCode = hashCode * 59 + this.LinkedEmptiesItem.GetHashCode(); + if (this.CloseLineItem != null) + hashCode = hashCode * 59 + this.CloseLineItem.GetHashCode(); + if (this.GetPromoIcons != null) + hashCode = hashCode * 59 + this.GetPromoIcons.GetHashCode(); + if (this.EmptiesReturnQuantity != null) + hashCode = hashCode * 59 + this.EmptiesReturnQuantity.GetHashCode(); + if (this.PriceVariant != null) + hashCode = hashCode * 59 + this.PriceVariant.GetHashCode(); + if (this.OverridingPrice != null) + hashCode = hashCode * 59 + this.OverridingPrice.GetHashCode(); + if (this.OverridingQuantity != null) + hashCode = hashCode * 59 + this.OverridingQuantity.GetHashCode(); + if (this.OverridingPositionAmount != null) + hashCode = hashCode * 59 + this.OverridingPositionAmount.GetHashCode(); + if (this.WeightResult != null) + hashCode = hashCode * 59 + this.WeightResult.GetHashCode(); + if (this.DoPriceDifferenceLimitCheck != null) + hashCode = hashCode * 59 + this.DoPriceDifferenceLimitCheck.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.SetPriceMode != null) + hashCode = hashCode * 59 + this.SetPriceMode.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.ReasonParameter != null) + hashCode = hashCode * 59 + this.ReasonParameter.GetHashCode(); + if (this.PriceChangeReasonCode != null) + hashCode = hashCode * 59 + this.PriceChangeReasonCode.GetHashCode(); + if (this.PriceChangeReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.PriceChangeReasonCodeGroupCode.GetHashCode(); + if (this.PriceChangeReasonDescription != null) + hashCode = hashCode * 59 + this.PriceChangeReasonDescription.GetHashCode(); + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.ItemTraceableUnitID != null) + hashCode = hashCode * 59 + this.ItemTraceableUnitID.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.LinkedItemRegistrationRequest != null) + hashCode = hashCode * 59 + this.LinkedItemRegistrationRequest.GetHashCode(); + if (this.ExternalItemRegistrationRequest != null) + hashCode = hashCode * 59 + this.ExternalItemRegistrationRequest.GetHashCode(); + if (this.Factor != null) + hashCode = hashCode * 59 + this.Factor.GetHashCode(); + if (this.ActiveCustomerOrderId != null) + hashCode = hashCode * 59 + this.ActiveCustomerOrderId.GetHashCode(); + if (this.CustomerSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerSequenceNumber.GetHashCode(); + if (this.CustomerOrderSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerOrderSequenceNumber.GetHashCode(); + if (this.SalesOrderTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderTypeCode.GetHashCode(); + if (this.SalesOrderDeliveryTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderDeliveryTypeCode.GetHashCode(); + if (this.RequestedDeliveryDate != null) + hashCode = hashCode * 59 + this.RequestedDeliveryDate.GetHashCode(); + if (this.ItemEntryConfig != null) + hashCode = hashCode * 59 + this.ItemEntryConfig.GetHashCode(); + if (this.SalesPersonNumberRequest != null) + hashCode = hashCode * 59 + this.SalesPersonNumberRequest.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.ScaleTransactionParams != null) + hashCode = hashCode * 59 + this.ScaleTransactionParams.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.PostValidationSalesRestrictionIds != null) + hashCode = hashCode * 59 + this.PostValidationSalesRestrictionIds.GetHashCode(); + if (this.PromotionTriggerActive != null) + hashCode = hashCode * 59 + this.PromotionTriggerActive.GetHashCode(); + if (this.LineItemItemType != null) + hashCode = hashCode * 59 + this.LineItemItemType.GetHashCode(); + if (this.RetailPriceModifierList != null) + hashCode = hashCode * 59 + this.RetailPriceModifierList.GetHashCode(); + if (this.LineItemExtensionList != null) + hashCode = hashCode * 59 + this.LineItemExtensionList.GetHashCode(); + if (this.PrintAdditionalLineItemTextLineList != null) + hashCode = hashCode * 59 + this.PrintAdditionalLineItemTextLineList.GetHashCode(); + if (this.ScaleMode != null) + hashCode = hashCode * 59 + this.ScaleMode.GetHashCode(); + if (this.ScaleSellingMode != null) + hashCode = hashCode * 59 + this.ScaleSellingMode.GetHashCode(); + if (this.CourseNumber != null) + hashCode = hashCode * 59 + this.CourseNumber.GetHashCode(); + if (this.ItemProvider != null) + hashCode = hashCode * 59 + this.ItemProvider.GetHashCode(); + if (this.ComboMealRegistrationRequest != null) + hashCode = hashCode * 59 + this.ComboMealRegistrationRequest.GetHashCode(); + if (this.AppEnablement != null) + hashCode = hashCode * 59 + this.AppEnablement.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..3cbf45606c722f8e1c3ec8927654ed385bc38abc --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationResult.cs @@ -0,0 +1,1259 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegistrationResult <p>The entity RegistrationResult</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegistrationResult : IEquatable, IValidatableObject + { + /// + /// <p>The promotion trigger signal type</p> + /// + /// <p>The promotion trigger signal type</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum PromotionTriggerSignalTypeEnum + { + + /// + /// Enum OK for value: OK + /// + [EnumMember(Value = "OK")] + OK = 1, + + /// + /// Enum FORBIDDEN for value: FORBIDDEN + /// + [EnumMember(Value = "FORBIDDEN")] + FORBIDDEN = 2, + + /// + /// Enum AUTHORIZATION for value: AUTHORIZATION + /// + [EnumMember(Value = "AUTHORIZATION")] + AUTHORIZATION = 3, + + /// + /// Enum WARNING for value: WARNING + /// + [EnumMember(Value = "WARNING")] + WARNING = 4, + + /// + /// Enum HIGHERPRICEFORBIDDEN for value: HIGHER_PRICE_FORBIDDEN + /// + [EnumMember(Value = "HIGHER_PRICE_FORBIDDEN")] + HIGHERPRICEFORBIDDEN = 5, + + /// + /// Enum LOWERPRICEFORBIDDEN for value: LOWER_PRICE_FORBIDDEN + /// + [EnumMember(Value = "LOWER_PRICE_FORBIDDEN")] + LOWERPRICEFORBIDDEN = 6, + + /// + /// Enum ZEROPRICEFORBIDDEN for value: ZERO_PRICE_FORBIDDEN + /// + [EnumMember(Value = "ZERO_PRICE_FORBIDDEN")] + ZEROPRICEFORBIDDEN = 7, + + /// + /// Enum PRICECHANGEFORBIDDEN for value: PRICE_CHANGE_FORBIDDEN + /// + [EnumMember(Value = "PRICE_CHANGE_FORBIDDEN")] + PRICECHANGEFORBIDDEN = 8, + + /// + /// Enum LINEITEMNOTREBATABLE for value: LINE_ITEM_NOT_REBATABLE + /// + [EnumMember(Value = "LINE_ITEM_NOT_REBATABLE")] + LINEITEMNOTREBATABLE = 9, + + /// + /// Enum PROMOTIONTRIGGERNOTAPPLIED for value: PROMOTION_TRIGGER_NOT_APPLIED + /// + [EnumMember(Value = "PROMOTION_TRIGGER_NOT_APPLIED")] + PROMOTIONTRIGGERNOTAPPLIED = 10 + } + + /// + /// <p>The promotion trigger signal type</p> + /// + /// <p>The promotion trigger signal type</p> + [DataMember(Name="promotionTriggerSignalType", EmitDefaultValue=false)] + public PromotionTriggerSignalTypeEnum PromotionTriggerSignalType { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegistrationResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>indicates if the registration could be proceeded without error or callback</p> (required). + /// <p>the unique id of this item</p>. + /// posItemId. + /// <p>the item id (may be different than mainPOSItemId)</p>. + /// <p>the item name</p>. + /// <p>the item description</p>. + /// <p>a tare value for this item</p>. + /// <p>The manually entered price</p> (required). + /// <p>The manually entered quantity</p> (required). + /// <p>The price input signal</p> (required). + /// <p>The quantity input signal</p> (required). + /// <p>The promotion trigger signal</p> (required). + /// <p>The promotion trigger signal type</p> (required). + /// <p>list of sales restrictions</p>. + /// <p>The sales restriction list</p>. + /// <p>not used atm</p> (required). + /// <p>not used atm</p> (required). + /// <p>reason objects for selection</p>. + /// <p>ask for return reason</p> (required). + /// <p>ask for serial number</p> (required). + /// <p>indicates if there exist variants and one must be selected</p> (required). + /// <p>The empties return object</p> (required). + /// <p>The accumulate existing quantity</p> (required). + /// <p>if price could be calculated it is stored in here</p> (required). + /// <p>quantity input method of this item</p>. + /// itemClassCode. + /// <p>quantity registered before item registration</p>. + /// <p>key of the item about to be registered</p>. + /// <p>String - he barcode originally used to register the item</p>. + /// <p>The limit exceed result</p>. + /// <p>A list of discount item icon info</p>. + /// <p>The limit exceed action for price difference checks</p>. + /// <p>The has invalid quantity flag</p> (required). + /// <p>The quantity for which the unit price is applied to.</p>. + /// <p>The register combo meal flag</p> (required). + /// <p>The position amount from the item barcode.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegistrationResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), bool? statusOk = default(bool?), string mainPOSItemId = default(string), string posItemId = default(string), string itemId = default(string), string itemName = default(string), string itemDescription = default(string), double? itemTare = default(double?), bool? forcePriceInput = default(bool?), bool? forceQuantityInput = default(bool?), bool? priceInputSignal = default(bool?), bool? quantityInputSignal = default(bool?), bool? promotionTriggerSignal = default(bool?), PromotionTriggerSignalTypeEnum promotionTriggerSignalType = default(PromotionTriggerSignalTypeEnum), List salesRestrictions = default(List), List salesRestrictionList = default(List), bool? prepaidItem = default(bool?), bool? hasLinkedItems = default(bool?), ComGkSoftwarePosApiServiceMasterdataReasonResult reasonResult = default(ComGkSoftwarePosApiServiceMasterdataReasonResult), bool? forceReturnReasonInput = default(bool?), bool? forceSerialNumberInput = default(bool?), bool? variantItemsAvailable = default(bool?), bool? emptiesReturn = default(bool?), bool? accumulateExistingQuantity = default(bool?), double? price = default(double?), string quantityInputMethod = default(string), string itemClassCode = default(string), int? preregisteredQuantity = default(int?), ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey itemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey), string usedBarcode = default(string), ComGkSoftwarePosApiServiceTransactionLimitExceedResult limitExceedResult = default(ComGkSoftwarePosApiServiceTransactionLimitExceedResult), List discountIconList = default(List), ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType prepaidType = default(ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType), bool? hasInvalidQuantity = default(bool?), int? packagePriceQuantity = default(int?), bool? comboMealItem = default(bool?), double? originalPositionAmount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "statusOk" is required (not null) + if (statusOk == null) + { + throw new InvalidDataException("statusOk is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.StatusOk = statusOk; + } + // to ensure "forcePriceInput" is required (not null) + if (forcePriceInput == null) + { + throw new InvalidDataException("forcePriceInput is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.ForcePriceInput = forcePriceInput; + } + // to ensure "forceQuantityInput" is required (not null) + if (forceQuantityInput == null) + { + throw new InvalidDataException("forceQuantityInput is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.ForceQuantityInput = forceQuantityInput; + } + // to ensure "priceInputSignal" is required (not null) + if (priceInputSignal == null) + { + throw new InvalidDataException("priceInputSignal is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.PriceInputSignal = priceInputSignal; + } + // to ensure "quantityInputSignal" is required (not null) + if (quantityInputSignal == null) + { + throw new InvalidDataException("quantityInputSignal is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.QuantityInputSignal = quantityInputSignal; + } + // to ensure "promotionTriggerSignal" is required (not null) + if (promotionTriggerSignal == null) + { + throw new InvalidDataException("promotionTriggerSignal is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.PromotionTriggerSignal = promotionTriggerSignal; + } + // to ensure "promotionTriggerSignalType" is required (not null) + if (promotionTriggerSignalType == null) + { + throw new InvalidDataException("promotionTriggerSignalType is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.PromotionTriggerSignalType = promotionTriggerSignalType; + } + // to ensure "prepaidItem" is required (not null) + if (prepaidItem == null) + { + throw new InvalidDataException("prepaidItem is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.PrepaidItem = prepaidItem; + } + // to ensure "hasLinkedItems" is required (not null) + if (hasLinkedItems == null) + { + throw new InvalidDataException("hasLinkedItems is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.HasLinkedItems = hasLinkedItems; + } + // to ensure "forceReturnReasonInput" is required (not null) + if (forceReturnReasonInput == null) + { + throw new InvalidDataException("forceReturnReasonInput is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.ForceReturnReasonInput = forceReturnReasonInput; + } + // to ensure "forceSerialNumberInput" is required (not null) + if (forceSerialNumberInput == null) + { + throw new InvalidDataException("forceSerialNumberInput is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.ForceSerialNumberInput = forceSerialNumberInput; + } + // to ensure "variantItemsAvailable" is required (not null) + if (variantItemsAvailable == null) + { + throw new InvalidDataException("variantItemsAvailable is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.VariantItemsAvailable = variantItemsAvailable; + } + // to ensure "emptiesReturn" is required (not null) + if (emptiesReturn == null) + { + throw new InvalidDataException("emptiesReturn is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.EmptiesReturn = emptiesReturn; + } + // to ensure "accumulateExistingQuantity" is required (not null) + if (accumulateExistingQuantity == null) + { + throw new InvalidDataException("accumulateExistingQuantity is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.AccumulateExistingQuantity = accumulateExistingQuantity; + } + // to ensure "price" is required (not null) + if (price == null) + { + throw new InvalidDataException("price is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.Price = price; + } + // to ensure "hasInvalidQuantity" is required (not null) + if (hasInvalidQuantity == null) + { + throw new InvalidDataException("hasInvalidQuantity is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.HasInvalidQuantity = hasInvalidQuantity; + } + // to ensure "comboMealItem" is required (not null) + if (comboMealItem == null) + { + throw new InvalidDataException("comboMealItem is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationResult and cannot be null"); + } + else + { + this.ComboMealItem = comboMealItem; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.MainPOSItemId = mainPOSItemId; + this.PosItemId = posItemId; + this.ItemId = itemId; + this.ItemName = itemName; + this.ItemDescription = itemDescription; + this.ItemTare = itemTare; + this.SalesRestrictions = salesRestrictions; + this.SalesRestrictionList = salesRestrictionList; + this.ReasonResult = reasonResult; + this.QuantityInputMethod = quantityInputMethod; + this.ItemClassCode = itemClassCode; + this.PreregisteredQuantity = preregisteredQuantity; + this.ItemKey = itemKey; + this.UsedBarcode = usedBarcode; + this.LimitExceedResult = limitExceedResult; + this.DiscountIconList = discountIconList; + this.PrepaidType = prepaidType; + this.PackagePriceQuantity = packagePriceQuantity; + this.OriginalPositionAmount = originalPositionAmount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>indicates if the registration could be proceeded without error or callback</p> + /// + /// <p>indicates if the registration could be proceeded without error or callback</p> + [DataMember(Name="statusOk", EmitDefaultValue=false)] + public bool? StatusOk { get; set; } + + /// + /// <p>the unique id of this item</p> + /// + /// <p>the unique id of this item</p> + [DataMember(Name="mainPOSItemId", EmitDefaultValue=false)] + public string MainPOSItemId { get; set; } + + /// + /// Gets or Sets PosItemId + /// + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>the item id (may be different than mainPOSItemId)</p> + /// + /// <p>the item id (may be different than mainPOSItemId)</p> + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// <p>the item name</p> + /// + /// <p>the item name</p> + [DataMember(Name="itemName", EmitDefaultValue=false)] + public string ItemName { get; set; } + + /// + /// <p>the item description</p> + /// + /// <p>the item description</p> + [DataMember(Name="itemDescription", EmitDefaultValue=false)] + public string ItemDescription { get; set; } + + /// + /// <p>a tare value for this item</p> + /// + /// <p>a tare value for this item</p> + [DataMember(Name="itemTare", EmitDefaultValue=false)] + public double? ItemTare { get; set; } + + /// + /// <p>The manually entered price</p> + /// + /// <p>The manually entered price</p> + [DataMember(Name="forcePriceInput", EmitDefaultValue=false)] + public bool? ForcePriceInput { get; set; } + + /// + /// <p>The manually entered quantity</p> + /// + /// <p>The manually entered quantity</p> + [DataMember(Name="forceQuantityInput", EmitDefaultValue=false)] + public bool? ForceQuantityInput { get; set; } + + /// + /// <p>The price input signal</p> + /// + /// <p>The price input signal</p> + [DataMember(Name="priceInputSignal", EmitDefaultValue=false)] + public bool? PriceInputSignal { get; set; } + + /// + /// <p>The quantity input signal</p> + /// + /// <p>The quantity input signal</p> + [DataMember(Name="quantityInputSignal", EmitDefaultValue=false)] + public bool? QuantityInputSignal { get; set; } + + /// + /// <p>The promotion trigger signal</p> + /// + /// <p>The promotion trigger signal</p> + [DataMember(Name="promotionTriggerSignal", EmitDefaultValue=false)] + public bool? PromotionTriggerSignal { get; set; } + + + /// + /// <p>list of sales restrictions</p> + /// + /// <p>list of sales restrictions</p> + [DataMember(Name="salesRestrictions", EmitDefaultValue=false)] + public List SalesRestrictions { get; set; } + + /// + /// <p>The sales restriction list</p> + /// + /// <p>The sales restriction list</p> + [DataMember(Name="salesRestrictionList", EmitDefaultValue=false)] + public List SalesRestrictionList { get; set; } + + /// + /// <p>not used atm</p> + /// + /// <p>not used atm</p> + [DataMember(Name="prepaidItem", EmitDefaultValue=false)] + public bool? PrepaidItem { get; set; } + + /// + /// <p>not used atm</p> + /// + /// <p>not used atm</p> + [DataMember(Name="hasLinkedItems", EmitDefaultValue=false)] + public bool? HasLinkedItems { get; set; } + + /// + /// <p>reason objects for selection</p> + /// + /// <p>reason objects for selection</p> + [DataMember(Name="reasonResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceMasterdataReasonResult ReasonResult { get; set; } + + /// + /// <p>ask for return reason</p> + /// + /// <p>ask for return reason</p> + [DataMember(Name="forceReturnReasonInput", EmitDefaultValue=false)] + public bool? ForceReturnReasonInput { get; set; } + + /// + /// <p>ask for serial number</p> + /// + /// <p>ask for serial number</p> + [DataMember(Name="forceSerialNumberInput", EmitDefaultValue=false)] + public bool? ForceSerialNumberInput { get; set; } + + /// + /// <p>indicates if there exist variants and one must be selected</p> + /// + /// <p>indicates if there exist variants and one must be selected</p> + [DataMember(Name="variantItemsAvailable", EmitDefaultValue=false)] + public bool? VariantItemsAvailable { get; set; } + + /// + /// <p>The empties return object</p> + /// + /// <p>The empties return object</p> + [DataMember(Name="emptiesReturn", EmitDefaultValue=false)] + public bool? EmptiesReturn { get; set; } + + /// + /// <p>The accumulate existing quantity</p> + /// + /// <p>The accumulate existing quantity</p> + [DataMember(Name="accumulateExistingQuantity", EmitDefaultValue=false)] + public bool? AccumulateExistingQuantity { get; set; } + + /// + /// <p>if price could be calculated it is stored in here</p> + /// + /// <p>if price could be calculated it is stored in here</p> + [DataMember(Name="price", EmitDefaultValue=false)] + public double? Price { get; set; } + + /// + /// <p>quantity input method of this item</p> + /// + /// <p>quantity input method of this item</p> + [DataMember(Name="quantityInputMethod", EmitDefaultValue=false)] + public string QuantityInputMethod { get; set; } + + /// + /// Gets or Sets ItemClassCode + /// + [DataMember(Name="itemClassCode", EmitDefaultValue=false)] + public string ItemClassCode { get; set; } + + /// + /// <p>quantity registered before item registration</p> + /// + /// <p>quantity registered before item registration</p> + [DataMember(Name="preregisteredQuantity", EmitDefaultValue=false)] + public int? PreregisteredQuantity { get; set; } + + /// + /// <p>key of the item about to be registered</p> + /// + /// <p>key of the item about to be registered</p> + [DataMember(Name="itemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey ItemKey { get; set; } + + /// + /// <p>String - he barcode originally used to register the item</p> + /// + /// <p>String - he barcode originally used to register the item</p> + [DataMember(Name="usedBarcode", EmitDefaultValue=false)] + public string UsedBarcode { get; set; } + + /// + /// <p>The limit exceed result</p> + /// + /// <p>The limit exceed result</p> + [DataMember(Name="limitExceedResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionLimitExceedResult LimitExceedResult { get; set; } + + /// + /// <p>A list of discount item icon info</p> + /// + /// <p>A list of discount item icon info</p> + [DataMember(Name="discountIconList", EmitDefaultValue=false)] + public List DiscountIconList { get; set; } + + /// + /// <p>The limit exceed action for price difference checks</p> + /// + /// <p>The limit exceed action for price difference checks</p> + [DataMember(Name="prepaidType", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType PrepaidType { get; set; } + + /// + /// <p>The has invalid quantity flag</p> + /// + /// <p>The has invalid quantity flag</p> + [DataMember(Name="hasInvalidQuantity", EmitDefaultValue=false)] + public bool? HasInvalidQuantity { get; set; } + + /// + /// <p>The quantity for which the unit price is applied to.</p> + /// + /// <p>The quantity for which the unit price is applied to.</p> + [DataMember(Name="packagePriceQuantity", EmitDefaultValue=false)] + public int? PackagePriceQuantity { get; set; } + + /// + /// <p>The register combo meal flag</p> + /// + /// <p>The register combo meal flag</p> + [DataMember(Name="comboMealItem", EmitDefaultValue=false)] + public bool? ComboMealItem { get; set; } + + /// + /// <p>The position amount from the item barcode.</p> + /// + /// <p>The position amount from the item barcode.</p> + [DataMember(Name="originalPositionAmount", EmitDefaultValue=false)] + public double? OriginalPositionAmount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegistrationResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" StatusOk: ").Append(StatusOk).Append("\n"); + sb.Append(" MainPOSItemId: ").Append(MainPOSItemId).Append("\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" ItemName: ").Append(ItemName).Append("\n"); + sb.Append(" ItemDescription: ").Append(ItemDescription).Append("\n"); + sb.Append(" ItemTare: ").Append(ItemTare).Append("\n"); + sb.Append(" ForcePriceInput: ").Append(ForcePriceInput).Append("\n"); + sb.Append(" ForceQuantityInput: ").Append(ForceQuantityInput).Append("\n"); + sb.Append(" PriceInputSignal: ").Append(PriceInputSignal).Append("\n"); + sb.Append(" QuantityInputSignal: ").Append(QuantityInputSignal).Append("\n"); + sb.Append(" PromotionTriggerSignal: ").Append(PromotionTriggerSignal).Append("\n"); + sb.Append(" PromotionTriggerSignalType: ").Append(PromotionTriggerSignalType).Append("\n"); + sb.Append(" SalesRestrictions: ").Append(SalesRestrictions).Append("\n"); + sb.Append(" SalesRestrictionList: ").Append(SalesRestrictionList).Append("\n"); + sb.Append(" PrepaidItem: ").Append(PrepaidItem).Append("\n"); + sb.Append(" HasLinkedItems: ").Append(HasLinkedItems).Append("\n"); + sb.Append(" ReasonResult: ").Append(ReasonResult).Append("\n"); + sb.Append(" ForceReturnReasonInput: ").Append(ForceReturnReasonInput).Append("\n"); + sb.Append(" ForceSerialNumberInput: ").Append(ForceSerialNumberInput).Append("\n"); + sb.Append(" VariantItemsAvailable: ").Append(VariantItemsAvailable).Append("\n"); + sb.Append(" EmptiesReturn: ").Append(EmptiesReturn).Append("\n"); + sb.Append(" AccumulateExistingQuantity: ").Append(AccumulateExistingQuantity).Append("\n"); + sb.Append(" Price: ").Append(Price).Append("\n"); + sb.Append(" QuantityInputMethod: ").Append(QuantityInputMethod).Append("\n"); + sb.Append(" ItemClassCode: ").Append(ItemClassCode).Append("\n"); + sb.Append(" PreregisteredQuantity: ").Append(PreregisteredQuantity).Append("\n"); + sb.Append(" ItemKey: ").Append(ItemKey).Append("\n"); + sb.Append(" UsedBarcode: ").Append(UsedBarcode).Append("\n"); + sb.Append(" LimitExceedResult: ").Append(LimitExceedResult).Append("\n"); + sb.Append(" DiscountIconList: ").Append(DiscountIconList).Append("\n"); + sb.Append(" PrepaidType: ").Append(PrepaidType).Append("\n"); + sb.Append(" HasInvalidQuantity: ").Append(HasInvalidQuantity).Append("\n"); + sb.Append(" PackagePriceQuantity: ").Append(PackagePriceQuantity).Append("\n"); + sb.Append(" ComboMealItem: ").Append(ComboMealItem).Append("\n"); + sb.Append(" OriginalPositionAmount: ").Append(OriginalPositionAmount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegistrationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegistrationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegistrationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegistrationResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.StatusOk == input.StatusOk || + (this.StatusOk != null && + this.StatusOk.Equals(input.StatusOk)) + ) && + ( + this.MainPOSItemId == input.MainPOSItemId || + (this.MainPOSItemId != null && + this.MainPOSItemId.Equals(input.MainPOSItemId)) + ) && + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.ItemName == input.ItemName || + (this.ItemName != null && + this.ItemName.Equals(input.ItemName)) + ) && + ( + this.ItemDescription == input.ItemDescription || + (this.ItemDescription != null && + this.ItemDescription.Equals(input.ItemDescription)) + ) && + ( + this.ItemTare == input.ItemTare || + (this.ItemTare != null && + this.ItemTare.Equals(input.ItemTare)) + ) && + ( + this.ForcePriceInput == input.ForcePriceInput || + (this.ForcePriceInput != null && + this.ForcePriceInput.Equals(input.ForcePriceInput)) + ) && + ( + this.ForceQuantityInput == input.ForceQuantityInput || + (this.ForceQuantityInput != null && + this.ForceQuantityInput.Equals(input.ForceQuantityInput)) + ) && + ( + this.PriceInputSignal == input.PriceInputSignal || + (this.PriceInputSignal != null && + this.PriceInputSignal.Equals(input.PriceInputSignal)) + ) && + ( + this.QuantityInputSignal == input.QuantityInputSignal || + (this.QuantityInputSignal != null && + this.QuantityInputSignal.Equals(input.QuantityInputSignal)) + ) && + ( + this.PromotionTriggerSignal == input.PromotionTriggerSignal || + (this.PromotionTriggerSignal != null && + this.PromotionTriggerSignal.Equals(input.PromotionTriggerSignal)) + ) && + ( + this.PromotionTriggerSignalType == input.PromotionTriggerSignalType || + (this.PromotionTriggerSignalType != null && + this.PromotionTriggerSignalType.Equals(input.PromotionTriggerSignalType)) + ) && + ( + this.SalesRestrictions == input.SalesRestrictions || + this.SalesRestrictions != null && + this.SalesRestrictions.SequenceEqual(input.SalesRestrictions) + ) && + ( + this.SalesRestrictionList == input.SalesRestrictionList || + this.SalesRestrictionList != null && + this.SalesRestrictionList.SequenceEqual(input.SalesRestrictionList) + ) && + ( + this.PrepaidItem == input.PrepaidItem || + (this.PrepaidItem != null && + this.PrepaidItem.Equals(input.PrepaidItem)) + ) && + ( + this.HasLinkedItems == input.HasLinkedItems || + (this.HasLinkedItems != null && + this.HasLinkedItems.Equals(input.HasLinkedItems)) + ) && + ( + this.ReasonResult == input.ReasonResult || + (this.ReasonResult != null && + this.ReasonResult.Equals(input.ReasonResult)) + ) && + ( + this.ForceReturnReasonInput == input.ForceReturnReasonInput || + (this.ForceReturnReasonInput != null && + this.ForceReturnReasonInput.Equals(input.ForceReturnReasonInput)) + ) && + ( + this.ForceSerialNumberInput == input.ForceSerialNumberInput || + (this.ForceSerialNumberInput != null && + this.ForceSerialNumberInput.Equals(input.ForceSerialNumberInput)) + ) && + ( + this.VariantItemsAvailable == input.VariantItemsAvailable || + (this.VariantItemsAvailable != null && + this.VariantItemsAvailable.Equals(input.VariantItemsAvailable)) + ) && + ( + this.EmptiesReturn == input.EmptiesReturn || + (this.EmptiesReturn != null && + this.EmptiesReturn.Equals(input.EmptiesReturn)) + ) && + ( + this.AccumulateExistingQuantity == input.AccumulateExistingQuantity || + (this.AccumulateExistingQuantity != null && + this.AccumulateExistingQuantity.Equals(input.AccumulateExistingQuantity)) + ) && + ( + this.Price == input.Price || + (this.Price != null && + this.Price.Equals(input.Price)) + ) && + ( + this.QuantityInputMethod == input.QuantityInputMethod || + (this.QuantityInputMethod != null && + this.QuantityInputMethod.Equals(input.QuantityInputMethod)) + ) && + ( + this.ItemClassCode == input.ItemClassCode || + (this.ItemClassCode != null && + this.ItemClassCode.Equals(input.ItemClassCode)) + ) && + ( + this.PreregisteredQuantity == input.PreregisteredQuantity || + (this.PreregisteredQuantity != null && + this.PreregisteredQuantity.Equals(input.PreregisteredQuantity)) + ) && + ( + this.ItemKey == input.ItemKey || + (this.ItemKey != null && + this.ItemKey.Equals(input.ItemKey)) + ) && + ( + this.UsedBarcode == input.UsedBarcode || + (this.UsedBarcode != null && + this.UsedBarcode.Equals(input.UsedBarcode)) + ) && + ( + this.LimitExceedResult == input.LimitExceedResult || + (this.LimitExceedResult != null && + this.LimitExceedResult.Equals(input.LimitExceedResult)) + ) && + ( + this.DiscountIconList == input.DiscountIconList || + this.DiscountIconList != null && + this.DiscountIconList.SequenceEqual(input.DiscountIconList) + ) && + ( + this.PrepaidType == input.PrepaidType || + (this.PrepaidType != null && + this.PrepaidType.Equals(input.PrepaidType)) + ) && + ( + this.HasInvalidQuantity == input.HasInvalidQuantity || + (this.HasInvalidQuantity != null && + this.HasInvalidQuantity.Equals(input.HasInvalidQuantity)) + ) && + ( + this.PackagePriceQuantity == input.PackagePriceQuantity || + (this.PackagePriceQuantity != null && + this.PackagePriceQuantity.Equals(input.PackagePriceQuantity)) + ) && + ( + this.ComboMealItem == input.ComboMealItem || + (this.ComboMealItem != null && + this.ComboMealItem.Equals(input.ComboMealItem)) + ) && + ( + this.OriginalPositionAmount == input.OriginalPositionAmount || + (this.OriginalPositionAmount != null && + this.OriginalPositionAmount.Equals(input.OriginalPositionAmount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.StatusOk != null) + hashCode = hashCode * 59 + this.StatusOk.GetHashCode(); + if (this.MainPOSItemId != null) + hashCode = hashCode * 59 + this.MainPOSItemId.GetHashCode(); + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.ItemName != null) + hashCode = hashCode * 59 + this.ItemName.GetHashCode(); + if (this.ItemDescription != null) + hashCode = hashCode * 59 + this.ItemDescription.GetHashCode(); + if (this.ItemTare != null) + hashCode = hashCode * 59 + this.ItemTare.GetHashCode(); + if (this.ForcePriceInput != null) + hashCode = hashCode * 59 + this.ForcePriceInput.GetHashCode(); + if (this.ForceQuantityInput != null) + hashCode = hashCode * 59 + this.ForceQuantityInput.GetHashCode(); + if (this.PriceInputSignal != null) + hashCode = hashCode * 59 + this.PriceInputSignal.GetHashCode(); + if (this.QuantityInputSignal != null) + hashCode = hashCode * 59 + this.QuantityInputSignal.GetHashCode(); + if (this.PromotionTriggerSignal != null) + hashCode = hashCode * 59 + this.PromotionTriggerSignal.GetHashCode(); + if (this.PromotionTriggerSignalType != null) + hashCode = hashCode * 59 + this.PromotionTriggerSignalType.GetHashCode(); + if (this.SalesRestrictions != null) + hashCode = hashCode * 59 + this.SalesRestrictions.GetHashCode(); + if (this.SalesRestrictionList != null) + hashCode = hashCode * 59 + this.SalesRestrictionList.GetHashCode(); + if (this.PrepaidItem != null) + hashCode = hashCode * 59 + this.PrepaidItem.GetHashCode(); + if (this.HasLinkedItems != null) + hashCode = hashCode * 59 + this.HasLinkedItems.GetHashCode(); + if (this.ReasonResult != null) + hashCode = hashCode * 59 + this.ReasonResult.GetHashCode(); + if (this.ForceReturnReasonInput != null) + hashCode = hashCode * 59 + this.ForceReturnReasonInput.GetHashCode(); + if (this.ForceSerialNumberInput != null) + hashCode = hashCode * 59 + this.ForceSerialNumberInput.GetHashCode(); + if (this.VariantItemsAvailable != null) + hashCode = hashCode * 59 + this.VariantItemsAvailable.GetHashCode(); + if (this.EmptiesReturn != null) + hashCode = hashCode * 59 + this.EmptiesReturn.GetHashCode(); + if (this.AccumulateExistingQuantity != null) + hashCode = hashCode * 59 + this.AccumulateExistingQuantity.GetHashCode(); + if (this.Price != null) + hashCode = hashCode * 59 + this.Price.GetHashCode(); + if (this.QuantityInputMethod != null) + hashCode = hashCode * 59 + this.QuantityInputMethod.GetHashCode(); + if (this.ItemClassCode != null) + hashCode = hashCode * 59 + this.ItemClassCode.GetHashCode(); + if (this.PreregisteredQuantity != null) + hashCode = hashCode * 59 + this.PreregisteredQuantity.GetHashCode(); + if (this.ItemKey != null) + hashCode = hashCode * 59 + this.ItemKey.GetHashCode(); + if (this.UsedBarcode != null) + hashCode = hashCode * 59 + this.UsedBarcode.GetHashCode(); + if (this.LimitExceedResult != null) + hashCode = hashCode * 59 + this.LimitExceedResult.GetHashCode(); + if (this.DiscountIconList != null) + hashCode = hashCode * 59 + this.DiscountIconList.GetHashCode(); + if (this.PrepaidType != null) + hashCode = hashCode * 59 + this.PrepaidType.GetHashCode(); + if (this.HasInvalidQuantity != null) + hashCode = hashCode * 59 + this.HasInvalidQuantity.GetHashCode(); + if (this.PackagePriceQuantity != null) + hashCode = hashCode * 59 + this.PackagePriceQuantity.GetHashCode(); + if (this.ComboMealItem != null) + hashCode = hashCode * 59 + this.ComboMealItem.GetHashCode(); + if (this.OriginalPositionAmount != null) + hashCode = hashCode * 59 + this.OriginalPositionAmount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2e1dcae9f64a3f00092c2f55fe599b642dff86a5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest.cs @@ -0,0 +1,587 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RegistrationServiceFeeRequest <p>The entity RegistrationServiceFeeRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest : IEquatable, IValidatableObject + { + /// + /// <p>This parameter defines whether a percentage of the total or an absolute value is set as price for the service item.</p><br /><pre>values: PS, TP<br /></pre><br /><ul><br /> <li>'PS' (= price single - for setting a single price depending on the threshold)</li><br /> <li>'TP' (= total percent - for setting the price as a percentage of the total)</li><br /></ul> + /// + /// <p>This parameter defines whether a percentage of the total or an absolute value is set as price for the service item.</p><br /><pre>values: PS, TP<br /></pre><br /><ul><br /> <li>'PS' (= price single - for setting a single price depending on the threshold)</li><br /> <li>'TP' (= total percent - for setting the price as a percentage of the total)</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PreCommissioningTypeCodeEnum + { + + /// + /// Enum PS for value: PS + /// + [EnumMember(Value = "PS")] + PS = 1, + + /// + /// Enum TP for value: TP + /// + [EnumMember(Value = "TP")] + TP = 2 + } + + /// + /// <p>This parameter defines whether a percentage of the total or an absolute value is set as price for the service item.</p><br /><pre>values: PS, TP<br /></pre><br /><ul><br /> <li>'PS' (= price single - for setting a single price depending on the threshold)</li><br /> <li>'TP' (= total percent - for setting the price as a percentage of the total)</li><br /></ul> + /// + /// <p>This parameter defines whether a percentage of the total or an absolute value is set as price for the service item.</p><br /><pre>values: PS, TP<br /></pre><br /><ul><br /> <li>'PS' (= price single - for setting a single price depending on the threshold)</li><br /> <li>'TP' (= total percent - for setting the price as a percentage of the total)</li><br /></ul> + [DataMember(Name="preCommissioningTypeCode", EmitDefaultValue=false)] + public PreCommissioningTypeCodeEnum PreCommissioningTypeCode { get; set; } + /// + /// <p>This parameter defines the rounding rule in case of PreCommissioningTypeCode = 'TP'.</p><br /><pre>values: NO_ROUNDING, ROUND_HALF_UP, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN<br /></pre><br /><ul><br /> <li>NO_ROUNDING (00)</li><br /> <li>ROUND_HALF_UP (01)</li><br /> <li>ROUND_DOWN (02)</li><br /> <li>ROUND_UP (03)</li><br /> <li>ROUND_HALF_DOWN (04)</li><br /></ul> + /// + /// <p>This parameter defines the rounding rule in case of PreCommissioningTypeCode = 'TP'.</p><br /><pre>values: NO_ROUNDING, ROUND_HALF_UP, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN<br /></pre><br /><ul><br /> <li>NO_ROUNDING (00)</li><br /> <li>ROUND_HALF_UP (01)</li><br /> <li>ROUND_DOWN (02)</li><br /> <li>ROUND_UP (03)</li><br /> <li>ROUND_HALF_DOWN (04)</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PreCommissioningRoundMethodEnum + { + + /// + /// Enum NOROUNDING for value: NO_ROUNDING + /// + [EnumMember(Value = "NO_ROUNDING")] + NOROUNDING = 1, + + /// + /// Enum ROUNDHALFUP for value: ROUND_HALF_UP + /// + [EnumMember(Value = "ROUND_HALF_UP")] + ROUNDHALFUP = 2, + + /// + /// Enum ROUNDDOWN for value: ROUND_DOWN + /// + [EnumMember(Value = "ROUND_DOWN")] + ROUNDDOWN = 3, + + /// + /// Enum ROUNDUP for value: ROUND_UP + /// + [EnumMember(Value = "ROUND_UP")] + ROUNDUP = 4, + + /// + /// Enum ROUNDHALFDOWN for value: ROUND_HALF_DOWN + /// + [EnumMember(Value = "ROUND_HALF_DOWN")] + ROUNDHALFDOWN = 5 + } + + /// + /// <p>This parameter defines the rounding rule in case of PreCommissioningTypeCode = 'TP'.</p><br /><pre>values: NO_ROUNDING, ROUND_HALF_UP, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN<br /></pre><br /><ul><br /> <li>NO_ROUNDING (00)</li><br /> <li>ROUND_HALF_UP (01)</li><br /> <li>ROUND_DOWN (02)</li><br /> <li>ROUND_UP (03)</li><br /> <li>ROUND_HALF_DOWN (04)</li><br /></ul> + /// + /// <p>This parameter defines the rounding rule in case of PreCommissioningTypeCode = 'TP'.</p><br /><pre>values: NO_ROUNDING, ROUND_HALF_UP, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN<br /></pre><br /><ul><br /> <li>NO_ROUNDING (00)</li><br /> <li>ROUND_HALF_UP (01)</li><br /> <li>ROUND_DOWN (02)</li><br /> <li>ROUND_UP (03)</li><br /> <li>ROUND_HALF_DOWN (04)</li><br /></ul> + [DataMember(Name="preCommissioningRoundMethod", EmitDefaultValue=false)] + public PreCommissioningRoundMethodEnum PreCommissioningRoundMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>This config defines a PositionOperationConfig for registering of Service Fee Line Item.</p> (required). + /// <p>This parameter defines a list of thresholds for pre-commissioning.</p> (required). + /// <p>This parameter defines a list of absolute values (PreCommissioningTypeCode = 'PS') or percentage rates (PreCommissioningTypeCode = 'TP').</p> (required). + /// <p>This parameter defines whether a percentage of the total or an absolute value is set as price for the service item.</p><br /><pre>values: PS, TP<br /></pre><br /><ul><br /> <li>'PS' (= price single - for setting a single price depending on the threshold)</li><br /> <li>'TP' (= total percent - for setting the price as a percentage of the total)</li><br /></ul> (required). + /// <p>This parameter defines the rounding rule in case of PreCommissioningTypeCode = 'TP'.</p><br /><pre>values: NO_ROUNDING, ROUND_HALF_UP, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN<br /></pre><br /><ul><br /> <li>NO_ROUNDING (00)</li><br /> <li>ROUND_HALF_UP (01)</li><br /> <li>ROUND_DOWN (02)</li><br /> <li>ROUND_UP (03)</li><br /> <li>ROUND_HALF_DOWN (04)</li><br /></ul> (required). + /// <p>This parameter defines the TaxGroupID for the service item, if needed.</p>. + /// <p>This parameter defines the receipt text.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), List preCommissioningThresholdList = default(List), List preCommissioningValue = default(List), PreCommissioningTypeCodeEnum preCommissioningTypeCode = default(PreCommissioningTypeCodeEnum), PreCommissioningRoundMethodEnum preCommissioningRoundMethod = default(PreCommissioningRoundMethodEnum), string preCommissioningServiceTaxGroupID = default(string), string receiptText = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "operationConfiguration" is required (not null) + if (operationConfiguration == null) + { + throw new InvalidDataException("operationConfiguration is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest and cannot be null"); + } + else + { + this.OperationConfiguration = operationConfiguration; + } + // to ensure "preCommissioningThresholdList" is required (not null) + if (preCommissioningThresholdList == null) + { + throw new InvalidDataException("preCommissioningThresholdList is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest and cannot be null"); + } + else + { + this.PreCommissioningThresholdList = preCommissioningThresholdList; + } + // to ensure "preCommissioningValue" is required (not null) + if (preCommissioningValue == null) + { + throw new InvalidDataException("preCommissioningValue is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest and cannot be null"); + } + else + { + this.PreCommissioningValue = preCommissioningValue; + } + // to ensure "preCommissioningTypeCode" is required (not null) + if (preCommissioningTypeCode == null) + { + throw new InvalidDataException("preCommissioningTypeCode is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest and cannot be null"); + } + else + { + this.PreCommissioningTypeCode = preCommissioningTypeCode; + } + // to ensure "preCommissioningRoundMethod" is required (not null) + if (preCommissioningRoundMethod == null) + { + throw new InvalidDataException("preCommissioningRoundMethod is a required property for ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest and cannot be null"); + } + else + { + this.PreCommissioningRoundMethod = preCommissioningRoundMethod; + } + this.PreCommissioningServiceTaxGroupID = preCommissioningServiceTaxGroupID; + this.ReceiptText = receiptText; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>This config defines a PositionOperationConfig for registering of Service Fee Line Item.</p> + /// + /// <p>This config defines a PositionOperationConfig for registering of Service Fee Line Item.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>This parameter defines a list of thresholds for pre-commissioning.</p> + /// + /// <p>This parameter defines a list of thresholds for pre-commissioning.</p> + [DataMember(Name="preCommissioningThresholdList", EmitDefaultValue=false)] + public List PreCommissioningThresholdList { get; set; } + + /// + /// <p>This parameter defines a list of absolute values (PreCommissioningTypeCode = 'PS') or percentage rates (PreCommissioningTypeCode = 'TP').</p> + /// + /// <p>This parameter defines a list of absolute values (PreCommissioningTypeCode = 'PS') or percentage rates (PreCommissioningTypeCode = 'TP').</p> + [DataMember(Name="preCommissioningValue", EmitDefaultValue=false)] + public List PreCommissioningValue { get; set; } + + + + /// + /// <p>This parameter defines the TaxGroupID for the service item, if needed.</p> + /// + /// <p>This parameter defines the TaxGroupID for the service item, if needed.</p> + [DataMember(Name="preCommissioningServiceTaxGroupID", EmitDefaultValue=false)] + public string PreCommissioningServiceTaxGroupID { get; set; } + + /// + /// <p>This parameter defines the receipt text.</p> + /// + /// <p>This parameter defines the receipt text.</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" PreCommissioningThresholdList: ").Append(PreCommissioningThresholdList).Append("\n"); + sb.Append(" PreCommissioningValue: ").Append(PreCommissioningValue).Append("\n"); + sb.Append(" PreCommissioningTypeCode: ").Append(PreCommissioningTypeCode).Append("\n"); + sb.Append(" PreCommissioningRoundMethod: ").Append(PreCommissioningRoundMethod).Append("\n"); + sb.Append(" PreCommissioningServiceTaxGroupID: ").Append(PreCommissioningServiceTaxGroupID).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.PreCommissioningThresholdList == input.PreCommissioningThresholdList || + this.PreCommissioningThresholdList != null && + this.PreCommissioningThresholdList.SequenceEqual(input.PreCommissioningThresholdList) + ) && + ( + this.PreCommissioningValue == input.PreCommissioningValue || + this.PreCommissioningValue != null && + this.PreCommissioningValue.SequenceEqual(input.PreCommissioningValue) + ) && + ( + this.PreCommissioningTypeCode == input.PreCommissioningTypeCode || + (this.PreCommissioningTypeCode != null && + this.PreCommissioningTypeCode.Equals(input.PreCommissioningTypeCode)) + ) && + ( + this.PreCommissioningRoundMethod == input.PreCommissioningRoundMethod || + (this.PreCommissioningRoundMethod != null && + this.PreCommissioningRoundMethod.Equals(input.PreCommissioningRoundMethod)) + ) && + ( + this.PreCommissioningServiceTaxGroupID == input.PreCommissioningServiceTaxGroupID || + (this.PreCommissioningServiceTaxGroupID != null && + this.PreCommissioningServiceTaxGroupID.Equals(input.PreCommissioningServiceTaxGroupID)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.PreCommissioningThresholdList != null) + hashCode = hashCode * 59 + this.PreCommissioningThresholdList.GetHashCode(); + if (this.PreCommissioningValue != null) + hashCode = hashCode * 59 + this.PreCommissioningValue.GetHashCode(); + if (this.PreCommissioningTypeCode != null) + hashCode = hashCode * 59 + this.PreCommissioningTypeCode.GetHashCode(); + if (this.PreCommissioningRoundMethod != null) + hashCode = hashCode * 59 + this.PreCommissioningRoundMethod.GetHashCode(); + if (this.PreCommissioningServiceTaxGroupID != null) + hashCode = hashCode * 59 + this.PreCommissioningServiceTaxGroupID.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c996f9119007c3d0bba73fb1da09bd21f3fc609d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RemoveLineItemExtensionRequest <p>Domain object for removing batch of line item extensions from one line item.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key from which the extensions will be removed.</p>. + /// <p>The extension key used for the extension line items lookup.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string extensionKey = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LineItemKey = lineItemKey; + this.ExtensionKey = extensionKey; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key from which the extensions will be removed.</p> + /// + /// <p>The line item key from which the extensions will be removed.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The extension key used for the extension line items lookup.</p> + /// + /// <p>The extension key used for the extension line items lookup.</p> + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..747162a58132f187852498ae0ee8abb7050e48e5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RemoveLineItemsExtensionsRequest <p>Domain object for removing batch of line item extensions from one or more line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The list of requests for removing extensions from one or more single line items.</p>. + /// <p>The operation configuration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest(List removeExtensionRequests = default(List), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.RemoveExtensionRequests = removeExtensionRequests; + this.OperationConfiguration = operationConfiguration; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The list of requests for removing extensions from one or more single line items.</p> + /// + /// <p>The list of requests for removing extensions from one or more single line items.</p> + [DataMember(Name="removeExtensionRequests", EmitDefaultValue=false)] + public List RemoveExtensionRequests { get; set; } + + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest {\n"); + sb.Append(" RemoveExtensionRequests: ").Append(RemoveExtensionRequests).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest input) + { + if (input == null) + return false; + + return + ( + this.RemoveExtensionRequests == input.RemoveExtensionRequests || + this.RemoveExtensionRequests != null && + this.RemoveExtensionRequests.SequenceEqual(input.RemoveExtensionRequests) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RemoveExtensionRequests != null) + hashCode = hashCode * 59 + this.RemoveExtensionRequests.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..07ea047d6c8a5a6979b8d626ccb2a5de107b61e1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RemoveSaleReturnLineItemExtensionsRequest <p>Request for removing sale return line item extensions from sale return line items.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Extension keys of sale return line item extensions.</p> (required). + /// <p>Indicates whether transaction should be persisted after modifications.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest(List extensionKeys = default(List), bool? storeTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "extensionKeys" is required (not null) + if (extensionKeys == null) + { + throw new InvalidDataException("extensionKeys is a required property for ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest and cannot be null"); + } + else + { + this.ExtensionKeys = extensionKeys; + } + // to ensure "storeTransaction" is required (not null) + if (storeTransaction == null) + { + throw new InvalidDataException("storeTransaction is a required property for ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest and cannot be null"); + } + else + { + this.StoreTransaction = storeTransaction; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Extension keys of sale return line item extensions.</p> + /// + /// <p>Extension keys of sale return line item extensions.</p> + [DataMember(Name="extensionKeys", EmitDefaultValue=false)] + public List ExtensionKeys { get; set; } + + /// + /// <p>Indicates whether transaction should be persisted after modifications.</p> + /// + /// <p>Indicates whether transaction should be persisted after modifications.</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest {\n"); + sb.Append(" ExtensionKeys: ").Append(ExtensionKeys).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest input) + { + if (input == null) + return false; + + return + ( + this.ExtensionKeys == input.ExtensionKeys || + this.ExtensionKeys != null && + this.ExtensionKeys.SequenceEqual(input.ExtensionKeys) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExtensionKeys != null) + hashCode = hashCode * 59 + this.ExtensionKeys.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d85d4464c73f24f79f6022d2a0e44d080f6945c0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest.cs @@ -0,0 +1,396 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RemoveTransactionAdditionalPrintoutsRequest <p>Request object to remove additional printout contents from a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// transactionId. + /// <p>A list of transaction additional printout keys to be removed from transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest(string transactionId = default(string), List transactionAdditionalPrintoutKeys = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.TransactionAdditionalPrintoutKeys = transactionAdditionalPrintoutKeys; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets TransactionId + /// + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>A list of transaction additional printout keys to be removed from transaction.</p> + /// + /// <p>A list of transaction additional printout keys to be removed from transaction.</p> + [DataMember(Name="transactionAdditionalPrintoutKeys", EmitDefaultValue=false)] + public List TransactionAdditionalPrintoutKeys { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" TransactionAdditionalPrintoutKeys: ").Append(TransactionAdditionalPrintoutKeys).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.TransactionAdditionalPrintoutKeys == input.TransactionAdditionalPrintoutKeys || + this.TransactionAdditionalPrintoutKeys != null && + this.TransactionAdditionalPrintoutKeys.SequenceEqual(input.TransactionAdditionalPrintoutKeys) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.TransactionAdditionalPrintoutKeys != null) + hashCode = hashCode * 59 + this.TransactionAdditionalPrintoutKeys.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca81b090737a63e52a12097f29dcf81c73a832b0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RemoveTransactionExtensionRequest <p>Request object for removing a transaction extension from the transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The transaction extension key to be removed to transaction.</p>. + /// <p>The identifier of the transaction to remove the extension key from.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest(string extensionKey = default(string), string transactionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ExtensionKey = extensionKey; + this.TransactionId = transactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The transaction extension key to be removed to transaction.</p> + /// + /// <p>The transaction extension key to be removed to transaction.</p> + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>The identifier of the transaction to remove the extension key from.</p> + /// + /// <p>The identifier of the transaction to remove the extension key from.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest {\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest input) + { + if (input == null) + return false; + + return + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3fa6c9a9415edd4ddbfa7b727bb6696ae4dae1f1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest.cs @@ -0,0 +1,512 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RepeatLineItemRequest <p>Domain object for RepeatLineItem Request</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The lineItem</p>. + /// <p>The mainlineItem</p>. + /// <p>The positionOperationConfiguration</p>. + /// <p>The positionRepetitionConfig</p>. + /// <p>Indicates whether the line item quantity should be accumulated.</p> (required). + /// <p>The quantity</p>. + /// <p>The line item key.</p>. + /// <p>The keyed on line state.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem lineItem = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem), ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem mainlineItem = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig positionRepetitionConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig), bool? accumulateQuantity = default(bool?), ComGkSoftwarePosApiServiceTransactionQuantityInput quantity = default(ComGkSoftwarePosApiServiceTransactionQuantityInput), ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem lineItemKey = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem), bool? keyedOnline = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "accumulateQuantity" is required (not null) + if (accumulateQuantity == null) + { + throw new InvalidDataException("accumulateQuantity is a required property for ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest and cannot be null"); + } + else + { + this.AccumulateQuantity = accumulateQuantity; + } + this.LineItem = lineItem; + this.MainlineItem = mainlineItem; + this.PositionOperationConfiguration = positionOperationConfiguration; + this.PositionRepetitionConfig = positionRepetitionConfig; + this.Quantity = quantity; + this.LineItemKey = lineItemKey; + this.KeyedOnline = keyedOnline; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The lineItem</p> + /// + /// <p>The lineItem</p> + [DataMember(Name="lineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem LineItem { get; set; } + + /// + /// <p>The mainlineItem</p> + /// + /// <p>The mainlineItem</p> + [DataMember(Name="mainlineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem MainlineItem { get; set; } + + /// + /// <p>The positionOperationConfiguration</p> + /// + /// <p>The positionOperationConfiguration</p> + [DataMember(Name="positionOperationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfiguration { get; set; } + + /// + /// <p>The positionRepetitionConfig</p> + /// + /// <p>The positionRepetitionConfig</p> + [DataMember(Name="positionRepetitionConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig PositionRepetitionConfig { get; set; } + + /// + /// <p>Indicates whether the line item quantity should be accumulated.</p> + /// + /// <p>Indicates whether the line item quantity should be accumulated.</p> + [DataMember(Name="accumulateQuantity", EmitDefaultValue=false)] + public bool? AccumulateQuantity { get; set; } + + /// + /// <p>The quantity</p> + /// + /// <p>The quantity</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionQuantityInput Quantity { get; set; } + + /// + /// <p>The line item key.</p> + /// + /// <p>The line item key.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem LineItemKey { get; set; } + + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest {\n"); + sb.Append(" LineItem: ").Append(LineItem).Append("\n"); + sb.Append(" MainlineItem: ").Append(MainlineItem).Append("\n"); + sb.Append(" PositionOperationConfiguration: ").Append(PositionOperationConfiguration).Append("\n"); + sb.Append(" PositionRepetitionConfig: ").Append(PositionRepetitionConfig).Append("\n"); + sb.Append(" AccumulateQuantity: ").Append(AccumulateQuantity).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.LineItem == input.LineItem || + (this.LineItem != null && + this.LineItem.Equals(input.LineItem)) + ) && + ( + this.MainlineItem == input.MainlineItem || + (this.MainlineItem != null && + this.MainlineItem.Equals(input.MainlineItem)) + ) && + ( + this.PositionOperationConfiguration == input.PositionOperationConfiguration || + (this.PositionOperationConfiguration != null && + this.PositionOperationConfiguration.Equals(input.PositionOperationConfiguration)) + ) && + ( + this.PositionRepetitionConfig == input.PositionRepetitionConfig || + (this.PositionRepetitionConfig != null && + this.PositionRepetitionConfig.Equals(input.PositionRepetitionConfig)) + ) && + ( + this.AccumulateQuantity == input.AccumulateQuantity || + (this.AccumulateQuantity != null && + this.AccumulateQuantity.Equals(input.AccumulateQuantity)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItem != null) + hashCode = hashCode * 59 + this.LineItem.GetHashCode(); + if (this.MainlineItem != null) + hashCode = hashCode * 59 + this.MainlineItem.GetHashCode(); + if (this.PositionOperationConfiguration != null) + hashCode = hashCode * 59 + this.PositionOperationConfiguration.GetHashCode(); + if (this.PositionRepetitionConfig != null) + hashCode = hashCode * 59 + this.PositionRepetitionConfig.GetHashCode(); + if (this.AccumulateQuantity != null) + hashCode = hashCode * 59 + this.AccumulateQuantity.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter.cs new file mode 100644 index 0000000000000000000000000000000000000000..11e60298963141ce755b1335d9682c60e0135af9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter.cs @@ -0,0 +1,159 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemAdditionalParameter <p>The retail transaction line item additional parameter</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The external Parameter ID</p>. + /// <p>The parameter Name</p>. + /// <p>The parameter value.</p>. + public ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter(string externalParameterID = default(string), string parameterName = default(string), string parameterValue = default(string)) + { + this.ExternalParameterID = externalParameterID; + this.ParameterName = parameterName; + this.ParameterValue = parameterValue; + } + + /// + /// <p>The external Parameter ID</p> + /// + /// <p>The external Parameter ID</p> + [DataMember(Name="externalParameterID", EmitDefaultValue=false)] + public string ExternalParameterID { get; set; } + + /// + /// <p>The parameter Name</p> + /// + /// <p>The parameter Name</p> + [DataMember(Name="parameterName", EmitDefaultValue=false)] + public string ParameterName { get; set; } + + /// + /// <p>The parameter value.</p> + /// + /// <p>The parameter value.</p> + [DataMember(Name="ParameterValue", EmitDefaultValue=false)] + public string ParameterValue { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter {\n"); + sb.Append(" ExternalParameterID: ").Append(ExternalParameterID).Append("\n"); + sb.Append(" ParameterName: ").Append(ParameterName).Append("\n"); + sb.Append(" ParameterValue: ").Append(ParameterValue).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter input) + { + if (input == null) + return false; + + return + ( + this.ExternalParameterID == input.ExternalParameterID || + (this.ExternalParameterID != null && + this.ExternalParameterID.Equals(input.ExternalParameterID)) + ) && + ( + this.ParameterName == input.ParameterName || + (this.ParameterName != null && + this.ParameterName.Equals(input.ParameterName)) + ) && + ( + this.ParameterValue == input.ParameterValue || + (this.ParameterValue != null && + this.ParameterValue.Equals(input.ParameterValue)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ExternalParameterID != null) + hashCode = hashCode * 59 + this.ExternalParameterID.GetHashCode(); + if (this.ParameterName != null) + hashCode = hashCode * 59 + this.ParameterName.GetHashCode(); + if (this.ParameterValue != null) + hashCode = hashCode * 59 + this.ParameterValue.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText.cs new file mode 100644 index 0000000000000000000000000000000000000000..90d56a2d63d7fff60a4dfc17165cc8b80bc62715 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText.cs @@ -0,0 +1,562 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetailTransactionLineItemI18NText <p>The retail transaction lineItem I18N text</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The text sequence number</p>. + /// <p>The language ID</p>. + /// <p>The category</p>. + /// <p>The text</p>. + /// <p>The picture flag</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), int? textSequenceNumber = default(int?), string languageID = default(string), string category = default(string), string text = default(string), bool? pictureFlag = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.TextSequenceNumber = textSequenceNumber; + this.LanguageID = languageID; + this.Category = category; + this.Text = text; + this.PictureFlag = pictureFlag; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The text sequence number</p> + /// + /// <p>The text sequence number</p> + [DataMember(Name="textSequenceNumber", EmitDefaultValue=false)] + public int? TextSequenceNumber { get; set; } + + /// + /// <p>The language ID</p> + /// + /// <p>The language ID</p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>The category</p> + /// + /// <p>The category</p> + [DataMember(Name="category", EmitDefaultValue=false)] + public string Category { get; set; } + + /// + /// <p>The text</p> + /// + /// <p>The text</p> + [DataMember(Name="text", EmitDefaultValue=false)] + public string Text { get; set; } + + /// + /// <p>The picture flag</p> + /// + /// <p>The picture flag</p> + [DataMember(Name="pictureFlag", EmitDefaultValue=false)] + public bool? PictureFlag { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" TextSequenceNumber: ").Append(TextSequenceNumber).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" Category: ").Append(Category).Append("\n"); + sb.Append(" Text: ").Append(Text).Append("\n"); + sb.Append(" PictureFlag: ").Append(PictureFlag).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.TextSequenceNumber == input.TextSequenceNumber || + (this.TextSequenceNumber != null && + this.TextSequenceNumber.Equals(input.TextSequenceNumber)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.Category == input.Category || + (this.Category != null && + this.Category.Equals(input.Category)) + ) && + ( + this.Text == input.Text || + (this.Text != null && + this.Text.Equals(input.Text)) + ) && + ( + this.PictureFlag == input.PictureFlag || + (this.PictureFlag != null && + this.PictureFlag.Equals(input.PictureFlag)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.TextSequenceNumber != null) + hashCode = hashCode * 59 + this.TextSequenceNumber.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.Category != null) + hashCode = hashCode * 59 + this.Category.GetHashCode(); + if (this.Text != null) + hashCode = hashCode * 59 + this.Text.GetHashCode(); + if (this.PictureFlag != null) + hashCode = hashCode * 59 + this.PictureFlag.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6ec01c65521a87671dace0f65ddf5c6724cd6bff --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetrieveOpenSSCTransactionRequest <p>Request object to retrieve open transactions with workstation type code for self scanning.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The retail store identifier (as part of the search criteria).</p>. + /// <p>The workstation identifier (as part of the search criteria).</p>. + /// <p>The customer identifier (as part of the search criteria).</p>. + /// <p>The customer card type (as part of the search criteria).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest(string storeId = default(string), string workstationId = default(string), string customerId = default(string), string customerCardType = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.StoreId = storeId; + this.WorkstationId = workstationId; + this.CustomerId = customerId; + this.CustomerCardType = customerCardType; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The retail store identifier (as part of the search criteria).</p> + /// + /// <p>The retail store identifier (as part of the search criteria).</p> + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// <p>The workstation identifier (as part of the search criteria).</p> + /// + /// <p>The workstation identifier (as part of the search criteria).</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The customer identifier (as part of the search criteria).</p> + /// + /// <p>The customer identifier (as part of the search criteria).</p> + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// <p>The customer card type (as part of the search criteria).</p> + /// + /// <p>The customer card type (as part of the search criteria).</p> + [DataMember(Name="customerCardType", EmitDefaultValue=false)] + public string CustomerCardType { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest {\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" CustomerCardType: ").Append(CustomerCardType).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.CustomerCardType == input.CustomerCardType || + (this.CustomerCardType != null && + this.CustomerCardType.Equals(input.CustomerCardType)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.CustomerCardType != null) + hashCode = hashCode * 59 + this.CustomerCardType.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b5745abdb1235f67ca5373ca932db51504b262ef --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest.cs @@ -0,0 +1,516 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetrieveSuspendedRetailTransactionsByIdsRequest <p>Request object for retrieving suspended retail transactions</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of transaction identifiers.</p>. + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p>. + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p>. + /// <p>The alternative tax informations for updating the tax group.</p>. + /// <p>A flag to indicate whether transactions from other stores are allowed.</p>. + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p>. + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p>. + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p>. + /// <p>The parameter defines, if rescan feature is enabled.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest(List transactionIds = default(List), bool? onlySSCTransactions = default(bool?), bool? overtakeCustomerFromOriginalReceipt = default(bool?), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), bool? allowOtherStores = default(bool?), string promotionHandling = default(string), bool? consolidateLineItemsRetrieve = default(bool?), bool? consolidateReturnItems = default(bool?), bool? rescanEnabled = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionIds = transactionIds; + this.OnlySSCTransactions = onlySSCTransactions; + this.OvertakeCustomerFromOriginalReceipt = overtakeCustomerFromOriginalReceipt; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.AllowOtherStores = allowOtherStores; + this.PromotionHandling = promotionHandling; + this.ConsolidateLineItemsRetrieve = consolidateLineItemsRetrieve; + this.ConsolidateReturnItems = consolidateReturnItems; + this.RescanEnabled = rescanEnabled; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + [DataMember(Name="transactionIds", EmitDefaultValue=false)] + public List TransactionIds { get; set; } + + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + [DataMember(Name="onlySSCTransactions", EmitDefaultValue=false)] + public bool? OnlySSCTransactions { get; set; } + + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + [DataMember(Name="overtakeCustomerFromOriginalReceipt", EmitDefaultValue=false)] + public bool? OvertakeCustomerFromOriginalReceipt { get; set; } + + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + [DataMember(Name="allowOtherStores", EmitDefaultValue=false)] + public bool? AllowOtherStores { get; set; } + + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + [DataMember(Name="promotionHandling", EmitDefaultValue=false)] + public string PromotionHandling { get; set; } + + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + [DataMember(Name="consolidateLineItemsRetrieve", EmitDefaultValue=false)] + public bool? ConsolidateLineItemsRetrieve { get; set; } + + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + [DataMember(Name="consolidateReturnItems", EmitDefaultValue=false)] + public bool? ConsolidateReturnItems { get; set; } + + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + [DataMember(Name="rescanEnabled", EmitDefaultValue=false)] + public bool? RescanEnabled { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest {\n"); + sb.Append(" TransactionIds: ").Append(TransactionIds).Append("\n"); + sb.Append(" OnlySSCTransactions: ").Append(OnlySSCTransactions).Append("\n"); + sb.Append(" OvertakeCustomerFromOriginalReceipt: ").Append(OvertakeCustomerFromOriginalReceipt).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" AllowOtherStores: ").Append(AllowOtherStores).Append("\n"); + sb.Append(" PromotionHandling: ").Append(PromotionHandling).Append("\n"); + sb.Append(" ConsolidateLineItemsRetrieve: ").Append(ConsolidateLineItemsRetrieve).Append("\n"); + sb.Append(" ConsolidateReturnItems: ").Append(ConsolidateReturnItems).Append("\n"); + sb.Append(" RescanEnabled: ").Append(RescanEnabled).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionIds == input.TransactionIds || + this.TransactionIds != null && + this.TransactionIds.SequenceEqual(input.TransactionIds) + ) && + ( + this.OnlySSCTransactions == input.OnlySSCTransactions || + (this.OnlySSCTransactions != null && + this.OnlySSCTransactions.Equals(input.OnlySSCTransactions)) + ) && + ( + this.OvertakeCustomerFromOriginalReceipt == input.OvertakeCustomerFromOriginalReceipt || + (this.OvertakeCustomerFromOriginalReceipt != null && + this.OvertakeCustomerFromOriginalReceipt.Equals(input.OvertakeCustomerFromOriginalReceipt)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.AllowOtherStores == input.AllowOtherStores || + (this.AllowOtherStores != null && + this.AllowOtherStores.Equals(input.AllowOtherStores)) + ) && + ( + this.PromotionHandling == input.PromotionHandling || + (this.PromotionHandling != null && + this.PromotionHandling.Equals(input.PromotionHandling)) + ) && + ( + this.ConsolidateLineItemsRetrieve == input.ConsolidateLineItemsRetrieve || + (this.ConsolidateLineItemsRetrieve != null && + this.ConsolidateLineItemsRetrieve.Equals(input.ConsolidateLineItemsRetrieve)) + ) && + ( + this.ConsolidateReturnItems == input.ConsolidateReturnItems || + (this.ConsolidateReturnItems != null && + this.ConsolidateReturnItems.Equals(input.ConsolidateReturnItems)) + ) && + ( + this.RescanEnabled == input.RescanEnabled || + (this.RescanEnabled != null && + this.RescanEnabled.Equals(input.RescanEnabled)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionIds != null) + hashCode = hashCode * 59 + this.TransactionIds.GetHashCode(); + if (this.OnlySSCTransactions != null) + hashCode = hashCode * 59 + this.OnlySSCTransactions.GetHashCode(); + if (this.OvertakeCustomerFromOriginalReceipt != null) + hashCode = hashCode * 59 + this.OvertakeCustomerFromOriginalReceipt.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.AllowOtherStores != null) + hashCode = hashCode * 59 + this.AllowOtherStores.GetHashCode(); + if (this.PromotionHandling != null) + hashCode = hashCode * 59 + this.PromotionHandling.GetHashCode(); + if (this.ConsolidateLineItemsRetrieve != null) + hashCode = hashCode * 59 + this.ConsolidateLineItemsRetrieve.GetHashCode(); + if (this.ConsolidateReturnItems != null) + hashCode = hashCode * 59 + this.ConsolidateReturnItems.GetHashCode(); + if (this.RescanEnabled != null) + hashCode = hashCode * 59 + this.RescanEnabled.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..58abec0c95260c5020a3a418ac603ed55377fc18 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RetrieveTransactionFromSuspendCodeRequest <p>Request object to suspend transaction converted from suspend codes.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Transaction created with information from code.</p>. + /// <p>The alternative tax informations for updating the tax group.</p>. + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p>. + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p>. + /// <p>The parameter defines, if rescan feature is enabled.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest(ComGkSoftwareGkrApiTxpoolDtoTransaction transactionFromConvertedSuspendCodes = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), bool? consolidateLineItemsRetrieve = default(bool?), bool? consolidateReturnItems = default(bool?), bool? rescanEnabled = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionFromConvertedSuspendCodes = transactionFromConvertedSuspendCodes; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.ConsolidateLineItemsRetrieve = consolidateLineItemsRetrieve; + this.ConsolidateReturnItems = consolidateReturnItems; + this.RescanEnabled = rescanEnabled; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Transaction created with information from code.</p> + /// + /// <p>Transaction created with information from code.</p> + [DataMember(Name="transactionFromConvertedSuspendCodes", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction TransactionFromConvertedSuspendCodes { get; set; } + + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + [DataMember(Name="consolidateLineItemsRetrieve", EmitDefaultValue=false)] + public bool? ConsolidateLineItemsRetrieve { get; set; } + + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + [DataMember(Name="consolidateReturnItems", EmitDefaultValue=false)] + public bool? ConsolidateReturnItems { get; set; } + + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + [DataMember(Name="rescanEnabled", EmitDefaultValue=false)] + public bool? RescanEnabled { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest {\n"); + sb.Append(" TransactionFromConvertedSuspendCodes: ").Append(TransactionFromConvertedSuspendCodes).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" ConsolidateLineItemsRetrieve: ").Append(ConsolidateLineItemsRetrieve).Append("\n"); + sb.Append(" ConsolidateReturnItems: ").Append(ConsolidateReturnItems).Append("\n"); + sb.Append(" RescanEnabled: ").Append(RescanEnabled).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionFromConvertedSuspendCodes == input.TransactionFromConvertedSuspendCodes || + (this.TransactionFromConvertedSuspendCodes != null && + this.TransactionFromConvertedSuspendCodes.Equals(input.TransactionFromConvertedSuspendCodes)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.ConsolidateLineItemsRetrieve == input.ConsolidateLineItemsRetrieve || + (this.ConsolidateLineItemsRetrieve != null && + this.ConsolidateLineItemsRetrieve.Equals(input.ConsolidateLineItemsRetrieve)) + ) && + ( + this.ConsolidateReturnItems == input.ConsolidateReturnItems || + (this.ConsolidateReturnItems != null && + this.ConsolidateReturnItems.Equals(input.ConsolidateReturnItems)) + ) && + ( + this.RescanEnabled == input.RescanEnabled || + (this.RescanEnabled != null && + this.RescanEnabled.Equals(input.RescanEnabled)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionFromConvertedSuspendCodes != null) + hashCode = hashCode * 59 + this.TransactionFromConvertedSuspendCodes.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.ConsolidateLineItemsRetrieve != null) + hashCode = hashCode * 59 + this.ConsolidateLineItemsRetrieve.GetHashCode(); + if (this.ConsolidateReturnItems != null) + hashCode = hashCode * 59 + this.ConsolidateReturnItems.GetHashCode(); + if (this.RescanEnabled != null) + hashCode = hashCode * 59 + this.RescanEnabled.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..188e3164288199e2aa4be2746dc1d57939bd8fc8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest.cs @@ -0,0 +1,477 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnLineItemBulkRequest <p>Request object for the the return line item operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The return with transaction configuration.</p>. + /// <p>The identifier for the refund transaction.</p>. + /// <p>The reason group code.</p>. + /// salesPersonNumber. + /// <p>A list of return line items that should be returned.</p>. + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig returnWithTransactionConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig), string refundTransactionID = default(string), string reasonGroupCode = default(string), string salesPersonNumber = default(string), List returnLineItemElementList = default(List), bool? createReturnReceipt = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.ReturnWithTransactionConfig = returnWithTransactionConfig; + this.RefundTransactionID = refundTransactionID; + this.ReasonGroupCode = reasonGroupCode; + this.SalesPersonNumber = salesPersonNumber; + this.ReturnLineItemElementList = returnLineItemElementList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The return with transaction configuration.</p> + /// + /// <p>The return with transaction configuration.</p> + [DataMember(Name="returnWithTransactionConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig ReturnWithTransactionConfig { get; set; } + + /// + /// <p>The identifier for the refund transaction.</p> + /// + /// <p>The identifier for the refund transaction.</p> + [DataMember(Name="refundTransactionID", EmitDefaultValue=false)] + public string RefundTransactionID { get; set; } + + /// + /// <p>The reason group code.</p> + /// + /// <p>The reason group code.</p> + [DataMember(Name="reasonGroupCode", EmitDefaultValue=false)] + public string ReasonGroupCode { get; set; } + + /// + /// Gets or Sets SalesPersonNumber + /// + [DataMember(Name="salesPersonNumber", EmitDefaultValue=false)] + public string SalesPersonNumber { get; set; } + + /// + /// <p>A list of return line items that should be returned.</p> + /// + /// <p>A list of return line items that should be returned.</p> + [DataMember(Name="returnLineItemElementList", EmitDefaultValue=false)] + public List ReturnLineItemElementList { get; set; } + + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest {\n"); + sb.Append(" ReturnWithTransactionConfig: ").Append(ReturnWithTransactionConfig).Append("\n"); + sb.Append(" RefundTransactionID: ").Append(RefundTransactionID).Append("\n"); + sb.Append(" ReasonGroupCode: ").Append(ReasonGroupCode).Append("\n"); + sb.Append(" SalesPersonNumber: ").Append(SalesPersonNumber).Append("\n"); + sb.Append(" ReturnLineItemElementList: ").Append(ReturnLineItemElementList).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest input) + { + if (input == null) + return false; + + return + ( + this.ReturnWithTransactionConfig == input.ReturnWithTransactionConfig || + (this.ReturnWithTransactionConfig != null && + this.ReturnWithTransactionConfig.Equals(input.ReturnWithTransactionConfig)) + ) && + ( + this.RefundTransactionID == input.RefundTransactionID || + (this.RefundTransactionID != null && + this.RefundTransactionID.Equals(input.RefundTransactionID)) + ) && + ( + this.ReasonGroupCode == input.ReasonGroupCode || + (this.ReasonGroupCode != null && + this.ReasonGroupCode.Equals(input.ReasonGroupCode)) + ) && + ( + this.SalesPersonNumber == input.SalesPersonNumber || + (this.SalesPersonNumber != null && + this.SalesPersonNumber.Equals(input.SalesPersonNumber)) + ) && + ( + this.ReturnLineItemElementList == input.ReturnLineItemElementList || + this.ReturnLineItemElementList != null && + this.ReturnLineItemElementList.SequenceEqual(input.ReturnLineItemElementList) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReturnWithTransactionConfig != null) + hashCode = hashCode * 59 + this.ReturnWithTransactionConfig.GetHashCode(); + if (this.RefundTransactionID != null) + hashCode = hashCode * 59 + this.RefundTransactionID.GetHashCode(); + if (this.ReasonGroupCode != null) + hashCode = hashCode * 59 + this.ReasonGroupCode.GetHashCode(); + if (this.SalesPersonNumber != null) + hashCode = hashCode * 59 + this.SalesPersonNumber.GetHashCode(); + if (this.ReturnLineItemElementList != null) + hashCode = hashCode * 59 + this.ReturnLineItemElementList.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemElement.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemElement.cs new file mode 100644 index 0000000000000000000000000000000000000000..3ad0bcbc87e1a5f6cc81d239c035c450bd2cf5b5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemElement.cs @@ -0,0 +1,461 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnLineItemElement <p>List element type for ReturnLineItemBulkRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReturnLineItemElement : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionReturnLineItemElement() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The line item key.</p>. + /// <p>The line item quantity.</p>. + /// <p>The line item units.</p> (required). + /// <p>The reason code.</p>. + /// <p>The entry method code of the return action.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReturnLineItemElement(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), int? quantity = default(int?), double? units = default(double?), string reasonCode = default(string), string entryMethodCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "units" is required (not null) + if (units == null) + { + throw new InvalidDataException("units is a required property for ComGkSoftwarePosApiServiceTransactionReturnLineItemElement and cannot be null"); + } + else + { + this.Units = units; + } + this.LineItemKey = lineItemKey; + this.Quantity = quantity; + this.ReasonCode = reasonCode; + this.EntryMethodCode = entryMethodCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The line item key.</p> + /// + /// <p>The line item key.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The line item quantity.</p> + /// + /// <p>The line item quantity.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The line item units.</p> + /// + /// <p>The line item units.</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>The entry method code of the return action.</p> + /// + /// <p>The entry method code of the return action.</p> + [DataMember(Name="entryMethodCode", EmitDefaultValue=false)] + public string EntryMethodCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReturnLineItemElement {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" EntryMethodCode: ").Append(EntryMethodCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReturnLineItemElement); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReturnLineItemElement instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReturnLineItemElement to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReturnLineItemElement input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.EntryMethodCode == input.EntryMethodCode || + (this.EntryMethodCode != null && + this.EntryMethodCode.Equals(input.EntryMethodCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.EntryMethodCode != null) + hashCode = hashCode * 59 + this.EntryMethodCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..525d98a1550cda5ad34140e4c5733acd354d294f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest.cs @@ -0,0 +1,622 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnLineItemRequest <p>Request object for the the return line item operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operation configuration</p>. + /// <p>Id of the line item to return</p>. + /// <p>The SaleReturnTaxLineItem Key</p>. + /// <p>Line item to be filled</p>. + /// <p>The tax percent</p>. + /// <p>The tax amount</p>. + /// <p>The tax reason</p>. + /// <p>Quantity to return.</p> (required). + /// <p>Units to return.</p> (required). + /// <p>The reason code</p>. + /// <p>The reason group Code</p>. + /// <p>The extension key</p>. + /// <p>The extension value</p>. + /// <p>The customerIdentifier</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig returnWithTransactionConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKeyToReturn = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey taxLineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey), ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem lineItem = default(ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem), double? taxPercent = default(double?), double? taxAmount = default(double?), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO reason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), int? quantity = default(int?), double? units = default(double?), string reasonCode = default(string), string reasonGroupCode = default(string), string extensionKey = default(string), string extensionValue = default(string), string customerIdentifier = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "quantity" is required (not null) + if (quantity == null) + { + throw new InvalidDataException("quantity is a required property for ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest and cannot be null"); + } + else + { + this.Quantity = quantity; + } + // to ensure "units" is required (not null) + if (units == null) + { + throw new InvalidDataException("units is a required property for ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest and cannot be null"); + } + else + { + this.Units = units; + } + this.ReturnWithTransactionConfig = returnWithTransactionConfig; + this.LineItemKeyToReturn = lineItemKeyToReturn; + this.TaxLineItemKey = taxLineItemKey; + this.LineItem = lineItem; + this.TaxPercent = taxPercent; + this.TaxAmount = taxAmount; + this.Reason = reason; + this.ReasonCode = reasonCode; + this.ReasonGroupCode = reasonGroupCode; + this.ExtensionKey = extensionKey; + this.ExtensionValue = extensionValue; + this.CustomerIdentifier = customerIdentifier; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + [DataMember(Name="returnWithTransactionConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig ReturnWithTransactionConfig { get; set; } + + /// + /// <p>Id of the line item to return</p> + /// + /// <p>Id of the line item to return</p> + [DataMember(Name="lineItemKeyToReturn", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKeyToReturn { get; set; } + + /// + /// <p>The SaleReturnTaxLineItem Key</p> + /// + /// <p>The SaleReturnTaxLineItem Key</p> + [DataMember(Name="taxLineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey TaxLineItemKey { get; set; } + + /// + /// <p>Line item to be filled</p> + /// + /// <p>Line item to be filled</p> + [DataMember(Name="lineItem", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem LineItem { get; set; } + + /// + /// <p>The tax percent</p> + /// + /// <p>The tax percent</p> + [DataMember(Name="taxPercent", EmitDefaultValue=false)] + public double? TaxPercent { get; set; } + + /// + /// <p>The tax amount</p> + /// + /// <p>The tax amount</p> + [DataMember(Name="taxAmount", EmitDefaultValue=false)] + public double? TaxAmount { get; set; } + + /// + /// <p>The tax reason</p> + /// + /// <p>The tax reason</p> + [DataMember(Name="reason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO Reason { get; set; } + + /// + /// <p>Quantity to return.</p> + /// + /// <p>Quantity to return.</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>Units to return.</p> + /// + /// <p>Units to return.</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>The reason code</p> + /// + /// <p>The reason code</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>The reason group Code</p> + /// + /// <p>The reason group Code</p> + [DataMember(Name="reasonGroupCode", EmitDefaultValue=false)] + public string ReasonGroupCode { get; set; } + + /// + /// <p>The extension key</p> + /// + /// <p>The extension key</p> + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>The extension value</p> + /// + /// <p>The extension value</p> + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// <p>The customerIdentifier</p> + /// + /// <p>The customerIdentifier</p> + [DataMember(Name="customerIdentifier", EmitDefaultValue=false)] + public string CustomerIdentifier { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest {\n"); + sb.Append(" ReturnWithTransactionConfig: ").Append(ReturnWithTransactionConfig).Append("\n"); + sb.Append(" LineItemKeyToReturn: ").Append(LineItemKeyToReturn).Append("\n"); + sb.Append(" TaxLineItemKey: ").Append(TaxLineItemKey).Append("\n"); + sb.Append(" LineItem: ").Append(LineItem).Append("\n"); + sb.Append(" TaxPercent: ").Append(TaxPercent).Append("\n"); + sb.Append(" TaxAmount: ").Append(TaxAmount).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonGroupCode: ").Append(ReasonGroupCode).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" CustomerIdentifier: ").Append(CustomerIdentifier).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.ReturnWithTransactionConfig == input.ReturnWithTransactionConfig || + (this.ReturnWithTransactionConfig != null && + this.ReturnWithTransactionConfig.Equals(input.ReturnWithTransactionConfig)) + ) && + ( + this.LineItemKeyToReturn == input.LineItemKeyToReturn || + (this.LineItemKeyToReturn != null && + this.LineItemKeyToReturn.Equals(input.LineItemKeyToReturn)) + ) && + ( + this.TaxLineItemKey == input.TaxLineItemKey || + (this.TaxLineItemKey != null && + this.TaxLineItemKey.Equals(input.TaxLineItemKey)) + ) && + ( + this.LineItem == input.LineItem || + (this.LineItem != null && + this.LineItem.Equals(input.LineItem)) + ) && + ( + this.TaxPercent == input.TaxPercent || + (this.TaxPercent != null && + this.TaxPercent.Equals(input.TaxPercent)) + ) && + ( + this.TaxAmount == input.TaxAmount || + (this.TaxAmount != null && + this.TaxAmount.Equals(input.TaxAmount)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonGroupCode == input.ReasonGroupCode || + (this.ReasonGroupCode != null && + this.ReasonGroupCode.Equals(input.ReasonGroupCode)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.CustomerIdentifier == input.CustomerIdentifier || + (this.CustomerIdentifier != null && + this.CustomerIdentifier.Equals(input.CustomerIdentifier)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReturnWithTransactionConfig != null) + hashCode = hashCode * 59 + this.ReturnWithTransactionConfig.GetHashCode(); + if (this.LineItemKeyToReturn != null) + hashCode = hashCode * 59 + this.LineItemKeyToReturn.GetHashCode(); + if (this.TaxLineItemKey != null) + hashCode = hashCode * 59 + this.TaxLineItemKey.GetHashCode(); + if (this.LineItem != null) + hashCode = hashCode * 59 + this.LineItem.GetHashCode(); + if (this.TaxPercent != null) + hashCode = hashCode * 59 + this.TaxPercent.GetHashCode(); + if (this.TaxAmount != null) + hashCode = hashCode * 59 + this.TaxAmount.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonGroupCode != null) + hashCode = hashCode * 59 + this.ReasonGroupCode.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.CustomerIdentifier != null) + hashCode = hashCode * 59 + this.CustomerIdentifier.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..771c6c3b77f8aac048d74b0dde0d6870af93d179 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest.cs @@ -0,0 +1,477 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnTransactionRequest <p>Request object for the the return transaction operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The return with transaction configuration.</p>. + /// <p>The identifier for the transaction to return.</p>. + /// <p>The reason code.</p>. + /// <p>The reason group code.</p>. + /// salesPersonNumber. + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig returnWithTransactionConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig), string transactionToReturn = default(string), string reasonCode = default(string), string reasonGroupCode = default(string), string salesPersonNumber = default(string), bool? createReturnReceipt = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.ReturnWithTransactionConfig = returnWithTransactionConfig; + this.TransactionToReturn = transactionToReturn; + this.ReasonCode = reasonCode; + this.ReasonGroupCode = reasonGroupCode; + this.SalesPersonNumber = salesPersonNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The return with transaction configuration.</p> + /// + /// <p>The return with transaction configuration.</p> + [DataMember(Name="returnWithTransactionConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig ReturnWithTransactionConfig { get; set; } + + /// + /// <p>The identifier for the transaction to return.</p> + /// + /// <p>The identifier for the transaction to return.</p> + [DataMember(Name="transactionToReturn", EmitDefaultValue=false)] + public string TransactionToReturn { get; set; } + + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>The reason group code.</p> + /// + /// <p>The reason group code.</p> + [DataMember(Name="reasonGroupCode", EmitDefaultValue=false)] + public string ReasonGroupCode { get; set; } + + /// + /// Gets or Sets SalesPersonNumber + /// + [DataMember(Name="salesPersonNumber", EmitDefaultValue=false)] + public string SalesPersonNumber { get; set; } + + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest {\n"); + sb.Append(" ReturnWithTransactionConfig: ").Append(ReturnWithTransactionConfig).Append("\n"); + sb.Append(" TransactionToReturn: ").Append(TransactionToReturn).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonGroupCode: ").Append(ReasonGroupCode).Append("\n"); + sb.Append(" SalesPersonNumber: ").Append(SalesPersonNumber).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.ReturnWithTransactionConfig == input.ReturnWithTransactionConfig || + (this.ReturnWithTransactionConfig != null && + this.ReturnWithTransactionConfig.Equals(input.ReturnWithTransactionConfig)) + ) && + ( + this.TransactionToReturn == input.TransactionToReturn || + (this.TransactionToReturn != null && + this.TransactionToReturn.Equals(input.TransactionToReturn)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonGroupCode == input.ReasonGroupCode || + (this.ReasonGroupCode != null && + this.ReasonGroupCode.Equals(input.ReasonGroupCode)) + ) && + ( + this.SalesPersonNumber == input.SalesPersonNumber || + (this.SalesPersonNumber != null && + this.SalesPersonNumber.Equals(input.SalesPersonNumber)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReturnWithTransactionConfig != null) + hashCode = hashCode * 59 + this.ReturnWithTransactionConfig.GetHashCode(); + if (this.TransactionToReturn != null) + hashCode = hashCode * 59 + this.TransactionToReturn.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonGroupCode != null) + hashCode = hashCode * 59 + this.ReasonGroupCode.GetHashCode(); + if (this.SalesPersonNumber != null) + hashCode = hashCode * 59 + this.SalesPersonNumber.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3eeafe04bb14f0bcd4a7af7046f652407d0955a1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest.cs @@ -0,0 +1,603 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnTransactionWithTempSessionRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// operatorId. + /// storeId. + /// workstationId. + /// workstationTypeCode. + /// clientVersion. + /// trainingMode. + /// createReturnReceipt. + /// salesPersonNumber. + /// transactionID. + /// takeOverCustomersFromOriginalSc. + /// returnPrepaidAllowed. + /// reasonCode. + /// reasonGroupCode. + /// conditionSplitConfig. + /// returnLineItemElementList. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest(string operatorId = default(string), string storeId = default(string), string workstationId = default(string), string workstationTypeCode = default(string), string clientVersion = default(string), bool? trainingMode = default(bool?), bool? createReturnReceipt = default(bool?), string salesPersonNumber = default(string), string transactionID = default(string), bool? takeOverCustomersFromOriginalSc = default(bool?), bool? returnPrepaidAllowed = default(bool?), string reasonCode = default(string), string reasonGroupCode = default(string), ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig conditionSplitConfig = default(ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig), List returnLineItemElementList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.OperatorId = operatorId; + this.StoreId = storeId; + this.WorkstationId = workstationId; + this.WorkstationTypeCode = workstationTypeCode; + this.ClientVersion = clientVersion; + this.TrainingMode = trainingMode; + this.CreateReturnReceipt = createReturnReceipt; + this.SalesPersonNumber = salesPersonNumber; + this.TransactionID = transactionID; + this.TakeOverCustomersFromOriginalSc = takeOverCustomersFromOriginalSc; + this.ReturnPrepaidAllowed = returnPrepaidAllowed; + this.ReasonCode = reasonCode; + this.ReasonGroupCode = reasonGroupCode; + this.ConditionSplitConfig = conditionSplitConfig; + this.ReturnLineItemElementList = returnLineItemElementList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets OperatorId + /// + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// Gets or Sets StoreId + /// + [DataMember(Name="storeId", EmitDefaultValue=false)] + public string StoreId { get; set; } + + /// + /// Gets or Sets WorkstationId + /// + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// Gets or Sets WorkstationTypeCode + /// + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// Gets or Sets ClientVersion + /// + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + /// + /// Gets or Sets TrainingMode + /// + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// Gets or Sets CreateReturnReceipt + /// + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// Gets or Sets SalesPersonNumber + /// + [DataMember(Name="salesPersonNumber", EmitDefaultValue=false)] + public string SalesPersonNumber { get; set; } + + /// + /// Gets or Sets TransactionID + /// + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// Gets or Sets TakeOverCustomersFromOriginalSc + /// + [DataMember(Name="takeOverCustomersFromOriginalSc", EmitDefaultValue=false)] + public bool? TakeOverCustomersFromOriginalSc { get; set; } + + /// + /// Gets or Sets ReturnPrepaidAllowed + /// + [DataMember(Name="returnPrepaidAllowed", EmitDefaultValue=false)] + public bool? ReturnPrepaidAllowed { get; set; } + + /// + /// Gets or Sets ReasonCode + /// + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// Gets or Sets ReasonGroupCode + /// + [DataMember(Name="reasonGroupCode", EmitDefaultValue=false)] + public string ReasonGroupCode { get; set; } + + /// + /// Gets or Sets ConditionSplitConfig + /// + [DataMember(Name="conditionSplitConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig ConditionSplitConfig { get; set; } + + /// + /// Gets or Sets ReturnLineItemElementList + /// + [DataMember(Name="returnLineItemElementList", EmitDefaultValue=false)] + public List ReturnLineItemElementList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest {\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" StoreId: ").Append(StoreId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" SalesPersonNumber: ").Append(SalesPersonNumber).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" TakeOverCustomersFromOriginalSc: ").Append(TakeOverCustomersFromOriginalSc).Append("\n"); + sb.Append(" ReturnPrepaidAllowed: ").Append(ReturnPrepaidAllowed).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonGroupCode: ").Append(ReasonGroupCode).Append("\n"); + sb.Append(" ConditionSplitConfig: ").Append(ConditionSplitConfig).Append("\n"); + sb.Append(" ReturnLineItemElementList: ").Append(ReturnLineItemElementList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest input) + { + if (input == null) + return false; + + return + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.StoreId == input.StoreId || + (this.StoreId != null && + this.StoreId.Equals(input.StoreId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.SalesPersonNumber == input.SalesPersonNumber || + (this.SalesPersonNumber != null && + this.SalesPersonNumber.Equals(input.SalesPersonNumber)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.TakeOverCustomersFromOriginalSc == input.TakeOverCustomersFromOriginalSc || + (this.TakeOverCustomersFromOriginalSc != null && + this.TakeOverCustomersFromOriginalSc.Equals(input.TakeOverCustomersFromOriginalSc)) + ) && + ( + this.ReturnPrepaidAllowed == input.ReturnPrepaidAllowed || + (this.ReturnPrepaidAllowed != null && + this.ReturnPrepaidAllowed.Equals(input.ReturnPrepaidAllowed)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonGroupCode == input.ReasonGroupCode || + (this.ReasonGroupCode != null && + this.ReasonGroupCode.Equals(input.ReasonGroupCode)) + ) && + ( + this.ConditionSplitConfig == input.ConditionSplitConfig || + (this.ConditionSplitConfig != null && + this.ConditionSplitConfig.Equals(input.ConditionSplitConfig)) + ) && + ( + this.ReturnLineItemElementList == input.ReturnLineItemElementList || + this.ReturnLineItemElementList != null && + this.ReturnLineItemElementList.SequenceEqual(input.ReturnLineItemElementList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.StoreId != null) + hashCode = hashCode * 59 + this.StoreId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.SalesPersonNumber != null) + hashCode = hashCode * 59 + this.SalesPersonNumber.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.TakeOverCustomersFromOriginalSc != null) + hashCode = hashCode * 59 + this.TakeOverCustomersFromOriginalSc.GetHashCode(); + if (this.ReturnPrepaidAllowed != null) + hashCode = hashCode * 59 + this.ReturnPrepaidAllowed.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonGroupCode != null) + hashCode = hashCode * 59 + this.ReasonGroupCode.GetHashCode(); + if (this.ConditionSplitConfig != null) + hashCode = hashCode * 59 + this.ConditionSplitConfig.GetHashCode(); + if (this.ReturnLineItemElementList != null) + hashCode = hashCode * 59 + this.ReturnLineItemElementList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7394d4b7499410a3b678a89f9f5b7baa3bd1f9bd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReturnableForRestrictionTypeCodesRequest <p>Request object used to determine whether the transaction is returnable, given a set of restriction type codes.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the return transaction to interrogate.</p>. + /// <p>The restriction types codes of the tenders used in the original transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest(string transactionToReturnId = default(string), List restrictionTypeCodes = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionToReturnId = transactionToReturnId; + this.RestrictionTypeCodes = restrictionTypeCodes; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of the return transaction to interrogate.</p> + /// + /// <p>The identifier of the return transaction to interrogate.</p> + [DataMember(Name="transactionToReturnId", EmitDefaultValue=false)] + public string TransactionToReturnId { get; set; } + + /// + /// <p>The restriction types codes of the tenders used in the original transaction.</p> + /// + /// <p>The restriction types codes of the tenders used in the original transaction.</p> + [DataMember(Name="restrictionTypeCodes", EmitDefaultValue=false)] + public List RestrictionTypeCodes { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest {\n"); + sb.Append(" TransactionToReturnId: ").Append(TransactionToReturnId).Append("\n"); + sb.Append(" RestrictionTypeCodes: ").Append(RestrictionTypeCodes).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionToReturnId == input.TransactionToReturnId || + (this.TransactionToReturnId != null && + this.TransactionToReturnId.Equals(input.TransactionToReturnId)) + ) && + ( + this.RestrictionTypeCodes == input.RestrictionTypeCodes || + this.RestrictionTypeCodes != null && + this.RestrictionTypeCodes.SequenceEqual(input.RestrictionTypeCodes) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionToReturnId != null) + hashCode = hashCode * 59 + this.TransactionToReturnId.GetHashCode(); + if (this.RestrictionTypeCodes != null) + hashCode = hashCode * 59 + this.RestrictionTypeCodes.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic.cs new file mode 100644 index 0000000000000000000000000000000000000000..1a7e369f18bd890c98fe16020f47c54462a7c725 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic.cs @@ -0,0 +1,528 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemCharacteristic <p>The sale return line item characteristic</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The characteristic ID</p>. + /// <p>The characteristic value ID</p>. + /// <p>The characteristic value name</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string characteristicID = default(string), string characteristicValueID = default(string), string characteristicValueName = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.CharacteristicID = characteristicID; + this.CharacteristicValueID = characteristicValueID; + this.CharacteristicValueName = characteristicValueName; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The characteristic ID</p> + /// + /// <p>The characteristic ID</p> + [DataMember(Name="characteristicID", EmitDefaultValue=false)] + public string CharacteristicID { get; set; } + + /// + /// <p>The characteristic value ID</p> + /// + /// <p>The characteristic value ID</p> + [DataMember(Name="characteristicValueID", EmitDefaultValue=false)] + public string CharacteristicValueID { get; set; } + + /// + /// <p>The characteristic value name</p> + /// + /// <p>The characteristic value name</p> + [DataMember(Name="characteristicValueName", EmitDefaultValue=false)] + public string CharacteristicValueName { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" CharacteristicID: ").Append(CharacteristicID).Append("\n"); + sb.Append(" CharacteristicValueID: ").Append(CharacteristicValueID).Append("\n"); + sb.Append(" CharacteristicValueName: ").Append(CharacteristicValueName).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.CharacteristicID == input.CharacteristicID || + (this.CharacteristicID != null && + this.CharacteristicID.Equals(input.CharacteristicID)) + ) && + ( + this.CharacteristicValueID == input.CharacteristicValueID || + (this.CharacteristicValueID != null && + this.CharacteristicValueID.Equals(input.CharacteristicValueID)) + ) && + ( + this.CharacteristicValueName == input.CharacteristicValueName || + (this.CharacteristicValueName != null && + this.CharacteristicValueName.Equals(input.CharacteristicValueName)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.CharacteristicID != null) + hashCode = hashCode * 59 + this.CharacteristicID.GetHashCode(); + if (this.CharacteristicValueID != null) + hashCode = hashCode * 59 + this.CharacteristicValueID.GetHashCode(); + if (this.CharacteristicValueName != null) + hashCode = hashCode * 59 + this.CharacteristicValueName.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d0232dd28231badfb3ebe8a35a40e78a6a1c0f91 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest.cs @@ -0,0 +1,873 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemDataRequest <p>Request object for the item registration process.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The itemType.</p>. + /// <p>The subItemType</p>. + /// <p>The actionCode</p>. + /// <p>The units</p>. + /// <p>The quantity</p>. + /// <p>The quantityInputMethod</p>. + /// <p>The itemId</p>. + /// <p>The mainPOSItemId</p>. + /// <p>The posItemId</p>. + /// <p>The registrationNumber</p>. + /// <p>The mainMerchandiseHierarchyGroupId</p>. + /// <p>The mainMerchandiseHierarchyGroupIdQualifier</p>. + /// <p>The merchandiseHierarchyGroupName</p>. + /// <p>The merchandiseHierarchyGroupDescription</p>. + /// <p>The receiptText</p>. + /// <p>The receiptDescription</p>. + /// <p>The regularUnitPrice</p>. + /// <p>The actualUnitPrice</p>. + /// <p>The priceTypeCode</p>. + /// <p>The taxGroupID</p>. + /// <p>The discountFlag</p>. + /// <p>The frequentShopperPointsEligibilityFlag</p>. + /// <p>The discountTypeCode</p>. + /// <p>The invoiceId</p>. + /// <p>The price modifier list.</p>. + /// <p>The promotion.</p>. + /// <p>The alternative tax infos for updating the tax group.</p>. + /// <p>The price change type code</p>. + /// <p>The prohibit return flag</p>. + /// <p>The not considered by loyalty (pricing) engine flag</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest(string itemType = default(string), string subItemType = default(string), string actionCode = default(string), double? units = default(double?), int? quantity = default(int?), string quantityInputMethod = default(string), string itemId = default(string), string mainPOSItemId = default(string), string posItemId = default(string), string registrationNumber = default(string), string mainMerchandiseHierarchyGroupId = default(string), string mainMerchandiseHierarchyGroupIdQualifier = default(string), string merchandiseHierarchyGroupName = default(string), string merchandiseHierarchyGroupDescription = default(string), string receiptText = default(string), string receiptDescription = default(string), double? regularUnitPrice = default(double?), double? actualUnitPrice = default(double?), string priceTypeCode = default(string), string taxGroupID = default(string), bool? discountFlag = default(bool?), bool? frequentShopperPointsEligibilityFlag = default(bool?), string discountTypeCode = default(string), string invoiceId = default(string), List priceModifierList = default(List), ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO promotion = default(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), string priceChangeTypeCode = default(string), bool? prohibitReturnFlag = default(bool?), bool? notConsideredByLoyaltyEngineFlag = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ItemType = itemType; + this.SubItemType = subItemType; + this.ActionCode = actionCode; + this.Units = units; + this.Quantity = quantity; + this.QuantityInputMethod = quantityInputMethod; + this.ItemId = itemId; + this.MainPOSItemId = mainPOSItemId; + this.PosItemId = posItemId; + this.RegistrationNumber = registrationNumber; + this.MainMerchandiseHierarchyGroupId = mainMerchandiseHierarchyGroupId; + this.MainMerchandiseHierarchyGroupIdQualifier = mainMerchandiseHierarchyGroupIdQualifier; + this.MerchandiseHierarchyGroupName = merchandiseHierarchyGroupName; + this.MerchandiseHierarchyGroupDescription = merchandiseHierarchyGroupDescription; + this.ReceiptText = receiptText; + this.ReceiptDescription = receiptDescription; + this.RegularUnitPrice = regularUnitPrice; + this.ActualUnitPrice = actualUnitPrice; + this.PriceTypeCode = priceTypeCode; + this.TaxGroupID = taxGroupID; + this.DiscountFlag = discountFlag; + this.FrequentShopperPointsEligibilityFlag = frequentShopperPointsEligibilityFlag; + this.DiscountTypeCode = discountTypeCode; + this.InvoiceId = invoiceId; + this.PriceModifierList = priceModifierList; + this.Promotion = promotion; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.PriceChangeTypeCode = priceChangeTypeCode; + this.ProhibitReturnFlag = prohibitReturnFlag; + this.NotConsideredByLoyaltyEngineFlag = notConsideredByLoyaltyEngineFlag; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The itemType.</p> + /// + /// <p>The itemType.</p> + [DataMember(Name="itemType", EmitDefaultValue=false)] + public string ItemType { get; set; } + + /// + /// <p>The subItemType</p> + /// + /// <p>The subItemType</p> + [DataMember(Name="subItemType", EmitDefaultValue=false)] + public string SubItemType { get; set; } + + /// + /// <p>The actionCode</p> + /// + /// <p>The actionCode</p> + [DataMember(Name="actionCode", EmitDefaultValue=false)] + public string ActionCode { get; set; } + + /// + /// <p>The units</p> + /// + /// <p>The units</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>The quantity</p> + /// + /// <p>The quantity</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The quantityInputMethod</p> + /// + /// <p>The quantityInputMethod</p> + [DataMember(Name="quantityInputMethod", EmitDefaultValue=false)] + public string QuantityInputMethod { get; set; } + + /// + /// <p>The itemId</p> + /// + /// <p>The itemId</p> + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// <p>The mainPOSItemId</p> + /// + /// <p>The mainPOSItemId</p> + [DataMember(Name="mainPOSItemId", EmitDefaultValue=false)] + public string MainPOSItemId { get; set; } + + /// + /// <p>The posItemId</p> + /// + /// <p>The posItemId</p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>The registrationNumber</p> + /// + /// <p>The registrationNumber</p> + [DataMember(Name="registrationNumber", EmitDefaultValue=false)] + public string RegistrationNumber { get; set; } + + /// + /// <p>The mainMerchandiseHierarchyGroupId</p> + /// + /// <p>The mainMerchandiseHierarchyGroupId</p> + [DataMember(Name="mainMerchandiseHierarchyGroupId", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupId { get; set; } + + /// + /// <p>The mainMerchandiseHierarchyGroupIdQualifier</p> + /// + /// <p>The mainMerchandiseHierarchyGroupIdQualifier</p> + [DataMember(Name="mainMerchandiseHierarchyGroupIdQualifier", EmitDefaultValue=false)] + public string MainMerchandiseHierarchyGroupIdQualifier { get; set; } + + /// + /// <p>The merchandiseHierarchyGroupName</p> + /// + /// <p>The merchandiseHierarchyGroupName</p> + [DataMember(Name="merchandiseHierarchyGroupName", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupName { get; set; } + + /// + /// <p>The merchandiseHierarchyGroupDescription</p> + /// + /// <p>The merchandiseHierarchyGroupDescription</p> + [DataMember(Name="merchandiseHierarchyGroupDescription", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupDescription { get; set; } + + /// + /// <p>The receiptText</p> + /// + /// <p>The receiptText</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>The receiptDescription</p> + /// + /// <p>The receiptDescription</p> + [DataMember(Name="receiptDescription", EmitDefaultValue=false)] + public string ReceiptDescription { get; set; } + + /// + /// <p>The regularUnitPrice</p> + /// + /// <p>The regularUnitPrice</p> + [DataMember(Name="regularUnitPrice", EmitDefaultValue=false)] + public double? RegularUnitPrice { get; set; } + + /// + /// <p>The actualUnitPrice</p> + /// + /// <p>The actualUnitPrice</p> + [DataMember(Name="actualUnitPrice", EmitDefaultValue=false)] + public double? ActualUnitPrice { get; set; } + + /// + /// <p>The priceTypeCode</p> + /// + /// <p>The priceTypeCode</p> + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// <p>The taxGroupID</p> + /// + /// <p>The taxGroupID</p> + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// <p>The discountFlag</p> + /// + /// <p>The discountFlag</p> + [DataMember(Name="discountFlag", EmitDefaultValue=false)] + public bool? DiscountFlag { get; set; } + + /// + /// <p>The frequentShopperPointsEligibilityFlag</p> + /// + /// <p>The frequentShopperPointsEligibilityFlag</p> + [DataMember(Name="frequentShopperPointsEligibilityFlag", EmitDefaultValue=false)] + public bool? FrequentShopperPointsEligibilityFlag { get; set; } + + /// + /// <p>The discountTypeCode</p> + /// + /// <p>The discountTypeCode</p> + [DataMember(Name="discountTypeCode", EmitDefaultValue=false)] + public string DiscountTypeCode { get; set; } + + /// + /// <p>The invoiceId</p> + /// + /// <p>The invoiceId</p> + [DataMember(Name="invoiceId", EmitDefaultValue=false)] + public string InvoiceId { get; set; } + + /// + /// <p>The price modifier list.</p> + /// + /// <p>The price modifier list.</p> + [DataMember(Name="priceModifierList", EmitDefaultValue=false)] + public List PriceModifierList { get; set; } + + /// + /// <p>The promotion.</p> + /// + /// <p>The promotion.</p> + [DataMember(Name="promotion", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO Promotion { get; set; } + + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>The price change type code</p> + /// + /// <p>The price change type code</p> + [DataMember(Name="priceChangeTypeCode", EmitDefaultValue=false)] + public string PriceChangeTypeCode { get; set; } + + /// + /// <p>The prohibit return flag</p> + /// + /// <p>The prohibit return flag</p> + [DataMember(Name="prohibitReturnFlag", EmitDefaultValue=false)] + public bool? ProhibitReturnFlag { get; set; } + + /// + /// <p>The not considered by loyalty (pricing) engine flag</p> + /// + /// <p>The not considered by loyalty (pricing) engine flag</p> + [DataMember(Name="notConsideredByLoyaltyEngineFlag", EmitDefaultValue=false)] + public bool? NotConsideredByLoyaltyEngineFlag { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest {\n"); + sb.Append(" ItemType: ").Append(ItemType).Append("\n"); + sb.Append(" SubItemType: ").Append(SubItemType).Append("\n"); + sb.Append(" ActionCode: ").Append(ActionCode).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" QuantityInputMethod: ").Append(QuantityInputMethod).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" MainPOSItemId: ").Append(MainPOSItemId).Append("\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" RegistrationNumber: ").Append(RegistrationNumber).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupId: ").Append(MainMerchandiseHierarchyGroupId).Append("\n"); + sb.Append(" MainMerchandiseHierarchyGroupIdQualifier: ").Append(MainMerchandiseHierarchyGroupIdQualifier).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupName: ").Append(MerchandiseHierarchyGroupName).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupDescription: ").Append(MerchandiseHierarchyGroupDescription).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" ReceiptDescription: ").Append(ReceiptDescription).Append("\n"); + sb.Append(" RegularUnitPrice: ").Append(RegularUnitPrice).Append("\n"); + sb.Append(" ActualUnitPrice: ").Append(ActualUnitPrice).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" DiscountFlag: ").Append(DiscountFlag).Append("\n"); + sb.Append(" FrequentShopperPointsEligibilityFlag: ").Append(FrequentShopperPointsEligibilityFlag).Append("\n"); + sb.Append(" DiscountTypeCode: ").Append(DiscountTypeCode).Append("\n"); + sb.Append(" InvoiceId: ").Append(InvoiceId).Append("\n"); + sb.Append(" PriceModifierList: ").Append(PriceModifierList).Append("\n"); + sb.Append(" Promotion: ").Append(Promotion).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" PriceChangeTypeCode: ").Append(PriceChangeTypeCode).Append("\n"); + sb.Append(" ProhibitReturnFlag: ").Append(ProhibitReturnFlag).Append("\n"); + sb.Append(" NotConsideredByLoyaltyEngineFlag: ").Append(NotConsideredByLoyaltyEngineFlag).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest input) + { + if (input == null) + return false; + + return + ( + this.ItemType == input.ItemType || + (this.ItemType != null && + this.ItemType.Equals(input.ItemType)) + ) && + ( + this.SubItemType == input.SubItemType || + (this.SubItemType != null && + this.SubItemType.Equals(input.SubItemType)) + ) && + ( + this.ActionCode == input.ActionCode || + (this.ActionCode != null && + this.ActionCode.Equals(input.ActionCode)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.QuantityInputMethod == input.QuantityInputMethod || + (this.QuantityInputMethod != null && + this.QuantityInputMethod.Equals(input.QuantityInputMethod)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.MainPOSItemId == input.MainPOSItemId || + (this.MainPOSItemId != null && + this.MainPOSItemId.Equals(input.MainPOSItemId)) + ) && + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.RegistrationNumber == input.RegistrationNumber || + (this.RegistrationNumber != null && + this.RegistrationNumber.Equals(input.RegistrationNumber)) + ) && + ( + this.MainMerchandiseHierarchyGroupId == input.MainMerchandiseHierarchyGroupId || + (this.MainMerchandiseHierarchyGroupId != null && + this.MainMerchandiseHierarchyGroupId.Equals(input.MainMerchandiseHierarchyGroupId)) + ) && + ( + this.MainMerchandiseHierarchyGroupIdQualifier == input.MainMerchandiseHierarchyGroupIdQualifier || + (this.MainMerchandiseHierarchyGroupIdQualifier != null && + this.MainMerchandiseHierarchyGroupIdQualifier.Equals(input.MainMerchandiseHierarchyGroupIdQualifier)) + ) && + ( + this.MerchandiseHierarchyGroupName == input.MerchandiseHierarchyGroupName || + (this.MerchandiseHierarchyGroupName != null && + this.MerchandiseHierarchyGroupName.Equals(input.MerchandiseHierarchyGroupName)) + ) && + ( + this.MerchandiseHierarchyGroupDescription == input.MerchandiseHierarchyGroupDescription || + (this.MerchandiseHierarchyGroupDescription != null && + this.MerchandiseHierarchyGroupDescription.Equals(input.MerchandiseHierarchyGroupDescription)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.ReceiptDescription == input.ReceiptDescription || + (this.ReceiptDescription != null && + this.ReceiptDescription.Equals(input.ReceiptDescription)) + ) && + ( + this.RegularUnitPrice == input.RegularUnitPrice || + (this.RegularUnitPrice != null && + this.RegularUnitPrice.Equals(input.RegularUnitPrice)) + ) && + ( + this.ActualUnitPrice == input.ActualUnitPrice || + (this.ActualUnitPrice != null && + this.ActualUnitPrice.Equals(input.ActualUnitPrice)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.DiscountFlag == input.DiscountFlag || + (this.DiscountFlag != null && + this.DiscountFlag.Equals(input.DiscountFlag)) + ) && + ( + this.FrequentShopperPointsEligibilityFlag == input.FrequentShopperPointsEligibilityFlag || + (this.FrequentShopperPointsEligibilityFlag != null && + this.FrequentShopperPointsEligibilityFlag.Equals(input.FrequentShopperPointsEligibilityFlag)) + ) && + ( + this.DiscountTypeCode == input.DiscountTypeCode || + (this.DiscountTypeCode != null && + this.DiscountTypeCode.Equals(input.DiscountTypeCode)) + ) && + ( + this.InvoiceId == input.InvoiceId || + (this.InvoiceId != null && + this.InvoiceId.Equals(input.InvoiceId)) + ) && + ( + this.PriceModifierList == input.PriceModifierList || + this.PriceModifierList != null && + this.PriceModifierList.SequenceEqual(input.PriceModifierList) + ) && + ( + this.Promotion == input.Promotion || + (this.Promotion != null && + this.Promotion.Equals(input.Promotion)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.PriceChangeTypeCode == input.PriceChangeTypeCode || + (this.PriceChangeTypeCode != null && + this.PriceChangeTypeCode.Equals(input.PriceChangeTypeCode)) + ) && + ( + this.ProhibitReturnFlag == input.ProhibitReturnFlag || + (this.ProhibitReturnFlag != null && + this.ProhibitReturnFlag.Equals(input.ProhibitReturnFlag)) + ) && + ( + this.NotConsideredByLoyaltyEngineFlag == input.NotConsideredByLoyaltyEngineFlag || + (this.NotConsideredByLoyaltyEngineFlag != null && + this.NotConsideredByLoyaltyEngineFlag.Equals(input.NotConsideredByLoyaltyEngineFlag)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemType != null) + hashCode = hashCode * 59 + this.ItemType.GetHashCode(); + if (this.SubItemType != null) + hashCode = hashCode * 59 + this.SubItemType.GetHashCode(); + if (this.ActionCode != null) + hashCode = hashCode * 59 + this.ActionCode.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.QuantityInputMethod != null) + hashCode = hashCode * 59 + this.QuantityInputMethod.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.MainPOSItemId != null) + hashCode = hashCode * 59 + this.MainPOSItemId.GetHashCode(); + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.RegistrationNumber != null) + hashCode = hashCode * 59 + this.RegistrationNumber.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupId != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupId.GetHashCode(); + if (this.MainMerchandiseHierarchyGroupIdQualifier != null) + hashCode = hashCode * 59 + this.MainMerchandiseHierarchyGroupIdQualifier.GetHashCode(); + if (this.MerchandiseHierarchyGroupName != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupName.GetHashCode(); + if (this.MerchandiseHierarchyGroupDescription != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupDescription.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.ReceiptDescription != null) + hashCode = hashCode * 59 + this.ReceiptDescription.GetHashCode(); + if (this.RegularUnitPrice != null) + hashCode = hashCode * 59 + this.RegularUnitPrice.GetHashCode(); + if (this.ActualUnitPrice != null) + hashCode = hashCode * 59 + this.ActualUnitPrice.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.DiscountFlag != null) + hashCode = hashCode * 59 + this.DiscountFlag.GetHashCode(); + if (this.FrequentShopperPointsEligibilityFlag != null) + hashCode = hashCode * 59 + this.FrequentShopperPointsEligibilityFlag.GetHashCode(); + if (this.DiscountTypeCode != null) + hashCode = hashCode * 59 + this.DiscountTypeCode.GetHashCode(); + if (this.InvoiceId != null) + hashCode = hashCode * 59 + this.InvoiceId.GetHashCode(); + if (this.PriceModifierList != null) + hashCode = hashCode * 59 + this.PriceModifierList.GetHashCode(); + if (this.Promotion != null) + hashCode = hashCode * 59 + this.Promotion.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.PriceChangeTypeCode != null) + hashCode = hashCode * 59 + this.PriceChangeTypeCode.GetHashCode(); + if (this.ProhibitReturnFlag != null) + hashCode = hashCode * 59 + this.ProhibitReturnFlag.GetHashCode(); + if (this.NotConsideredByLoyaltyEngineFlag != null) + hashCode = hashCode * 59 + this.NotConsideredByLoyaltyEngineFlag.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..81df6a9779e2cce6b9a79d28935b8c55dea97462 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup.cs @@ -0,0 +1,511 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemMerchandiseHierarchyGroup <p>The sale return line item merchandise hierarchy group</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The merchandise hierarchy group ID qualifier</p>. + /// <p>The merchandise hierarchy group ID</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string merchandiseHierarchyGroupIDQualifier = default(string), string merchandiseHierarchyGroupID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.MerchandiseHierarchyGroupIDQualifier = merchandiseHierarchyGroupIDQualifier; + this.MerchandiseHierarchyGroupID = merchandiseHierarchyGroupID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The merchandise hierarchy group ID qualifier</p> + /// + /// <p>The merchandise hierarchy group ID qualifier</p> + [DataMember(Name="MerchandiseHierarchyGroupIDQualifier", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupIDQualifier { get; set; } + + /// + /// <p>The merchandise hierarchy group ID</p> + /// + /// <p>The merchandise hierarchy group ID</p> + [DataMember(Name="MerchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupIDQualifier: ").Append(MerchandiseHierarchyGroupIDQualifier).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupID: ").Append(MerchandiseHierarchyGroupID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.MerchandiseHierarchyGroupIDQualifier == input.MerchandiseHierarchyGroupIDQualifier || + (this.MerchandiseHierarchyGroupIDQualifier != null && + this.MerchandiseHierarchyGroupIDQualifier.Equals(input.MerchandiseHierarchyGroupIDQualifier)) + ) && + ( + this.MerchandiseHierarchyGroupID == input.MerchandiseHierarchyGroupID || + (this.MerchandiseHierarchyGroupID != null && + this.MerchandiseHierarchyGroupID.Equals(input.MerchandiseHierarchyGroupID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.MerchandiseHierarchyGroupIDQualifier != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupIDQualifier.GetHashCode(); + if (this.MerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder.cs new file mode 100644 index 0000000000000000000000000000000000000000..db6c74f43479f8ba70c1e4016e1e64a820aaa31e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder.cs @@ -0,0 +1,562 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SaleReturnLineItemSalesOrder <p>The sale return line item sales order.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The external customer order ID</p>. + /// <p>The customer order sequence number</p>. + /// <p>The sales order type code</p>. + /// <p>The sales order delivery type code</p>. + /// <p>The requested delivery date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string externalCustomerOrderID = default(string), int? customerOrderSequenceNumber = default(int?), string salesOrderTypeCode = default(string), string salesOrderDeliveryTypeCode = default(string), string requestedDeliveryDate = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.ExternalCustomerOrderID = externalCustomerOrderID; + this.CustomerOrderSequenceNumber = customerOrderSequenceNumber; + this.SalesOrderTypeCode = salesOrderTypeCode; + this.SalesOrderDeliveryTypeCode = salesOrderDeliveryTypeCode; + this.RequestedDeliveryDate = requestedDeliveryDate; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The external customer order ID</p> + /// + /// <p>The external customer order ID</p> + [DataMember(Name="externalCustomerOrderID", EmitDefaultValue=false)] + public string ExternalCustomerOrderID { get; set; } + + /// + /// <p>The customer order sequence number</p> + /// + /// <p>The customer order sequence number</p> + [DataMember(Name="customerOrderSequenceNumber", EmitDefaultValue=false)] + public int? CustomerOrderSequenceNumber { get; set; } + + /// + /// <p>The sales order type code</p> + /// + /// <p>The sales order type code</p> + [DataMember(Name="salesOrderTypeCode", EmitDefaultValue=false)] + public string SalesOrderTypeCode { get; set; } + + /// + /// <p>The sales order delivery type code</p> + /// + /// <p>The sales order delivery type code</p> + [DataMember(Name="salesOrderDeliveryTypeCode", EmitDefaultValue=false)] + public string SalesOrderDeliveryTypeCode { get; set; } + + /// + /// <p>The requested delivery date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requested delivery date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestedDeliveryDate", EmitDefaultValue=false)] + public string RequestedDeliveryDate { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" ExternalCustomerOrderID: ").Append(ExternalCustomerOrderID).Append("\n"); + sb.Append(" CustomerOrderSequenceNumber: ").Append(CustomerOrderSequenceNumber).Append("\n"); + sb.Append(" SalesOrderTypeCode: ").Append(SalesOrderTypeCode).Append("\n"); + sb.Append(" SalesOrderDeliveryTypeCode: ").Append(SalesOrderDeliveryTypeCode).Append("\n"); + sb.Append(" RequestedDeliveryDate: ").Append(RequestedDeliveryDate).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.ExternalCustomerOrderID == input.ExternalCustomerOrderID || + (this.ExternalCustomerOrderID != null && + this.ExternalCustomerOrderID.Equals(input.ExternalCustomerOrderID)) + ) && + ( + this.CustomerOrderSequenceNumber == input.CustomerOrderSequenceNumber || + (this.CustomerOrderSequenceNumber != null && + this.CustomerOrderSequenceNumber.Equals(input.CustomerOrderSequenceNumber)) + ) && + ( + this.SalesOrderTypeCode == input.SalesOrderTypeCode || + (this.SalesOrderTypeCode != null && + this.SalesOrderTypeCode.Equals(input.SalesOrderTypeCode)) + ) && + ( + this.SalesOrderDeliveryTypeCode == input.SalesOrderDeliveryTypeCode || + (this.SalesOrderDeliveryTypeCode != null && + this.SalesOrderDeliveryTypeCode.Equals(input.SalesOrderDeliveryTypeCode)) + ) && + ( + this.RequestedDeliveryDate == input.RequestedDeliveryDate || + (this.RequestedDeliveryDate != null && + this.RequestedDeliveryDate.Equals(input.RequestedDeliveryDate)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.ExternalCustomerOrderID != null) + hashCode = hashCode * 59 + this.ExternalCustomerOrderID.GetHashCode(); + if (this.CustomerOrderSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerOrderSequenceNumber.GetHashCode(); + if (this.SalesOrderTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderTypeCode.GetHashCode(); + if (this.SalesOrderDeliveryTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderDeliveryTypeCode.GetHashCode(); + if (this.RequestedDeliveryDate != null) + hashCode = hashCode * 59 + this.RequestedDeliveryDate.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData.cs new file mode 100644 index 0000000000000000000000000000000000000000..118321cbef8c5031f92bc1731c147400e52145a2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData.cs @@ -0,0 +1,519 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderCommonData <p>Entity describing common sales order data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The result code for a ERP service call. If the result code is equal to 5, the call was not successful.</p>. + /// <p>The customer order condition data.</p>. + /// <p>The order amount (gross).</p> (required). + /// <p>The order amount (net).</p> (required). + /// <p>The total tax amount.</p> (required). + /// <p>The order line items.</p>. + /// <p>Dummy identifier for actual SAP sales order.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData(string resultCode = default(string), List priceComponentList = default(List), double? totalGross = default(double?), double? totalNet = default(double?), double? totalTax = default(double?), List itemList = default(List), string sAPDUMMYORDERID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "totalGross" is required (not null) + if (totalGross == null) + { + throw new InvalidDataException("totalGross is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData and cannot be null"); + } + else + { + this.TotalGross = totalGross; + } + // to ensure "totalNet" is required (not null) + if (totalNet == null) + { + throw new InvalidDataException("totalNet is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData and cannot be null"); + } + else + { + this.TotalNet = totalNet; + } + // to ensure "totalTax" is required (not null) + if (totalTax == null) + { + throw new InvalidDataException("totalTax is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData and cannot be null"); + } + else + { + this.TotalTax = totalTax; + } + // to ensure "sAPDUMMYORDERID" is required (not null) + if (sAPDUMMYORDERID == null) + { + throw new InvalidDataException("sAPDUMMYORDERID is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData and cannot be null"); + } + else + { + this.SAP_DUMMY_ORDER_ID = sAPDUMMYORDERID; + } + this.ResultCode = resultCode; + this.PriceComponentList = priceComponentList; + this.ItemList = itemList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The result code for a ERP service call. If the result code is equal to 5, the call was not successful.</p> + /// + /// <p>The result code for a ERP service call. If the result code is equal to 5, the call was not successful.</p> + [DataMember(Name="resultCode", EmitDefaultValue=false)] + public string ResultCode { get; set; } + + /// + /// <p>The customer order condition data.</p> + /// + /// <p>The customer order condition data.</p> + [DataMember(Name="priceComponentList", EmitDefaultValue=false)] + public List PriceComponentList { get; set; } + + /// + /// <p>The order amount (gross).</p> + /// + /// <p>The order amount (gross).</p> + [DataMember(Name="totalGross", EmitDefaultValue=false)] + public double? TotalGross { get; set; } + + /// + /// <p>The order amount (net).</p> + /// + /// <p>The order amount (net).</p> + [DataMember(Name="totalNet", EmitDefaultValue=false)] + public double? TotalNet { get; set; } + + /// + /// <p>The total tax amount.</p> + /// + /// <p>The total tax amount.</p> + [DataMember(Name="totalTax", EmitDefaultValue=false)] + public double? TotalTax { get; set; } + + /// + /// <p>The order line items.</p> + /// + /// <p>The order line items.</p> + [DataMember(Name="itemList", EmitDefaultValue=false)] + public List ItemList { get; set; } + + /// + /// <p>Dummy identifier for actual SAP sales order.</p> + /// + /// <p>Dummy identifier for actual SAP sales order.</p> + [DataMember(Name="SAP_DUMMY_ORDER_ID", EmitDefaultValue=false)] + public string SAP_DUMMY_ORDER_ID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData {\n"); + sb.Append(" ResultCode: ").Append(ResultCode).Append("\n"); + sb.Append(" PriceComponentList: ").Append(PriceComponentList).Append("\n"); + sb.Append(" TotalGross: ").Append(TotalGross).Append("\n"); + sb.Append(" TotalNet: ").Append(TotalNet).Append("\n"); + sb.Append(" TotalTax: ").Append(TotalTax).Append("\n"); + sb.Append(" ItemList: ").Append(ItemList).Append("\n"); + sb.Append(" SAP_DUMMY_ORDER_ID: ").Append(SAP_DUMMY_ORDER_ID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData input) + { + if (input == null) + return false; + + return + ( + this.ResultCode == input.ResultCode || + (this.ResultCode != null && + this.ResultCode.Equals(input.ResultCode)) + ) && + ( + this.PriceComponentList == input.PriceComponentList || + this.PriceComponentList != null && + this.PriceComponentList.SequenceEqual(input.PriceComponentList) + ) && + ( + this.TotalGross == input.TotalGross || + (this.TotalGross != null && + this.TotalGross.Equals(input.TotalGross)) + ) && + ( + this.TotalNet == input.TotalNet || + (this.TotalNet != null && + this.TotalNet.Equals(input.TotalNet)) + ) && + ( + this.TotalTax == input.TotalTax || + (this.TotalTax != null && + this.TotalTax.Equals(input.TotalTax)) + ) && + ( + this.ItemList == input.ItemList || + this.ItemList != null && + this.ItemList.SequenceEqual(input.ItemList) + ) && + ( + this.SAP_DUMMY_ORDER_ID == input.SAP_DUMMY_ORDER_ID || + (this.SAP_DUMMY_ORDER_ID != null && + this.SAP_DUMMY_ORDER_ID.Equals(input.SAP_DUMMY_ORDER_ID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ResultCode != null) + hashCode = hashCode * 59 + this.ResultCode.GetHashCode(); + if (this.PriceComponentList != null) + hashCode = hashCode * 59 + this.PriceComponentList.GetHashCode(); + if (this.TotalGross != null) + hashCode = hashCode * 59 + this.TotalGross.GetHashCode(); + if (this.TotalNet != null) + hashCode = hashCode * 59 + this.TotalNet.GetHashCode(); + if (this.TotalTax != null) + hashCode = hashCode * 59 + this.TotalTax.GetHashCode(); + if (this.ItemList != null) + hashCode = hashCode * 59 + this.ItemList.GetHashCode(); + if (this.SAP_DUMMY_ORDER_ID != null) + hashCode = hashCode * 59 + this.SAP_DUMMY_ORDER_ID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..2af2962c6b0cfa729be602e5276c7ad107b5de54 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent.cs @@ -0,0 +1,435 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderCommonPriceComponent <p>The entity SalesOrderCommonPriceComponent</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>conditionTypeCode</p>. + /// <p>conditionRate</p> (required). + /// <p>conditionBase</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent(string conditionTypeCode = default(string), double? conditionRate = default(double?), double? conditionBase = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "conditionRate" is required (not null) + if (conditionRate == null) + { + throw new InvalidDataException("conditionRate is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent and cannot be null"); + } + else + { + this.ConditionRate = conditionRate; + } + // to ensure "conditionBase" is required (not null) + if (conditionBase == null) + { + throw new InvalidDataException("conditionBase is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent and cannot be null"); + } + else + { + this.ConditionBase = conditionBase; + } + this.ConditionTypeCode = conditionTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>conditionTypeCode</p> + /// + /// <p>conditionTypeCode</p> + [DataMember(Name="conditionTypeCode", EmitDefaultValue=false)] + public string ConditionTypeCode { get; set; } + + /// + /// <p>conditionRate</p> + /// + /// <p>conditionRate</p> + [DataMember(Name="conditionRate", EmitDefaultValue=false)] + public double? ConditionRate { get; set; } + + /// + /// <p>conditionBase</p> + /// + /// <p>conditionBase</p> + [DataMember(Name="conditionBase", EmitDefaultValue=false)] + public double? ConditionBase { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent {\n"); + sb.Append(" ConditionTypeCode: ").Append(ConditionTypeCode).Append("\n"); + sb.Append(" ConditionRate: ").Append(ConditionRate).Append("\n"); + sb.Append(" ConditionBase: ").Append(ConditionBase).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent input) + { + if (input == null) + return false; + + return + ( + this.ConditionTypeCode == input.ConditionTypeCode || + (this.ConditionTypeCode != null && + this.ConditionTypeCode.Equals(input.ConditionTypeCode)) + ) && + ( + this.ConditionRate == input.ConditionRate || + (this.ConditionRate != null && + this.ConditionRate.Equals(input.ConditionRate)) + ) && + ( + this.ConditionBase == input.ConditionBase || + (this.ConditionBase != null && + this.ConditionBase.Equals(input.ConditionBase)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ConditionTypeCode != null) + hashCode = hashCode * 59 + this.ConditionTypeCode.GetHashCode(); + if (this.ConditionRate != null) + hashCode = hashCode * 59 + this.ConditionRate.GetHashCode(); + if (this.ConditionBase != null) + hashCode = hashCode * 59 + this.ConditionBase.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine.cs new file mode 100644 index 0000000000000000000000000000000000000000..081ccae6da9850318e3bceff9ab78ec291df1232 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine.cs @@ -0,0 +1,435 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderCommonScheduleLine <p>The entity SalesOrderCommonScheduleLine</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The requestedQuantity</p> (required). + /// <p>The confirmedQuantity</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine(string deliveryDate = default(string), double? requestedQuantity = default(double?), double? confirmedQuantity = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "requestedQuantity" is required (not null) + if (requestedQuantity == null) + { + throw new InvalidDataException("requestedQuantity is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine and cannot be null"); + } + else + { + this.RequestedQuantity = requestedQuantity; + } + // to ensure "confirmedQuantity" is required (not null) + if (confirmedQuantity == null) + { + throw new InvalidDataException("confirmedQuantity is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine and cannot be null"); + } + else + { + this.ConfirmedQuantity = confirmedQuantity; + } + this.DeliveryDate = deliveryDate; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="deliveryDate", EmitDefaultValue=false)] + public string DeliveryDate { get; set; } + + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + [DataMember(Name="requestedQuantity", EmitDefaultValue=false)] + public double? RequestedQuantity { get; set; } + + /// + /// <p>The confirmedQuantity</p> + /// + /// <p>The confirmedQuantity</p> + [DataMember(Name="confirmedQuantity", EmitDefaultValue=false)] + public double? ConfirmedQuantity { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine {\n"); + sb.Append(" DeliveryDate: ").Append(DeliveryDate).Append("\n"); + sb.Append(" RequestedQuantity: ").Append(RequestedQuantity).Append("\n"); + sb.Append(" ConfirmedQuantity: ").Append(ConfirmedQuantity).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine input) + { + if (input == null) + return false; + + return + ( + this.DeliveryDate == input.DeliveryDate || + (this.DeliveryDate != null && + this.DeliveryDate.Equals(input.DeliveryDate)) + ) && + ( + this.RequestedQuantity == input.RequestedQuantity || + (this.RequestedQuantity != null && + this.RequestedQuantity.Equals(input.RequestedQuantity)) + ) && + ( + this.ConfirmedQuantity == input.ConfirmedQuantity || + (this.ConfirmedQuantity != null && + this.ConfirmedQuantity.Equals(input.ConfirmedQuantity)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DeliveryDate != null) + hashCode = hashCode * 59 + this.DeliveryDate.GetHashCode(); + if (this.RequestedQuantity != null) + hashCode = hashCode * 59 + this.RequestedQuantity.GetHashCode(); + if (this.ConfirmedQuantity != null) + hashCode = hashCode * 59 + this.ConfirmedQuantity.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..923af459ec34e6865c7101e689d695ab888e701e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData.cs @@ -0,0 +1,705 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderExtendedItemData <p>The entity SalesOrderExtendedItemData</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The id</p>. + /// <p>The description</p>. + /// <p>The productInternalId</p>. + /// <p>The productSalesMeasureUnitCode</p>. + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The deliveryTermsDeliveryPlantId</p>. + /// <p>The requestedQuantity</p> (required). + /// <p>The receivingPointId</p>. + /// <p>The productStandardId</p>. + /// <p>The itemPriceComponentList</p>. + /// <p>The confirmedQuantity</p> (required). + /// <p>The deliveredQuantity</p> (required). + /// <p>The rejectionReasonCode</p>. + /// <p>The netAmount</p> (required). + /// <p>The netPrice</p> (required). + /// <p>The taxAmount</p> (required). + /// <p>The scheduleLineList</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData(string id = default(string), string description = default(string), string productInternalId = default(string), string productSalesMeasureUnitCode = default(string), string requestDate = default(string), string deliveryTermsDeliveryPlantId = default(string), double? requestedQuantity = default(double?), string receivingPointId = default(string), string productStandardId = default(string), List itemPriceComponentList = default(List), double? confirmedQuantity = default(double?), double? deliveredQuantity = default(double?), string rejectionReasonCode = default(string), double? netAmount = default(double?), double? netPrice = default(double?), double? taxAmount = default(double?), List scheduleLineList = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "requestedQuantity" is required (not null) + if (requestedQuantity == null) + { + throw new InvalidDataException("requestedQuantity is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData and cannot be null"); + } + else + { + this.RequestedQuantity = requestedQuantity; + } + // to ensure "confirmedQuantity" is required (not null) + if (confirmedQuantity == null) + { + throw new InvalidDataException("confirmedQuantity is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData and cannot be null"); + } + else + { + this.ConfirmedQuantity = confirmedQuantity; + } + // to ensure "deliveredQuantity" is required (not null) + if (deliveredQuantity == null) + { + throw new InvalidDataException("deliveredQuantity is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData and cannot be null"); + } + else + { + this.DeliveredQuantity = deliveredQuantity; + } + // to ensure "netAmount" is required (not null) + if (netAmount == null) + { + throw new InvalidDataException("netAmount is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData and cannot be null"); + } + else + { + this.NetAmount = netAmount; + } + // to ensure "netPrice" is required (not null) + if (netPrice == null) + { + throw new InvalidDataException("netPrice is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData and cannot be null"); + } + else + { + this.NetPrice = netPrice; + } + // to ensure "taxAmount" is required (not null) + if (taxAmount == null) + { + throw new InvalidDataException("taxAmount is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData and cannot be null"); + } + else + { + this.TaxAmount = taxAmount; + } + this.Id = id; + this.Description = description; + this.ProductInternalId = productInternalId; + this.ProductSalesMeasureUnitCode = productSalesMeasureUnitCode; + this.RequestDate = requestDate; + this.DeliveryTermsDeliveryPlantId = deliveryTermsDeliveryPlantId; + this.ReceivingPointId = receivingPointId; + this.ProductStandardId = productStandardId; + this.ItemPriceComponentList = itemPriceComponentList; + this.RejectionReasonCode = rejectionReasonCode; + this.ScheduleLineList = scheduleLineList; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The id</p> + /// + /// <p>The id</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// <p>The description</p> + /// + /// <p>The description</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The productInternalId</p> + /// + /// <p>The productInternalId</p> + [DataMember(Name="productInternalId", EmitDefaultValue=false)] + public string ProductInternalId { get; set; } + + /// + /// <p>The productSalesMeasureUnitCode</p> + /// + /// <p>The productSalesMeasureUnitCode</p> + [DataMember(Name="productSalesMeasureUnitCode", EmitDefaultValue=false)] + public string ProductSalesMeasureUnitCode { get; set; } + + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="requestDate", EmitDefaultValue=false)] + public string RequestDate { get; set; } + + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + [DataMember(Name="deliveryTermsDeliveryPlantId", EmitDefaultValue=false)] + public string DeliveryTermsDeliveryPlantId { get; set; } + + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + [DataMember(Name="requestedQuantity", EmitDefaultValue=false)] + public double? RequestedQuantity { get; set; } + + /// + /// <p>The receivingPointId</p> + /// + /// <p>The receivingPointId</p> + [DataMember(Name="receivingPointId", EmitDefaultValue=false)] + public string ReceivingPointId { get; set; } + + /// + /// <p>The productStandardId</p> + /// + /// <p>The productStandardId</p> + [DataMember(Name="productStandardId", EmitDefaultValue=false)] + public string ProductStandardId { get; set; } + + /// + /// <p>The itemPriceComponentList</p> + /// + /// <p>The itemPriceComponentList</p> + [DataMember(Name="itemPriceComponentList", EmitDefaultValue=false)] + public List ItemPriceComponentList { get; set; } + + /// + /// <p>The confirmedQuantity</p> + /// + /// <p>The confirmedQuantity</p> + [DataMember(Name="confirmedQuantity", EmitDefaultValue=false)] + public double? ConfirmedQuantity { get; set; } + + /// + /// <p>The deliveredQuantity</p> + /// + /// <p>The deliveredQuantity</p> + [DataMember(Name="deliveredQuantity", EmitDefaultValue=false)] + public double? DeliveredQuantity { get; set; } + + /// + /// <p>The rejectionReasonCode</p> + /// + /// <p>The rejectionReasonCode</p> + [DataMember(Name="rejectionReasonCode", EmitDefaultValue=false)] + public string RejectionReasonCode { get; set; } + + /// + /// <p>The netAmount</p> + /// + /// <p>The netAmount</p> + [DataMember(Name="netAmount", EmitDefaultValue=false)] + public double? NetAmount { get; set; } + + /// + /// <p>The netPrice</p> + /// + /// <p>The netPrice</p> + [DataMember(Name="netPrice", EmitDefaultValue=false)] + public double? NetPrice { get; set; } + + /// + /// <p>The taxAmount</p> + /// + /// <p>The taxAmount</p> + [DataMember(Name="taxAmount", EmitDefaultValue=false)] + public double? TaxAmount { get; set; } + + /// + /// <p>The scheduleLineList</p> + /// + /// <p>The scheduleLineList</p> + [DataMember(Name="scheduleLineList", EmitDefaultValue=false)] + public List ScheduleLineList { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ProductInternalId: ").Append(ProductInternalId).Append("\n"); + sb.Append(" ProductSalesMeasureUnitCode: ").Append(ProductSalesMeasureUnitCode).Append("\n"); + sb.Append(" RequestDate: ").Append(RequestDate).Append("\n"); + sb.Append(" DeliveryTermsDeliveryPlantId: ").Append(DeliveryTermsDeliveryPlantId).Append("\n"); + sb.Append(" RequestedQuantity: ").Append(RequestedQuantity).Append("\n"); + sb.Append(" ReceivingPointId: ").Append(ReceivingPointId).Append("\n"); + sb.Append(" ProductStandardId: ").Append(ProductStandardId).Append("\n"); + sb.Append(" ItemPriceComponentList: ").Append(ItemPriceComponentList).Append("\n"); + sb.Append(" ConfirmedQuantity: ").Append(ConfirmedQuantity).Append("\n"); + sb.Append(" DeliveredQuantity: ").Append(DeliveredQuantity).Append("\n"); + sb.Append(" RejectionReasonCode: ").Append(RejectionReasonCode).Append("\n"); + sb.Append(" NetAmount: ").Append(NetAmount).Append("\n"); + sb.Append(" NetPrice: ").Append(NetPrice).Append("\n"); + sb.Append(" TaxAmount: ").Append(TaxAmount).Append("\n"); + sb.Append(" ScheduleLineList: ").Append(ScheduleLineList).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.ProductInternalId == input.ProductInternalId || + (this.ProductInternalId != null && + this.ProductInternalId.Equals(input.ProductInternalId)) + ) && + ( + this.ProductSalesMeasureUnitCode == input.ProductSalesMeasureUnitCode || + (this.ProductSalesMeasureUnitCode != null && + this.ProductSalesMeasureUnitCode.Equals(input.ProductSalesMeasureUnitCode)) + ) && + ( + this.RequestDate == input.RequestDate || + (this.RequestDate != null && + this.RequestDate.Equals(input.RequestDate)) + ) && + ( + this.DeliveryTermsDeliveryPlantId == input.DeliveryTermsDeliveryPlantId || + (this.DeliveryTermsDeliveryPlantId != null && + this.DeliveryTermsDeliveryPlantId.Equals(input.DeliveryTermsDeliveryPlantId)) + ) && + ( + this.RequestedQuantity == input.RequestedQuantity || + (this.RequestedQuantity != null && + this.RequestedQuantity.Equals(input.RequestedQuantity)) + ) && + ( + this.ReceivingPointId == input.ReceivingPointId || + (this.ReceivingPointId != null && + this.ReceivingPointId.Equals(input.ReceivingPointId)) + ) && + ( + this.ProductStandardId == input.ProductStandardId || + (this.ProductStandardId != null && + this.ProductStandardId.Equals(input.ProductStandardId)) + ) && + ( + this.ItemPriceComponentList == input.ItemPriceComponentList || + this.ItemPriceComponentList != null && + this.ItemPriceComponentList.SequenceEqual(input.ItemPriceComponentList) + ) && + ( + this.ConfirmedQuantity == input.ConfirmedQuantity || + (this.ConfirmedQuantity != null && + this.ConfirmedQuantity.Equals(input.ConfirmedQuantity)) + ) && + ( + this.DeliveredQuantity == input.DeliveredQuantity || + (this.DeliveredQuantity != null && + this.DeliveredQuantity.Equals(input.DeliveredQuantity)) + ) && + ( + this.RejectionReasonCode == input.RejectionReasonCode || + (this.RejectionReasonCode != null && + this.RejectionReasonCode.Equals(input.RejectionReasonCode)) + ) && + ( + this.NetAmount == input.NetAmount || + (this.NetAmount != null && + this.NetAmount.Equals(input.NetAmount)) + ) && + ( + this.NetPrice == input.NetPrice || + (this.NetPrice != null && + this.NetPrice.Equals(input.NetPrice)) + ) && + ( + this.TaxAmount == input.TaxAmount || + (this.TaxAmount != null && + this.TaxAmount.Equals(input.TaxAmount)) + ) && + ( + this.ScheduleLineList == input.ScheduleLineList || + this.ScheduleLineList != null && + this.ScheduleLineList.SequenceEqual(input.ScheduleLineList) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.ProductInternalId != null) + hashCode = hashCode * 59 + this.ProductInternalId.GetHashCode(); + if (this.ProductSalesMeasureUnitCode != null) + hashCode = hashCode * 59 + this.ProductSalesMeasureUnitCode.GetHashCode(); + if (this.RequestDate != null) + hashCode = hashCode * 59 + this.RequestDate.GetHashCode(); + if (this.DeliveryTermsDeliveryPlantId != null) + hashCode = hashCode * 59 + this.DeliveryTermsDeliveryPlantId.GetHashCode(); + if (this.RequestedQuantity != null) + hashCode = hashCode * 59 + this.RequestedQuantity.GetHashCode(); + if (this.ReceivingPointId != null) + hashCode = hashCode * 59 + this.ReceivingPointId.GetHashCode(); + if (this.ProductStandardId != null) + hashCode = hashCode * 59 + this.ProductStandardId.GetHashCode(); + if (this.ItemPriceComponentList != null) + hashCode = hashCode * 59 + this.ItemPriceComponentList.GetHashCode(); + if (this.ConfirmedQuantity != null) + hashCode = hashCode * 59 + this.ConfirmedQuantity.GetHashCode(); + if (this.DeliveredQuantity != null) + hashCode = hashCode * 59 + this.DeliveredQuantity.GetHashCode(); + if (this.RejectionReasonCode != null) + hashCode = hashCode * 59 + this.RejectionReasonCode.GetHashCode(); + if (this.NetAmount != null) + hashCode = hashCode * 59 + this.NetAmount.GetHashCode(); + if (this.NetPrice != null) + hashCode = hashCode * 59 + this.NetPrice.GetHashCode(); + if (this.TaxAmount != null) + hashCode = hashCode * 59 + this.TaxAmount.GetHashCode(); + if (this.ScheduleLineList != null) + hashCode = hashCode * 59 + this.ScheduleLineList.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..1ea326cc09234152c933554ba0842d5d2a6d699b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent.cs @@ -0,0 +1,519 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderExtendedPriceComponent <p>The entity SalesOrderExtendedPriceComponent</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>conditionTypeCode</p>. + /// <p>conditionRate</p> (required). + /// <p>conditionBase</p> (required). + /// <p>The total</p> (required). + /// <p>The condition active</p> (required). + /// <p>The inactivity reasonCode</p>. + /// <p>The priceSpecificationElement typeCode</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent(string conditionTypeCode = default(string), double? conditionRate = default(double?), double? conditionBase = default(double?), double? total = default(double?), bool? conditionActive = default(bool?), string inactivityReasonCode = default(string), string priceSpecificationElementTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "conditionRate" is required (not null) + if (conditionRate == null) + { + throw new InvalidDataException("conditionRate is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent and cannot be null"); + } + else + { + this.ConditionRate = conditionRate; + } + // to ensure "conditionBase" is required (not null) + if (conditionBase == null) + { + throw new InvalidDataException("conditionBase is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent and cannot be null"); + } + else + { + this.ConditionBase = conditionBase; + } + // to ensure "total" is required (not null) + if (total == null) + { + throw new InvalidDataException("total is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent and cannot be null"); + } + else + { + this.Total = total; + } + // to ensure "conditionActive" is required (not null) + if (conditionActive == null) + { + throw new InvalidDataException("conditionActive is a required property for ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent and cannot be null"); + } + else + { + this.ConditionActive = conditionActive; + } + this.ConditionTypeCode = conditionTypeCode; + this.InactivityReasonCode = inactivityReasonCode; + this.PriceSpecificationElementTypeCode = priceSpecificationElementTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>conditionTypeCode</p> + /// + /// <p>conditionTypeCode</p> + [DataMember(Name="conditionTypeCode", EmitDefaultValue=false)] + public string ConditionTypeCode { get; set; } + + /// + /// <p>conditionRate</p> + /// + /// <p>conditionRate</p> + [DataMember(Name="conditionRate", EmitDefaultValue=false)] + public double? ConditionRate { get; set; } + + /// + /// <p>conditionBase</p> + /// + /// <p>conditionBase</p> + [DataMember(Name="conditionBase", EmitDefaultValue=false)] + public double? ConditionBase { get; set; } + + /// + /// <p>The total</p> + /// + /// <p>The total</p> + [DataMember(Name="total", EmitDefaultValue=false)] + public double? Total { get; set; } + + /// + /// <p>The condition active</p> + /// + /// <p>The condition active</p> + [DataMember(Name="conditionActive", EmitDefaultValue=false)] + public bool? ConditionActive { get; set; } + + /// + /// <p>The inactivity reasonCode</p> + /// + /// <p>The inactivity reasonCode</p> + [DataMember(Name="inactivityReasonCode", EmitDefaultValue=false)] + public string InactivityReasonCode { get; set; } + + /// + /// <p>The priceSpecificationElement typeCode</p> + /// + /// <p>The priceSpecificationElement typeCode</p> + [DataMember(Name="priceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string PriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent {\n"); + sb.Append(" ConditionTypeCode: ").Append(ConditionTypeCode).Append("\n"); + sb.Append(" ConditionRate: ").Append(ConditionRate).Append("\n"); + sb.Append(" ConditionBase: ").Append(ConditionBase).Append("\n"); + sb.Append(" Total: ").Append(Total).Append("\n"); + sb.Append(" ConditionActive: ").Append(ConditionActive).Append("\n"); + sb.Append(" InactivityReasonCode: ").Append(InactivityReasonCode).Append("\n"); + sb.Append(" PriceSpecificationElementTypeCode: ").Append(PriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent input) + { + if (input == null) + return false; + + return + ( + this.ConditionTypeCode == input.ConditionTypeCode || + (this.ConditionTypeCode != null && + this.ConditionTypeCode.Equals(input.ConditionTypeCode)) + ) && + ( + this.ConditionRate == input.ConditionRate || + (this.ConditionRate != null && + this.ConditionRate.Equals(input.ConditionRate)) + ) && + ( + this.ConditionBase == input.ConditionBase || + (this.ConditionBase != null && + this.ConditionBase.Equals(input.ConditionBase)) + ) && + ( + this.Total == input.Total || + (this.Total != null && + this.Total.Equals(input.Total)) + ) && + ( + this.ConditionActive == input.ConditionActive || + (this.ConditionActive != null && + this.ConditionActive.Equals(input.ConditionActive)) + ) && + ( + this.InactivityReasonCode == input.InactivityReasonCode || + (this.InactivityReasonCode != null && + this.InactivityReasonCode.Equals(input.InactivityReasonCode)) + ) && + ( + this.PriceSpecificationElementTypeCode == input.PriceSpecificationElementTypeCode || + (this.PriceSpecificationElementTypeCode != null && + this.PriceSpecificationElementTypeCode.Equals(input.PriceSpecificationElementTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ConditionTypeCode != null) + hashCode = hashCode * 59 + this.ConditionTypeCode.GetHashCode(); + if (this.ConditionRate != null) + hashCode = hashCode * 59 + this.ConditionRate.GetHashCode(); + if (this.ConditionBase != null) + hashCode = hashCode * 59 + this.ConditionBase.GetHashCode(); + if (this.Total != null) + hashCode = hashCode * 59 + this.Total.GetHashCode(); + if (this.ConditionActive != null) + hashCode = hashCode * 59 + this.ConditionActive.GetHashCode(); + if (this.InactivityReasonCode != null) + hashCode = hashCode * 59 + this.InactivityReasonCode.GetHashCode(); + if (this.PriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.PriceSpecificationElementTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderPosition.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderPosition.cs new file mode 100644 index 0000000000000000000000000000000000000000..59e4d143cb8428ae0d8e594405d327118c05714c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderPosition.cs @@ -0,0 +1,601 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderPosition <p>The entity SalesOrderPosition</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesOrderPosition : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The canceled value</p>. + /// <p>The delivery type code</p>. + /// <p>The quantity</p>. + /// <p>The units</p>. + /// <p>The regularPrice</p>. + /// <p>The receiptText</p>. + /// <p>The posItemId</p>. + /// <p>The itemTypeCode</p>. + /// <p>The sub item type code</p>. + /// <p>The customerOrderSequenceNumber</p>. + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The orderId</p>. + /// <p>The discountGP</p>. + /// <p>The sapDebatesPromotionId</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesOrderPosition(double? canceledValue = default(double?), string deliveryTypeCode = default(string), int? quantity = default(int?), double? units = default(double?), double? regularPrice = default(double?), string receiptText = default(string), string posItemId = default(string), string itemTypeCode = default(string), string subItemTypeCode = default(string), int? customerOrderSequenceNumber = default(int?), string deliveryDate = default(string), string orderId = default(string), double? discountGP = default(double?), string sapDebatesPromotionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CanceledValue = canceledValue; + this.DeliveryTypeCode = deliveryTypeCode; + this.Quantity = quantity; + this.Units = units; + this.RegularPrice = regularPrice; + this.ReceiptText = receiptText; + this.PosItemId = posItemId; + this.ItemTypeCode = itemTypeCode; + this.SubItemTypeCode = subItemTypeCode; + this.CustomerOrderSequenceNumber = customerOrderSequenceNumber; + this.DeliveryDate = deliveryDate; + this.OrderId = orderId; + this.DiscountGP = discountGP; + this.SapDebatesPromotionId = sapDebatesPromotionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The canceled value</p> + /// + /// <p>The canceled value</p> + [DataMember(Name="canceledValue", EmitDefaultValue=false)] + public double? CanceledValue { get; set; } + + /// + /// <p>The delivery type code</p> + /// + /// <p>The delivery type code</p> + [DataMember(Name="deliveryTypeCode", EmitDefaultValue=false)] + public string DeliveryTypeCode { get; set; } + + /// + /// <p>The quantity</p> + /// + /// <p>The quantity</p> + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// <p>The units</p> + /// + /// <p>The units</p> + [DataMember(Name="units", EmitDefaultValue=false)] + public double? Units { get; set; } + + /// + /// <p>The regularPrice</p> + /// + /// <p>The regularPrice</p> + [DataMember(Name="regularPrice", EmitDefaultValue=false)] + public double? RegularPrice { get; set; } + + /// + /// <p>The receiptText</p> + /// + /// <p>The receiptText</p> + [DataMember(Name="receiptText", EmitDefaultValue=false)] + public string ReceiptText { get; set; } + + /// + /// <p>The posItemId</p> + /// + /// <p>The posItemId</p> + [DataMember(Name="posItemId", EmitDefaultValue=false)] + public string PosItemId { get; set; } + + /// + /// <p>The itemTypeCode</p> + /// + /// <p>The itemTypeCode</p> + [DataMember(Name="itemTypeCode", EmitDefaultValue=false)] + public string ItemTypeCode { get; set; } + + /// + /// <p>The sub item type code</p> + /// + /// <p>The sub item type code</p> + [DataMember(Name="subItemTypeCode", EmitDefaultValue=false)] + public string SubItemTypeCode { get; set; } + + /// + /// <p>The customerOrderSequenceNumber</p> + /// + /// <p>The customerOrderSequenceNumber</p> + [DataMember(Name="customerOrderSequenceNumber", EmitDefaultValue=false)] + public int? CustomerOrderSequenceNumber { get; set; } + + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="deliveryDate", EmitDefaultValue=false)] + public string DeliveryDate { get; set; } + + /// + /// <p>The orderId</p> + /// + /// <p>The orderId</p> + [DataMember(Name="orderId", EmitDefaultValue=false)] + public string OrderId { get; set; } + + /// + /// <p>The discountGP</p> + /// + /// <p>The discountGP</p> + [DataMember(Name="discountGP", EmitDefaultValue=false)] + public double? DiscountGP { get; set; } + + /// + /// <p>The sapDebatesPromotionId</p> + /// + /// <p>The sapDebatesPromotionId</p> + [DataMember(Name="sapDebatesPromotionId", EmitDefaultValue=false)] + public string SapDebatesPromotionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesOrderPosition {\n"); + sb.Append(" CanceledValue: ").Append(CanceledValue).Append("\n"); + sb.Append(" DeliveryTypeCode: ").Append(DeliveryTypeCode).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" Units: ").Append(Units).Append("\n"); + sb.Append(" RegularPrice: ").Append(RegularPrice).Append("\n"); + sb.Append(" ReceiptText: ").Append(ReceiptText).Append("\n"); + sb.Append(" PosItemId: ").Append(PosItemId).Append("\n"); + sb.Append(" ItemTypeCode: ").Append(ItemTypeCode).Append("\n"); + sb.Append(" SubItemTypeCode: ").Append(SubItemTypeCode).Append("\n"); + sb.Append(" CustomerOrderSequenceNumber: ").Append(CustomerOrderSequenceNumber).Append("\n"); + sb.Append(" DeliveryDate: ").Append(DeliveryDate).Append("\n"); + sb.Append(" OrderId: ").Append(OrderId).Append("\n"); + sb.Append(" DiscountGP: ").Append(DiscountGP).Append("\n"); + sb.Append(" SapDebatesPromotionId: ").Append(SapDebatesPromotionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesOrderPosition); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesOrderPosition instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesOrderPosition to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesOrderPosition input) + { + if (input == null) + return false; + + return + ( + this.CanceledValue == input.CanceledValue || + (this.CanceledValue != null && + this.CanceledValue.Equals(input.CanceledValue)) + ) && + ( + this.DeliveryTypeCode == input.DeliveryTypeCode || + (this.DeliveryTypeCode != null && + this.DeliveryTypeCode.Equals(input.DeliveryTypeCode)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.Units == input.Units || + (this.Units != null && + this.Units.Equals(input.Units)) + ) && + ( + this.RegularPrice == input.RegularPrice || + (this.RegularPrice != null && + this.RegularPrice.Equals(input.RegularPrice)) + ) && + ( + this.ReceiptText == input.ReceiptText || + (this.ReceiptText != null && + this.ReceiptText.Equals(input.ReceiptText)) + ) && + ( + this.PosItemId == input.PosItemId || + (this.PosItemId != null && + this.PosItemId.Equals(input.PosItemId)) + ) && + ( + this.ItemTypeCode == input.ItemTypeCode || + (this.ItemTypeCode != null && + this.ItemTypeCode.Equals(input.ItemTypeCode)) + ) && + ( + this.SubItemTypeCode == input.SubItemTypeCode || + (this.SubItemTypeCode != null && + this.SubItemTypeCode.Equals(input.SubItemTypeCode)) + ) && + ( + this.CustomerOrderSequenceNumber == input.CustomerOrderSequenceNumber || + (this.CustomerOrderSequenceNumber != null && + this.CustomerOrderSequenceNumber.Equals(input.CustomerOrderSequenceNumber)) + ) && + ( + this.DeliveryDate == input.DeliveryDate || + (this.DeliveryDate != null && + this.DeliveryDate.Equals(input.DeliveryDate)) + ) && + ( + this.OrderId == input.OrderId || + (this.OrderId != null && + this.OrderId.Equals(input.OrderId)) + ) && + ( + this.DiscountGP == input.DiscountGP || + (this.DiscountGP != null && + this.DiscountGP.Equals(input.DiscountGP)) + ) && + ( + this.SapDebatesPromotionId == input.SapDebatesPromotionId || + (this.SapDebatesPromotionId != null && + this.SapDebatesPromotionId.Equals(input.SapDebatesPromotionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CanceledValue != null) + hashCode = hashCode * 59 + this.CanceledValue.GetHashCode(); + if (this.DeliveryTypeCode != null) + hashCode = hashCode * 59 + this.DeliveryTypeCode.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.Units != null) + hashCode = hashCode * 59 + this.Units.GetHashCode(); + if (this.RegularPrice != null) + hashCode = hashCode * 59 + this.RegularPrice.GetHashCode(); + if (this.ReceiptText != null) + hashCode = hashCode * 59 + this.ReceiptText.GetHashCode(); + if (this.PosItemId != null) + hashCode = hashCode * 59 + this.PosItemId.GetHashCode(); + if (this.ItemTypeCode != null) + hashCode = hashCode * 59 + this.ItemTypeCode.GetHashCode(); + if (this.SubItemTypeCode != null) + hashCode = hashCode * 59 + this.SubItemTypeCode.GetHashCode(); + if (this.CustomerOrderSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerOrderSequenceNumber.GetHashCode(); + if (this.DeliveryDate != null) + hashCode = hashCode * 59 + this.DeliveryDate.GetHashCode(); + if (this.OrderId != null) + hashCode = hashCode * 59 + this.OrderId.GetHashCode(); + if (this.DiscountGP != null) + hashCode = hashCode * 59 + this.DiscountGP.GetHashCode(); + if (this.SapDebatesPromotionId != null) + hashCode = hashCode * 59 + this.SapDebatesPromotionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..0ca0534ad3411e7e9a4ac45ef5f32462acdb456a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesOrderSalesDocItem <p>The SalesOrderSalesDocItem</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>GrossValue of the item</p>. + /// <p>description of the item</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem(double? grossValue = default(double?), string description = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.GrossValue = grossValue; + this.Description = description; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>GrossValue of the item</p> + /// + /// <p>GrossValue of the item</p> + [DataMember(Name="grossValue", EmitDefaultValue=false)] + public double? GrossValue { get; set; } + + /// + /// <p>description of the item</p> + /// + /// <p>description of the item</p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem {\n"); + sb.Append(" GrossValue: ").Append(GrossValue).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem input) + { + if (input == null) + return false; + + return + ( + this.GrossValue == input.GrossValue || + (this.GrossValue != null && + this.GrossValue.Equals(input.GrossValue)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.GrossValue != null) + hashCode = hashCode * 59 + this.GrossValue.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4a5f9c3026099ecb37b4e39514e81bb188141023 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest.cs @@ -0,0 +1,573 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesPersonNumberRequest <p>Domain object for SalesPersonNumberRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest : IEquatable, IValidatableObject + { + /// + /// <p>The Seller Relation Method.</p> + /// + /// <p>The Seller Relation Method.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum SellerRelationMethodEnum + { + + /// + /// Enum CurrentLineItemOnly for value: CurrentLineItemOnly + /// + [EnumMember(Value = "CurrentLineItemOnly")] + CurrentLineItemOnly = 1, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentTransaction for value: CurrentAndFollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentTransaction")] + CurrentAndFollowingLineItemsOfCurrentTransaction = 2, + + /// + /// Enum CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions for value: CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions")] + CurrentAndFollowingLineItemsOfCurrentAndFollowingTransactions = 3, + + /// + /// Enum AllLineItemsOfCurrentTransaction for value: AllLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "AllLineItemsOfCurrentTransaction")] + AllLineItemsOfCurrentTransaction = 4, + + /// + /// Enum FollowingLineItemsOfCurrentTransaction for value: FollowingLineItemsOfCurrentTransaction + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentTransaction")] + FollowingLineItemsOfCurrentTransaction = 5, + + /// + /// Enum FollowingLineItemsOfCurrentAndFollowingTransactions for value: FollowingLineItemsOfCurrentAndFollowingTransactions + /// + [EnumMember(Value = "FollowingLineItemsOfCurrentAndFollowingTransactions")] + FollowingLineItemsOfCurrentAndFollowingTransactions = 6 + } + + /// + /// <p>The Seller Relation Method.</p> + /// + /// <p>The Seller Relation Method.</p> + [DataMember(Name="sellerRelationMethod", EmitDefaultValue=false)] + public SellerRelationMethodEnum? SellerRelationMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>set sales Person Number (for Entered salesperson number).</p>. + /// <p>The Seller Relation Method.</p>. + /// <p>Defines whether the input of a sellerId is needed.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string salesPersonNumber = default(string), SellerRelationMethodEnum? sellerRelationMethod = default(SellerRelationMethodEnum?), bool? sellerAssignmentNeeded = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.SalesPersonNumber = salesPersonNumber; + this.SellerRelationMethod = sellerRelationMethod; + this.SellerAssignmentNeeded = sellerAssignmentNeeded; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>set sales Person Number (for Entered salesperson number).</p> + /// + /// <p>set sales Person Number (for Entered salesperson number).</p> + [DataMember(Name="salesPersonNumber", EmitDefaultValue=false)] + public string SalesPersonNumber { get; set; } + + + /// + /// <p>Defines whether the input of a sellerId is needed.</p> + /// + /// <p>Defines whether the input of a sellerId is needed.</p> + [DataMember(Name="sellerAssignmentNeeded", EmitDefaultValue=false)] + public bool? SellerAssignmentNeeded { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" SalesPersonNumber: ").Append(SalesPersonNumber).Append("\n"); + sb.Append(" SellerRelationMethod: ").Append(SellerRelationMethod).Append("\n"); + sb.Append(" SellerAssignmentNeeded: ").Append(SellerAssignmentNeeded).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.SalesPersonNumber == input.SalesPersonNumber || + (this.SalesPersonNumber != null && + this.SalesPersonNumber.Equals(input.SalesPersonNumber)) + ) && + ( + this.SellerRelationMethod == input.SellerRelationMethod || + (this.SellerRelationMethod != null && + this.SellerRelationMethod.Equals(input.SellerRelationMethod)) + ) && + ( + this.SellerAssignmentNeeded == input.SellerAssignmentNeeded || + (this.SellerAssignmentNeeded != null && + this.SellerAssignmentNeeded.Equals(input.SellerAssignmentNeeded)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.SalesPersonNumber != null) + hashCode = hashCode * 59 + this.SalesPersonNumber.GetHashCode(); + if (this.SellerRelationMethod != null) + hashCode = hashCode * 59 + this.SellerRelationMethod.GetHashCode(); + if (this.SellerAssignmentNeeded != null) + hashCode = hashCode * 59 + this.SellerAssignmentNeeded.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionScaleTransactionParams.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionScaleTransactionParams.cs new file mode 100644 index 0000000000000000000000000000000000000000..4e89d46359ce574fcfb816aaf00dfa6c4fd9d85c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionScaleTransactionParams.cs @@ -0,0 +1,427 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ScaleTransactionParams <p>Wrapper object used for offline scale transaction registration.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionScaleTransactionParams : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionScaleTransactionParams() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> (required). + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p>. + /// <p>The transaction identifier for the scale transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionScaleTransactionParams(bool? offlineMode = default(bool?), string collectiveNumber = default(string), string transactionIdentifier = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "offlineMode" is required (not null) + if (offlineMode == null) + { + throw new InvalidDataException("offlineMode is a required property for ComGkSoftwarePosApiServiceTransactionScaleTransactionParams and cannot be null"); + } + else + { + this.OfflineMode = offlineMode; + } + this.CollectiveNumber = collectiveNumber; + this.TransactionIdentifier = transactionIdentifier; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + [DataMember(Name="offlineMode", EmitDefaultValue=false)] + public bool? OfflineMode { get; set; } + + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + [DataMember(Name="collectiveNumber", EmitDefaultValue=false)] + public string CollectiveNumber { get; set; } + + /// + /// <p>The transaction identifier for the scale transaction.</p> + /// + /// <p>The transaction identifier for the scale transaction.</p> + [DataMember(Name="transactionIdentifier", EmitDefaultValue=false)] + public string TransactionIdentifier { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionScaleTransactionParams {\n"); + sb.Append(" OfflineMode: ").Append(OfflineMode).Append("\n"); + sb.Append(" CollectiveNumber: ").Append(CollectiveNumber).Append("\n"); + sb.Append(" TransactionIdentifier: ").Append(TransactionIdentifier).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionScaleTransactionParams); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionScaleTransactionParams instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionScaleTransactionParams to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionScaleTransactionParams input) + { + if (input == null) + return false; + + return + ( + this.OfflineMode == input.OfflineMode || + (this.OfflineMode != null && + this.OfflineMode.Equals(input.OfflineMode)) + ) && + ( + this.CollectiveNumber == input.CollectiveNumber || + (this.CollectiveNumber != null && + this.CollectiveNumber.Equals(input.CollectiveNumber)) + ) && + ( + this.TransactionIdentifier == input.TransactionIdentifier || + (this.TransactionIdentifier != null && + this.TransactionIdentifier.Equals(input.TransactionIdentifier)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OfflineMode != null) + hashCode = hashCode * 59 + this.OfflineMode.GetHashCode(); + if (this.CollectiveNumber != null) + hashCode = hashCode * 59 + this.CollectiveNumber.GetHashCode(); + if (this.TransactionIdentifier != null) + hashCode = hashCode * 59 + this.TransactionIdentifier.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8fbd9200e2bedee6986ef8ce68013198715e7a3f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest.cs @@ -0,0 +1,635 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchAndRetrieveSuspendedRetailTransactionsRequest <p>Request object for searching and retrieving suspended retail transactions.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit identifier.</p>. + /// <p>The suspend number.</p>. + /// <p>A list of parent customer identifiers.</p>. + /// <p>A list of customer identifiers.</p>. + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p>. + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p>. + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p>. + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>A card type which has to be used for the customer identification.</p>. + /// <p>The alternative tax informations for updating the tax group.</p>. + /// <p>A flag to indicate whether transactions from other stores are allowed.</p>. + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p>. + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p>. + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p>. + /// <p>The parameter defines, if rescan feature is enabled.</p>. + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest(string businessUnitId = default(string), string suspendNumber = default(string), List parentCustomerIds = default(List), List customerIds = default(List), bool? customerRequired = default(bool?), bool? onlySSCTransactions = default(bool?), bool? overtakeCustomerFromOriginalReceipt = default(bool?), string endDateTimestampFrom = default(string), string customerAddressTypeCode = default(string), ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos alternativeTaxInfos = default(ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos), bool? allowOtherStores = default(bool?), string promotionHandling = default(string), bool? consolidateLineItemsRetrieve = default(bool?), bool? consolidateReturnItems = default(bool?), bool? rescanEnabled = default(bool?), string iSOCurrencyCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.SuspendNumber = suspendNumber; + this.ParentCustomerIds = parentCustomerIds; + this.CustomerIds = customerIds; + this.CustomerRequired = customerRequired; + this.OnlySSCTransactions = onlySSCTransactions; + this.OvertakeCustomerFromOriginalReceipt = overtakeCustomerFromOriginalReceipt; + this.EndDateTimestampFrom = endDateTimestampFrom; + this.CustomerAddressTypeCode = customerAddressTypeCode; + this.AlternativeTaxInfos = alternativeTaxInfos; + this.AllowOtherStores = allowOtherStores; + this.PromotionHandling = promotionHandling; + this.ConsolidateLineItemsRetrieve = consolidateLineItemsRetrieve; + this.ConsolidateReturnItems = consolidateReturnItems; + this.RescanEnabled = rescanEnabled; + this.ISOCurrencyCode = iSOCurrencyCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The suspend number.</p> + /// + /// <p>The suspend number.</p> + [DataMember(Name="suspendNumber", EmitDefaultValue=false)] + public string SuspendNumber { get; set; } + + /// + /// <p>A list of parent customer identifiers.</p> + /// + /// <p>A list of parent customer identifiers.</p> + [DataMember(Name="parentCustomerIds", EmitDefaultValue=false)] + public List ParentCustomerIds { get; set; } + + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + [DataMember(Name="customerIds", EmitDefaultValue=false)] + public List CustomerIds { get; set; } + + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + [DataMember(Name="customerRequired", EmitDefaultValue=false)] + public bool? CustomerRequired { get; set; } + + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + [DataMember(Name="onlySSCTransactions", EmitDefaultValue=false)] + public bool? OnlySSCTransactions { get; set; } + + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + [DataMember(Name="overtakeCustomerFromOriginalReceipt", EmitDefaultValue=false)] + public bool? OvertakeCustomerFromOriginalReceipt { get; set; } + + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="endDateTimestampFrom", EmitDefaultValue=false)] + public string EndDateTimestampFrom { get; set; } + + /// + /// <p>A card type which has to be used for the customer identification.</p> + /// + /// <p>A card type which has to be used for the customer identification.</p> + [DataMember(Name="customerAddressTypeCode", EmitDefaultValue=false)] + public string CustomerAddressTypeCode { get; set; } + + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + [DataMember(Name="alternativeTaxInfos", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos AlternativeTaxInfos { get; set; } + + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + [DataMember(Name="allowOtherStores", EmitDefaultValue=false)] + public bool? AllowOtherStores { get; set; } + + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + [DataMember(Name="promotionHandling", EmitDefaultValue=false)] + public string PromotionHandling { get; set; } + + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + [DataMember(Name="consolidateLineItemsRetrieve", EmitDefaultValue=false)] + public bool? ConsolidateLineItemsRetrieve { get; set; } + + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + [DataMember(Name="consolidateReturnItems", EmitDefaultValue=false)] + public bool? ConsolidateReturnItems { get; set; } + + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + [DataMember(Name="rescanEnabled", EmitDefaultValue=false)] + public bool? RescanEnabled { get; set; } + + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + [DataMember(Name="iSOCurrencyCode", EmitDefaultValue=false)] + public string ISOCurrencyCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" SuspendNumber: ").Append(SuspendNumber).Append("\n"); + sb.Append(" ParentCustomerIds: ").Append(ParentCustomerIds).Append("\n"); + sb.Append(" CustomerIds: ").Append(CustomerIds).Append("\n"); + sb.Append(" CustomerRequired: ").Append(CustomerRequired).Append("\n"); + sb.Append(" OnlySSCTransactions: ").Append(OnlySSCTransactions).Append("\n"); + sb.Append(" OvertakeCustomerFromOriginalReceipt: ").Append(OvertakeCustomerFromOriginalReceipt).Append("\n"); + sb.Append(" EndDateTimestampFrom: ").Append(EndDateTimestampFrom).Append("\n"); + sb.Append(" CustomerAddressTypeCode: ").Append(CustomerAddressTypeCode).Append("\n"); + sb.Append(" AlternativeTaxInfos: ").Append(AlternativeTaxInfos).Append("\n"); + sb.Append(" AllowOtherStores: ").Append(AllowOtherStores).Append("\n"); + sb.Append(" PromotionHandling: ").Append(PromotionHandling).Append("\n"); + sb.Append(" ConsolidateLineItemsRetrieve: ").Append(ConsolidateLineItemsRetrieve).Append("\n"); + sb.Append(" ConsolidateReturnItems: ").Append(ConsolidateReturnItems).Append("\n"); + sb.Append(" RescanEnabled: ").Append(RescanEnabled).Append("\n"); + sb.Append(" ISOCurrencyCode: ").Append(ISOCurrencyCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.SuspendNumber == input.SuspendNumber || + (this.SuspendNumber != null && + this.SuspendNumber.Equals(input.SuspendNumber)) + ) && + ( + this.ParentCustomerIds == input.ParentCustomerIds || + this.ParentCustomerIds != null && + this.ParentCustomerIds.SequenceEqual(input.ParentCustomerIds) + ) && + ( + this.CustomerIds == input.CustomerIds || + this.CustomerIds != null && + this.CustomerIds.SequenceEqual(input.CustomerIds) + ) && + ( + this.CustomerRequired == input.CustomerRequired || + (this.CustomerRequired != null && + this.CustomerRequired.Equals(input.CustomerRequired)) + ) && + ( + this.OnlySSCTransactions == input.OnlySSCTransactions || + (this.OnlySSCTransactions != null && + this.OnlySSCTransactions.Equals(input.OnlySSCTransactions)) + ) && + ( + this.OvertakeCustomerFromOriginalReceipt == input.OvertakeCustomerFromOriginalReceipt || + (this.OvertakeCustomerFromOriginalReceipt != null && + this.OvertakeCustomerFromOriginalReceipt.Equals(input.OvertakeCustomerFromOriginalReceipt)) + ) && + ( + this.EndDateTimestampFrom == input.EndDateTimestampFrom || + (this.EndDateTimestampFrom != null && + this.EndDateTimestampFrom.Equals(input.EndDateTimestampFrom)) + ) && + ( + this.CustomerAddressTypeCode == input.CustomerAddressTypeCode || + (this.CustomerAddressTypeCode != null && + this.CustomerAddressTypeCode.Equals(input.CustomerAddressTypeCode)) + ) && + ( + this.AlternativeTaxInfos == input.AlternativeTaxInfos || + (this.AlternativeTaxInfos != null && + this.AlternativeTaxInfos.Equals(input.AlternativeTaxInfos)) + ) && + ( + this.AllowOtherStores == input.AllowOtherStores || + (this.AllowOtherStores != null && + this.AllowOtherStores.Equals(input.AllowOtherStores)) + ) && + ( + this.PromotionHandling == input.PromotionHandling || + (this.PromotionHandling != null && + this.PromotionHandling.Equals(input.PromotionHandling)) + ) && + ( + this.ConsolidateLineItemsRetrieve == input.ConsolidateLineItemsRetrieve || + (this.ConsolidateLineItemsRetrieve != null && + this.ConsolidateLineItemsRetrieve.Equals(input.ConsolidateLineItemsRetrieve)) + ) && + ( + this.ConsolidateReturnItems == input.ConsolidateReturnItems || + (this.ConsolidateReturnItems != null && + this.ConsolidateReturnItems.Equals(input.ConsolidateReturnItems)) + ) && + ( + this.RescanEnabled == input.RescanEnabled || + (this.RescanEnabled != null && + this.RescanEnabled.Equals(input.RescanEnabled)) + ) && + ( + this.ISOCurrencyCode == input.ISOCurrencyCode || + (this.ISOCurrencyCode != null && + this.ISOCurrencyCode.Equals(input.ISOCurrencyCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.SuspendNumber != null) + hashCode = hashCode * 59 + this.SuspendNumber.GetHashCode(); + if (this.ParentCustomerIds != null) + hashCode = hashCode * 59 + this.ParentCustomerIds.GetHashCode(); + if (this.CustomerIds != null) + hashCode = hashCode * 59 + this.CustomerIds.GetHashCode(); + if (this.CustomerRequired != null) + hashCode = hashCode * 59 + this.CustomerRequired.GetHashCode(); + if (this.OnlySSCTransactions != null) + hashCode = hashCode * 59 + this.OnlySSCTransactions.GetHashCode(); + if (this.OvertakeCustomerFromOriginalReceipt != null) + hashCode = hashCode * 59 + this.OvertakeCustomerFromOriginalReceipt.GetHashCode(); + if (this.EndDateTimestampFrom != null) + hashCode = hashCode * 59 + this.EndDateTimestampFrom.GetHashCode(); + if (this.CustomerAddressTypeCode != null) + hashCode = hashCode * 59 + this.CustomerAddressTypeCode.GetHashCode(); + if (this.AlternativeTaxInfos != null) + hashCode = hashCode * 59 + this.AlternativeTaxInfos.GetHashCode(); + if (this.AllowOtherStores != null) + hashCode = hashCode * 59 + this.AllowOtherStores.GetHashCode(); + if (this.PromotionHandling != null) + hashCode = hashCode * 59 + this.PromotionHandling.GetHashCode(); + if (this.ConsolidateLineItemsRetrieve != null) + hashCode = hashCode * 59 + this.ConsolidateLineItemsRetrieve.GetHashCode(); + if (this.ConsolidateReturnItems != null) + hashCode = hashCode * 59 + this.ConsolidateReturnItems.GetHashCode(); + if (this.RescanEnabled != null) + hashCode = hashCode * 59 + this.RescanEnabled.GetHashCode(); + if (this.ISOCurrencyCode != null) + hashCode = hashCode * 59 + this.ISOCurrencyCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2689963735efa58a4a2330500f810cec2949431d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchCustomerTransactionsRequest <p>Request object for the search customer transactions operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of customer identifiers.</p>. + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The workstation type code.</p>. + /// <p>The maximum count of receipts. The search result will be limited to that number.</p>. + /// <p>The suspended flag. If set to true only transactions with isSuspended flag true and isRetrieved flag false are searched.</p>. + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest(List customerIds = default(List), string beginDateTimestampGreaterOrEquals = default(string), string workstationTypeCode = default(string), int? maxReceiptCount = default(int?), bool? suspendedFlag = default(bool?), string iSOCurrencyCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerIds = customerIds; + this.BeginDateTimestampGreaterOrEquals = beginDateTimestampGreaterOrEquals; + this.WorkstationTypeCode = workstationTypeCode; + this.MaxReceiptCount = maxReceiptCount; + this.SuspendedFlag = suspendedFlag; + this.ISOCurrencyCode = iSOCurrencyCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + [DataMember(Name="customerIds", EmitDefaultValue=false)] + public List CustomerIds { get; set; } + + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="beginDateTimestampGreaterOrEquals", EmitDefaultValue=false)] + public string BeginDateTimestampGreaterOrEquals { get; set; } + + /// + /// <p>The workstation type code.</p> + /// + /// <p>The workstation type code.</p> + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// <p>The maximum count of receipts. The search result will be limited to that number.</p> + /// + /// <p>The maximum count of receipts. The search result will be limited to that number.</p> + [DataMember(Name="maxReceiptCount", EmitDefaultValue=false)] + public int? MaxReceiptCount { get; set; } + + /// + /// <p>The suspended flag. If set to true only transactions with isSuspended flag true and isRetrieved flag false are searched.</p> + /// + /// <p>The suspended flag. If set to true only transactions with isSuspended flag true and isRetrieved flag false are searched.</p> + [DataMember(Name="suspendedFlag", EmitDefaultValue=false)] + public bool? SuspendedFlag { get; set; } + + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + [DataMember(Name="iSOCurrencyCode", EmitDefaultValue=false)] + public string ISOCurrencyCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest {\n"); + sb.Append(" CustomerIds: ").Append(CustomerIds).Append("\n"); + sb.Append(" BeginDateTimestampGreaterOrEquals: ").Append(BeginDateTimestampGreaterOrEquals).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" MaxReceiptCount: ").Append(MaxReceiptCount).Append("\n"); + sb.Append(" SuspendedFlag: ").Append(SuspendedFlag).Append("\n"); + sb.Append(" ISOCurrencyCode: ").Append(ISOCurrencyCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest input) + { + if (input == null) + return false; + + return + ( + this.CustomerIds == input.CustomerIds || + this.CustomerIds != null && + this.CustomerIds.SequenceEqual(input.CustomerIds) + ) && + ( + this.BeginDateTimestampGreaterOrEquals == input.BeginDateTimestampGreaterOrEquals || + (this.BeginDateTimestampGreaterOrEquals != null && + this.BeginDateTimestampGreaterOrEquals.Equals(input.BeginDateTimestampGreaterOrEquals)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.MaxReceiptCount == input.MaxReceiptCount || + (this.MaxReceiptCount != null && + this.MaxReceiptCount.Equals(input.MaxReceiptCount)) + ) && + ( + this.SuspendedFlag == input.SuspendedFlag || + (this.SuspendedFlag != null && + this.SuspendedFlag.Equals(input.SuspendedFlag)) + ) && + ( + this.ISOCurrencyCode == input.ISOCurrencyCode || + (this.ISOCurrencyCode != null && + this.ISOCurrencyCode.Equals(input.ISOCurrencyCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerIds != null) + hashCode = hashCode * 59 + this.CustomerIds.GetHashCode(); + if (this.BeginDateTimestampGreaterOrEquals != null) + hashCode = hashCode * 59 + this.BeginDateTimestampGreaterOrEquals.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.MaxReceiptCount != null) + hashCode = hashCode * 59 + this.MaxReceiptCount.GetHashCode(); + if (this.SuspendedFlag != null) + hashCode = hashCode * 59 + this.SuspendedFlag.GetHashCode(); + if (this.ISOCurrencyCode != null) + hashCode = hashCode * 59 + this.ISOCurrencyCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..126c504f8e4cd31061c4e3a28357bc78fff7bf4a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchFiscalStartTransactionRequest <p>Request object to search fiscal start transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit identifier.</p>. + /// <p>The identifier for the fiscal printer.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest(string businessUnitId = default(string), string fiscalPrinterId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.FiscalPrinterId = fiscalPrinterId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The identifier for the fiscal printer.</p> + /// + /// <p>The identifier for the fiscal printer.</p> + [DataMember(Name="fiscalPrinterId", EmitDefaultValue=false)] + public string FiscalPrinterId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" FiscalPrinterId: ").Append(FiscalPrinterId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.FiscalPrinterId == input.FiscalPrinterId || + (this.FiscalPrinterId != null && + this.FiscalPrinterId.Equals(input.FiscalPrinterId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.FiscalPrinterId != null) + hashCode = hashCode * 59 + this.FiscalPrinterId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..28e486418dd513db0223ed6db2360d357b2ae029 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchLastFinalizedRetailTransactionRequest <p>Request object for the the search last finalized retail transaction operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit identifier.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The operator identifier.</p>. + /// <p>If the search should be done only in the local database.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest(string businessUnitId = default(string), string workstationId = default(string), string operatorId = default(string), bool? localSearchOnly = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.WorkstationId = workstationId; + this.OperatorId = operatorId; + this.LocalSearchOnly = localSearchOnly; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>If the search should be done only in the local database.</p> + /// + /// <p>If the search should be done only in the local database.</p> + [DataMember(Name="localSearchOnly", EmitDefaultValue=false)] + public bool? LocalSearchOnly { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" LocalSearchOnly: ").Append(LocalSearchOnly).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.LocalSearchOnly == input.LocalSearchOnly || + (this.LocalSearchOnly != null && + this.LocalSearchOnly.Equals(input.LocalSearchOnly)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.LocalSearchOnly != null) + hashCode = hashCode * 59 + this.LocalSearchOnly.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a445d4312e1f541ceeb8c4b87eff057da3963269 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchLastUnfinishedRetailTransactionRequest <p>Request object for the the search last unfinished retail transaction operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit identifier.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The operator identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest(string businessUnitId = default(string), string workstationId = default(string), string operatorId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.WorkstationId = workstationId; + this.OperatorId = operatorId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..aa8e7d91773d1736ef1992de1afeeab6b6f3789b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchRetailTransactionRequest <p>Request object for the the search retail transaction operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit identifier.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The end workstation identifier.</p>. + /// <p>The business day date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The sequence number.</p>. + /// <p>The operator identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest(string businessUnitId = default(string), string workstationId = default(string), string endWorkstationId = default(string), string businessDayDate = default(string), string sequenceNumber = default(string), string operatorId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.WorkstationId = workstationId; + this.EndWorkstationId = endWorkstationId; + this.BusinessDayDate = businessDayDate; + this.SequenceNumber = sequenceNumber; + this.OperatorId = operatorId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The end workstation identifier.</p> + /// + /// <p>The end workstation identifier.</p> + [DataMember(Name="endWorkstationId", EmitDefaultValue=false)] + public string EndWorkstationId { get; set; } + + /// + /// <p>The business day date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The business day date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="businessDayDate", EmitDefaultValue=false)] + public string BusinessDayDate { get; set; } + + /// + /// <p>The sequence number.</p> + /// + /// <p>The sequence number.</p> + [DataMember(Name="sequenceNumber", EmitDefaultValue=false)] + public string SequenceNumber { get; set; } + + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" EndWorkstationId: ").Append(EndWorkstationId).Append("\n"); + sb.Append(" BusinessDayDate: ").Append(BusinessDayDate).Append("\n"); + sb.Append(" SequenceNumber: ").Append(SequenceNumber).Append("\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.EndWorkstationId == input.EndWorkstationId || + (this.EndWorkstationId != null && + this.EndWorkstationId.Equals(input.EndWorkstationId)) + ) && + ( + this.BusinessDayDate == input.BusinessDayDate || + (this.BusinessDayDate != null && + this.BusinessDayDate.Equals(input.BusinessDayDate)) + ) && + ( + this.SequenceNumber == input.SequenceNumber || + (this.SequenceNumber != null && + this.SequenceNumber.Equals(input.SequenceNumber)) + ) && + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.EndWorkstationId != null) + hashCode = hashCode * 59 + this.EndWorkstationId.GetHashCode(); + if (this.BusinessDayDate != null) + hashCode = hashCode * 59 + this.BusinessDayDate.GetHashCode(); + if (this.SequenceNumber != null) + hashCode = hashCode * 59 + this.SequenceNumber.GetHashCode(); + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3307a7c1f6ca7c7e7c974fb56b95f1139d6cd91b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest.cs @@ -0,0 +1,533 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SearchSuspendedTransactionsRequest <p>Request object for the search suspended transactions operation.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit identifier.</p>. + /// <p>The suspend number.</p>. + /// <p>A list of parent customer identifiers.</p>. + /// <p>A list of customer identifiers.</p>. + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p>. + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p>. + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p>. + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>A card type which has to be used for the customer identification.</p>. + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest(string businessUnitId = default(string), string suspendNumber = default(string), List parentCustomerIds = default(List), List customerIds = default(List), bool? customerRequired = default(bool?), bool? onlySSCTransactions = default(bool?), bool? overtakeCustomerFromOriginalReceipt = default(bool?), string endDateTimestampFrom = default(string), string customerAddressTypeCode = default(string), string iSOCurrencyCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.SuspendNumber = suspendNumber; + this.ParentCustomerIds = parentCustomerIds; + this.CustomerIds = customerIds; + this.CustomerRequired = customerRequired; + this.OnlySSCTransactions = onlySSCTransactions; + this.OvertakeCustomerFromOriginalReceipt = overtakeCustomerFromOriginalReceipt; + this.EndDateTimestampFrom = endDateTimestampFrom; + this.CustomerAddressTypeCode = customerAddressTypeCode; + this.ISOCurrencyCode = iSOCurrencyCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The suspend number.</p> + /// + /// <p>The suspend number.</p> + [DataMember(Name="suspendNumber", EmitDefaultValue=false)] + public string SuspendNumber { get; set; } + + /// + /// <p>A list of parent customer identifiers.</p> + /// + /// <p>A list of parent customer identifiers.</p> + [DataMember(Name="parentCustomerIds", EmitDefaultValue=false)] + public List ParentCustomerIds { get; set; } + + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + [DataMember(Name="customerIds", EmitDefaultValue=false)] + public List CustomerIds { get; set; } + + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + [DataMember(Name="customerRequired", EmitDefaultValue=false)] + public bool? CustomerRequired { get; set; } + + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + [DataMember(Name="onlySSCTransactions", EmitDefaultValue=false)] + public bool? OnlySSCTransactions { get; set; } + + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + [DataMember(Name="overtakeCustomerFromOriginalReceipt", EmitDefaultValue=false)] + public bool? OvertakeCustomerFromOriginalReceipt { get; set; } + + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="endDateTimestampFrom", EmitDefaultValue=false)] + public string EndDateTimestampFrom { get; set; } + + /// + /// <p>A card type which has to be used for the customer identification.</p> + /// + /// <p>A card type which has to be used for the customer identification.</p> + [DataMember(Name="customerAddressTypeCode", EmitDefaultValue=false)] + public string CustomerAddressTypeCode { get; set; } + + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + [DataMember(Name="iSOCurrencyCode", EmitDefaultValue=false)] + public string ISOCurrencyCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" SuspendNumber: ").Append(SuspendNumber).Append("\n"); + sb.Append(" ParentCustomerIds: ").Append(ParentCustomerIds).Append("\n"); + sb.Append(" CustomerIds: ").Append(CustomerIds).Append("\n"); + sb.Append(" CustomerRequired: ").Append(CustomerRequired).Append("\n"); + sb.Append(" OnlySSCTransactions: ").Append(OnlySSCTransactions).Append("\n"); + sb.Append(" OvertakeCustomerFromOriginalReceipt: ").Append(OvertakeCustomerFromOriginalReceipt).Append("\n"); + sb.Append(" EndDateTimestampFrom: ").Append(EndDateTimestampFrom).Append("\n"); + sb.Append(" CustomerAddressTypeCode: ").Append(CustomerAddressTypeCode).Append("\n"); + sb.Append(" ISOCurrencyCode: ").Append(ISOCurrencyCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.SuspendNumber == input.SuspendNumber || + (this.SuspendNumber != null && + this.SuspendNumber.Equals(input.SuspendNumber)) + ) && + ( + this.ParentCustomerIds == input.ParentCustomerIds || + this.ParentCustomerIds != null && + this.ParentCustomerIds.SequenceEqual(input.ParentCustomerIds) + ) && + ( + this.CustomerIds == input.CustomerIds || + this.CustomerIds != null && + this.CustomerIds.SequenceEqual(input.CustomerIds) + ) && + ( + this.CustomerRequired == input.CustomerRequired || + (this.CustomerRequired != null && + this.CustomerRequired.Equals(input.CustomerRequired)) + ) && + ( + this.OnlySSCTransactions == input.OnlySSCTransactions || + (this.OnlySSCTransactions != null && + this.OnlySSCTransactions.Equals(input.OnlySSCTransactions)) + ) && + ( + this.OvertakeCustomerFromOriginalReceipt == input.OvertakeCustomerFromOriginalReceipt || + (this.OvertakeCustomerFromOriginalReceipt != null && + this.OvertakeCustomerFromOriginalReceipt.Equals(input.OvertakeCustomerFromOriginalReceipt)) + ) && + ( + this.EndDateTimestampFrom == input.EndDateTimestampFrom || + (this.EndDateTimestampFrom != null && + this.EndDateTimestampFrom.Equals(input.EndDateTimestampFrom)) + ) && + ( + this.CustomerAddressTypeCode == input.CustomerAddressTypeCode || + (this.CustomerAddressTypeCode != null && + this.CustomerAddressTypeCode.Equals(input.CustomerAddressTypeCode)) + ) && + ( + this.ISOCurrencyCode == input.ISOCurrencyCode || + (this.ISOCurrencyCode != null && + this.ISOCurrencyCode.Equals(input.ISOCurrencyCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.SuspendNumber != null) + hashCode = hashCode * 59 + this.SuspendNumber.GetHashCode(); + if (this.ParentCustomerIds != null) + hashCode = hashCode * 59 + this.ParentCustomerIds.GetHashCode(); + if (this.CustomerIds != null) + hashCode = hashCode * 59 + this.CustomerIds.GetHashCode(); + if (this.CustomerRequired != null) + hashCode = hashCode * 59 + this.CustomerRequired.GetHashCode(); + if (this.OnlySSCTransactions != null) + hashCode = hashCode * 59 + this.OnlySSCTransactions.GetHashCode(); + if (this.OvertakeCustomerFromOriginalReceipt != null) + hashCode = hashCode * 59 + this.OvertakeCustomerFromOriginalReceipt.GetHashCode(); + if (this.EndDateTimestampFrom != null) + hashCode = hashCode * 59 + this.EndDateTimestampFrom.GetHashCode(); + if (this.CustomerAddressTypeCode != null) + hashCode = hashCode * 59 + this.CustomerAddressTypeCode.GetHashCode(); + if (this.ISOCurrencyCode != null) + hashCode = hashCode * 59 + this.ISOCurrencyCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer.cs new file mode 100644 index 0000000000000000000000000000000000000000..4d242e89bebd0269f6a5d237c24619bfa3e92dd1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer.cs @@ -0,0 +1,494 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SerializedUnitModifer <p>The serialized unit modifer</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The serial number</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string serialNumber = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.SerialNumber = serialNumber; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The serial number</p> + /// + /// <p>The serial number</p> + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3a599be78c0fdc13f8ab518e89f1ff4a67baad3b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetFiscalReceiptNumberRequest <p>The request object for setting a fiscal receipt number to the transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The fiscalization receipt number to set.</p>. + /// <p>The position operation configuration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest(string fiscalReceiptNumber = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.FiscalReceiptNumber = fiscalReceiptNumber; + this.PositionOperationConfig = positionOperationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The fiscalization receipt number to set.</p> + /// + /// <p>The fiscalization receipt number to set.</p> + [DataMember(Name="fiscalReceiptNumber", EmitDefaultValue=false)] + public string FiscalReceiptNumber { get; set; } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest {\n"); + sb.Append(" FiscalReceiptNumber: ").Append(FiscalReceiptNumber).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest input) + { + if (input == null) + return false; + + return + ( + this.FiscalReceiptNumber == input.FiscalReceiptNumber || + (this.FiscalReceiptNumber != null && + this.FiscalReceiptNumber.Equals(input.FiscalReceiptNumber)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FiscalReceiptNumber != null) + hashCode = hashCode * 59 + this.FiscalReceiptNumber.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a4b5a577c017237e6843bf2f4eb5a9589579bb3d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest.cs @@ -0,0 +1,477 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetLineItemCustomFieldsRequest <p>The entity SetLineItemCustomFieldsRequest.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetQuantityRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetQuantityRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7b2848bdd2097d6e1408b135f709933f0f45649b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetQuantityRequest.cs @@ -0,0 +1,675 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetQuantityRequest <p>Domain object for SetQuantity Request</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSetQuantityRequest : IEquatable, IValidatableObject + { + /// + /// <p>The trigger of the SetQuantityForLineItem process.</p> + /// + /// <p>The trigger of the SetQuantityForLineItem process.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum ProcessTriggerEnum + { + + /// + /// Enum QUANTITYBUTTON for value: QUANTITY_BUTTON + /// + [EnumMember(Value = "QUANTITY_BUTTON")] + QUANTITYBUTTON = 1, + + /// + /// Enum ENTERNEWITEM for value: ENTER_NEW_ITEM + /// + [EnumMember(Value = "ENTER_NEW_ITEM")] + ENTERNEWITEM = 2, + + /// + /// Enum REPEATDIVISIBLEITEM for value: REPEAT_DIVISIBLE_ITEM + /// + [EnumMember(Value = "REPEAT_DIVISIBLE_ITEM")] + REPEATDIVISIBLEITEM = 3, + + /// + /// Enum REPEATSCALABLEITEM for value: REPEAT_SCALABLE_ITEM + /// + [EnumMember(Value = "REPEAT_SCALABLE_ITEM")] + REPEATSCALABLEITEM = 4, + + /// + /// Enum MENUTABLES for value: MENU_TABLES + /// + [EnumMember(Value = "MENU_TABLES")] + MENUTABLES = 5, + + /// + /// Enum PLUSBUTTON for value: PLUS_BUTTON + /// + [EnumMember(Value = "PLUS_BUTTON")] + PLUSBUTTON = 6, + + /// + /// Enum MINUSBUTTON for value: MINUS_BUTTON + /// + [EnumMember(Value = "MINUS_BUTTON")] + MINUSBUTTON = 7, + + /// + /// Enum ENTERNEWQUANTITY for value: ENTER_NEW_QUANTITY + /// + [EnumMember(Value = "ENTER_NEW_QUANTITY")] + ENTERNEWQUANTITY = 8, + + /// + /// Enum ENTERSKIPPEDQUANTITY for value: ENTER_SKIPPED_QUANTITY + /// + [EnumMember(Value = "ENTER_SKIPPED_QUANTITY")] + ENTERSKIPPEDQUANTITY = 9 + } + + /// + /// <p>The trigger of the SetQuantityForLineItem process.</p> + /// + /// <p>The trigger of the SetQuantityForLineItem process.</p> + [DataMember(Name="processTrigger", EmitDefaultValue=false)] + public ProcessTriggerEnum? ProcessTrigger { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSetQuantityRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>The quantity input.</p>. + /// <p>The active customer order id.</p>. + /// <p>The customer sequence number.</p>. + /// <p>Set to false if validations should be skip. Default value is true.</p> (required). + /// <p>Set to true if single quantity limit was exceeded and successfully authorized</p> (required). + /// <p>The trigger of the SetQuantityForLineItem process.</p>. + /// <p>The weight result of a previously executed weighing process.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSetQuantityRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), ComGkSoftwarePosApiServiceTransactionQuantityInput quantityInput = default(ComGkSoftwarePosApiServiceTransactionQuantityInput), string activeCustomerOrderId = default(string), int? customerSequenceNumber = default(int?), bool? validate = default(bool?), bool? exceededSingleQuantityAuthorized = default(bool?), ProcessTriggerEnum? processTrigger = default(ProcessTriggerEnum?), ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult weightResult = default(ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSetQuantityRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSetQuantityRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSetQuantityRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + // to ensure "validate" is required (not null) + if (validate == null) + { + throw new InvalidDataException("validate is a required property for ComGkSoftwarePosApiServiceTransactionSetQuantityRequest and cannot be null"); + } + else + { + this.Validate = validate; + } + // to ensure "exceededSingleQuantityAuthorized" is required (not null) + if (exceededSingleQuantityAuthorized == null) + { + throw new InvalidDataException("exceededSingleQuantityAuthorized is a required property for ComGkSoftwarePosApiServiceTransactionSetQuantityRequest and cannot be null"); + } + else + { + this.ExceededSingleQuantityAuthorized = exceededSingleQuantityAuthorized; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.QuantityInput = quantityInput; + this.ActiveCustomerOrderId = activeCustomerOrderId; + this.CustomerSequenceNumber = customerSequenceNumber; + this.ProcessTrigger = processTrigger; + this.WeightResult = weightResult; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>The quantity input.</p> + /// + /// <p>The quantity input.</p> + [DataMember(Name="quantityInput", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionQuantityInput QuantityInput { get; set; } + + /// + /// <p>The active customer order id.</p> + /// + /// <p>The active customer order id.</p> + [DataMember(Name="activeCustomerOrderId", EmitDefaultValue=false)] + public string ActiveCustomerOrderId { get; set; } + + /// + /// <p>The customer sequence number.</p> + /// + /// <p>The customer sequence number.</p> + [DataMember(Name="customerSequenceNumber", EmitDefaultValue=false)] + public int? CustomerSequenceNumber { get; set; } + + /// + /// <p>Set to false if validations should be skip. Default value is true.</p> + /// + /// <p>Set to false if validations should be skip. Default value is true.</p> + [DataMember(Name="validate", EmitDefaultValue=false)] + public bool? Validate { get; set; } + + /// + /// <p>Set to true if single quantity limit was exceeded and successfully authorized</p> + /// + /// <p>Set to true if single quantity limit was exceeded and successfully authorized</p> + [DataMember(Name="exceededSingleQuantityAuthorized", EmitDefaultValue=false)] + public bool? ExceededSingleQuantityAuthorized { get; set; } + + + /// + /// <p>The weight result of a previously executed weighing process.</p> + /// + /// <p>The weight result of a previously executed weighing process.</p> + [DataMember(Name="weightResult", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult WeightResult { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSetQuantityRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" QuantityInput: ").Append(QuantityInput).Append("\n"); + sb.Append(" ActiveCustomerOrderId: ").Append(ActiveCustomerOrderId).Append("\n"); + sb.Append(" CustomerSequenceNumber: ").Append(CustomerSequenceNumber).Append("\n"); + sb.Append(" Validate: ").Append(Validate).Append("\n"); + sb.Append(" ExceededSingleQuantityAuthorized: ").Append(ExceededSingleQuantityAuthorized).Append("\n"); + sb.Append(" ProcessTrigger: ").Append(ProcessTrigger).Append("\n"); + sb.Append(" WeightResult: ").Append(WeightResult).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSetQuantityRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSetQuantityRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSetQuantityRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSetQuantityRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.QuantityInput == input.QuantityInput || + (this.QuantityInput != null && + this.QuantityInput.Equals(input.QuantityInput)) + ) && + ( + this.ActiveCustomerOrderId == input.ActiveCustomerOrderId || + (this.ActiveCustomerOrderId != null && + this.ActiveCustomerOrderId.Equals(input.ActiveCustomerOrderId)) + ) && + ( + this.CustomerSequenceNumber == input.CustomerSequenceNumber || + (this.CustomerSequenceNumber != null && + this.CustomerSequenceNumber.Equals(input.CustomerSequenceNumber)) + ) && + ( + this.Validate == input.Validate || + (this.Validate != null && + this.Validate.Equals(input.Validate)) + ) && + ( + this.ExceededSingleQuantityAuthorized == input.ExceededSingleQuantityAuthorized || + (this.ExceededSingleQuantityAuthorized != null && + this.ExceededSingleQuantityAuthorized.Equals(input.ExceededSingleQuantityAuthorized)) + ) && + ( + this.ProcessTrigger == input.ProcessTrigger || + (this.ProcessTrigger != null && + this.ProcessTrigger.Equals(input.ProcessTrigger)) + ) && + ( + this.WeightResult == input.WeightResult || + (this.WeightResult != null && + this.WeightResult.Equals(input.WeightResult)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.QuantityInput != null) + hashCode = hashCode * 59 + this.QuantityInput.GetHashCode(); + if (this.ActiveCustomerOrderId != null) + hashCode = hashCode * 59 + this.ActiveCustomerOrderId.GetHashCode(); + if (this.CustomerSequenceNumber != null) + hashCode = hashCode * 59 + this.CustomerSequenceNumber.GetHashCode(); + if (this.Validate != null) + hashCode = hashCode * 59 + this.Validate.GetHashCode(); + if (this.ExceededSingleQuantityAuthorized != null) + hashCode = hashCode * 59 + this.ExceededSingleQuantityAuthorized.GetHashCode(); + if (this.ProcessTrigger != null) + hashCode = hashCode * 59 + this.ProcessTrigger.GetHashCode(); + if (this.WeightResult != null) + hashCode = hashCode * 59 + this.WeightResult.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..93ba604d6e572bab51f60531aa8901f4772e05c7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest.cs @@ -0,0 +1,545 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetSerialNumberRequest <p>A request for setting serial numbers.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The line item key the operation refers to.</p>. + /// <p>Indicated whether the item should be returned or registered.</p> (required). + /// <p>Flag indicating client is in empties return mode.</p> (required). + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> (required). + /// <p>Serial number to set.</p>. + /// <p>A reason code for this request (e.g. reason for price change).</p>. + /// <p>A reason code group code for this request (e.g. reason for price change).</p>. + /// <p>A reason description for this request (e.g. reason for price change).</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), bool? returnMode = default(bool?), bool? emptiesReturnMode = default(bool?), bool? createReturnReceipt = default(bool?), string serialNumber = default(string), string reasonCode = default(string), string reasonCodeGroupCode = default(string), string reasonDescription = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "returnMode" is required (not null) + if (returnMode == null) + { + throw new InvalidDataException("returnMode is a required property for ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest and cannot be null"); + } + else + { + this.ReturnMode = returnMode; + } + // to ensure "emptiesReturnMode" is required (not null) + if (emptiesReturnMode == null) + { + throw new InvalidDataException("emptiesReturnMode is a required property for ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest and cannot be null"); + } + else + { + this.EmptiesReturnMode = emptiesReturnMode; + } + // to ensure "createReturnReceipt" is required (not null) + if (createReturnReceipt == null) + { + throw new InvalidDataException("createReturnReceipt is a required property for ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest and cannot be null"); + } + else + { + this.CreateReturnReceipt = createReturnReceipt; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.SerialNumber = serialNumber; + this.ReasonCode = reasonCode; + this.ReasonCodeGroupCode = reasonCodeGroupCode; + this.ReasonDescription = reasonDescription; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + [DataMember(Name="returnMode", EmitDefaultValue=false)] + public bool? ReturnMode { get; set; } + + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + [DataMember(Name="emptiesReturnMode", EmitDefaultValue=false)] + public bool? EmptiesReturnMode { get; set; } + + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + [DataMember(Name="createReturnReceipt", EmitDefaultValue=false)] + public bool? CreateReturnReceipt { get; set; } + + /// + /// <p>Serial number to set.</p> + /// + /// <p>Serial number to set.</p> + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// <p>A reason code for this request (e.g. reason for price change).</p> + /// + /// <p>A reason code for this request (e.g. reason for price change).</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>A reason code group code for this request (e.g. reason for price change).</p> + /// + /// <p>A reason code group code for this request (e.g. reason for price change).</p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>A reason description for this request (e.g. reason for price change).</p> + /// + /// <p>A reason description for this request (e.g. reason for price change).</p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" ReturnMode: ").Append(ReturnMode).Append("\n"); + sb.Append(" EmptiesReturnMode: ").Append(EmptiesReturnMode).Append("\n"); + sb.Append(" CreateReturnReceipt: ").Append(CreateReturnReceipt).Append("\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.ReturnMode == input.ReturnMode || + (this.ReturnMode != null && + this.ReturnMode.Equals(input.ReturnMode)) + ) && + ( + this.EmptiesReturnMode == input.EmptiesReturnMode || + (this.EmptiesReturnMode != null && + this.EmptiesReturnMode.Equals(input.EmptiesReturnMode)) + ) && + ( + this.CreateReturnReceipt == input.CreateReturnReceipt || + (this.CreateReturnReceipt != null && + this.CreateReturnReceipt.Equals(input.CreateReturnReceipt)) + ) && + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.ReturnMode != null) + hashCode = hashCode * 59 + this.ReturnMode.GetHashCode(); + if (this.EmptiesReturnMode != null) + hashCode = hashCode * 59 + this.EmptiesReturnMode.GetHashCode(); + if (this.CreateReturnReceipt != null) + hashCode = hashCode * 59 + this.CreateReturnReceipt.GetHashCode(); + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..17fbd99f4421d69c7688914bcadf621e24c283e2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetTransactionCustomFieldsRequest <p>Request object to set custom field values for currently active transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..eda9a0f62cbe94a6fc202e1888feda30a4f26bce --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetTransactionEndAttributesRequest <p>Request object to set transaction end attributes to a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the transaction.</p>. + /// <p>The workstation identifier.</p>. + /// <p>The till identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest(string transactionId = default(string), string workstationId = default(string), string tillId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.WorkstationId = workstationId; + this.TillId = tillId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of the transaction.</p> + /// + /// <p>The identifier of the transaction.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// <p>The till identifier.</p> + /// + /// <p>The till identifier.</p> + [DataMember(Name="tillId", EmitDefaultValue=false)] + public string TillId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" TillId: ").Append(TillId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.TillId == input.TillId || + (this.TillId != null && + this.TillId.Equals(input.TillId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.TillId != null) + hashCode = hashCode * 59 + this.TillId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..95a5c1e1f257d722ef197e5ce677f5d32e07c1a7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SetTransactionReasonRequest <p>Request object for setting a reason to a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier of the transaction where the reason should be set.</p>. + /// <p>The reason code.</p>. + /// <p>The reason description.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest(string transactionId = default(string), string reasonCode = default(string), string reasonDescription = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.ReasonCode = reasonCode; + this.ReasonDescription = reasonDescription; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier of the transaction where the reason should be set.</p> + /// + /// <p>The identifier of the transaction where the reason should be set.</p> + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// <p>The reason description.</p> + /// + /// <p>The reason description.</p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..250f0ad51a0f188e9a509c88f9e29c9d7bd4395e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest.cs @@ -0,0 +1,393 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StoreLineItemTaxGroupIdRequest <p>Request object to store the tax group id to the sales return line items</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Tax group id line item object</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest(List taxGroupIdLineItem = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "taxGroupIdLineItem" is required (not null) + if (taxGroupIdLineItem == null) + { + throw new InvalidDataException("taxGroupIdLineItem is a required property for ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest and cannot be null"); + } + else + { + this.TaxGroupIdLineItem = taxGroupIdLineItem; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Tax group id line item object</p> + /// + /// <p>Tax group id line item object</p> + [DataMember(Name="taxGroupIdLineItem", EmitDefaultValue=false)] + public List TaxGroupIdLineItem { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest {\n"); + sb.Append(" TaxGroupIdLineItem: ").Append(TaxGroupIdLineItem).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest input) + { + if (input == null) + return false; + + return + ( + this.TaxGroupIdLineItem == input.TaxGroupIdLineItem || + this.TaxGroupIdLineItem != null && + this.TaxGroupIdLineItem.SequenceEqual(input.TaxGroupIdLineItem) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TaxGroupIdLineItem != null) + hashCode = hashCode * 59 + this.TaxGroupIdLineItem.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..99fe340c840cf4d859334b08cc575abc6475088f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult.cs @@ -0,0 +1,468 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SubtotalOperationResult TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// allContractPricesLoaded (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), bool? allContractPricesLoaded = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + // to ensure "allContractPricesLoaded" is required (not null) + if (allContractPricesLoaded == null) + { + throw new InvalidDataException("allContractPricesLoaded is a required property for ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult and cannot be null"); + } + else + { + this.AllContractPricesLoaded = allContractPricesLoaded; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// Gets or Sets AllContractPricesLoaded + /// + [DataMember(Name="allContractPricesLoaded", EmitDefaultValue=false)] + public bool? AllContractPricesLoaded { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" AllContractPricesLoaded: ").Append(AllContractPricesLoaded).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.AllContractPricesLoaded == input.AllContractPricesLoaded || + (this.AllContractPricesLoaded != null && + this.AllContractPricesLoaded.Equals(input.AllContractPricesLoaded)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.AllContractPricesLoaded != null) + hashCode = hashCode * 59 + this.AllContractPricesLoaded.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c2875795509113af4014d40f15b302be98e2f70 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest.cs @@ -0,0 +1,476 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SuspendTransactionRequest <p>Request object to suspend currently active transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The suspend number for the transaction.</p>. + /// <p>Specifies the barcode prefix of the suspended receipt</p>. + /// <p>The position operation configuration.</p>. + /// <p>A flag to indicate whether the transaction should be finalized. The default value is true.</p> (required). + /// consolidateLineItemsSuspending. + /// consolidateReturnItems. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest(string suspendNumber = default(string), string barCodePrefix = default(string), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? finalizeTransaction = default(bool?), bool? consolidateLineItemsSuspending = default(bool?), bool? consolidateReturnItems = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "finalizeTransaction" is required (not null) + if (finalizeTransaction == null) + { + throw new InvalidDataException("finalizeTransaction is a required property for ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest and cannot be null"); + } + else + { + this.FinalizeTransaction = finalizeTransaction; + } + this.SuspendNumber = suspendNumber; + this.BarCodePrefix = barCodePrefix; + this.PositionOperationConfig = positionOperationConfig; + this.ConsolidateLineItemsSuspending = consolidateLineItemsSuspending; + this.ConsolidateReturnItems = consolidateReturnItems; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The suspend number for the transaction.</p> + /// + /// <p>The suspend number for the transaction.</p> + [DataMember(Name="suspendNumber", EmitDefaultValue=false)] + public string SuspendNumber { get; set; } + + /// + /// <p>Specifies the barcode prefix of the suspended receipt</p> + /// + /// <p>Specifies the barcode prefix of the suspended receipt</p> + [DataMember(Name="barCodePrefix", EmitDefaultValue=false)] + public string BarCodePrefix { get; set; } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>A flag to indicate whether the transaction should be finalized. The default value is true.</p> + /// + /// <p>A flag to indicate whether the transaction should be finalized. The default value is true.</p> + [DataMember(Name="finalizeTransaction", EmitDefaultValue=false)] + public bool? FinalizeTransaction { get; set; } + + /// + /// Gets or Sets ConsolidateLineItemsSuspending + /// + [DataMember(Name="consolidateLineItemsSuspending", EmitDefaultValue=false)] + public bool? ConsolidateLineItemsSuspending { get; set; } + + /// + /// Gets or Sets ConsolidateReturnItems + /// + [DataMember(Name="consolidateReturnItems", EmitDefaultValue=false)] + public bool? ConsolidateReturnItems { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest {\n"); + sb.Append(" SuspendNumber: ").Append(SuspendNumber).Append("\n"); + sb.Append(" BarCodePrefix: ").Append(BarCodePrefix).Append("\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" FinalizeTransaction: ").Append(FinalizeTransaction).Append("\n"); + sb.Append(" ConsolidateLineItemsSuspending: ").Append(ConsolidateLineItemsSuspending).Append("\n"); + sb.Append(" ConsolidateReturnItems: ").Append(ConsolidateReturnItems).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest input) + { + if (input == null) + return false; + + return + ( + this.SuspendNumber == input.SuspendNumber || + (this.SuspendNumber != null && + this.SuspendNumber.Equals(input.SuspendNumber)) + ) && + ( + this.BarCodePrefix == input.BarCodePrefix || + (this.BarCodePrefix != null && + this.BarCodePrefix.Equals(input.BarCodePrefix)) + ) && + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.FinalizeTransaction == input.FinalizeTransaction || + (this.FinalizeTransaction != null && + this.FinalizeTransaction.Equals(input.FinalizeTransaction)) + ) && + ( + this.ConsolidateLineItemsSuspending == input.ConsolidateLineItemsSuspending || + (this.ConsolidateLineItemsSuspending != null && + this.ConsolidateLineItemsSuspending.Equals(input.ConsolidateLineItemsSuspending)) + ) && + ( + this.ConsolidateReturnItems == input.ConsolidateReturnItems || + (this.ConsolidateReturnItems != null && + this.ConsolidateReturnItems.Equals(input.ConsolidateReturnItems)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SuspendNumber != null) + hashCode = hashCode * 59 + this.SuspendNumber.GetHashCode(); + if (this.BarCodePrefix != null) + hashCode = hashCode * 59 + this.BarCodePrefix.GetHashCode(); + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.FinalizeTransaction != null) + hashCode = hashCode * 59 + this.FinalizeTransaction.GetHashCode(); + if (this.ConsolidateLineItemsSuspending != null) + hashCode = hashCode * 59 + this.ConsolidateLineItemsSuspending.GetHashCode(); + if (this.ConsolidateReturnItems != null) + hashCode = hashCode * 59 + this.ConsolidateReturnItems.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a94ff5d52cb2816c55aa9599d59925807d776857 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest.cs @@ -0,0 +1,469 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SyncLineItemsTraceableUnitIDRequest TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p> (required). + /// <p>The keyed online state.</p>. + /// <p>A flag to indicate whether offline mode registration is active or not.</p>. + /// <p>The ean map.</p> (required). + /// <p>Flag that tracks if POS is currently in goods return mode or not.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), bool? keyedOnline = default(bool?), bool? offlineMode = default(bool?), Dictionary eanByTraceableUnitIDMap = default(Dictionary), bool? isReturnMode = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "positionOperationConfiguration" is required (not null) + if (positionOperationConfiguration == null) + { + throw new InvalidDataException("positionOperationConfiguration is a required property for ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest and cannot be null"); + } + else + { + this.PositionOperationConfiguration = positionOperationConfiguration; + } + // to ensure "eanByTraceableUnitIDMap" is required (not null) + if (eanByTraceableUnitIDMap == null) + { + throw new InvalidDataException("eanByTraceableUnitIDMap is a required property for ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest and cannot be null"); + } + else + { + this.EanByTraceableUnitIDMap = eanByTraceableUnitIDMap; + } + this.KeyedOnline = keyedOnline; + this.OfflineMode = offlineMode; + this.IsReturnMode = isReturnMode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfiguration { get; set; } + + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + [DataMember(Name="offlineMode", EmitDefaultValue=false)] + public bool? OfflineMode { get; set; } + + /// + /// <p>The ean map.</p> + /// + /// <p>The ean map.</p> + [DataMember(Name="eanByTraceableUnitIDMap", EmitDefaultValue=false)] + public Dictionary EanByTraceableUnitIDMap { get; set; } + + /// + /// <p>Flag that tracks if POS is currently in goods return mode or not.</p> + /// + /// <p>Flag that tracks if POS is currently in goods return mode or not.</p> + [DataMember(Name="isReturnMode", EmitDefaultValue=false)] + public bool? IsReturnMode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest {\n"); + sb.Append(" PositionOperationConfiguration: ").Append(PositionOperationConfiguration).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" OfflineMode: ").Append(OfflineMode).Append("\n"); + sb.Append(" EanByTraceableUnitIDMap: ").Append(EanByTraceableUnitIDMap).Append("\n"); + sb.Append(" IsReturnMode: ").Append(IsReturnMode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfiguration == input.PositionOperationConfiguration || + (this.PositionOperationConfiguration != null && + this.PositionOperationConfiguration.Equals(input.PositionOperationConfiguration)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.OfflineMode == input.OfflineMode || + (this.OfflineMode != null && + this.OfflineMode.Equals(input.OfflineMode)) + ) && + ( + this.EanByTraceableUnitIDMap == input.EanByTraceableUnitIDMap || + this.EanByTraceableUnitIDMap != null && + this.EanByTraceableUnitIDMap.SequenceEqual(input.EanByTraceableUnitIDMap) + ) && + ( + this.IsReturnMode == input.IsReturnMode || + (this.IsReturnMode != null && + this.IsReturnMode.Equals(input.IsReturnMode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfiguration != null) + hashCode = hashCode * 59 + this.PositionOperationConfiguration.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.OfflineMode != null) + hashCode = hashCode * 59 + this.OfflineMode.GetHashCode(); + if (this.EanByTraceableUnitIDMap != null) + hashCode = hashCode * 59 + this.EanByTraceableUnitIDMap.GetHashCode(); + if (this.IsReturnMode != null) + hashCode = hashCode * 59 + this.IsReturnMode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..74a002069c647434266e6d5e48e9f0cbc5e4cbdf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TaxGroupIdLineItem <p>Simple object that contains the tax line item group id</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Sale return Line item key</p> (required). + /// <p>Tax group id</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string taxGroupId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "lineItemKey" is required (not null) + if (lineItemKey == null) + { + throw new InvalidDataException("lineItemKey is a required property for ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem and cannot be null"); + } + else + { + this.LineItemKey = lineItemKey; + } + // to ensure "taxGroupId" is required (not null) + if (taxGroupId == null) + { + throw new InvalidDataException("taxGroupId is a required property for ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem and cannot be null"); + } + else + { + this.TaxGroupId = taxGroupId; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Sale return Line item key</p> + /// + /// <p>Sale return Line item key</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>Tax group id</p> + /// + /// <p>Tax group id</p> + [DataMember(Name="taxGroupId", EmitDefaultValue=false)] + public string TaxGroupId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" TaxGroupId: ").Append(TaxGroupId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.TaxGroupId == input.TaxGroupId || + (this.TaxGroupId != null && + this.TaxGroupId.Equals(input.TaxGroupId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.TaxGroupId != null) + hashCode = hashCode * 59 + this.TaxGroupId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8988f5038b0e4cc00bc718ef4bfe1956deda8444 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TenderLineItemDataRequest <p>The entity TenderLineItemDataRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The tender amount.</p>. + /// <p>The tender description.</p>. + /// <p>The tender group code.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest(double? tenderAmount = default(double?), string tenderDescription = default(string), string tenderGroupCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TenderAmount = tenderAmount; + this.TenderDescription = tenderDescription; + this.TenderGroupCode = tenderGroupCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The tender amount.</p> + /// + /// <p>The tender amount.</p> + [DataMember(Name="tenderAmount", EmitDefaultValue=false)] + public double? TenderAmount { get; set; } + + /// + /// <p>The tender description.</p> + /// + /// <p>The tender description.</p> + [DataMember(Name="tenderDescription", EmitDefaultValue=false)] + public string TenderDescription { get; set; } + + /// + /// <p>The tender group code.</p> + /// + /// <p>The tender group code.</p> + [DataMember(Name="tenderGroupCode", EmitDefaultValue=false)] + public string TenderGroupCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest {\n"); + sb.Append(" TenderAmount: ").Append(TenderAmount).Append("\n"); + sb.Append(" TenderDescription: ").Append(TenderDescription).Append("\n"); + sb.Append(" TenderGroupCode: ").Append(TenderGroupCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest input) + { + if (input == null) + return false; + + return + ( + this.TenderAmount == input.TenderAmount || + (this.TenderAmount != null && + this.TenderAmount.Equals(input.TenderAmount)) + ) && + ( + this.TenderDescription == input.TenderDescription || + (this.TenderDescription != null && + this.TenderDescription.Equals(input.TenderDescription)) + ) && + ( + this.TenderGroupCode == input.TenderGroupCode || + (this.TenderGroupCode != null && + this.TenderGroupCode.Equals(input.TenderGroupCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderAmount != null) + hashCode = hashCode * 59 + this.TenderAmount.GetHashCode(); + if (this.TenderDescription != null) + hashCode = hashCode * 59 + this.TenderDescription.GetHashCode(); + if (this.TenderGroupCode != null) + hashCode = hashCode * 59 + this.TenderGroupCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..6fb392495a53cf7e0c28722ff4c268586e5550a2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TerminalPrintoutsLineItemEntry <p>Request object to store a merchant and customer printout.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The corresponding tender key to this printouts.</p>. + /// <p>The merchant printout copy to add to the tender.</p>. + /// <p>The customer printout copy to add to the tender.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey tenderAuthorizationKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey), string merchantReceipt = default(string), string customerReceipt = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TenderAuthorizationKey = tenderAuthorizationKey; + this.MerchantReceipt = merchantReceipt; + this.CustomerReceipt = customerReceipt; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The corresponding tender key to this printouts.</p> + /// + /// <p>The corresponding tender key to this printouts.</p> + [DataMember(Name="tenderAuthorizationKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey TenderAuthorizationKey { get; set; } + + /// + /// <p>The merchant printout copy to add to the tender.</p> + /// + /// <p>The merchant printout copy to add to the tender.</p> + [DataMember(Name="merchantReceipt", EmitDefaultValue=false)] + public string MerchantReceipt { get; set; } + + /// + /// <p>The customer printout copy to add to the tender.</p> + /// + /// <p>The customer printout copy to add to the tender.</p> + [DataMember(Name="customerReceipt", EmitDefaultValue=false)] + public string CustomerReceipt { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry {\n"); + sb.Append(" TenderAuthorizationKey: ").Append(TenderAuthorizationKey).Append("\n"); + sb.Append(" MerchantReceipt: ").Append(MerchantReceipt).Append("\n"); + sb.Append(" CustomerReceipt: ").Append(CustomerReceipt).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry input) + { + if (input == null) + return false; + + return + ( + this.TenderAuthorizationKey == input.TenderAuthorizationKey || + (this.TenderAuthorizationKey != null && + this.TenderAuthorizationKey.Equals(input.TenderAuthorizationKey)) + ) && + ( + this.MerchantReceipt == input.MerchantReceipt || + (this.MerchantReceipt != null && + this.MerchantReceipt.Equals(input.MerchantReceipt)) + ) && + ( + this.CustomerReceipt == input.CustomerReceipt || + (this.CustomerReceipt != null && + this.CustomerReceipt.Equals(input.CustomerReceipt)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderAuthorizationKey != null) + hashCode = hashCode * 59 + this.TenderAuthorizationKey.GetHashCode(); + if (this.MerchantReceipt != null) + hashCode = hashCode * 59 + this.MerchantReceipt.GetHashCode(); + if (this.CustomerReceipt != null) + hashCode = hashCode * 59 + this.CustomerReceipt.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTerminalToRefundData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTerminalToRefundData.cs new file mode 100644 index 0000000000000000000000000000000000000000..2fa9ad11ab5bba01e5dbd72d0ac3237d09088a99 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTerminalToRefundData.cs @@ -0,0 +1,418 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TerminalToRefundData <p>Result object for terminal line items to refund during voiding of transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTerminalToRefundData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionTerminalToRefundData() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of retail transaction line items, which contains all terminal tender line items.</p> (required). + /// <p>A list of all tender authorizations.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTerminalToRefundData(List terminalTenderLineItems = default(List), List tenderAuthorizations = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "terminalTenderLineItems" is required (not null) + if (terminalTenderLineItems == null) + { + throw new InvalidDataException("terminalTenderLineItems is a required property for ComGkSoftwarePosApiServiceTransactionTerminalToRefundData and cannot be null"); + } + else + { + this.TerminalTenderLineItems = terminalTenderLineItems; + } + // to ensure "tenderAuthorizations" is required (not null) + if (tenderAuthorizations == null) + { + throw new InvalidDataException("tenderAuthorizations is a required property for ComGkSoftwarePosApiServiceTransactionTerminalToRefundData and cannot be null"); + } + else + { + this.TenderAuthorizations = tenderAuthorizations; + } + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of retail transaction line items, which contains all terminal tender line items.</p> + /// + /// <p>A list of retail transaction line items, which contains all terminal tender line items.</p> + [DataMember(Name="terminalTenderLineItems", EmitDefaultValue=false)] + public List TerminalTenderLineItems { get; set; } + + /// + /// <p>A list of all tender authorizations.</p> + /// + /// <p>A list of all tender authorizations.</p> + [DataMember(Name="tenderAuthorizations", EmitDefaultValue=false)] + public List TenderAuthorizations { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTerminalToRefundData {\n"); + sb.Append(" TerminalTenderLineItems: ").Append(TerminalTenderLineItems).Append("\n"); + sb.Append(" TenderAuthorizations: ").Append(TenderAuthorizations).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTerminalToRefundData); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTerminalToRefundData instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTerminalToRefundData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTerminalToRefundData input) + { + if (input == null) + return false; + + return + ( + this.TerminalTenderLineItems == input.TerminalTenderLineItems || + this.TerminalTenderLineItems != null && + this.TerminalTenderLineItems.SequenceEqual(input.TerminalTenderLineItems) + ) && + ( + this.TenderAuthorizations == input.TenderAuthorizations || + this.TenderAuthorizations != null && + this.TenderAuthorizations.SequenceEqual(input.TenderAuthorizations) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TerminalTenderLineItems != null) + hashCode = hashCode * 59 + this.TerminalTenderLineItems.GetHashCode(); + if (this.TenderAuthorizations != null) + hashCode = hashCode * 59 + this.TenderAuthorizations.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..844279f55f2d58189fead1b5ef5cb80efea21234 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest.cs @@ -0,0 +1,431 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionBinaryDataRequest <p>Request object to set transaction binary data to a transaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The transaction binary data name.</p>. + /// <p>The transaction binary data content.</p>. + /// <p>The transaction identifier.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string name = default(string), string data = default(string), string transactionID = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.Name = name; + this.Data = data; + this.TransactionID = transactionID; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The transaction binary data name.</p> + /// + /// <p>The transaction binary data name.</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The transaction binary data content.</p> + /// + /// <p>The transaction binary data content.</p> + [DataMember(Name="data", EmitDefaultValue=false)] + public string Data { get; set; } + + /// + /// <p>The transaction identifier.</p> + /// + /// <p>The transaction identifier.</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Data != null) + hashCode = hashCode * 59 + this.Data.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1ebed89b64da1c76452b59dc56bc787e6b5eae45 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest.cs @@ -0,0 +1,465 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionBinaryDataWithExtensionRequest <p>Request object to set transaction binary data to a transaction and additionally an entry to transaction extension data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The transaction binary data name.</p>. + /// <p>The transaction binary data content.</p>. + /// <p>Defines that the data is already encoded. It means it should be decoded again to be stored correctly.</p>. + /// <p>The transaction identifier.</p>. + /// <p>The value for the connected / referenced extension</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string name = default(string), string data = default(string), bool? dataEncoded = default(bool?), string transactionID = default(string), string extensionValue = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.Name = name; + this.Data = data; + this.DataEncoded = dataEncoded; + this.TransactionID = transactionID; + this.ExtensionValue = extensionValue; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The transaction binary data name.</p> + /// + /// <p>The transaction binary data name.</p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The transaction binary data content.</p> + /// + /// <p>The transaction binary data content.</p> + [DataMember(Name="data", EmitDefaultValue=false)] + public string Data { get; set; } + + /// + /// <p>Defines that the data is already encoded. It means it should be decoded again to be stored correctly.</p> + /// + /// <p>Defines that the data is already encoded. It means it should be decoded again to be stored correctly.</p> + [DataMember(Name="dataEncoded", EmitDefaultValue=false)] + public bool? DataEncoded { get; set; } + + /// + /// <p>The transaction identifier.</p> + /// + /// <p>The transaction identifier.</p> + [DataMember(Name="transactionID", EmitDefaultValue=false)] + public string TransactionID { get; set; } + + /// + /// <p>The value for the connected / referenced extension</p> + /// + /// <p>The value for the connected / referenced extension</p> + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" DataEncoded: ").Append(DataEncoded).Append("\n"); + sb.Append(" TransactionID: ").Append(TransactionID).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Data == input.Data || + (this.Data != null && + this.Data.Equals(input.Data)) + ) && + ( + this.DataEncoded == input.DataEncoded || + (this.DataEncoded != null && + this.DataEncoded.Equals(input.DataEncoded)) + ) && + ( + this.TransactionID == input.TransactionID || + (this.TransactionID != null && + this.TransactionID.Equals(input.TransactionID)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Data != null) + hashCode = hashCode * 59 + this.Data.GetHashCode(); + if (this.DataEncoded != null) + hashCode = hashCode * 59 + this.DataEncoded.GetHashCode(); + if (this.TransactionID != null) + hashCode = hashCode * 59 + this.TransactionID.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a2572232ed9f0e06ca40a20cb1797ca55df0d103 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionIdsRequest <p>Request object for requesting views of transaction search data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of transaction identifiers.</p>. + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p>. + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest(List transactionIds = default(List), bool? onlySSCTransactions = default(bool?), bool? overtakeCustomerFromOriginalReceipt = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionIds = transactionIds; + this.OnlySSCTransactions = onlySSCTransactions; + this.OvertakeCustomerFromOriginalReceipt = overtakeCustomerFromOriginalReceipt; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + [DataMember(Name="transactionIds", EmitDefaultValue=false)] + public List TransactionIds { get; set; } + + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + [DataMember(Name="onlySSCTransactions", EmitDefaultValue=false)] + public bool? OnlySSCTransactions { get; set; } + + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + [DataMember(Name="overtakeCustomerFromOriginalReceipt", EmitDefaultValue=false)] + public bool? OvertakeCustomerFromOriginalReceipt { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest {\n"); + sb.Append(" TransactionIds: ").Append(TransactionIds).Append("\n"); + sb.Append(" OnlySSCTransactions: ").Append(OnlySSCTransactions).Append("\n"); + sb.Append(" OvertakeCustomerFromOriginalReceipt: ").Append(OvertakeCustomerFromOriginalReceipt).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionIds == input.TransactionIds || + this.TransactionIds != null && + this.TransactionIds.SequenceEqual(input.TransactionIds) + ) && + ( + this.OnlySSCTransactions == input.OnlySSCTransactions || + (this.OnlySSCTransactions != null && + this.OnlySSCTransactions.Equals(input.OnlySSCTransactions)) + ) && + ( + this.OvertakeCustomerFromOriginalReceipt == input.OvertakeCustomerFromOriginalReceipt || + (this.OvertakeCustomerFromOriginalReceipt != null && + this.OvertakeCustomerFromOriginalReceipt.Equals(input.OvertakeCustomerFromOriginalReceipt)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionIds != null) + hashCode = hashCode * 59 + this.TransactionIds.GetHashCode(); + if (this.OnlySSCTransactions != null) + hashCode = hashCode * 59 + this.OnlySSCTransactions.GetHashCode(); + if (this.OvertakeCustomerFromOriginalReceipt != null) + hashCode = hashCode * 59 + this.OvertakeCustomerFromOriginalReceipt.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionIdsResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionIdsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..a82a235e94060e985b4477b8a3db2adae438b945 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionIdsResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionIdsResult <p>Result object for transaction searches, holding a list of transaction identifiers.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionIdsResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of transaction identifiers.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionIdsResult(List transactionIds = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionIds = transactionIds; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + [DataMember(Name="transactionIds", EmitDefaultValue=false)] + public List TransactionIds { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionIdsResult {\n"); + sb.Append(" TransactionIds: ").Append(TransactionIds).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionIdsResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionIdsResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionIdsResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionIdsResult input) + { + if (input == null) + return false; + + return + ( + this.TransactionIds == input.TransactionIds || + this.TransactionIds != null && + this.TransactionIds.SequenceEqual(input.TransactionIds) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionIds != null) + hashCode = hashCode * 59 + this.TransactionIds.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..e9ce20b0f1d6bbeaae9df24b2e1730152a917e34 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult.cs @@ -0,0 +1,176 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionOperationFailureResult <p>The transaction operation failure result</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The error code</p>. + /// <p>The error message</p>. + /// <p>The message key</p>. + /// <p>The arguments</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult(string errorCode = default(string), string errorMessage = default(string), string messageKey = default(string), List arguments = default(List)) + { + this.ErrorCode = errorCode; + this.ErrorMessage = errorMessage; + this.MessageKey = messageKey; + this.Arguments = arguments; + } + + /// + /// <p>The error code</p> + /// + /// <p>The error code</p> + [DataMember(Name="errorCode", EmitDefaultValue=false)] + public string ErrorCode { get; set; } + + /// + /// <p>The error message</p> + /// + /// <p>The error message</p> + [DataMember(Name="errorMessage", EmitDefaultValue=false)] + public string ErrorMessage { get; set; } + + /// + /// <p>The message key</p> + /// + /// <p>The message key</p> + [DataMember(Name="messageKey", EmitDefaultValue=false)] + public string MessageKey { get; set; } + + /// + /// <p>The arguments</p> + /// + /// <p>The arguments</p> + [DataMember(Name="arguments", EmitDefaultValue=false)] + public List Arguments { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult {\n"); + sb.Append(" ErrorCode: ").Append(ErrorCode).Append("\n"); + sb.Append(" ErrorMessage: ").Append(ErrorMessage).Append("\n"); + sb.Append(" MessageKey: ").Append(MessageKey).Append("\n"); + sb.Append(" Arguments: ").Append(Arguments).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult input) + { + if (input == null) + return false; + + return + ( + this.ErrorCode == input.ErrorCode || + (this.ErrorCode != null && + this.ErrorCode.Equals(input.ErrorCode)) + ) && + ( + this.ErrorMessage == input.ErrorMessage || + (this.ErrorMessage != null && + this.ErrorMessage.Equals(input.ErrorMessage)) + ) && + ( + this.MessageKey == input.MessageKey || + (this.MessageKey != null && + this.MessageKey.Equals(input.MessageKey)) + ) && + ( + this.Arguments == input.Arguments || + this.Arguments != null && + this.Arguments.SequenceEqual(input.Arguments) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ErrorCode != null) + hashCode = hashCode * 59 + this.ErrorCode.GetHashCode(); + if (this.ErrorMessage != null) + hashCode = hashCode * 59 + this.ErrorMessage.GetHashCode(); + if (this.MessageKey != null) + hashCode = hashCode * 59 + this.MessageKey.GetHashCode(); + if (this.Arguments != null) + hashCode = hashCode * 59 + this.Arguments.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..ae24d1330a8b32c29d555d434bab8bd120f853d7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationResult.cs @@ -0,0 +1,444 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionOperationResult <p>The entity TransactionOperationResult contains the result of a service execution and is used for providing transaction updates fields updates for service clients.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionOperationResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionTransactionOperationResult() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The primary transaction result entry.</p>. + /// <p>Additional result entries.</p> (required). + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p>. + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResult(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry), List additionalEntries = default(List), bool? filtered = default(bool?), ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult failure = default(ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "additionalEntries" is required (not null) + if (additionalEntries == null) + { + throw new InvalidDataException("additionalEntries is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResult and cannot be null"); + } + else + { + this.AdditionalEntries = additionalEntries; + } + this.PrimaryEntry = primaryEntry; + this.Filtered = filtered; + this.Failure = failure; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + [DataMember(Name="primaryEntry", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry PrimaryEntry { get; set; } + + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + [DataMember(Name="additionalEntries", EmitDefaultValue=false)] + public List AdditionalEntries { get; set; } + + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + [DataMember(Name="filtered", EmitDefaultValue=false)] + public bool? Filtered { get; set; } + + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + [DataMember(Name="failure", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult Failure { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionOperationResult {\n"); + sb.Append(" PrimaryEntry: ").Append(PrimaryEntry).Append("\n"); + sb.Append(" AdditionalEntries: ").Append(AdditionalEntries).Append("\n"); + sb.Append(" Filtered: ").Append(Filtered).Append("\n"); + sb.Append(" Failure: ").Append(Failure).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionOperationResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionOperationResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionOperationResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionOperationResult input) + { + if (input == null) + return false; + + return + ( + this.PrimaryEntry == input.PrimaryEntry || + (this.PrimaryEntry != null && + this.PrimaryEntry.Equals(input.PrimaryEntry)) + ) && + ( + this.AdditionalEntries == input.AdditionalEntries || + this.AdditionalEntries != null && + this.AdditionalEntries.SequenceEqual(input.AdditionalEntries) + ) && + ( + this.Filtered == input.Filtered || + (this.Filtered != null && + this.Filtered.Equals(input.Filtered)) + ) && + ( + this.Failure == input.Failure || + (this.Failure != null && + this.Failure.Equals(input.Failure)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrimaryEntry != null) + hashCode = hashCode * 59 + this.PrimaryEntry.GetHashCode(); + if (this.AdditionalEntries != null) + hashCode = hashCode * 59 + this.AdditionalEntries.GetHashCode(); + if (this.Filtered != null) + hashCode = hashCode * 59 + this.Filtered.GetHashCode(); + if (this.Failure != null) + hashCode = hashCode * 59 + this.Failure.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..773623cfa406f62703646f08b10df461a1139bb9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry.cs @@ -0,0 +1,644 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionOperationResultEntry <p>An entity describing an operation result entry.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The resulting transaction after a service execution.</p>. + /// <p>The line items added or modified by a service execution.</p> (required). + /// <p>The line items deleted by a service execution.</p> (required). + /// <p>The line items closed during a service execution.</p> (required). + /// <p>The promotion input requests resulting from a service execution.</p> (required). + /// <p>The transaction extensions added or modified by a service execution.</p> (required). + /// <p>The transaction additional printouts added or modified by a service execution.</p> (required). + /// <p>The price derivation rules added by a service execution.</p> (required). + /// <p>The sale return line item prices added or modified by a service execution.</p> (required). + /// <p>The transaction additional printouts deleted by a service execution.</p> (required). + /// <p>This parameter defines the price difference limit exceed action for positive items (warn, authorize, forbid, unchecked) if a set or change price operation is attempted.</p>. + /// <p>The serial number set to a line item.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), List addedOrModifiedLineItems = default(List), List deletedLineItems = default(List), List closedLineItems = default(List), List promotionInputRequests = default(List), List addedOrModifiedTransactionExtensions = default(List), List addedTransactionAdditionalPrintouts = default(List), List addedPriceDerivationRules = default(List), List addedOrModifiedSaleReturnLineItemPrices = default(List), List deletedTransactionAdditionalPrintouts = default(List), string priceModificationResultCode = default(string), string serialNumberModificationResultCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "addedOrModifiedLineItems" is required (not null) + if (addedOrModifiedLineItems == null) + { + throw new InvalidDataException("addedOrModifiedLineItems is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.AddedOrModifiedLineItems = addedOrModifiedLineItems; + } + // to ensure "deletedLineItems" is required (not null) + if (deletedLineItems == null) + { + throw new InvalidDataException("deletedLineItems is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.DeletedLineItems = deletedLineItems; + } + // to ensure "closedLineItems" is required (not null) + if (closedLineItems == null) + { + throw new InvalidDataException("closedLineItems is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.ClosedLineItems = closedLineItems; + } + // to ensure "promotionInputRequests" is required (not null) + if (promotionInputRequests == null) + { + throw new InvalidDataException("promotionInputRequests is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.PromotionInputRequests = promotionInputRequests; + } + // to ensure "addedOrModifiedTransactionExtensions" is required (not null) + if (addedOrModifiedTransactionExtensions == null) + { + throw new InvalidDataException("addedOrModifiedTransactionExtensions is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.AddedOrModifiedTransactionExtensions = addedOrModifiedTransactionExtensions; + } + // to ensure "addedTransactionAdditionalPrintouts" is required (not null) + if (addedTransactionAdditionalPrintouts == null) + { + throw new InvalidDataException("addedTransactionAdditionalPrintouts is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.AddedTransactionAdditionalPrintouts = addedTransactionAdditionalPrintouts; + } + // to ensure "addedPriceDerivationRules" is required (not null) + if (addedPriceDerivationRules == null) + { + throw new InvalidDataException("addedPriceDerivationRules is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.AddedPriceDerivationRules = addedPriceDerivationRules; + } + // to ensure "addedOrModifiedSaleReturnLineItemPrices" is required (not null) + if (addedOrModifiedSaleReturnLineItemPrices == null) + { + throw new InvalidDataException("addedOrModifiedSaleReturnLineItemPrices is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.AddedOrModifiedSaleReturnLineItemPrices = addedOrModifiedSaleReturnLineItemPrices; + } + // to ensure "deletedTransactionAdditionalPrintouts" is required (not null) + if (deletedTransactionAdditionalPrintouts == null) + { + throw new InvalidDataException("deletedTransactionAdditionalPrintouts is a required property for ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry and cannot be null"); + } + else + { + this.DeletedTransactionAdditionalPrintouts = deletedTransactionAdditionalPrintouts; + } + this.Transaction = transaction; + this.PriceModificationResultCode = priceModificationResultCode; + this.SerialNumberModificationResultCode = serialNumberModificationResultCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The resulting transaction after a service execution.</p> + /// + /// <p>The resulting transaction after a service execution.</p> + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// <p>The line items added or modified by a service execution.</p> + /// + /// <p>The line items added or modified by a service execution.</p> + [DataMember(Name="addedOrModifiedLineItems", EmitDefaultValue=false)] + public List AddedOrModifiedLineItems { get; set; } + + /// + /// <p>The line items deleted by a service execution.</p> + /// + /// <p>The line items deleted by a service execution.</p> + [DataMember(Name="deletedLineItems", EmitDefaultValue=false)] + public List DeletedLineItems { get; set; } + + /// + /// <p>The line items closed during a service execution.</p> + /// + /// <p>The line items closed during a service execution.</p> + [DataMember(Name="closedLineItems", EmitDefaultValue=false)] + public List ClosedLineItems { get; set; } + + /// + /// <p>The promotion input requests resulting from a service execution.</p> + /// + /// <p>The promotion input requests resulting from a service execution.</p> + [DataMember(Name="promotionInputRequests", EmitDefaultValue=false)] + public List PromotionInputRequests { get; set; } + + /// + /// <p>The transaction extensions added or modified by a service execution.</p> + /// + /// <p>The transaction extensions added or modified by a service execution.</p> + [DataMember(Name="addedOrModifiedTransactionExtensions", EmitDefaultValue=false)] + public List AddedOrModifiedTransactionExtensions { get; set; } + + /// + /// <p>The transaction additional printouts added or modified by a service execution.</p> + /// + /// <p>The transaction additional printouts added or modified by a service execution.</p> + [DataMember(Name="addedTransactionAdditionalPrintouts", EmitDefaultValue=false)] + public List AddedTransactionAdditionalPrintouts { get; set; } + + /// + /// <p>The price derivation rules added by a service execution.</p> + /// + /// <p>The price derivation rules added by a service execution.</p> + [DataMember(Name="addedPriceDerivationRules", EmitDefaultValue=false)] + public List AddedPriceDerivationRules { get; set; } + + /// + /// <p>The sale return line item prices added or modified by a service execution.</p> + /// + /// <p>The sale return line item prices added or modified by a service execution.</p> + [DataMember(Name="addedOrModifiedSaleReturnLineItemPrices", EmitDefaultValue=false)] + public List AddedOrModifiedSaleReturnLineItemPrices { get; set; } + + /// + /// <p>The transaction additional printouts deleted by a service execution.</p> + /// + /// <p>The transaction additional printouts deleted by a service execution.</p> + [DataMember(Name="deletedTransactionAdditionalPrintouts", EmitDefaultValue=false)] + public List DeletedTransactionAdditionalPrintouts { get; set; } + + /// + /// <p>This parameter defines the price difference limit exceed action for positive items (warn, authorize, forbid, unchecked) if a set or change price operation is attempted.</p> + /// + /// <p>This parameter defines the price difference limit exceed action for positive items (warn, authorize, forbid, unchecked) if a set or change price operation is attempted.</p> + [DataMember(Name="priceModificationResultCode", EmitDefaultValue=false)] + public string PriceModificationResultCode { get; set; } + + /// + /// <p>The serial number set to a line item.</p> + /// + /// <p>The serial number set to a line item.</p> + [DataMember(Name="serialNumberModificationResultCode", EmitDefaultValue=false)] + public string SerialNumberModificationResultCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" AddedOrModifiedLineItems: ").Append(AddedOrModifiedLineItems).Append("\n"); + sb.Append(" DeletedLineItems: ").Append(DeletedLineItems).Append("\n"); + sb.Append(" ClosedLineItems: ").Append(ClosedLineItems).Append("\n"); + sb.Append(" PromotionInputRequests: ").Append(PromotionInputRequests).Append("\n"); + sb.Append(" AddedOrModifiedTransactionExtensions: ").Append(AddedOrModifiedTransactionExtensions).Append("\n"); + sb.Append(" AddedTransactionAdditionalPrintouts: ").Append(AddedTransactionAdditionalPrintouts).Append("\n"); + sb.Append(" AddedPriceDerivationRules: ").Append(AddedPriceDerivationRules).Append("\n"); + sb.Append(" AddedOrModifiedSaleReturnLineItemPrices: ").Append(AddedOrModifiedSaleReturnLineItemPrices).Append("\n"); + sb.Append(" DeletedTransactionAdditionalPrintouts: ").Append(DeletedTransactionAdditionalPrintouts).Append("\n"); + sb.Append(" PriceModificationResultCode: ").Append(PriceModificationResultCode).Append("\n"); + sb.Append(" SerialNumberModificationResultCode: ").Append(SerialNumberModificationResultCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.AddedOrModifiedLineItems == input.AddedOrModifiedLineItems || + this.AddedOrModifiedLineItems != null && + this.AddedOrModifiedLineItems.SequenceEqual(input.AddedOrModifiedLineItems) + ) && + ( + this.DeletedLineItems == input.DeletedLineItems || + this.DeletedLineItems != null && + this.DeletedLineItems.SequenceEqual(input.DeletedLineItems) + ) && + ( + this.ClosedLineItems == input.ClosedLineItems || + this.ClosedLineItems != null && + this.ClosedLineItems.SequenceEqual(input.ClosedLineItems) + ) && + ( + this.PromotionInputRequests == input.PromotionInputRequests || + this.PromotionInputRequests != null && + this.PromotionInputRequests.SequenceEqual(input.PromotionInputRequests) + ) && + ( + this.AddedOrModifiedTransactionExtensions == input.AddedOrModifiedTransactionExtensions || + this.AddedOrModifiedTransactionExtensions != null && + this.AddedOrModifiedTransactionExtensions.SequenceEqual(input.AddedOrModifiedTransactionExtensions) + ) && + ( + this.AddedTransactionAdditionalPrintouts == input.AddedTransactionAdditionalPrintouts || + this.AddedTransactionAdditionalPrintouts != null && + this.AddedTransactionAdditionalPrintouts.SequenceEqual(input.AddedTransactionAdditionalPrintouts) + ) && + ( + this.AddedPriceDerivationRules == input.AddedPriceDerivationRules || + this.AddedPriceDerivationRules != null && + this.AddedPriceDerivationRules.SequenceEqual(input.AddedPriceDerivationRules) + ) && + ( + this.AddedOrModifiedSaleReturnLineItemPrices == input.AddedOrModifiedSaleReturnLineItemPrices || + this.AddedOrModifiedSaleReturnLineItemPrices != null && + this.AddedOrModifiedSaleReturnLineItemPrices.SequenceEqual(input.AddedOrModifiedSaleReturnLineItemPrices) + ) && + ( + this.DeletedTransactionAdditionalPrintouts == input.DeletedTransactionAdditionalPrintouts || + this.DeletedTransactionAdditionalPrintouts != null && + this.DeletedTransactionAdditionalPrintouts.SequenceEqual(input.DeletedTransactionAdditionalPrintouts) + ) && + ( + this.PriceModificationResultCode == input.PriceModificationResultCode || + (this.PriceModificationResultCode != null && + this.PriceModificationResultCode.Equals(input.PriceModificationResultCode)) + ) && + ( + this.SerialNumberModificationResultCode == input.SerialNumberModificationResultCode || + (this.SerialNumberModificationResultCode != null && + this.SerialNumberModificationResultCode.Equals(input.SerialNumberModificationResultCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.AddedOrModifiedLineItems != null) + hashCode = hashCode * 59 + this.AddedOrModifiedLineItems.GetHashCode(); + if (this.DeletedLineItems != null) + hashCode = hashCode * 59 + this.DeletedLineItems.GetHashCode(); + if (this.ClosedLineItems != null) + hashCode = hashCode * 59 + this.ClosedLineItems.GetHashCode(); + if (this.PromotionInputRequests != null) + hashCode = hashCode * 59 + this.PromotionInputRequests.GetHashCode(); + if (this.AddedOrModifiedTransactionExtensions != null) + hashCode = hashCode * 59 + this.AddedOrModifiedTransactionExtensions.GetHashCode(); + if (this.AddedTransactionAdditionalPrintouts != null) + hashCode = hashCode * 59 + this.AddedTransactionAdditionalPrintouts.GetHashCode(); + if (this.AddedPriceDerivationRules != null) + hashCode = hashCode * 59 + this.AddedPriceDerivationRules.GetHashCode(); + if (this.AddedOrModifiedSaleReturnLineItemPrices != null) + hashCode = hashCode * 59 + this.AddedOrModifiedSaleReturnLineItemPrices.GetHashCode(); + if (this.DeletedTransactionAdditionalPrintouts != null) + hashCode = hashCode * 59 + this.DeletedTransactionAdditionalPrintouts.GetHashCode(); + if (this.PriceModificationResultCode != null) + hashCode = hashCode * 59 + this.PriceModificationResultCode.GetHashCode(); + if (this.SerialNumberModificationResultCode != null) + hashCode = hashCode * 59 + this.SerialNumberModificationResultCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3e2a122463463041f96ea3e147bec906ab25daa8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest.cs @@ -0,0 +1,435 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionPrintRequest <p>Request object for creating a print transaction for an existing transaction (e.g. for printout repetition).</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The identifier for the transaction to print.</p>. + /// <p>A flag to indicate that it is a duplicate print transaction.</p> (required). + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> (required). + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest(string printedTransactionId = default(string), bool? duplicate = default(bool?), bool? finalizeTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "duplicate" is required (not null) + if (duplicate == null) + { + throw new InvalidDataException("duplicate is a required property for ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest and cannot be null"); + } + else + { + this.Duplicate = duplicate; + } + // to ensure "finalizeTransaction" is required (not null) + if (finalizeTransaction == null) + { + throw new InvalidDataException("finalizeTransaction is a required property for ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest and cannot be null"); + } + else + { + this.FinalizeTransaction = finalizeTransaction; + } + this.PrintedTransactionId = printedTransactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The identifier for the transaction to print.</p> + /// + /// <p>The identifier for the transaction to print.</p> + [DataMember(Name="printedTransactionId", EmitDefaultValue=false)] + public string PrintedTransactionId { get; set; } + + /// + /// <p>A flag to indicate that it is a duplicate print transaction.</p> + /// + /// <p>A flag to indicate that it is a duplicate print transaction.</p> + [DataMember(Name="duplicate", EmitDefaultValue=false)] + public bool? Duplicate { get; set; } + + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + [DataMember(Name="finalizeTransaction", EmitDefaultValue=false)] + public bool? FinalizeTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest {\n"); + sb.Append(" PrintedTransactionId: ").Append(PrintedTransactionId).Append("\n"); + sb.Append(" Duplicate: ").Append(Duplicate).Append("\n"); + sb.Append(" FinalizeTransaction: ").Append(FinalizeTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest input) + { + if (input == null) + return false; + + return + ( + this.PrintedTransactionId == input.PrintedTransactionId || + (this.PrintedTransactionId != null && + this.PrintedTransactionId.Equals(input.PrintedTransactionId)) + ) && + ( + this.Duplicate == input.Duplicate || + (this.Duplicate != null && + this.Duplicate.Equals(input.Duplicate)) + ) && + ( + this.FinalizeTransaction == input.FinalizeTransaction || + (this.FinalizeTransaction != null && + this.FinalizeTransaction.Equals(input.FinalizeTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PrintedTransactionId != null) + hashCode = hashCode * 59 + this.PrintedTransactionId.GetHashCode(); + if (this.Duplicate != null) + hashCode = hashCode * 59 + this.Duplicate.GetHashCode(); + if (this.FinalizeTransaction != null) + hashCode = hashCode * 59 + this.FinalizeTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..70a2c0b6df89bc31a25295c0540091fd1262550f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult.cs @@ -0,0 +1,380 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionSearchViewsResult <p>Result object, holding a list of TransactionSearchView.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>A list of transaction search views.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult(List transactionSearchViews = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionSearchViews = transactionSearchViews; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>A list of transaction search views.</p> + /// + /// <p>A list of transaction search views.</p> + [DataMember(Name="transactionSearchViews", EmitDefaultValue=false)] + public List TransactionSearchViews { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult {\n"); + sb.Append(" TransactionSearchViews: ").Append(TransactionSearchViews).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult input) + { + if (input == null) + return false; + + return + ( + this.TransactionSearchViews == input.TransactionSearchViews || + this.TransactionSearchViews != null && + this.TransactionSearchViews.SequenceEqual(input.TransactionSearchViews) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionSearchViews != null) + hashCode = hashCode * 59 + this.TransactionSearchViews.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a2edbd39f8d187c10d89a9334a1e534c1a2bc56d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest.cs @@ -0,0 +1,461 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TransactionTenderRequest <p>Request object for creation of various tender related transactions.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The tender registration.</p>. + /// <p>A flag to indicate whether the transaction should be marked as cancelled or not.</p> (required). + /// <p>The lead number used for the tender pickup transaction envelope identifier.</p>. + /// <p>A flag to indicate whether the transaction should be finalized.</p>. + /// <p>boolean: this flag should be set to 'true' if the values for balance amount should be copied from tillCopyObject and not from the tender request. Active balance amount from CRS is only taken for cash in main currency. Default is 'false'</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest(ComGkSoftwarePosApiModelDomAppTenderTenderRegistration tenderRegistration = default(ComGkSoftwarePosApiModelDomAppTenderTenderRegistration), bool? canceled = default(bool?), string leadNumber = default(string), bool? finalizeTransaction = default(bool?), bool? useBalanceAmountFromTillCopyObject = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "canceled" is required (not null) + if (canceled == null) + { + throw new InvalidDataException("canceled is a required property for ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest and cannot be null"); + } + else + { + this.Canceled = canceled; + } + this.TenderRegistration = tenderRegistration; + this.LeadNumber = leadNumber; + this.FinalizeTransaction = finalizeTransaction; + this.UseBalanceAmountFromTillCopyObject = useBalanceAmountFromTillCopyObject; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The tender registration.</p> + /// + /// <p>The tender registration.</p> + [DataMember(Name="tenderRegistration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistration TenderRegistration { get; set; } + + /// + /// <p>A flag to indicate whether the transaction should be marked as cancelled or not.</p> + /// + /// <p>A flag to indicate whether the transaction should be marked as cancelled or not.</p> + [DataMember(Name="canceled", EmitDefaultValue=false)] + public bool? Canceled { get; set; } + + /// + /// <p>The lead number used for the tender pickup transaction envelope identifier.</p> + /// + /// <p>The lead number used for the tender pickup transaction envelope identifier.</p> + [DataMember(Name="leadNumber", EmitDefaultValue=false)] + public string LeadNumber { get; set; } + + /// + /// <p>A flag to indicate whether the transaction should be finalized.</p> + /// + /// <p>A flag to indicate whether the transaction should be finalized.</p> + [DataMember(Name="finalizeTransaction", EmitDefaultValue=false)] + public bool? FinalizeTransaction { get; set; } + + /// + /// <p>boolean: this flag should be set to 'true' if the values for balance amount should be copied from tillCopyObject and not from the tender request. Active balance amount from CRS is only taken for cash in main currency. Default is 'false'</p> + /// + /// <p>boolean: this flag should be set to 'true' if the values for balance amount should be copied from tillCopyObject and not from the tender request. Active balance amount from CRS is only taken for cash in main currency. Default is 'false'</p> + [DataMember(Name="useBalanceAmountFromTillCopyObject", EmitDefaultValue=false)] + public bool? UseBalanceAmountFromTillCopyObject { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest {\n"); + sb.Append(" TenderRegistration: ").Append(TenderRegistration).Append("\n"); + sb.Append(" Canceled: ").Append(Canceled).Append("\n"); + sb.Append(" LeadNumber: ").Append(LeadNumber).Append("\n"); + sb.Append(" FinalizeTransaction: ").Append(FinalizeTransaction).Append("\n"); + sb.Append(" UseBalanceAmountFromTillCopyObject: ").Append(UseBalanceAmountFromTillCopyObject).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest input) + { + if (input == null) + return false; + + return + ( + this.TenderRegistration == input.TenderRegistration || + (this.TenderRegistration != null && + this.TenderRegistration.Equals(input.TenderRegistration)) + ) && + ( + this.Canceled == input.Canceled || + (this.Canceled != null && + this.Canceled.Equals(input.Canceled)) + ) && + ( + this.LeadNumber == input.LeadNumber || + (this.LeadNumber != null && + this.LeadNumber.Equals(input.LeadNumber)) + ) && + ( + this.FinalizeTransaction == input.FinalizeTransaction || + (this.FinalizeTransaction != null && + this.FinalizeTransaction.Equals(input.FinalizeTransaction)) + ) && + ( + this.UseBalanceAmountFromTillCopyObject == input.UseBalanceAmountFromTillCopyObject || + (this.UseBalanceAmountFromTillCopyObject != null && + this.UseBalanceAmountFromTillCopyObject.Equals(input.UseBalanceAmountFromTillCopyObject)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TenderRegistration != null) + hashCode = hashCode * 59 + this.TenderRegistration.GetHashCode(); + if (this.Canceled != null) + hashCode = hashCode * 59 + this.Canceled.GetHashCode(); + if (this.LeadNumber != null) + hashCode = hashCode * 59 + this.LeadNumber.GetHashCode(); + if (this.FinalizeTransaction != null) + hashCode = hashCode * 59 + this.FinalizeTransaction.GetHashCode(); + if (this.UseBalanceAmountFromTillCopyObject != null) + hashCode = hashCode * 59 + this.UseBalanceAmountFromTillCopyObject.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..670b061e60b79b8daf50972a6dc14ec141de027a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest.cs @@ -0,0 +1,448 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UnfinishedTransactionsRequest <p>Request object for operations with unfinished transactions (e.g. searching unfinished transactions).</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The business unit identifier.</p>. + /// <p>The workstation identifier.</p>. + /// <p>A list of transaction type codes. If set only unfinished transactions with a matching transaction type code are processed.</p>. + /// <p>The transaction category code. Only used for finishing unfinished transactions and if it is set to 'AUTO' for an automatic fail control transaction.</p>. + /// <p>A list of transaction identifiers.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest(string businessUnitId = default(string), string workStationId = default(string), List transactionTypeCodes = default(List), string transactionCategoryCode = default(string), List transactionIds = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.BusinessUnitId = businessUnitId; + this.WorkStationId = workStationId; + this.TransactionTypeCodes = transactionTypeCodes; + this.TransactionCategoryCode = transactionCategoryCode; + this.TransactionIds = transactionIds; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + [DataMember(Name="businessUnitId", EmitDefaultValue=false)] + public string BusinessUnitId { get; set; } + + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + [DataMember(Name="workStationId", EmitDefaultValue=false)] + public string WorkStationId { get; set; } + + /// + /// <p>A list of transaction type codes. If set only unfinished transactions with a matching transaction type code are processed.</p> + /// + /// <p>A list of transaction type codes. If set only unfinished transactions with a matching transaction type code are processed.</p> + [DataMember(Name="transactionTypeCodes", EmitDefaultValue=false)] + public List TransactionTypeCodes { get; set; } + + /// + /// <p>The transaction category code. Only used for finishing unfinished transactions and if it is set to 'AUTO' for an automatic fail control transaction.</p> + /// + /// <p>The transaction category code. Only used for finishing unfinished transactions and if it is set to 'AUTO' for an automatic fail control transaction.</p> + [DataMember(Name="transactionCategoryCode", EmitDefaultValue=false)] + public string TransactionCategoryCode { get; set; } + + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + [DataMember(Name="transactionIds", EmitDefaultValue=false)] + public List TransactionIds { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest {\n"); + sb.Append(" BusinessUnitId: ").Append(BusinessUnitId).Append("\n"); + sb.Append(" WorkStationId: ").Append(WorkStationId).Append("\n"); + sb.Append(" TransactionTypeCodes: ").Append(TransactionTypeCodes).Append("\n"); + sb.Append(" TransactionCategoryCode: ").Append(TransactionCategoryCode).Append("\n"); + sb.Append(" TransactionIds: ").Append(TransactionIds).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitId == input.BusinessUnitId || + (this.BusinessUnitId != null && + this.BusinessUnitId.Equals(input.BusinessUnitId)) + ) && + ( + this.WorkStationId == input.WorkStationId || + (this.WorkStationId != null && + this.WorkStationId.Equals(input.WorkStationId)) + ) && + ( + this.TransactionTypeCodes == input.TransactionTypeCodes || + this.TransactionTypeCodes != null && + this.TransactionTypeCodes.SequenceEqual(input.TransactionTypeCodes) + ) && + ( + this.TransactionCategoryCode == input.TransactionCategoryCode || + (this.TransactionCategoryCode != null && + this.TransactionCategoryCode.Equals(input.TransactionCategoryCode)) + ) && + ( + this.TransactionIds == input.TransactionIds || + this.TransactionIds != null && + this.TransactionIds.SequenceEqual(input.TransactionIds) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitId != null) + hashCode = hashCode * 59 + this.BusinessUnitId.GetHashCode(); + if (this.WorkStationId != null) + hashCode = hashCode * 59 + this.WorkStationId.GetHashCode(); + if (this.TransactionTypeCodes != null) + hashCode = hashCode * 59 + this.TransactionTypeCodes.GetHashCode(); + if (this.TransactionCategoryCode != null) + hashCode = hashCode * 59 + this.TransactionCategoryCode.GetHashCode(); + if (this.TransactionIds != null) + hashCode = hashCode * 59 + this.TransactionIds.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e01cf794e91dcedde89cc589286466f56f541232 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest.cs @@ -0,0 +1,528 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UpdateSalesOrderItemRequest <p>The entity UpdateSalesOrderItemRequest</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The order id.</p>. + /// <p>The use pos prices.</p> (required). + /// <p>The extend order mode.</p> (required). + /// <p>The response data.</p>. + /// <p>The sales order standard price specification element type code.</p>. + /// <p>The include sales tax.</p> (required). + /// <p>The price type code.</p>. + /// <p>The sap debates promotion id.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest(string orderId = default(string), bool? usePosPrices = default(bool?), bool? extendOrderMode = default(bool?), ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData responseData = default(ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData), string salesOrderStandardPriceSpecificationElementTypeCode = default(string), bool? includeSalesTax = default(bool?), string priceTypeCode = default(string), string sapRebatesPromotionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "usePosPrices" is required (not null) + if (usePosPrices == null) + { + throw new InvalidDataException("usePosPrices is a required property for ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest and cannot be null"); + } + else + { + this.UsePosPrices = usePosPrices; + } + // to ensure "extendOrderMode" is required (not null) + if (extendOrderMode == null) + { + throw new InvalidDataException("extendOrderMode is a required property for ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest and cannot be null"); + } + else + { + this.ExtendOrderMode = extendOrderMode; + } + // to ensure "includeSalesTax" is required (not null) + if (includeSalesTax == null) + { + throw new InvalidDataException("includeSalesTax is a required property for ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest and cannot be null"); + } + else + { + this.IncludeSalesTax = includeSalesTax; + } + this.OrderId = orderId; + this.ResponseData = responseData; + this.SalesOrderStandardPriceSpecificationElementTypeCode = salesOrderStandardPriceSpecificationElementTypeCode; + this.PriceTypeCode = priceTypeCode; + this.SapRebatesPromotionId = sapRebatesPromotionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The order id.</p> + /// + /// <p>The order id.</p> + [DataMember(Name="orderId", EmitDefaultValue=false)] + public string OrderId { get; set; } + + /// + /// <p>The use pos prices.</p> + /// + /// <p>The use pos prices.</p> + [DataMember(Name="usePosPrices", EmitDefaultValue=false)] + public bool? UsePosPrices { get; set; } + + /// + /// <p>The extend order mode.</p> + /// + /// <p>The extend order mode.</p> + [DataMember(Name="extendOrderMode", EmitDefaultValue=false)] + public bool? ExtendOrderMode { get; set; } + + /// + /// <p>The response data.</p> + /// + /// <p>The response data.</p> + [DataMember(Name="responseData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData ResponseData { get; set; } + + /// + /// <p>The sales order standard price specification element type code.</p> + /// + /// <p>The sales order standard price specification element type code.</p> + [DataMember(Name="salesOrderStandardPriceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string SalesOrderStandardPriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>The include sales tax.</p> + /// + /// <p>The include sales tax.</p> + [DataMember(Name="includeSalesTax", EmitDefaultValue=false)] + public bool? IncludeSalesTax { get; set; } + + /// + /// <p>The price type code.</p> + /// + /// <p>The price type code.</p> + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// <p>The sap debates promotion id.</p> + /// + /// <p>The sap debates promotion id.</p> + [DataMember(Name="sapRebatesPromotionId", EmitDefaultValue=false)] + public string SapRebatesPromotionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest {\n"); + sb.Append(" OrderId: ").Append(OrderId).Append("\n"); + sb.Append(" UsePosPrices: ").Append(UsePosPrices).Append("\n"); + sb.Append(" ExtendOrderMode: ").Append(ExtendOrderMode).Append("\n"); + sb.Append(" ResponseData: ").Append(ResponseData).Append("\n"); + sb.Append(" SalesOrderStandardPriceSpecificationElementTypeCode: ").Append(SalesOrderStandardPriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" IncludeSalesTax: ").Append(IncludeSalesTax).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" SapRebatesPromotionId: ").Append(SapRebatesPromotionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest input) + { + if (input == null) + return false; + + return + ( + this.OrderId == input.OrderId || + (this.OrderId != null && + this.OrderId.Equals(input.OrderId)) + ) && + ( + this.UsePosPrices == input.UsePosPrices || + (this.UsePosPrices != null && + this.UsePosPrices.Equals(input.UsePosPrices)) + ) && + ( + this.ExtendOrderMode == input.ExtendOrderMode || + (this.ExtendOrderMode != null && + this.ExtendOrderMode.Equals(input.ExtendOrderMode)) + ) && + ( + this.ResponseData == input.ResponseData || + (this.ResponseData != null && + this.ResponseData.Equals(input.ResponseData)) + ) && + ( + this.SalesOrderStandardPriceSpecificationElementTypeCode == input.SalesOrderStandardPriceSpecificationElementTypeCode || + (this.SalesOrderStandardPriceSpecificationElementTypeCode != null && + this.SalesOrderStandardPriceSpecificationElementTypeCode.Equals(input.SalesOrderStandardPriceSpecificationElementTypeCode)) + ) && + ( + this.IncludeSalesTax == input.IncludeSalesTax || + (this.IncludeSalesTax != null && + this.IncludeSalesTax.Equals(input.IncludeSalesTax)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.SapRebatesPromotionId == input.SapRebatesPromotionId || + (this.SapRebatesPromotionId != null && + this.SapRebatesPromotionId.Equals(input.SapRebatesPromotionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OrderId != null) + hashCode = hashCode * 59 + this.OrderId.GetHashCode(); + if (this.UsePosPrices != null) + hashCode = hashCode * 59 + this.UsePosPrices.GetHashCode(); + if (this.ExtendOrderMode != null) + hashCode = hashCode * 59 + this.ExtendOrderMode.GetHashCode(); + if (this.ResponseData != null) + hashCode = hashCode * 59 + this.ResponseData.GetHashCode(); + if (this.SalesOrderStandardPriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderStandardPriceSpecificationElementTypeCode.GetHashCode(); + if (this.IncludeSalesTax != null) + hashCode = hashCode * 59 + this.IncludeSalesTax.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.SapRebatesPromotionId != null) + hashCode = hashCode * 59 + this.SapRebatesPromotionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..be3ca48cdca8a1ddb3b2c4ced9ff6968576f83b4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest.cs @@ -0,0 +1,681 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UpdateSalesOrderSelectedDeliveryItemRequest <p>The update sales order selected delivery item request object</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The order id.</p>. + /// <p>The use pos prices.</p> (required). + /// <p>The extend order mode.</p> (required). + /// <p>The response data.</p>. + /// <p>The sales order standard price specification element type code.</p>. + /// <p>The include sales tax.</p> (required). + /// <p>The price type code.</p>. + /// <p>The sap debates promotion id.</p>. + /// <p>The line item list</p>. + /// <p>The operation configuration</p>. + /// <p>T delivery type code</p>. + /// <p>The salesorder final price pos price specification element type code</p>. + /// <p>The sales order default prepayment price specification element type code</p>. + /// <p>The delivery plant ID</p>. + /// <p>The uuid</p>. + /// <p>The down payment not allowed</p>. + /// <p>The down payment request object</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest(string orderId = default(string), bool? usePosPrices = default(bool?), bool? extendOrderMode = default(bool?), ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData responseData = default(ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData), string salesOrderStandardPriceSpecificationElementTypeCode = default(string), bool? includeSalesTax = default(bool?), string priceTypeCode = default(string), string sapRebatesPromotionId = default(string), List lineItemList = default(List), ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string deliveryTypeCode = default(string), string salesOrderFinalPricePosPriceSpecificationElementTypeCode = default(string), string salesOrderDefaultPrepaymentPriceSpecificationElementTypeCode = default(string), string deliveryPlantID = default(string), string uuid = default(string), bool? downpaymentNotAllowed = default(bool?), ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest downPaymentRequest = default(ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "usePosPrices" is required (not null) + if (usePosPrices == null) + { + throw new InvalidDataException("usePosPrices is a required property for ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest and cannot be null"); + } + else + { + this.UsePosPrices = usePosPrices; + } + // to ensure "extendOrderMode" is required (not null) + if (extendOrderMode == null) + { + throw new InvalidDataException("extendOrderMode is a required property for ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest and cannot be null"); + } + else + { + this.ExtendOrderMode = extendOrderMode; + } + // to ensure "includeSalesTax" is required (not null) + if (includeSalesTax == null) + { + throw new InvalidDataException("includeSalesTax is a required property for ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest and cannot be null"); + } + else + { + this.IncludeSalesTax = includeSalesTax; + } + this.OrderId = orderId; + this.ResponseData = responseData; + this.SalesOrderStandardPriceSpecificationElementTypeCode = salesOrderStandardPriceSpecificationElementTypeCode; + this.PriceTypeCode = priceTypeCode; + this.SapRebatesPromotionId = sapRebatesPromotionId; + this.LineItemList = lineItemList; + this.OperationConfiguration = operationConfiguration; + this.DeliveryTypeCode = deliveryTypeCode; + this.SalesOrderFinalPricePosPriceSpecificationElementTypeCode = salesOrderFinalPricePosPriceSpecificationElementTypeCode; + this.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode = salesOrderDefaultPrepaymentPriceSpecificationElementTypeCode; + this.DeliveryPlantID = deliveryPlantID; + this.Uuid = uuid; + this.DownpaymentNotAllowed = downpaymentNotAllowed; + this.DownPaymentRequest = downPaymentRequest; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The order id.</p> + /// + /// <p>The order id.</p> + [DataMember(Name="orderId", EmitDefaultValue=false)] + public string OrderId { get; set; } + + /// + /// <p>The use pos prices.</p> + /// + /// <p>The use pos prices.</p> + [DataMember(Name="usePosPrices", EmitDefaultValue=false)] + public bool? UsePosPrices { get; set; } + + /// + /// <p>The extend order mode.</p> + /// + /// <p>The extend order mode.</p> + [DataMember(Name="extendOrderMode", EmitDefaultValue=false)] + public bool? ExtendOrderMode { get; set; } + + /// + /// <p>The response data.</p> + /// + /// <p>The response data.</p> + [DataMember(Name="responseData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData ResponseData { get; set; } + + /// + /// <p>The sales order standard price specification element type code.</p> + /// + /// <p>The sales order standard price specification element type code.</p> + [DataMember(Name="salesOrderStandardPriceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string SalesOrderStandardPriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>The include sales tax.</p> + /// + /// <p>The include sales tax.</p> + [DataMember(Name="includeSalesTax", EmitDefaultValue=false)] + public bool? IncludeSalesTax { get; set; } + + /// + /// <p>The price type code.</p> + /// + /// <p>The price type code.</p> + [DataMember(Name="priceTypeCode", EmitDefaultValue=false)] + public string PriceTypeCode { get; set; } + + /// + /// <p>The sap debates promotion id.</p> + /// + /// <p>The sap debates promotion id.</p> + [DataMember(Name="sapRebatesPromotionId", EmitDefaultValue=false)] + public string SapRebatesPromotionId { get; set; } + + /// + /// <p>The line item list</p> + /// + /// <p>The line item list</p> + [DataMember(Name="lineItemList", EmitDefaultValue=false)] + public List LineItemList { get; set; } + + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>T delivery type code</p> + /// + /// <p>T delivery type code</p> + [DataMember(Name="deliveryTypeCode", EmitDefaultValue=false)] + public string DeliveryTypeCode { get; set; } + + /// + /// <p>The salesorder final price pos price specification element type code</p> + /// + /// <p>The salesorder final price pos price specification element type code</p> + [DataMember(Name="salesOrderFinalPricePosPriceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string SalesOrderFinalPricePosPriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>The sales order default prepayment price specification element type code</p> + /// + /// <p>The sales order default prepayment price specification element type code</p> + [DataMember(Name="salesOrderDefaultPrepaymentPriceSpecificationElementTypeCode", EmitDefaultValue=false)] + public string SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode { get; set; } + + /// + /// <p>The delivery plant ID</p> + /// + /// <p>The delivery plant ID</p> + [DataMember(Name="deliveryPlantID", EmitDefaultValue=false)] + public string DeliveryPlantID { get; set; } + + /// + /// <p>The uuid</p> + /// + /// <p>The uuid</p> + [DataMember(Name="uuid", EmitDefaultValue=false)] + public string Uuid { get; set; } + + /// + /// <p>The down payment not allowed</p> + /// + /// <p>The down payment not allowed</p> + [DataMember(Name="downpaymentNotAllowed", EmitDefaultValue=false)] + public bool? DownpaymentNotAllowed { get; set; } + + /// + /// <p>The down payment request object</p> + /// + /// <p>The down payment request object</p> + [DataMember(Name="downPaymentRequest", EmitDefaultValue=false)] + public ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest DownPaymentRequest { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest {\n"); + sb.Append(" OrderId: ").Append(OrderId).Append("\n"); + sb.Append(" UsePosPrices: ").Append(UsePosPrices).Append("\n"); + sb.Append(" ExtendOrderMode: ").Append(ExtendOrderMode).Append("\n"); + sb.Append(" ResponseData: ").Append(ResponseData).Append("\n"); + sb.Append(" SalesOrderStandardPriceSpecificationElementTypeCode: ").Append(SalesOrderStandardPriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" IncludeSalesTax: ").Append(IncludeSalesTax).Append("\n"); + sb.Append(" PriceTypeCode: ").Append(PriceTypeCode).Append("\n"); + sb.Append(" SapRebatesPromotionId: ").Append(SapRebatesPromotionId).Append("\n"); + sb.Append(" LineItemList: ").Append(LineItemList).Append("\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" DeliveryTypeCode: ").Append(DeliveryTypeCode).Append("\n"); + sb.Append(" SalesOrderFinalPricePosPriceSpecificationElementTypeCode: ").Append(SalesOrderFinalPricePosPriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode: ").Append(SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode).Append("\n"); + sb.Append(" DeliveryPlantID: ").Append(DeliveryPlantID).Append("\n"); + sb.Append(" Uuid: ").Append(Uuid).Append("\n"); + sb.Append(" DownpaymentNotAllowed: ").Append(DownpaymentNotAllowed).Append("\n"); + sb.Append(" DownPaymentRequest: ").Append(DownPaymentRequest).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest input) + { + if (input == null) + return false; + + return + ( + this.OrderId == input.OrderId || + (this.OrderId != null && + this.OrderId.Equals(input.OrderId)) + ) && + ( + this.UsePosPrices == input.UsePosPrices || + (this.UsePosPrices != null && + this.UsePosPrices.Equals(input.UsePosPrices)) + ) && + ( + this.ExtendOrderMode == input.ExtendOrderMode || + (this.ExtendOrderMode != null && + this.ExtendOrderMode.Equals(input.ExtendOrderMode)) + ) && + ( + this.ResponseData == input.ResponseData || + (this.ResponseData != null && + this.ResponseData.Equals(input.ResponseData)) + ) && + ( + this.SalesOrderStandardPriceSpecificationElementTypeCode == input.SalesOrderStandardPriceSpecificationElementTypeCode || + (this.SalesOrderStandardPriceSpecificationElementTypeCode != null && + this.SalesOrderStandardPriceSpecificationElementTypeCode.Equals(input.SalesOrderStandardPriceSpecificationElementTypeCode)) + ) && + ( + this.IncludeSalesTax == input.IncludeSalesTax || + (this.IncludeSalesTax != null && + this.IncludeSalesTax.Equals(input.IncludeSalesTax)) + ) && + ( + this.PriceTypeCode == input.PriceTypeCode || + (this.PriceTypeCode != null && + this.PriceTypeCode.Equals(input.PriceTypeCode)) + ) && + ( + this.SapRebatesPromotionId == input.SapRebatesPromotionId || + (this.SapRebatesPromotionId != null && + this.SapRebatesPromotionId.Equals(input.SapRebatesPromotionId)) + ) && + ( + this.LineItemList == input.LineItemList || + this.LineItemList != null && + this.LineItemList.SequenceEqual(input.LineItemList) + ) && + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.DeliveryTypeCode == input.DeliveryTypeCode || + (this.DeliveryTypeCode != null && + this.DeliveryTypeCode.Equals(input.DeliveryTypeCode)) + ) && + ( + this.SalesOrderFinalPricePosPriceSpecificationElementTypeCode == input.SalesOrderFinalPricePosPriceSpecificationElementTypeCode || + (this.SalesOrderFinalPricePosPriceSpecificationElementTypeCode != null && + this.SalesOrderFinalPricePosPriceSpecificationElementTypeCode.Equals(input.SalesOrderFinalPricePosPriceSpecificationElementTypeCode)) + ) && + ( + this.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode == input.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode || + (this.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode != null && + this.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode.Equals(input.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode)) + ) && + ( + this.DeliveryPlantID == input.DeliveryPlantID || + (this.DeliveryPlantID != null && + this.DeliveryPlantID.Equals(input.DeliveryPlantID)) + ) && + ( + this.Uuid == input.Uuid || + (this.Uuid != null && + this.Uuid.Equals(input.Uuid)) + ) && + ( + this.DownpaymentNotAllowed == input.DownpaymentNotAllowed || + (this.DownpaymentNotAllowed != null && + this.DownpaymentNotAllowed.Equals(input.DownpaymentNotAllowed)) + ) && + ( + this.DownPaymentRequest == input.DownPaymentRequest || + (this.DownPaymentRequest != null && + this.DownPaymentRequest.Equals(input.DownPaymentRequest)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OrderId != null) + hashCode = hashCode * 59 + this.OrderId.GetHashCode(); + if (this.UsePosPrices != null) + hashCode = hashCode * 59 + this.UsePosPrices.GetHashCode(); + if (this.ExtendOrderMode != null) + hashCode = hashCode * 59 + this.ExtendOrderMode.GetHashCode(); + if (this.ResponseData != null) + hashCode = hashCode * 59 + this.ResponseData.GetHashCode(); + if (this.SalesOrderStandardPriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderStandardPriceSpecificationElementTypeCode.GetHashCode(); + if (this.IncludeSalesTax != null) + hashCode = hashCode * 59 + this.IncludeSalesTax.GetHashCode(); + if (this.PriceTypeCode != null) + hashCode = hashCode * 59 + this.PriceTypeCode.GetHashCode(); + if (this.SapRebatesPromotionId != null) + hashCode = hashCode * 59 + this.SapRebatesPromotionId.GetHashCode(); + if (this.LineItemList != null) + hashCode = hashCode * 59 + this.LineItemList.GetHashCode(); + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.DeliveryTypeCode != null) + hashCode = hashCode * 59 + this.DeliveryTypeCode.GetHashCode(); + if (this.SalesOrderFinalPricePosPriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderFinalPricePosPriceSpecificationElementTypeCode.GetHashCode(); + if (this.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode != null) + hashCode = hashCode * 59 + this.SalesOrderDefaultPrepaymentPriceSpecificationElementTypeCode.GetHashCode(); + if (this.DeliveryPlantID != null) + hashCode = hashCode * 59 + this.DeliveryPlantID.GetHashCode(); + if (this.Uuid != null) + hashCode = hashCode * 59 + this.Uuid.GetHashCode(); + if (this.DownpaymentNotAllowed != null) + hashCode = hashCode * 59 + this.DownpaymentNotAllowed.GetHashCode(); + if (this.DownPaymentRequest != null) + hashCode = hashCode * 59 + this.DownPaymentRequest.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9c2c1c89a7d0221940e549bfa15a1a525fe2dead --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest.cs @@ -0,0 +1,413 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UpdateTransactionExtensionRequest <p>Request object for updating a transaction extension.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// transactionId. + /// <p>The transaction extension key to be updated in the transaction.</p>. + /// <p>The new transaction extension value to be set in the transaction.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest(string transactionId = default(string), string extensionKey = default(string), string extensionValue = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.TransactionId = transactionId; + this.ExtensionKey = extensionKey; + this.ExtensionValue = extensionValue; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets TransactionId + /// + [DataMember(Name="transactionId", EmitDefaultValue=false)] + public string TransactionId { get; set; } + + /// + /// <p>The transaction extension key to be updated in the transaction.</p> + /// + /// <p>The transaction extension key to be updated in the transaction.</p> + [DataMember(Name="extensionKey", EmitDefaultValue=false)] + public string ExtensionKey { get; set; } + + /// + /// <p>The new transaction extension value to be set in the transaction.</p> + /// + /// <p>The new transaction extension value to be set in the transaction.</p> + [DataMember(Name="extensionValue", EmitDefaultValue=false)] + public string ExtensionValue { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest {\n"); + sb.Append(" TransactionId: ").Append(TransactionId).Append("\n"); + sb.Append(" ExtensionKey: ").Append(ExtensionKey).Append("\n"); + sb.Append(" ExtensionValue: ").Append(ExtensionValue).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest input) + { + if (input == null) + return false; + + return + ( + this.TransactionId == input.TransactionId || + (this.TransactionId != null && + this.TransactionId.Equals(input.TransactionId)) + ) && + ( + this.ExtensionKey == input.ExtensionKey || + (this.ExtensionKey != null && + this.ExtensionKey.Equals(input.ExtensionKey)) + ) && + ( + this.ExtensionValue == input.ExtensionValue || + (this.ExtensionValue != null && + this.ExtensionValue.Equals(input.ExtensionValue)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TransactionId != null) + hashCode = hashCode * 59 + this.TransactionId.GetHashCode(); + if (this.ExtensionKey != null) + hashCode = hashCode * 59 + this.ExtensionKey.GetHashCode(); + if (this.ExtensionValue != null) + hashCode = hashCode * 59 + this.ExtensionValue.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..be3e6bc1755e81ae7c13c95204aefeec8ee47848 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest.cs @@ -0,0 +1,477 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// VoidLineItemBatchRequest <p>The void line item batch request</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operation configuration</p>. + /// <p>The void line item details</p> (required). + /// <p>The store transaction</p> (required). + /// <p>The offline mode</p> (required). + /// <p>The keyed on line state</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), List voidLineItemDetails = default(List), bool? storeTransaction = default(bool?), bool? offlineMode = default(bool?), bool? keyedOnline = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "voidLineItemDetails" is required (not null) + if (voidLineItemDetails == null) + { + throw new InvalidDataException("voidLineItemDetails is a required property for ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest and cannot be null"); + } + else + { + this.VoidLineItemDetails = voidLineItemDetails; + } + // to ensure "storeTransaction" is required (not null) + if (storeTransaction == null) + { + throw new InvalidDataException("storeTransaction is a required property for ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest and cannot be null"); + } + else + { + this.StoreTransaction = storeTransaction; + } + // to ensure "offlineMode" is required (not null) + if (offlineMode == null) + { + throw new InvalidDataException("offlineMode is a required property for ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest and cannot be null"); + } + else + { + this.OfflineMode = offlineMode; + } + this.OperationConfiguration = operationConfiguration; + this.KeyedOnline = keyedOnline; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The void line item details</p> + /// + /// <p>The void line item details</p> + [DataMember(Name="voidLineItemDetails", EmitDefaultValue=false)] + public List VoidLineItemDetails { get; set; } + + /// + /// <p>The store transaction</p> + /// + /// <p>The store transaction</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + [DataMember(Name="offlineMode", EmitDefaultValue=false)] + public bool? OfflineMode { get; set; } + + /// + /// <p>The keyed on line state</p> + /// + /// <p>The keyed on line state</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" VoidLineItemDetails: ").Append(VoidLineItemDetails).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" OfflineMode: ").Append(OfflineMode).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.VoidLineItemDetails == input.VoidLineItemDetails || + this.VoidLineItemDetails != null && + this.VoidLineItemDetails.SequenceEqual(input.VoidLineItemDetails) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.OfflineMode == input.OfflineMode || + (this.OfflineMode != null && + this.OfflineMode.Equals(input.OfflineMode)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.VoidLineItemDetails != null) + hashCode = hashCode * 59 + this.VoidLineItemDetails.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.OfflineMode != null) + hashCode = hashCode * 59 + this.OfflineMode.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..e673d62f3ccc9238caf0a9ae6a90fb25b7b5c6ee --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail.cs @@ -0,0 +1,397 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// VoidLineItemDetail <p>The void line item detail</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Thw line item key</p>. + /// <p>The void type code</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string voidTypeCode = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.LineItemKey = lineItemKey; + this.VoidTypeCode = voidTypeCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>Thw line item key</p> + /// + /// <p>Thw line item key</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The void type code</p> + /// + /// <p>The void type code</p> + [DataMember(Name="voidTypeCode", EmitDefaultValue=false)] + public string VoidTypeCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail {\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" VoidTypeCode: ").Append(VoidTypeCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail input) + { + if (input == null) + return false; + + return + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.VoidTypeCode == input.VoidTypeCode || + (this.VoidTypeCode != null && + this.VoidTypeCode.Equals(input.VoidTypeCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.VoidTypeCode != null) + hashCode = hashCode * 59 + this.VoidTypeCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d53b563f208ff2ee9bd7456cda4922e95a879469 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest.cs @@ -0,0 +1,595 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// VoidLineItemRequest <p>Domain object for VoidLineItem Request</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operation configuration</p>. + /// <p>The key of the line item to void</p>. + /// <p>The key of the tender authorization related to voided line item</p>. + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p>. + /// <p>Flag indicating whether to copy the line item.</p> (required). + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p>. + /// <p>Indicates whether the transaction should be stored.</p> (required). + /// <p>The offline mode</p> (required). + /// <p>The keyed on line state.</p>. + /// <p>Indicates whether the POS is in service scale mode.</p>. + /// <p>The reason for the void.</p>. + /// recalculateTransaction. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey tenderAuthorizationKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey), string voidTypeCode = default(string), bool? copyVoidedLineItem = default(bool?), string giftCertCancellationId = default(string), bool? storeTransaction = default(bool?), bool? offlineMode = default(bool?), bool? keyedOnline = default(bool?), bool? serviceScaleMode = default(bool?), ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO voidReason = default(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO), bool? recalculateTransaction = default(bool?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + // to ensure "copyVoidedLineItem" is required (not null) + if (copyVoidedLineItem == null) + { + throw new InvalidDataException("copyVoidedLineItem is a required property for ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest and cannot be null"); + } + else + { + this.CopyVoidedLineItem = copyVoidedLineItem; + } + // to ensure "storeTransaction" is required (not null) + if (storeTransaction == null) + { + throw new InvalidDataException("storeTransaction is a required property for ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest and cannot be null"); + } + else + { + this.StoreTransaction = storeTransaction; + } + // to ensure "offlineMode" is required (not null) + if (offlineMode == null) + { + throw new InvalidDataException("offlineMode is a required property for ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest and cannot be null"); + } + else + { + this.OfflineMode = offlineMode; + } + this.OperationConfiguration = operationConfiguration; + this.LineItemKey = lineItemKey; + this.TenderAuthorizationKey = tenderAuthorizationKey; + this.VoidTypeCode = voidTypeCode; + this.GiftCertCancellationId = giftCertCancellationId; + this.KeyedOnline = keyedOnline; + this.ServiceScaleMode = serviceScaleMode; + this.VoidReason = voidReason; + this.RecalculateTransaction = recalculateTransaction; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + [DataMember(Name="operationConfiguration", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig OperationConfiguration { get; set; } + + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + [DataMember(Name="lineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey LineItemKey { get; set; } + + /// + /// <p>The key of the tender authorization related to voided line item</p> + /// + /// <p>The key of the tender authorization related to voided line item</p> + [DataMember(Name="tenderAuthorizationKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey TenderAuthorizationKey { get; set; } + + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + [DataMember(Name="voidTypeCode", EmitDefaultValue=false)] + public string VoidTypeCode { get; set; } + + /// + /// <p>Flag indicating whether to copy the line item.</p> + /// + /// <p>Flag indicating whether to copy the line item.</p> + [DataMember(Name="copyVoidedLineItem", EmitDefaultValue=false)] + public bool? CopyVoidedLineItem { get; set; } + + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + [DataMember(Name="giftCertCancellationId", EmitDefaultValue=false)] + public string GiftCertCancellationId { get; set; } + + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + [DataMember(Name="offlineMode", EmitDefaultValue=false)] + public bool? OfflineMode { get; set; } + + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + [DataMember(Name="keyedOnline", EmitDefaultValue=false)] + public bool? KeyedOnline { get; set; } + + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + [DataMember(Name="serviceScaleMode", EmitDefaultValue=false)] + public bool? ServiceScaleMode { get; set; } + + /// + /// <p>The reason for the void.</p> + /// + /// <p>The reason for the void.</p> + [DataMember(Name="voidReason", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO VoidReason { get; set; } + + /// + /// Gets or Sets RecalculateTransaction + /// + [DataMember(Name="recalculateTransaction", EmitDefaultValue=false)] + public bool? RecalculateTransaction { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest {\n"); + sb.Append(" OperationConfiguration: ").Append(OperationConfiguration).Append("\n"); + sb.Append(" LineItemKey: ").Append(LineItemKey).Append("\n"); + sb.Append(" TenderAuthorizationKey: ").Append(TenderAuthorizationKey).Append("\n"); + sb.Append(" VoidTypeCode: ").Append(VoidTypeCode).Append("\n"); + sb.Append(" CopyVoidedLineItem: ").Append(CopyVoidedLineItem).Append("\n"); + sb.Append(" GiftCertCancellationId: ").Append(GiftCertCancellationId).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" OfflineMode: ").Append(OfflineMode).Append("\n"); + sb.Append(" KeyedOnline: ").Append(KeyedOnline).Append("\n"); + sb.Append(" ServiceScaleMode: ").Append(ServiceScaleMode).Append("\n"); + sb.Append(" VoidReason: ").Append(VoidReason).Append("\n"); + sb.Append(" RecalculateTransaction: ").Append(RecalculateTransaction).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.OperationConfiguration == input.OperationConfiguration || + (this.OperationConfiguration != null && + this.OperationConfiguration.Equals(input.OperationConfiguration)) + ) && + ( + this.LineItemKey == input.LineItemKey || + (this.LineItemKey != null && + this.LineItemKey.Equals(input.LineItemKey)) + ) && + ( + this.TenderAuthorizationKey == input.TenderAuthorizationKey || + (this.TenderAuthorizationKey != null && + this.TenderAuthorizationKey.Equals(input.TenderAuthorizationKey)) + ) && + ( + this.VoidTypeCode == input.VoidTypeCode || + (this.VoidTypeCode != null && + this.VoidTypeCode.Equals(input.VoidTypeCode)) + ) && + ( + this.CopyVoidedLineItem == input.CopyVoidedLineItem || + (this.CopyVoidedLineItem != null && + this.CopyVoidedLineItem.Equals(input.CopyVoidedLineItem)) + ) && + ( + this.GiftCertCancellationId == input.GiftCertCancellationId || + (this.GiftCertCancellationId != null && + this.GiftCertCancellationId.Equals(input.GiftCertCancellationId)) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.OfflineMode == input.OfflineMode || + (this.OfflineMode != null && + this.OfflineMode.Equals(input.OfflineMode)) + ) && + ( + this.KeyedOnline == input.KeyedOnline || + (this.KeyedOnline != null && + this.KeyedOnline.Equals(input.KeyedOnline)) + ) && + ( + this.ServiceScaleMode == input.ServiceScaleMode || + (this.ServiceScaleMode != null && + this.ServiceScaleMode.Equals(input.ServiceScaleMode)) + ) && + ( + this.VoidReason == input.VoidReason || + (this.VoidReason != null && + this.VoidReason.Equals(input.VoidReason)) + ) && + ( + this.RecalculateTransaction == input.RecalculateTransaction || + (this.RecalculateTransaction != null && + this.RecalculateTransaction.Equals(input.RecalculateTransaction)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperationConfiguration != null) + hashCode = hashCode * 59 + this.OperationConfiguration.GetHashCode(); + if (this.LineItemKey != null) + hashCode = hashCode * 59 + this.LineItemKey.GetHashCode(); + if (this.TenderAuthorizationKey != null) + hashCode = hashCode * 59 + this.TenderAuthorizationKey.GetHashCode(); + if (this.VoidTypeCode != null) + hashCode = hashCode * 59 + this.VoidTypeCode.GetHashCode(); + if (this.CopyVoidedLineItem != null) + hashCode = hashCode * 59 + this.CopyVoidedLineItem.GetHashCode(); + if (this.GiftCertCancellationId != null) + hashCode = hashCode * 59 + this.GiftCertCancellationId.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.OfflineMode != null) + hashCode = hashCode * 59 + this.OfflineMode.GetHashCode(); + if (this.KeyedOnline != null) + hashCode = hashCode * 59 + this.KeyedOnline.GetHashCode(); + if (this.ServiceScaleMode != null) + hashCode = hashCode * 59 + this.ServiceScaleMode.GetHashCode(); + if (this.VoidReason != null) + hashCode = hashCode * 59 + this.VoidReason.GetHashCode(); + if (this.RecalculateTransaction != null) + hashCode = hashCode * 59 + this.RecalculateTransaction.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..114adaeea474208cdc24adebd3914e2e887b13df --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest.cs @@ -0,0 +1,545 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// VoidTenderLineItemRequest <p>Domain object for VoidTenderLineItem Request</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest : IEquatable, IValidatableObject + { + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + [JsonConverter(typeof(StringEnumConverter))] + public enum TenderGroupCodeEnum + { + + /// + /// Enum CASH for value: CASH + /// + [EnumMember(Value = "CASH")] + CASH = 1, + + /// + /// Enum TERMINAL for value: TERMINAL + /// + [EnumMember(Value = "TERMINAL")] + TERMINAL = 2, + + /// + /// Enum GIFTCERT for value: GIFT_CERT + /// + [EnumMember(Value = "GIFT_CERT")] + GIFTCERT = 3, + + /// + /// Enum COUPON for value: COUPON + /// + [EnumMember(Value = "COUPON")] + COUPON = 4, + + /// + /// Enum CHEQUE for value: CHEQUE + /// + [EnumMember(Value = "CHEQUE")] + CHEQUE = 5, + + /// + /// Enum CREDIT for value: CREDIT + /// + [EnumMember(Value = "CREDIT")] + CREDIT = 6, + + /// + /// Enum PROMOTION for value: PROMOTION + /// + [EnumMember(Value = "PROMOTION")] + PROMOTION = 7, + + /// + /// Enum POINTS for value: POINTS + /// + [EnumMember(Value = "POINTS")] + POINTS = 8, + + /// + /// Enum CASHENGINE for value: CASHENGINE + /// + [EnumMember(Value = "CASHENGINE")] + CASHENGINE = 9 + } + + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + [DataMember(Name="tenderGroupCode", EmitDefaultValue=false)] + public TenderGroupCodeEnum? TenderGroupCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// <p>The operation configuration.</p>. + /// <p>The key of the line item to void</p>. + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p>. + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p>. + /// <p>Terminal tender authorization key.</p>. + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p>. + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey retailTransactionLineItemKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey), string voidTypeCode = default(string), TenderGroupCodeEnum? tenderGroupCode = default(TenderGroupCodeEnum?), ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey terminalTenderCancellationAuthorizationKey = default(ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey), string pointsCancellationTransactionId = default(string), string giftCertCancellationTransactionId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.RetailTransactionLineItemKey = retailTransactionLineItemKey; + this.VoidTypeCode = voidTypeCode; + this.TenderGroupCode = tenderGroupCode; + this.TerminalTenderCancellationAuthorizationKey = terminalTenderCancellationAuthorizationKey; + this.PointsCancellationTransactionId = pointsCancellationTransactionId; + this.GiftCertCancellationTransactionId = giftCertCancellationTransactionId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + [DataMember(Name="retailTransactionLineItemKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey RetailTransactionLineItemKey { get; set; } + + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + [DataMember(Name="voidTypeCode", EmitDefaultValue=false)] + public string VoidTypeCode { get; set; } + + + /// + /// <p>Terminal tender authorization key.</p> + /// + /// <p>Terminal tender authorization key.</p> + [DataMember(Name="terminalTenderCancellationAuthorizationKey", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey TerminalTenderCancellationAuthorizationKey { get; set; } + + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + [DataMember(Name="pointsCancellationTransactionId", EmitDefaultValue=false)] + public string PointsCancellationTransactionId { get; set; } + + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + [DataMember(Name="giftCertCancellationTransactionId", EmitDefaultValue=false)] + public string GiftCertCancellationTransactionId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" RetailTransactionLineItemKey: ").Append(RetailTransactionLineItemKey).Append("\n"); + sb.Append(" VoidTypeCode: ").Append(VoidTypeCode).Append("\n"); + sb.Append(" TenderGroupCode: ").Append(TenderGroupCode).Append("\n"); + sb.Append(" TerminalTenderCancellationAuthorizationKey: ").Append(TerminalTenderCancellationAuthorizationKey).Append("\n"); + sb.Append(" PointsCancellationTransactionId: ").Append(PointsCancellationTransactionId).Append("\n"); + sb.Append(" GiftCertCancellationTransactionId: ").Append(GiftCertCancellationTransactionId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.RetailTransactionLineItemKey == input.RetailTransactionLineItemKey || + (this.RetailTransactionLineItemKey != null && + this.RetailTransactionLineItemKey.Equals(input.RetailTransactionLineItemKey)) + ) && + ( + this.VoidTypeCode == input.VoidTypeCode || + (this.VoidTypeCode != null && + this.VoidTypeCode.Equals(input.VoidTypeCode)) + ) && + ( + this.TenderGroupCode == input.TenderGroupCode || + (this.TenderGroupCode != null && + this.TenderGroupCode.Equals(input.TenderGroupCode)) + ) && + ( + this.TerminalTenderCancellationAuthorizationKey == input.TerminalTenderCancellationAuthorizationKey || + (this.TerminalTenderCancellationAuthorizationKey != null && + this.TerminalTenderCancellationAuthorizationKey.Equals(input.TerminalTenderCancellationAuthorizationKey)) + ) && + ( + this.PointsCancellationTransactionId == input.PointsCancellationTransactionId || + (this.PointsCancellationTransactionId != null && + this.PointsCancellationTransactionId.Equals(input.PointsCancellationTransactionId)) + ) && + ( + this.GiftCertCancellationTransactionId == input.GiftCertCancellationTransactionId || + (this.GiftCertCancellationTransactionId != null && + this.GiftCertCancellationTransactionId.Equals(input.GiftCertCancellationTransactionId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.RetailTransactionLineItemKey != null) + hashCode = hashCode * 59 + this.RetailTransactionLineItemKey.GetHashCode(); + if (this.VoidTypeCode != null) + hashCode = hashCode * 59 + this.VoidTypeCode.GetHashCode(); + if (this.TenderGroupCode != null) + hashCode = hashCode * 59 + this.TenderGroupCode.GetHashCode(); + if (this.TerminalTenderCancellationAuthorizationKey != null) + hashCode = hashCode * 59 + this.TerminalTenderCancellationAuthorizationKey.GetHashCode(); + if (this.PointsCancellationTransactionId != null) + hashCode = hashCode * 59 + this.PointsCancellationTransactionId.GetHashCode(); + if (this.GiftCertCancellationTransactionId != null) + hashCode = hashCode * 59 + this.GiftCertCancellationTransactionId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4e8193584219b6fe97de9668a07efe6c10d8628b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest.cs @@ -0,0 +1,414 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// VoidTransactionConsolidateCashInMainCurrencyRequest <p>Request to consolidate cash in main currency for process VoidTransaction.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>The position operation configuration.</p>. + /// <p>The identifier for the voiding transaction.</p>. + /// <p>The cash refund amount.</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfig = default(ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig), string voidingTransactionId = default(string), double? cashRefundAmount = default(double?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.PositionOperationConfig = positionOperationConfig; + this.VoidingTransactionId = voidingTransactionId; + this.CashRefundAmount = cashRefundAmount; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + [DataMember(Name="positionOperationConfig", EmitDefaultValue=false)] + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig PositionOperationConfig { get; set; } + + /// + /// <p>The identifier for the voiding transaction.</p> + /// + /// <p>The identifier for the voiding transaction.</p> + [DataMember(Name="voidingTransactionId", EmitDefaultValue=false)] + public string VoidingTransactionId { get; set; } + + /// + /// <p>The cash refund amount.</p> + /// + /// <p>The cash refund amount.</p> + [DataMember(Name="cashRefundAmount", EmitDefaultValue=false)] + public double? CashRefundAmount { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest {\n"); + sb.Append(" PositionOperationConfig: ").Append(PositionOperationConfig).Append("\n"); + sb.Append(" VoidingTransactionId: ").Append(VoidingTransactionId).Append("\n"); + sb.Append(" CashRefundAmount: ").Append(CashRefundAmount).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest); + } + + /// + /// Returns true if ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest instances are equal + /// + /// Instance of ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest input) + { + if (input == null) + return false; + + return + ( + this.PositionOperationConfig == input.PositionOperationConfig || + (this.PositionOperationConfig != null && + this.PositionOperationConfig.Equals(input.PositionOperationConfig)) + ) && + ( + this.VoidingTransactionId == input.VoidingTransactionId || + (this.VoidingTransactionId != null && + this.VoidingTransactionId.Equals(input.VoidingTransactionId)) + ) && + ( + this.CashRefundAmount == input.CashRefundAmount || + (this.CashRefundAmount != null && + this.CashRefundAmount.Equals(input.CashRefundAmount)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PositionOperationConfig != null) + hashCode = hashCode * 59 + this.PositionOperationConfig.GetHashCode(); + if (this.VoidingTransactionId != null) + hashCode = hashCode * 59 + this.VoidingTransactionId.GetHashCode(); + if (this.CashRefundAmount != null) + hashCode = hashCode * 59 + this.CashRefundAmount.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiSessionPosSessionData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiSessionPosSessionData.cs new file mode 100644 index 0000000000000000000000000000000000000000..b0d5a4a862101c2b7c142ccfd13d7df54de66b32 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiSessionPosSessionData.cs @@ -0,0 +1,125 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosSessionData <p>Store specific session data.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiSessionPosSessionData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// <p>Map that holds session data.</p>. + public ComGkSoftwarePosApiSessionPosSessionData(Dictionary sessionDataMap = default(Dictionary)) + { + this.SessionDataMap = sessionDataMap; + } + + /// + /// <p>Map that holds session data.</p> + /// + /// <p>Map that holds session data.</p> + [DataMember(Name="sessionDataMap", EmitDefaultValue=false)] + public Dictionary SessionDataMap { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiSessionPosSessionData {\n"); + sb.Append(" SessionDataMap: ").Append(SessionDataMap).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiSessionPosSessionData); + } + + /// + /// Returns true if ComGkSoftwarePosApiSessionPosSessionData instances are equal + /// + /// Instance of ComGkSoftwarePosApiSessionPosSessionData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiSessionPosSessionData input) + { + if (input == null) + return false; + + return + ( + this.SessionDataMap == input.SessionDataMap || + this.SessionDataMap != null && + this.SessionDataMap.SequenceEqual(input.SessionDataMap) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SessionDataMap != null) + hashCode = hashCode * 59 + this.SessionDataMap.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiSessionPosSessionId.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiSessionPosSessionId.cs new file mode 100644 index 0000000000000000000000000000000000000000..750a2aeca3f41cf6c23e8a399f0ae925a2d573f5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosApiSessionPosSessionId.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosSessionId <p>Identifies a session.</p> + /// + [DataContract] + public partial class ComGkSoftwarePosApiSessionPosSessionId : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwarePosApiSessionPosSessionId() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The session id.</p> (required). + public ComGkSoftwarePosApiSessionPosSessionId(string id = default(string)) + { + // to ensure "id" is required (not null) + if (id == null) + { + throw new InvalidDataException("id is a required property for ComGkSoftwarePosApiSessionPosSessionId and cannot be null"); + } + else + { + this.Id = id; + } + } + + /// + /// <p>The session id.</p> + /// + /// <p>The session id.</p> + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosApiSessionPosSessionId {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosApiSessionPosSessionId); + } + + /// + /// Returns true if ComGkSoftwarePosApiSessionPosSessionId instances are equal + /// + /// Instance of ComGkSoftwarePosApiSessionPosSessionId to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosApiSessionPosSessionId input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsCustomerCustomerCardCode.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsCustomerCustomerCardCode.cs new file mode 100644 index 0000000000000000000000000000000000000000..76372c5e5b74a1d36bc5376e42f739f944cadc07 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsCustomerCustomerCardCode.cs @@ -0,0 +1,668 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerCardCode TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosFlowLibsCustomerCustomerCardCode : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// storeNumber. + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// cardNumber. + /// salutation. + /// firstName. + /// lastName. + /// street. + /// zip. + /// city. + /// federalState. + /// country. + /// email. + /// telephone. + /// mobilePhone. + /// fax. + /// businessTelephone. + /// taxId. + /// gender. + /// birthday. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosFlowLibsCustomerCustomerCardCode(string storeNumber = default(string), string date = default(string), string cardNumber = default(string), string salutation = default(string), string firstName = default(string), string lastName = default(string), string street = default(string), string zip = default(string), string city = default(string), string federalState = default(string), string country = default(string), string email = default(string), string telephone = default(string), string mobilePhone = default(string), string fax = default(string), string businessTelephone = default(string), string taxId = default(string), string gender = default(string), string birthday = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.StoreNumber = storeNumber; + this.Date = date; + this.CardNumber = cardNumber; + this.Salutation = salutation; + this.FirstName = firstName; + this.LastName = lastName; + this.Street = street; + this.Zip = zip; + this.City = city; + this.FederalState = federalState; + this.Country = country; + this.Email = email; + this.Telephone = telephone; + this.MobilePhone = mobilePhone; + this.Fax = fax; + this.BusinessTelephone = businessTelephone; + this.TaxId = taxId; + this.Gender = gender; + this.Birthday = birthday; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets StoreNumber + /// + [DataMember(Name="storeNumber", EmitDefaultValue=false)] + public string StoreNumber { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="date", EmitDefaultValue=false)] + public string Date { get; set; } + + /// + /// Gets or Sets CardNumber + /// + [DataMember(Name="cardNumber", EmitDefaultValue=false)] + public string CardNumber { get; set; } + + /// + /// Gets or Sets Salutation + /// + [DataMember(Name="salutation", EmitDefaultValue=false)] + public string Salutation { get; set; } + + /// + /// Gets or Sets FirstName + /// + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// Gets or Sets LastName + /// + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// Gets or Sets Street + /// + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// Gets or Sets Zip + /// + [DataMember(Name="zip", EmitDefaultValue=false)] + public string Zip { get; set; } + + /// + /// Gets or Sets City + /// + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// Gets or Sets FederalState + /// + [DataMember(Name="federalState", EmitDefaultValue=false)] + public string FederalState { get; set; } + + /// + /// Gets or Sets Country + /// + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// Gets or Sets Email + /// + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + + /// + /// Gets or Sets Telephone + /// + [DataMember(Name="telephone", EmitDefaultValue=false)] + public string Telephone { get; set; } + + /// + /// Gets or Sets MobilePhone + /// + [DataMember(Name="mobilePhone", EmitDefaultValue=false)] + public string MobilePhone { get; set; } + + /// + /// Gets or Sets Fax + /// + [DataMember(Name="fax", EmitDefaultValue=false)] + public string Fax { get; set; } + + /// + /// Gets or Sets BusinessTelephone + /// + [DataMember(Name="businessTelephone", EmitDefaultValue=false)] + public string BusinessTelephone { get; set; } + + /// + /// Gets or Sets TaxId + /// + [DataMember(Name="taxId", EmitDefaultValue=false)] + public string TaxId { get; set; } + + /// + /// Gets or Sets Gender + /// + [DataMember(Name="gender", EmitDefaultValue=false)] + public string Gender { get; set; } + + /// + /// Gets or Sets Birthday + /// + [DataMember(Name="birthday", EmitDefaultValue=false)] + public string Birthday { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosFlowLibsCustomerCustomerCardCode {\n"); + sb.Append(" StoreNumber: ").Append(StoreNumber).Append("\n"); + sb.Append(" Date: ").Append(Date).Append("\n"); + sb.Append(" CardNumber: ").Append(CardNumber).Append("\n"); + sb.Append(" Salutation: ").Append(Salutation).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" Zip: ").Append(Zip).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" FederalState: ").Append(FederalState).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" Telephone: ").Append(Telephone).Append("\n"); + sb.Append(" MobilePhone: ").Append(MobilePhone).Append("\n"); + sb.Append(" Fax: ").Append(Fax).Append("\n"); + sb.Append(" BusinessTelephone: ").Append(BusinessTelephone).Append("\n"); + sb.Append(" TaxId: ").Append(TaxId).Append("\n"); + sb.Append(" Gender: ").Append(Gender).Append("\n"); + sb.Append(" Birthday: ").Append(Birthday).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosFlowLibsCustomerCustomerCardCode); + } + + /// + /// Returns true if ComGkSoftwarePosFlowLibsCustomerCustomerCardCode instances are equal + /// + /// Instance of ComGkSoftwarePosFlowLibsCustomerCustomerCardCode to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosFlowLibsCustomerCustomerCardCode input) + { + if (input == null) + return false; + + return + ( + this.StoreNumber == input.StoreNumber || + (this.StoreNumber != null && + this.StoreNumber.Equals(input.StoreNumber)) + ) && + ( + this.Date == input.Date || + (this.Date != null && + this.Date.Equals(input.Date)) + ) && + ( + this.CardNumber == input.CardNumber || + (this.CardNumber != null && + this.CardNumber.Equals(input.CardNumber)) + ) && + ( + this.Salutation == input.Salutation || + (this.Salutation != null && + this.Salutation.Equals(input.Salutation)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.Street == input.Street || + (this.Street != null && + this.Street.Equals(input.Street)) + ) && + ( + this.Zip == input.Zip || + (this.Zip != null && + this.Zip.Equals(input.Zip)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.FederalState == input.FederalState || + (this.FederalState != null && + this.FederalState.Equals(input.FederalState)) + ) && + ( + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) + ) && + ( + this.Email == input.Email || + (this.Email != null && + this.Email.Equals(input.Email)) + ) && + ( + this.Telephone == input.Telephone || + (this.Telephone != null && + this.Telephone.Equals(input.Telephone)) + ) && + ( + this.MobilePhone == input.MobilePhone || + (this.MobilePhone != null && + this.MobilePhone.Equals(input.MobilePhone)) + ) && + ( + this.Fax == input.Fax || + (this.Fax != null && + this.Fax.Equals(input.Fax)) + ) && + ( + this.BusinessTelephone == input.BusinessTelephone || + (this.BusinessTelephone != null && + this.BusinessTelephone.Equals(input.BusinessTelephone)) + ) && + ( + this.TaxId == input.TaxId || + (this.TaxId != null && + this.TaxId.Equals(input.TaxId)) + ) && + ( + this.Gender == input.Gender || + (this.Gender != null && + this.Gender.Equals(input.Gender)) + ) && + ( + this.Birthday == input.Birthday || + (this.Birthday != null && + this.Birthday.Equals(input.Birthday)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StoreNumber != null) + hashCode = hashCode * 59 + this.StoreNumber.GetHashCode(); + if (this.Date != null) + hashCode = hashCode * 59 + this.Date.GetHashCode(); + if (this.CardNumber != null) + hashCode = hashCode * 59 + this.CardNumber.GetHashCode(); + if (this.Salutation != null) + hashCode = hashCode * 59 + this.Salutation.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.Street != null) + hashCode = hashCode * 59 + this.Street.GetHashCode(); + if (this.Zip != null) + hashCode = hashCode * 59 + this.Zip.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.FederalState != null) + hashCode = hashCode * 59 + this.FederalState.GetHashCode(); + if (this.Country != null) + hashCode = hashCode * 59 + this.Country.GetHashCode(); + if (this.Email != null) + hashCode = hashCode * 59 + this.Email.GetHashCode(); + if (this.Telephone != null) + hashCode = hashCode * 59 + this.Telephone.GetHashCode(); + if (this.MobilePhone != null) + hashCode = hashCode * 59 + this.MobilePhone.GetHashCode(); + if (this.Fax != null) + hashCode = hashCode * 59 + this.Fax.GetHashCode(); + if (this.BusinessTelephone != null) + hashCode = hashCode * 59 + this.BusinessTelephone.GetHashCode(); + if (this.TaxId != null) + hashCode = hashCode * 59 + this.TaxId.GetHashCode(); + if (this.Gender != null) + hashCode = hashCode * 59 + this.Gender.GetHashCode(); + if (this.Birthday != null) + hashCode = hashCode * 59 + this.Birthday.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsCustomerCustomerData.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsCustomerCustomerData.cs new file mode 100644 index 0000000000000000000000000000000000000000..c3938747e22cbea2515dca65f7ad013077f6719c --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsCustomerCustomerData.cs @@ -0,0 +1,636 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerData TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosFlowLibsCustomerCustomerData : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// customerId. + /// firstName. + /// lastName. + /// salutation. + /// gender. + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// street. + /// postalCode. + /// city. + /// customerState. + /// country. + /// homePhone. + /// email. + /// fax. + /// mobile. + /// workPhone. + /// taxId. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosFlowLibsCustomerCustomerData(string customerId = default(string), string firstName = default(string), string lastName = default(string), string salutation = default(string), string gender = default(string), string birthday = default(string), string street = default(string), string postalCode = default(string), string city = default(string), string customerState = default(string), string country = default(string), string homePhone = default(string), string email = default(string), string fax = default(string), string mobile = default(string), string workPhone = default(string), string taxId = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CustomerId = customerId; + this.FirstName = firstName; + this.LastName = lastName; + this.Salutation = salutation; + this.Gender = gender; + this.Birthday = birthday; + this.Street = street; + this.PostalCode = postalCode; + this.City = city; + this.CustomerState = customerState; + this.Country = country; + this.HomePhone = homePhone; + this.Email = email; + this.Fax = fax; + this.Mobile = mobile; + this.WorkPhone = workPhone; + this.TaxId = taxId; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets CustomerId + /// + [DataMember(Name="customerId", EmitDefaultValue=false)] + public string CustomerId { get; set; } + + /// + /// Gets or Sets FirstName + /// + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// Gets or Sets LastName + /// + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// Gets or Sets Salutation + /// + [DataMember(Name="salutation", EmitDefaultValue=false)] + public string Salutation { get; set; } + + /// + /// Gets or Sets Gender + /// + [DataMember(Name="gender", EmitDefaultValue=false)] + public string Gender { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="birthday", EmitDefaultValue=false)] + public string Birthday { get; set; } + + /// + /// Gets or Sets Street + /// + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// Gets or Sets PostalCode + /// + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// Gets or Sets City + /// + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// Gets or Sets CustomerState + /// + [DataMember(Name="customerState", EmitDefaultValue=false)] + public string CustomerState { get; set; } + + /// + /// Gets or Sets Country + /// + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// Gets or Sets HomePhone + /// + [DataMember(Name="homePhone", EmitDefaultValue=false)] + public string HomePhone { get; set; } + + /// + /// Gets or Sets Email + /// + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + + /// + /// Gets or Sets Fax + /// + [DataMember(Name="fax", EmitDefaultValue=false)] + public string Fax { get; set; } + + /// + /// Gets or Sets Mobile + /// + [DataMember(Name="mobile", EmitDefaultValue=false)] + public string Mobile { get; set; } + + /// + /// Gets or Sets WorkPhone + /// + [DataMember(Name="workPhone", EmitDefaultValue=false)] + public string WorkPhone { get; set; } + + /// + /// Gets or Sets TaxId + /// + [DataMember(Name="taxId", EmitDefaultValue=false)] + public string TaxId { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosFlowLibsCustomerCustomerData {\n"); + sb.Append(" CustomerId: ").Append(CustomerId).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" Salutation: ").Append(Salutation).Append("\n"); + sb.Append(" Gender: ").Append(Gender).Append("\n"); + sb.Append(" Birthday: ").Append(Birthday).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" CustomerState: ").Append(CustomerState).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" HomePhone: ").Append(HomePhone).Append("\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" Fax: ").Append(Fax).Append("\n"); + sb.Append(" Mobile: ").Append(Mobile).Append("\n"); + sb.Append(" WorkPhone: ").Append(WorkPhone).Append("\n"); + sb.Append(" TaxId: ").Append(TaxId).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosFlowLibsCustomerCustomerData); + } + + /// + /// Returns true if ComGkSoftwarePosFlowLibsCustomerCustomerData instances are equal + /// + /// Instance of ComGkSoftwarePosFlowLibsCustomerCustomerData to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosFlowLibsCustomerCustomerData input) + { + if (input == null) + return false; + + return + ( + this.CustomerId == input.CustomerId || + (this.CustomerId != null && + this.CustomerId.Equals(input.CustomerId)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.Salutation == input.Salutation || + (this.Salutation != null && + this.Salutation.Equals(input.Salutation)) + ) && + ( + this.Gender == input.Gender || + (this.Gender != null && + this.Gender.Equals(input.Gender)) + ) && + ( + this.Birthday == input.Birthday || + (this.Birthday != null && + this.Birthday.Equals(input.Birthday)) + ) && + ( + this.Street == input.Street || + (this.Street != null && + this.Street.Equals(input.Street)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.CustomerState == input.CustomerState || + (this.CustomerState != null && + this.CustomerState.Equals(input.CustomerState)) + ) && + ( + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) + ) && + ( + this.HomePhone == input.HomePhone || + (this.HomePhone != null && + this.HomePhone.Equals(input.HomePhone)) + ) && + ( + this.Email == input.Email || + (this.Email != null && + this.Email.Equals(input.Email)) + ) && + ( + this.Fax == input.Fax || + (this.Fax != null && + this.Fax.Equals(input.Fax)) + ) && + ( + this.Mobile == input.Mobile || + (this.Mobile != null && + this.Mobile.Equals(input.Mobile)) + ) && + ( + this.WorkPhone == input.WorkPhone || + (this.WorkPhone != null && + this.WorkPhone.Equals(input.WorkPhone)) + ) && + ( + this.TaxId == input.TaxId || + (this.TaxId != null && + this.TaxId.Equals(input.TaxId)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CustomerId != null) + hashCode = hashCode * 59 + this.CustomerId.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.Salutation != null) + hashCode = hashCode * 59 + this.Salutation.GetHashCode(); + if (this.Gender != null) + hashCode = hashCode * 59 + this.Gender.GetHashCode(); + if (this.Birthday != null) + hashCode = hashCode * 59 + this.Birthday.GetHashCode(); + if (this.Street != null) + hashCode = hashCode * 59 + this.Street.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.CustomerState != null) + hashCode = hashCode * 59 + this.CustomerState.GetHashCode(); + if (this.Country != null) + hashCode = hashCode * 59 + this.Country.GetHashCode(); + if (this.HomePhone != null) + hashCode = hashCode * 59 + this.HomePhone.GetHashCode(); + if (this.Email != null) + hashCode = hashCode * 59 + this.Email.GetHashCode(); + if (this.Fax != null) + hashCode = hashCode * 59 + this.Fax.GetHashCode(); + if (this.Mobile != null) + hashCode = hashCode * 59 + this.Mobile.GetHashCode(); + if (this.WorkPhone != null) + hashCode = hashCode * 59 + this.WorkPhone.GetHashCode(); + if (this.TaxId != null) + hashCode = hashCode * 59 + this.TaxId.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d9620fb4e64fd04f18eaafb46da98aa26275837 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues.cs @@ -0,0 +1,603 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TerminalTransactionRecoveryValues TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// cardNr. + /// cardExpirationDate. + /// immediateCancellation. + /// isoCurrencyNr. + /// lastErrorMessage. + /// lastErrorMessageForCustomer. + /// offlinePayment. + /// paymentType. + /// processMode. + /// signatureRequired. + /// successful. + /// tenderAuthorizationSequenceNumber. + /// terminalId. + /// terminalTransactionNr. + /// transactionResultCode. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues(string cardNr = default(string), string cardExpirationDate = default(string), bool? immediateCancellation = default(bool?), string isoCurrencyNr = default(string), string lastErrorMessage = default(string), string lastErrorMessageForCustomer = default(string), bool? offlinePayment = default(bool?), int? paymentType = default(int?), string processMode = default(string), bool? signatureRequired = default(bool?), bool? successful = default(bool?), int? tenderAuthorizationSequenceNumber = default(int?), string terminalId = default(string), string terminalTransactionNr = default(string), int? transactionResultCode = default(int?), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.CardNr = cardNr; + this.CardExpirationDate = cardExpirationDate; + this.ImmediateCancellation = immediateCancellation; + this.IsoCurrencyNr = isoCurrencyNr; + this.LastErrorMessage = lastErrorMessage; + this.LastErrorMessageForCustomer = lastErrorMessageForCustomer; + this.OfflinePayment = offlinePayment; + this.PaymentType = paymentType; + this.ProcessMode = processMode; + this.SignatureRequired = signatureRequired; + this.Successful = successful; + this.TenderAuthorizationSequenceNumber = tenderAuthorizationSequenceNumber; + this.TerminalId = terminalId; + this.TerminalTransactionNr = terminalTransactionNr; + this.TransactionResultCode = transactionResultCode; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets CardNr + /// + [DataMember(Name="cardNr", EmitDefaultValue=false)] + public string CardNr { get; set; } + + /// + /// Gets or Sets CardExpirationDate + /// + [DataMember(Name="cardExpirationDate", EmitDefaultValue=false)] + public string CardExpirationDate { get; set; } + + /// + /// Gets or Sets ImmediateCancellation + /// + [DataMember(Name="immediateCancellation", EmitDefaultValue=false)] + public bool? ImmediateCancellation { get; set; } + + /// + /// Gets or Sets IsoCurrencyNr + /// + [DataMember(Name="isoCurrencyNr", EmitDefaultValue=false)] + public string IsoCurrencyNr { get; set; } + + /// + /// Gets or Sets LastErrorMessage + /// + [DataMember(Name="lastErrorMessage", EmitDefaultValue=false)] + public string LastErrorMessage { get; set; } + + /// + /// Gets or Sets LastErrorMessageForCustomer + /// + [DataMember(Name="lastErrorMessageForCustomer", EmitDefaultValue=false)] + public string LastErrorMessageForCustomer { get; set; } + + /// + /// Gets or Sets OfflinePayment + /// + [DataMember(Name="offlinePayment", EmitDefaultValue=false)] + public bool? OfflinePayment { get; set; } + + /// + /// Gets or Sets PaymentType + /// + [DataMember(Name="paymentType", EmitDefaultValue=false)] + public int? PaymentType { get; set; } + + /// + /// Gets or Sets ProcessMode + /// + [DataMember(Name="processMode", EmitDefaultValue=false)] + public string ProcessMode { get; set; } + + /// + /// Gets or Sets SignatureRequired + /// + [DataMember(Name="signatureRequired", EmitDefaultValue=false)] + public bool? SignatureRequired { get; set; } + + /// + /// Gets or Sets Successful + /// + [DataMember(Name="successful", EmitDefaultValue=false)] + public bool? Successful { get; set; } + + /// + /// Gets or Sets TenderAuthorizationSequenceNumber + /// + [DataMember(Name="tenderAuthorizationSequenceNumber", EmitDefaultValue=false)] + public int? TenderAuthorizationSequenceNumber { get; set; } + + /// + /// Gets or Sets TerminalId + /// + [DataMember(Name="terminalId", EmitDefaultValue=false)] + public string TerminalId { get; set; } + + /// + /// Gets or Sets TerminalTransactionNr + /// + [DataMember(Name="terminalTransactionNr", EmitDefaultValue=false)] + public string TerminalTransactionNr { get; set; } + + /// + /// Gets or Sets TransactionResultCode + /// + [DataMember(Name="transactionResultCode", EmitDefaultValue=false)] + public int? TransactionResultCode { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues {\n"); + sb.Append(" CardNr: ").Append(CardNr).Append("\n"); + sb.Append(" CardExpirationDate: ").Append(CardExpirationDate).Append("\n"); + sb.Append(" ImmediateCancellation: ").Append(ImmediateCancellation).Append("\n"); + sb.Append(" IsoCurrencyNr: ").Append(IsoCurrencyNr).Append("\n"); + sb.Append(" LastErrorMessage: ").Append(LastErrorMessage).Append("\n"); + sb.Append(" LastErrorMessageForCustomer: ").Append(LastErrorMessageForCustomer).Append("\n"); + sb.Append(" OfflinePayment: ").Append(OfflinePayment).Append("\n"); + sb.Append(" PaymentType: ").Append(PaymentType).Append("\n"); + sb.Append(" ProcessMode: ").Append(ProcessMode).Append("\n"); + sb.Append(" SignatureRequired: ").Append(SignatureRequired).Append("\n"); + sb.Append(" Successful: ").Append(Successful).Append("\n"); + sb.Append(" TenderAuthorizationSequenceNumber: ").Append(TenderAuthorizationSequenceNumber).Append("\n"); + sb.Append(" TerminalId: ").Append(TerminalId).Append("\n"); + sb.Append(" TerminalTransactionNr: ").Append(TerminalTransactionNr).Append("\n"); + sb.Append(" TransactionResultCode: ").Append(TransactionResultCode).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues); + } + + /// + /// Returns true if ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues instances are equal + /// + /// Instance of ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues input) + { + if (input == null) + return false; + + return + ( + this.CardNr == input.CardNr || + (this.CardNr != null && + this.CardNr.Equals(input.CardNr)) + ) && + ( + this.CardExpirationDate == input.CardExpirationDate || + (this.CardExpirationDate != null && + this.CardExpirationDate.Equals(input.CardExpirationDate)) + ) && + ( + this.ImmediateCancellation == input.ImmediateCancellation || + (this.ImmediateCancellation != null && + this.ImmediateCancellation.Equals(input.ImmediateCancellation)) + ) && + ( + this.IsoCurrencyNr == input.IsoCurrencyNr || + (this.IsoCurrencyNr != null && + this.IsoCurrencyNr.Equals(input.IsoCurrencyNr)) + ) && + ( + this.LastErrorMessage == input.LastErrorMessage || + (this.LastErrorMessage != null && + this.LastErrorMessage.Equals(input.LastErrorMessage)) + ) && + ( + this.LastErrorMessageForCustomer == input.LastErrorMessageForCustomer || + (this.LastErrorMessageForCustomer != null && + this.LastErrorMessageForCustomer.Equals(input.LastErrorMessageForCustomer)) + ) && + ( + this.OfflinePayment == input.OfflinePayment || + (this.OfflinePayment != null && + this.OfflinePayment.Equals(input.OfflinePayment)) + ) && + ( + this.PaymentType == input.PaymentType || + (this.PaymentType != null && + this.PaymentType.Equals(input.PaymentType)) + ) && + ( + this.ProcessMode == input.ProcessMode || + (this.ProcessMode != null && + this.ProcessMode.Equals(input.ProcessMode)) + ) && + ( + this.SignatureRequired == input.SignatureRequired || + (this.SignatureRequired != null && + this.SignatureRequired.Equals(input.SignatureRequired)) + ) && + ( + this.Successful == input.Successful || + (this.Successful != null && + this.Successful.Equals(input.Successful)) + ) && + ( + this.TenderAuthorizationSequenceNumber == input.TenderAuthorizationSequenceNumber || + (this.TenderAuthorizationSequenceNumber != null && + this.TenderAuthorizationSequenceNumber.Equals(input.TenderAuthorizationSequenceNumber)) + ) && + ( + this.TerminalId == input.TerminalId || + (this.TerminalId != null && + this.TerminalId.Equals(input.TerminalId)) + ) && + ( + this.TerminalTransactionNr == input.TerminalTransactionNr || + (this.TerminalTransactionNr != null && + this.TerminalTransactionNr.Equals(input.TerminalTransactionNr)) + ) && + ( + this.TransactionResultCode == input.TransactionResultCode || + (this.TransactionResultCode != null && + this.TransactionResultCode.Equals(input.TransactionResultCode)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CardNr != null) + hashCode = hashCode * 59 + this.CardNr.GetHashCode(); + if (this.CardExpirationDate != null) + hashCode = hashCode * 59 + this.CardExpirationDate.GetHashCode(); + if (this.ImmediateCancellation != null) + hashCode = hashCode * 59 + this.ImmediateCancellation.GetHashCode(); + if (this.IsoCurrencyNr != null) + hashCode = hashCode * 59 + this.IsoCurrencyNr.GetHashCode(); + if (this.LastErrorMessage != null) + hashCode = hashCode * 59 + this.LastErrorMessage.GetHashCode(); + if (this.LastErrorMessageForCustomer != null) + hashCode = hashCode * 59 + this.LastErrorMessageForCustomer.GetHashCode(); + if (this.OfflinePayment != null) + hashCode = hashCode * 59 + this.OfflinePayment.GetHashCode(); + if (this.PaymentType != null) + hashCode = hashCode * 59 + this.PaymentType.GetHashCode(); + if (this.ProcessMode != null) + hashCode = hashCode * 59 + this.ProcessMode.GetHashCode(); + if (this.SignatureRequired != null) + hashCode = hashCode * 59 + this.SignatureRequired.GetHashCode(); + if (this.Successful != null) + hashCode = hashCode * 59 + this.Successful.GetHashCode(); + if (this.TenderAuthorizationSequenceNumber != null) + hashCode = hashCode * 59 + this.TenderAuthorizationSequenceNumber.GetHashCode(); + if (this.TerminalId != null) + hashCode = hashCode * 59 + this.TerminalId.GetHashCode(); + if (this.TerminalTransactionNr != null) + hashCode = hashCode * 59 + this.TerminalTransactionNr.GetHashCode(); + if (this.TransactionResultCode != null) + hashCode = hashCode * 59 + this.TransactionResultCode.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionDiscountIconList.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionDiscountIconList.cs new file mode 100644 index 0000000000000000000000000000000000000000..5f871dba4c36a3279e8addfecf83f24550dc427f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionDiscountIconList.cs @@ -0,0 +1,491 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// DiscountIconList TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosFlowLibsTransactionDiscountIconList : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// icon. + /// iconDisabled. + /// promotionId. + /// eligibilityId. + /// ruleId. + /// enabled. + /// overlayText. + /// placeHolders. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosFlowLibsTransactionDiscountIconList(string icon = default(string), string iconDisabled = default(string), string promotionId = default(string), string eligibilityId = default(string), string ruleId = default(string), bool? enabled = default(bool?), string overlayText = default(string), List placeHolders = default(List), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Icon = icon; + this.IconDisabled = iconDisabled; + this.PromotionId = promotionId; + this.EligibilityId = eligibilityId; + this.RuleId = ruleId; + this.Enabled = enabled; + this.OverlayText = overlayText; + this.PlaceHolders = placeHolders; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Icon + /// + [DataMember(Name="icon", EmitDefaultValue=false)] + public string Icon { get; set; } + + /// + /// Gets or Sets IconDisabled + /// + [DataMember(Name="iconDisabled", EmitDefaultValue=false)] + public string IconDisabled { get; set; } + + /// + /// Gets or Sets PromotionId + /// + [DataMember(Name="promotionId", EmitDefaultValue=false)] + public string PromotionId { get; set; } + + /// + /// Gets or Sets EligibilityId + /// + [DataMember(Name="eligibilityId", EmitDefaultValue=false)] + public string EligibilityId { get; set; } + + /// + /// Gets or Sets RuleId + /// + [DataMember(Name="ruleId", EmitDefaultValue=false)] + public string RuleId { get; set; } + + /// + /// Gets or Sets Enabled + /// + [DataMember(Name="enabled", EmitDefaultValue=false)] + public bool? Enabled { get; set; } + + /// + /// Gets or Sets OverlayText + /// + [DataMember(Name="overlayText", EmitDefaultValue=false)] + public string OverlayText { get; set; } + + /// + /// Gets or Sets PlaceHolders + /// + [DataMember(Name="placeHolders", EmitDefaultValue=false)] + public List PlaceHolders { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosFlowLibsTransactionDiscountIconList {\n"); + sb.Append(" Icon: ").Append(Icon).Append("\n"); + sb.Append(" IconDisabled: ").Append(IconDisabled).Append("\n"); + sb.Append(" PromotionId: ").Append(PromotionId).Append("\n"); + sb.Append(" EligibilityId: ").Append(EligibilityId).Append("\n"); + sb.Append(" RuleId: ").Append(RuleId).Append("\n"); + sb.Append(" Enabled: ").Append(Enabled).Append("\n"); + sb.Append(" OverlayText: ").Append(OverlayText).Append("\n"); + sb.Append(" PlaceHolders: ").Append(PlaceHolders).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosFlowLibsTransactionDiscountIconList); + } + + /// + /// Returns true if ComGkSoftwarePosFlowLibsTransactionDiscountIconList instances are equal + /// + /// Instance of ComGkSoftwarePosFlowLibsTransactionDiscountIconList to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosFlowLibsTransactionDiscountIconList input) + { + if (input == null) + return false; + + return + ( + this.Icon == input.Icon || + (this.Icon != null && + this.Icon.Equals(input.Icon)) + ) && + ( + this.IconDisabled == input.IconDisabled || + (this.IconDisabled != null && + this.IconDisabled.Equals(input.IconDisabled)) + ) && + ( + this.PromotionId == input.PromotionId || + (this.PromotionId != null && + this.PromotionId.Equals(input.PromotionId)) + ) && + ( + this.EligibilityId == input.EligibilityId || + (this.EligibilityId != null && + this.EligibilityId.Equals(input.EligibilityId)) + ) && + ( + this.RuleId == input.RuleId || + (this.RuleId != null && + this.RuleId.Equals(input.RuleId)) + ) && + ( + this.Enabled == input.Enabled || + (this.Enabled != null && + this.Enabled.Equals(input.Enabled)) + ) && + ( + this.OverlayText == input.OverlayText || + (this.OverlayText != null && + this.OverlayText.Equals(input.OverlayText)) + ) && + ( + this.PlaceHolders == input.PlaceHolders || + this.PlaceHolders != null && + this.PlaceHolders.SequenceEqual(input.PlaceHolders) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Icon != null) + hashCode = hashCode * 59 + this.Icon.GetHashCode(); + if (this.IconDisabled != null) + hashCode = hashCode * 59 + this.IconDisabled.GetHashCode(); + if (this.PromotionId != null) + hashCode = hashCode * 59 + this.PromotionId.GetHashCode(); + if (this.EligibilityId != null) + hashCode = hashCode * 59 + this.EligibilityId.GetHashCode(); + if (this.RuleId != null) + hashCode = hashCode * 59 + this.RuleId.GetHashCode(); + if (this.Enabled != null) + hashCode = hashCode * 59 + this.Enabled.GetHashCode(); + if (this.OverlayText != null) + hashCode = hashCode * 59 + this.OverlayText.GetHashCode(); + if (this.PlaceHolders != null) + hashCode = hashCode * 59 + this.PlaceHolders.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionPlaceHolder.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionPlaceHolder.cs new file mode 100644 index 0000000000000000000000000000000000000000..1ffdd3640c80527d898fc905d4214e934e4d9e9e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionPlaceHolder.cs @@ -0,0 +1,395 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PlaceHolder TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosFlowLibsTransactionPlaceHolder : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// placeholder. + /// content. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosFlowLibsTransactionPlaceHolder(string placeholder = default(string), string content = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.Placeholder = placeholder; + this.Content = content; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets Placeholder + /// + [DataMember(Name="placeholder", EmitDefaultValue=false)] + public string Placeholder { get; set; } + + /// + /// Gets or Sets Content + /// + [DataMember(Name="content", EmitDefaultValue=false)] + public string Content { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosFlowLibsTransactionPlaceHolder {\n"); + sb.Append(" Placeholder: ").Append(Placeholder).Append("\n"); + sb.Append(" Content: ").Append(Content).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosFlowLibsTransactionPlaceHolder); + } + + /// + /// Returns true if ComGkSoftwarePosFlowLibsTransactionPlaceHolder instances are equal + /// + /// Instance of ComGkSoftwarePosFlowLibsTransactionPlaceHolder to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosFlowLibsTransactionPlaceHolder input) + { + if (input == null) + return false; + + return + ( + this.Placeholder == input.Placeholder || + (this.Placeholder != null && + this.Placeholder.Equals(input.Placeholder)) + ) && + ( + this.Content == input.Content || + (this.Content != null && + this.Content.Equals(input.Content)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Placeholder != null) + hashCode = hashCode * 59 + this.Placeholder.GetHashCode(); + if (this.Content != null) + hashCode = hashCode * 59 + this.Content.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..32275ec270803be45e5983785bc8c8fb11c1a673 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem.cs @@ -0,0 +1,443 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SuspendCodeSkippedItem TODO: undocumented + /// + [DataContract] + public partial class ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// itemID. + /// registrationNumber. + /// quantity. + /// unitOfMeasure. + /// reason. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + /// <p>Customizable information</p>. + public ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem(string itemID = default(string), string registrationNumber = default(string), string quantity = default(string), string unitOfMeasure = default(string), string reason = default(string), string xXCustom08 = default(string), string xXCustom10 = default(string), string xXCustom09 = default(string), string xXCustom07 = default(string), string xXCustom05 = default(string), string xXCustom06 = default(string), string xXCustom11 = default(string), string xXCustom12 = default(string), string xXCustom13 = default(string), string xXCustom14 = default(string), string xXCustom15 = default(string), string xXCustom03 = default(string), string xXCustom02 = default(string), string xXCustom04 = default(string), string xXCustom01 = default(string)) + { + this.ItemID = itemID; + this.RegistrationNumber = registrationNumber; + this.Quantity = quantity; + this.UnitOfMeasure = unitOfMeasure; + this.Reason = reason; + this.XXCustom08 = xXCustom08; + this.XXCustom10 = xXCustom10; + this.XXCustom09 = xXCustom09; + this.XXCustom07 = xXCustom07; + this.XXCustom05 = xXCustom05; + this.XXCustom06 = xXCustom06; + this.XXCustom11 = xXCustom11; + this.XXCustom12 = xXCustom12; + this.XXCustom13 = xXCustom13; + this.XXCustom14 = xXCustom14; + this.XXCustom15 = xXCustom15; + this.XXCustom03 = xXCustom03; + this.XXCustom02 = xXCustom02; + this.XXCustom04 = xXCustom04; + this.XXCustom01 = xXCustom01; + } + + /// + /// Gets or Sets ItemID + /// + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// Gets or Sets RegistrationNumber + /// + [DataMember(Name="registrationNumber", EmitDefaultValue=false)] + public string RegistrationNumber { get; set; } + + /// + /// Gets or Sets Quantity + /// + [DataMember(Name="quantity", EmitDefaultValue=false)] + public string Quantity { get; set; } + + /// + /// Gets or Sets UnitOfMeasure + /// + [DataMember(Name="unitOfMeasure", EmitDefaultValue=false)] + public string UnitOfMeasure { get; set; } + + /// + /// Gets or Sets Reason + /// + [DataMember(Name="reason", EmitDefaultValue=false)] + public string Reason { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom08", EmitDefaultValue=false)] + public string XXCustom08 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom10", EmitDefaultValue=false)] + public string XXCustom10 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom09", EmitDefaultValue=false)] + public string XXCustom09 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom07", EmitDefaultValue=false)] + public string XXCustom07 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom05", EmitDefaultValue=false)] + public string XXCustom05 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom06", EmitDefaultValue=false)] + public string XXCustom06 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom11", EmitDefaultValue=false)] + public string XXCustom11 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom12", EmitDefaultValue=false)] + public string XXCustom12 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom13", EmitDefaultValue=false)] + public string XXCustom13 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom14", EmitDefaultValue=false)] + public string XXCustom14 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom15", EmitDefaultValue=false)] + public string XXCustom15 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom03", EmitDefaultValue=false)] + public string XXCustom03 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom02", EmitDefaultValue=false)] + public string XXCustom02 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom04", EmitDefaultValue=false)] + public string XXCustom04 { get; set; } + + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + [DataMember(Name="xXCustom01", EmitDefaultValue=false)] + public string XXCustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" RegistrationNumber: ").Append(RegistrationNumber).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" UnitOfMeasure: ").Append(UnitOfMeasure).Append("\n"); + sb.Append(" Reason: ").Append(Reason).Append("\n"); + sb.Append(" XXCustom08: ").Append(XXCustom08).Append("\n"); + sb.Append(" XXCustom10: ").Append(XXCustom10).Append("\n"); + sb.Append(" XXCustom09: ").Append(XXCustom09).Append("\n"); + sb.Append(" XXCustom07: ").Append(XXCustom07).Append("\n"); + sb.Append(" XXCustom05: ").Append(XXCustom05).Append("\n"); + sb.Append(" XXCustom06: ").Append(XXCustom06).Append("\n"); + sb.Append(" XXCustom11: ").Append(XXCustom11).Append("\n"); + sb.Append(" XXCustom12: ").Append(XXCustom12).Append("\n"); + sb.Append(" XXCustom13: ").Append(XXCustom13).Append("\n"); + sb.Append(" XXCustom14: ").Append(XXCustom14).Append("\n"); + sb.Append(" XXCustom15: ").Append(XXCustom15).Append("\n"); + sb.Append(" XXCustom03: ").Append(XXCustom03).Append("\n"); + sb.Append(" XXCustom02: ").Append(XXCustom02).Append("\n"); + sb.Append(" XXCustom04: ").Append(XXCustom04).Append("\n"); + sb.Append(" XXCustom01: ").Append(XXCustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem); + } + + /// + /// Returns true if ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem instances are equal + /// + /// Instance of ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem to be compared + /// Boolean + public bool Equals(ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.RegistrationNumber == input.RegistrationNumber || + (this.RegistrationNumber != null && + this.RegistrationNumber.Equals(input.RegistrationNumber)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.UnitOfMeasure == input.UnitOfMeasure || + (this.UnitOfMeasure != null && + this.UnitOfMeasure.Equals(input.UnitOfMeasure)) + ) && + ( + this.Reason == input.Reason || + (this.Reason != null && + this.Reason.Equals(input.Reason)) + ) && + ( + this.XXCustom08 == input.XXCustom08 || + (this.XXCustom08 != null && + this.XXCustom08.Equals(input.XXCustom08)) + ) && + ( + this.XXCustom10 == input.XXCustom10 || + (this.XXCustom10 != null && + this.XXCustom10.Equals(input.XXCustom10)) + ) && + ( + this.XXCustom09 == input.XXCustom09 || + (this.XXCustom09 != null && + this.XXCustom09.Equals(input.XXCustom09)) + ) && + ( + this.XXCustom07 == input.XXCustom07 || + (this.XXCustom07 != null && + this.XXCustom07.Equals(input.XXCustom07)) + ) && + ( + this.XXCustom05 == input.XXCustom05 || + (this.XXCustom05 != null && + this.XXCustom05.Equals(input.XXCustom05)) + ) && + ( + this.XXCustom06 == input.XXCustom06 || + (this.XXCustom06 != null && + this.XXCustom06.Equals(input.XXCustom06)) + ) && + ( + this.XXCustom11 == input.XXCustom11 || + (this.XXCustom11 != null && + this.XXCustom11.Equals(input.XXCustom11)) + ) && + ( + this.XXCustom12 == input.XXCustom12 || + (this.XXCustom12 != null && + this.XXCustom12.Equals(input.XXCustom12)) + ) && + ( + this.XXCustom13 == input.XXCustom13 || + (this.XXCustom13 != null && + this.XXCustom13.Equals(input.XXCustom13)) + ) && + ( + this.XXCustom14 == input.XXCustom14 || + (this.XXCustom14 != null && + this.XXCustom14.Equals(input.XXCustom14)) + ) && + ( + this.XXCustom15 == input.XXCustom15 || + (this.XXCustom15 != null && + this.XXCustom15.Equals(input.XXCustom15)) + ) && + ( + this.XXCustom03 == input.XXCustom03 || + (this.XXCustom03 != null && + this.XXCustom03.Equals(input.XXCustom03)) + ) && + ( + this.XXCustom02 == input.XXCustom02 || + (this.XXCustom02 != null && + this.XXCustom02.Equals(input.XXCustom02)) + ) && + ( + this.XXCustom04 == input.XXCustom04 || + (this.XXCustom04 != null && + this.XXCustom04.Equals(input.XXCustom04)) + ) && + ( + this.XXCustom01 == input.XXCustom01 || + (this.XXCustom01 != null && + this.XXCustom01.Equals(input.XXCustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.RegistrationNumber != null) + hashCode = hashCode * 59 + this.RegistrationNumber.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.UnitOfMeasure != null) + hashCode = hashCode * 59 + this.UnitOfMeasure.GetHashCode(); + if (this.Reason != null) + hashCode = hashCode * 59 + this.Reason.GetHashCode(); + if (this.XXCustom08 != null) + hashCode = hashCode * 59 + this.XXCustom08.GetHashCode(); + if (this.XXCustom10 != null) + hashCode = hashCode * 59 + this.XXCustom10.GetHashCode(); + if (this.XXCustom09 != null) + hashCode = hashCode * 59 + this.XXCustom09.GetHashCode(); + if (this.XXCustom07 != null) + hashCode = hashCode * 59 + this.XXCustom07.GetHashCode(); + if (this.XXCustom05 != null) + hashCode = hashCode * 59 + this.XXCustom05.GetHashCode(); + if (this.XXCustom06 != null) + hashCode = hashCode * 59 + this.XXCustom06.GetHashCode(); + if (this.XXCustom11 != null) + hashCode = hashCode * 59 + this.XXCustom11.GetHashCode(); + if (this.XXCustom12 != null) + hashCode = hashCode * 59 + this.XXCustom12.GetHashCode(); + if (this.XXCustom13 != null) + hashCode = hashCode * 59 + this.XXCustom13.GetHashCode(); + if (this.XXCustom14 != null) + hashCode = hashCode * 59 + this.XXCustom14.GetHashCode(); + if (this.XXCustom15 != null) + hashCode = hashCode * 59 + this.XXCustom15.GetHashCode(); + if (this.XXCustom03 != null) + hashCode = hashCode * 59 + this.XXCustom03.GetHashCode(); + if (this.XXCustom02 != null) + hashCode = hashCode * 59 + this.XXCustom02.GetHashCode(); + if (this.XXCustom04 != null) + hashCode = hashCode * 59 + this.XXCustom04.GetHashCode(); + if (this.XXCustom01 != null) + hashCode = hashCode * 59 + this.XXCustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..4a04795878166c82a9d667b96c5c34a0930b6670 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO.cs @@ -0,0 +1,300 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// BusinessUnitDetailSO <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// retailStoreID. + /// storeDescription. + /// postalCode. + /// city. + /// street. + /// phoneNumber. + /// distance. + /// xxcustom05. + /// xxcustom03. + /// xxcustom02. + /// xxcustom04. + /// xxcustom01. + public ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO(string retailStoreID = default(string), string storeDescription = default(string), string postalCode = default(string), string city = default(string), string street = default(string), string phoneNumber = default(string), double? distance = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + this.RetailStoreID = retailStoreID; + this.StoreDescription = storeDescription; + this.PostalCode = postalCode; + this.City = city; + this.Street = street; + this.PhoneNumber = phoneNumber; + this.Distance = distance; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// Gets or Sets RetailStoreID + /// + [DataMember(Name="retailStoreID", EmitDefaultValue=false)] + public string RetailStoreID { get; set; } + + /// + /// Gets or Sets StoreDescription + /// + [DataMember(Name="storeDescription", EmitDefaultValue=false)] + public string StoreDescription { get; set; } + + /// + /// Gets or Sets PostalCode + /// + [DataMember(Name="postalCode", EmitDefaultValue=false)] + public string PostalCode { get; set; } + + /// + /// Gets or Sets City + /// + [DataMember(Name="city", EmitDefaultValue=false)] + public string City { get; set; } + + /// + /// Gets or Sets Street + /// + [DataMember(Name="street", EmitDefaultValue=false)] + public string Street { get; set; } + + /// + /// Gets or Sets PhoneNumber + /// + [DataMember(Name="phoneNumber", EmitDefaultValue=false)] + public string PhoneNumber { get; set; } + + /// + /// Gets or Sets Distance + /// + [DataMember(Name="distance", EmitDefaultValue=false)] + public double? Distance { get; set; } + + /// + /// Gets or Sets Xxcustom05 + /// + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Gets or Sets Xxcustom03 + /// + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Gets or Sets Xxcustom02 + /// + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Gets or Sets Xxcustom04 + /// + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets Xxcustom01 + /// + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO {\n"); + sb.Append(" RetailStoreID: ").Append(RetailStoreID).Append("\n"); + sb.Append(" StoreDescription: ").Append(StoreDescription).Append("\n"); + sb.Append(" PostalCode: ").Append(PostalCode).Append("\n"); + sb.Append(" City: ").Append(City).Append("\n"); + sb.Append(" Street: ").Append(Street).Append("\n"); + sb.Append(" PhoneNumber: ").Append(PhoneNumber).Append("\n"); + sb.Append(" Distance: ").Append(Distance).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreID == input.RetailStoreID || + (this.RetailStoreID != null && + this.RetailStoreID.Equals(input.RetailStoreID)) + ) && + ( + this.StoreDescription == input.StoreDescription || + (this.StoreDescription != null && + this.StoreDescription.Equals(input.StoreDescription)) + ) && + ( + this.PostalCode == input.PostalCode || + (this.PostalCode != null && + this.PostalCode.Equals(input.PostalCode)) + ) && + ( + this.City == input.City || + (this.City != null && + this.City.Equals(input.City)) + ) && + ( + this.Street == input.Street || + (this.Street != null && + this.Street.Equals(input.Street)) + ) && + ( + this.PhoneNumber == input.PhoneNumber || + (this.PhoneNumber != null && + this.PhoneNumber.Equals(input.PhoneNumber)) + ) && + ( + this.Distance == input.Distance || + (this.Distance != null && + this.Distance.Equals(input.Distance)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreID != null) + hashCode = hashCode * 59 + this.RetailStoreID.GetHashCode(); + if (this.StoreDescription != null) + hashCode = hashCode * 59 + this.StoreDescription.GetHashCode(); + if (this.PostalCode != null) + hashCode = hashCode * 59 + this.PostalCode.GetHashCode(); + if (this.City != null) + hashCode = hashCode * 59 + this.City.GetHashCode(); + if (this.Street != null) + hashCode = hashCode * 59 + this.Street.GetHashCode(); + if (this.PhoneNumber != null) + hashCode = hashCode * 59 + this.PhoneNumber.GetHashCode(); + if (this.Distance != null) + hashCode = hashCode * 59 + this.Distance.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..3b2861978597bc09fbc202600953234feaab45d0 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO.cs @@ -0,0 +1,220 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemDetailSO <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// itemID. + /// itemName. + /// xxcustom05. + /// xxcustom03. + /// xxcustom02. + /// xxcustom04. + /// xxcustom01. + public ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO(string itemID = default(string), string itemName = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + this.ItemID = itemID; + this.ItemName = itemName; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// Gets or Sets ItemID + /// + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// Gets or Sets ItemName + /// + [DataMember(Name="itemName", EmitDefaultValue=false)] + public string ItemName { get; set; } + + /// + /// Gets or Sets Xxcustom05 + /// + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Gets or Sets Xxcustom03 + /// + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Gets or Sets Xxcustom02 + /// + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Gets or Sets Xxcustom04 + /// + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets Xxcustom01 + /// + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" ItemName: ").Append(ItemName).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.ItemName == input.ItemName || + (this.ItemName != null && + this.ItemName.Equals(input.ItemName)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.ItemName != null) + hashCode = hashCode * 59 + this.ItemName.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..ea2a15c41be28c30f9cc5a81b820a8ea59ad128e --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO.cs @@ -0,0 +1,354 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StockAmountDetailSO <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO : IEquatable, IValidatableObject + { + /// + /// Defines StockType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum StockTypeEnum + { + + /// + /// Enum DEFAULT for value: DEFAULT + /// + [EnumMember(Value = "DEFAULT")] + DEFAULT = 1, + + /// + /// Enum FREE for value: FREE + /// + [EnumMember(Value = "FREE")] + FREE = 2, + + /// + /// Enum RESERVED for value: RESERVED + /// + [EnumMember(Value = "RESERVED")] + RESERVED = 3, + + /// + /// Enum TRANSFER for value: TRANSFER + /// + [EnumMember(Value = "TRANSFER")] + TRANSFER = 4, + + /// + /// Enum INTRANSIT for value: IN_TRANSIT + /// + [EnumMember(Value = "IN_TRANSIT")] + INTRANSIT = 5 + } + + /// + /// Gets or Sets StockType + /// + [DataMember(Name="stockType", EmitDefaultValue=false)] + public StockTypeEnum? StockType { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// retailStoreID. + /// itemID. + /// uomCode. + /// stockType. + /// storageLocationID. + /// inventoryStateID. + /// stockAmount. + /// distance. + /// xxcustom05. + /// xxcustom03. + /// xxcustom02. + /// xxcustom04. + /// xxcustom01. + public ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO(string retailStoreID = default(string), string itemID = default(string), string uomCode = default(string), StockTypeEnum? stockType = default(StockTypeEnum?), string storageLocationID = default(string), string inventoryStateID = default(string), double? stockAmount = default(double?), double? distance = default(double?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + this.RetailStoreID = retailStoreID; + this.ItemID = itemID; + this.UomCode = uomCode; + this.StockType = stockType; + this.StorageLocationID = storageLocationID; + this.InventoryStateID = inventoryStateID; + this.StockAmount = stockAmount; + this.Distance = distance; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// Gets or Sets RetailStoreID + /// + [DataMember(Name="retailStoreID", EmitDefaultValue=false)] + public string RetailStoreID { get; set; } + + /// + /// Gets or Sets ItemID + /// + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// Gets or Sets UomCode + /// + [DataMember(Name="uomCode", EmitDefaultValue=false)] + public string UomCode { get; set; } + + + /// + /// Gets or Sets StorageLocationID + /// + [DataMember(Name="storageLocationID", EmitDefaultValue=false)] + public string StorageLocationID { get; set; } + + /// + /// Gets or Sets InventoryStateID + /// + [DataMember(Name="inventoryStateID", EmitDefaultValue=false)] + public string InventoryStateID { get; set; } + + /// + /// Gets or Sets StockAmount + /// + [DataMember(Name="stockAmount", EmitDefaultValue=false)] + public double? StockAmount { get; set; } + + /// + /// Gets or Sets Distance + /// + [DataMember(Name="distance", EmitDefaultValue=false)] + public double? Distance { get; set; } + + /// + /// Gets or Sets Xxcustom05 + /// + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Gets or Sets Xxcustom03 + /// + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Gets or Sets Xxcustom02 + /// + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Gets or Sets Xxcustom04 + /// + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets Xxcustom01 + /// + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO {\n"); + sb.Append(" RetailStoreID: ").Append(RetailStoreID).Append("\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UomCode: ").Append(UomCode).Append("\n"); + sb.Append(" StockType: ").Append(StockType).Append("\n"); + sb.Append(" StorageLocationID: ").Append(StorageLocationID).Append("\n"); + sb.Append(" InventoryStateID: ").Append(InventoryStateID).Append("\n"); + sb.Append(" StockAmount: ").Append(StockAmount).Append("\n"); + sb.Append(" Distance: ").Append(Distance).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreID == input.RetailStoreID || + (this.RetailStoreID != null && + this.RetailStoreID.Equals(input.RetailStoreID)) + ) && + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UomCode == input.UomCode || + (this.UomCode != null && + this.UomCode.Equals(input.UomCode)) + ) && + ( + this.StockType == input.StockType || + (this.StockType != null && + this.StockType.Equals(input.StockType)) + ) && + ( + this.StorageLocationID == input.StorageLocationID || + (this.StorageLocationID != null && + this.StorageLocationID.Equals(input.StorageLocationID)) + ) && + ( + this.InventoryStateID == input.InventoryStateID || + (this.InventoryStateID != null && + this.InventoryStateID.Equals(input.InventoryStateID)) + ) && + ( + this.StockAmount == input.StockAmount || + (this.StockAmount != null && + this.StockAmount.Equals(input.StockAmount)) + ) && + ( + this.Distance == input.Distance || + (this.Distance != null && + this.Distance.Equals(input.Distance)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreID != null) + hashCode = hashCode * 59 + this.RetailStoreID.GetHashCode(); + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UomCode != null) + hashCode = hashCode * 59 + this.UomCode.GetHashCode(); + if (this.StockType != null) + hashCode = hashCode * 59 + this.StockType.GetHashCode(); + if (this.StorageLocationID != null) + hashCode = hashCode * 59 + this.StorageLocationID.GetHashCode(); + if (this.InventoryStateID != null) + hashCode = hashCode * 59 + this.InventoryStateID.GetHashCode(); + if (this.StockAmount != null) + hashCode = hashCode * 59 + this.StockAmount.GetHashCode(); + if (this.Distance != null) + hashCode = hashCode * 59 + this.Distance.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..63f7da3f0f7656e6f1ff039e2c86c2332479adf2 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO.cs @@ -0,0 +1,156 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// StockAmountSO <emph>undocumented</emph> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// stockAmountDetailList. + /// businessUnitDetailList. + /// itemDetailList. + public ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO(List stockAmountDetailList = default(List), List businessUnitDetailList = default(List), List itemDetailList = default(List)) + { + this.StockAmountDetailList = stockAmountDetailList; + this.BusinessUnitDetailList = businessUnitDetailList; + this.ItemDetailList = itemDetailList; + } + + /// + /// Gets or Sets StockAmountDetailList + /// + [DataMember(Name="stockAmountDetailList", EmitDefaultValue=false)] + public List StockAmountDetailList { get; set; } + + /// + /// Gets or Sets BusinessUnitDetailList + /// + [DataMember(Name="businessUnitDetailList", EmitDefaultValue=false)] + public List BusinessUnitDetailList { get; set; } + + /// + /// Gets or Sets ItemDetailList + /// + [DataMember(Name="itemDetailList", EmitDefaultValue=false)] + public List ItemDetailList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO {\n"); + sb.Append(" StockAmountDetailList: ").Append(StockAmountDetailList).Append("\n"); + sb.Append(" BusinessUnitDetailList: ").Append(BusinessUnitDetailList).Append("\n"); + sb.Append(" ItemDetailList: ").Append(ItemDetailList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO input) + { + if (input == null) + return false; + + return + ( + this.StockAmountDetailList == input.StockAmountDetailList || + this.StockAmountDetailList != null && + this.StockAmountDetailList.SequenceEqual(input.StockAmountDetailList) + ) && + ( + this.BusinessUnitDetailList == input.BusinessUnitDetailList || + this.BusinessUnitDetailList != null && + this.BusinessUnitDetailList.SequenceEqual(input.BusinessUnitDetailList) + ) && + ( + this.ItemDetailList == input.ItemDetailList || + this.ItemDetailList != null && + this.ItemDetailList.SequenceEqual(input.ItemDetailList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.StockAmountDetailList != null) + hashCode = hashCode * 59 + this.StockAmountDetailList.GetHashCode(); + if (this.BusinessUnitDetailList != null) + hashCode = hashCode * 59 + this.BusinessUnitDetailList.GetHashCode(); + if (this.ItemDetailList != null) + hashCode = hashCode * 59 + this.ItemDetailList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..108096a32edc17f6e85a8236ecbc98a72d74d9ec --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO.cs @@ -0,0 +1,1341 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemSellingRuleSO <p>This object is a set of rules used for item selling.<br /> The rules can be referred from the item object and merchandise hierarchy group object.<br /></p><br /><p>The fields of this rule object are imported directly on the item / MHG, but saved as a separate domain object to save storage place.<br /></p><br /><p>Import from masterData_Item.xml from the element Item.UOMItem.ItemSellingRule.<br /> Import from masterData_BusinessUnit.xml from the element BusinessUnit.MerchandiseHierarchyGroupDetail.ItemSellingRule: DiscountFlag, BonusPointsFlag and NegativePositionFlag.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO : IEquatable, IValidatableObject + { + /// + /// <p>Type code for controlling the quantity input<br /></p> + /// + /// <p>Type code for controlling the quantity input<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum QuantityInputTypeCodeEnum + { + + /// + /// Enum POSSIBLE for value: POSSIBLE + /// + [EnumMember(Value = "POSSIBLE")] + POSSIBLE = 1, + + /// + /// Enum REQUIRED for value: REQUIRED + /// + [EnumMember(Value = "REQUIRED")] + REQUIRED = 2, + + /// + /// Enum PROHIBITED for value: PROHIBITED + /// + [EnumMember(Value = "PROHIBITED")] + PROHIBITED = 3 + } + + /// + /// <p>Type code for controlling the quantity input<br /></p> + /// + /// <p>Type code for controlling the quantity input<br /></p> + [DataMember(Name="quantityInputTypeCode", EmitDefaultValue=false)] + public QuantityInputTypeCodeEnum QuantityInputTypeCode { get; set; } + /// + /// <p>Determines how the input of quantity is done on POS<br /></p> + /// + /// <p>Determines how the input of quantity is done on POS<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum QuantityInputMethodEnum + { + + /// + /// Enum PIECE for value: PIECE + /// + [EnumMember(Value = "PIECE")] + PIECE = 1, + + /// + /// Enum LENGTH for value: LENGTH + /// + [EnumMember(Value = "LENGTH")] + LENGTH = 2, + + /// + /// Enum AREA for value: AREA + /// + [EnumMember(Value = "AREA")] + AREA = 3, + + /// + /// Enum VOLUMESPACE for value: VOLUME_SPACE + /// + [EnumMember(Value = "VOLUME_SPACE")] + VOLUMESPACE = 4, + + /// + /// Enum WEIGHT for value: WEIGHT + /// + [EnumMember(Value = "WEIGHT")] + WEIGHT = 5, + + /// + /// Enum QUANTITYAUTOMATIC for value: QUANTITY_AUTOMATIC + /// + [EnumMember(Value = "QUANTITY_AUTOMATIC")] + QUANTITYAUTOMATIC = 6, + + /// + /// Enum QUANTITYMANUAL for value: QUANTITY_MANUAL + /// + [EnumMember(Value = "QUANTITY_MANUAL")] + QUANTITYMANUAL = 7 + } + + /// + /// <p>Determines how the input of quantity is done on POS<br /></p> + /// + /// <p>Determines how the input of quantity is done on POS<br /></p> + [DataMember(Name="quantityInputMethod", EmitDefaultValue=false)] + public QuantityInputMethodEnum QuantityInputMethod { get; set; } + /// + /// <p>Type code for the manual price change.<br /> Values:<br /></p><br /><ul><br /> <li>00 = price 0.00 not allowed LIMITED,</li><br /> <li>01 = price 0.00 allowed - POSSIBLE,</li><br /> <li>02 = no price change allowed - PROHIBITED</li><br /></ul> + /// + /// <p>Type code for the manual price change.<br /> Values:<br /></p><br /><ul><br /> <li>00 = price 0.00 not allowed LIMITED,</li><br /> <li>01 = price 0.00 allowed - POSSIBLE,</li><br /> <li>02 = no price change allowed - PROHIBITED</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum PriceChangeTypeCodeEnum + { + + /// + /// Enum POSSIBLE for value: POSSIBLE + /// + [EnumMember(Value = "POSSIBLE")] + POSSIBLE = 1, + + /// + /// Enum LIMITED for value: LIMITED + /// + [EnumMember(Value = "LIMITED")] + LIMITED = 2, + + /// + /// Enum PROHIBITED for value: PROHIBITED + /// + [EnumMember(Value = "PROHIBITED")] + PROHIBITED = 3 + } + + /// + /// <p>Type code for the manual price change.<br /> Values:<br /></p><br /><ul><br /> <li>00 = price 0.00 not allowed LIMITED,</li><br /> <li>01 = price 0.00 allowed - POSSIBLE,</li><br /> <li>02 = no price change allowed - PROHIBITED</li><br /></ul> + /// + /// <p>Type code for the manual price change.<br /> Values:<br /></p><br /><ul><br /> <li>00 = price 0.00 not allowed LIMITED,</li><br /> <li>01 = price 0.00 allowed - POSSIBLE,</li><br /> <li>02 = no price change allowed - PROHIBITED</li><br /></ul> + [DataMember(Name="priceChangeTypeCode", EmitDefaultValue=false)] + public PriceChangeTypeCodeEnum PriceChangeTypeCode { get; set; } + /// + /// <p>Bar code handling method<br /></p> + /// + /// <p>Bar code handling method<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum BarCodeHandlingMethodEnum + { + + /// + /// Enum WEIGHT for value: WEIGHT + /// + [EnumMember(Value = "WEIGHT")] + WEIGHT = 1, + + /// + /// Enum PRICE for value: PRICE + /// + [EnumMember(Value = "PRICE")] + PRICE = 2, + + /// + /// Enum PRICEWEIGHT for value: PRICE_WEIGHT + /// + [EnumMember(Value = "PRICE_WEIGHT")] + PRICEWEIGHT = 3 + } + + /// + /// <p>Bar code handling method<br /></p> + /// + /// <p>Bar code handling method<br /></p> + [DataMember(Name="barCodeHandlingMethod", EmitDefaultValue=false)] + public BarCodeHandlingMethodEnum BarCodeHandlingMethod { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique system assigned identifier for the item selling rule.<br /> Generated, not imported.<br /></p>. + /// <p>A flag to denote that the retail price is to be manually entered when this item is sold.<br /></p> (required). + /// <p>A flag to denote whether or not this item may be returned. (Eg: freezer or chilled merchandise)<br /></p> (required). + /// <p>A flag to indicate whether food stamps can be tendered for this item.<br /></p>. + /// <p>A flag denoting if this item is allowed in a WIC transaction.<br /></p>. + /// fsaCode. + /// <p>A flag to indicate if the item can be delivered to the customer.<br /></p>. + /// <p>Determines whether a prepayment/downpayment position should be retained when an order of the item is voided (e.g. the prepayment could be retained if the order of a special measured item is voided)<br /></p>. + /// <p>A flag to indicate if the customer may take an item home to test it<br /></p>. + /// <p>Defines if the registration of the item requires a serial number input<br /></p>. + /// <p>A flag to denote if no tax exemption is allowed for the item. True = no tax exemption allowed.<br /></p>. + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.<br /></p> (required). + /// <p>A flag to indicate whether this item can be discounted.<br /></p> (required). + /// <p>Determines whether bonus points are allowed for the item<br /></p> (required). + /// <p>Type code for controlling the quantity input<br /></p> (required). + /// <p>Determines how the input of quantity is done on POS<br /></p> (required). + /// <p>Date when selling of the item becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// <p>Last date when the item is available for sale<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// <p>If this flag is set to true, automatically a negative position is created when registering this item<br /></p> (required). + /// <p>Type code for the manual price change.<br /> Values:<br /></p><br /><ul><br /> <li>00 = price 0.00 not allowed LIMITED,</li><br /> <li>01 = price 0.00 allowed - POSSIBLE,</li><br /> <li>02 = no price change allowed - PROHIBITED</li><br /></ul> (required). + /// <p>Determines whether the price is to be hided (not printed) on the receipt and to be hided (not shown)<br /></p> (required). + /// <p>Determines whether this item is to be shown on the customer display<br /></p> (required). + /// <p>Bar code handling method<br /></p> (required). + /// <p>A flag to denote that the weight is to be registered when this item is sold<br /></p> (required). + /// <p>Determines whether it is possible to register a price on scales<br /></p> (required). + /// <p>Flag AllowLayawayFlag defines if an item is allowed for Layaway or not.<br /></p>. + /// <p>Flag LayawayDiscountFlag defines if promotions are allowed for the 'Layaway' item.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO(string itemSellingRuleId = default(string), bool? priceEntryRequiredFlag = default(bool?), bool? prohibitReturnFlag = default(bool?), bool? allowFoodStampFlag = default(bool?), bool? wicFlag = default(bool?), string fsaCode = default(string), bool? deliveryStockAssortmentFlag = default(bool?), bool? retainPrepaymentFlag = default(bool?), bool? takeAwayAllowedFlag = default(bool?), bool? serialNumberRequiredFlag = default(bool?), bool? taxExemptProbihitedFlag = default(bool?), bool? authorisedForSaleFlag = default(bool?), bool? discountFlag = default(bool?), bool? bonusPointsFlag = default(bool?), QuantityInputTypeCodeEnum quantityInputTypeCode = default(QuantityInputTypeCodeEnum), QuantityInputMethodEnum quantityInputMethod = default(QuantityInputMethodEnum), string sellingEffectiveDate = default(string), string sellingExpirationDate = default(string), bool? negativePositionFlag = default(bool?), PriceChangeTypeCodeEnum priceChangeTypeCode = default(PriceChangeTypeCodeEnum), bool? hidePriceFlag = default(bool?), bool? showItemOnCustomerDisplayFlag = default(bool?), BarCodeHandlingMethodEnum barCodeHandlingMethod = default(BarCodeHandlingMethodEnum), bool? weightEntryRequiredFlag = default(bool?), bool? priceEntryOnScalesAllowedFlag = default(bool?), bool? allowLayawayFlag = default(bool?), bool? layawayDiscountFlag = default(bool?), string xxCUSTOM18 = default(string), string xxCUSTOM19 = default(string), string xxCUSTOM20 = default(string), string xxCUSTOM21 = default(string), string xxCUSTOM22 = default(string), string xxCUSTOM23 = default(string), string xxCUSTOM24 = default(string), string xxCUSTOM25 = default(string), string xxCUSTOM26 = default(string), string xxCUSTOM27 = default(string), string xxCUSTOM28 = default(string), string xxCUSTOM29 = default(string), string xxCUSTOM30 = default(string), string xxCUSTOM01 = default(string), string xxCUSTOM02 = default(string), string xxCUSTOM03 = default(string), string xxCUSTOM04 = default(string), string xxCUSTOM05 = default(string), string xxCUSTOM06 = default(string), string xxCUSTOM07 = default(string), string xxCUSTOM08 = default(string), string xxCUSTOM09 = default(string), string xxCUSTOM10 = default(string), string xxCUSTOM11 = default(string), string xxCUSTOM12 = default(string), string xxCUSTOM13 = default(string), string xxCUSTOM14 = default(string), string xxCUSTOM15 = default(string), string xxCUSTOM16 = default(string), string xxCUSTOM17 = default(string)) + { + // to ensure "priceEntryRequiredFlag" is required (not null) + if (priceEntryRequiredFlag == null) + { + throw new InvalidDataException("priceEntryRequiredFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.PriceEntryRequiredFlag = priceEntryRequiredFlag; + } + // to ensure "prohibitReturnFlag" is required (not null) + if (prohibitReturnFlag == null) + { + throw new InvalidDataException("prohibitReturnFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.ProhibitReturnFlag = prohibitReturnFlag; + } + // to ensure "authorisedForSaleFlag" is required (not null) + if (authorisedForSaleFlag == null) + { + throw new InvalidDataException("authorisedForSaleFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.AuthorisedForSaleFlag = authorisedForSaleFlag; + } + // to ensure "discountFlag" is required (not null) + if (discountFlag == null) + { + throw new InvalidDataException("discountFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.DiscountFlag = discountFlag; + } + // to ensure "bonusPointsFlag" is required (not null) + if (bonusPointsFlag == null) + { + throw new InvalidDataException("bonusPointsFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.BonusPointsFlag = bonusPointsFlag; + } + // to ensure "quantityInputTypeCode" is required (not null) + if (quantityInputTypeCode == null) + { + throw new InvalidDataException("quantityInputTypeCode is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.QuantityInputTypeCode = quantityInputTypeCode; + } + // to ensure "quantityInputMethod" is required (not null) + if (quantityInputMethod == null) + { + throw new InvalidDataException("quantityInputMethod is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.QuantityInputMethod = quantityInputMethod; + } + // to ensure "sellingEffectiveDate" is required (not null) + if (sellingEffectiveDate == null) + { + throw new InvalidDataException("sellingEffectiveDate is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.SellingEffectiveDate = sellingEffectiveDate; + } + // to ensure "sellingExpirationDate" is required (not null) + if (sellingExpirationDate == null) + { + throw new InvalidDataException("sellingExpirationDate is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.SellingExpirationDate = sellingExpirationDate; + } + // to ensure "negativePositionFlag" is required (not null) + if (negativePositionFlag == null) + { + throw new InvalidDataException("negativePositionFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.NegativePositionFlag = negativePositionFlag; + } + // to ensure "priceChangeTypeCode" is required (not null) + if (priceChangeTypeCode == null) + { + throw new InvalidDataException("priceChangeTypeCode is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.PriceChangeTypeCode = priceChangeTypeCode; + } + // to ensure "hidePriceFlag" is required (not null) + if (hidePriceFlag == null) + { + throw new InvalidDataException("hidePriceFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.HidePriceFlag = hidePriceFlag; + } + // to ensure "showItemOnCustomerDisplayFlag" is required (not null) + if (showItemOnCustomerDisplayFlag == null) + { + throw new InvalidDataException("showItemOnCustomerDisplayFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.ShowItemOnCustomerDisplayFlag = showItemOnCustomerDisplayFlag; + } + // to ensure "barCodeHandlingMethod" is required (not null) + if (barCodeHandlingMethod == null) + { + throw new InvalidDataException("barCodeHandlingMethod is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.BarCodeHandlingMethod = barCodeHandlingMethod; + } + // to ensure "weightEntryRequiredFlag" is required (not null) + if (weightEntryRequiredFlag == null) + { + throw new InvalidDataException("weightEntryRequiredFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.WeightEntryRequiredFlag = weightEntryRequiredFlag; + } + // to ensure "priceEntryOnScalesAllowedFlag" is required (not null) + if (priceEntryOnScalesAllowedFlag == null) + { + throw new InvalidDataException("priceEntryOnScalesAllowedFlag is a required property for ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO and cannot be null"); + } + else + { + this.PriceEntryOnScalesAllowedFlag = priceEntryOnScalesAllowedFlag; + } + this.ItemSellingRuleId = itemSellingRuleId; + this.AllowFoodStampFlag = allowFoodStampFlag; + this.WicFlag = wicFlag; + this.FsaCode = fsaCode; + this.DeliveryStockAssortmentFlag = deliveryStockAssortmentFlag; + this.RetainPrepaymentFlag = retainPrepaymentFlag; + this.TakeAwayAllowedFlag = takeAwayAllowedFlag; + this.SerialNumberRequiredFlag = serialNumberRequiredFlag; + this.TaxExemptProbihitedFlag = taxExemptProbihitedFlag; + this.AllowLayawayFlag = allowLayawayFlag; + this.LayawayDiscountFlag = layawayDiscountFlag; + this.XxCUSTOM18 = xxCUSTOM18; + this.XxCUSTOM19 = xxCUSTOM19; + this.XxCUSTOM20 = xxCUSTOM20; + this.XxCUSTOM21 = xxCUSTOM21; + this.XxCUSTOM22 = xxCUSTOM22; + this.XxCUSTOM23 = xxCUSTOM23; + this.XxCUSTOM24 = xxCUSTOM24; + this.XxCUSTOM25 = xxCUSTOM25; + this.XxCUSTOM26 = xxCUSTOM26; + this.XxCUSTOM27 = xxCUSTOM27; + this.XxCUSTOM28 = xxCUSTOM28; + this.XxCUSTOM29 = xxCUSTOM29; + this.XxCUSTOM30 = xxCUSTOM30; + this.XxCUSTOM01 = xxCUSTOM01; + this.XxCUSTOM02 = xxCUSTOM02; + this.XxCUSTOM03 = xxCUSTOM03; + this.XxCUSTOM04 = xxCUSTOM04; + this.XxCUSTOM05 = xxCUSTOM05; + this.XxCUSTOM06 = xxCUSTOM06; + this.XxCUSTOM07 = xxCUSTOM07; + this.XxCUSTOM08 = xxCUSTOM08; + this.XxCUSTOM09 = xxCUSTOM09; + this.XxCUSTOM10 = xxCUSTOM10; + this.XxCUSTOM11 = xxCUSTOM11; + this.XxCUSTOM12 = xxCUSTOM12; + this.XxCUSTOM13 = xxCUSTOM13; + this.XxCUSTOM14 = xxCUSTOM14; + this.XxCUSTOM15 = xxCUSTOM15; + this.XxCUSTOM16 = xxCUSTOM16; + this.XxCUSTOM17 = xxCUSTOM17; + } + + /// + /// <p>A unique system assigned identifier for the item selling rule.<br /> Generated, not imported.<br /></p> + /// + /// <p>A unique system assigned identifier for the item selling rule.<br /> Generated, not imported.<br /></p> + [DataMember(Name="itemSellingRuleId", EmitDefaultValue=false)] + public string ItemSellingRuleId { get; set; } + + /// + /// <p>A flag to denote that the retail price is to be manually entered when this item is sold.<br /></p> + /// + /// <p>A flag to denote that the retail price is to be manually entered when this item is sold.<br /></p> + [DataMember(Name="priceEntryRequiredFlag", EmitDefaultValue=false)] + public bool? PriceEntryRequiredFlag { get; set; } + + /// + /// <p>A flag to denote whether or not this item may be returned. (Eg: freezer or chilled merchandise)<br /></p> + /// + /// <p>A flag to denote whether or not this item may be returned. (Eg: freezer or chilled merchandise)<br /></p> + [DataMember(Name="prohibitReturnFlag", EmitDefaultValue=false)] + public bool? ProhibitReturnFlag { get; set; } + + /// + /// <p>A flag to indicate whether food stamps can be tendered for this item.<br /></p> + /// + /// <p>A flag to indicate whether food stamps can be tendered for this item.<br /></p> + [DataMember(Name="allowFoodStampFlag", EmitDefaultValue=false)] + public bool? AllowFoodStampFlag { get; set; } + + /// + /// <p>A flag denoting if this item is allowed in a WIC transaction.<br /></p> + /// + /// <p>A flag denoting if this item is allowed in a WIC transaction.<br /></p> + [DataMember(Name="wicFlag", EmitDefaultValue=false)] + public bool? WicFlag { get; set; } + + /// + /// Gets or Sets FsaCode + /// + [DataMember(Name="fsaCode", EmitDefaultValue=false)] + public string FsaCode { get; set; } + + /// + /// <p>A flag to indicate if the item can be delivered to the customer.<br /></p> + /// + /// <p>A flag to indicate if the item can be delivered to the customer.<br /></p> + [DataMember(Name="deliveryStockAssortmentFlag", EmitDefaultValue=false)] + public bool? DeliveryStockAssortmentFlag { get; set; } + + /// + /// <p>Determines whether a prepayment/downpayment position should be retained when an order of the item is voided (e.g. the prepayment could be retained if the order of a special measured item is voided)<br /></p> + /// + /// <p>Determines whether a prepayment/downpayment position should be retained when an order of the item is voided (e.g. the prepayment could be retained if the order of a special measured item is voided)<br /></p> + [DataMember(Name="retainPrepaymentFlag", EmitDefaultValue=false)] + public bool? RetainPrepaymentFlag { get; set; } + + /// + /// <p>A flag to indicate if the customer may take an item home to test it<br /></p> + /// + /// <p>A flag to indicate if the customer may take an item home to test it<br /></p> + [DataMember(Name="takeAwayAllowedFlag", EmitDefaultValue=false)] + public bool? TakeAwayAllowedFlag { get; set; } + + /// + /// <p>Defines if the registration of the item requires a serial number input<br /></p> + /// + /// <p>Defines if the registration of the item requires a serial number input<br /></p> + [DataMember(Name="serialNumberRequiredFlag", EmitDefaultValue=false)] + public bool? SerialNumberRequiredFlag { get; set; } + + /// + /// <p>A flag to denote if no tax exemption is allowed for the item. True = no tax exemption allowed.<br /></p> + /// + /// <p>A flag to denote if no tax exemption is allowed for the item. True = no tax exemption allowed.<br /></p> + [DataMember(Name="taxExemptProbihitedFlag", EmitDefaultValue=false)] + public bool? TaxExemptProbihitedFlag { get; set; } + + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.<br /></p> + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.<br /></p> + [DataMember(Name="authorisedForSaleFlag", EmitDefaultValue=false)] + public bool? AuthorisedForSaleFlag { get; set; } + + /// + /// <p>A flag to indicate whether this item can be discounted.<br /></p> + /// + /// <p>A flag to indicate whether this item can be discounted.<br /></p> + [DataMember(Name="discountFlag", EmitDefaultValue=false)] + public bool? DiscountFlag { get; set; } + + /// + /// <p>Determines whether bonus points are allowed for the item<br /></p> + /// + /// <p>Determines whether bonus points are allowed for the item<br /></p> + [DataMember(Name="bonusPointsFlag", EmitDefaultValue=false)] + public bool? BonusPointsFlag { get; set; } + + + + /// + /// <p>Date when selling of the item becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date when selling of the item becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="sellingEffectiveDate", EmitDefaultValue=false)] + public string SellingEffectiveDate { get; set; } + + /// + /// <p>Last date when the item is available for sale<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Last date when the item is available for sale<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="sellingExpirationDate", EmitDefaultValue=false)] + public string SellingExpirationDate { get; set; } + + /// + /// <p>If this flag is set to true, automatically a negative position is created when registering this item<br /></p> + /// + /// <p>If this flag is set to true, automatically a negative position is created when registering this item<br /></p> + [DataMember(Name="negativePositionFlag", EmitDefaultValue=false)] + public bool? NegativePositionFlag { get; set; } + + + /// + /// <p>Determines whether the price is to be hided (not printed) on the receipt and to be hided (not shown)<br /></p> + /// + /// <p>Determines whether the price is to be hided (not printed) on the receipt and to be hided (not shown)<br /></p> + [DataMember(Name="hidePriceFlag", EmitDefaultValue=false)] + public bool? HidePriceFlag { get; set; } + + /// + /// <p>Determines whether this item is to be shown on the customer display<br /></p> + /// + /// <p>Determines whether this item is to be shown on the customer display<br /></p> + [DataMember(Name="showItemOnCustomerDisplayFlag", EmitDefaultValue=false)] + public bool? ShowItemOnCustomerDisplayFlag { get; set; } + + + /// + /// <p>A flag to denote that the weight is to be registered when this item is sold<br /></p> + /// + /// <p>A flag to denote that the weight is to be registered when this item is sold<br /></p> + [DataMember(Name="weightEntryRequiredFlag", EmitDefaultValue=false)] + public bool? WeightEntryRequiredFlag { get; set; } + + /// + /// <p>Determines whether it is possible to register a price on scales<br /></p> + /// + /// <p>Determines whether it is possible to register a price on scales<br /></p> + [DataMember(Name="priceEntryOnScalesAllowedFlag", EmitDefaultValue=false)] + public bool? PriceEntryOnScalesAllowedFlag { get; set; } + + /// + /// <p>Flag AllowLayawayFlag defines if an item is allowed for Layaway or not.<br /></p> + /// + /// <p>Flag AllowLayawayFlag defines if an item is allowed for Layaway or not.<br /></p> + [DataMember(Name="allowLayawayFlag", EmitDefaultValue=false)] + public bool? AllowLayawayFlag { get; set; } + + /// + /// <p>Flag LayawayDiscountFlag defines if promotions are allowed for the 'Layaway' item.<br /></p> + /// + /// <p>Flag LayawayDiscountFlag defines if promotions are allowed for the 'Layaway' item.<br /></p> + [DataMember(Name="layawayDiscountFlag", EmitDefaultValue=false)] + public bool? LayawayDiscountFlag { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_18", EmitDefaultValue=false)] + public string XxCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_19", EmitDefaultValue=false)] + public string XxCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_20", EmitDefaultValue=false)] + public string XxCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_21", EmitDefaultValue=false)] + public string XxCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_22", EmitDefaultValue=false)] + public string XxCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_23", EmitDefaultValue=false)] + public string XxCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_24", EmitDefaultValue=false)] + public string XxCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_25", EmitDefaultValue=false)] + public string XxCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_26", EmitDefaultValue=false)] + public string XxCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_27", EmitDefaultValue=false)] + public string XxCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_28", EmitDefaultValue=false)] + public string XxCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_29", EmitDefaultValue=false)] + public string XxCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_30", EmitDefaultValue=false)] + public string XxCUSTOM30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_01", EmitDefaultValue=false)] + public string XxCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_02", EmitDefaultValue=false)] + public string XxCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_03", EmitDefaultValue=false)] + public string XxCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_04", EmitDefaultValue=false)] + public string XxCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_05", EmitDefaultValue=false)] + public string XxCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_06", EmitDefaultValue=false)] + public string XxCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_07", EmitDefaultValue=false)] + public string XxCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_08", EmitDefaultValue=false)] + public string XxCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_09", EmitDefaultValue=false)] + public string XxCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_10", EmitDefaultValue=false)] + public string XxCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_11", EmitDefaultValue=false)] + public string XxCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_12", EmitDefaultValue=false)] + public string XxCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_13", EmitDefaultValue=false)] + public string XxCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_14", EmitDefaultValue=false)] + public string XxCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_15", EmitDefaultValue=false)] + public string XxCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_16", EmitDefaultValue=false)] + public string XxCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_17", EmitDefaultValue=false)] + public string XxCUSTOM17 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO {\n"); + sb.Append(" ItemSellingRuleId: ").Append(ItemSellingRuleId).Append("\n"); + sb.Append(" PriceEntryRequiredFlag: ").Append(PriceEntryRequiredFlag).Append("\n"); + sb.Append(" ProhibitReturnFlag: ").Append(ProhibitReturnFlag).Append("\n"); + sb.Append(" AllowFoodStampFlag: ").Append(AllowFoodStampFlag).Append("\n"); + sb.Append(" WicFlag: ").Append(WicFlag).Append("\n"); + sb.Append(" FsaCode: ").Append(FsaCode).Append("\n"); + sb.Append(" DeliveryStockAssortmentFlag: ").Append(DeliveryStockAssortmentFlag).Append("\n"); + sb.Append(" RetainPrepaymentFlag: ").Append(RetainPrepaymentFlag).Append("\n"); + sb.Append(" TakeAwayAllowedFlag: ").Append(TakeAwayAllowedFlag).Append("\n"); + sb.Append(" SerialNumberRequiredFlag: ").Append(SerialNumberRequiredFlag).Append("\n"); + sb.Append(" TaxExemptProbihitedFlag: ").Append(TaxExemptProbihitedFlag).Append("\n"); + sb.Append(" AuthorisedForSaleFlag: ").Append(AuthorisedForSaleFlag).Append("\n"); + sb.Append(" DiscountFlag: ").Append(DiscountFlag).Append("\n"); + sb.Append(" BonusPointsFlag: ").Append(BonusPointsFlag).Append("\n"); + sb.Append(" QuantityInputTypeCode: ").Append(QuantityInputTypeCode).Append("\n"); + sb.Append(" QuantityInputMethod: ").Append(QuantityInputMethod).Append("\n"); + sb.Append(" SellingEffectiveDate: ").Append(SellingEffectiveDate).Append("\n"); + sb.Append(" SellingExpirationDate: ").Append(SellingExpirationDate).Append("\n"); + sb.Append(" NegativePositionFlag: ").Append(NegativePositionFlag).Append("\n"); + sb.Append(" PriceChangeTypeCode: ").Append(PriceChangeTypeCode).Append("\n"); + sb.Append(" HidePriceFlag: ").Append(HidePriceFlag).Append("\n"); + sb.Append(" ShowItemOnCustomerDisplayFlag: ").Append(ShowItemOnCustomerDisplayFlag).Append("\n"); + sb.Append(" BarCodeHandlingMethod: ").Append(BarCodeHandlingMethod).Append("\n"); + sb.Append(" WeightEntryRequiredFlag: ").Append(WeightEntryRequiredFlag).Append("\n"); + sb.Append(" PriceEntryOnScalesAllowedFlag: ").Append(PriceEntryOnScalesAllowedFlag).Append("\n"); + sb.Append(" AllowLayawayFlag: ").Append(AllowLayawayFlag).Append("\n"); + sb.Append(" LayawayDiscountFlag: ").Append(LayawayDiscountFlag).Append("\n"); + sb.Append(" XxCUSTOM18: ").Append(XxCUSTOM18).Append("\n"); + sb.Append(" XxCUSTOM19: ").Append(XxCUSTOM19).Append("\n"); + sb.Append(" XxCUSTOM20: ").Append(XxCUSTOM20).Append("\n"); + sb.Append(" XxCUSTOM21: ").Append(XxCUSTOM21).Append("\n"); + sb.Append(" XxCUSTOM22: ").Append(XxCUSTOM22).Append("\n"); + sb.Append(" XxCUSTOM23: ").Append(XxCUSTOM23).Append("\n"); + sb.Append(" XxCUSTOM24: ").Append(XxCUSTOM24).Append("\n"); + sb.Append(" XxCUSTOM25: ").Append(XxCUSTOM25).Append("\n"); + sb.Append(" XxCUSTOM26: ").Append(XxCUSTOM26).Append("\n"); + sb.Append(" XxCUSTOM27: ").Append(XxCUSTOM27).Append("\n"); + sb.Append(" XxCUSTOM28: ").Append(XxCUSTOM28).Append("\n"); + sb.Append(" XxCUSTOM29: ").Append(XxCUSTOM29).Append("\n"); + sb.Append(" XxCUSTOM30: ").Append(XxCUSTOM30).Append("\n"); + sb.Append(" XxCUSTOM01: ").Append(XxCUSTOM01).Append("\n"); + sb.Append(" XxCUSTOM02: ").Append(XxCUSTOM02).Append("\n"); + sb.Append(" XxCUSTOM03: ").Append(XxCUSTOM03).Append("\n"); + sb.Append(" XxCUSTOM04: ").Append(XxCUSTOM04).Append("\n"); + sb.Append(" XxCUSTOM05: ").Append(XxCUSTOM05).Append("\n"); + sb.Append(" XxCUSTOM06: ").Append(XxCUSTOM06).Append("\n"); + sb.Append(" XxCUSTOM07: ").Append(XxCUSTOM07).Append("\n"); + sb.Append(" XxCUSTOM08: ").Append(XxCUSTOM08).Append("\n"); + sb.Append(" XxCUSTOM09: ").Append(XxCUSTOM09).Append("\n"); + sb.Append(" XxCUSTOM10: ").Append(XxCUSTOM10).Append("\n"); + sb.Append(" XxCUSTOM11: ").Append(XxCUSTOM11).Append("\n"); + sb.Append(" XxCUSTOM12: ").Append(XxCUSTOM12).Append("\n"); + sb.Append(" XxCUSTOM13: ").Append(XxCUSTOM13).Append("\n"); + sb.Append(" XxCUSTOM14: ").Append(XxCUSTOM14).Append("\n"); + sb.Append(" XxCUSTOM15: ").Append(XxCUSTOM15).Append("\n"); + sb.Append(" XxCUSTOM16: ").Append(XxCUSTOM16).Append("\n"); + sb.Append(" XxCUSTOM17: ").Append(XxCUSTOM17).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO input) + { + if (input == null) + return false; + + return + ( + this.ItemSellingRuleId == input.ItemSellingRuleId || + (this.ItemSellingRuleId != null && + this.ItemSellingRuleId.Equals(input.ItemSellingRuleId)) + ) && + ( + this.PriceEntryRequiredFlag == input.PriceEntryRequiredFlag || + (this.PriceEntryRequiredFlag != null && + this.PriceEntryRequiredFlag.Equals(input.PriceEntryRequiredFlag)) + ) && + ( + this.ProhibitReturnFlag == input.ProhibitReturnFlag || + (this.ProhibitReturnFlag != null && + this.ProhibitReturnFlag.Equals(input.ProhibitReturnFlag)) + ) && + ( + this.AllowFoodStampFlag == input.AllowFoodStampFlag || + (this.AllowFoodStampFlag != null && + this.AllowFoodStampFlag.Equals(input.AllowFoodStampFlag)) + ) && + ( + this.WicFlag == input.WicFlag || + (this.WicFlag != null && + this.WicFlag.Equals(input.WicFlag)) + ) && + ( + this.FsaCode == input.FsaCode || + (this.FsaCode != null && + this.FsaCode.Equals(input.FsaCode)) + ) && + ( + this.DeliveryStockAssortmentFlag == input.DeliveryStockAssortmentFlag || + (this.DeliveryStockAssortmentFlag != null && + this.DeliveryStockAssortmentFlag.Equals(input.DeliveryStockAssortmentFlag)) + ) && + ( + this.RetainPrepaymentFlag == input.RetainPrepaymentFlag || + (this.RetainPrepaymentFlag != null && + this.RetainPrepaymentFlag.Equals(input.RetainPrepaymentFlag)) + ) && + ( + this.TakeAwayAllowedFlag == input.TakeAwayAllowedFlag || + (this.TakeAwayAllowedFlag != null && + this.TakeAwayAllowedFlag.Equals(input.TakeAwayAllowedFlag)) + ) && + ( + this.SerialNumberRequiredFlag == input.SerialNumberRequiredFlag || + (this.SerialNumberRequiredFlag != null && + this.SerialNumberRequiredFlag.Equals(input.SerialNumberRequiredFlag)) + ) && + ( + this.TaxExemptProbihitedFlag == input.TaxExemptProbihitedFlag || + (this.TaxExemptProbihitedFlag != null && + this.TaxExemptProbihitedFlag.Equals(input.TaxExemptProbihitedFlag)) + ) && + ( + this.AuthorisedForSaleFlag == input.AuthorisedForSaleFlag || + (this.AuthorisedForSaleFlag != null && + this.AuthorisedForSaleFlag.Equals(input.AuthorisedForSaleFlag)) + ) && + ( + this.DiscountFlag == input.DiscountFlag || + (this.DiscountFlag != null && + this.DiscountFlag.Equals(input.DiscountFlag)) + ) && + ( + this.BonusPointsFlag == input.BonusPointsFlag || + (this.BonusPointsFlag != null && + this.BonusPointsFlag.Equals(input.BonusPointsFlag)) + ) && + ( + this.QuantityInputTypeCode == input.QuantityInputTypeCode || + (this.QuantityInputTypeCode != null && + this.QuantityInputTypeCode.Equals(input.QuantityInputTypeCode)) + ) && + ( + this.QuantityInputMethod == input.QuantityInputMethod || + (this.QuantityInputMethod != null && + this.QuantityInputMethod.Equals(input.QuantityInputMethod)) + ) && + ( + this.SellingEffectiveDate == input.SellingEffectiveDate || + (this.SellingEffectiveDate != null && + this.SellingEffectiveDate.Equals(input.SellingEffectiveDate)) + ) && + ( + this.SellingExpirationDate == input.SellingExpirationDate || + (this.SellingExpirationDate != null && + this.SellingExpirationDate.Equals(input.SellingExpirationDate)) + ) && + ( + this.NegativePositionFlag == input.NegativePositionFlag || + (this.NegativePositionFlag != null && + this.NegativePositionFlag.Equals(input.NegativePositionFlag)) + ) && + ( + this.PriceChangeTypeCode == input.PriceChangeTypeCode || + (this.PriceChangeTypeCode != null && + this.PriceChangeTypeCode.Equals(input.PriceChangeTypeCode)) + ) && + ( + this.HidePriceFlag == input.HidePriceFlag || + (this.HidePriceFlag != null && + this.HidePriceFlag.Equals(input.HidePriceFlag)) + ) && + ( + this.ShowItemOnCustomerDisplayFlag == input.ShowItemOnCustomerDisplayFlag || + (this.ShowItemOnCustomerDisplayFlag != null && + this.ShowItemOnCustomerDisplayFlag.Equals(input.ShowItemOnCustomerDisplayFlag)) + ) && + ( + this.BarCodeHandlingMethod == input.BarCodeHandlingMethod || + (this.BarCodeHandlingMethod != null && + this.BarCodeHandlingMethod.Equals(input.BarCodeHandlingMethod)) + ) && + ( + this.WeightEntryRequiredFlag == input.WeightEntryRequiredFlag || + (this.WeightEntryRequiredFlag != null && + this.WeightEntryRequiredFlag.Equals(input.WeightEntryRequiredFlag)) + ) && + ( + this.PriceEntryOnScalesAllowedFlag == input.PriceEntryOnScalesAllowedFlag || + (this.PriceEntryOnScalesAllowedFlag != null && + this.PriceEntryOnScalesAllowedFlag.Equals(input.PriceEntryOnScalesAllowedFlag)) + ) && + ( + this.AllowLayawayFlag == input.AllowLayawayFlag || + (this.AllowLayawayFlag != null && + this.AllowLayawayFlag.Equals(input.AllowLayawayFlag)) + ) && + ( + this.LayawayDiscountFlag == input.LayawayDiscountFlag || + (this.LayawayDiscountFlag != null && + this.LayawayDiscountFlag.Equals(input.LayawayDiscountFlag)) + ) && + ( + this.XxCUSTOM18 == input.XxCUSTOM18 || + (this.XxCUSTOM18 != null && + this.XxCUSTOM18.Equals(input.XxCUSTOM18)) + ) && + ( + this.XxCUSTOM19 == input.XxCUSTOM19 || + (this.XxCUSTOM19 != null && + this.XxCUSTOM19.Equals(input.XxCUSTOM19)) + ) && + ( + this.XxCUSTOM20 == input.XxCUSTOM20 || + (this.XxCUSTOM20 != null && + this.XxCUSTOM20.Equals(input.XxCUSTOM20)) + ) && + ( + this.XxCUSTOM21 == input.XxCUSTOM21 || + (this.XxCUSTOM21 != null && + this.XxCUSTOM21.Equals(input.XxCUSTOM21)) + ) && + ( + this.XxCUSTOM22 == input.XxCUSTOM22 || + (this.XxCUSTOM22 != null && + this.XxCUSTOM22.Equals(input.XxCUSTOM22)) + ) && + ( + this.XxCUSTOM23 == input.XxCUSTOM23 || + (this.XxCUSTOM23 != null && + this.XxCUSTOM23.Equals(input.XxCUSTOM23)) + ) && + ( + this.XxCUSTOM24 == input.XxCUSTOM24 || + (this.XxCUSTOM24 != null && + this.XxCUSTOM24.Equals(input.XxCUSTOM24)) + ) && + ( + this.XxCUSTOM25 == input.XxCUSTOM25 || + (this.XxCUSTOM25 != null && + this.XxCUSTOM25.Equals(input.XxCUSTOM25)) + ) && + ( + this.XxCUSTOM26 == input.XxCUSTOM26 || + (this.XxCUSTOM26 != null && + this.XxCUSTOM26.Equals(input.XxCUSTOM26)) + ) && + ( + this.XxCUSTOM27 == input.XxCUSTOM27 || + (this.XxCUSTOM27 != null && + this.XxCUSTOM27.Equals(input.XxCUSTOM27)) + ) && + ( + this.XxCUSTOM28 == input.XxCUSTOM28 || + (this.XxCUSTOM28 != null && + this.XxCUSTOM28.Equals(input.XxCUSTOM28)) + ) && + ( + this.XxCUSTOM29 == input.XxCUSTOM29 || + (this.XxCUSTOM29 != null && + this.XxCUSTOM29.Equals(input.XxCUSTOM29)) + ) && + ( + this.XxCUSTOM30 == input.XxCUSTOM30 || + (this.XxCUSTOM30 != null && + this.XxCUSTOM30.Equals(input.XxCUSTOM30)) + ) && + ( + this.XxCUSTOM01 == input.XxCUSTOM01 || + (this.XxCUSTOM01 != null && + this.XxCUSTOM01.Equals(input.XxCUSTOM01)) + ) && + ( + this.XxCUSTOM02 == input.XxCUSTOM02 || + (this.XxCUSTOM02 != null && + this.XxCUSTOM02.Equals(input.XxCUSTOM02)) + ) && + ( + this.XxCUSTOM03 == input.XxCUSTOM03 || + (this.XxCUSTOM03 != null && + this.XxCUSTOM03.Equals(input.XxCUSTOM03)) + ) && + ( + this.XxCUSTOM04 == input.XxCUSTOM04 || + (this.XxCUSTOM04 != null && + this.XxCUSTOM04.Equals(input.XxCUSTOM04)) + ) && + ( + this.XxCUSTOM05 == input.XxCUSTOM05 || + (this.XxCUSTOM05 != null && + this.XxCUSTOM05.Equals(input.XxCUSTOM05)) + ) && + ( + this.XxCUSTOM06 == input.XxCUSTOM06 || + (this.XxCUSTOM06 != null && + this.XxCUSTOM06.Equals(input.XxCUSTOM06)) + ) && + ( + this.XxCUSTOM07 == input.XxCUSTOM07 || + (this.XxCUSTOM07 != null && + this.XxCUSTOM07.Equals(input.XxCUSTOM07)) + ) && + ( + this.XxCUSTOM08 == input.XxCUSTOM08 || + (this.XxCUSTOM08 != null && + this.XxCUSTOM08.Equals(input.XxCUSTOM08)) + ) && + ( + this.XxCUSTOM09 == input.XxCUSTOM09 || + (this.XxCUSTOM09 != null && + this.XxCUSTOM09.Equals(input.XxCUSTOM09)) + ) && + ( + this.XxCUSTOM10 == input.XxCUSTOM10 || + (this.XxCUSTOM10 != null && + this.XxCUSTOM10.Equals(input.XxCUSTOM10)) + ) && + ( + this.XxCUSTOM11 == input.XxCUSTOM11 || + (this.XxCUSTOM11 != null && + this.XxCUSTOM11.Equals(input.XxCUSTOM11)) + ) && + ( + this.XxCUSTOM12 == input.XxCUSTOM12 || + (this.XxCUSTOM12 != null && + this.XxCUSTOM12.Equals(input.XxCUSTOM12)) + ) && + ( + this.XxCUSTOM13 == input.XxCUSTOM13 || + (this.XxCUSTOM13 != null && + this.XxCUSTOM13.Equals(input.XxCUSTOM13)) + ) && + ( + this.XxCUSTOM14 == input.XxCUSTOM14 || + (this.XxCUSTOM14 != null && + this.XxCUSTOM14.Equals(input.XxCUSTOM14)) + ) && + ( + this.XxCUSTOM15 == input.XxCUSTOM15 || + (this.XxCUSTOM15 != null && + this.XxCUSTOM15.Equals(input.XxCUSTOM15)) + ) && + ( + this.XxCUSTOM16 == input.XxCUSTOM16 || + (this.XxCUSTOM16 != null && + this.XxCUSTOM16.Equals(input.XxCUSTOM16)) + ) && + ( + this.XxCUSTOM17 == input.XxCUSTOM17 || + (this.XxCUSTOM17 != null && + this.XxCUSTOM17.Equals(input.XxCUSTOM17)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemSellingRuleId != null) + hashCode = hashCode * 59 + this.ItemSellingRuleId.GetHashCode(); + if (this.PriceEntryRequiredFlag != null) + hashCode = hashCode * 59 + this.PriceEntryRequiredFlag.GetHashCode(); + if (this.ProhibitReturnFlag != null) + hashCode = hashCode * 59 + this.ProhibitReturnFlag.GetHashCode(); + if (this.AllowFoodStampFlag != null) + hashCode = hashCode * 59 + this.AllowFoodStampFlag.GetHashCode(); + if (this.WicFlag != null) + hashCode = hashCode * 59 + this.WicFlag.GetHashCode(); + if (this.FsaCode != null) + hashCode = hashCode * 59 + this.FsaCode.GetHashCode(); + if (this.DeliveryStockAssortmentFlag != null) + hashCode = hashCode * 59 + this.DeliveryStockAssortmentFlag.GetHashCode(); + if (this.RetainPrepaymentFlag != null) + hashCode = hashCode * 59 + this.RetainPrepaymentFlag.GetHashCode(); + if (this.TakeAwayAllowedFlag != null) + hashCode = hashCode * 59 + this.TakeAwayAllowedFlag.GetHashCode(); + if (this.SerialNumberRequiredFlag != null) + hashCode = hashCode * 59 + this.SerialNumberRequiredFlag.GetHashCode(); + if (this.TaxExemptProbihitedFlag != null) + hashCode = hashCode * 59 + this.TaxExemptProbihitedFlag.GetHashCode(); + if (this.AuthorisedForSaleFlag != null) + hashCode = hashCode * 59 + this.AuthorisedForSaleFlag.GetHashCode(); + if (this.DiscountFlag != null) + hashCode = hashCode * 59 + this.DiscountFlag.GetHashCode(); + if (this.BonusPointsFlag != null) + hashCode = hashCode * 59 + this.BonusPointsFlag.GetHashCode(); + if (this.QuantityInputTypeCode != null) + hashCode = hashCode * 59 + this.QuantityInputTypeCode.GetHashCode(); + if (this.QuantityInputMethod != null) + hashCode = hashCode * 59 + this.QuantityInputMethod.GetHashCode(); + if (this.SellingEffectiveDate != null) + hashCode = hashCode * 59 + this.SellingEffectiveDate.GetHashCode(); + if (this.SellingExpirationDate != null) + hashCode = hashCode * 59 + this.SellingExpirationDate.GetHashCode(); + if (this.NegativePositionFlag != null) + hashCode = hashCode * 59 + this.NegativePositionFlag.GetHashCode(); + if (this.PriceChangeTypeCode != null) + hashCode = hashCode * 59 + this.PriceChangeTypeCode.GetHashCode(); + if (this.HidePriceFlag != null) + hashCode = hashCode * 59 + this.HidePriceFlag.GetHashCode(); + if (this.ShowItemOnCustomerDisplayFlag != null) + hashCode = hashCode * 59 + this.ShowItemOnCustomerDisplayFlag.GetHashCode(); + if (this.BarCodeHandlingMethod != null) + hashCode = hashCode * 59 + this.BarCodeHandlingMethod.GetHashCode(); + if (this.WeightEntryRequiredFlag != null) + hashCode = hashCode * 59 + this.WeightEntryRequiredFlag.GetHashCode(); + if (this.PriceEntryOnScalesAllowedFlag != null) + hashCode = hashCode * 59 + this.PriceEntryOnScalesAllowedFlag.GetHashCode(); + if (this.AllowLayawayFlag != null) + hashCode = hashCode * 59 + this.AllowLayawayFlag.GetHashCode(); + if (this.LayawayDiscountFlag != null) + hashCode = hashCode * 59 + this.LayawayDiscountFlag.GetHashCode(); + if (this.XxCUSTOM18 != null) + hashCode = hashCode * 59 + this.XxCUSTOM18.GetHashCode(); + if (this.XxCUSTOM19 != null) + hashCode = hashCode * 59 + this.XxCUSTOM19.GetHashCode(); + if (this.XxCUSTOM20 != null) + hashCode = hashCode * 59 + this.XxCUSTOM20.GetHashCode(); + if (this.XxCUSTOM21 != null) + hashCode = hashCode * 59 + this.XxCUSTOM21.GetHashCode(); + if (this.XxCUSTOM22 != null) + hashCode = hashCode * 59 + this.XxCUSTOM22.GetHashCode(); + if (this.XxCUSTOM23 != null) + hashCode = hashCode * 59 + this.XxCUSTOM23.GetHashCode(); + if (this.XxCUSTOM24 != null) + hashCode = hashCode * 59 + this.XxCUSTOM24.GetHashCode(); + if (this.XxCUSTOM25 != null) + hashCode = hashCode * 59 + this.XxCUSTOM25.GetHashCode(); + if (this.XxCUSTOM26 != null) + hashCode = hashCode * 59 + this.XxCUSTOM26.GetHashCode(); + if (this.XxCUSTOM27 != null) + hashCode = hashCode * 59 + this.XxCUSTOM27.GetHashCode(); + if (this.XxCUSTOM28 != null) + hashCode = hashCode * 59 + this.XxCUSTOM28.GetHashCode(); + if (this.XxCUSTOM29 != null) + hashCode = hashCode * 59 + this.XxCUSTOM29.GetHashCode(); + if (this.XxCUSTOM30 != null) + hashCode = hashCode * 59 + this.XxCUSTOM30.GetHashCode(); + if (this.XxCUSTOM01 != null) + hashCode = hashCode * 59 + this.XxCUSTOM01.GetHashCode(); + if (this.XxCUSTOM02 != null) + hashCode = hashCode * 59 + this.XxCUSTOM02.GetHashCode(); + if (this.XxCUSTOM03 != null) + hashCode = hashCode * 59 + this.XxCUSTOM03.GetHashCode(); + if (this.XxCUSTOM04 != null) + hashCode = hashCode * 59 + this.XxCUSTOM04.GetHashCode(); + if (this.XxCUSTOM05 != null) + hashCode = hashCode * 59 + this.XxCUSTOM05.GetHashCode(); + if (this.XxCUSTOM06 != null) + hashCode = hashCode * 59 + this.XxCUSTOM06.GetHashCode(); + if (this.XxCUSTOM07 != null) + hashCode = hashCode * 59 + this.XxCUSTOM07.GetHashCode(); + if (this.XxCUSTOM08 != null) + hashCode = hashCode * 59 + this.XxCUSTOM08.GetHashCode(); + if (this.XxCUSTOM09 != null) + hashCode = hashCode * 59 + this.XxCUSTOM09.GetHashCode(); + if (this.XxCUSTOM10 != null) + hashCode = hashCode * 59 + this.XxCUSTOM10.GetHashCode(); + if (this.XxCUSTOM11 != null) + hashCode = hashCode * 59 + this.XxCUSTOM11.GetHashCode(); + if (this.XxCUSTOM12 != null) + hashCode = hashCode * 59 + this.XxCUSTOM12.GetHashCode(); + if (this.XxCUSTOM13 != null) + hashCode = hashCode * 59 + this.XxCUSTOM13.GetHashCode(); + if (this.XxCUSTOM14 != null) + hashCode = hashCode * 59 + this.XxCUSTOM14.GetHashCode(); + if (this.XxCUSTOM15 != null) + hashCode = hashCode * 59 + this.XxCUSTOM15.GetHashCode(); + if (this.XxCUSTOM16 != null) + hashCode = hashCode * 59 + this.XxCUSTOM16.GetHashCode(); + if (this.XxCUSTOM17 != null) + hashCode = hashCode * 59 + this.XxCUSTOM17.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..52f4cb87bdc97bbbf907920b68e7a96c66d456b9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO.cs @@ -0,0 +1,171 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MHGTranslationSO <p>Translation for description of the merchandise hierarchy group in one language.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language ISO code identification.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.@ID<br /></p> (required). + /// name. + /// <p>Description in the given language.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.TranslatedDescription<br /></p>. + public ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO(string languageID = default(string), string name = default(string), string description = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.Name = name; + this.Description = description; + } + + /// + /// <p>Language ISO code identification.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.@ID<br /></p> + /// + /// <p>Language ISO code identification.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.@ID<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// Gets or Sets Name + /// + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Description in the given language.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.TranslatedDescription<br /></p> + /// + /// <p>Description in the given language.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.TranslatedDescription<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..76edef7bea11ad012ece6e8abf87cbf3b8232054 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO.cs @@ -0,0 +1,410 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MhgSO <p>Merchandise hierarchy group definition.<br /></p><br /><p>Import from masterData_MerchandiseHierarchyGroup.xml and masterData_BusinessUnit.xml.<br /> The definition of merchandise hierarchy groups is imported from masterData_MerchandiseHierarchyGroup.xml. The masterData_BusinessUnit.xml allows import additional details. If the MHG from masterData_BusinessUnit.xml does not exist, it is created.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Identifier of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.MerchandiseHierarchyGroupID<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> (required). + /// <p>merchandise HierarchyGroup ID Qualifier<br /></p>. + /// <p>The name of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: first 40 characters from MerchandiseHierarchyGroup.Description<br /></p>. + /// <p>The description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.Description<br /></p>. + /// <p>The tax group assigned to the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TaxGroupID<br /></p>. + /// <p>Reference to the ItemSellingRule object.<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemSellingRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.</li><br /></ul>. + /// <p>Reference to the ItemMerchandiseManagementRule object.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from MerchandiseHierarchyGroup.DefaultLayoutClass and MerchandiseHierarchyGroup.DefaultLabelCount.</li><br /></ul><br /><p>masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.NegativePositionFlag.</li><br /></ul>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>A unique system assigned identifier for the level within the merchandise hierarchy tree.<br /></p><br /><p>Not imported. Generated for the levelName.<br /></p>. + /// <p>Name for the level within the merchandise hierarchy tree.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.LevelName<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>List of translations for description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList<br /></p>. + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_05<br /></p>. + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_03<br /></p>. + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_02<br /></p>. + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_04<br /></p>. + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_01<br /></p>. + public ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO(string merchandiseHierarchyGroupID = default(string), string merchandiseHierarchyGroupIDQualifier = default(string), string name = default(string), string description = default(string), string taxGroupID = default(string), string itemSellingRuleID = default(string), string itemMerchandiseManagementRuleID = default(string), string packageID = default(string), string merchandiseHierarchyLevelID = default(string), string levelName = default(string), string tid = default(string), List translationList = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "merchandiseHierarchyGroupID" is required (not null) + if (merchandiseHierarchyGroupID == null) + { + throw new InvalidDataException("merchandiseHierarchyGroupID is a required property for ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO and cannot be null"); + } + else + { + this.MerchandiseHierarchyGroupID = merchandiseHierarchyGroupID; + } + this.MerchandiseHierarchyGroupIDQualifier = merchandiseHierarchyGroupIDQualifier; + this.Name = name; + this.Description = description; + this.TaxGroupID = taxGroupID; + this.ItemSellingRuleID = itemSellingRuleID; + this.ItemMerchandiseManagementRuleID = itemMerchandiseManagementRuleID; + this.PackageID = packageID; + this.MerchandiseHierarchyLevelID = merchandiseHierarchyLevelID; + this.LevelName = levelName; + this.Tid = tid; + this.TranslationList = translationList; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Identifier of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.MerchandiseHierarchyGroupID<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + /// + /// <p>Identifier of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.MerchandiseHierarchyGroupID<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + [DataMember(Name="merchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupID { get; set; } + + /// + /// <p>merchandise HierarchyGroup ID Qualifier<br /></p> + /// + /// <p>merchandise HierarchyGroup ID Qualifier<br /></p> + [DataMember(Name="merchandiseHierarchyGroupIDQualifier", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupIDQualifier { get; set; } + + /// + /// <p>The name of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: first 40 characters from MerchandiseHierarchyGroup.Description<br /></p> + /// + /// <p>The name of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: first 40 characters from MerchandiseHierarchyGroup.Description<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>The description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.Description<br /></p> + /// + /// <p>The description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.Description<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>The tax group assigned to the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TaxGroupID<br /></p> + /// + /// <p>The tax group assigned to the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TaxGroupID<br /></p> + [DataMember(Name="taxGroupID", EmitDefaultValue=false)] + public string TaxGroupID { get; set; } + + /// + /// <p>Reference to the ItemSellingRule object.<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemSellingRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.</li><br /></ul> + /// + /// <p>Reference to the ItemSellingRule object.<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemSellingRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.</li><br /></ul> + [DataMember(Name="itemSellingRuleID", EmitDefaultValue=false)] + public string ItemSellingRuleID { get; set; } + + /// + /// <p>Reference to the ItemMerchandiseManagementRule object.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from MerchandiseHierarchyGroup.DefaultLayoutClass and MerchandiseHierarchyGroup.DefaultLabelCount.</li><br /></ul><br /><p>masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.NegativePositionFlag.</li><br /></ul> + /// + /// <p>Reference to the ItemMerchandiseManagementRule object.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from MerchandiseHierarchyGroup.DefaultLayoutClass and MerchandiseHierarchyGroup.DefaultLabelCount.</li><br /></ul><br /><p>masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.NegativePositionFlag.</li><br /></ul> + [DataMember(Name="itemMerchandiseManagementRuleID", EmitDefaultValue=false)] + public string ItemMerchandiseManagementRuleID { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>A unique system assigned identifier for the level within the merchandise hierarchy tree.<br /></p><br /><p>Not imported. Generated for the levelName.<br /></p> + /// + /// <p>A unique system assigned identifier for the level within the merchandise hierarchy tree.<br /></p><br /><p>Not imported. Generated for the levelName.<br /></p> + [DataMember(Name="merchandiseHierarchyLevelID", EmitDefaultValue=false)] + public string MerchandiseHierarchyLevelID { get; set; } + + /// + /// <p>Name for the level within the merchandise hierarchy tree.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.LevelName<br /></p> + /// + /// <p>Name for the level within the merchandise hierarchy tree.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.LevelName<br /></p> + [DataMember(Name="levelName", EmitDefaultValue=false)] + public string LevelName { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>List of translations for description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList<br /></p> + /// + /// <p>List of translations for description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_05<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_05<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_03<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_03<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_02<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_02<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_04<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_04<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_01<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_01<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO {\n"); + sb.Append(" MerchandiseHierarchyGroupID: ").Append(MerchandiseHierarchyGroupID).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupIDQualifier: ").Append(MerchandiseHierarchyGroupIDQualifier).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" TaxGroupID: ").Append(TaxGroupID).Append("\n"); + sb.Append(" ItemSellingRuleID: ").Append(ItemSellingRuleID).Append("\n"); + sb.Append(" ItemMerchandiseManagementRuleID: ").Append(ItemMerchandiseManagementRuleID).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" MerchandiseHierarchyLevelID: ").Append(MerchandiseHierarchyLevelID).Append("\n"); + sb.Append(" LevelName: ").Append(LevelName).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO input) + { + if (input == null) + return false; + + return + ( + this.MerchandiseHierarchyGroupID == input.MerchandiseHierarchyGroupID || + (this.MerchandiseHierarchyGroupID != null && + this.MerchandiseHierarchyGroupID.Equals(input.MerchandiseHierarchyGroupID)) + ) && + ( + this.MerchandiseHierarchyGroupIDQualifier == input.MerchandiseHierarchyGroupIDQualifier || + (this.MerchandiseHierarchyGroupIDQualifier != null && + this.MerchandiseHierarchyGroupIDQualifier.Equals(input.MerchandiseHierarchyGroupIDQualifier)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.TaxGroupID == input.TaxGroupID || + (this.TaxGroupID != null && + this.TaxGroupID.Equals(input.TaxGroupID)) + ) && + ( + this.ItemSellingRuleID == input.ItemSellingRuleID || + (this.ItemSellingRuleID != null && + this.ItemSellingRuleID.Equals(input.ItemSellingRuleID)) + ) && + ( + this.ItemMerchandiseManagementRuleID == input.ItemMerchandiseManagementRuleID || + (this.ItemMerchandiseManagementRuleID != null && + this.ItemMerchandiseManagementRuleID.Equals(input.ItemMerchandiseManagementRuleID)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.MerchandiseHierarchyLevelID == input.MerchandiseHierarchyLevelID || + (this.MerchandiseHierarchyLevelID != null && + this.MerchandiseHierarchyLevelID.Equals(input.MerchandiseHierarchyLevelID)) + ) && + ( + this.LevelName == input.LevelName || + (this.LevelName != null && + this.LevelName.Equals(input.LevelName)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupID.GetHashCode(); + if (this.MerchandiseHierarchyGroupIDQualifier != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupIDQualifier.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.TaxGroupID != null) + hashCode = hashCode * 59 + this.TaxGroupID.GetHashCode(); + if (this.ItemSellingRuleID != null) + hashCode = hashCode * 59 + this.ItemSellingRuleID.GetHashCode(); + if (this.ItemMerchandiseManagementRuleID != null) + hashCode = hashCode * 59 + this.ItemMerchandiseManagementRuleID.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.MerchandiseHierarchyLevelID != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyLevelID.GetHashCode(); + if (this.LevelName != null) + hashCode = hashCode * 59 + this.LevelName.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO.cs new file mode 100644 index 0000000000000000000000000000000000000000..5483317683a9f7af8e65e05d97472f761c120028 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO.cs @@ -0,0 +1,908 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionConditionEligibilitySO <p>Promotion eligibility<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Eligibility</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Eligibility</li><br /></ul> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO : IEquatable, IValidatableObject + { + /// + /// <p>A code that indicates the type of Price Derivation Rule Eligibility.<br /> Possible types:<br /></p><br /><ul><br /> <li>'COMB' = combination</li><br /> <li>'EGRP' = employee discount group</li><br /> <li>'CGRP' = customer group</li><br /> <li>'CUST' = customer</li><br /> <li>'MSTR' = merchandise category</li><br /> <li>'ITEM' = item</li><br /> <li>'TOTL' = total purchase market basket</li><br /> <li>'COUP' = coupon</li><br /> <li>'MANU' = manual trigger</li><br /> <li>'POST' = line item type</li><br /> <li>'EXTV' = external trigger value</li><br /> <li>'APRT' = additional price type eligibility</li><br /> <li>'SITH' = simple threshold eligibility</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: filled according to filled eligibility in Promotion.Condition.Eligibility. Supported 'COMB', 'ITEM', 'MSRT', 'TOTL' only.</li><br /> <li>PromotionCPD.xml: filled according to filled eligibility in Promotion.Condition.Eligibility</li><br /></ul> + /// + /// <p>A code that indicates the type of Price Derivation Rule Eligibility.<br /> Possible types:<br /></p><br /><ul><br /> <li>'COMB' = combination</li><br /> <li>'EGRP' = employee discount group</li><br /> <li>'CGRP' = customer group</li><br /> <li>'CUST' = customer</li><br /> <li>'MSTR' = merchandise category</li><br /> <li>'ITEM' = item</li><br /> <li>'TOTL' = total purchase market basket</li><br /> <li>'COUP' = coupon</li><br /> <li>'MANU' = manual trigger</li><br /> <li>'POST' = line item type</li><br /> <li>'EXTV' = external trigger value</li><br /> <li>'APRT' = additional price type eligibility</li><br /> <li>'SITH' = simple threshold eligibility</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: filled according to filled eligibility in Promotion.Condition.Eligibility. Supported 'COMB', 'ITEM', 'MSRT', 'TOTL' only.</li><br /> <li>PromotionCPD.xml: filled according to filled eligibility in Promotion.Condition.Eligibility</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeCodeEnum + { + + /// + /// Enum COMB for value: COMB + /// + [EnumMember(Value = "COMB")] + COMB = 1, + + /// + /// Enum EGRP for value: EGRP + /// + [EnumMember(Value = "EGRP")] + EGRP = 2, + + /// + /// Enum CGRP for value: CGRP + /// + [EnumMember(Value = "CGRP")] + CGRP = 3, + + /// + /// Enum CUST for value: CUST + /// + [EnumMember(Value = "CUST")] + CUST = 4, + + /// + /// Enum MSTR for value: MSTR + /// + [EnumMember(Value = "MSTR")] + MSTR = 5, + + /// + /// Enum ITEM for value: ITEM + /// + [EnumMember(Value = "ITEM")] + ITEM = 6, + + /// + /// Enum TOTL for value: TOTL + /// + [EnumMember(Value = "TOTL")] + TOTL = 7, + + /// + /// Enum COUP for value: COUP + /// + [EnumMember(Value = "COUP")] + COUP = 8, + + /// + /// Enum MANU for value: MANU + /// + [EnumMember(Value = "MANU")] + MANU = 9, + + /// + /// Enum POST for value: POST + /// + [EnumMember(Value = "POST")] + POST = 10, + + /// + /// Enum EXTV for value: EXTV + /// + [EnumMember(Value = "EXTV")] + EXTV = 11, + + /// + /// Enum MSET for value: MSET + /// + [EnumMember(Value = "MSET")] + MSET = 12, + + /// + /// Enum APRT for value: APRT + /// + [EnumMember(Value = "APRT")] + APRT = 13, + + /// + /// Enum SITH for value: SITH + /// + [EnumMember(Value = "SITH")] + SITH = 14, + + /// + /// Enum GATR for value: GATR + /// + [EnumMember(Value = "GATR")] + GATR = 15 + } + + /// + /// <p>A code that indicates the type of Price Derivation Rule Eligibility.<br /> Possible types:<br /></p><br /><ul><br /> <li>'COMB' = combination</li><br /> <li>'EGRP' = employee discount group</li><br /> <li>'CGRP' = customer group</li><br /> <li>'CUST' = customer</li><br /> <li>'MSTR' = merchandise category</li><br /> <li>'ITEM' = item</li><br /> <li>'TOTL' = total purchase market basket</li><br /> <li>'COUP' = coupon</li><br /> <li>'MANU' = manual trigger</li><br /> <li>'POST' = line item type</li><br /> <li>'EXTV' = external trigger value</li><br /> <li>'APRT' = additional price type eligibility</li><br /> <li>'SITH' = simple threshold eligibility</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: filled according to filled eligibility in Promotion.Condition.Eligibility. Supported 'COMB', 'ITEM', 'MSRT', 'TOTL' only.</li><br /> <li>PromotionCPD.xml: filled according to filled eligibility in Promotion.Condition.Eligibility</li><br /></ul> + /// + /// <p>A code that indicates the type of Price Derivation Rule Eligibility.<br /> Possible types:<br /></p><br /><ul><br /> <li>'COMB' = combination</li><br /> <li>'EGRP' = employee discount group</li><br /> <li>'CGRP' = customer group</li><br /> <li>'CUST' = customer</li><br /> <li>'MSTR' = merchandise category</li><br /> <li>'ITEM' = item</li><br /> <li>'TOTL' = total purchase market basket</li><br /> <li>'COUP' = coupon</li><br /> <li>'MANU' = manual trigger</li><br /> <li>'POST' = line item type</li><br /> <li>'EXTV' = external trigger value</li><br /> <li>'APRT' = additional price type eligibility</li><br /> <li>'SITH' = simple threshold eligibility</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: filled according to filled eligibility in Promotion.Condition.Eligibility. Supported 'COMB', 'ITEM', 'MSRT', 'TOTL' only.</li><br /> <li>PromotionCPD.xml: filled according to filled eligibility in Promotion.Condition.Eligibility</li><br /></ul> + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public TypeCodeEnum TypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A unique identifier for the rule eligibility<br /></p><br /><p>Generated, not imported.<br /></p> (required). + /// <p>A code that indicates the type of Price Derivation Rule Eligibility.<br /> Possible types:<br /></p><br /><ul><br /> <li>'COMB' = combination</li><br /> <li>'EGRP' = employee discount group</li><br /> <li>'CGRP' = customer group</li><br /> <li>'CUST' = customer</li><br /> <li>'MSTR' = merchandise category</li><br /> <li>'ITEM' = item</li><br /> <li>'TOTL' = total purchase market basket</li><br /> <li>'COUP' = coupon</li><br /> <li>'MANU' = manual trigger</li><br /> <li>'POST' = line item type</li><br /> <li>'EXTV' = external trigger value</li><br /> <li>'APRT' = additional price type eligibility</li><br /> <li>'SITH' = simple threshold eligibility</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: filled according to filled eligibility in Promotion.Condition.Eligibility. Supported 'COMB', 'ITEM', 'MSRT', 'TOTL' only.</li><br /> <li>PromotionCPD.xml: filled according to filled eligibility in Promotion.Condition.Eligibility</li><br /></ul> (required). + /// <p>Reference to the root eligibility of the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p>. + /// <p>Reference to the parent eligibility in the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p>. + /// <p>Level in the eligibility tree the eligibility belongs to<br /></p><br /><p>Not imported.<br /></p>. + /// <p>The timestamp this eligibility becomes active<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The last date and time that this eligibility is effective<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Defines the current status for the eligibility. Examples of valid codes include: AC/null = Active, IA = Inactive<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Not imported, fix value 'AC' used.</li><br /></ul>. + /// <p>Determines whether the eligibility must be fulfilled (false) or not (true) in order that the price derivation rule can be applied<br /></p>. + /// <p>Read only flag which is returned only in case it's required by the caller from API method.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO(string internalEligibilityID = default(string), TypeCodeEnum typeCode = default(TypeCodeEnum), string rootEligibilityID = default(string), string parentEligibilityID = default(string), int? levelID = default(int?), string effectiveDateTime = default(string), string expirationDateTime = default(string), string statusCode = default(string), bool? negationFlag = default(bool?), bool? recommendationFlag = default(bool?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "internalEligibilityID" is required (not null) + if (internalEligibilityID == null) + { + throw new InvalidDataException("internalEligibilityID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO and cannot be null"); + } + else + { + this.InternalEligibilityID = internalEligibilityID; + } + // to ensure "typeCode" is required (not null) + if (typeCode == null) + { + throw new InvalidDataException("typeCode is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO and cannot be null"); + } + else + { + this.TypeCode = typeCode; + } + this.RootEligibilityID = rootEligibilityID; + this.ParentEligibilityID = parentEligibilityID; + this.LevelID = levelID; + this.EffectiveDateTime = effectiveDateTime; + this.ExpirationDateTime = expirationDateTime; + this.StatusCode = statusCode; + this.NegationFlag = negationFlag; + this.RecommendationFlag = recommendationFlag; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>A unique identifier for the rule eligibility<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>A unique identifier for the rule eligibility<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="internalEligibilityID", EmitDefaultValue=false)] + public string InternalEligibilityID { get; set; } + + + /// + /// <p>Reference to the root eligibility of the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Reference to the root eligibility of the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + [DataMember(Name="rootEligibilityID", EmitDefaultValue=false)] + public string RootEligibilityID { get; set; } + + /// + /// <p>Reference to the parent eligibility in the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Reference to the parent eligibility in the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + [DataMember(Name="parentEligibilityID", EmitDefaultValue=false)] + public string ParentEligibilityID { get; set; } + + /// + /// <p>Level in the eligibility tree the eligibility belongs to<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Level in the eligibility tree the eligibility belongs to<br /></p><br /><p>Not imported.<br /></p> + [DataMember(Name="levelID", EmitDefaultValue=false)] + public int? LevelID { get; set; } + + /// + /// <p>The timestamp this eligibility becomes active<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The timestamp this eligibility becomes active<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="effectiveDateTime", EmitDefaultValue=false)] + public string EffectiveDateTime { get; set; } + + /// + /// <p>The last date and time that this eligibility is effective<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The last date and time that this eligibility is effective<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationDateTime", EmitDefaultValue=false)] + public string ExpirationDateTime { get; set; } + + /// + /// <p>Defines the current status for the eligibility. Examples of valid codes include: AC/null = Active, IA = Inactive<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Not imported, fix value 'AC' used.</li><br /></ul> + /// + /// <p>Defines the current status for the eligibility. Examples of valid codes include: AC/null = Active, IA = Inactive<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Not imported, fix value 'AC' used.</li><br /></ul> + [DataMember(Name="statusCode", EmitDefaultValue=false)] + public string StatusCode { get; set; } + + /// + /// <p>Determines whether the eligibility must be fulfilled (false) or not (true) in order that the price derivation rule can be applied<br /></p> + /// + /// <p>Determines whether the eligibility must be fulfilled (false) or not (true) in order that the price derivation rule can be applied<br /></p> + [DataMember(Name="negationFlag", EmitDefaultValue=false)] + public bool? NegationFlag { get; set; } + + /// + /// <p>Read only flag which is returned only in case it's required by the caller from API method.<br /></p> + /// + /// <p>Read only flag which is returned only in case it's required by the caller from API method.<br /></p> + [DataMember(Name="recommendationFlag", EmitDefaultValue=false)] + public bool? RecommendationFlag { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO {\n"); + sb.Append(" InternalEligibilityID: ").Append(InternalEligibilityID).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" RootEligibilityID: ").Append(RootEligibilityID).Append("\n"); + sb.Append(" ParentEligibilityID: ").Append(ParentEligibilityID).Append("\n"); + sb.Append(" LevelID: ").Append(LevelID).Append("\n"); + sb.Append(" EffectiveDateTime: ").Append(EffectiveDateTime).Append("\n"); + sb.Append(" ExpirationDateTime: ").Append(ExpirationDateTime).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" NegationFlag: ").Append(NegationFlag).Append("\n"); + sb.Append(" RecommendationFlag: ").Append(RecommendationFlag).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO input) + { + if (input == null) + return false; + + return + ( + this.InternalEligibilityID == input.InternalEligibilityID || + (this.InternalEligibilityID != null && + this.InternalEligibilityID.Equals(input.InternalEligibilityID)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.RootEligibilityID == input.RootEligibilityID || + (this.RootEligibilityID != null && + this.RootEligibilityID.Equals(input.RootEligibilityID)) + ) && + ( + this.ParentEligibilityID == input.ParentEligibilityID || + (this.ParentEligibilityID != null && + this.ParentEligibilityID.Equals(input.ParentEligibilityID)) + ) && + ( + this.LevelID == input.LevelID || + (this.LevelID != null && + this.LevelID.Equals(input.LevelID)) + ) && + ( + this.EffectiveDateTime == input.EffectiveDateTime || + (this.EffectiveDateTime != null && + this.EffectiveDateTime.Equals(input.EffectiveDateTime)) + ) && + ( + this.ExpirationDateTime == input.ExpirationDateTime || + (this.ExpirationDateTime != null && + this.ExpirationDateTime.Equals(input.ExpirationDateTime)) + ) && + ( + this.StatusCode == input.StatusCode || + (this.StatusCode != null && + this.StatusCode.Equals(input.StatusCode)) + ) && + ( + this.NegationFlag == input.NegationFlag || + (this.NegationFlag != null && + this.NegationFlag.Equals(input.NegationFlag)) + ) && + ( + this.RecommendationFlag == input.RecommendationFlag || + (this.RecommendationFlag != null && + this.RecommendationFlag.Equals(input.RecommendationFlag)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.InternalEligibilityID != null) + hashCode = hashCode * 59 + this.InternalEligibilityID.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.RootEligibilityID != null) + hashCode = hashCode * 59 + this.RootEligibilityID.GetHashCode(); + if (this.ParentEligibilityID != null) + hashCode = hashCode * 59 + this.ParentEligibilityID.GetHashCode(); + if (this.LevelID != null) + hashCode = hashCode * 59 + this.LevelID.GetHashCode(); + if (this.EffectiveDateTime != null) + hashCode = hashCode * 59 + this.EffectiveDateTime.GetHashCode(); + if (this.ExpirationDateTime != null) + hashCode = hashCode * 59 + this.ExpirationDateTime.GetHashCode(); + if (this.StatusCode != null) + hashCode = hashCode * 59 + this.StatusCode.GetHashCode(); + if (this.NegationFlag != null) + hashCode = hashCode * 59 + this.NegationFlag.GetHashCode(); + if (this.RecommendationFlag != null) + hashCode = hashCode * 59 + this.RecommendationFlag.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..1c3814a98ef32829b8f8577b9a9f30b21b2e6d6b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO.cs @@ -0,0 +1,1454 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionConditionRuleSO <p>Promotion condition rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule</li><br /></ul> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO : IEquatable, IValidatableObject + { + /// + /// <p>This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME).<br /></p><br /><ul><br /> <li>line item discount, calculated after each line item („PO“)</li><br /> <li>line item discount, calculated after subtotal (“PC”)</li><br /> <li>transaction discount, calculated after each line item (“SP”)</li><br /> <li>transaction discount, calculated after subtotal („SU“)</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /></ul> + /// + /// <p>This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME).<br /></p><br /><ul><br /> <li>line item discount, calculated after each line item („PO“)</li><br /> <li>line item discount, calculated after subtotal (“PC”)</li><br /> <li>transaction discount, calculated after each line item (“SP”)</li><br /> <li>transaction discount, calculated after subtotal („SU“)</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum TransactionControlBreakCodeEnum + { + + /// + /// Enum PO for value: PO + /// + [EnumMember(Value = "PO")] + PO = 1, + + /// + /// Enum SU for value: SU + /// + [EnumMember(Value = "SU")] + SU = 2, + + /// + /// Enum SP for value: SP + /// + [EnumMember(Value = "SP")] + SP = 3, + + /// + /// Enum PC for value: PC + /// + [EnumMember(Value = "PC")] + PC = 4 + } + + /// + /// <p>This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME).<br /></p><br /><ul><br /> <li>line item discount, calculated after each line item („PO“)</li><br /> <li>line item discount, calculated after subtotal (“PC”)</li><br /> <li>transaction discount, calculated after each line item (“SP”)</li><br /> <li>transaction discount, calculated after subtotal („SU“)</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /></ul> + /// + /// <p>This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME).<br /></p><br /><ul><br /> <li>line item discount, calculated after each line item („PO“)</li><br /> <li>line item discount, calculated after subtotal (“PC”)</li><br /> <li>transaction discount, calculated after each line item (“SP”)</li><br /> <li>transaction discount, calculated after subtotal („SU“)</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /></ul> + [DataMember(Name="transactionControlBreakCode", EmitDefaultValue=false)] + public TransactionControlBreakCodeEnum? TransactionControlBreakCode { get; set; } + /// + /// <p>Defines the type of price derivation rule.<br /></p><br /><ul><br /> <li>RB = simple rebate</li><br /> <li>MM = Mix &amp; Match</li><br /> <li>GP = Get3Pay2</li><br /> <li>NO = no rebate</li><br /> <li>MA = manual, the discount information is set by POS function</li><br /> <li>EX = external action</li><br /> <li>AP = additional price type rule</li><br /> <li>AB = additional bonus</li><br /></ul><br /><p>Import:<br /> The value is filled according to the used rule type from Promotion.Condition.Rule.<br /></p> + /// + /// <p>Defines the type of price derivation rule.<br /></p><br /><ul><br /> <li>RB = simple rebate</li><br /> <li>MM = Mix &amp; Match</li><br /> <li>GP = Get3Pay2</li><br /> <li>NO = no rebate</li><br /> <li>MA = manual, the discount information is set by POS function</li><br /> <li>EX = external action</li><br /> <li>AP = additional price type rule</li><br /> <li>AB = additional bonus</li><br /></ul><br /><p>Import:<br /> The value is filled according to the used rule type from Promotion.Condition.Rule.<br /></p> + [JsonConverter(typeof(StringEnumConverter))] + public enum TypeCodeEnum + { + + /// + /// Enum RB for value: RB + /// + [EnumMember(Value = "RB")] + RB = 1, + + /// + /// Enum MM for value: MM + /// + [EnumMember(Value = "MM")] + MM = 2, + + /// + /// Enum NO for value: NO + /// + [EnumMember(Value = "NO")] + NO = 3, + + /// + /// Enum GP for value: GP + /// + [EnumMember(Value = "GP")] + GP = 4, + + /// + /// Enum MA for value: MA + /// + [EnumMember(Value = "MA")] + MA = 5, + + /// + /// Enum EX for value: EX + /// + [EnumMember(Value = "EX")] + EX = 6, + + /// + /// Enum AP for value: AP + /// + [EnumMember(Value = "AP")] + AP = 7, + + /// + /// Enum AB for value: AB + /// + [EnumMember(Value = "AB")] + AB = 8 + } + + /// + /// <p>Defines the type of price derivation rule.<br /></p><br /><ul><br /> <li>RB = simple rebate</li><br /> <li>MM = Mix &amp; Match</li><br /> <li>GP = Get3Pay2</li><br /> <li>NO = no rebate</li><br /> <li>MA = manual, the discount information is set by POS function</li><br /> <li>EX = external action</li><br /> <li>AP = additional price type rule</li><br /> <li>AB = additional bonus</li><br /></ul><br /><p>Import:<br /> The value is filled according to the used rule type from Promotion.Condition.Rule.<br /></p> + /// + /// <p>Defines the type of price derivation rule.<br /></p><br /><ul><br /> <li>RB = simple rebate</li><br /> <li>MM = Mix &amp; Match</li><br /> <li>GP = Get3Pay2</li><br /> <li>NO = no rebate</li><br /> <li>MA = manual, the discount information is set by POS function</li><br /> <li>EX = external action</li><br /> <li>AP = additional price type rule</li><br /> <li>AB = additional bonus</li><br /></ul><br /><p>Import:<br /> The value is filled according to the used rule type from Promotion.Condition.Rule.<br /></p> + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public TypeCodeEnum TypeCode { get; set; } + /// + /// <p>Determines how the calculated reduction amount is to be rounded;<br /></p><br /><ul><br /> <li>null/00 = commercial rounding</li><br /> <li>01 = down</li><br /> <li>02 = up</li><br /></ul> + /// + /// <p>Determines how the calculated reduction amount is to be rounded;<br /></p><br /><ul><br /> <li>null/00 = commercial rounding</li><br /> <li>01 = down</li><br /> <li>02 = up</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum RoundingMethodCodeEnum + { + + /// + /// Enum COMMERCIALROUNDING for value: COMMERCIAL_ROUNDING + /// + [EnumMember(Value = "COMMERCIAL_ROUNDING")] + COMMERCIALROUNDING = 1, + + /// + /// Enum DOWN for value: DOWN + /// + [EnumMember(Value = "DOWN")] + DOWN = 2, + + /// + /// Enum UP for value: UP + /// + [EnumMember(Value = "UP")] + UP = 3 + } + + /// + /// <p>Determines how the calculated reduction amount is to be rounded;<br /></p><br /><ul><br /> <li>null/00 = commercial rounding</li><br /> <li>01 = down</li><br /> <li>02 = up</li><br /></ul> + /// + /// <p>Determines how the calculated reduction amount is to be rounded;<br /></p><br /><ul><br /> <li>null/00 = commercial rounding</li><br /> <li>01 = down</li><br /> <li>02 = up</li><br /></ul> + [DataMember(Name="roundingMethodCode", EmitDefaultValue=false)] + public RoundingMethodCodeEnum? RoundingMethodCode { get; set; } + /// + /// <p>Determines, in which sequence items get rebate:<br /></p><br /><ul><br /> <li>null = determined by the corresponding property of the loyalty engine</li><br /> <li>01 = lowest rebate first</li><br /> <li>02 = highest rebate first</li><br /> <li>03 = lowest rebate first per interval</li><br /> <li>04 = highest rebate first per interval</li><br /> <li>00 = determined by the Promotion Calculation Engine</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ChooseItemMethod</li><br /></ul> + /// + /// <p>Determines, in which sequence items get rebate:<br /></p><br /><ul><br /> <li>null = determined by the corresponding property of the loyalty engine</li><br /> <li>01 = lowest rebate first</li><br /> <li>02 = highest rebate first</li><br /> <li>03 = lowest rebate first per interval</li><br /> <li>04 = highest rebate first per interval</li><br /> <li>00 = determined by the Promotion Calculation Engine</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ChooseItemMethod</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum ChooseItemMethodEnum + { + + /// + /// Enum LOWESTFIRST for value: LOWEST_FIRST + /// + [EnumMember(Value = "LOWEST_FIRST")] + LOWESTFIRST = 1, + + /// + /// Enum HIGHESTFIRST for value: HIGHEST_FIRST + /// + [EnumMember(Value = "HIGHEST_FIRST")] + HIGHESTFIRST = 2, + + /// + /// Enum LOWESTFIRSTINT for value: LOWEST_FIRST_INT + /// + [EnumMember(Value = "LOWEST_FIRST_INT")] + LOWESTFIRSTINT = 3, + + /// + /// Enum HIGHESTFIRSTINT for value: HIGHEST_FIRST_INT + /// + [EnumMember(Value = "HIGHEST_FIRST_INT")] + HIGHESTFIRSTINT = 4, + + /// + /// Enum DETERMINEDBYPCE for value: DETERMINED_BY_PCE + /// + [EnumMember(Value = "DETERMINED_BY_PCE")] + DETERMINEDBYPCE = 5 + } + + /// + /// <p>Determines, in which sequence items get rebate:<br /></p><br /><ul><br /> <li>null = determined by the corresponding property of the loyalty engine</li><br /> <li>01 = lowest rebate first</li><br /> <li>02 = highest rebate first</li><br /> <li>03 = lowest rebate first per interval</li><br /> <li>04 = highest rebate first per interval</li><br /> <li>00 = determined by the Promotion Calculation Engine</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ChooseItemMethod</li><br /></ul> + /// + /// <p>Determines, in which sequence items get rebate:<br /></p><br /><ul><br /> <li>null = determined by the corresponding property of the loyalty engine</li><br /> <li>01 = lowest rebate first</li><br /> <li>02 = highest rebate first</li><br /> <li>03 = lowest rebate first per interval</li><br /> <li>04 = highest rebate first per interval</li><br /> <li>00 = determined by the Promotion Calculation Engine</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ChooseItemMethod</li><br /></ul> + [DataMember(Name="chooseItemMethod", EmitDefaultValue=false)] + public ChooseItemMethodEnum? ChooseItemMethod { get; set; } + /// + /// <p>Base of the calculation:<br /></p><br /><ul><br /> <li>00/null: is determined by the eligibilities</li><br /> <li>01: sum of sales - sum of returns</li><br /></ul> + /// + /// <p>Base of the calculation:<br /></p><br /><ul><br /> <li>00/null: is determined by the eligibilities</li><br /> <li>01: sum of sales - sum of returns</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum CalculationBaseEnum + { + + /// + /// Enum _00 for value: CALCBASE_00 + /// + [EnumMember(Value = "CALCBASE_00")] + _00 = 1, + + /// + /// Enum _01 for value: CALCBASE_01 + /// + [EnumMember(Value = "CALCBASE_01")] + _01 = 2 + } + + /// + /// <p>Base of the calculation:<br /></p><br /><ul><br /> <li>00/null: is determined by the eligibilities</li><br /> <li>01: sum of sales - sum of returns</li><br /></ul> + /// + /// <p>Base of the calculation:<br /></p><br /><ul><br /> <li>00/null: is determined by the eligibilities</li><br /> <li>01: sum of sales - sum of returns</li><br /></ul> + [DataMember(Name="calculationBase", EmitDefaultValue=false)] + public CalculationBaseEnum? CalculationBase { get; set; } + /// + /// <p>Type code of the printout rule<br /></p><br /><ul><br /> <li>null/00 = separate receipt</li><br /> <li>01 = print at the end of the receipt</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutRule</li><br /></ul> + /// + /// <p>Type code of the printout rule<br /></p><br /><ul><br /> <li>null/00 = separate receipt</li><br /> <li>01 = print at the end of the receipt</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutRule</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum CouponPrintoutRuleEnum + { + + /// + /// Enum SEPARATERECEIPT for value: SEPARATE_RECEIPT + /// + [EnumMember(Value = "SEPARATE_RECEIPT")] + SEPARATERECEIPT = 1, + + /// + /// Enum PRINTATEND for value: PRINT_AT_END + /// + [EnumMember(Value = "PRINT_AT_END")] + PRINTATEND = 2 + } + + /// + /// <p>Type code of the printout rule<br /></p><br /><ul><br /> <li>null/00 = separate receipt</li><br /> <li>01 = print at the end of the receipt</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutRule</li><br /></ul> + /// + /// <p>Type code of the printout rule<br /></p><br /><ul><br /> <li>null/00 = separate receipt</li><br /> <li>01 = print at the end of the receipt</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutRule</li><br /></ul> + [DataMember(Name="couponPrintoutRule", EmitDefaultValue=false)] + public CouponPrintoutRuleEnum? CouponPrintoutRule { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> (required). + /// <p>Price derivation rule name<br /></p><br /><p>Not imported.<br /></p>. + /// <p>Business description for this price derivation rule.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: from Promotion.Condition.Rule.GlobalData.RuleTranslationList or from Promotion.Condition.Rule.GlobalData.Description</li><br /></ul>. + /// <p>This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME).<br /></p><br /><ul><br /> <li>line item discount, calculated after each line item („PO“)</li><br /> <li>line item discount, calculated after subtotal (“PC”)</li><br /> <li>transaction discount, calculated after each line item (“SP”)</li><br /> <li>transaction discount, calculated after subtotal („SU“)</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /></ul>. + /// <p>Defines the current status for the price derivation rule. Examples of valid codes include: Pending, Active, Canceled, Inactive<br /></p><br /><ul><br /> <li>PD = pending</li><br /> <li>AC/null = active</li><br /> <li>CN = cancelled</li><br /> <li>IA = inactive</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: 'AC'</li><br /></ul>. + /// <p>Defines the type of price derivation rule.<br /></p><br /><ul><br /> <li>RB = simple rebate</li><br /> <li>MM = Mix &amp; Match</li><br /> <li>GP = Get3Pay2</li><br /> <li>NO = no rebate</li><br /> <li>MA = manual, the discount information is set by POS function</li><br /> <li>EX = external action</li><br /> <li>AP = additional price type rule</li><br /> <li>AB = additional bonus</li><br /></ul><br /><p>Import:<br /> The value is filled according to the used rule type from Promotion.Condition.Rule.<br /></p> (required). + /// <p>External ident of the price derivation rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ID</li><br /></ul>. + /// <p>Determines whether rebate or bonus points are awarded by the rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: true if Promotion.Condition.Rule.BonusPoints is chosen</li><br /></ul> (required). + /// <p>Determines how the calculated reduction amount is to be rounded;<br /></p><br /><ul><br /> <li>null/00 = commercial rounding</li><br /> <li>01 = down</li><br /> <li>02 = up</li><br /></ul>. + /// <p>Requested number of decimal places of the calculated reduction amount;<br /></p><br /><ul><br /> <li>null = 2 decimal places</li><br /> <li>value = the calculated reduction amount is to be rounded/truncated because it should contain only the given number of decimal places</li><br /></ul> (required). + /// <p>Additional information for rounding,<br /> possible values:<br /></p><br /><ul><br /> <li>null/1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> (required). + /// <p>Determines how the rebate influences the transaction:<br /></p><br /><ul><br /> <li>00/null: the rebate reduces the transaction total</li><br /> <li>01: the rebate does not influence the transaction total or the amout the customer has to pay, but the customer gets a gift certificate about the rebate amount which he can use for payment the next time</li><br /> <li>02: the rebate is used as tender for the current transaction, i.e. it reduces the amount the customer still has to pay</li><br /> <li>03: the rebate reduces the transaction total but it will be counterbalanced by some gift certificate sale.</li><br /> <li>04: a coupon will be given to the customer instead of a rebate. Transaction total will not be reduced.</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml:<br /> <ul><br /> <li>00 - if Promotion.Condition.Rule.GlobalData.RebateMethod.NormalRebate is filled</li><br /> <li>01 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = false</li><br /> <li>02 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsTender is filled</li><br /> <li>03 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = true</li><br /> <li>04 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon is filled</li><br /> </ul><br /> </li><br /></ul>. + /// <p>End of the date range in which the gift certificate is valid<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.GiftCertExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.RebateMethod.RebateAsTender.TenderTypeCode</li><br /></ul>. + /// <p>Determines whether applying this condition influences the calculation base of subsequent transaction-related conditionens (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ProhibitsBonRelatedConditionFlag</li><br /></ul> (required). + /// <p>Determines, in which sequence items get rebate:<br /></p><br /><ul><br /> <li>null = determined by the corresponding property of the loyalty engine</li><br /> <li>01 = lowest rebate first</li><br /> <li>02 = highest rebate first</li><br /> <li>03 = lowest rebate first per interval</li><br /> <li>04 = highest rebate first per interval</li><br /> <li>00 = determined by the Promotion Calculation Engine</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ChooseItemMethod</li><br /></ul>. + /// <p>Determines whether applying this condition influences the calculation base of subsequent conditions (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.NoInfluenceOnSubsequentConditionFlag</li><br /></ul>. + /// <p>Base of the calculation:<br /></p><br /><ul><br /> <li>00/null: is determined by the eligibilities</li><br /> <li>01: sum of sales - sum of returns</li><br /></ul>. + /// <p>number of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutID</li><br /></ul>. + /// <p>Type code of the printout rule<br /></p><br /><ul><br /> <li>null/00 = separate receipt</li><br /> <li>01 = print at the end of the receipt</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutRule</li><br /></ul>. + /// <p>Formated Text of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutText</li><br /></ul>. + /// <p>Indicates whether all conditions are to be considered which were applied before (true) or not (false).<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ConsiderAllPreviousConditionsFlag</li><br /></ul> (required). + /// <p>Validity period for printout coupons or gift certificates<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.PrintoutValidityPeriod or Promotion.Condition.Rule.RebateMethod.RebateAsCoupon.PrintoutValidityPeriod</li><br /></ul>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>List of translations<br /></p>. + /// <p>External ID of the condition rule (filled with PromotionConditionID)<br /></p>. + /// <p>Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:<br /> - In case that no price derivation rules were applied before, it is the original price/total.<br /> - Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest.<br /> - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence &lt;= CalculationBaseSequence (or the original price if no such price derivation rule was applied).<br /></p>. + /// <p>The system-generated identifier of the rounding rule which applies for discounts/bonus points counts resulting from applying the price derivation rule<br /></p>. + /// <p>The system-generated identifier of the rounding rule which applies for shares resulting from prorating basket-related discounts or bonus points resulting from applying the price derivation rule<br /></p>. + /// <p>The system-generated identifier of the rounding rule applies for monetary equivalents to bonus points counts resulting from applying the price derivation rule<br /></p>. + /// <p>Determines whether the price derivation rule is applicable in general (false) or only in the case that no other monetary discounts were granted before (true).<br /></p> (required). + /// <p>This flag decides whether a promotion price derivation rule or a particular price is allowed to increase the price in comparison to the latest calculated discount sales price.<br /></p><br /><p>Possible values:<br /></p><br /><ul><br /> <li>true: price increase is allowed. In this case, the promotion price derivation rule is applied even though the item costs afterwards more than before.</li><br /> <li>false: price increase is not allowed. In this case, the promotion price derivation rule is not applied without any thrown business error or indicator why.</li><br /></ul> (required). + /// <p>For measured items (e.g. pre-packed weighed items), the package limit quantity limits the maximum package count that can receive a benefit. A price derivation rule containing a package limit quantity being not null and greater than zero can be applied to measured items only, but not to piece items.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO(string internalRuleID = default(string), string name = default(string), string description = default(string), TransactionControlBreakCodeEnum? transactionControlBreakCode = default(TransactionControlBreakCodeEnum?), string statusCode = default(string), TypeCodeEnum typeCode = default(TypeCodeEnum), string ruleID = default(string), bool? bonusPointsFlag = default(bool?), RoundingMethodCodeEnum? roundingMethodCode = default(RoundingMethodCodeEnum?), int? decimalPlacesCount = default(int?), int? roundDestinationValue = default(int?), string discountMethodCode = default(string), string giftCertificateExpirationDate = default(string), string tenderTypeCode = default(string), bool? prohibitTransactionRelatedPromotionConditionFlag = default(bool?), ChooseItemMethodEnum? chooseItemMethod = default(ChooseItemMethodEnum?), bool? noEffectOnSubsequentPromotionConditionFlag = default(bool?), CalculationBaseEnum? calculationBase = default(CalculationBaseEnum?), string couponPrintoutID = default(string), CouponPrintoutRuleEnum? couponPrintoutRule = default(CouponPrintoutRuleEnum?), Object couponPrintoutText = default(Object), bool? considerPreviousPromotionConditionFlag = default(bool?), double? printoutValidityPeriod = default(double?), string tid = default(string), List promotionConditionRuleTranslationList = default(List), string externalConditionRuleID = default(string), string calculationBaseSequence = default(string), string roundingRuleID = default(string), string shareRoundingRuleID = default(string), string pointsAmountRoundingRuleID = default(string), bool? noPreviousMonetaryDiscountAllowedFlag = default(bool?), bool? increasePriceAllowedFlag = default(bool?), int? packageLimitQuantity = default(int?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "internalRuleID" is required (not null) + if (internalRuleID == null) + { + throw new InvalidDataException("internalRuleID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.InternalRuleID = internalRuleID; + } + // to ensure "typeCode" is required (not null) + if (typeCode == null) + { + throw new InvalidDataException("typeCode is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.TypeCode = typeCode; + } + // to ensure "bonusPointsFlag" is required (not null) + if (bonusPointsFlag == null) + { + throw new InvalidDataException("bonusPointsFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.BonusPointsFlag = bonusPointsFlag; + } + // to ensure "decimalPlacesCount" is required (not null) + if (decimalPlacesCount == null) + { + throw new InvalidDataException("decimalPlacesCount is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.DecimalPlacesCount = decimalPlacesCount; + } + // to ensure "roundDestinationValue" is required (not null) + if (roundDestinationValue == null) + { + throw new InvalidDataException("roundDestinationValue is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.RoundDestinationValue = roundDestinationValue; + } + // to ensure "prohibitTransactionRelatedPromotionConditionFlag" is required (not null) + if (prohibitTransactionRelatedPromotionConditionFlag == null) + { + throw new InvalidDataException("prohibitTransactionRelatedPromotionConditionFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.ProhibitTransactionRelatedPromotionConditionFlag = prohibitTransactionRelatedPromotionConditionFlag; + } + // to ensure "considerPreviousPromotionConditionFlag" is required (not null) + if (considerPreviousPromotionConditionFlag == null) + { + throw new InvalidDataException("considerPreviousPromotionConditionFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.ConsiderPreviousPromotionConditionFlag = considerPreviousPromotionConditionFlag; + } + // to ensure "noPreviousMonetaryDiscountAllowedFlag" is required (not null) + if (noPreviousMonetaryDiscountAllowedFlag == null) + { + throw new InvalidDataException("noPreviousMonetaryDiscountAllowedFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.NoPreviousMonetaryDiscountAllowedFlag = noPreviousMonetaryDiscountAllowedFlag; + } + // to ensure "increasePriceAllowedFlag" is required (not null) + if (increasePriceAllowedFlag == null) + { + throw new InvalidDataException("increasePriceAllowedFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO and cannot be null"); + } + else + { + this.IncreasePriceAllowedFlag = increasePriceAllowedFlag; + } + this.Name = name; + this.Description = description; + this.TransactionControlBreakCode = transactionControlBreakCode; + this.StatusCode = statusCode; + this.RuleID = ruleID; + this.RoundingMethodCode = roundingMethodCode; + this.DiscountMethodCode = discountMethodCode; + this.GiftCertificateExpirationDate = giftCertificateExpirationDate; + this.TenderTypeCode = tenderTypeCode; + this.ChooseItemMethod = chooseItemMethod; + this.NoEffectOnSubsequentPromotionConditionFlag = noEffectOnSubsequentPromotionConditionFlag; + this.CalculationBase = calculationBase; + this.CouponPrintoutID = couponPrintoutID; + this.CouponPrintoutRule = couponPrintoutRule; + this.CouponPrintoutText = couponPrintoutText; + this.PrintoutValidityPeriod = printoutValidityPeriod; + this.Tid = tid; + this.PromotionConditionRuleTranslationList = promotionConditionRuleTranslationList; + this.ExternalConditionRuleID = externalConditionRuleID; + this.CalculationBaseSequence = calculationBaseSequence; + this.RoundingRuleID = roundingRuleID; + this.ShareRoundingRuleID = shareRoundingRuleID; + this.PointsAmountRoundingRuleID = pointsAmountRoundingRuleID; + this.PackageLimitQuantity = packageLimitQuantity; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="internalRuleID", EmitDefaultValue=false)] + public string InternalRuleID { get; set; } + + /// + /// <p>Price derivation rule name<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Price derivation rule name<br /></p><br /><p>Not imported.<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Business description for this price derivation rule.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: from Promotion.Condition.Rule.GlobalData.RuleTranslationList or from Promotion.Condition.Rule.GlobalData.Description</li><br /></ul> + /// + /// <p>Business description for this price derivation rule.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: from Promotion.Condition.Rule.GlobalData.RuleTranslationList or from Promotion.Condition.Rule.GlobalData.Description</li><br /></ul> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + + /// + /// <p>Defines the current status for the price derivation rule. Examples of valid codes include: Pending, Active, Canceled, Inactive<br /></p><br /><ul><br /> <li>PD = pending</li><br /> <li>AC/null = active</li><br /> <li>CN = cancelled</li><br /> <li>IA = inactive</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: 'AC'</li><br /></ul> + /// + /// <p>Defines the current status for the price derivation rule. Examples of valid codes include: Pending, Active, Canceled, Inactive<br /></p><br /><ul><br /> <li>PD = pending</li><br /> <li>AC/null = active</li><br /> <li>CN = cancelled</li><br /> <li>IA = inactive</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: 'AC'</li><br /></ul> + [DataMember(Name="statusCode", EmitDefaultValue=false)] + public string StatusCode { get; set; } + + + /// + /// <p>External ident of the price derivation rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ID</li><br /></ul> + /// + /// <p>External ident of the price derivation rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ID</li><br /></ul> + [DataMember(Name="ruleID", EmitDefaultValue=false)] + public string RuleID { get; set; } + + /// + /// <p>Determines whether rebate or bonus points are awarded by the rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: true if Promotion.Condition.Rule.BonusPoints is chosen</li><br /></ul> + /// + /// <p>Determines whether rebate or bonus points are awarded by the rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: true if Promotion.Condition.Rule.BonusPoints is chosen</li><br /></ul> + [DataMember(Name="bonusPointsFlag", EmitDefaultValue=false)] + public bool? BonusPointsFlag { get; set; } + + + /// + /// <p>Requested number of decimal places of the calculated reduction amount;<br /></p><br /><ul><br /> <li>null = 2 decimal places</li><br /> <li>value = the calculated reduction amount is to be rounded/truncated because it should contain only the given number of decimal places</li><br /></ul> + /// + /// <p>Requested number of decimal places of the calculated reduction amount;<br /></p><br /><ul><br /> <li>null = 2 decimal places</li><br /> <li>value = the calculated reduction amount is to be rounded/truncated because it should contain only the given number of decimal places</li><br /></ul> + [DataMember(Name="decimalPlacesCount", EmitDefaultValue=false)] + public int? DecimalPlacesCount { get; set; } + + /// + /// <p>Additional information for rounding,<br /> possible values:<br /></p><br /><ul><br /> <li>null/1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + /// + /// <p>Additional information for rounding,<br /> possible values:<br /></p><br /><ul><br /> <li>null/1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + [DataMember(Name="roundDestinationValue", EmitDefaultValue=false)] + public int? RoundDestinationValue { get; set; } + + /// + /// <p>Determines how the rebate influences the transaction:<br /></p><br /><ul><br /> <li>00/null: the rebate reduces the transaction total</li><br /> <li>01: the rebate does not influence the transaction total or the amout the customer has to pay, but the customer gets a gift certificate about the rebate amount which he can use for payment the next time</li><br /> <li>02: the rebate is used as tender for the current transaction, i.e. it reduces the amount the customer still has to pay</li><br /> <li>03: the rebate reduces the transaction total but it will be counterbalanced by some gift certificate sale.</li><br /> <li>04: a coupon will be given to the customer instead of a rebate. Transaction total will not be reduced.</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml:<br /> <ul><br /> <li>00 - if Promotion.Condition.Rule.GlobalData.RebateMethod.NormalRebate is filled</li><br /> <li>01 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = false</li><br /> <li>02 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsTender is filled</li><br /> <li>03 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = true</li><br /> <li>04 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon is filled</li><br /> </ul><br /> </li><br /></ul> + /// + /// <p>Determines how the rebate influences the transaction:<br /></p><br /><ul><br /> <li>00/null: the rebate reduces the transaction total</li><br /> <li>01: the rebate does not influence the transaction total or the amout the customer has to pay, but the customer gets a gift certificate about the rebate amount which he can use for payment the next time</li><br /> <li>02: the rebate is used as tender for the current transaction, i.e. it reduces the amount the customer still has to pay</li><br /> <li>03: the rebate reduces the transaction total but it will be counterbalanced by some gift certificate sale.</li><br /> <li>04: a coupon will be given to the customer instead of a rebate. Transaction total will not be reduced.</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml:<br /> <ul><br /> <li>00 - if Promotion.Condition.Rule.GlobalData.RebateMethod.NormalRebate is filled</li><br /> <li>01 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = false</li><br /> <li>02 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsTender is filled</li><br /> <li>03 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = true</li><br /> <li>04 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon is filled</li><br /> </ul><br /> </li><br /></ul> + [DataMember(Name="discountMethodCode", EmitDefaultValue=false)] + public string DiscountMethodCode { get; set; } + + /// + /// <p>End of the date range in which the gift certificate is valid<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.GiftCertExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of the date range in which the gift certificate is valid<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.GiftCertExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="giftCertificateExpirationDate", EmitDefaultValue=false)] + public string GiftCertificateExpirationDate { get; set; } + + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.RebateMethod.RebateAsTender.TenderTypeCode</li><br /></ul> + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.RebateMethod.RebateAsTender.TenderTypeCode</li><br /></ul> + [DataMember(Name="tenderTypeCode", EmitDefaultValue=false)] + public string TenderTypeCode { get; set; } + + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent transaction-related conditionens (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ProhibitsBonRelatedConditionFlag</li><br /></ul> + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent transaction-related conditionens (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ProhibitsBonRelatedConditionFlag</li><br /></ul> + [DataMember(Name="prohibitTransactionRelatedPromotionConditionFlag", EmitDefaultValue=false)] + public bool? ProhibitTransactionRelatedPromotionConditionFlag { get; set; } + + + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent conditions (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.NoInfluenceOnSubsequentConditionFlag</li><br /></ul> + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent conditions (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.NoInfluenceOnSubsequentConditionFlag</li><br /></ul> + [DataMember(Name="noEffectOnSubsequentPromotionConditionFlag", EmitDefaultValue=false)] + public bool? NoEffectOnSubsequentPromotionConditionFlag { get; set; } + + + /// + /// <p>number of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutID</li><br /></ul> + /// + /// <p>number of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutID</li><br /></ul> + [DataMember(Name="couponPrintoutID", EmitDefaultValue=false)] + public string CouponPrintoutID { get; set; } + + + /// + /// <p>Formated Text of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutText</li><br /></ul> + /// + /// <p>Formated Text of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutText</li><br /></ul> + [DataMember(Name="couponPrintoutText", EmitDefaultValue=false)] + public Object CouponPrintoutText { get; set; } + + /// + /// <p>Indicates whether all conditions are to be considered which were applied before (true) or not (false).<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ConsiderAllPreviousConditionsFlag</li><br /></ul> + /// + /// <p>Indicates whether all conditions are to be considered which were applied before (true) or not (false).<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ConsiderAllPreviousConditionsFlag</li><br /></ul> + [DataMember(Name="considerPreviousPromotionConditionFlag", EmitDefaultValue=false)] + public bool? ConsiderPreviousPromotionConditionFlag { get; set; } + + /// + /// <p>Validity period for printout coupons or gift certificates<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.PrintoutValidityPeriod or Promotion.Condition.Rule.RebateMethod.RebateAsCoupon.PrintoutValidityPeriod</li><br /></ul> + /// + /// <p>Validity period for printout coupons or gift certificates<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.PrintoutValidityPeriod or Promotion.Condition.Rule.RebateMethod.RebateAsCoupon.PrintoutValidityPeriod</li><br /></ul> + [DataMember(Name="printoutValidityPeriod", EmitDefaultValue=false)] + public double? PrintoutValidityPeriod { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + [DataMember(Name="promotionConditionRuleTranslationList", EmitDefaultValue=false)] + public List PromotionConditionRuleTranslationList { get; set; } + + /// + /// <p>External ID of the condition rule (filled with PromotionConditionID)<br /></p> + /// + /// <p>External ID of the condition rule (filled with PromotionConditionID)<br /></p> + [DataMember(Name="externalConditionRuleID", EmitDefaultValue=false)] + public string ExternalConditionRuleID { get; set; } + + /// + /// <p>Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:<br /> - In case that no price derivation rules were applied before, it is the original price/total.<br /> - Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest.<br /> - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence &lt;= CalculationBaseSequence (or the original price if no such price derivation rule was applied).<br /></p> + /// + /// <p>Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:<br /> - In case that no price derivation rules were applied before, it is the original price/total.<br /> - Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest.<br /> - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence &lt;= CalculationBaseSequence (or the original price if no such price derivation rule was applied).<br /></p> + [DataMember(Name="calculationBaseSequence", EmitDefaultValue=false)] + public string CalculationBaseSequence { get; set; } + + /// + /// <p>The system-generated identifier of the rounding rule which applies for discounts/bonus points counts resulting from applying the price derivation rule<br /></p> + /// + /// <p>The system-generated identifier of the rounding rule which applies for discounts/bonus points counts resulting from applying the price derivation rule<br /></p> + [DataMember(Name="roundingRuleID", EmitDefaultValue=false)] + public string RoundingRuleID { get; set; } + + /// + /// <p>The system-generated identifier of the rounding rule which applies for shares resulting from prorating basket-related discounts or bonus points resulting from applying the price derivation rule<br /></p> + /// + /// <p>The system-generated identifier of the rounding rule which applies for shares resulting from prorating basket-related discounts or bonus points resulting from applying the price derivation rule<br /></p> + [DataMember(Name="shareRoundingRuleID", EmitDefaultValue=false)] + public string ShareRoundingRuleID { get; set; } + + /// + /// <p>The system-generated identifier of the rounding rule applies for monetary equivalents to bonus points counts resulting from applying the price derivation rule<br /></p> + /// + /// <p>The system-generated identifier of the rounding rule applies for monetary equivalents to bonus points counts resulting from applying the price derivation rule<br /></p> + [DataMember(Name="pointsAmountRoundingRuleID", EmitDefaultValue=false)] + public string PointsAmountRoundingRuleID { get; set; } + + /// + /// <p>Determines whether the price derivation rule is applicable in general (false) or only in the case that no other monetary discounts were granted before (true).<br /></p> + /// + /// <p>Determines whether the price derivation rule is applicable in general (false) or only in the case that no other monetary discounts were granted before (true).<br /></p> + [DataMember(Name="noPreviousMonetaryDiscountAllowedFlag", EmitDefaultValue=false)] + public bool? NoPreviousMonetaryDiscountAllowedFlag { get; set; } + + /// + /// <p>This flag decides whether a promotion price derivation rule or a particular price is allowed to increase the price in comparison to the latest calculated discount sales price.<br /></p><br /><p>Possible values:<br /></p><br /><ul><br /> <li>true: price increase is allowed. In this case, the promotion price derivation rule is applied even though the item costs afterwards more than before.</li><br /> <li>false: price increase is not allowed. In this case, the promotion price derivation rule is not applied without any thrown business error or indicator why.</li><br /></ul> + /// + /// <p>This flag decides whether a promotion price derivation rule or a particular price is allowed to increase the price in comparison to the latest calculated discount sales price.<br /></p><br /><p>Possible values:<br /></p><br /><ul><br /> <li>true: price increase is allowed. In this case, the promotion price derivation rule is applied even though the item costs afterwards more than before.</li><br /> <li>false: price increase is not allowed. In this case, the promotion price derivation rule is not applied without any thrown business error or indicator why.</li><br /></ul> + [DataMember(Name="increasePriceAllowedFlag", EmitDefaultValue=false)] + public bool? IncreasePriceAllowedFlag { get; set; } + + /// + /// <p>For measured items (e.g. pre-packed weighed items), the package limit quantity limits the maximum package count that can receive a benefit. A price derivation rule containing a package limit quantity being not null and greater than zero can be applied to measured items only, but not to piece items.<br /></p> + /// + /// <p>For measured items (e.g. pre-packed weighed items), the package limit quantity limits the maximum package count that can receive a benefit. A price derivation rule containing a package limit quantity being not null and greater than zero can be applied to measured items only, but not to piece items.<br /></p> + [DataMember(Name="packageLimitQuantity", EmitDefaultValue=false)] + public int? PackageLimitQuantity { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO {\n"); + sb.Append(" InternalRuleID: ").Append(InternalRuleID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" TransactionControlBreakCode: ").Append(TransactionControlBreakCode).Append("\n"); + sb.Append(" StatusCode: ").Append(StatusCode).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" RuleID: ").Append(RuleID).Append("\n"); + sb.Append(" BonusPointsFlag: ").Append(BonusPointsFlag).Append("\n"); + sb.Append(" RoundingMethodCode: ").Append(RoundingMethodCode).Append("\n"); + sb.Append(" DecimalPlacesCount: ").Append(DecimalPlacesCount).Append("\n"); + sb.Append(" RoundDestinationValue: ").Append(RoundDestinationValue).Append("\n"); + sb.Append(" DiscountMethodCode: ").Append(DiscountMethodCode).Append("\n"); + sb.Append(" GiftCertificateExpirationDate: ").Append(GiftCertificateExpirationDate).Append("\n"); + sb.Append(" TenderTypeCode: ").Append(TenderTypeCode).Append("\n"); + sb.Append(" ProhibitTransactionRelatedPromotionConditionFlag: ").Append(ProhibitTransactionRelatedPromotionConditionFlag).Append("\n"); + sb.Append(" ChooseItemMethod: ").Append(ChooseItemMethod).Append("\n"); + sb.Append(" NoEffectOnSubsequentPromotionConditionFlag: ").Append(NoEffectOnSubsequentPromotionConditionFlag).Append("\n"); + sb.Append(" CalculationBase: ").Append(CalculationBase).Append("\n"); + sb.Append(" CouponPrintoutID: ").Append(CouponPrintoutID).Append("\n"); + sb.Append(" CouponPrintoutRule: ").Append(CouponPrintoutRule).Append("\n"); + sb.Append(" CouponPrintoutText: ").Append(CouponPrintoutText).Append("\n"); + sb.Append(" ConsiderPreviousPromotionConditionFlag: ").Append(ConsiderPreviousPromotionConditionFlag).Append("\n"); + sb.Append(" PrintoutValidityPeriod: ").Append(PrintoutValidityPeriod).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" PromotionConditionRuleTranslationList: ").Append(PromotionConditionRuleTranslationList).Append("\n"); + sb.Append(" ExternalConditionRuleID: ").Append(ExternalConditionRuleID).Append("\n"); + sb.Append(" CalculationBaseSequence: ").Append(CalculationBaseSequence).Append("\n"); + sb.Append(" RoundingRuleID: ").Append(RoundingRuleID).Append("\n"); + sb.Append(" ShareRoundingRuleID: ").Append(ShareRoundingRuleID).Append("\n"); + sb.Append(" PointsAmountRoundingRuleID: ").Append(PointsAmountRoundingRuleID).Append("\n"); + sb.Append(" NoPreviousMonetaryDiscountAllowedFlag: ").Append(NoPreviousMonetaryDiscountAllowedFlag).Append("\n"); + sb.Append(" IncreasePriceAllowedFlag: ").Append(IncreasePriceAllowedFlag).Append("\n"); + sb.Append(" PackageLimitQuantity: ").Append(PackageLimitQuantity).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO input) + { + if (input == null) + return false; + + return + ( + this.InternalRuleID == input.InternalRuleID || + (this.InternalRuleID != null && + this.InternalRuleID.Equals(input.InternalRuleID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.TransactionControlBreakCode == input.TransactionControlBreakCode || + (this.TransactionControlBreakCode != null && + this.TransactionControlBreakCode.Equals(input.TransactionControlBreakCode)) + ) && + ( + this.StatusCode == input.StatusCode || + (this.StatusCode != null && + this.StatusCode.Equals(input.StatusCode)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.RuleID == input.RuleID || + (this.RuleID != null && + this.RuleID.Equals(input.RuleID)) + ) && + ( + this.BonusPointsFlag == input.BonusPointsFlag || + (this.BonusPointsFlag != null && + this.BonusPointsFlag.Equals(input.BonusPointsFlag)) + ) && + ( + this.RoundingMethodCode == input.RoundingMethodCode || + (this.RoundingMethodCode != null && + this.RoundingMethodCode.Equals(input.RoundingMethodCode)) + ) && + ( + this.DecimalPlacesCount == input.DecimalPlacesCount || + (this.DecimalPlacesCount != null && + this.DecimalPlacesCount.Equals(input.DecimalPlacesCount)) + ) && + ( + this.RoundDestinationValue == input.RoundDestinationValue || + (this.RoundDestinationValue != null && + this.RoundDestinationValue.Equals(input.RoundDestinationValue)) + ) && + ( + this.DiscountMethodCode == input.DiscountMethodCode || + (this.DiscountMethodCode != null && + this.DiscountMethodCode.Equals(input.DiscountMethodCode)) + ) && + ( + this.GiftCertificateExpirationDate == input.GiftCertificateExpirationDate || + (this.GiftCertificateExpirationDate != null && + this.GiftCertificateExpirationDate.Equals(input.GiftCertificateExpirationDate)) + ) && + ( + this.TenderTypeCode == input.TenderTypeCode || + (this.TenderTypeCode != null && + this.TenderTypeCode.Equals(input.TenderTypeCode)) + ) && + ( + this.ProhibitTransactionRelatedPromotionConditionFlag == input.ProhibitTransactionRelatedPromotionConditionFlag || + (this.ProhibitTransactionRelatedPromotionConditionFlag != null && + this.ProhibitTransactionRelatedPromotionConditionFlag.Equals(input.ProhibitTransactionRelatedPromotionConditionFlag)) + ) && + ( + this.ChooseItemMethod == input.ChooseItemMethod || + (this.ChooseItemMethod != null && + this.ChooseItemMethod.Equals(input.ChooseItemMethod)) + ) && + ( + this.NoEffectOnSubsequentPromotionConditionFlag == input.NoEffectOnSubsequentPromotionConditionFlag || + (this.NoEffectOnSubsequentPromotionConditionFlag != null && + this.NoEffectOnSubsequentPromotionConditionFlag.Equals(input.NoEffectOnSubsequentPromotionConditionFlag)) + ) && + ( + this.CalculationBase == input.CalculationBase || + (this.CalculationBase != null && + this.CalculationBase.Equals(input.CalculationBase)) + ) && + ( + this.CouponPrintoutID == input.CouponPrintoutID || + (this.CouponPrintoutID != null && + this.CouponPrintoutID.Equals(input.CouponPrintoutID)) + ) && + ( + this.CouponPrintoutRule == input.CouponPrintoutRule || + (this.CouponPrintoutRule != null && + this.CouponPrintoutRule.Equals(input.CouponPrintoutRule)) + ) && + ( + this.CouponPrintoutText == input.CouponPrintoutText || + (this.CouponPrintoutText != null && + this.CouponPrintoutText.Equals(input.CouponPrintoutText)) + ) && + ( + this.ConsiderPreviousPromotionConditionFlag == input.ConsiderPreviousPromotionConditionFlag || + (this.ConsiderPreviousPromotionConditionFlag != null && + this.ConsiderPreviousPromotionConditionFlag.Equals(input.ConsiderPreviousPromotionConditionFlag)) + ) && + ( + this.PrintoutValidityPeriod == input.PrintoutValidityPeriod || + (this.PrintoutValidityPeriod != null && + this.PrintoutValidityPeriod.Equals(input.PrintoutValidityPeriod)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.PromotionConditionRuleTranslationList == input.PromotionConditionRuleTranslationList || + this.PromotionConditionRuleTranslationList != null && + this.PromotionConditionRuleTranslationList.SequenceEqual(input.PromotionConditionRuleTranslationList) + ) && + ( + this.ExternalConditionRuleID == input.ExternalConditionRuleID || + (this.ExternalConditionRuleID != null && + this.ExternalConditionRuleID.Equals(input.ExternalConditionRuleID)) + ) && + ( + this.CalculationBaseSequence == input.CalculationBaseSequence || + (this.CalculationBaseSequence != null && + this.CalculationBaseSequence.Equals(input.CalculationBaseSequence)) + ) && + ( + this.RoundingRuleID == input.RoundingRuleID || + (this.RoundingRuleID != null && + this.RoundingRuleID.Equals(input.RoundingRuleID)) + ) && + ( + this.ShareRoundingRuleID == input.ShareRoundingRuleID || + (this.ShareRoundingRuleID != null && + this.ShareRoundingRuleID.Equals(input.ShareRoundingRuleID)) + ) && + ( + this.PointsAmountRoundingRuleID == input.PointsAmountRoundingRuleID || + (this.PointsAmountRoundingRuleID != null && + this.PointsAmountRoundingRuleID.Equals(input.PointsAmountRoundingRuleID)) + ) && + ( + this.NoPreviousMonetaryDiscountAllowedFlag == input.NoPreviousMonetaryDiscountAllowedFlag || + (this.NoPreviousMonetaryDiscountAllowedFlag != null && + this.NoPreviousMonetaryDiscountAllowedFlag.Equals(input.NoPreviousMonetaryDiscountAllowedFlag)) + ) && + ( + this.IncreasePriceAllowedFlag == input.IncreasePriceAllowedFlag || + (this.IncreasePriceAllowedFlag != null && + this.IncreasePriceAllowedFlag.Equals(input.IncreasePriceAllowedFlag)) + ) && + ( + this.PackageLimitQuantity == input.PackageLimitQuantity || + (this.PackageLimitQuantity != null && + this.PackageLimitQuantity.Equals(input.PackageLimitQuantity)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.InternalRuleID != null) + hashCode = hashCode * 59 + this.InternalRuleID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.TransactionControlBreakCode != null) + hashCode = hashCode * 59 + this.TransactionControlBreakCode.GetHashCode(); + if (this.StatusCode != null) + hashCode = hashCode * 59 + this.StatusCode.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.RuleID != null) + hashCode = hashCode * 59 + this.RuleID.GetHashCode(); + if (this.BonusPointsFlag != null) + hashCode = hashCode * 59 + this.BonusPointsFlag.GetHashCode(); + if (this.RoundingMethodCode != null) + hashCode = hashCode * 59 + this.RoundingMethodCode.GetHashCode(); + if (this.DecimalPlacesCount != null) + hashCode = hashCode * 59 + this.DecimalPlacesCount.GetHashCode(); + if (this.RoundDestinationValue != null) + hashCode = hashCode * 59 + this.RoundDestinationValue.GetHashCode(); + if (this.DiscountMethodCode != null) + hashCode = hashCode * 59 + this.DiscountMethodCode.GetHashCode(); + if (this.GiftCertificateExpirationDate != null) + hashCode = hashCode * 59 + this.GiftCertificateExpirationDate.GetHashCode(); + if (this.TenderTypeCode != null) + hashCode = hashCode * 59 + this.TenderTypeCode.GetHashCode(); + if (this.ProhibitTransactionRelatedPromotionConditionFlag != null) + hashCode = hashCode * 59 + this.ProhibitTransactionRelatedPromotionConditionFlag.GetHashCode(); + if (this.ChooseItemMethod != null) + hashCode = hashCode * 59 + this.ChooseItemMethod.GetHashCode(); + if (this.NoEffectOnSubsequentPromotionConditionFlag != null) + hashCode = hashCode * 59 + this.NoEffectOnSubsequentPromotionConditionFlag.GetHashCode(); + if (this.CalculationBase != null) + hashCode = hashCode * 59 + this.CalculationBase.GetHashCode(); + if (this.CouponPrintoutID != null) + hashCode = hashCode * 59 + this.CouponPrintoutID.GetHashCode(); + if (this.CouponPrintoutRule != null) + hashCode = hashCode * 59 + this.CouponPrintoutRule.GetHashCode(); + if (this.CouponPrintoutText != null) + hashCode = hashCode * 59 + this.CouponPrintoutText.GetHashCode(); + if (this.ConsiderPreviousPromotionConditionFlag != null) + hashCode = hashCode * 59 + this.ConsiderPreviousPromotionConditionFlag.GetHashCode(); + if (this.PrintoutValidityPeriod != null) + hashCode = hashCode * 59 + this.PrintoutValidityPeriod.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.PromotionConditionRuleTranslationList != null) + hashCode = hashCode * 59 + this.PromotionConditionRuleTranslationList.GetHashCode(); + if (this.ExternalConditionRuleID != null) + hashCode = hashCode * 59 + this.ExternalConditionRuleID.GetHashCode(); + if (this.CalculationBaseSequence != null) + hashCode = hashCode * 59 + this.CalculationBaseSequence.GetHashCode(); + if (this.RoundingRuleID != null) + hashCode = hashCode * 59 + this.RoundingRuleID.GetHashCode(); + if (this.ShareRoundingRuleID != null) + hashCode = hashCode * 59 + this.ShareRoundingRuleID.GetHashCode(); + if (this.PointsAmountRoundingRuleID != null) + hashCode = hashCode * 59 + this.PointsAmountRoundingRuleID.GetHashCode(); + if (this.NoPreviousMonetaryDiscountAllowedFlag != null) + hashCode = hashCode * 59 + this.NoPreviousMonetaryDiscountAllowedFlag.GetHashCode(); + if (this.IncreasePriceAllowedFlag != null) + hashCode = hashCode * 59 + this.IncreasePriceAllowedFlag.GetHashCode(); + if (this.PackageLimitQuantity != null) + hashCode = hashCode * 59 + this.PackageLimitQuantity.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..164925e13d2e7d123c72a7d403be32b0c460cac5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO.cs @@ -0,0 +1,189 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionConditionRuleTranslationSO <p>Translation of condition rule texts in one language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language id<br /></p> (required). + /// <p>Translation of the rule name<br /></p>. + /// <p>Translation of the description<br /></p>. + /// <p>Translation of the printout coupon text<br /></p>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO(string languageID = default(string), string name = default(string), string description = default(string), string couponPrintoutText = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.Name = name; + this.Description = description; + this.CouponPrintoutText = couponPrintoutText; + } + + /// + /// <p>Language id<br /></p> + /// + /// <p>Language id<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Translation of the rule name<br /></p> + /// + /// <p>Translation of the rule name<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Translation of the description<br /></p> + /// + /// <p>Translation of the description<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>Translation of the printout coupon text<br /></p> + /// + /// <p>Translation of the printout coupon text<br /></p> + [DataMember(Name="couponPrintoutText", EmitDefaultValue=false)] + public string CouponPrintoutText { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" CouponPrintoutText: ").Append(CouponPrintoutText).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.CouponPrintoutText == input.CouponPrintoutText || + (this.CouponPrintoutText != null && + this.CouponPrintoutText.Equals(input.CouponPrintoutText)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.CouponPrintoutText != null) + hashCode = hashCode * 59 + this.CouponPrintoutText.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..23e312020ba7067a306a54e7af5b9da831424184 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO.cs @@ -0,0 +1,1192 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionConditionSO <p>Condition of the promotion<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition</li><br /> <li>PromotionCPD.xml: Promotion.Condition</li><br /></ul> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO : IEquatable, IValidatableObject + { + /// + /// <p>Determines whether the condition can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for returns</li><br /> <li>01: only for sales</li><br /> <li>02: only for returns</li><br /></ul> + /// + /// <p>Determines whether the condition can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for returns</li><br /> <li>01: only for sales</li><br /> <li>02: only for returns</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum SaleReturnTypeCodeEnum + { + + /// + /// Enum SALESRETURNS for value: SALES_RETURNS + /// + [EnumMember(Value = "SALES_RETURNS")] + SALESRETURNS = 1, + + /// + /// Enum SALES for value: SALES + /// + [EnumMember(Value = "SALES")] + SALES = 2, + + /// + /// Enum RETURNS for value: RETURNS + /// + [EnumMember(Value = "RETURNS")] + RETURNS = 3 + } + + /// + /// <p>Determines whether the condition can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for returns</li><br /> <li>01: only for sales</li><br /> <li>02: only for returns</li><br /></ul> + /// + /// <p>Determines whether the condition can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for returns</li><br /> <li>01: only for sales</li><br /> <li>02: only for returns</li><br /></ul> + [DataMember(Name="saleReturnTypeCode", EmitDefaultValue=false)] + public SaleReturnTypeCodeEnum? SaleReturnTypeCode { get; set; } + /// + /// <p>Determines whether the condition can be used only for sales, only for amendments, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for amendments</li><br /> <li>01: only for sales</li><br /> <li>02: only for amendments</li><br /></ul> + /// + /// <p>Determines whether the condition can be used only for sales, only for amendments, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for amendments</li><br /> <li>01: only for sales</li><br /> <li>02: only for amendments</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum AmendmentTypeCodeEnum + { + + /// + /// Enum SALESAMENDMENTS for value: SALES_AMENDMENTS + /// + [EnumMember(Value = "SALES_AMENDMENTS")] + SALESAMENDMENTS = 1, + + /// + /// Enum SALES for value: SALES + /// + [EnumMember(Value = "SALES")] + SALES = 2, + + /// + /// Enum AMENDMENTS for value: AMENDMENTS + /// + [EnumMember(Value = "AMENDMENTS")] + AMENDMENTS = 3 + } + + /// + /// <p>Determines whether the condition can be used only for sales, only for amendments, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for amendments</li><br /> <li>01: only for sales</li><br /> <li>02: only for amendments</li><br /></ul> + /// + /// <p>Determines whether the condition can be used only for sales, only for amendments, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for amendments</li><br /> <li>01: only for sales</li><br /> <li>02: only for amendments</li><br /></ul> + [DataMember(Name="amendmentTypeCode", EmitDefaultValue=false)] + public AmendmentTypeCodeEnum? AmendmentTypeCode { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Mapped from promotion.<br /></p>. + /// <p>A identifier for a condition.<br /></p><br /><p>Generared, not imported.<br /></p>. + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>A unique identifier for a Price Derivation Rule eligibility. It is the ID of the root eligibility of the condition. (useful if the combination eligibility is used).<br /></p>. + /// <p>Time restrictions<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul>. + /// <p>Code of the condition type<br /></p>. + /// <p>Rule data<br /></p> (required). + /// <p>Eligibility data (tree)<br /></p> (required). + /// <p>Sequence - for collision handling<br /></p> (required). + /// <p>Resolution - for collision handling<br /></p> (required). + /// <p>Determines whether the result of the applied condition is to be suppressed on displays / not printed on the receipt; e.g. position-dependent default points are not printed after each position, but only summarized at the end of the receipt.<br /></p> (required). + /// <p>Short description<br /></p>. + /// <p>Receipt text (overwrites the receipt text of the promotion)<br /></p>. + /// <p>Operator display text (overwrites the operator display text of the promotion)<br /></p>. + /// <p>Customer display text (overwrites the customer display text of the promotion)<br /></p>. + /// <p>'vector' which describes which discount typecodes are allowed for usage by the loyalty server; Item.DiscountTypeCode is used as an index in order to find the right position inside the vector;<br /> Possible values for each position are:<br /></p><br /><ul><br /> <li>0 - -> no discount possible</li><br /> <li>1 - -> discount possible</li><br /></ul>. + /// <p>Determines whether the condition can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for returns</li><br /> <li>01: only for sales</li><br /> <li>02: only for returns</li><br /></ul>. + /// <p>Determines whether the condition can be used only for sales, only for amendments, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for amendments</li><br /> <li>01: only for sales</li><br /> <li>02: only for amendments</li><br /></ul>. + /// <p>determines whether this condition is an exclusive condition<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /></ul> (required). + /// <p>ID of the icon that should be displayed as sales information on POS<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.IconID</li><br /></ul>. + /// <p>Determines how this condition works in relation to other applicable conditions<br /></p>. + /// <p>Describes whether the promotion is prohibited/cannot be applied in line item mode.<br /></p> (required). + /// <p>Defines what percentage of the triggers of the recommended promotion have to be reached by the items in the transaction in order for the PCE to make the recommendation.<br /> The supported types of leaf eligibilities which are considered when evaluating the threshold percentage are: ITEM, MSET, MSTR, SITH, TOTL.<br /></p>. + /// <p>Defines the list of recommendation contexts in which the promotion can be recommended by the PCE.<br /></p>. + /// <p>Flag indicating if the promotion price derivation rule is available for recommendations or not.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>List of translations<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO(string promotionID = default(string), string conditionID = default(string), string internalRuleID = default(string), string internalEligibilityID = default(string), ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO timeGroup = default(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO), string typeCode = default(string), ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO rule = default(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO), ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO eligibility = default(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO), string sequence = default(string), string resolution = default(string), bool? notShowingFlag = default(bool?), string description = default(string), string receiptPrinterName = default(string), string operatorDisplayName = default(string), string customerDisplayName = default(string), string itemDiscountControlVector = default(string), SaleReturnTypeCodeEnum? saleReturnTypeCode = default(SaleReturnTypeCodeEnum?), AmendmentTypeCodeEnum? amendmentTypeCode = default(AmendmentTypeCodeEnum?), bool? exclusiveFlag = default(bool?), string iconID = default(string), string concurrenceControlVector = default(string), bool? notConsideredInLineItemModeFlag = default(bool?), int? recommendationThresholdPercentage = default(int?), List recommendationContextList = default(List), bool? recommendationFlag = default(bool?), string tid = default(string), List promotionConditionTranslationList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "rule" is required (not null) + if (rule == null) + { + throw new InvalidDataException("rule is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO and cannot be null"); + } + else + { + this.Rule = rule; + } + // to ensure "eligibility" is required (not null) + if (eligibility == null) + { + throw new InvalidDataException("eligibility is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO and cannot be null"); + } + else + { + this.Eligibility = eligibility; + } + // to ensure "sequence" is required (not null) + if (sequence == null) + { + throw new InvalidDataException("sequence is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO and cannot be null"); + } + else + { + this.Sequence = sequence; + } + // to ensure "resolution" is required (not null) + if (resolution == null) + { + throw new InvalidDataException("resolution is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO and cannot be null"); + } + else + { + this.Resolution = resolution; + } + // to ensure "notShowingFlag" is required (not null) + if (notShowingFlag == null) + { + throw new InvalidDataException("notShowingFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO and cannot be null"); + } + else + { + this.NotShowingFlag = notShowingFlag; + } + // to ensure "exclusiveFlag" is required (not null) + if (exclusiveFlag == null) + { + throw new InvalidDataException("exclusiveFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO and cannot be null"); + } + else + { + this.ExclusiveFlag = exclusiveFlag; + } + // to ensure "notConsideredInLineItemModeFlag" is required (not null) + if (notConsideredInLineItemModeFlag == null) + { + throw new InvalidDataException("notConsideredInLineItemModeFlag is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO and cannot be null"); + } + else + { + this.NotConsideredInLineItemModeFlag = notConsideredInLineItemModeFlag; + } + this.PromotionID = promotionID; + this.ConditionID = conditionID; + this.InternalRuleID = internalRuleID; + this.InternalEligibilityID = internalEligibilityID; + this.TimeGroup = timeGroup; + this.TypeCode = typeCode; + this.Description = description; + this.ReceiptPrinterName = receiptPrinterName; + this.OperatorDisplayName = operatorDisplayName; + this.CustomerDisplayName = customerDisplayName; + this.ItemDiscountControlVector = itemDiscountControlVector; + this.SaleReturnTypeCode = saleReturnTypeCode; + this.AmendmentTypeCode = amendmentTypeCode; + this.IconID = iconID; + this.ConcurrenceControlVector = concurrenceControlVector; + this.RecommendationThresholdPercentage = recommendationThresholdPercentage; + this.RecommendationContextList = recommendationContextList; + this.RecommendationFlag = recommendationFlag; + this.Tid = tid; + this.PromotionConditionTranslationList = promotionConditionTranslationList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Mapped from promotion.<br /></p> + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Mapped from promotion.<br /></p> + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// <p>A identifier for a condition.<br /></p><br /><p>Generared, not imported.<br /></p> + /// + /// <p>A identifier for a condition.<br /></p><br /><p>Generared, not imported.<br /></p> + [DataMember(Name="conditionID", EmitDefaultValue=false)] + public string ConditionID { get; set; } + + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="internalRuleID", EmitDefaultValue=false)] + public string InternalRuleID { get; set; } + + /// + /// <p>A unique identifier for a Price Derivation Rule eligibility. It is the ID of the root eligibility of the condition. (useful if the combination eligibility is used).<br /></p> + /// + /// <p>A unique identifier for a Price Derivation Rule eligibility. It is the ID of the root eligibility of the condition. (useful if the combination eligibility is used).<br /></p> + [DataMember(Name="internalEligibilityID", EmitDefaultValue=false)] + public string InternalEligibilityID { get; set; } + + /// + /// <p>Time restrictions<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + /// + /// <p>Time restrictions<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + [DataMember(Name="timeGroup", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO TimeGroup { get; set; } + + /// + /// <p>Code of the condition type<br /></p> + /// + /// <p>Code of the condition type<br /></p> + [DataMember(Name="typeCode", EmitDefaultValue=false)] + public string TypeCode { get; set; } + + /// + /// <p>Rule data<br /></p> + /// + /// <p>Rule data<br /></p> + [DataMember(Name="rule", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO Rule { get; set; } + + /// + /// <p>Eligibility data (tree)<br /></p> + /// + /// <p>Eligibility data (tree)<br /></p> + [DataMember(Name="eligibility", EmitDefaultValue=false)] + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO Eligibility { get; set; } + + /// + /// <p>Sequence - for collision handling<br /></p> + /// + /// <p>Sequence - for collision handling<br /></p> + [DataMember(Name="sequence", EmitDefaultValue=false)] + public string Sequence { get; set; } + + /// + /// <p>Resolution - for collision handling<br /></p> + /// + /// <p>Resolution - for collision handling<br /></p> + [DataMember(Name="resolution", EmitDefaultValue=false)] + public string Resolution { get; set; } + + /// + /// <p>Determines whether the result of the applied condition is to be suppressed on displays / not printed on the receipt; e.g. position-dependent default points are not printed after each position, but only summarized at the end of the receipt.<br /></p> + /// + /// <p>Determines whether the result of the applied condition is to be suppressed on displays / not printed on the receipt; e.g. position-dependent default points are not printed after each position, but only summarized at the end of the receipt.<br /></p> + [DataMember(Name="notShowingFlag", EmitDefaultValue=false)] + public bool? NotShowingFlag { get; set; } + + /// + /// <p>Short description<br /></p> + /// + /// <p>Short description<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>Receipt text (overwrites the receipt text of the promotion)<br /></p> + /// + /// <p>Receipt text (overwrites the receipt text of the promotion)<br /></p> + [DataMember(Name="receiptPrinterName", EmitDefaultValue=false)] + public string ReceiptPrinterName { get; set; } + + /// + /// <p>Operator display text (overwrites the operator display text of the promotion)<br /></p> + /// + /// <p>Operator display text (overwrites the operator display text of the promotion)<br /></p> + [DataMember(Name="operatorDisplayName", EmitDefaultValue=false)] + public string OperatorDisplayName { get; set; } + + /// + /// <p>Customer display text (overwrites the customer display text of the promotion)<br /></p> + /// + /// <p>Customer display text (overwrites the customer display text of the promotion)<br /></p> + [DataMember(Name="customerDisplayName", EmitDefaultValue=false)] + public string CustomerDisplayName { get; set; } + + /// + /// <p>'vector' which describes which discount typecodes are allowed for usage by the loyalty server; Item.DiscountTypeCode is used as an index in order to find the right position inside the vector;<br /> Possible values for each position are:<br /></p><br /><ul><br /> <li>0 - -> no discount possible</li><br /> <li>1 - -> discount possible</li><br /></ul> + /// + /// <p>'vector' which describes which discount typecodes are allowed for usage by the loyalty server; Item.DiscountTypeCode is used as an index in order to find the right position inside the vector;<br /> Possible values for each position are:<br /></p><br /><ul><br /> <li>0 - -> no discount possible</li><br /> <li>1 - -> discount possible</li><br /></ul> + [DataMember(Name="itemDiscountControlVector", EmitDefaultValue=false)] + public string ItemDiscountControlVector { get; set; } + + + + /// + /// <p>determines whether this condition is an exclusive condition<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /></ul> + /// + /// <p>determines whether this condition is an exclusive condition<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /></ul> + [DataMember(Name="exclusiveFlag", EmitDefaultValue=false)] + public bool? ExclusiveFlag { get; set; } + + /// + /// <p>ID of the icon that should be displayed as sales information on POS<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.IconID</li><br /></ul> + /// + /// <p>ID of the icon that should be displayed as sales information on POS<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.IconID</li><br /></ul> + [DataMember(Name="iconID", EmitDefaultValue=false)] + public string IconID { get; set; } + + /// + /// <p>Determines how this condition works in relation to other applicable conditions<br /></p> + /// + /// <p>Determines how this condition works in relation to other applicable conditions<br /></p> + [DataMember(Name="concurrenceControlVector", EmitDefaultValue=false)] + public string ConcurrenceControlVector { get; set; } + + /// + /// <p>Describes whether the promotion is prohibited/cannot be applied in line item mode.<br /></p> + /// + /// <p>Describes whether the promotion is prohibited/cannot be applied in line item mode.<br /></p> + [DataMember(Name="notConsideredInLineItemModeFlag", EmitDefaultValue=false)] + public bool? NotConsideredInLineItemModeFlag { get; set; } + + /// + /// <p>Defines what percentage of the triggers of the recommended promotion have to be reached by the items in the transaction in order for the PCE to make the recommendation.<br /> The supported types of leaf eligibilities which are considered when evaluating the threshold percentage are: ITEM, MSET, MSTR, SITH, TOTL.<br /></p> + /// + /// <p>Defines what percentage of the triggers of the recommended promotion have to be reached by the items in the transaction in order for the PCE to make the recommendation.<br /> The supported types of leaf eligibilities which are considered when evaluating the threshold percentage are: ITEM, MSET, MSTR, SITH, TOTL.<br /></p> + [DataMember(Name="recommendationThresholdPercentage", EmitDefaultValue=false)] + public int? RecommendationThresholdPercentage { get; set; } + + /// + /// <p>Defines the list of recommendation contexts in which the promotion can be recommended by the PCE.<br /></p> + /// + /// <p>Defines the list of recommendation contexts in which the promotion can be recommended by the PCE.<br /></p> + [DataMember(Name="recommendationContextList", EmitDefaultValue=false)] + public List RecommendationContextList { get; set; } + + /// + /// <p>Flag indicating if the promotion price derivation rule is available for recommendations or not.<br /></p> + /// + /// <p>Flag indicating if the promotion price derivation rule is available for recommendations or not.<br /></p> + [DataMember(Name="recommendationFlag", EmitDefaultValue=false)] + public bool? RecommendationFlag { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + [DataMember(Name="promotionConditionTranslationList", EmitDefaultValue=false)] + public List PromotionConditionTranslationList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO {\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" ConditionID: ").Append(ConditionID).Append("\n"); + sb.Append(" InternalRuleID: ").Append(InternalRuleID).Append("\n"); + sb.Append(" InternalEligibilityID: ").Append(InternalEligibilityID).Append("\n"); + sb.Append(" TimeGroup: ").Append(TimeGroup).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" Rule: ").Append(Rule).Append("\n"); + sb.Append(" Eligibility: ").Append(Eligibility).Append("\n"); + sb.Append(" Sequence: ").Append(Sequence).Append("\n"); + sb.Append(" Resolution: ").Append(Resolution).Append("\n"); + sb.Append(" NotShowingFlag: ").Append(NotShowingFlag).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" ReceiptPrinterName: ").Append(ReceiptPrinterName).Append("\n"); + sb.Append(" OperatorDisplayName: ").Append(OperatorDisplayName).Append("\n"); + sb.Append(" CustomerDisplayName: ").Append(CustomerDisplayName).Append("\n"); + sb.Append(" ItemDiscountControlVector: ").Append(ItemDiscountControlVector).Append("\n"); + sb.Append(" SaleReturnTypeCode: ").Append(SaleReturnTypeCode).Append("\n"); + sb.Append(" AmendmentTypeCode: ").Append(AmendmentTypeCode).Append("\n"); + sb.Append(" ExclusiveFlag: ").Append(ExclusiveFlag).Append("\n"); + sb.Append(" IconID: ").Append(IconID).Append("\n"); + sb.Append(" ConcurrenceControlVector: ").Append(ConcurrenceControlVector).Append("\n"); + sb.Append(" NotConsideredInLineItemModeFlag: ").Append(NotConsideredInLineItemModeFlag).Append("\n"); + sb.Append(" RecommendationThresholdPercentage: ").Append(RecommendationThresholdPercentage).Append("\n"); + sb.Append(" RecommendationContextList: ").Append(RecommendationContextList).Append("\n"); + sb.Append(" RecommendationFlag: ").Append(RecommendationFlag).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" PromotionConditionTranslationList: ").Append(PromotionConditionTranslationList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO input) + { + if (input == null) + return false; + + return + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.ConditionID == input.ConditionID || + (this.ConditionID != null && + this.ConditionID.Equals(input.ConditionID)) + ) && + ( + this.InternalRuleID == input.InternalRuleID || + (this.InternalRuleID != null && + this.InternalRuleID.Equals(input.InternalRuleID)) + ) && + ( + this.InternalEligibilityID == input.InternalEligibilityID || + (this.InternalEligibilityID != null && + this.InternalEligibilityID.Equals(input.InternalEligibilityID)) + ) && + ( + this.TimeGroup == input.TimeGroup || + (this.TimeGroup != null && + this.TimeGroup.Equals(input.TimeGroup)) + ) && + ( + this.TypeCode == input.TypeCode || + (this.TypeCode != null && + this.TypeCode.Equals(input.TypeCode)) + ) && + ( + this.Rule == input.Rule || + (this.Rule != null && + this.Rule.Equals(input.Rule)) + ) && + ( + this.Eligibility == input.Eligibility || + (this.Eligibility != null && + this.Eligibility.Equals(input.Eligibility)) + ) && + ( + this.Sequence == input.Sequence || + (this.Sequence != null && + this.Sequence.Equals(input.Sequence)) + ) && + ( + this.Resolution == input.Resolution || + (this.Resolution != null && + this.Resolution.Equals(input.Resolution)) + ) && + ( + this.NotShowingFlag == input.NotShowingFlag || + (this.NotShowingFlag != null && + this.NotShowingFlag.Equals(input.NotShowingFlag)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.ReceiptPrinterName == input.ReceiptPrinterName || + (this.ReceiptPrinterName != null && + this.ReceiptPrinterName.Equals(input.ReceiptPrinterName)) + ) && + ( + this.OperatorDisplayName == input.OperatorDisplayName || + (this.OperatorDisplayName != null && + this.OperatorDisplayName.Equals(input.OperatorDisplayName)) + ) && + ( + this.CustomerDisplayName == input.CustomerDisplayName || + (this.CustomerDisplayName != null && + this.CustomerDisplayName.Equals(input.CustomerDisplayName)) + ) && + ( + this.ItemDiscountControlVector == input.ItemDiscountControlVector || + (this.ItemDiscountControlVector != null && + this.ItemDiscountControlVector.Equals(input.ItemDiscountControlVector)) + ) && + ( + this.SaleReturnTypeCode == input.SaleReturnTypeCode || + (this.SaleReturnTypeCode != null && + this.SaleReturnTypeCode.Equals(input.SaleReturnTypeCode)) + ) && + ( + this.AmendmentTypeCode == input.AmendmentTypeCode || + (this.AmendmentTypeCode != null && + this.AmendmentTypeCode.Equals(input.AmendmentTypeCode)) + ) && + ( + this.ExclusiveFlag == input.ExclusiveFlag || + (this.ExclusiveFlag != null && + this.ExclusiveFlag.Equals(input.ExclusiveFlag)) + ) && + ( + this.IconID == input.IconID || + (this.IconID != null && + this.IconID.Equals(input.IconID)) + ) && + ( + this.ConcurrenceControlVector == input.ConcurrenceControlVector || + (this.ConcurrenceControlVector != null && + this.ConcurrenceControlVector.Equals(input.ConcurrenceControlVector)) + ) && + ( + this.NotConsideredInLineItemModeFlag == input.NotConsideredInLineItemModeFlag || + (this.NotConsideredInLineItemModeFlag != null && + this.NotConsideredInLineItemModeFlag.Equals(input.NotConsideredInLineItemModeFlag)) + ) && + ( + this.RecommendationThresholdPercentage == input.RecommendationThresholdPercentage || + (this.RecommendationThresholdPercentage != null && + this.RecommendationThresholdPercentage.Equals(input.RecommendationThresholdPercentage)) + ) && + ( + this.RecommendationContextList == input.RecommendationContextList || + this.RecommendationContextList != null && + this.RecommendationContextList.SequenceEqual(input.RecommendationContextList) + ) && + ( + this.RecommendationFlag == input.RecommendationFlag || + (this.RecommendationFlag != null && + this.RecommendationFlag.Equals(input.RecommendationFlag)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.PromotionConditionTranslationList == input.PromotionConditionTranslationList || + this.PromotionConditionTranslationList != null && + this.PromotionConditionTranslationList.SequenceEqual(input.PromotionConditionTranslationList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.ConditionID != null) + hashCode = hashCode * 59 + this.ConditionID.GetHashCode(); + if (this.InternalRuleID != null) + hashCode = hashCode * 59 + this.InternalRuleID.GetHashCode(); + if (this.InternalEligibilityID != null) + hashCode = hashCode * 59 + this.InternalEligibilityID.GetHashCode(); + if (this.TimeGroup != null) + hashCode = hashCode * 59 + this.TimeGroup.GetHashCode(); + if (this.TypeCode != null) + hashCode = hashCode * 59 + this.TypeCode.GetHashCode(); + if (this.Rule != null) + hashCode = hashCode * 59 + this.Rule.GetHashCode(); + if (this.Eligibility != null) + hashCode = hashCode * 59 + this.Eligibility.GetHashCode(); + if (this.Sequence != null) + hashCode = hashCode * 59 + this.Sequence.GetHashCode(); + if (this.Resolution != null) + hashCode = hashCode * 59 + this.Resolution.GetHashCode(); + if (this.NotShowingFlag != null) + hashCode = hashCode * 59 + this.NotShowingFlag.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.ReceiptPrinterName != null) + hashCode = hashCode * 59 + this.ReceiptPrinterName.GetHashCode(); + if (this.OperatorDisplayName != null) + hashCode = hashCode * 59 + this.OperatorDisplayName.GetHashCode(); + if (this.CustomerDisplayName != null) + hashCode = hashCode * 59 + this.CustomerDisplayName.GetHashCode(); + if (this.ItemDiscountControlVector != null) + hashCode = hashCode * 59 + this.ItemDiscountControlVector.GetHashCode(); + if (this.SaleReturnTypeCode != null) + hashCode = hashCode * 59 + this.SaleReturnTypeCode.GetHashCode(); + if (this.AmendmentTypeCode != null) + hashCode = hashCode * 59 + this.AmendmentTypeCode.GetHashCode(); + if (this.ExclusiveFlag != null) + hashCode = hashCode * 59 + this.ExclusiveFlag.GetHashCode(); + if (this.IconID != null) + hashCode = hashCode * 59 + this.IconID.GetHashCode(); + if (this.ConcurrenceControlVector != null) + hashCode = hashCode * 59 + this.ConcurrenceControlVector.GetHashCode(); + if (this.NotConsideredInLineItemModeFlag != null) + hashCode = hashCode * 59 + this.NotConsideredInLineItemModeFlag.GetHashCode(); + if (this.RecommendationThresholdPercentage != null) + hashCode = hashCode * 59 + this.RecommendationThresholdPercentage.GetHashCode(); + if (this.RecommendationContextList != null) + hashCode = hashCode * 59 + this.RecommendationContextList.GetHashCode(); + if (this.RecommendationFlag != null) + hashCode = hashCode * 59 + this.RecommendationFlag.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.PromotionConditionTranslationList != null) + hashCode = hashCode * 59 + this.PromotionConditionTranslationList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..7cef0cc41e315515ee3d1349f7592facf1fab53f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionConditionTimeGroupSO <p>Time restriction<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>List of time periods<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul>. + /// <p>ID of the time group<br /></p><br /><p>Generated, not imported.<br /></p> (required). + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO(List timePeriodList = default(List), string internalTimeGroupID = default(string)) + { + // to ensure "internalTimeGroupID" is required (not null) + if (internalTimeGroupID == null) + { + throw new InvalidDataException("internalTimeGroupID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO and cannot be null"); + } + else + { + this.InternalTimeGroupID = internalTimeGroupID; + } + this.TimePeriodList = timePeriodList; + } + + /// + /// <p>List of time periods<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + /// + /// <p>List of time periods<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + [DataMember(Name="timePeriodList", EmitDefaultValue=false)] + public List TimePeriodList { get; set; } + + /// + /// <p>ID of the time group<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>ID of the time group<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="internalTimeGroupID", EmitDefaultValue=false)] + public string InternalTimeGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO {\n"); + sb.Append(" TimePeriodList: ").Append(TimePeriodList).Append("\n"); + sb.Append(" InternalTimeGroupID: ").Append(InternalTimeGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO input) + { + if (input == null) + return false; + + return + ( + this.TimePeriodList == input.TimePeriodList || + this.TimePeriodList != null && + this.TimePeriodList.SequenceEqual(input.TimePeriodList) + ) && + ( + this.InternalTimeGroupID == input.InternalTimeGroupID || + (this.InternalTimeGroupID != null && + this.InternalTimeGroupID.Equals(input.InternalTimeGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.TimePeriodList != null) + hashCode = hashCode * 59 + this.TimePeriodList.GetHashCode(); + if (this.InternalTimeGroupID != null) + hashCode = hashCode * 59 + this.InternalTimeGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..28f92984b7f102bf563730041adffc8788a4e777 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO.cs @@ -0,0 +1,206 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionConditionTranslationSO <p>Translation of condition texts in one language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language id<br /></p> (required). + /// <p>Translation of the operator display text.<br /></p>. + /// <p>Translation of the customer display text.<br /></p>. + /// <p>Translation of the receipt text.<br /></p>. + /// <p>Translation of the short description<br /></p>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO(string languageID = default(string), string operatorDisplayName = default(string), string customerDisplayName = default(string), string receiptPrinterName = default(string), string description = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.OperatorDisplayName = operatorDisplayName; + this.CustomerDisplayName = customerDisplayName; + this.ReceiptPrinterName = receiptPrinterName; + this.Description = description; + } + + /// + /// <p>Language id<br /></p> + /// + /// <p>Language id<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Translation of the operator display text.<br /></p> + /// + /// <p>Translation of the operator display text.<br /></p> + [DataMember(Name="operatorDisplayName", EmitDefaultValue=false)] + public string OperatorDisplayName { get; set; } + + /// + /// <p>Translation of the customer display text.<br /></p> + /// + /// <p>Translation of the customer display text.<br /></p> + [DataMember(Name="customerDisplayName", EmitDefaultValue=false)] + public string CustomerDisplayName { get; set; } + + /// + /// <p>Translation of the receipt text.<br /></p> + /// + /// <p>Translation of the receipt text.<br /></p> + [DataMember(Name="receiptPrinterName", EmitDefaultValue=false)] + public string ReceiptPrinterName { get; set; } + + /// + /// <p>Translation of the short description<br /></p> + /// + /// <p>Translation of the short description<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" OperatorDisplayName: ").Append(OperatorDisplayName).Append("\n"); + sb.Append(" CustomerDisplayName: ").Append(CustomerDisplayName).Append("\n"); + sb.Append(" ReceiptPrinterName: ").Append(ReceiptPrinterName).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.OperatorDisplayName == input.OperatorDisplayName || + (this.OperatorDisplayName != null && + this.OperatorDisplayName.Equals(input.OperatorDisplayName)) + ) && + ( + this.CustomerDisplayName == input.CustomerDisplayName || + (this.CustomerDisplayName != null && + this.CustomerDisplayName.Equals(input.CustomerDisplayName)) + ) && + ( + this.ReceiptPrinterName == input.ReceiptPrinterName || + (this.ReceiptPrinterName != null && + this.ReceiptPrinterName.Equals(input.ReceiptPrinterName)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.OperatorDisplayName != null) + hashCode = hashCode * 59 + this.OperatorDisplayName.GetHashCode(); + if (this.CustomerDisplayName != null) + hashCode = hashCode * 59 + this.CustomerDisplayName.GetHashCode(); + if (this.ReceiptPrinterName != null) + hashCode = hashCode * 59 + this.ReceiptPrinterName.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..f713d3c683b7528cd83900c115fca7223f047405 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO.cs @@ -0,0 +1,209 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionItemFilterSO <p>This domain object contains the promotion data relevant for the Loyalty Engine.<br /></p><br /><p>Import from:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml (namespace <br /> <a href='http://www.gk-software.com/master_data/promotion_SE/'>http://www.gk-software.com/master_data/promotion_SE/</a>)<br /> </li><br /> <li>PromotionCPD.xml (namespace <br /> <a href='http://www.gk-software.com/masterdata/rebate'>http://www.gk-software.com/masterdata/rebate</a>)<br /> </li><br /> <li>masterData_Promotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/promotion/'>http://www.gk-software.com/storeweaver/master_data/promotion/</a>)<br /> </li><br /> <li>masterData_CustomerPromotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/customer_promotion/'>http://www.gk-software.com/storeweaver/master_data/customer_promotion/</a>)<br /> </li><br /></ul><br /><p>The imports from masterData_Promotion.xml and masterData_CustomerPromotion.xml are not intended for further use.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO : IEquatable, IValidatableObject + { + /// + /// Defines CalculationMode + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum CalculationModeEnum + { + + /// + /// Enum BASKET for value: BASKET + /// + [EnumMember(Value = "BASKET")] + BASKET = 1, + + /// + /// Enum LINEITEM for value: LINE_ITEM + /// + [EnumMember(Value = "LINE_ITEM")] + LINEITEM = 2 + } + + /// + /// Gets or Sets CalculationMode + /// + [DataMember(Name="calculationMode", EmitDefaultValue=false)] + public CalculationModeEnum? CalculationMode { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// itemID. + /// unitOfMeasureCode. + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// considerOnlyDiscountAdviceConditions. + /// calculationMode. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO(string itemID = default(string), string unitOfMeasureCode = default(string), string timestamp = default(string), bool? considerOnlyDiscountAdviceConditions = default(bool?), CalculationModeEnum? calculationMode = default(CalculationModeEnum?)) + { + this.ItemID = itemID; + this.UnitOfMeasureCode = unitOfMeasureCode; + this.Timestamp = timestamp; + this.ConsiderOnlyDiscountAdviceConditions = considerOnlyDiscountAdviceConditions; + this.CalculationMode = calculationMode; + } + + /// + /// Gets or Sets ItemID + /// + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// Gets or Sets UnitOfMeasureCode + /// + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="timestamp", EmitDefaultValue=false)] + public string Timestamp { get; set; } + + /// + /// Gets or Sets ConsiderOnlyDiscountAdviceConditions + /// + [DataMember(Name="considerOnlyDiscountAdviceConditions", EmitDefaultValue=false)] + public bool? ConsiderOnlyDiscountAdviceConditions { get; set; } + + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" Timestamp: ").Append(Timestamp).Append("\n"); + sb.Append(" ConsiderOnlyDiscountAdviceConditions: ").Append(ConsiderOnlyDiscountAdviceConditions).Append("\n"); + sb.Append(" CalculationMode: ").Append(CalculationMode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.Timestamp == input.Timestamp || + (this.Timestamp != null && + this.Timestamp.Equals(input.Timestamp)) + ) && + ( + this.ConsiderOnlyDiscountAdviceConditions == input.ConsiderOnlyDiscountAdviceConditions || + (this.ConsiderOnlyDiscountAdviceConditions != null && + this.ConsiderOnlyDiscountAdviceConditions.Equals(input.ConsiderOnlyDiscountAdviceConditions)) + ) && + ( + this.CalculationMode == input.CalculationMode || + (this.CalculationMode != null && + this.CalculationMode.Equals(input.CalculationMode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.Timestamp != null) + hashCode = hashCode * 59 + this.Timestamp.GetHashCode(); + if (this.ConsiderOnlyDiscountAdviceConditions != null) + hashCode = hashCode * 59 + this.ConsiderOnlyDiscountAdviceConditions.GetHashCode(); + if (this.CalculationMode != null) + hashCode = hashCode * 59 + this.CalculationMode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..90b616f7b6ad9bc6d88afffee101bc637d37409a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO.cs @@ -0,0 +1,936 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionSO <p>This domain object contains the promotion data relevant for the Loyalty Engine.<br /></p><br /><p>Import from:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml (namespace <br /> <a href='http://www.gk-software.com/master_data/promotion_SE/'>http://www.gk-software.com/master_data/promotion_SE/</a>)<br /> </li><br /> <li>PromotionCPD.xml (namespace <br /> <a href='http://www.gk-software.com/masterdata/rebate'>http://www.gk-software.com/masterdata/rebate</a>)<br /> </li><br /> <li>masterData_Promotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/promotion/'>http://www.gk-software.com/storeweaver/master_data/promotion/</a>)<br /> </li><br /> <li>masterData_CustomerPromotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/customer_promotion/'>http://www.gk-software.com/storeweaver/master_data/customer_promotion/</a>)<br /> </li><br /></ul><br /><p>The imports from masterData_Promotion.xml and masterData_CustomerPromotion.xml are not intended for further use.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group.<br /></p>. + /// <p>External ident of the promotion<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ID</li><br /></ul> (required). + /// <p>Date and time when the promotion becomes effective<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.EffectiveDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.EffectiveDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The last date and time when this promotion is effective.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ExpiryDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Text to be displayed to the operator.<br /></p>. + /// <p>Text to be displayed to the customer.<br /></p>. + /// <p>Text which is to be printed on the receipt<br /></p> (required). + /// <p>Origin of the promotion<br /></p> (required). + /// <p>Promotion description<br /></p>. + /// <p>Promotion type<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionType</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionType</li><br /></ul>. + /// <p>list of promotion conditions<br /></p>. + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Not imported, generated.<br /></p>. + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Not imported, generated.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>Another external ident of the promotion.<br /> It is needed by/known to the retailer.<br /></p>. + /// <p>The date and time when the promotion was changed at latest.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>List of translations<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO(string businessUnitGroupID = default(string), string promotionID = default(string), string effectiveDateTime = default(string), string expirationDateTime = default(string), string operatorDisplayName = default(string), string customerDisplayName = default(string), string receiptPrinterName = default(string), string origin = default(string), string description = default(string), string promotionTypeID = default(string), List conditionList = default(List), string internalPromotionID = default(string), string packageID = default(string), string tid = default(string), string externalOfferID = default(string), string lastChangeTimestamp = default(string), List promotionTranslationList = default(List), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom11 = default(string), string xxcustom12 = default(string), string xxcustom13 = default(string), string xxcustom14 = default(string), string xxcustom15 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom16 = default(string), string xxcustom17 = default(string), string xxcustom18 = default(string), string xxcustom19 = default(string), string xxcustom20 = default(string), string xxcustom21 = default(string), string xxcustom22 = default(string), string xxcustom23 = default(string), string xxcustom24 = default(string), string xxcustom25 = default(string), string xxcustom26 = default(string), string xxcustom27 = default(string), string xxcustom28 = default(string), string xxcustom29 = default(string), string xxcustom30 = default(string), string xxcustom01 = default(string)) + { + // to ensure "promotionID" is required (not null) + if (promotionID == null) + { + throw new InvalidDataException("promotionID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO and cannot be null"); + } + else + { + this.PromotionID = promotionID; + } + // to ensure "receiptPrinterName" is required (not null) + if (receiptPrinterName == null) + { + throw new InvalidDataException("receiptPrinterName is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO and cannot be null"); + } + else + { + this.ReceiptPrinterName = receiptPrinterName; + } + // to ensure "origin" is required (not null) + if (origin == null) + { + throw new InvalidDataException("origin is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO and cannot be null"); + } + else + { + this.Origin = origin; + } + this.BusinessUnitGroupID = businessUnitGroupID; + this.EffectiveDateTime = effectiveDateTime; + this.ExpirationDateTime = expirationDateTime; + this.OperatorDisplayName = operatorDisplayName; + this.CustomerDisplayName = customerDisplayName; + this.Description = description; + this.PromotionTypeID = promotionTypeID; + this.ConditionList = conditionList; + this.InternalPromotionID = internalPromotionID; + this.PackageID = packageID; + this.Tid = tid; + this.ExternalOfferID = externalOfferID; + this.LastChangeTimestamp = lastChangeTimestamp; + this.PromotionTranslationList = promotionTranslationList; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom11 = xxcustom11; + this.Xxcustom12 = xxcustom12; + this.Xxcustom13 = xxcustom13; + this.Xxcustom14 = xxcustom14; + this.Xxcustom15 = xxcustom15; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom16 = xxcustom16; + this.Xxcustom17 = xxcustom17; + this.Xxcustom18 = xxcustom18; + this.Xxcustom19 = xxcustom19; + this.Xxcustom20 = xxcustom20; + this.Xxcustom21 = xxcustom21; + this.Xxcustom22 = xxcustom22; + this.Xxcustom23 = xxcustom23; + this.Xxcustom24 = xxcustom24; + this.Xxcustom25 = xxcustom25; + this.Xxcustom26 = xxcustom26; + this.Xxcustom27 = xxcustom27; + this.Xxcustom28 = xxcustom28; + this.Xxcustom29 = xxcustom29; + this.Xxcustom30 = xxcustom30; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>External ident of the promotion<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ID</li><br /></ul> + /// + /// <p>External ident of the promotion<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ID</li><br /></ul> + [DataMember(Name="promotionID", EmitDefaultValue=false)] + public string PromotionID { get; set; } + + /// + /// <p>Date and time when the promotion becomes effective<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.EffectiveDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.EffectiveDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date and time when the promotion becomes effective<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.EffectiveDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.EffectiveDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="effectiveDateTime", EmitDefaultValue=false)] + public string EffectiveDateTime { get; set; } + + /// + /// <p>The last date and time when this promotion is effective.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ExpiryDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The last date and time when this promotion is effective.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ExpiryDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="expirationDateTime", EmitDefaultValue=false)] + public string ExpirationDateTime { get; set; } + + /// + /// <p>Text to be displayed to the operator.<br /></p> + /// + /// <p>Text to be displayed to the operator.<br /></p> + [DataMember(Name="operatorDisplayName", EmitDefaultValue=false)] + public string OperatorDisplayName { get; set; } + + /// + /// <p>Text to be displayed to the customer.<br /></p> + /// + /// <p>Text to be displayed to the customer.<br /></p> + [DataMember(Name="customerDisplayName", EmitDefaultValue=false)] + public string CustomerDisplayName { get; set; } + + /// + /// <p>Text which is to be printed on the receipt<br /></p> + /// + /// <p>Text which is to be printed on the receipt<br /></p> + [DataMember(Name="receiptPrinterName", EmitDefaultValue=false)] + public string ReceiptPrinterName { get; set; } + + /// + /// <p>Origin of the promotion<br /></p> + /// + /// <p>Origin of the promotion<br /></p> + [DataMember(Name="origin", EmitDefaultValue=false)] + public string Origin { get; set; } + + /// + /// <p>Promotion description<br /></p> + /// + /// <p>Promotion description<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>Promotion type<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionType</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionType</li><br /></ul> + /// + /// <p>Promotion type<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionType</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionType</li><br /></ul> + [DataMember(Name="promotionTypeID", EmitDefaultValue=false)] + public string PromotionTypeID { get; set; } + + /// + /// <p>list of promotion conditions<br /></p> + /// + /// <p>list of promotion conditions<br /></p> + [DataMember(Name="conditionList", EmitDefaultValue=false)] + public List ConditionList { get; set; } + + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Not imported, generated.<br /></p> + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Not imported, generated.<br /></p> + [DataMember(Name="internalPromotionID", EmitDefaultValue=false)] + public string InternalPromotionID { get; set; } + + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Not imported, generated.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Not imported, generated.<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>Another external ident of the promotion.<br /> It is needed by/known to the retailer.<br /></p> + /// + /// <p>Another external ident of the promotion.<br /> It is needed by/known to the retailer.<br /></p> + [DataMember(Name="externalOfferID", EmitDefaultValue=false)] + public string ExternalOfferID { get; set; } + + /// + /// <p>The date and time when the promotion was changed at latest.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date and time when the promotion was changed at latest.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="lastChangeTimestamp", EmitDefaultValue=false)] + public string LastChangeTimestamp { get; set; } + + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + [DataMember(Name="promotionTranslationList", EmitDefaultValue=false)] + public List PromotionTranslationList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom11", EmitDefaultValue=false)] + public string Xxcustom11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom12", EmitDefaultValue=false)] + public string Xxcustom12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom13", EmitDefaultValue=false)] + public string Xxcustom13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom14", EmitDefaultValue=false)] + public string Xxcustom14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom15", EmitDefaultValue=false)] + public string Xxcustom15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom16", EmitDefaultValue=false)] + public string Xxcustom16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom17", EmitDefaultValue=false)] + public string Xxcustom17 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom18", EmitDefaultValue=false)] + public string Xxcustom18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom19", EmitDefaultValue=false)] + public string Xxcustom19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom20", EmitDefaultValue=false)] + public string Xxcustom20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom21", EmitDefaultValue=false)] + public string Xxcustom21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom22", EmitDefaultValue=false)] + public string Xxcustom22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom23", EmitDefaultValue=false)] + public string Xxcustom23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom24", EmitDefaultValue=false)] + public string Xxcustom24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom25", EmitDefaultValue=false)] + public string Xxcustom25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom26", EmitDefaultValue=false)] + public string Xxcustom26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom27", EmitDefaultValue=false)] + public string Xxcustom27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom28", EmitDefaultValue=false)] + public string Xxcustom28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom29", EmitDefaultValue=false)] + public string Xxcustom29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom30", EmitDefaultValue=false)] + public string Xxcustom30 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" PromotionID: ").Append(PromotionID).Append("\n"); + sb.Append(" EffectiveDateTime: ").Append(EffectiveDateTime).Append("\n"); + sb.Append(" ExpirationDateTime: ").Append(ExpirationDateTime).Append("\n"); + sb.Append(" OperatorDisplayName: ").Append(OperatorDisplayName).Append("\n"); + sb.Append(" CustomerDisplayName: ").Append(CustomerDisplayName).Append("\n"); + sb.Append(" ReceiptPrinterName: ").Append(ReceiptPrinterName).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" PromotionTypeID: ").Append(PromotionTypeID).Append("\n"); + sb.Append(" ConditionList: ").Append(ConditionList).Append("\n"); + sb.Append(" InternalPromotionID: ").Append(InternalPromotionID).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" ExternalOfferID: ").Append(ExternalOfferID).Append("\n"); + sb.Append(" LastChangeTimestamp: ").Append(LastChangeTimestamp).Append("\n"); + sb.Append(" PromotionTranslationList: ").Append(PromotionTranslationList).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom11: ").Append(Xxcustom11).Append("\n"); + sb.Append(" Xxcustom12: ").Append(Xxcustom12).Append("\n"); + sb.Append(" Xxcustom13: ").Append(Xxcustom13).Append("\n"); + sb.Append(" Xxcustom14: ").Append(Xxcustom14).Append("\n"); + sb.Append(" Xxcustom15: ").Append(Xxcustom15).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom16: ").Append(Xxcustom16).Append("\n"); + sb.Append(" Xxcustom17: ").Append(Xxcustom17).Append("\n"); + sb.Append(" Xxcustom18: ").Append(Xxcustom18).Append("\n"); + sb.Append(" Xxcustom19: ").Append(Xxcustom19).Append("\n"); + sb.Append(" Xxcustom20: ").Append(Xxcustom20).Append("\n"); + sb.Append(" Xxcustom21: ").Append(Xxcustom21).Append("\n"); + sb.Append(" Xxcustom22: ").Append(Xxcustom22).Append("\n"); + sb.Append(" Xxcustom23: ").Append(Xxcustom23).Append("\n"); + sb.Append(" Xxcustom24: ").Append(Xxcustom24).Append("\n"); + sb.Append(" Xxcustom25: ").Append(Xxcustom25).Append("\n"); + sb.Append(" Xxcustom26: ").Append(Xxcustom26).Append("\n"); + sb.Append(" Xxcustom27: ").Append(Xxcustom27).Append("\n"); + sb.Append(" Xxcustom28: ").Append(Xxcustom28).Append("\n"); + sb.Append(" Xxcustom29: ").Append(Xxcustom29).Append("\n"); + sb.Append(" Xxcustom30: ").Append(Xxcustom30).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.PromotionID == input.PromotionID || + (this.PromotionID != null && + this.PromotionID.Equals(input.PromotionID)) + ) && + ( + this.EffectiveDateTime == input.EffectiveDateTime || + (this.EffectiveDateTime != null && + this.EffectiveDateTime.Equals(input.EffectiveDateTime)) + ) && + ( + this.ExpirationDateTime == input.ExpirationDateTime || + (this.ExpirationDateTime != null && + this.ExpirationDateTime.Equals(input.ExpirationDateTime)) + ) && + ( + this.OperatorDisplayName == input.OperatorDisplayName || + (this.OperatorDisplayName != null && + this.OperatorDisplayName.Equals(input.OperatorDisplayName)) + ) && + ( + this.CustomerDisplayName == input.CustomerDisplayName || + (this.CustomerDisplayName != null && + this.CustomerDisplayName.Equals(input.CustomerDisplayName)) + ) && + ( + this.ReceiptPrinterName == input.ReceiptPrinterName || + (this.ReceiptPrinterName != null && + this.ReceiptPrinterName.Equals(input.ReceiptPrinterName)) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.PromotionTypeID == input.PromotionTypeID || + (this.PromotionTypeID != null && + this.PromotionTypeID.Equals(input.PromotionTypeID)) + ) && + ( + this.ConditionList == input.ConditionList || + this.ConditionList != null && + this.ConditionList.SequenceEqual(input.ConditionList) + ) && + ( + this.InternalPromotionID == input.InternalPromotionID || + (this.InternalPromotionID != null && + this.InternalPromotionID.Equals(input.InternalPromotionID)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.ExternalOfferID == input.ExternalOfferID || + (this.ExternalOfferID != null && + this.ExternalOfferID.Equals(input.ExternalOfferID)) + ) && + ( + this.LastChangeTimestamp == input.LastChangeTimestamp || + (this.LastChangeTimestamp != null && + this.LastChangeTimestamp.Equals(input.LastChangeTimestamp)) + ) && + ( + this.PromotionTranslationList == input.PromotionTranslationList || + this.PromotionTranslationList != null && + this.PromotionTranslationList.SequenceEqual(input.PromotionTranslationList) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom11 == input.Xxcustom11 || + (this.Xxcustom11 != null && + this.Xxcustom11.Equals(input.Xxcustom11)) + ) && + ( + this.Xxcustom12 == input.Xxcustom12 || + (this.Xxcustom12 != null && + this.Xxcustom12.Equals(input.Xxcustom12)) + ) && + ( + this.Xxcustom13 == input.Xxcustom13 || + (this.Xxcustom13 != null && + this.Xxcustom13.Equals(input.Xxcustom13)) + ) && + ( + this.Xxcustom14 == input.Xxcustom14 || + (this.Xxcustom14 != null && + this.Xxcustom14.Equals(input.Xxcustom14)) + ) && + ( + this.Xxcustom15 == input.Xxcustom15 || + (this.Xxcustom15 != null && + this.Xxcustom15.Equals(input.Xxcustom15)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom16 == input.Xxcustom16 || + (this.Xxcustom16 != null && + this.Xxcustom16.Equals(input.Xxcustom16)) + ) && + ( + this.Xxcustom17 == input.Xxcustom17 || + (this.Xxcustom17 != null && + this.Xxcustom17.Equals(input.Xxcustom17)) + ) && + ( + this.Xxcustom18 == input.Xxcustom18 || + (this.Xxcustom18 != null && + this.Xxcustom18.Equals(input.Xxcustom18)) + ) && + ( + this.Xxcustom19 == input.Xxcustom19 || + (this.Xxcustom19 != null && + this.Xxcustom19.Equals(input.Xxcustom19)) + ) && + ( + this.Xxcustom20 == input.Xxcustom20 || + (this.Xxcustom20 != null && + this.Xxcustom20.Equals(input.Xxcustom20)) + ) && + ( + this.Xxcustom21 == input.Xxcustom21 || + (this.Xxcustom21 != null && + this.Xxcustom21.Equals(input.Xxcustom21)) + ) && + ( + this.Xxcustom22 == input.Xxcustom22 || + (this.Xxcustom22 != null && + this.Xxcustom22.Equals(input.Xxcustom22)) + ) && + ( + this.Xxcustom23 == input.Xxcustom23 || + (this.Xxcustom23 != null && + this.Xxcustom23.Equals(input.Xxcustom23)) + ) && + ( + this.Xxcustom24 == input.Xxcustom24 || + (this.Xxcustom24 != null && + this.Xxcustom24.Equals(input.Xxcustom24)) + ) && + ( + this.Xxcustom25 == input.Xxcustom25 || + (this.Xxcustom25 != null && + this.Xxcustom25.Equals(input.Xxcustom25)) + ) && + ( + this.Xxcustom26 == input.Xxcustom26 || + (this.Xxcustom26 != null && + this.Xxcustom26.Equals(input.Xxcustom26)) + ) && + ( + this.Xxcustom27 == input.Xxcustom27 || + (this.Xxcustom27 != null && + this.Xxcustom27.Equals(input.Xxcustom27)) + ) && + ( + this.Xxcustom28 == input.Xxcustom28 || + (this.Xxcustom28 != null && + this.Xxcustom28.Equals(input.Xxcustom28)) + ) && + ( + this.Xxcustom29 == input.Xxcustom29 || + (this.Xxcustom29 != null && + this.Xxcustom29.Equals(input.Xxcustom29)) + ) && + ( + this.Xxcustom30 == input.Xxcustom30 || + (this.Xxcustom30 != null && + this.Xxcustom30.Equals(input.Xxcustom30)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.PromotionID != null) + hashCode = hashCode * 59 + this.PromotionID.GetHashCode(); + if (this.EffectiveDateTime != null) + hashCode = hashCode * 59 + this.EffectiveDateTime.GetHashCode(); + if (this.ExpirationDateTime != null) + hashCode = hashCode * 59 + this.ExpirationDateTime.GetHashCode(); + if (this.OperatorDisplayName != null) + hashCode = hashCode * 59 + this.OperatorDisplayName.GetHashCode(); + if (this.CustomerDisplayName != null) + hashCode = hashCode * 59 + this.CustomerDisplayName.GetHashCode(); + if (this.ReceiptPrinterName != null) + hashCode = hashCode * 59 + this.ReceiptPrinterName.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.PromotionTypeID != null) + hashCode = hashCode * 59 + this.PromotionTypeID.GetHashCode(); + if (this.ConditionList != null) + hashCode = hashCode * 59 + this.ConditionList.GetHashCode(); + if (this.InternalPromotionID != null) + hashCode = hashCode * 59 + this.InternalPromotionID.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.ExternalOfferID != null) + hashCode = hashCode * 59 + this.ExternalOfferID.GetHashCode(); + if (this.LastChangeTimestamp != null) + hashCode = hashCode * 59 + this.LastChangeTimestamp.GetHashCode(); + if (this.PromotionTranslationList != null) + hashCode = hashCode * 59 + this.PromotionTranslationList.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom11 != null) + hashCode = hashCode * 59 + this.Xxcustom11.GetHashCode(); + if (this.Xxcustom12 != null) + hashCode = hashCode * 59 + this.Xxcustom12.GetHashCode(); + if (this.Xxcustom13 != null) + hashCode = hashCode * 59 + this.Xxcustom13.GetHashCode(); + if (this.Xxcustom14 != null) + hashCode = hashCode * 59 + this.Xxcustom14.GetHashCode(); + if (this.Xxcustom15 != null) + hashCode = hashCode * 59 + this.Xxcustom15.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom16 != null) + hashCode = hashCode * 59 + this.Xxcustom16.GetHashCode(); + if (this.Xxcustom17 != null) + hashCode = hashCode * 59 + this.Xxcustom17.GetHashCode(); + if (this.Xxcustom18 != null) + hashCode = hashCode * 59 + this.Xxcustom18.GetHashCode(); + if (this.Xxcustom19 != null) + hashCode = hashCode * 59 + this.Xxcustom19.GetHashCode(); + if (this.Xxcustom20 != null) + hashCode = hashCode * 59 + this.Xxcustom20.GetHashCode(); + if (this.Xxcustom21 != null) + hashCode = hashCode * 59 + this.Xxcustom21.GetHashCode(); + if (this.Xxcustom22 != null) + hashCode = hashCode * 59 + this.Xxcustom22.GetHashCode(); + if (this.Xxcustom23 != null) + hashCode = hashCode * 59 + this.Xxcustom23.GetHashCode(); + if (this.Xxcustom24 != null) + hashCode = hashCode * 59 + this.Xxcustom24.GetHashCode(); + if (this.Xxcustom25 != null) + hashCode = hashCode * 59 + this.Xxcustom25.GetHashCode(); + if (this.Xxcustom26 != null) + hashCode = hashCode * 59 + this.Xxcustom26.GetHashCode(); + if (this.Xxcustom27 != null) + hashCode = hashCode * 59 + this.Xxcustom27.GetHashCode(); + if (this.Xxcustom28 != null) + hashCode = hashCode * 59 + this.Xxcustom28.GetHashCode(); + if (this.Xxcustom29 != null) + hashCode = hashCode * 59 + this.Xxcustom29.GetHashCode(); + if (this.Xxcustom30 != null) + hashCode = hashCode * 59 + this.Xxcustom30.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..755c992c719c45b5b786e0c69b93b891fd220dac --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO.cs @@ -0,0 +1,206 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionTranslationSO <p>Translation of the promotion texts in one language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language id<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /></ul> (required). + /// <p>Translation of the text to be displayed to the operator.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /></ul>. + /// <p>Translation of the text to be displayed to the customer.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /></ul>. + /// <p>Translation of the text to be printed on the receipt<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /></ul>. + /// <p>Translation of the short description<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /></ul>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO(string languageID = default(string), string operatorDisplayName = default(string), string customerDisplayName = default(string), string receiptPrinterName = default(string), string description = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.OperatorDisplayName = operatorDisplayName; + this.CustomerDisplayName = customerDisplayName; + this.ReceiptPrinterName = receiptPrinterName; + this.Description = description; + } + + /// + /// <p>Language id<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /></ul> + /// + /// <p>Language id<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /></ul> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Translation of the text to be displayed to the operator.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /></ul> + /// + /// <p>Translation of the text to be displayed to the operator.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /></ul> + [DataMember(Name="operatorDisplayName", EmitDefaultValue=false)] + public string OperatorDisplayName { get; set; } + + /// + /// <p>Translation of the text to be displayed to the customer.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /></ul> + /// + /// <p>Translation of the text to be displayed to the customer.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /></ul> + [DataMember(Name="customerDisplayName", EmitDefaultValue=false)] + public string CustomerDisplayName { get; set; } + + /// + /// <p>Translation of the text to be printed on the receipt<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /></ul> + /// + /// <p>Translation of the text to be printed on the receipt<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /></ul> + [DataMember(Name="receiptPrinterName", EmitDefaultValue=false)] + public string ReceiptPrinterName { get; set; } + + /// + /// <p>Translation of the short description<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /></ul> + /// + /// <p>Translation of the short description<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /></ul> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" OperatorDisplayName: ").Append(OperatorDisplayName).Append("\n"); + sb.Append(" CustomerDisplayName: ").Append(CustomerDisplayName).Append("\n"); + sb.Append(" ReceiptPrinterName: ").Append(ReceiptPrinterName).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.OperatorDisplayName == input.OperatorDisplayName || + (this.OperatorDisplayName != null && + this.OperatorDisplayName.Equals(input.OperatorDisplayName)) + ) && + ( + this.CustomerDisplayName == input.CustomerDisplayName || + (this.CustomerDisplayName != null && + this.CustomerDisplayName.Equals(input.CustomerDisplayName)) + ) && + ( + this.ReceiptPrinterName == input.ReceiptPrinterName || + (this.ReceiptPrinterName != null && + this.ReceiptPrinterName.Equals(input.ReceiptPrinterName)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.OperatorDisplayName != null) + hashCode = hashCode * 59 + this.OperatorDisplayName.GetHashCode(); + if (this.CustomerDisplayName != null) + hashCode = hashCode * 59 + this.CustomerDisplayName.GetHashCode(); + if (this.ReceiptPrinterName != null) + hashCode = hashCode * 59 + this.ReceiptPrinterName.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..5fb6169b1c4572c318ec73ae20ebdbd699199e71 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO.cs @@ -0,0 +1,257 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// TimePeriodSO <p>Time period<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO : IEquatable, IValidatableObject + { + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /></ul> + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum DayOfWeekEnum + { + + /// + /// Enum MO for value: MO + /// + [EnumMember(Value = "MO")] + MO = 1, + + /// + /// Enum TU for value: TU + /// + [EnumMember(Value = "TU")] + TU = 2, + + /// + /// Enum WE for value: WE + /// + [EnumMember(Value = "WE")] + WE = 3, + + /// + /// Enum TH for value: TH + /// + [EnumMember(Value = "TH")] + TH = 4, + + /// + /// Enum FR for value: FR + /// + [EnumMember(Value = "FR")] + FR = 5, + + /// + /// Enum SA for value: SA + /// + [EnumMember(Value = "SA")] + SA = 6, + + /// + /// Enum SU for value: SU + /// + [EnumMember(Value = "SU")] + SU = 7 + } + + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /></ul> + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /></ul> + [DataMember(Name="dayOfWeek", EmitDefaultValue=false)] + public DayOfWeekEnum? DayOfWeek { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /></ul>. + /// <p>The time of day that the time period commences<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>The duration included in the time period from the start time<br /></p>. + /// <p>ID of the time period<br /></p><br /><p>Generated, not imported.<br /></p> (required). + /// <p>The time restriction in cron format.<br /></p>. + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO(DayOfWeekEnum? dayOfWeek = default(DayOfWeekEnum?), string startTime = default(string), int? duration = default(int?), string internalTimePeriodID = default(string), string timeRestriction = default(string)) + { + // to ensure "internalTimePeriodID" is required (not null) + if (internalTimePeriodID == null) + { + throw new InvalidDataException("internalTimePeriodID is a required property for ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO and cannot be null"); + } + else + { + this.InternalTimePeriodID = internalTimePeriodID; + } + this.DayOfWeek = dayOfWeek; + this.StartTime = startTime; + this.Duration = duration; + this.TimeRestriction = timeRestriction; + } + + + /// + /// <p>The time of day that the time period commences<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The time of day that the time period commences<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="startTime", EmitDefaultValue=false)] + public string StartTime { get; set; } + + /// + /// <p>The duration included in the time period from the start time<br /></p> + /// + /// <p>The duration included in the time period from the start time<br /></p> + [DataMember(Name="duration", EmitDefaultValue=false)] + public int? Duration { get; set; } + + /// + /// <p>ID of the time period<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>ID of the time period<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="internalTimePeriodID", EmitDefaultValue=false)] + public string InternalTimePeriodID { get; set; } + + /// + /// <p>The time restriction in cron format.<br /></p> + /// + /// <p>The time restriction in cron format.<br /></p> + [DataMember(Name="timeRestriction", EmitDefaultValue=false)] + public string TimeRestriction { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO {\n"); + sb.Append(" DayOfWeek: ").Append(DayOfWeek).Append("\n"); + sb.Append(" StartTime: ").Append(StartTime).Append("\n"); + sb.Append(" Duration: ").Append(Duration).Append("\n"); + sb.Append(" InternalTimePeriodID: ").Append(InternalTimePeriodID).Append("\n"); + sb.Append(" TimeRestriction: ").Append(TimeRestriction).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO input) + { + if (input == null) + return false; + + return + ( + this.DayOfWeek == input.DayOfWeek || + (this.DayOfWeek != null && + this.DayOfWeek.Equals(input.DayOfWeek)) + ) && + ( + this.StartTime == input.StartTime || + (this.StartTime != null && + this.StartTime.Equals(input.StartTime)) + ) && + ( + this.Duration == input.Duration || + (this.Duration != null && + this.Duration.Equals(input.Duration)) + ) && + ( + this.InternalTimePeriodID == input.InternalTimePeriodID || + (this.InternalTimePeriodID != null && + this.InternalTimePeriodID.Equals(input.InternalTimePeriodID)) + ) && + ( + this.TimeRestriction == input.TimeRestriction || + (this.TimeRestriction != null && + this.TimeRestriction.Equals(input.TimeRestriction)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.DayOfWeek != null) + hashCode = hashCode * 59 + this.DayOfWeek.GetHashCode(); + if (this.StartTime != null) + hashCode = hashCode * 59 + this.StartTime.GetHashCode(); + if (this.Duration != null) + hashCode = hashCode * 59 + this.Duration.GetHashCode(); + if (this.InternalTimePeriodID != null) + hashCode = hashCode * 59 + this.InternalTimePeriodID.GetHashCode(); + if (this.TimeRestriction != null) + hashCode = hashCode * 59 + this.TimeRestriction.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..2865fdccc507744d09b6ad6e174874ec233331ab --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReasonCodeGroupParameterSO <p>Parameter defined for the reason group<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Code of the reason group<br /></p> (required). + /// <p>Reason code group parameter code<br /></p>. + /// <p>Reason code group parameter name<br /></p>. + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO(string reasonCodeGroupCode = default(string), string reasonCodeGroupParameterCode = default(string), string reasonCodeGroupParameterName = default(string)) + { + // to ensure "reasonCodeGroupCode" is required (not null) + if (reasonCodeGroupCode == null) + { + throw new InvalidDataException("reasonCodeGroupCode is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO and cannot be null"); + } + else + { + this.ReasonCodeGroupCode = reasonCodeGroupCode; + } + this.ReasonCodeGroupParameterCode = reasonCodeGroupParameterCode; + this.ReasonCodeGroupParameterName = reasonCodeGroupParameterName; + } + + /// + /// <p>Code of the reason group<br /></p> + /// + /// <p>Code of the reason group<br /></p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>Reason code group parameter code<br /></p> + /// + /// <p>Reason code group parameter code<br /></p> + [DataMember(Name="reasonCodeGroupParameterCode", EmitDefaultValue=false)] + public string ReasonCodeGroupParameterCode { get; set; } + + /// + /// <p>Reason code group parameter name<br /></p> + /// + /// <p>Reason code group parameter name<br /></p> + [DataMember(Name="reasonCodeGroupParameterName", EmitDefaultValue=false)] + public string ReasonCodeGroupParameterName { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO {\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonCodeGroupParameterCode: ").Append(ReasonCodeGroupParameterCode).Append("\n"); + sb.Append(" ReasonCodeGroupParameterName: ").Append(ReasonCodeGroupParameterName).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO input) + { + if (input == null) + return false; + + return + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonCodeGroupParameterCode == input.ReasonCodeGroupParameterCode || + (this.ReasonCodeGroupParameterCode != null && + this.ReasonCodeGroupParameterCode.Equals(input.ReasonCodeGroupParameterCode)) + ) && + ( + this.ReasonCodeGroupParameterName == input.ReasonCodeGroupParameterName || + (this.ReasonCodeGroupParameterName != null && + this.ReasonCodeGroupParameterName.Equals(input.ReasonCodeGroupParameterName)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonCodeGroupParameterCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupParameterCode.GetHashCode(); + if (this.ReasonCodeGroupParameterName != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupParameterName.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..cbfdd51f202521911cdc8d4e82952ea3c9ed4db8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO.cs @@ -0,0 +1,358 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReasonCodeGroupSO <p>Reason code group master data. Reason groups represent e.g. various processes.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO : IEquatable, IValidatableObject + { + /// + /// Defines Origin + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum OriginEnum + { + + /// + /// Enum PARENTCOPY for value: PARENT_COPY + /// + [EnumMember(Value = "PARENT_COPY")] + PARENTCOPY = 1, + + /// + /// Enum IMPORT for value: IMPORT + /// + [EnumMember(Value = "IMPORT")] + IMPORT = 2, + + /// + /// Enum MANUAL for value: MANUAL + /// + [EnumMember(Value = "MANUAL")] + MANUAL = 3 + } + + /// + /// Gets or Sets Origin + /// + [DataMember(Name="origin", EmitDefaultValue=false)] + public OriginEnum? Origin { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.<br /></p> (required). + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from ReasonCodeGroup.BugHeader or if not filled, then from ReasonCodeGroupMasterData.BugHeader. If not filled, then the data is globally valid.<br /></p> (required). + /// <p>Description of the reason code group<br /></p>. + /// <p>List of parameters defined for this reason code group<br /></p><br /><p>Not used, not imported.<br /></p>. + /// <p>Translation identifier<br /></p>. + /// <p>List of translations<br /></p>. + /// origin. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO(string reasonCodeGroupCode = default(string), string businessUnitGroupID = default(string), string reasonCodeGroupDescription = default(string), List reasonCodeGroupParameterList = default(List), string tid = default(string), List translations = default(List), OriginEnum? origin = default(OriginEnum?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "reasonCodeGroupCode" is required (not null) + if (reasonCodeGroupCode == null) + { + throw new InvalidDataException("reasonCodeGroupCode is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO and cannot be null"); + } + else + { + this.ReasonCodeGroupCode = reasonCodeGroupCode; + } + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + this.ReasonCodeGroupDescription = reasonCodeGroupDescription; + this.ReasonCodeGroupParameterList = reasonCodeGroupParameterList; + this.Tid = tid; + this.Translations = translations; + this.Origin = origin; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.<br /></p> + /// + /// <p>A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.<br /></p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from ReasonCodeGroup.BugHeader or if not filled, then from ReasonCodeGroupMasterData.BugHeader. If not filled, then the data is globally valid.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from ReasonCodeGroup.BugHeader or if not filled, then from ReasonCodeGroupMasterData.BugHeader. If not filled, then the data is globally valid.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Description of the reason code group<br /></p> + /// + /// <p>Description of the reason code group<br /></p> + [DataMember(Name="reasonCodeGroupDescription", EmitDefaultValue=false)] + public string ReasonCodeGroupDescription { get; set; } + + /// + /// <p>List of parameters defined for this reason code group<br /></p><br /><p>Not used, not imported.<br /></p> + /// + /// <p>List of parameters defined for this reason code group<br /></p><br /><p>Not used, not imported.<br /></p> + [DataMember(Name="reasonCodeGroupParameterList", EmitDefaultValue=false)] + public List ReasonCodeGroupParameterList { get; set; } + + /// + /// <p>Translation identifier<br /></p> + /// + /// <p>Translation identifier<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + [DataMember(Name="translations", EmitDefaultValue=false)] + public List Translations { get; set; } + + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO {\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ReasonCodeGroupDescription: ").Append(ReasonCodeGroupDescription).Append("\n"); + sb.Append(" ReasonCodeGroupParameterList: ").Append(ReasonCodeGroupParameterList).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Translations: ").Append(Translations).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO input) + { + if (input == null) + return false; + + return + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ReasonCodeGroupDescription == input.ReasonCodeGroupDescription || + (this.ReasonCodeGroupDescription != null && + this.ReasonCodeGroupDescription.Equals(input.ReasonCodeGroupDescription)) + ) && + ( + this.ReasonCodeGroupParameterList == input.ReasonCodeGroupParameterList || + this.ReasonCodeGroupParameterList != null && + this.ReasonCodeGroupParameterList.SequenceEqual(input.ReasonCodeGroupParameterList) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Translations == input.Translations || + this.Translations != null && + this.Translations.SequenceEqual(input.Translations) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ReasonCodeGroupDescription != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupDescription.GetHashCode(); + if (this.ReasonCodeGroupParameterList != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupParameterList.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Translations != null) + hashCode = hashCode * 59 + this.Translations.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..284afd360b7f1bc94a8ac5ea4c012f82454b7ec9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReasonCodeGroupTranslationSO <p>Translation of reason group texts in a specific language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language ISO code identification<br /></p> (required). + /// <p>Localized description of the reason group in the given language<br /></p>. + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO(string languageID = default(string), string reasonCodeGroupDescription = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.ReasonCodeGroupDescription = reasonCodeGroupDescription; + } + + /// + /// <p>Language ISO code identification<br /></p> + /// + /// <p>Language ISO code identification<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Localized description of the reason group in the given language<br /></p> + /// + /// <p>Localized description of the reason group in the given language<br /></p> + [DataMember(Name="reasonCodeGroupDescription", EmitDefaultValue=false)] + public string ReasonCodeGroupDescription { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" ReasonCodeGroupDescription: ").Append(ReasonCodeGroupDescription).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.ReasonCodeGroupDescription == input.ReasonCodeGroupDescription || + (this.ReasonCodeGroupDescription != null && + this.ReasonCodeGroupDescription.Equals(input.ReasonCodeGroupDescription)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.ReasonCodeGroupDescription != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupDescription.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..f1a5c598bd1d22cc366e1c7702ed6351d4ce107a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReasonParameterSO <p>Reason parameter.<br /> The parameters are not used in a generalized, cross-process manner. Each process uses its own parameters.<br /> Meaning of the most important parameters in the merchandise management processes:<br /></p><br /><ul><br /> <li>SAP_BEWART � movement type of the leading system</li><br /> <li>SAP_GRUND � reason code of the leading system</li><br /> <li>AUTO_RELEASE � defines whether the documents registered on the handheld are automatically released</li><br /> <li>SKIP_ON_MOBILE � defines whether the reason is displayed on the mobile handheld device.</li><br /> <li>STOCK_IMPACT � determines the way in which the movement affects item stock (0 � no impact, 1 � increase, -1 = decrease)</li><br /></ul> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Reason parameter code<br /></p> (required). + /// <p>Reason parameter name<br /></p>. + /// <p>Reason parameter value<br /></p>. + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO(string reasonParameterCode = default(string), string reasonParameterName = default(string), string reasonParameterValue = default(string)) + { + // to ensure "reasonParameterCode" is required (not null) + if (reasonParameterCode == null) + { + throw new InvalidDataException("reasonParameterCode is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO and cannot be null"); + } + else + { + this.ReasonParameterCode = reasonParameterCode; + } + this.ReasonParameterName = reasonParameterName; + this.ReasonParameterValue = reasonParameterValue; + } + + /// + /// <p>Reason parameter code<br /></p> + /// + /// <p>Reason parameter code<br /></p> + [DataMember(Name="reasonParameterCode", EmitDefaultValue=false)] + public string ReasonParameterCode { get; set; } + + /// + /// <p>Reason parameter name<br /></p> + /// + /// <p>Reason parameter name<br /></p> + [DataMember(Name="reasonParameterName", EmitDefaultValue=false)] + public string ReasonParameterName { get; set; } + + /// + /// <p>Reason parameter value<br /></p> + /// + /// <p>Reason parameter value<br /></p> + [DataMember(Name="reasonParameterValue", EmitDefaultValue=false)] + public string ReasonParameterValue { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO {\n"); + sb.Append(" ReasonParameterCode: ").Append(ReasonParameterCode).Append("\n"); + sb.Append(" ReasonParameterName: ").Append(ReasonParameterName).Append("\n"); + sb.Append(" ReasonParameterValue: ").Append(ReasonParameterValue).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO input) + { + if (input == null) + return false; + + return + ( + this.ReasonParameterCode == input.ReasonParameterCode || + (this.ReasonParameterCode != null && + this.ReasonParameterCode.Equals(input.ReasonParameterCode)) + ) && + ( + this.ReasonParameterName == input.ReasonParameterName || + (this.ReasonParameterName != null && + this.ReasonParameterName.Equals(input.ReasonParameterName)) + ) && + ( + this.ReasonParameterValue == input.ReasonParameterValue || + (this.ReasonParameterValue != null && + this.ReasonParameterValue.Equals(input.ReasonParameterValue)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReasonParameterCode != null) + hashCode = hashCode * 59 + this.ReasonParameterCode.GetHashCode(); + if (this.ReasonParameterName != null) + hashCode = hashCode * 59 + this.ReasonParameterName.GetHashCode(); + if (this.ReasonParameterValue != null) + hashCode = hashCode * 59 + this.ReasonParameterValue.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..87dd875b63593ebe5467d894d8714c6791c20be7 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO.cs @@ -0,0 +1,436 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReasonSO <p>Reasons are used for sale and merchandise management processes. They are used to designate different goods movements. Reasons may contain a number of parameters. Each parameter has a defined name with a certain meaning for the respective process.<br /> Reasons are grouped by processes. Each reason is identified based on a combination of code + group.<br /> Each group has a fixed code. The reasons belonging to this group are used in the respective process.<br /></p><br /><p>Import from masterData_Reason.xml.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO : IEquatable, IValidatableObject + { + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [JsonConverter(typeof(StringEnumConverter))] + public enum OriginEnum + { + + /// + /// Enum PARENTCOPY for value: PARENT_COPY + /// + [EnumMember(Value = "PARENT_COPY")] + PARENTCOPY = 1, + + /// + /// Enum IMPORT for value: IMPORT + /// + [EnumMember(Value = "IMPORT")] + IMPORT = 2, + + /// + /// Enum MANUAL for value: MANUAL + /// + [EnumMember(Value = "MANUAL")] + MANUAL = 3 + } + + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + [DataMember(Name="origin", EmitDefaultValue=false)] + public OriginEnum? Origin { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from Reason.BugHeader or if not filled, then from ReasonMasterData.BugHeader. If not filled, then the reason is globally valid.<br /></p> (required). + /// <p>Long description of the reason<br /></p>. + /// <p>Reason short text<br /></p>. + /// <p>Code of the group to which the reason belongs<br /></p> (required). + /// <p>Description of the assigned reason group; for information purposes<br /></p><br /><p>Not imported, loaded from ReasonCodeGroupSO.reasonCodeGroupDescription<br /></p>. + /// <p>Defines the order within a group for display in the graphical user interface<br /></p>. + /// <p>List of reason parameters<br /></p>. + /// <p>Translation identifier<br /></p>. + /// <p>List of translations<br /></p>. + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>A unique retailer defined reason code for an action that is taken (or not taken) at a workstation / device.<br /></p> (required). + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO(string businessUnitGroupID = default(string), string reasonDescription = default(string), string reasonShortText = default(string), string reasonCodeGroupCode = default(string), string reasonCodeGroupDescription = default(string), int? reasonOrder = default(int?), List reasonParameterList = default(List), string tid = default(string), List translations = default(List), OriginEnum? origin = default(OriginEnum?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string), string reasonCode = default(string)) + { + // to ensure "businessUnitGroupID" is required (not null) + if (businessUnitGroupID == null) + { + throw new InvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO and cannot be null"); + } + else + { + this.BusinessUnitGroupID = businessUnitGroupID; + } + // to ensure "reasonCodeGroupCode" is required (not null) + if (reasonCodeGroupCode == null) + { + throw new InvalidDataException("reasonCodeGroupCode is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO and cannot be null"); + } + else + { + this.ReasonCodeGroupCode = reasonCodeGroupCode; + } + // to ensure "reasonCode" is required (not null) + if (reasonCode == null) + { + throw new InvalidDataException("reasonCode is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO and cannot be null"); + } + else + { + this.ReasonCode = reasonCode; + } + this.ReasonDescription = reasonDescription; + this.ReasonShortText = reasonShortText; + this.ReasonCodeGroupDescription = reasonCodeGroupDescription; + this.ReasonOrder = reasonOrder; + this.ReasonParameterList = reasonParameterList; + this.Tid = tid; + this.Translations = translations; + this.Origin = origin; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from Reason.BugHeader or if not filled, then from ReasonMasterData.BugHeader. If not filled, then the reason is globally valid.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from Reason.BugHeader or if not filled, then from ReasonMasterData.BugHeader. If not filled, then the reason is globally valid.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>Long description of the reason<br /></p> + /// + /// <p>Long description of the reason<br /></p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>Reason short text<br /></p> + /// + /// <p>Reason short text<br /></p> + [DataMember(Name="reasonShortText", EmitDefaultValue=false)] + public string ReasonShortText { get; set; } + + /// + /// <p>Code of the group to which the reason belongs<br /></p> + /// + /// <p>Code of the group to which the reason belongs<br /></p> + [DataMember(Name="reasonCodeGroupCode", EmitDefaultValue=false)] + public string ReasonCodeGroupCode { get; set; } + + /// + /// <p>Description of the assigned reason group; for information purposes<br /></p><br /><p>Not imported, loaded from ReasonCodeGroupSO.reasonCodeGroupDescription<br /></p> + /// + /// <p>Description of the assigned reason group; for information purposes<br /></p><br /><p>Not imported, loaded from ReasonCodeGroupSO.reasonCodeGroupDescription<br /></p> + [DataMember(Name="reasonCodeGroupDescription", EmitDefaultValue=false)] + public string ReasonCodeGroupDescription { get; set; } + + /// + /// <p>Defines the order within a group for display in the graphical user interface<br /></p> + /// + /// <p>Defines the order within a group for display in the graphical user interface<br /></p> + [DataMember(Name="reasonOrder", EmitDefaultValue=false)] + public int? ReasonOrder { get; set; } + + /// + /// <p>List of reason parameters<br /></p> + /// + /// <p>List of reason parameters<br /></p> + [DataMember(Name="reasonParameterList", EmitDefaultValue=false)] + public List ReasonParameterList { get; set; } + + /// + /// <p>Translation identifier<br /></p> + /// + /// <p>Translation identifier<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + [DataMember(Name="translations", EmitDefaultValue=false)] + public List Translations { get; set; } + + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// <p>A unique retailer defined reason code for an action that is taken (or not taken) at a workstation / device.<br /></p> + /// + /// <p>A unique retailer defined reason code for an action that is taken (or not taken) at a workstation / device.<br /></p> + [DataMember(Name="reasonCode", EmitDefaultValue=false)] + public string ReasonCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO {\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" ReasonShortText: ").Append(ReasonShortText).Append("\n"); + sb.Append(" ReasonCodeGroupCode: ").Append(ReasonCodeGroupCode).Append("\n"); + sb.Append(" ReasonCodeGroupDescription: ").Append(ReasonCodeGroupDescription).Append("\n"); + sb.Append(" ReasonOrder: ").Append(ReasonOrder).Append("\n"); + sb.Append(" ReasonParameterList: ").Append(ReasonParameterList).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Translations: ").Append(Translations).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append(" ReasonCode: ").Append(ReasonCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO input) + { + if (input == null) + return false; + + return + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.ReasonShortText == input.ReasonShortText || + (this.ReasonShortText != null && + this.ReasonShortText.Equals(input.ReasonShortText)) + ) && + ( + this.ReasonCodeGroupCode == input.ReasonCodeGroupCode || + (this.ReasonCodeGroupCode != null && + this.ReasonCodeGroupCode.Equals(input.ReasonCodeGroupCode)) + ) && + ( + this.ReasonCodeGroupDescription == input.ReasonCodeGroupDescription || + (this.ReasonCodeGroupDescription != null && + this.ReasonCodeGroupDescription.Equals(input.ReasonCodeGroupDescription)) + ) && + ( + this.ReasonOrder == input.ReasonOrder || + (this.ReasonOrder != null && + this.ReasonOrder.Equals(input.ReasonOrder)) + ) && + ( + this.ReasonParameterList == input.ReasonParameterList || + this.ReasonParameterList != null && + this.ReasonParameterList.SequenceEqual(input.ReasonParameterList) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Translations == input.Translations || + this.Translations != null && + this.Translations.SequenceEqual(input.Translations) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ) && + ( + this.ReasonCode == input.ReasonCode || + (this.ReasonCode != null && + this.ReasonCode.Equals(input.ReasonCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.ReasonShortText != null) + hashCode = hashCode * 59 + this.ReasonShortText.GetHashCode(); + if (this.ReasonCodeGroupCode != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupCode.GetHashCode(); + if (this.ReasonCodeGroupDescription != null) + hashCode = hashCode * 59 + this.ReasonCodeGroupDescription.GetHashCode(); + if (this.ReasonOrder != null) + hashCode = hashCode * 59 + this.ReasonOrder.GetHashCode(); + if (this.ReasonParameterList != null) + hashCode = hashCode * 59 + this.ReasonParameterList.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Translations != null) + hashCode = hashCode * 59 + this.Translations.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + if (this.ReasonCode != null) + hashCode = hashCode * 59 + this.ReasonCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..4e9145d3e5efefa59726161390c1765e02199f7a --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ReasonTranslationSO <p>Translation of reason texts in a specific language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language ISO code identification<br /></p> (required). + /// <p>Reason description in the given language.<br /></p>. + /// <p>Reason short text in the given language<br /></p>. + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO(string languageID = default(string), string reasonDescription = default(string), string reasonShortText = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.ReasonDescription = reasonDescription; + this.ReasonShortText = reasonShortText; + } + + /// + /// <p>Language ISO code identification<br /></p> + /// + /// <p>Language ISO code identification<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Reason description in the given language.<br /></p> + /// + /// <p>Reason description in the given language.<br /></p> + [DataMember(Name="reasonDescription", EmitDefaultValue=false)] + public string ReasonDescription { get; set; } + + /// + /// <p>Reason short text in the given language<br /></p> + /// + /// <p>Reason short text in the given language<br /></p> + [DataMember(Name="reasonShortText", EmitDefaultValue=false)] + public string ReasonShortText { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" ReasonDescription: ").Append(ReasonDescription).Append("\n"); + sb.Append(" ReasonShortText: ").Append(ReasonShortText).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.ReasonDescription == input.ReasonDescription || + (this.ReasonDescription != null && + this.ReasonDescription.Equals(input.ReasonDescription)) + ) && + ( + this.ReasonShortText == input.ReasonShortText || + (this.ReasonShortText != null && + this.ReasonShortText.Equals(input.ReasonShortText)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.ReasonDescription != null) + hashCode = hashCode * 59 + this.ReasonDescription.GetHashCode(); + if (this.ReasonShortText != null) + hashCode = hashCode * 59 + this.ReasonShortText.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..8606cc8668dc72157890d62297c47eeaa894fa94 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO.cs @@ -0,0 +1,138 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// MerchandiseHierarchyGroupAssignmentSO <p>Reference to the merchandise hierarchy group which the sales restriction is assigned to<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>ID of the merchandise hierarchy group which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> (required). + public ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO(string merchandiseHierarchyGroupID = default(string)) + { + // to ensure "merchandiseHierarchyGroupID" is required (not null) + if (merchandiseHierarchyGroupID == null) + { + throw new InvalidDataException("merchandiseHierarchyGroupID is a required property for ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO and cannot be null"); + } + else + { + this.MerchandiseHierarchyGroupID = merchandiseHierarchyGroupID; + } + } + + /// + /// <p>ID of the merchandise hierarchy group which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + /// + /// <p>ID of the merchandise hierarchy group which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + [DataMember(Name="merchandiseHierarchyGroupID", EmitDefaultValue=false)] + public string MerchandiseHierarchyGroupID { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO {\n"); + sb.Append(" MerchandiseHierarchyGroupID: ").Append(MerchandiseHierarchyGroupID).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO input) + { + if (input == null) + return false; + + return + ( + this.MerchandiseHierarchyGroupID == input.MerchandiseHierarchyGroupID || + (this.MerchandiseHierarchyGroupID != null && + this.MerchandiseHierarchyGroupID.Equals(input.MerchandiseHierarchyGroupID)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MerchandiseHierarchyGroupID != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupID.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..f60fd4ba8c92fc2c96cd5b5f9457ad106fe17951 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO.cs @@ -0,0 +1,809 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesRestrictionSO <p>Specific items can be sold under defined conditions only, e.g. alcohol drinks from 18 years. Sales restrictions determine these conditions.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestrictionList<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.RiskSaleResctriction.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Sales restriction identifier<br /></p><br /><p>Generated, not imported.<br /></p> (required). + /// <p>A unique system assigned identifier for a group of business units.<br /></p>. + /// <p>The value of the sales restriction - its content depends on the SalesRestrictionTypeCode, e.g.<br /></p><br /><pre> * Age =&gt; minimum customer age<br /> * Sales prohibition period =&gt; time group identifier<br /> * Limit =&gt; quantity limit<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionValue<br /></p>. + /// <p>List of merchandise hierarchy groups which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p>. + /// <p>List of UOM items which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item identification.<br /></p>. + /// <p>The text of the question that the customer is to be asked when validating a restriction.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionText<br /></p>. + /// <p>Type code of the question.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionTypeCode<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>List of translations<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Sales restriction type code, e.g.<br /></p><br /><pre> * AGE, CAGE =&gt; Age (customer age is to be checked)<br /> * TIME =&gt; Sales prohibition period (sale is prohibited during specified time)<br /> * LIMT =&gt; Limit (maximally this quantity of the item may be sold)<br /> * WGHT =&gt; Weight (the weight is to be checked)<br /> * RISK =&gt; Risk (the sale of that item is to be double-checked)<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionTypeCode<br /> masterData_BusinessUnit.xml: 'RISK' for BusinessUnit.MerchandiseHierarchyGroupDetail.RiskSaleResctriction<br /></p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO(string salesRestrictionID = default(string), string businessUnitGroupID = default(string), string salesRestrictionValue = default(string), List merchandiseHierarchyGroupAssignmentList = default(List), List unitOfMeasureItemAssignmentList = default(List), string questionText = default(string), string questionTypeCode = default(string), string tid = default(string), List translationList = default(List), string xxCUSTOM18 = default(string), string xxCUSTOM19 = default(string), string xxCUSTOM20 = default(string), string xxCUSTOM21 = default(string), string xxCUSTOM22 = default(string), string xxCUSTOM23 = default(string), string xxCUSTOM24 = default(string), string xxCUSTOM25 = default(string), string xxCUSTOM26 = default(string), string xxCUSTOM27 = default(string), string xxCUSTOM28 = default(string), string xxCUSTOM29 = default(string), string xxCUSTOM30 = default(string), string salesRestrictionTypeCode = default(string), string xxCUSTOM01 = default(string), string xxCUSTOM02 = default(string), string xxCUSTOM03 = default(string), string xxCUSTOM04 = default(string), string xxCUSTOM05 = default(string), string xxCUSTOM06 = default(string), string xxCUSTOM07 = default(string), string xxCUSTOM08 = default(string), string xxCUSTOM09 = default(string), string xxCUSTOM10 = default(string), string xxCUSTOM11 = default(string), string xxCUSTOM12 = default(string), string xxCUSTOM13 = default(string), string xxCUSTOM14 = default(string), string xxCUSTOM15 = default(string), string xxCUSTOM16 = default(string), string xxCUSTOM17 = default(string)) + { + // to ensure "salesRestrictionID" is required (not null) + if (salesRestrictionID == null) + { + throw new InvalidDataException("salesRestrictionID is a required property for ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO and cannot be null"); + } + else + { + this.SalesRestrictionID = salesRestrictionID; + } + // to ensure "salesRestrictionTypeCode" is required (not null) + if (salesRestrictionTypeCode == null) + { + throw new InvalidDataException("salesRestrictionTypeCode is a required property for ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO and cannot be null"); + } + else + { + this.SalesRestrictionTypeCode = salesRestrictionTypeCode; + } + this.BusinessUnitGroupID = businessUnitGroupID; + this.SalesRestrictionValue = salesRestrictionValue; + this.MerchandiseHierarchyGroupAssignmentList = merchandiseHierarchyGroupAssignmentList; + this.UnitOfMeasureItemAssignmentList = unitOfMeasureItemAssignmentList; + this.QuestionText = questionText; + this.QuestionTypeCode = questionTypeCode; + this.Tid = tid; + this.TranslationList = translationList; + this.XxCUSTOM18 = xxCUSTOM18; + this.XxCUSTOM19 = xxCUSTOM19; + this.XxCUSTOM20 = xxCUSTOM20; + this.XxCUSTOM21 = xxCUSTOM21; + this.XxCUSTOM22 = xxCUSTOM22; + this.XxCUSTOM23 = xxCUSTOM23; + this.XxCUSTOM24 = xxCUSTOM24; + this.XxCUSTOM25 = xxCUSTOM25; + this.XxCUSTOM26 = xxCUSTOM26; + this.XxCUSTOM27 = xxCUSTOM27; + this.XxCUSTOM28 = xxCUSTOM28; + this.XxCUSTOM29 = xxCUSTOM29; + this.XxCUSTOM30 = xxCUSTOM30; + this.XxCUSTOM01 = xxCUSTOM01; + this.XxCUSTOM02 = xxCUSTOM02; + this.XxCUSTOM03 = xxCUSTOM03; + this.XxCUSTOM04 = xxCUSTOM04; + this.XxCUSTOM05 = xxCUSTOM05; + this.XxCUSTOM06 = xxCUSTOM06; + this.XxCUSTOM07 = xxCUSTOM07; + this.XxCUSTOM08 = xxCUSTOM08; + this.XxCUSTOM09 = xxCUSTOM09; + this.XxCUSTOM10 = xxCUSTOM10; + this.XxCUSTOM11 = xxCUSTOM11; + this.XxCUSTOM12 = xxCUSTOM12; + this.XxCUSTOM13 = xxCUSTOM13; + this.XxCUSTOM14 = xxCUSTOM14; + this.XxCUSTOM15 = xxCUSTOM15; + this.XxCUSTOM16 = xxCUSTOM16; + this.XxCUSTOM17 = xxCUSTOM17; + } + + /// + /// <p>Sales restriction identifier<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Sales restriction identifier<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="salesRestrictionID", EmitDefaultValue=false)] + public string SalesRestrictionID { get; set; } + + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public string BusinessUnitGroupID { get; set; } + + /// + /// <p>The value of the sales restriction - its content depends on the SalesRestrictionTypeCode, e.g.<br /></p><br /><pre> * Age =&gt; minimum customer age<br /> * Sales prohibition period =&gt; time group identifier<br /> * Limit =&gt; quantity limit<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionValue<br /></p> + /// + /// <p>The value of the sales restriction - its content depends on the SalesRestrictionTypeCode, e.g.<br /></p><br /><pre> * Age =&gt; minimum customer age<br /> * Sales prohibition period =&gt; time group identifier<br /> * Limit =&gt; quantity limit<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionValue<br /></p> + [DataMember(Name="salesRestrictionValue", EmitDefaultValue=false)] + public string SalesRestrictionValue { get; set; } + + /// + /// <p>List of merchandise hierarchy groups which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + /// + /// <p>List of merchandise hierarchy groups which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + [DataMember(Name="merchandiseHierarchyGroupAssignmentList", EmitDefaultValue=false)] + public List MerchandiseHierarchyGroupAssignmentList { get; set; } + + /// + /// <p>List of UOM items which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item identification.<br /></p> + /// + /// <p>List of UOM items which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item identification.<br /></p> + [DataMember(Name="unitOfMeasureItemAssignmentList", EmitDefaultValue=false)] + public List UnitOfMeasureItemAssignmentList { get; set; } + + /// + /// <p>The text of the question that the customer is to be asked when validating a restriction.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionText<br /></p> + /// + /// <p>The text of the question that the customer is to be asked when validating a restriction.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionText<br /></p> + [DataMember(Name="questionText", EmitDefaultValue=false)] + public string QuestionText { get; set; } + + /// + /// <p>Type code of the question.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionTypeCode<br /></p> + /// + /// <p>Type code of the question.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionTypeCode<br /></p> + [DataMember(Name="questionTypeCode", EmitDefaultValue=false)] + public string QuestionTypeCode { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>List of translations<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList<br /></p> + /// + /// <p>List of translations<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList<br /></p> + [DataMember(Name="translationList", EmitDefaultValue=false)] + public List TranslationList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_18", EmitDefaultValue=false)] + public string XxCUSTOM18 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_19", EmitDefaultValue=false)] + public string XxCUSTOM19 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_20", EmitDefaultValue=false)] + public string XxCUSTOM20 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_21", EmitDefaultValue=false)] + public string XxCUSTOM21 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_22", EmitDefaultValue=false)] + public string XxCUSTOM22 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_23", EmitDefaultValue=false)] + public string XxCUSTOM23 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_24", EmitDefaultValue=false)] + public string XxCUSTOM24 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_25", EmitDefaultValue=false)] + public string XxCUSTOM25 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_26", EmitDefaultValue=false)] + public string XxCUSTOM26 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_27", EmitDefaultValue=false)] + public string XxCUSTOM27 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_28", EmitDefaultValue=false)] + public string XxCUSTOM28 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_29", EmitDefaultValue=false)] + public string XxCUSTOM29 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_30", EmitDefaultValue=false)] + public string XxCUSTOM30 { get; set; } + + /// + /// <p>Sales restriction type code, e.g.<br /></p><br /><pre> * AGE, CAGE =&gt; Age (customer age is to be checked)<br /> * TIME =&gt; Sales prohibition period (sale is prohibited during specified time)<br /> * LIMT =&gt; Limit (maximally this quantity of the item may be sold)<br /> * WGHT =&gt; Weight (the weight is to be checked)<br /> * RISK =&gt; Risk (the sale of that item is to be double-checked)<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionTypeCode<br /> masterData_BusinessUnit.xml: 'RISK' for BusinessUnit.MerchandiseHierarchyGroupDetail.RiskSaleResctriction<br /></p> + /// + /// <p>Sales restriction type code, e.g.<br /></p><br /><pre> * AGE, CAGE =&gt; Age (customer age is to be checked)<br /> * TIME =&gt; Sales prohibition period (sale is prohibited during specified time)<br /> * LIMT =&gt; Limit (maximally this quantity of the item may be sold)<br /> * WGHT =&gt; Weight (the weight is to be checked)<br /> * RISK =&gt; Risk (the sale of that item is to be double-checked)<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionTypeCode<br /> masterData_BusinessUnit.xml: 'RISK' for BusinessUnit.MerchandiseHierarchyGroupDetail.RiskSaleResctriction<br /></p> + [DataMember(Name="salesRestrictionTypeCode", EmitDefaultValue=false)] + public string SalesRestrictionTypeCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_01", EmitDefaultValue=false)] + public string XxCUSTOM01 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_02", EmitDefaultValue=false)] + public string XxCUSTOM02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_03", EmitDefaultValue=false)] + public string XxCUSTOM03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_04", EmitDefaultValue=false)] + public string XxCUSTOM04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_05", EmitDefaultValue=false)] + public string XxCUSTOM05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_06", EmitDefaultValue=false)] + public string XxCUSTOM06 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_07", EmitDefaultValue=false)] + public string XxCUSTOM07 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_08", EmitDefaultValue=false)] + public string XxCUSTOM08 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_09", EmitDefaultValue=false)] + public string XxCUSTOM09 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_10", EmitDefaultValue=false)] + public string XxCUSTOM10 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_11", EmitDefaultValue=false)] + public string XxCUSTOM11 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_12", EmitDefaultValue=false)] + public string XxCUSTOM12 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_13", EmitDefaultValue=false)] + public string XxCUSTOM13 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_14", EmitDefaultValue=false)] + public string XxCUSTOM14 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_15", EmitDefaultValue=false)] + public string XxCUSTOM15 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_16", EmitDefaultValue=false)] + public string XxCUSTOM16 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xx_CUSTOM_17", EmitDefaultValue=false)] + public string XxCUSTOM17 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO {\n"); + sb.Append(" SalesRestrictionID: ").Append(SalesRestrictionID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" SalesRestrictionValue: ").Append(SalesRestrictionValue).Append("\n"); + sb.Append(" MerchandiseHierarchyGroupAssignmentList: ").Append(MerchandiseHierarchyGroupAssignmentList).Append("\n"); + sb.Append(" UnitOfMeasureItemAssignmentList: ").Append(UnitOfMeasureItemAssignmentList).Append("\n"); + sb.Append(" QuestionText: ").Append(QuestionText).Append("\n"); + sb.Append(" QuestionTypeCode: ").Append(QuestionTypeCode).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" TranslationList: ").Append(TranslationList).Append("\n"); + sb.Append(" XxCUSTOM18: ").Append(XxCUSTOM18).Append("\n"); + sb.Append(" XxCUSTOM19: ").Append(XxCUSTOM19).Append("\n"); + sb.Append(" XxCUSTOM20: ").Append(XxCUSTOM20).Append("\n"); + sb.Append(" XxCUSTOM21: ").Append(XxCUSTOM21).Append("\n"); + sb.Append(" XxCUSTOM22: ").Append(XxCUSTOM22).Append("\n"); + sb.Append(" XxCUSTOM23: ").Append(XxCUSTOM23).Append("\n"); + sb.Append(" XxCUSTOM24: ").Append(XxCUSTOM24).Append("\n"); + sb.Append(" XxCUSTOM25: ").Append(XxCUSTOM25).Append("\n"); + sb.Append(" XxCUSTOM26: ").Append(XxCUSTOM26).Append("\n"); + sb.Append(" XxCUSTOM27: ").Append(XxCUSTOM27).Append("\n"); + sb.Append(" XxCUSTOM28: ").Append(XxCUSTOM28).Append("\n"); + sb.Append(" XxCUSTOM29: ").Append(XxCUSTOM29).Append("\n"); + sb.Append(" XxCUSTOM30: ").Append(XxCUSTOM30).Append("\n"); + sb.Append(" SalesRestrictionTypeCode: ").Append(SalesRestrictionTypeCode).Append("\n"); + sb.Append(" XxCUSTOM01: ").Append(XxCUSTOM01).Append("\n"); + sb.Append(" XxCUSTOM02: ").Append(XxCUSTOM02).Append("\n"); + sb.Append(" XxCUSTOM03: ").Append(XxCUSTOM03).Append("\n"); + sb.Append(" XxCUSTOM04: ").Append(XxCUSTOM04).Append("\n"); + sb.Append(" XxCUSTOM05: ").Append(XxCUSTOM05).Append("\n"); + sb.Append(" XxCUSTOM06: ").Append(XxCUSTOM06).Append("\n"); + sb.Append(" XxCUSTOM07: ").Append(XxCUSTOM07).Append("\n"); + sb.Append(" XxCUSTOM08: ").Append(XxCUSTOM08).Append("\n"); + sb.Append(" XxCUSTOM09: ").Append(XxCUSTOM09).Append("\n"); + sb.Append(" XxCUSTOM10: ").Append(XxCUSTOM10).Append("\n"); + sb.Append(" XxCUSTOM11: ").Append(XxCUSTOM11).Append("\n"); + sb.Append(" XxCUSTOM12: ").Append(XxCUSTOM12).Append("\n"); + sb.Append(" XxCUSTOM13: ").Append(XxCUSTOM13).Append("\n"); + sb.Append(" XxCUSTOM14: ").Append(XxCUSTOM14).Append("\n"); + sb.Append(" XxCUSTOM15: ").Append(XxCUSTOM15).Append("\n"); + sb.Append(" XxCUSTOM16: ").Append(XxCUSTOM16).Append("\n"); + sb.Append(" XxCUSTOM17: ").Append(XxCUSTOM17).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO input) + { + if (input == null) + return false; + + return + ( + this.SalesRestrictionID == input.SalesRestrictionID || + (this.SalesRestrictionID != null && + this.SalesRestrictionID.Equals(input.SalesRestrictionID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.SalesRestrictionValue == input.SalesRestrictionValue || + (this.SalesRestrictionValue != null && + this.SalesRestrictionValue.Equals(input.SalesRestrictionValue)) + ) && + ( + this.MerchandiseHierarchyGroupAssignmentList == input.MerchandiseHierarchyGroupAssignmentList || + this.MerchandiseHierarchyGroupAssignmentList != null && + this.MerchandiseHierarchyGroupAssignmentList.SequenceEqual(input.MerchandiseHierarchyGroupAssignmentList) + ) && + ( + this.UnitOfMeasureItemAssignmentList == input.UnitOfMeasureItemAssignmentList || + this.UnitOfMeasureItemAssignmentList != null && + this.UnitOfMeasureItemAssignmentList.SequenceEqual(input.UnitOfMeasureItemAssignmentList) + ) && + ( + this.QuestionText == input.QuestionText || + (this.QuestionText != null && + this.QuestionText.Equals(input.QuestionText)) + ) && + ( + this.QuestionTypeCode == input.QuestionTypeCode || + (this.QuestionTypeCode != null && + this.QuestionTypeCode.Equals(input.QuestionTypeCode)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.TranslationList == input.TranslationList || + this.TranslationList != null && + this.TranslationList.SequenceEqual(input.TranslationList) + ) && + ( + this.XxCUSTOM18 == input.XxCUSTOM18 || + (this.XxCUSTOM18 != null && + this.XxCUSTOM18.Equals(input.XxCUSTOM18)) + ) && + ( + this.XxCUSTOM19 == input.XxCUSTOM19 || + (this.XxCUSTOM19 != null && + this.XxCUSTOM19.Equals(input.XxCUSTOM19)) + ) && + ( + this.XxCUSTOM20 == input.XxCUSTOM20 || + (this.XxCUSTOM20 != null && + this.XxCUSTOM20.Equals(input.XxCUSTOM20)) + ) && + ( + this.XxCUSTOM21 == input.XxCUSTOM21 || + (this.XxCUSTOM21 != null && + this.XxCUSTOM21.Equals(input.XxCUSTOM21)) + ) && + ( + this.XxCUSTOM22 == input.XxCUSTOM22 || + (this.XxCUSTOM22 != null && + this.XxCUSTOM22.Equals(input.XxCUSTOM22)) + ) && + ( + this.XxCUSTOM23 == input.XxCUSTOM23 || + (this.XxCUSTOM23 != null && + this.XxCUSTOM23.Equals(input.XxCUSTOM23)) + ) && + ( + this.XxCUSTOM24 == input.XxCUSTOM24 || + (this.XxCUSTOM24 != null && + this.XxCUSTOM24.Equals(input.XxCUSTOM24)) + ) && + ( + this.XxCUSTOM25 == input.XxCUSTOM25 || + (this.XxCUSTOM25 != null && + this.XxCUSTOM25.Equals(input.XxCUSTOM25)) + ) && + ( + this.XxCUSTOM26 == input.XxCUSTOM26 || + (this.XxCUSTOM26 != null && + this.XxCUSTOM26.Equals(input.XxCUSTOM26)) + ) && + ( + this.XxCUSTOM27 == input.XxCUSTOM27 || + (this.XxCUSTOM27 != null && + this.XxCUSTOM27.Equals(input.XxCUSTOM27)) + ) && + ( + this.XxCUSTOM28 == input.XxCUSTOM28 || + (this.XxCUSTOM28 != null && + this.XxCUSTOM28.Equals(input.XxCUSTOM28)) + ) && + ( + this.XxCUSTOM29 == input.XxCUSTOM29 || + (this.XxCUSTOM29 != null && + this.XxCUSTOM29.Equals(input.XxCUSTOM29)) + ) && + ( + this.XxCUSTOM30 == input.XxCUSTOM30 || + (this.XxCUSTOM30 != null && + this.XxCUSTOM30.Equals(input.XxCUSTOM30)) + ) && + ( + this.SalesRestrictionTypeCode == input.SalesRestrictionTypeCode || + (this.SalesRestrictionTypeCode != null && + this.SalesRestrictionTypeCode.Equals(input.SalesRestrictionTypeCode)) + ) && + ( + this.XxCUSTOM01 == input.XxCUSTOM01 || + (this.XxCUSTOM01 != null && + this.XxCUSTOM01.Equals(input.XxCUSTOM01)) + ) && + ( + this.XxCUSTOM02 == input.XxCUSTOM02 || + (this.XxCUSTOM02 != null && + this.XxCUSTOM02.Equals(input.XxCUSTOM02)) + ) && + ( + this.XxCUSTOM03 == input.XxCUSTOM03 || + (this.XxCUSTOM03 != null && + this.XxCUSTOM03.Equals(input.XxCUSTOM03)) + ) && + ( + this.XxCUSTOM04 == input.XxCUSTOM04 || + (this.XxCUSTOM04 != null && + this.XxCUSTOM04.Equals(input.XxCUSTOM04)) + ) && + ( + this.XxCUSTOM05 == input.XxCUSTOM05 || + (this.XxCUSTOM05 != null && + this.XxCUSTOM05.Equals(input.XxCUSTOM05)) + ) && + ( + this.XxCUSTOM06 == input.XxCUSTOM06 || + (this.XxCUSTOM06 != null && + this.XxCUSTOM06.Equals(input.XxCUSTOM06)) + ) && + ( + this.XxCUSTOM07 == input.XxCUSTOM07 || + (this.XxCUSTOM07 != null && + this.XxCUSTOM07.Equals(input.XxCUSTOM07)) + ) && + ( + this.XxCUSTOM08 == input.XxCUSTOM08 || + (this.XxCUSTOM08 != null && + this.XxCUSTOM08.Equals(input.XxCUSTOM08)) + ) && + ( + this.XxCUSTOM09 == input.XxCUSTOM09 || + (this.XxCUSTOM09 != null && + this.XxCUSTOM09.Equals(input.XxCUSTOM09)) + ) && + ( + this.XxCUSTOM10 == input.XxCUSTOM10 || + (this.XxCUSTOM10 != null && + this.XxCUSTOM10.Equals(input.XxCUSTOM10)) + ) && + ( + this.XxCUSTOM11 == input.XxCUSTOM11 || + (this.XxCUSTOM11 != null && + this.XxCUSTOM11.Equals(input.XxCUSTOM11)) + ) && + ( + this.XxCUSTOM12 == input.XxCUSTOM12 || + (this.XxCUSTOM12 != null && + this.XxCUSTOM12.Equals(input.XxCUSTOM12)) + ) && + ( + this.XxCUSTOM13 == input.XxCUSTOM13 || + (this.XxCUSTOM13 != null && + this.XxCUSTOM13.Equals(input.XxCUSTOM13)) + ) && + ( + this.XxCUSTOM14 == input.XxCUSTOM14 || + (this.XxCUSTOM14 != null && + this.XxCUSTOM14.Equals(input.XxCUSTOM14)) + ) && + ( + this.XxCUSTOM15 == input.XxCUSTOM15 || + (this.XxCUSTOM15 != null && + this.XxCUSTOM15.Equals(input.XxCUSTOM15)) + ) && + ( + this.XxCUSTOM16 == input.XxCUSTOM16 || + (this.XxCUSTOM16 != null && + this.XxCUSTOM16.Equals(input.XxCUSTOM16)) + ) && + ( + this.XxCUSTOM17 == input.XxCUSTOM17 || + (this.XxCUSTOM17 != null && + this.XxCUSTOM17.Equals(input.XxCUSTOM17)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SalesRestrictionID != null) + hashCode = hashCode * 59 + this.SalesRestrictionID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.SalesRestrictionValue != null) + hashCode = hashCode * 59 + this.SalesRestrictionValue.GetHashCode(); + if (this.MerchandiseHierarchyGroupAssignmentList != null) + hashCode = hashCode * 59 + this.MerchandiseHierarchyGroupAssignmentList.GetHashCode(); + if (this.UnitOfMeasureItemAssignmentList != null) + hashCode = hashCode * 59 + this.UnitOfMeasureItemAssignmentList.GetHashCode(); + if (this.QuestionText != null) + hashCode = hashCode * 59 + this.QuestionText.GetHashCode(); + if (this.QuestionTypeCode != null) + hashCode = hashCode * 59 + this.QuestionTypeCode.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.TranslationList != null) + hashCode = hashCode * 59 + this.TranslationList.GetHashCode(); + if (this.XxCUSTOM18 != null) + hashCode = hashCode * 59 + this.XxCUSTOM18.GetHashCode(); + if (this.XxCUSTOM19 != null) + hashCode = hashCode * 59 + this.XxCUSTOM19.GetHashCode(); + if (this.XxCUSTOM20 != null) + hashCode = hashCode * 59 + this.XxCUSTOM20.GetHashCode(); + if (this.XxCUSTOM21 != null) + hashCode = hashCode * 59 + this.XxCUSTOM21.GetHashCode(); + if (this.XxCUSTOM22 != null) + hashCode = hashCode * 59 + this.XxCUSTOM22.GetHashCode(); + if (this.XxCUSTOM23 != null) + hashCode = hashCode * 59 + this.XxCUSTOM23.GetHashCode(); + if (this.XxCUSTOM24 != null) + hashCode = hashCode * 59 + this.XxCUSTOM24.GetHashCode(); + if (this.XxCUSTOM25 != null) + hashCode = hashCode * 59 + this.XxCUSTOM25.GetHashCode(); + if (this.XxCUSTOM26 != null) + hashCode = hashCode * 59 + this.XxCUSTOM26.GetHashCode(); + if (this.XxCUSTOM27 != null) + hashCode = hashCode * 59 + this.XxCUSTOM27.GetHashCode(); + if (this.XxCUSTOM28 != null) + hashCode = hashCode * 59 + this.XxCUSTOM28.GetHashCode(); + if (this.XxCUSTOM29 != null) + hashCode = hashCode * 59 + this.XxCUSTOM29.GetHashCode(); + if (this.XxCUSTOM30 != null) + hashCode = hashCode * 59 + this.XxCUSTOM30.GetHashCode(); + if (this.SalesRestrictionTypeCode != null) + hashCode = hashCode * 59 + this.SalesRestrictionTypeCode.GetHashCode(); + if (this.XxCUSTOM01 != null) + hashCode = hashCode * 59 + this.XxCUSTOM01.GetHashCode(); + if (this.XxCUSTOM02 != null) + hashCode = hashCode * 59 + this.XxCUSTOM02.GetHashCode(); + if (this.XxCUSTOM03 != null) + hashCode = hashCode * 59 + this.XxCUSTOM03.GetHashCode(); + if (this.XxCUSTOM04 != null) + hashCode = hashCode * 59 + this.XxCUSTOM04.GetHashCode(); + if (this.XxCUSTOM05 != null) + hashCode = hashCode * 59 + this.XxCUSTOM05.GetHashCode(); + if (this.XxCUSTOM06 != null) + hashCode = hashCode * 59 + this.XxCUSTOM06.GetHashCode(); + if (this.XxCUSTOM07 != null) + hashCode = hashCode * 59 + this.XxCUSTOM07.GetHashCode(); + if (this.XxCUSTOM08 != null) + hashCode = hashCode * 59 + this.XxCUSTOM08.GetHashCode(); + if (this.XxCUSTOM09 != null) + hashCode = hashCode * 59 + this.XxCUSTOM09.GetHashCode(); + if (this.XxCUSTOM10 != null) + hashCode = hashCode * 59 + this.XxCUSTOM10.GetHashCode(); + if (this.XxCUSTOM11 != null) + hashCode = hashCode * 59 + this.XxCUSTOM11.GetHashCode(); + if (this.XxCUSTOM12 != null) + hashCode = hashCode * 59 + this.XxCUSTOM12.GetHashCode(); + if (this.XxCUSTOM13 != null) + hashCode = hashCode * 59 + this.XxCUSTOM13.GetHashCode(); + if (this.XxCUSTOM14 != null) + hashCode = hashCode * 59 + this.XxCUSTOM14.GetHashCode(); + if (this.XxCUSTOM15 != null) + hashCode = hashCode * 59 + this.XxCUSTOM15.GetHashCode(); + if (this.XxCUSTOM16 != null) + hashCode = hashCode * 59 + this.XxCUSTOM16.GetHashCode(); + if (this.XxCUSTOM17 != null) + hashCode = hashCode * 59 + this.XxCUSTOM17.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..9bd57f1d730746f47ecea2c2a647ec1ed59ffa74 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO.cs @@ -0,0 +1,155 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// SalesRestrictionTranslationSO <p>Translation of sales restriction texts in one language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language ISO code identification<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.@ID<br /></p> (required). + /// <p>Localized question text in the given language.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.TranslatedQuestionText<br /></p>. + public ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO(string languageID = default(string), string questionText = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.QuestionText = questionText; + } + + /// + /// <p>Language ISO code identification<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.@ID<br /></p> + /// + /// <p>Language ISO code identification<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.@ID<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Localized question text in the given language.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.TranslatedQuestionText<br /></p> + /// + /// <p>Localized question text in the given language.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.TranslatedQuestionText<br /></p> + [DataMember(Name="questionText", EmitDefaultValue=false)] + public string QuestionText { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" QuestionText: ").Append(QuestionText).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.QuestionText == input.QuestionText || + (this.QuestionText != null && + this.QuestionText.Equals(input.QuestionText)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.QuestionText != null) + hashCode = hashCode * 59 + this.QuestionText.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..c8031546af85cc7a630892a25b40fcf464340857 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO.cs @@ -0,0 +1,163 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UnitOfMeasureItemAssignmentSO <p>Reference to the item which the sales restriction is assigned to<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>ID of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.ItemID<br /></p> (required). + /// <p>Unit of measure of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.UOMCode<br /></p> (required). + public ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO(string itemID = default(string), string unitOfMeasureCode = default(string)) + { + // to ensure "itemID" is required (not null) + if (itemID == null) + { + throw new InvalidDataException("itemID is a required property for ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO and cannot be null"); + } + else + { + this.ItemID = itemID; + } + // to ensure "unitOfMeasureCode" is required (not null) + if (unitOfMeasureCode == null) + { + throw new InvalidDataException("unitOfMeasureCode is a required property for ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO and cannot be null"); + } + else + { + this.UnitOfMeasureCode = unitOfMeasureCode; + } + } + + /// + /// <p>ID of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.ItemID<br /></p> + /// + /// <p>ID of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.ItemID<br /></p> + [DataMember(Name="itemID", EmitDefaultValue=false)] + public string ItemID { get; set; } + + /// + /// <p>Unit of measure of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.UOMCode<br /></p> + /// + /// <p>Unit of measure of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.UOMCode<br /></p> + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO {\n"); + sb.Append(" ItemID: ").Append(ItemID).Append("\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO input) + { + if (input == null) + return false; + + return + ( + this.ItemID == input.ItemID || + (this.ItemID != null && + this.ItemID.Equals(input.ItemID)) + ) && + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ItemID != null) + hashCode = hashCode * 59 + this.ItemID.GetHashCode(); + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..efc24a5e6b1ee91da78e818c5decd02fe6342956 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO.cs @@ -0,0 +1,189 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UomConversionSO <p>Conversion of one measure unit into another one.<br /></p><br /><p>Not used. Not filled in the data editor.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Source unit of measure code<br /></p> (required). + /// <p>Destination unit of measure code<br /></p>. + /// <p>The factor that converts the source UOM to the destination UOM<br /></p>. + /// <p>Determines whether conversion is done by multiplying (true) or dividing (false)<br /></p>. + public ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO(string sourceUomCode = default(string), string destinationUomCode = default(string), double? factor = default(double?), bool? multiplyFlag = default(bool?)) + { + // to ensure "sourceUomCode" is required (not null) + if (sourceUomCode == null) + { + throw new InvalidDataException("sourceUomCode is a required property for ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO and cannot be null"); + } + else + { + this.SourceUomCode = sourceUomCode; + } + this.DestinationUomCode = destinationUomCode; + this.Factor = factor; + this.MultiplyFlag = multiplyFlag; + } + + /// + /// <p>Source unit of measure code<br /></p> + /// + /// <p>Source unit of measure code<br /></p> + [DataMember(Name="sourceUomCode", EmitDefaultValue=false)] + public string SourceUomCode { get; set; } + + /// + /// <p>Destination unit of measure code<br /></p> + /// + /// <p>Destination unit of measure code<br /></p> + [DataMember(Name="destinationUomCode", EmitDefaultValue=false)] + public string DestinationUomCode { get; set; } + + /// + /// <p>The factor that converts the source UOM to the destination UOM<br /></p> + /// + /// <p>The factor that converts the source UOM to the destination UOM<br /></p> + [DataMember(Name="factor", EmitDefaultValue=false)] + public double? Factor { get; set; } + + /// + /// <p>Determines whether conversion is done by multiplying (true) or dividing (false)<br /></p> + /// + /// <p>Determines whether conversion is done by multiplying (true) or dividing (false)<br /></p> + [DataMember(Name="multiplyFlag", EmitDefaultValue=false)] + public bool? MultiplyFlag { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO {\n"); + sb.Append(" SourceUomCode: ").Append(SourceUomCode).Append("\n"); + sb.Append(" DestinationUomCode: ").Append(DestinationUomCode).Append("\n"); + sb.Append(" Factor: ").Append(Factor).Append("\n"); + sb.Append(" MultiplyFlag: ").Append(MultiplyFlag).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO input) + { + if (input == null) + return false; + + return + ( + this.SourceUomCode == input.SourceUomCode || + (this.SourceUomCode != null && + this.SourceUomCode.Equals(input.SourceUomCode)) + ) && + ( + this.DestinationUomCode == input.DestinationUomCode || + (this.DestinationUomCode != null && + this.DestinationUomCode.Equals(input.DestinationUomCode)) + ) && + ( + this.Factor == input.Factor || + (this.Factor != null && + this.Factor.Equals(input.Factor)) + ) && + ( + this.MultiplyFlag == input.MultiplyFlag || + (this.MultiplyFlag != null && + this.MultiplyFlag.Equals(input.MultiplyFlag)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SourceUomCode != null) + hashCode = hashCode * 59 + this.SourceUomCode.GetHashCode(); + if (this.DestinationUomCode != null) + hashCode = hashCode * 59 + this.DestinationUomCode.GetHashCode(); + if (this.Factor != null) + hashCode = hashCode * 59 + this.Factor.GetHashCode(); + if (this.MultiplyFlag != null) + hashCode = hashCode * 59 + this.MultiplyFlag.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..eb24d145b0c9a4a545f4e4efef03dc523d2e23b9 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO.cs @@ -0,0 +1,401 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UomSO <p>Units in which a value is being expressed, or manner in which a measurement has been taken.<br /> Unit of measure codes are referred from the item. The codes have to be initialized before they are used on the item.<br /></p><br /><p>Import from dc_import_UnitOfMeasure. <br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Identification of the unit of measure<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMCode<br /></p> (required). + /// <p>Localized code of the unit of measure. This code is displayed in the GUI and can be used also in exports. Example: The unit of measure with the code 'PCE' has the localized code 'ST'.<br /></p> (required). + /// <p>Indicates what this unit of measure entity type instance measures. Examples include weight or mass, length, cube (length x width x depth), volume, discrete items (each), etc.<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMTypeCode<br /></p>. + /// <p>Indicates whether this unit of measure is part of the English or metric system of measurements.<br /></p>. + /// <p>Name assigned to this unit of measure.<br /></p>. + /// <p>Description assigned to this unit of measure.<br /></p>. + /// <p>List of conversions from this unit of measure into other units of measure<br /></p><br /><p>Not used. Not filled in the data maintenance.<br /></p>. + /// <p>Allowed count of decimal places. The quantities are displayed with this decimal places count in the GUI and reports. When registering an item in this unit, there can be registered maximally this count of decimal places.<br /></p>. + /// <p>The corresponding ISO code for this unit of measure<br /></p><br /><p>Not imported.<br /></p>. + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p>. + /// <p>List of translations of unit of measure texts<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UomTranslationList<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + /// <p>Additional field for custom development<br /></p>. + public ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO(string unitOfMeasureCode = default(string), string translatedUOMCode = default(string), string unitOfMeasureTypeCode = default(string), bool? englishMetricFlag = default(bool?), string name = default(string), string description = default(string), List uomConversionList = default(List), int? decimalPlacesCount = default(int?), string isoUnitOfMeasureCode = default(string), string tid = default(string), List translations = default(List), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "unitOfMeasureCode" is required (not null) + if (unitOfMeasureCode == null) + { + throw new InvalidDataException("unitOfMeasureCode is a required property for ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO and cannot be null"); + } + else + { + this.UnitOfMeasureCode = unitOfMeasureCode; + } + // to ensure "translatedUOMCode" is required (not null) + if (translatedUOMCode == null) + { + throw new InvalidDataException("translatedUOMCode is a required property for ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO and cannot be null"); + } + else + { + this.TranslatedUOMCode = translatedUOMCode; + } + this.UnitOfMeasureTypeCode = unitOfMeasureTypeCode; + this.EnglishMetricFlag = englishMetricFlag; + this.Name = name; + this.Description = description; + this.UomConversionList = uomConversionList; + this.DecimalPlacesCount = decimalPlacesCount; + this.IsoUnitOfMeasureCode = isoUnitOfMeasureCode; + this.Tid = tid; + this.Translations = translations; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Identification of the unit of measure<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMCode<br /></p> + /// + /// <p>Identification of the unit of measure<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMCode<br /></p> + [DataMember(Name="unitOfMeasureCode", EmitDefaultValue=false)] + public string UnitOfMeasureCode { get; set; } + + /// + /// <p>Localized code of the unit of measure. This code is displayed in the GUI and can be used also in exports. Example: The unit of measure with the code 'PCE' has the localized code 'ST'.<br /></p> + /// + /// <p>Localized code of the unit of measure. This code is displayed in the GUI and can be used also in exports. Example: The unit of measure with the code 'PCE' has the localized code 'ST'.<br /></p> + [DataMember(Name="translatedUOMCode", EmitDefaultValue=false)] + public string TranslatedUOMCode { get; set; } + + /// + /// <p>Indicates what this unit of measure entity type instance measures. Examples include weight or mass, length, cube (length x width x depth), volume, discrete items (each), etc.<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMTypeCode<br /></p> + /// + /// <p>Indicates what this unit of measure entity type instance measures. Examples include weight or mass, length, cube (length x width x depth), volume, discrete items (each), etc.<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMTypeCode<br /></p> + [DataMember(Name="unitOfMeasureTypeCode", EmitDefaultValue=false)] + public string UnitOfMeasureTypeCode { get; set; } + + /// + /// <p>Indicates whether this unit of measure is part of the English or metric system of measurements.<br /></p> + /// + /// <p>Indicates whether this unit of measure is part of the English or metric system of measurements.<br /></p> + [DataMember(Name="englishMetricFlag", EmitDefaultValue=false)] + public bool? EnglishMetricFlag { get; set; } + + /// + /// <p>Name assigned to this unit of measure.<br /></p> + /// + /// <p>Name assigned to this unit of measure.<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Description assigned to this unit of measure.<br /></p> + /// + /// <p>Description assigned to this unit of measure.<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// <p>List of conversions from this unit of measure into other units of measure<br /></p><br /><p>Not used. Not filled in the data maintenance.<br /></p> + /// + /// <p>List of conversions from this unit of measure into other units of measure<br /></p><br /><p>Not used. Not filled in the data maintenance.<br /></p> + [DataMember(Name="uomConversionList", EmitDefaultValue=false)] + public List UomConversionList { get; set; } + + /// + /// <p>Allowed count of decimal places. The quantities are displayed with this decimal places count in the GUI and reports. When registering an item in this unit, there can be registered maximally this count of decimal places.<br /></p> + /// + /// <p>Allowed count of decimal places. The quantities are displayed with this decimal places count in the GUI and reports. When registering an item in this unit, there can be registered maximally this count of decimal places.<br /></p> + [DataMember(Name="decimalPlacesCount", EmitDefaultValue=false)] + public int? DecimalPlacesCount { get; set; } + + /// + /// <p>The corresponding ISO code for this unit of measure<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>The corresponding ISO code for this unit of measure<br /></p><br /><p>Not imported.<br /></p> + [DataMember(Name="isoUnitOfMeasureCode", EmitDefaultValue=false)] + public string IsoUnitOfMeasureCode { get; set; } + + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + [DataMember(Name="tid", EmitDefaultValue=false)] + public string Tid { get; set; } + + /// + /// <p>List of translations of unit of measure texts<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UomTranslationList<br /></p> + /// + /// <p>List of translations of unit of measure texts<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UomTranslationList<br /></p> + [DataMember(Name="translations", EmitDefaultValue=false)] + public List Translations { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO {\n"); + sb.Append(" UnitOfMeasureCode: ").Append(UnitOfMeasureCode).Append("\n"); + sb.Append(" TranslatedUOMCode: ").Append(TranslatedUOMCode).Append("\n"); + sb.Append(" UnitOfMeasureTypeCode: ").Append(UnitOfMeasureTypeCode).Append("\n"); + sb.Append(" EnglishMetricFlag: ").Append(EnglishMetricFlag).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append(" UomConversionList: ").Append(UomConversionList).Append("\n"); + sb.Append(" DecimalPlacesCount: ").Append(DecimalPlacesCount).Append("\n"); + sb.Append(" IsoUnitOfMeasureCode: ").Append(IsoUnitOfMeasureCode).Append("\n"); + sb.Append(" Tid: ").Append(Tid).Append("\n"); + sb.Append(" Translations: ").Append(Translations).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO input) + { + if (input == null) + return false; + + return + ( + this.UnitOfMeasureCode == input.UnitOfMeasureCode || + (this.UnitOfMeasureCode != null && + this.UnitOfMeasureCode.Equals(input.UnitOfMeasureCode)) + ) && + ( + this.TranslatedUOMCode == input.TranslatedUOMCode || + (this.TranslatedUOMCode != null && + this.TranslatedUOMCode.Equals(input.TranslatedUOMCode)) + ) && + ( + this.UnitOfMeasureTypeCode == input.UnitOfMeasureTypeCode || + (this.UnitOfMeasureTypeCode != null && + this.UnitOfMeasureTypeCode.Equals(input.UnitOfMeasureTypeCode)) + ) && + ( + this.EnglishMetricFlag == input.EnglishMetricFlag || + (this.EnglishMetricFlag != null && + this.EnglishMetricFlag.Equals(input.EnglishMetricFlag)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ) && + ( + this.UomConversionList == input.UomConversionList || + this.UomConversionList != null && + this.UomConversionList.SequenceEqual(input.UomConversionList) + ) && + ( + this.DecimalPlacesCount == input.DecimalPlacesCount || + (this.DecimalPlacesCount != null && + this.DecimalPlacesCount.Equals(input.DecimalPlacesCount)) + ) && + ( + this.IsoUnitOfMeasureCode == input.IsoUnitOfMeasureCode || + (this.IsoUnitOfMeasureCode != null && + this.IsoUnitOfMeasureCode.Equals(input.IsoUnitOfMeasureCode)) + ) && + ( + this.Tid == input.Tid || + (this.Tid != null && + this.Tid.Equals(input.Tid)) + ) && + ( + this.Translations == input.Translations || + this.Translations != null && + this.Translations.SequenceEqual(input.Translations) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.UnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureCode.GetHashCode(); + if (this.TranslatedUOMCode != null) + hashCode = hashCode * 59 + this.TranslatedUOMCode.GetHashCode(); + if (this.UnitOfMeasureTypeCode != null) + hashCode = hashCode * 59 + this.UnitOfMeasureTypeCode.GetHashCode(); + if (this.EnglishMetricFlag != null) + hashCode = hashCode * 59 + this.EnglishMetricFlag.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + if (this.UomConversionList != null) + hashCode = hashCode * 59 + this.UomConversionList.GetHashCode(); + if (this.DecimalPlacesCount != null) + hashCode = hashCode * 59 + this.DecimalPlacesCount.GetHashCode(); + if (this.IsoUnitOfMeasureCode != null) + hashCode = hashCode * 59 + this.IsoUnitOfMeasureCode.GetHashCode(); + if (this.Tid != null) + hashCode = hashCode * 59 + this.Tid.GetHashCode(); + if (this.Translations != null) + hashCode = hashCode * 59 + this.Translations.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..27308e3c36259e7f60269aaeb03699bcdb967118 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO.cs @@ -0,0 +1,189 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// UomTranslationSO <p>Translation of UOM texts in one language<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Language ISO code identification<br /></p> (required). + /// <p>Localized code of unit of measure in the given language<br /></p>. + /// <p>Name of the unit of measure in the given language<br /></p>. + /// <p>Description of the unit of measure in the given language<br /></p>. + public ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO(string languageID = default(string), string translatedUOMCode = default(string), string name = default(string), string description = default(string)) + { + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + this.TranslatedUOMCode = translatedUOMCode; + this.Name = name; + this.Description = description; + } + + /// + /// <p>Language ISO code identification<br /></p> + /// + /// <p>Language ISO code identification<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Localized code of unit of measure in the given language<br /></p> + /// + /// <p>Localized code of unit of measure in the given language<br /></p> + [DataMember(Name="translatedUOMCode", EmitDefaultValue=false)] + public string TranslatedUOMCode { get; set; } + + /// + /// <p>Name of the unit of measure in the given language<br /></p> + /// + /// <p>Name of the unit of measure in the given language<br /></p> + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + + /// + /// <p>Description of the unit of measure in the given language<br /></p> + /// + /// <p>Description of the unit of measure in the given language<br /></p> + [DataMember(Name="description", EmitDefaultValue=false)] + public string Description { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO {\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" TranslatedUOMCode: ").Append(TranslatedUOMCode).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Description: ").Append(Description).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO input) + { + if (input == null) + return false; + + return + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.TranslatedUOMCode == input.TranslatedUOMCode || + (this.TranslatedUOMCode != null && + this.TranslatedUOMCode.Equals(input.TranslatedUOMCode)) + ) && + ( + this.Name == input.Name || + (this.Name != null && + this.Name.Equals(input.Name)) + ) && + ( + this.Description == input.Description || + (this.Description != null && + this.Description.Equals(input.Description)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.TranslatedUOMCode != null) + hashCode = hashCode * 59 + this.TranslatedUOMCode.GetHashCode(); + if (this.Name != null) + hashCode = hashCode * 59 + this.Name.GetHashCode(); + if (this.Description != null) + hashCode = hashCode * 59 + this.Description.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca5662033d32d9882b1371be360cfe6cc9a5acea --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO.cs @@ -0,0 +1,505 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// AbstractOperatorSO <p>The data of an operator (person) who can work in many retail stores. The operator can obtain different login data and different roles in different retail stores.<br /></p><br /><p>Import from Operator.xml.<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO : IEquatable, IValidatableObject + { + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + [JsonConverter(typeof(StringEnumConverter))] + public enum OriginEnum + { + + /// + /// Enum IMPORT for value: IMPORT + /// + [EnumMember(Value = "IMPORT")] + IMPORT = 1, + + /// + /// Enum MANUAL for value: MANUAL + /// + [EnumMember(Value = "MANUAL")] + MANUAL = 2 + } + + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + [DataMember(Name="origin", EmitDefaultValue=false)] + public OriginEnum? Origin { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>The unique ID of the operator (Note: Not the login name. The login name can be store specific.)<br /></p><br /><dl><br /> <dt>+</dt><br /></dl> (required). + /// <p>Worker ID. This attribute can be used as the connection between the operator and the worker object.<br /></p> (required). + /// <p>Salutation<br /></p>. + /// <p>First name<br /></p>. + /// <p>Last name<br /></p>. + /// <p>ISO language ID. The GUI in the portal, on the hand-held and on the POS is displayed in this language after user login<br /></p> (required). + /// <p>Flag for left handed. The flag can control the GUI of the peripheral device.<br /></p> (required). + /// <p>Email address<br /></p>. + /// <p>Birth year<br /></p>. + /// <p>Birth month<br /></p>. + /// <p>Birth day<br /></p>. + /// <p>Role assignments in specific retail stores<br /></p>. + /// <p>Login data for periphery classes in specific retail stores<br /></p>. + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul>. + /// <p>Internal identifier of the import file<br /></p>. + /// opAsgnList. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>ISO country code<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO(string operatorID = default(string), string workerID = default(string), string salutation = default(string), string firstName = default(string), string lastName = default(string), string languageID = default(string), bool? leftHandedFlag = default(bool?), string emailAddress = default(string), int? birthYearNumber = default(int?), int? birthMonthNumber = default(int?), int? birthDayNumber = default(int?), List operatorAssignmentSOList = default(List), List peripheralAccessSOList = default(List), OriginEnum? origin = default(OriginEnum?), string packageID = default(string), List opAsgnList = default(List), string xxcustom03 = default(string), string xxcustom02 = default(string), string isocountryCode = default(string), string xxcustom01 = default(string)) + { + // to ensure "operatorID" is required (not null) + if (operatorID == null) + { + throw new InvalidDataException("operatorID is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO and cannot be null"); + } + else + { + this.OperatorID = operatorID; + } + // to ensure "workerID" is required (not null) + if (workerID == null) + { + throw new InvalidDataException("workerID is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO and cannot be null"); + } + else + { + this.WorkerID = workerID; + } + // to ensure "languageID" is required (not null) + if (languageID == null) + { + throw new InvalidDataException("languageID is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO and cannot be null"); + } + else + { + this.LanguageID = languageID; + } + // to ensure "leftHandedFlag" is required (not null) + if (leftHandedFlag == null) + { + throw new InvalidDataException("leftHandedFlag is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO and cannot be null"); + } + else + { + this.LeftHandedFlag = leftHandedFlag; + } + this.Salutation = salutation; + this.FirstName = firstName; + this.LastName = lastName; + this.EmailAddress = emailAddress; + this.BirthYearNumber = birthYearNumber; + this.BirthMonthNumber = birthMonthNumber; + this.BirthDayNumber = birthDayNumber; + this.OperatorAssignmentSOList = operatorAssignmentSOList; + this.PeripheralAccessSOList = peripheralAccessSOList; + this.Origin = origin; + this.PackageID = packageID; + this.OpAsgnList = opAsgnList; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.IsocountryCode = isocountryCode; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>The unique ID of the operator (Note: Not the login name. The login name can be store specific.)<br /></p><br /><dl><br /> <dt>+</dt><br /></dl> + /// + /// <p>The unique ID of the operator (Note: Not the login name. The login name can be store specific.)<br /></p><br /><dl><br /> <dt>+</dt><br /></dl> + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// <p>Worker ID. This attribute can be used as the connection between the operator and the worker object.<br /></p> + /// + /// <p>Worker ID. This attribute can be used as the connection between the operator and the worker object.<br /></p> + [DataMember(Name="workerID", EmitDefaultValue=false)] + public string WorkerID { get; set; } + + /// + /// <p>Salutation<br /></p> + /// + /// <p>Salutation<br /></p> + [DataMember(Name="salutation", EmitDefaultValue=false)] + public string Salutation { get; set; } + + /// + /// <p>First name<br /></p> + /// + /// <p>First name<br /></p> + [DataMember(Name="firstName", EmitDefaultValue=false)] + public string FirstName { get; set; } + + /// + /// <p>Last name<br /></p> + /// + /// <p>Last name<br /></p> + [DataMember(Name="lastName", EmitDefaultValue=false)] + public string LastName { get; set; } + + /// + /// <p>ISO language ID. The GUI in the portal, on the hand-held and on the POS is displayed in this language after user login<br /></p> + /// + /// <p>ISO language ID. The GUI in the portal, on the hand-held and on the POS is displayed in this language after user login<br /></p> + [DataMember(Name="languageID", EmitDefaultValue=false)] + public string LanguageID { get; set; } + + /// + /// <p>Flag for left handed. The flag can control the GUI of the peripheral device.<br /></p> + /// + /// <p>Flag for left handed. The flag can control the GUI of the peripheral device.<br /></p> + [DataMember(Name="leftHandedFlag", EmitDefaultValue=false)] + public bool? LeftHandedFlag { get; set; } + + /// + /// <p>Email address<br /></p> + /// + /// <p>Email address<br /></p> + [DataMember(Name="emailAddress", EmitDefaultValue=false)] + public string EmailAddress { get; set; } + + /// + /// <p>Birth year<br /></p> + /// + /// <p>Birth year<br /></p> + [DataMember(Name="birthYearNumber", EmitDefaultValue=false)] + public int? BirthYearNumber { get; set; } + + /// + /// <p>Birth month<br /></p> + /// + /// <p>Birth month<br /></p> + [DataMember(Name="birthMonthNumber", EmitDefaultValue=false)] + public int? BirthMonthNumber { get; set; } + + /// + /// <p>Birth day<br /></p> + /// + /// <p>Birth day<br /></p> + [DataMember(Name="birthDayNumber", EmitDefaultValue=false)] + public int? BirthDayNumber { get; set; } + + /// + /// <p>Role assignments in specific retail stores<br /></p> + /// + /// <p>Role assignments in specific retail stores<br /></p> + [DataMember(Name="operatorAssignmentSOList", EmitDefaultValue=false)] + public List OperatorAssignmentSOList { get; set; } + + /// + /// <p>Login data for periphery classes in specific retail stores<br /></p> + /// + /// <p>Login data for periphery classes in specific retail stores<br /></p> + [DataMember(Name="peripheralAccessSOList", EmitDefaultValue=false)] + public List PeripheralAccessSOList { get; set; } + + + /// + /// <p>Internal identifier of the import file<br /></p> + /// + /// <p>Internal identifier of the import file<br /></p> + [DataMember(Name="packageID", EmitDefaultValue=false)] + public string PackageID { get; set; } + + /// + /// Gets or Sets OpAsgnList + /// + [DataMember(Name="opAsgnList", EmitDefaultValue=false)] + public List OpAsgnList { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>ISO country code<br /></p> + /// + /// <p>ISO country code<br /></p> + [DataMember(Name="isocountryCode", EmitDefaultValue=false)] + public string IsocountryCode { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO {\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" WorkerID: ").Append(WorkerID).Append("\n"); + sb.Append(" Salutation: ").Append(Salutation).Append("\n"); + sb.Append(" FirstName: ").Append(FirstName).Append("\n"); + sb.Append(" LastName: ").Append(LastName).Append("\n"); + sb.Append(" LanguageID: ").Append(LanguageID).Append("\n"); + sb.Append(" LeftHandedFlag: ").Append(LeftHandedFlag).Append("\n"); + sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n"); + sb.Append(" BirthYearNumber: ").Append(BirthYearNumber).Append("\n"); + sb.Append(" BirthMonthNumber: ").Append(BirthMonthNumber).Append("\n"); + sb.Append(" BirthDayNumber: ").Append(BirthDayNumber).Append("\n"); + sb.Append(" OperatorAssignmentSOList: ").Append(OperatorAssignmentSOList).Append("\n"); + sb.Append(" PeripheralAccessSOList: ").Append(PeripheralAccessSOList).Append("\n"); + sb.Append(" Origin: ").Append(Origin).Append("\n"); + sb.Append(" PackageID: ").Append(PackageID).Append("\n"); + sb.Append(" OpAsgnList: ").Append(OpAsgnList).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" IsocountryCode: ").Append(IsocountryCode).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO input) + { + if (input == null) + return false; + + return + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.WorkerID == input.WorkerID || + (this.WorkerID != null && + this.WorkerID.Equals(input.WorkerID)) + ) && + ( + this.Salutation == input.Salutation || + (this.Salutation != null && + this.Salutation.Equals(input.Salutation)) + ) && + ( + this.FirstName == input.FirstName || + (this.FirstName != null && + this.FirstName.Equals(input.FirstName)) + ) && + ( + this.LastName == input.LastName || + (this.LastName != null && + this.LastName.Equals(input.LastName)) + ) && + ( + this.LanguageID == input.LanguageID || + (this.LanguageID != null && + this.LanguageID.Equals(input.LanguageID)) + ) && + ( + this.LeftHandedFlag == input.LeftHandedFlag || + (this.LeftHandedFlag != null && + this.LeftHandedFlag.Equals(input.LeftHandedFlag)) + ) && + ( + this.EmailAddress == input.EmailAddress || + (this.EmailAddress != null && + this.EmailAddress.Equals(input.EmailAddress)) + ) && + ( + this.BirthYearNumber == input.BirthYearNumber || + (this.BirthYearNumber != null && + this.BirthYearNumber.Equals(input.BirthYearNumber)) + ) && + ( + this.BirthMonthNumber == input.BirthMonthNumber || + (this.BirthMonthNumber != null && + this.BirthMonthNumber.Equals(input.BirthMonthNumber)) + ) && + ( + this.BirthDayNumber == input.BirthDayNumber || + (this.BirthDayNumber != null && + this.BirthDayNumber.Equals(input.BirthDayNumber)) + ) && + ( + this.OperatorAssignmentSOList == input.OperatorAssignmentSOList || + this.OperatorAssignmentSOList != null && + this.OperatorAssignmentSOList.SequenceEqual(input.OperatorAssignmentSOList) + ) && + ( + this.PeripheralAccessSOList == input.PeripheralAccessSOList || + this.PeripheralAccessSOList != null && + this.PeripheralAccessSOList.SequenceEqual(input.PeripheralAccessSOList) + ) && + ( + this.Origin == input.Origin || + (this.Origin != null && + this.Origin.Equals(input.Origin)) + ) && + ( + this.PackageID == input.PackageID || + (this.PackageID != null && + this.PackageID.Equals(input.PackageID)) + ) && + ( + this.OpAsgnList == input.OpAsgnList || + this.OpAsgnList != null && + this.OpAsgnList.SequenceEqual(input.OpAsgnList) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.IsocountryCode == input.IsocountryCode || + (this.IsocountryCode != null && + this.IsocountryCode.Equals(input.IsocountryCode)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.WorkerID != null) + hashCode = hashCode * 59 + this.WorkerID.GetHashCode(); + if (this.Salutation != null) + hashCode = hashCode * 59 + this.Salutation.GetHashCode(); + if (this.FirstName != null) + hashCode = hashCode * 59 + this.FirstName.GetHashCode(); + if (this.LastName != null) + hashCode = hashCode * 59 + this.LastName.GetHashCode(); + if (this.LanguageID != null) + hashCode = hashCode * 59 + this.LanguageID.GetHashCode(); + if (this.LeftHandedFlag != null) + hashCode = hashCode * 59 + this.LeftHandedFlag.GetHashCode(); + if (this.EmailAddress != null) + hashCode = hashCode * 59 + this.EmailAddress.GetHashCode(); + if (this.BirthYearNumber != null) + hashCode = hashCode * 59 + this.BirthYearNumber.GetHashCode(); + if (this.BirthMonthNumber != null) + hashCode = hashCode * 59 + this.BirthMonthNumber.GetHashCode(); + if (this.BirthDayNumber != null) + hashCode = hashCode * 59 + this.BirthDayNumber.GetHashCode(); + if (this.OperatorAssignmentSOList != null) + hashCode = hashCode * 59 + this.OperatorAssignmentSOList.GetHashCode(); + if (this.PeripheralAccessSOList != null) + hashCode = hashCode * 59 + this.PeripheralAccessSOList.GetHashCode(); + if (this.Origin != null) + hashCode = hashCode * 59 + this.Origin.GetHashCode(); + if (this.PackageID != null) + hashCode = hashCode * 59 + this.PackageID.GetHashCode(); + if (this.OpAsgnList != null) + hashCode = hashCode * 59 + this.OpAsgnList.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.IsocountryCode != null) + hashCode = hashCode * 59 + this.IsocountryCode.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..e87f9eed447f3c0ea77056a303c66ccd6b3a7598 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO.cs @@ -0,0 +1,248 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// OperatorAssignmentSO <p>Assignment of the operator to a role in a specific retail store<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Retail store ID of the role assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> (required). + /// <p>ID of the assigned role in the store<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.RoleID<br /></p> (required). + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO(string retailStoreID = default(string), string workGroupID = default(string), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "retailStoreID" is required (not null) + if (retailStoreID == null) + { + throw new InvalidDataException("retailStoreID is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO and cannot be null"); + } + else + { + this.RetailStoreID = retailStoreID; + } + // to ensure "workGroupID" is required (not null) + if (workGroupID == null) + { + throw new InvalidDataException("workGroupID is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO and cannot be null"); + } + else + { + this.WorkGroupID = workGroupID; + } + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Retail store ID of the role assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + /// + /// <p>Retail store ID of the role assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + [DataMember(Name="retailStoreID", EmitDefaultValue=false)] + public string RetailStoreID { get; set; } + + /// + /// <p>ID of the assigned role in the store<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.RoleID<br /></p> + /// + /// <p>ID of the assigned role in the store<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.RoleID<br /></p> + [DataMember(Name="workGroupID", EmitDefaultValue=false)] + public string WorkGroupID { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO {\n"); + sb.Append(" RetailStoreID: ").Append(RetailStoreID).Append("\n"); + sb.Append(" WorkGroupID: ").Append(WorkGroupID).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreID == input.RetailStoreID || + (this.RetailStoreID != null && + this.RetailStoreID.Equals(input.RetailStoreID)) + ) && + ( + this.WorkGroupID == input.WorkGroupID || + (this.WorkGroupID != null && + this.WorkGroupID.Equals(input.WorkGroupID)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreID != null) + hashCode = hashCode * 59 + this.RetailStoreID.GetHashCode(); + if (this.WorkGroupID != null) + hashCode = hashCode * 59 + this.WorkGroupID.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO.cs b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..babe85dc82e3bf7a5a2377dd4b5004c4d21c0b90 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO.cs @@ -0,0 +1,399 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PeripheralAccessSO <p>Login data of one specific periphery class in the specific retail store<br /></p> + /// + [DataContract] + public partial class ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO() { } + /// + /// Initializes a new instance of the class. + /// + /// <p>Retail store ID of the periphery access assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> (required). + /// <p>Identification of the periphery class. Possible values: 'Mobile', 'Web', 'POS', 'SCALE', 'RVM', 'ESL' etc.<br /> This attribute allows to define different login data for different peripheral systems.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.PeripheralSystemType<br /></p> (required). + /// <p>Login name. The login name for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.LoginName<br /></p> (required). + /// <p>Password. The password for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.Password<br /></p>. + /// <p>Timestamp (date and time), when the password was created.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) (required). + /// <p>Count of failed log in attempts. This value is reset after a successfully log in.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> (required). + /// <p>Timestamp of last successfully log in<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone). + /// <p>Determines, if the access is blocked.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> (required). + /// <p>Initial password flag<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + /// <p>Additional field for custom development.<br /></p>. + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO(string retailStoreID = default(string), string peripheralsTypeCode = default(string), string loginName = default(string), string loginPassword = default(string), string passwordCreateTimestamp = default(string), int? passwordFailedAttemptsCount = default(int?), string passwordLastSuccessfulLoginTimestamp = default(string), bool? accessBlockingFlag = default(bool?), bool? initialPasswordFlag = default(bool?), string xxcustom05 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), string xxcustom01 = default(string)) + { + // to ensure "retailStoreID" is required (not null) + if (retailStoreID == null) + { + throw new InvalidDataException("retailStoreID is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO and cannot be null"); + } + else + { + this.RetailStoreID = retailStoreID; + } + // to ensure "peripheralsTypeCode" is required (not null) + if (peripheralsTypeCode == null) + { + throw new InvalidDataException("peripheralsTypeCode is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO and cannot be null"); + } + else + { + this.PeripheralsTypeCode = peripheralsTypeCode; + } + // to ensure "loginName" is required (not null) + if (loginName == null) + { + throw new InvalidDataException("loginName is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO and cannot be null"); + } + else + { + this.LoginName = loginName; + } + // to ensure "passwordCreateTimestamp" is required (not null) + if (passwordCreateTimestamp == null) + { + throw new InvalidDataException("passwordCreateTimestamp is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO and cannot be null"); + } + else + { + this.PasswordCreateTimestamp = passwordCreateTimestamp; + } + // to ensure "passwordFailedAttemptsCount" is required (not null) + if (passwordFailedAttemptsCount == null) + { + throw new InvalidDataException("passwordFailedAttemptsCount is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO and cannot be null"); + } + else + { + this.PasswordFailedAttemptsCount = passwordFailedAttemptsCount; + } + // to ensure "accessBlockingFlag" is required (not null) + if (accessBlockingFlag == null) + { + throw new InvalidDataException("accessBlockingFlag is a required property for ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO and cannot be null"); + } + else + { + this.AccessBlockingFlag = accessBlockingFlag; + } + this.LoginPassword = loginPassword; + this.PasswordLastSuccessfulLoginTimestamp = passwordLastSuccessfulLoginTimestamp; + this.InitialPasswordFlag = initialPasswordFlag; + this.Xxcustom05 = xxcustom05; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01 = xxcustom01; + } + + /// + /// <p>Retail store ID of the periphery access assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + /// + /// <p>Retail store ID of the periphery access assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + [DataMember(Name="retailStoreID", EmitDefaultValue=false)] + public string RetailStoreID { get; set; } + + /// + /// <p>Identification of the periphery class. Possible values: 'Mobile', 'Web', 'POS', 'SCALE', 'RVM', 'ESL' etc.<br /> This attribute allows to define different login data for different peripheral systems.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.PeripheralSystemType<br /></p> + /// + /// <p>Identification of the periphery class. Possible values: 'Mobile', 'Web', 'POS', 'SCALE', 'RVM', 'ESL' etc.<br /> This attribute allows to define different login data for different peripheral systems.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.PeripheralSystemType<br /></p> + [DataMember(Name="peripheralsTypeCode", EmitDefaultValue=false)] + public string PeripheralsTypeCode { get; set; } + + /// + /// <p>Login name. The login name for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.LoginName<br /></p> + /// + /// <p>Login name. The login name for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.LoginName<br /></p> + [DataMember(Name="loginName", EmitDefaultValue=false)] + public string LoginName { get; set; } + + /// + /// <p>Password. The password for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.Password<br /></p> + /// + /// <p>Password. The password for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.Password<br /></p> + [DataMember(Name="loginPassword", EmitDefaultValue=false)] + public string LoginPassword { get; set; } + + /// + /// <p>Timestamp (date and time), when the password was created.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Timestamp (date and time), when the password was created.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="passwordCreateTimestamp", EmitDefaultValue=false)] + public string PasswordCreateTimestamp { get; set; } + + /// + /// <p>Count of failed log in attempts. This value is reset after a successfully log in.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + /// + /// <p>Count of failed log in attempts. This value is reset after a successfully log in.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + [DataMember(Name="passwordFailedAttemptsCount", EmitDefaultValue=false)] + public int? PasswordFailedAttemptsCount { get; set; } + + /// + /// <p>Timestamp of last successfully log in<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Timestamp of last successfully log in<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + [DataMember(Name="passwordLastSuccessfulLoginTimestamp", EmitDefaultValue=false)] + public string PasswordLastSuccessfulLoginTimestamp { get; set; } + + /// + /// <p>Determines, if the access is blocked.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + /// + /// <p>Determines, if the access is blocked.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + [DataMember(Name="accessBlockingFlag", EmitDefaultValue=false)] + public bool? AccessBlockingFlag { get; set; } + + /// + /// <p>Initial password flag<br /></p> + /// + /// <p>Initial password flag<br /></p> + [DataMember(Name="initialPasswordFlag", EmitDefaultValue=false)] + public bool? InitialPasswordFlag { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO {\n"); + sb.Append(" RetailStoreID: ").Append(RetailStoreID).Append("\n"); + sb.Append(" PeripheralsTypeCode: ").Append(PeripheralsTypeCode).Append("\n"); + sb.Append(" LoginName: ").Append(LoginName).Append("\n"); + sb.Append(" LoginPassword: ").Append(LoginPassword).Append("\n"); + sb.Append(" PasswordCreateTimestamp: ").Append(PasswordCreateTimestamp).Append("\n"); + sb.Append(" PasswordFailedAttemptsCount: ").Append(PasswordFailedAttemptsCount).Append("\n"); + sb.Append(" PasswordLastSuccessfulLoginTimestamp: ").Append(PasswordLastSuccessfulLoginTimestamp).Append("\n"); + sb.Append(" AccessBlockingFlag: ").Append(AccessBlockingFlag).Append("\n"); + sb.Append(" InitialPasswordFlag: ").Append(InitialPasswordFlag).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO); + } + + /// + /// Returns true if ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO instances are equal + /// + /// Instance of ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO to be compared + /// Boolean + public bool Equals(ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreID == input.RetailStoreID || + (this.RetailStoreID != null && + this.RetailStoreID.Equals(input.RetailStoreID)) + ) && + ( + this.PeripheralsTypeCode == input.PeripheralsTypeCode || + (this.PeripheralsTypeCode != null && + this.PeripheralsTypeCode.Equals(input.PeripheralsTypeCode)) + ) && + ( + this.LoginName == input.LoginName || + (this.LoginName != null && + this.LoginName.Equals(input.LoginName)) + ) && + ( + this.LoginPassword == input.LoginPassword || + (this.LoginPassword != null && + this.LoginPassword.Equals(input.LoginPassword)) + ) && + ( + this.PasswordCreateTimestamp == input.PasswordCreateTimestamp || + (this.PasswordCreateTimestamp != null && + this.PasswordCreateTimestamp.Equals(input.PasswordCreateTimestamp)) + ) && + ( + this.PasswordFailedAttemptsCount == input.PasswordFailedAttemptsCount || + (this.PasswordFailedAttemptsCount != null && + this.PasswordFailedAttemptsCount.Equals(input.PasswordFailedAttemptsCount)) + ) && + ( + this.PasswordLastSuccessfulLoginTimestamp == input.PasswordLastSuccessfulLoginTimestamp || + (this.PasswordLastSuccessfulLoginTimestamp != null && + this.PasswordLastSuccessfulLoginTimestamp.Equals(input.PasswordLastSuccessfulLoginTimestamp)) + ) && + ( + this.AccessBlockingFlag == input.AccessBlockingFlag || + (this.AccessBlockingFlag != null && + this.AccessBlockingFlag.Equals(input.AccessBlockingFlag)) + ) && + ( + this.InitialPasswordFlag == input.InitialPasswordFlag || + (this.InitialPasswordFlag != null && + this.InitialPasswordFlag.Equals(input.InitialPasswordFlag)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreID != null) + hashCode = hashCode * 59 + this.RetailStoreID.GetHashCode(); + if (this.PeripheralsTypeCode != null) + hashCode = hashCode * 59 + this.PeripheralsTypeCode.GetHashCode(); + if (this.LoginName != null) + hashCode = hashCode * 59 + this.LoginName.GetHashCode(); + if (this.LoginPassword != null) + hashCode = hashCode * 59 + this.LoginPassword.GetHashCode(); + if (this.PasswordCreateTimestamp != null) + hashCode = hashCode * 59 + this.PasswordCreateTimestamp.GetHashCode(); + if (this.PasswordFailedAttemptsCount != null) + hashCode = hashCode * 59 + this.PasswordFailedAttemptsCount.GetHashCode(); + if (this.PasswordLastSuccessfulLoginTimestamp != null) + hashCode = hashCode * 59 + this.PasswordLastSuccessfulLoginTimestamp.GetHashCode(); + if (this.AccessBlockingFlag != null) + hashCode = hashCode * 59 + this.AccessBlockingFlag.GetHashCode(); + if (this.InitialPasswordFlag != null) + hashCode = hashCode * 59 + this.InitialPasswordFlag.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/CurrencyResult.cs b/gatewayGK/POSGkSwaggerModel/Model/CurrencyResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..d0537bac0375d0716b83b9b8f6dcbf8860b69c4b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/CurrencyResult.cs @@ -0,0 +1,156 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CurrencyResult + /// + [DataContract] + public partial class CurrencyResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// baseCurrency. + /// currencies. + /// exchangeRates. + public CurrencyResult(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO baseCurrency = default(ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO), List currencies = default(List), Dictionary exchangeRates = default(Dictionary)) + { + this.BaseCurrency = baseCurrency; + this.Currencies = currencies; + this.ExchangeRates = exchangeRates; + } + + /// + /// Gets or Sets BaseCurrency + /// + [DataMember(Name="baseCurrency", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO BaseCurrency { get; set; } + + /// + /// Gets or Sets Currencies + /// + [DataMember(Name="currencies", EmitDefaultValue=false)] + public List Currencies { get; set; } + + /// + /// Gets or Sets ExchangeRates + /// + [DataMember(Name="exchangeRates", EmitDefaultValue=false)] + public Dictionary ExchangeRates { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CurrencyResult {\n"); + sb.Append(" BaseCurrency: ").Append(BaseCurrency).Append("\n"); + sb.Append(" Currencies: ").Append(Currencies).Append("\n"); + sb.Append(" ExchangeRates: ").Append(ExchangeRates).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CurrencyResult); + } + + /// + /// Returns true if CurrencyResult instances are equal + /// + /// Instance of CurrencyResult to be compared + /// Boolean + public bool Equals(CurrencyResult input) + { + if (input == null) + return false; + + return + ( + this.BaseCurrency == input.BaseCurrency || + (this.BaseCurrency != null && + this.BaseCurrency.Equals(input.BaseCurrency)) + ) && + ( + this.Currencies == input.Currencies || + this.Currencies != null && + this.Currencies.SequenceEqual(input.Currencies) + ) && + ( + this.ExchangeRates == input.ExchangeRates || + this.ExchangeRates != null && + this.ExchangeRates.SequenceEqual(input.ExchangeRates) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.BaseCurrency != null) + hashCode = hashCode * 59 + this.BaseCurrency.GetHashCode(); + if (this.Currencies != null) + hashCode = hashCode * 59 + this.Currencies.GetHashCode(); + if (this.ExchangeRates != null) + hashCode = hashCode * 59 + this.ExchangeRates.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/CustomerCardCodeConverterService.cs b/gatewayGK/POSGkSwaggerModel/Model/CustomerCardCodeConverterService.cs new file mode 100644 index 0000000000000000000000000000000000000000..0bb046b6b94f0a3b0e88db65187477635b5e239d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/CustomerCardCodeConverterService.cs @@ -0,0 +1,109 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// CustomerCardCodeConverterService + /// + [DataContract] + public partial class CustomerCardCodeConverterService : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public CustomerCardCodeConverterService() + { + } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class CustomerCardCodeConverterService {\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CustomerCardCodeConverterService); + } + + /// + /// Returns true if CustomerCardCodeConverterService instances are equal + /// + /// Instance of CustomerCardCodeConverterService to be compared + /// Boolean + public bool Equals(CustomerCardCodeConverterService input) + { + if (input == null) + return false; + + return false; + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ErrorCode.cs b/gatewayGK/POSGkSwaggerModel/Model/ErrorCode.cs new file mode 100644 index 0000000000000000000000000000000000000000..0172d86103359b19dcaf3fe5f49b4d2e11322db8 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ErrorCode.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ErrorCode + /// + [DataContract] + public partial class ErrorCode : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// errorCode. + /// message. + /// messageKey. + /// arguments. + public ErrorCode(string errorCode = default(string), string message = default(string), string messageKey = default(string), List arguments = default(List)) + { + this._ErrorCode = errorCode; + this.Message = message; + this.MessageKey = messageKey; + this.Arguments = arguments; + } + + /// + /// Gets or Sets _ErrorCode + /// + [DataMember(Name="errorCode", EmitDefaultValue=false)] + public string _ErrorCode { get; set; } + + /// + /// Gets or Sets Message + /// + [DataMember(Name="message", EmitDefaultValue=false)] + public string Message { get; set; } + + /// + /// Gets or Sets MessageKey + /// + [DataMember(Name="messageKey", EmitDefaultValue=false)] + public string MessageKey { get; set; } + + /// + /// Gets or Sets Arguments + /// + [DataMember(Name="arguments", EmitDefaultValue=false)] + public List Arguments { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ErrorCode {\n"); + sb.Append(" _ErrorCode: ").Append(_ErrorCode).Append("\n"); + sb.Append(" Message: ").Append(Message).Append("\n"); + sb.Append(" MessageKey: ").Append(MessageKey).Append("\n"); + sb.Append(" Arguments: ").Append(Arguments).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ErrorCode); + } + + /// + /// Returns true if ErrorCode instances are equal + /// + /// Instance of ErrorCode to be compared + /// Boolean + public bool Equals(ErrorCode input) + { + if (input == null) + return false; + + return + ( + this._ErrorCode == input._ErrorCode || + (this._ErrorCode != null && + this._ErrorCode.Equals(input._ErrorCode)) + ) && + ( + this.Message == input.Message || + (this.Message != null && + this.Message.Equals(input.Message)) + ) && + ( + this.MessageKey == input.MessageKey || + (this.MessageKey != null && + this.MessageKey.Equals(input.MessageKey)) + ) && + ( + this.Arguments == input.Arguments || + this.Arguments != null && + this.Arguments.SequenceEqual(input.Arguments) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this._ErrorCode != null) + hashCode = hashCode * 59 + this._ErrorCode.GetHashCode(); + if (this.Message != null) + hashCode = hashCode * 59 + this.Message.GetHashCode(); + if (this.MessageKey != null) + hashCode = hashCode * 59 + this.MessageKey.GetHashCode(); + if (this.Arguments != null) + hashCode = hashCode * 59 + this.Arguments.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/EventLogMessageDO.cs b/gatewayGK/POSGkSwaggerModel/Model/EventLogMessageDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..ba8264614f2b4ddb152a5240af55c779ab39580b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/EventLogMessageDO.cs @@ -0,0 +1,652 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EventLogMessageDO + /// + [DataContract] + public partial class EventLogMessageDO : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// key. + /// created. + /// createdUTC0. + /// type. + /// subType. + /// level. + /// application. + /// stationID. + /// nodeID. + /// businessUnitGroupID. + /// operatorID. + /// payload. + /// payloadDataID. + /// processData01. + /// processData02. + /// processData03. + /// processData04. + /// processData05. + /// processData06. + /// processData07. + /// processData08. + /// processData09. + /// processData10. + /// xxcustom08. + /// xxcustom10. + /// xxcustom09. + /// xxcustom07. + /// xxcustom05. + /// xxcustom06. + /// xxcustom03. + /// xxcustom02. + /// xxcustom04. + /// xid. + /// xxcustom01. + public EventLogMessageDO(Key key = default(Key), DateTime? created = default(DateTime?), DateTime? createdUTC0 = default(DateTime?), string type = default(string), string subType = default(string), string level = default(string), string application = default(string), string stationID = default(string), string nodeID = default(string), long? businessUnitGroupID = default(long?), string operatorID = default(string), List payload = default(List), string payloadDataID = default(string), string processData01 = default(string), string processData02 = default(string), string processData03 = default(string), string processData04 = default(string), string processData05 = default(string), string processData06 = default(string), string processData07 = default(string), string processData08 = default(string), string processData09 = default(string), string processData10 = default(string), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), long? xid = default(long?), string xxcustom01 = default(string)) + { + this.Key = key; + this.Created = created; + this.CreatedUTC0 = createdUTC0; + this.Type = type; + this.SubType = subType; + this.Level = level; + this.Application = application; + this.StationID = stationID; + this.NodeID = nodeID; + this.BusinessUnitGroupID = businessUnitGroupID; + this.OperatorID = operatorID; + this.Payload = payload; + this.PayloadDataID = payloadDataID; + this.ProcessData01 = processData01; + this.ProcessData02 = processData02; + this.ProcessData03 = processData03; + this.ProcessData04 = processData04; + this.ProcessData05 = processData05; + this.ProcessData06 = processData06; + this.ProcessData07 = processData07; + this.ProcessData08 = processData08; + this.ProcessData09 = processData09; + this.ProcessData10 = processData10; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xid = xid; + this.Xxcustom01 = xxcustom01; + } + + /// + /// Gets or Sets Key + /// + [DataMember(Name="key", EmitDefaultValue=false)] + public Key Key { get; set; } + + /// + /// Gets or Sets Created + /// + [DataMember(Name="created", EmitDefaultValue=false)] + public DateTime? Created { get; set; } + + /// + /// Gets or Sets CreatedUTC0 + /// + [DataMember(Name="createdUTC0", EmitDefaultValue=false)] + public DateTime? CreatedUTC0 { get; set; } + + /// + /// Gets or Sets Type + /// + [DataMember(Name="type", EmitDefaultValue=false)] + public string Type { get; set; } + + /// + /// Gets or Sets SubType + /// + [DataMember(Name="subType", EmitDefaultValue=false)] + public string SubType { get; set; } + + /// + /// Gets or Sets Level + /// + [DataMember(Name="level", EmitDefaultValue=false)] + public string Level { get; set; } + + /// + /// Gets or Sets Application + /// + [DataMember(Name="application", EmitDefaultValue=false)] + public string Application { get; set; } + + /// + /// Gets or Sets StationID + /// + [DataMember(Name="stationID", EmitDefaultValue=false)] + public string StationID { get; set; } + + /// + /// Gets or Sets NodeID + /// + [DataMember(Name="nodeID", EmitDefaultValue=false)] + public string NodeID { get; set; } + + /// + /// Gets or Sets BusinessUnitGroupID + /// + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public long? BusinessUnitGroupID { get; set; } + + /// + /// Gets or Sets OperatorID + /// + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// Gets or Sets Payload + /// + [DataMember(Name="payload", EmitDefaultValue=false)] + public List Payload { get; set; } + + /// + /// Gets or Sets PayloadDataID + /// + [DataMember(Name="payloadDataID", EmitDefaultValue=false)] + public string PayloadDataID { get; set; } + + /// + /// Gets or Sets ProcessData01 + /// + [DataMember(Name="processData01", EmitDefaultValue=false)] + public string ProcessData01 { get; set; } + + /// + /// Gets or Sets ProcessData02 + /// + [DataMember(Name="processData02", EmitDefaultValue=false)] + public string ProcessData02 { get; set; } + + /// + /// Gets or Sets ProcessData03 + /// + [DataMember(Name="processData03", EmitDefaultValue=false)] + public string ProcessData03 { get; set; } + + /// + /// Gets or Sets ProcessData04 + /// + [DataMember(Name="processData04", EmitDefaultValue=false)] + public string ProcessData04 { get; set; } + + /// + /// Gets or Sets ProcessData05 + /// + [DataMember(Name="processData05", EmitDefaultValue=false)] + public string ProcessData05 { get; set; } + + /// + /// Gets or Sets ProcessData06 + /// + [DataMember(Name="processData06", EmitDefaultValue=false)] + public string ProcessData06 { get; set; } + + /// + /// Gets or Sets ProcessData07 + /// + [DataMember(Name="processData07", EmitDefaultValue=false)] + public string ProcessData07 { get; set; } + + /// + /// Gets or Sets ProcessData08 + /// + [DataMember(Name="processData08", EmitDefaultValue=false)] + public string ProcessData08 { get; set; } + + /// + /// Gets or Sets ProcessData09 + /// + [DataMember(Name="processData09", EmitDefaultValue=false)] + public string ProcessData09 { get; set; } + + /// + /// Gets or Sets ProcessData10 + /// + [DataMember(Name="processData10", EmitDefaultValue=false)] + public string ProcessData10 { get; set; } + + /// + /// Gets or Sets Xxcustom08 + /// + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Gets or Sets Xxcustom10 + /// + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Gets or Sets Xxcustom09 + /// + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Gets or Sets Xxcustom07 + /// + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Gets or Sets Xxcustom05 + /// + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Gets or Sets Xxcustom06 + /// + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Gets or Sets Xxcustom03 + /// + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Gets or Sets Xxcustom02 + /// + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Gets or Sets Xxcustom04 + /// + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets Xid + /// + [DataMember(Name="xid", EmitDefaultValue=false)] + public long? Xid { get; set; } + + /// + /// Gets or Sets Xxcustom01 + /// + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EventLogMessageDO {\n"); + sb.Append(" Key: ").Append(Key).Append("\n"); + sb.Append(" Created: ").Append(Created).Append("\n"); + sb.Append(" CreatedUTC0: ").Append(CreatedUTC0).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" SubType: ").Append(SubType).Append("\n"); + sb.Append(" Level: ").Append(Level).Append("\n"); + sb.Append(" Application: ").Append(Application).Append("\n"); + sb.Append(" StationID: ").Append(StationID).Append("\n"); + sb.Append(" NodeID: ").Append(NodeID).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" Payload: ").Append(Payload).Append("\n"); + sb.Append(" PayloadDataID: ").Append(PayloadDataID).Append("\n"); + sb.Append(" ProcessData01: ").Append(ProcessData01).Append("\n"); + sb.Append(" ProcessData02: ").Append(ProcessData02).Append("\n"); + sb.Append(" ProcessData03: ").Append(ProcessData03).Append("\n"); + sb.Append(" ProcessData04: ").Append(ProcessData04).Append("\n"); + sb.Append(" ProcessData05: ").Append(ProcessData05).Append("\n"); + sb.Append(" ProcessData06: ").Append(ProcessData06).Append("\n"); + sb.Append(" ProcessData07: ").Append(ProcessData07).Append("\n"); + sb.Append(" ProcessData08: ").Append(ProcessData08).Append("\n"); + sb.Append(" ProcessData09: ").Append(ProcessData09).Append("\n"); + sb.Append(" ProcessData10: ").Append(ProcessData10).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xid: ").Append(Xid).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as EventLogMessageDO); + } + + /// + /// Returns true if EventLogMessageDO instances are equal + /// + /// Instance of EventLogMessageDO to be compared + /// Boolean + public bool Equals(EventLogMessageDO input) + { + if (input == null) + return false; + + return + ( + this.Key == input.Key || + (this.Key != null && + this.Key.Equals(input.Key)) + ) && + ( + this.Created == input.Created || + (this.Created != null && + this.Created.Equals(input.Created)) + ) && + ( + this.CreatedUTC0 == input.CreatedUTC0 || + (this.CreatedUTC0 != null && + this.CreatedUTC0.Equals(input.CreatedUTC0)) + ) && + ( + this.Type == input.Type || + (this.Type != null && + this.Type.Equals(input.Type)) + ) && + ( + this.SubType == input.SubType || + (this.SubType != null && + this.SubType.Equals(input.SubType)) + ) && + ( + this.Level == input.Level || + (this.Level != null && + this.Level.Equals(input.Level)) + ) && + ( + this.Application == input.Application || + (this.Application != null && + this.Application.Equals(input.Application)) + ) && + ( + this.StationID == input.StationID || + (this.StationID != null && + this.StationID.Equals(input.StationID)) + ) && + ( + this.NodeID == input.NodeID || + (this.NodeID != null && + this.NodeID.Equals(input.NodeID)) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.Payload == input.Payload || + this.Payload != null && + this.Payload.SequenceEqual(input.Payload) + ) && + ( + this.PayloadDataID == input.PayloadDataID || + (this.PayloadDataID != null && + this.PayloadDataID.Equals(input.PayloadDataID)) + ) && + ( + this.ProcessData01 == input.ProcessData01 || + (this.ProcessData01 != null && + this.ProcessData01.Equals(input.ProcessData01)) + ) && + ( + this.ProcessData02 == input.ProcessData02 || + (this.ProcessData02 != null && + this.ProcessData02.Equals(input.ProcessData02)) + ) && + ( + this.ProcessData03 == input.ProcessData03 || + (this.ProcessData03 != null && + this.ProcessData03.Equals(input.ProcessData03)) + ) && + ( + this.ProcessData04 == input.ProcessData04 || + (this.ProcessData04 != null && + this.ProcessData04.Equals(input.ProcessData04)) + ) && + ( + this.ProcessData05 == input.ProcessData05 || + (this.ProcessData05 != null && + this.ProcessData05.Equals(input.ProcessData05)) + ) && + ( + this.ProcessData06 == input.ProcessData06 || + (this.ProcessData06 != null && + this.ProcessData06.Equals(input.ProcessData06)) + ) && + ( + this.ProcessData07 == input.ProcessData07 || + (this.ProcessData07 != null && + this.ProcessData07.Equals(input.ProcessData07)) + ) && + ( + this.ProcessData08 == input.ProcessData08 || + (this.ProcessData08 != null && + this.ProcessData08.Equals(input.ProcessData08)) + ) && + ( + this.ProcessData09 == input.ProcessData09 || + (this.ProcessData09 != null && + this.ProcessData09.Equals(input.ProcessData09)) + ) && + ( + this.ProcessData10 == input.ProcessData10 || + (this.ProcessData10 != null && + this.ProcessData10.Equals(input.ProcessData10)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xid == input.Xid || + (this.Xid != null && + this.Xid.Equals(input.Xid)) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Key != null) + hashCode = hashCode * 59 + this.Key.GetHashCode(); + if (this.Created != null) + hashCode = hashCode * 59 + this.Created.GetHashCode(); + if (this.CreatedUTC0 != null) + hashCode = hashCode * 59 + this.CreatedUTC0.GetHashCode(); + if (this.Type != null) + hashCode = hashCode * 59 + this.Type.GetHashCode(); + if (this.SubType != null) + hashCode = hashCode * 59 + this.SubType.GetHashCode(); + if (this.Level != null) + hashCode = hashCode * 59 + this.Level.GetHashCode(); + if (this.Application != null) + hashCode = hashCode * 59 + this.Application.GetHashCode(); + if (this.StationID != null) + hashCode = hashCode * 59 + this.StationID.GetHashCode(); + if (this.NodeID != null) + hashCode = hashCode * 59 + this.NodeID.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.Payload != null) + hashCode = hashCode * 59 + this.Payload.GetHashCode(); + if (this.PayloadDataID != null) + hashCode = hashCode * 59 + this.PayloadDataID.GetHashCode(); + if (this.ProcessData01 != null) + hashCode = hashCode * 59 + this.ProcessData01.GetHashCode(); + if (this.ProcessData02 != null) + hashCode = hashCode * 59 + this.ProcessData02.GetHashCode(); + if (this.ProcessData03 != null) + hashCode = hashCode * 59 + this.ProcessData03.GetHashCode(); + if (this.ProcessData04 != null) + hashCode = hashCode * 59 + this.ProcessData04.GetHashCode(); + if (this.ProcessData05 != null) + hashCode = hashCode * 59 + this.ProcessData05.GetHashCode(); + if (this.ProcessData06 != null) + hashCode = hashCode * 59 + this.ProcessData06.GetHashCode(); + if (this.ProcessData07 != null) + hashCode = hashCode * 59 + this.ProcessData07.GetHashCode(); + if (this.ProcessData08 != null) + hashCode = hashCode * 59 + this.ProcessData08.GetHashCode(); + if (this.ProcessData09 != null) + hashCode = hashCode * 59 + this.ProcessData09.GetHashCode(); + if (this.ProcessData10 != null) + hashCode = hashCode * 59 + this.ProcessData10.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xid != null) + hashCode = hashCode * 59 + this.Xid.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/EventLogMessageSearchCriteria.cs b/gatewayGK/POSGkSwaggerModel/Model/EventLogMessageSearchCriteria.cs new file mode 100644 index 0000000000000000000000000000000000000000..8b1497c8f2d810ff577f6d73a9aa402912ed25ed --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/EventLogMessageSearchCriteria.cs @@ -0,0 +1,1020 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EventLogMessageSearchCriteria + /// + [DataContract] + public partial class EventLogMessageSearchCriteria : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// createdFrom. + /// createdTo. + /// type. + /// subType. + /// application. + /// level. + /// retailStoreID. + /// retailStoreIDList. + /// businessUnitGroupID. + /// businessUnitGroupIDList. + /// stationID. + /// nodeID. + /// operatorID. + /// workstationID. + /// payloadDataID. + /// processData01. + /// processData02. + /// processData03. + /// processData04. + /// processData05. + /// processData06. + /// processData07. + /// processData08. + /// processData09. + /// processData10. + /// processData01List. + /// processData02List. + /// processData03List. + /// processData04List. + /// processData05List. + /// processData06List. + /// processData07List. + /// processData08List. + /// processData09List. + /// processData10List. + /// isLastEventLog. + /// distance. + /// xxcustom08. + /// xxcustom10. + /// xxcustom09. + /// xxcustom07. + /// xxcustom05. + /// xxcustom06. + /// xxcustom03. + /// xxcustom02. + /// xxcustom04. + /// xxcustom01List. + /// xxcustom02List. + /// xxcustom03List. + /// xxcustom04List. + /// xxcustom05List. + /// xxcustom06List. + /// xxcustom07List. + /// xxcustom08List. + /// xxcustom09List. + /// xxcustom10List. + /// xxcustom01. + public EventLogMessageSearchCriteria(DateTime? createdFrom = default(DateTime?), DateTime? createdTo = default(DateTime?), string type = default(string), string subType = default(string), string application = default(string), string level = default(string), string retailStoreID = default(string), List retailStoreIDList = default(List), long? businessUnitGroupID = default(long?), List businessUnitGroupIDList = default(List), string stationID = default(string), string nodeID = default(string), string operatorID = default(string), string workstationID = default(string), string payloadDataID = default(string), string processData01 = default(string), string processData02 = default(string), string processData03 = default(string), string processData04 = default(string), string processData05 = default(string), string processData06 = default(string), string processData07 = default(string), string processData08 = default(string), string processData09 = default(string), string processData10 = default(string), List processData01List = default(List), List processData02List = default(List), List processData03List = default(List), List processData04List = default(List), List processData05List = default(List), List processData06List = default(List), List processData07List = default(List), List processData08List = default(List), List processData09List = default(List), List processData10List = default(List), bool? isLastEventLog = default(bool?), int? distance = default(int?), string xxcustom08 = default(string), string xxcustom10 = default(string), string xxcustom09 = default(string), string xxcustom07 = default(string), string xxcustom05 = default(string), string xxcustom06 = default(string), string xxcustom03 = default(string), string xxcustom02 = default(string), string xxcustom04 = default(string), List xxcustom01List = default(List), List xxcustom02List = default(List), List xxcustom03List = default(List), List xxcustom04List = default(List), List xxcustom05List = default(List), List xxcustom06List = default(List), List xxcustom07List = default(List), List xxcustom08List = default(List), List xxcustom09List = default(List), List xxcustom10List = default(List), string xxcustom01 = default(string)) + { + this.CreatedFrom = createdFrom; + this.CreatedTo = createdTo; + this.Type = type; + this.SubType = subType; + this.Application = application; + this.Level = level; + this.RetailStoreID = retailStoreID; + this.RetailStoreIDList = retailStoreIDList; + this.BusinessUnitGroupID = businessUnitGroupID; + this.BusinessUnitGroupIDList = businessUnitGroupIDList; + this.StationID = stationID; + this.NodeID = nodeID; + this.OperatorID = operatorID; + this.WorkstationID = workstationID; + this.PayloadDataID = payloadDataID; + this.ProcessData01 = processData01; + this.ProcessData02 = processData02; + this.ProcessData03 = processData03; + this.ProcessData04 = processData04; + this.ProcessData05 = processData05; + this.ProcessData06 = processData06; + this.ProcessData07 = processData07; + this.ProcessData08 = processData08; + this.ProcessData09 = processData09; + this.ProcessData10 = processData10; + this.ProcessData01List = processData01List; + this.ProcessData02List = processData02List; + this.ProcessData03List = processData03List; + this.ProcessData04List = processData04List; + this.ProcessData05List = processData05List; + this.ProcessData06List = processData06List; + this.ProcessData07List = processData07List; + this.ProcessData08List = processData08List; + this.ProcessData09List = processData09List; + this.ProcessData10List = processData10List; + this.IsLastEventLog = isLastEventLog; + this.Distance = distance; + this.Xxcustom08 = xxcustom08; + this.Xxcustom10 = xxcustom10; + this.Xxcustom09 = xxcustom09; + this.Xxcustom07 = xxcustom07; + this.Xxcustom05 = xxcustom05; + this.Xxcustom06 = xxcustom06; + this.Xxcustom03 = xxcustom03; + this.Xxcustom02 = xxcustom02; + this.Xxcustom04 = xxcustom04; + this.Xxcustom01List = xxcustom01List; + this.Xxcustom02List = xxcustom02List; + this.Xxcustom03List = xxcustom03List; + this.Xxcustom04List = xxcustom04List; + this.Xxcustom05List = xxcustom05List; + this.Xxcustom06List = xxcustom06List; + this.Xxcustom07List = xxcustom07List; + this.Xxcustom08List = xxcustom08List; + this.Xxcustom09List = xxcustom09List; + this.Xxcustom10List = xxcustom10List; + this.Xxcustom01 = xxcustom01; + } + + /// + /// Gets or Sets CreatedFrom + /// + [DataMember(Name="createdFrom", EmitDefaultValue=false)] + public DateTime? CreatedFrom { get; set; } + + /// + /// Gets or Sets CreatedTo + /// + [DataMember(Name="createdTo", EmitDefaultValue=false)] + public DateTime? CreatedTo { get; set; } + + /// + /// Gets or Sets Type + /// + [DataMember(Name="type", EmitDefaultValue=false)] + public string Type { get; set; } + + /// + /// Gets or Sets SubType + /// + [DataMember(Name="subType", EmitDefaultValue=false)] + public string SubType { get; set; } + + /// + /// Gets or Sets Application + /// + [DataMember(Name="application", EmitDefaultValue=false)] + public string Application { get; set; } + + /// + /// Gets or Sets Level + /// + [DataMember(Name="level", EmitDefaultValue=false)] + public string Level { get; set; } + + /// + /// Gets or Sets RetailStoreID + /// + [DataMember(Name="retailStoreID", EmitDefaultValue=false)] + public string RetailStoreID { get; set; } + + /// + /// Gets or Sets RetailStoreIDList + /// + [DataMember(Name="retailStoreIDList", EmitDefaultValue=false)] + public List RetailStoreIDList { get; set; } + + /// + /// Gets or Sets BusinessUnitGroupID + /// + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + public long? BusinessUnitGroupID { get; set; } + + /// + /// Gets or Sets BusinessUnitGroupIDList + /// + [DataMember(Name="businessUnitGroupIDList", EmitDefaultValue=false)] + public List BusinessUnitGroupIDList { get; set; } + + /// + /// Gets or Sets StationID + /// + [DataMember(Name="stationID", EmitDefaultValue=false)] + public string StationID { get; set; } + + /// + /// Gets or Sets NodeID + /// + [DataMember(Name="nodeID", EmitDefaultValue=false)] + public string NodeID { get; set; } + + /// + /// Gets or Sets OperatorID + /// + [DataMember(Name="operatorID", EmitDefaultValue=false)] + public string OperatorID { get; set; } + + /// + /// Gets or Sets WorkstationID + /// + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// Gets or Sets PayloadDataID + /// + [DataMember(Name="payloadDataID", EmitDefaultValue=false)] + public string PayloadDataID { get; set; } + + /// + /// Gets or Sets ProcessData01 + /// + [DataMember(Name="processData01", EmitDefaultValue=false)] + public string ProcessData01 { get; set; } + + /// + /// Gets or Sets ProcessData02 + /// + [DataMember(Name="processData02", EmitDefaultValue=false)] + public string ProcessData02 { get; set; } + + /// + /// Gets or Sets ProcessData03 + /// + [DataMember(Name="processData03", EmitDefaultValue=false)] + public string ProcessData03 { get; set; } + + /// + /// Gets or Sets ProcessData04 + /// + [DataMember(Name="processData04", EmitDefaultValue=false)] + public string ProcessData04 { get; set; } + + /// + /// Gets or Sets ProcessData05 + /// + [DataMember(Name="processData05", EmitDefaultValue=false)] + public string ProcessData05 { get; set; } + + /// + /// Gets or Sets ProcessData06 + /// + [DataMember(Name="processData06", EmitDefaultValue=false)] + public string ProcessData06 { get; set; } + + /// + /// Gets or Sets ProcessData07 + /// + [DataMember(Name="processData07", EmitDefaultValue=false)] + public string ProcessData07 { get; set; } + + /// + /// Gets or Sets ProcessData08 + /// + [DataMember(Name="processData08", EmitDefaultValue=false)] + public string ProcessData08 { get; set; } + + /// + /// Gets or Sets ProcessData09 + /// + [DataMember(Name="processData09", EmitDefaultValue=false)] + public string ProcessData09 { get; set; } + + /// + /// Gets or Sets ProcessData10 + /// + [DataMember(Name="processData10", EmitDefaultValue=false)] + public string ProcessData10 { get; set; } + + /// + /// Gets or Sets ProcessData01List + /// + [DataMember(Name="processData01List", EmitDefaultValue=false)] + public List ProcessData01List { get; set; } + + /// + /// Gets or Sets ProcessData02List + /// + [DataMember(Name="processData02List", EmitDefaultValue=false)] + public List ProcessData02List { get; set; } + + /// + /// Gets or Sets ProcessData03List + /// + [DataMember(Name="processData03List", EmitDefaultValue=false)] + public List ProcessData03List { get; set; } + + /// + /// Gets or Sets ProcessData04List + /// + [DataMember(Name="processData04List", EmitDefaultValue=false)] + public List ProcessData04List { get; set; } + + /// + /// Gets or Sets ProcessData05List + /// + [DataMember(Name="processData05List", EmitDefaultValue=false)] + public List ProcessData05List { get; set; } + + /// + /// Gets or Sets ProcessData06List + /// + [DataMember(Name="processData06List", EmitDefaultValue=false)] + public List ProcessData06List { get; set; } + + /// + /// Gets or Sets ProcessData07List + /// + [DataMember(Name="processData07List", EmitDefaultValue=false)] + public List ProcessData07List { get; set; } + + /// + /// Gets or Sets ProcessData08List + /// + [DataMember(Name="processData08List", EmitDefaultValue=false)] + public List ProcessData08List { get; set; } + + /// + /// Gets or Sets ProcessData09List + /// + [DataMember(Name="processData09List", EmitDefaultValue=false)] + public List ProcessData09List { get; set; } + + /// + /// Gets or Sets ProcessData10List + /// + [DataMember(Name="processData10List", EmitDefaultValue=false)] + public List ProcessData10List { get; set; } + + /// + /// Gets or Sets IsLastEventLog + /// + [DataMember(Name="isLastEventLog", EmitDefaultValue=false)] + public bool? IsLastEventLog { get; set; } + + /// + /// Gets or Sets Distance + /// + [DataMember(Name="distance", EmitDefaultValue=false)] + public int? Distance { get; set; } + + /// + /// Gets or Sets Xxcustom08 + /// + [DataMember(Name="xxcustom08", EmitDefaultValue=false)] + public string Xxcustom08 { get; set; } + + /// + /// Gets or Sets Xxcustom10 + /// + [DataMember(Name="xxcustom10", EmitDefaultValue=false)] + public string Xxcustom10 { get; set; } + + /// + /// Gets or Sets Xxcustom09 + /// + [DataMember(Name="xxcustom09", EmitDefaultValue=false)] + public string Xxcustom09 { get; set; } + + /// + /// Gets or Sets Xxcustom07 + /// + [DataMember(Name="xxcustom07", EmitDefaultValue=false)] + public string Xxcustom07 { get; set; } + + /// + /// Gets or Sets Xxcustom05 + /// + [DataMember(Name="xxcustom05", EmitDefaultValue=false)] + public string Xxcustom05 { get; set; } + + /// + /// Gets or Sets Xxcustom06 + /// + [DataMember(Name="xxcustom06", EmitDefaultValue=false)] + public string Xxcustom06 { get; set; } + + /// + /// Gets or Sets Xxcustom03 + /// + [DataMember(Name="xxcustom03", EmitDefaultValue=false)] + public string Xxcustom03 { get; set; } + + /// + /// Gets or Sets Xxcustom02 + /// + [DataMember(Name="xxcustom02", EmitDefaultValue=false)] + public string Xxcustom02 { get; set; } + + /// + /// Gets or Sets Xxcustom04 + /// + [DataMember(Name="xxcustom04", EmitDefaultValue=false)] + public string Xxcustom04 { get; set; } + + /// + /// Gets or Sets Xxcustom01List + /// + [DataMember(Name="xxcustom01List", EmitDefaultValue=false)] + public List Xxcustom01List { get; set; } + + /// + /// Gets or Sets Xxcustom02List + /// + [DataMember(Name="xxcustom02List", EmitDefaultValue=false)] + public List Xxcustom02List { get; set; } + + /// + /// Gets or Sets Xxcustom03List + /// + [DataMember(Name="xxcustom03List", EmitDefaultValue=false)] + public List Xxcustom03List { get; set; } + + /// + /// Gets or Sets Xxcustom04List + /// + [DataMember(Name="xxcustom04List", EmitDefaultValue=false)] + public List Xxcustom04List { get; set; } + + /// + /// Gets or Sets Xxcustom05List + /// + [DataMember(Name="xxcustom05List", EmitDefaultValue=false)] + public List Xxcustom05List { get; set; } + + /// + /// Gets or Sets Xxcustom06List + /// + [DataMember(Name="xxcustom06List", EmitDefaultValue=false)] + public List Xxcustom06List { get; set; } + + /// + /// Gets or Sets Xxcustom07List + /// + [DataMember(Name="xxcustom07List", EmitDefaultValue=false)] + public List Xxcustom07List { get; set; } + + /// + /// Gets or Sets Xxcustom08List + /// + [DataMember(Name="xxcustom08List", EmitDefaultValue=false)] + public List Xxcustom08List { get; set; } + + /// + /// Gets or Sets Xxcustom09List + /// + [DataMember(Name="xxcustom09List", EmitDefaultValue=false)] + public List Xxcustom09List { get; set; } + + /// + /// Gets or Sets Xxcustom10List + /// + [DataMember(Name="xxcustom10List", EmitDefaultValue=false)] + public List Xxcustom10List { get; set; } + + /// + /// Gets or Sets Xxcustom01 + /// + [DataMember(Name="xxcustom01", EmitDefaultValue=false)] + public string Xxcustom01 { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EventLogMessageSearchCriteria {\n"); + sb.Append(" CreatedFrom: ").Append(CreatedFrom).Append("\n"); + sb.Append(" CreatedTo: ").Append(CreatedTo).Append("\n"); + sb.Append(" Type: ").Append(Type).Append("\n"); + sb.Append(" SubType: ").Append(SubType).Append("\n"); + sb.Append(" Application: ").Append(Application).Append("\n"); + sb.Append(" Level: ").Append(Level).Append("\n"); + sb.Append(" RetailStoreID: ").Append(RetailStoreID).Append("\n"); + sb.Append(" RetailStoreIDList: ").Append(RetailStoreIDList).Append("\n"); + sb.Append(" BusinessUnitGroupID: ").Append(BusinessUnitGroupID).Append("\n"); + sb.Append(" BusinessUnitGroupIDList: ").Append(BusinessUnitGroupIDList).Append("\n"); + sb.Append(" StationID: ").Append(StationID).Append("\n"); + sb.Append(" NodeID: ").Append(NodeID).Append("\n"); + sb.Append(" OperatorID: ").Append(OperatorID).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" PayloadDataID: ").Append(PayloadDataID).Append("\n"); + sb.Append(" ProcessData01: ").Append(ProcessData01).Append("\n"); + sb.Append(" ProcessData02: ").Append(ProcessData02).Append("\n"); + sb.Append(" ProcessData03: ").Append(ProcessData03).Append("\n"); + sb.Append(" ProcessData04: ").Append(ProcessData04).Append("\n"); + sb.Append(" ProcessData05: ").Append(ProcessData05).Append("\n"); + sb.Append(" ProcessData06: ").Append(ProcessData06).Append("\n"); + sb.Append(" ProcessData07: ").Append(ProcessData07).Append("\n"); + sb.Append(" ProcessData08: ").Append(ProcessData08).Append("\n"); + sb.Append(" ProcessData09: ").Append(ProcessData09).Append("\n"); + sb.Append(" ProcessData10: ").Append(ProcessData10).Append("\n"); + sb.Append(" ProcessData01List: ").Append(ProcessData01List).Append("\n"); + sb.Append(" ProcessData02List: ").Append(ProcessData02List).Append("\n"); + sb.Append(" ProcessData03List: ").Append(ProcessData03List).Append("\n"); + sb.Append(" ProcessData04List: ").Append(ProcessData04List).Append("\n"); + sb.Append(" ProcessData05List: ").Append(ProcessData05List).Append("\n"); + sb.Append(" ProcessData06List: ").Append(ProcessData06List).Append("\n"); + sb.Append(" ProcessData07List: ").Append(ProcessData07List).Append("\n"); + sb.Append(" ProcessData08List: ").Append(ProcessData08List).Append("\n"); + sb.Append(" ProcessData09List: ").Append(ProcessData09List).Append("\n"); + sb.Append(" ProcessData10List: ").Append(ProcessData10List).Append("\n"); + sb.Append(" IsLastEventLog: ").Append(IsLastEventLog).Append("\n"); + sb.Append(" Distance: ").Append(Distance).Append("\n"); + sb.Append(" Xxcustom08: ").Append(Xxcustom08).Append("\n"); + sb.Append(" Xxcustom10: ").Append(Xxcustom10).Append("\n"); + sb.Append(" Xxcustom09: ").Append(Xxcustom09).Append("\n"); + sb.Append(" Xxcustom07: ").Append(Xxcustom07).Append("\n"); + sb.Append(" Xxcustom05: ").Append(Xxcustom05).Append("\n"); + sb.Append(" Xxcustom06: ").Append(Xxcustom06).Append("\n"); + sb.Append(" Xxcustom03: ").Append(Xxcustom03).Append("\n"); + sb.Append(" Xxcustom02: ").Append(Xxcustom02).Append("\n"); + sb.Append(" Xxcustom04: ").Append(Xxcustom04).Append("\n"); + sb.Append(" Xxcustom01List: ").Append(Xxcustom01List).Append("\n"); + sb.Append(" Xxcustom02List: ").Append(Xxcustom02List).Append("\n"); + sb.Append(" Xxcustom03List: ").Append(Xxcustom03List).Append("\n"); + sb.Append(" Xxcustom04List: ").Append(Xxcustom04List).Append("\n"); + sb.Append(" Xxcustom05List: ").Append(Xxcustom05List).Append("\n"); + sb.Append(" Xxcustom06List: ").Append(Xxcustom06List).Append("\n"); + sb.Append(" Xxcustom07List: ").Append(Xxcustom07List).Append("\n"); + sb.Append(" Xxcustom08List: ").Append(Xxcustom08List).Append("\n"); + sb.Append(" Xxcustom09List: ").Append(Xxcustom09List).Append("\n"); + sb.Append(" Xxcustom10List: ").Append(Xxcustom10List).Append("\n"); + sb.Append(" Xxcustom01: ").Append(Xxcustom01).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as EventLogMessageSearchCriteria); + } + + /// + /// Returns true if EventLogMessageSearchCriteria instances are equal + /// + /// Instance of EventLogMessageSearchCriteria to be compared + /// Boolean + public bool Equals(EventLogMessageSearchCriteria input) + { + if (input == null) + return false; + + return + ( + this.CreatedFrom == input.CreatedFrom || + (this.CreatedFrom != null && + this.CreatedFrom.Equals(input.CreatedFrom)) + ) && + ( + this.CreatedTo == input.CreatedTo || + (this.CreatedTo != null && + this.CreatedTo.Equals(input.CreatedTo)) + ) && + ( + this.Type == input.Type || + (this.Type != null && + this.Type.Equals(input.Type)) + ) && + ( + this.SubType == input.SubType || + (this.SubType != null && + this.SubType.Equals(input.SubType)) + ) && + ( + this.Application == input.Application || + (this.Application != null && + this.Application.Equals(input.Application)) + ) && + ( + this.Level == input.Level || + (this.Level != null && + this.Level.Equals(input.Level)) + ) && + ( + this.RetailStoreID == input.RetailStoreID || + (this.RetailStoreID != null && + this.RetailStoreID.Equals(input.RetailStoreID)) + ) && + ( + this.RetailStoreIDList == input.RetailStoreIDList || + this.RetailStoreIDList != null && + this.RetailStoreIDList.SequenceEqual(input.RetailStoreIDList) + ) && + ( + this.BusinessUnitGroupID == input.BusinessUnitGroupID || + (this.BusinessUnitGroupID != null && + this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID)) + ) && + ( + this.BusinessUnitGroupIDList == input.BusinessUnitGroupIDList || + this.BusinessUnitGroupIDList != null && + this.BusinessUnitGroupIDList.SequenceEqual(input.BusinessUnitGroupIDList) + ) && + ( + this.StationID == input.StationID || + (this.StationID != null && + this.StationID.Equals(input.StationID)) + ) && + ( + this.NodeID == input.NodeID || + (this.NodeID != null && + this.NodeID.Equals(input.NodeID)) + ) && + ( + this.OperatorID == input.OperatorID || + (this.OperatorID != null && + this.OperatorID.Equals(input.OperatorID)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.PayloadDataID == input.PayloadDataID || + (this.PayloadDataID != null && + this.PayloadDataID.Equals(input.PayloadDataID)) + ) && + ( + this.ProcessData01 == input.ProcessData01 || + (this.ProcessData01 != null && + this.ProcessData01.Equals(input.ProcessData01)) + ) && + ( + this.ProcessData02 == input.ProcessData02 || + (this.ProcessData02 != null && + this.ProcessData02.Equals(input.ProcessData02)) + ) && + ( + this.ProcessData03 == input.ProcessData03 || + (this.ProcessData03 != null && + this.ProcessData03.Equals(input.ProcessData03)) + ) && + ( + this.ProcessData04 == input.ProcessData04 || + (this.ProcessData04 != null && + this.ProcessData04.Equals(input.ProcessData04)) + ) && + ( + this.ProcessData05 == input.ProcessData05 || + (this.ProcessData05 != null && + this.ProcessData05.Equals(input.ProcessData05)) + ) && + ( + this.ProcessData06 == input.ProcessData06 || + (this.ProcessData06 != null && + this.ProcessData06.Equals(input.ProcessData06)) + ) && + ( + this.ProcessData07 == input.ProcessData07 || + (this.ProcessData07 != null && + this.ProcessData07.Equals(input.ProcessData07)) + ) && + ( + this.ProcessData08 == input.ProcessData08 || + (this.ProcessData08 != null && + this.ProcessData08.Equals(input.ProcessData08)) + ) && + ( + this.ProcessData09 == input.ProcessData09 || + (this.ProcessData09 != null && + this.ProcessData09.Equals(input.ProcessData09)) + ) && + ( + this.ProcessData10 == input.ProcessData10 || + (this.ProcessData10 != null && + this.ProcessData10.Equals(input.ProcessData10)) + ) && + ( + this.ProcessData01List == input.ProcessData01List || + this.ProcessData01List != null && + this.ProcessData01List.SequenceEqual(input.ProcessData01List) + ) && + ( + this.ProcessData02List == input.ProcessData02List || + this.ProcessData02List != null && + this.ProcessData02List.SequenceEqual(input.ProcessData02List) + ) && + ( + this.ProcessData03List == input.ProcessData03List || + this.ProcessData03List != null && + this.ProcessData03List.SequenceEqual(input.ProcessData03List) + ) && + ( + this.ProcessData04List == input.ProcessData04List || + this.ProcessData04List != null && + this.ProcessData04List.SequenceEqual(input.ProcessData04List) + ) && + ( + this.ProcessData05List == input.ProcessData05List || + this.ProcessData05List != null && + this.ProcessData05List.SequenceEqual(input.ProcessData05List) + ) && + ( + this.ProcessData06List == input.ProcessData06List || + this.ProcessData06List != null && + this.ProcessData06List.SequenceEqual(input.ProcessData06List) + ) && + ( + this.ProcessData07List == input.ProcessData07List || + this.ProcessData07List != null && + this.ProcessData07List.SequenceEqual(input.ProcessData07List) + ) && + ( + this.ProcessData08List == input.ProcessData08List || + this.ProcessData08List != null && + this.ProcessData08List.SequenceEqual(input.ProcessData08List) + ) && + ( + this.ProcessData09List == input.ProcessData09List || + this.ProcessData09List != null && + this.ProcessData09List.SequenceEqual(input.ProcessData09List) + ) && + ( + this.ProcessData10List == input.ProcessData10List || + this.ProcessData10List != null && + this.ProcessData10List.SequenceEqual(input.ProcessData10List) + ) && + ( + this.IsLastEventLog == input.IsLastEventLog || + (this.IsLastEventLog != null && + this.IsLastEventLog.Equals(input.IsLastEventLog)) + ) && + ( + this.Distance == input.Distance || + (this.Distance != null && + this.Distance.Equals(input.Distance)) + ) && + ( + this.Xxcustom08 == input.Xxcustom08 || + (this.Xxcustom08 != null && + this.Xxcustom08.Equals(input.Xxcustom08)) + ) && + ( + this.Xxcustom10 == input.Xxcustom10 || + (this.Xxcustom10 != null && + this.Xxcustom10.Equals(input.Xxcustom10)) + ) && + ( + this.Xxcustom09 == input.Xxcustom09 || + (this.Xxcustom09 != null && + this.Xxcustom09.Equals(input.Xxcustom09)) + ) && + ( + this.Xxcustom07 == input.Xxcustom07 || + (this.Xxcustom07 != null && + this.Xxcustom07.Equals(input.Xxcustom07)) + ) && + ( + this.Xxcustom05 == input.Xxcustom05 || + (this.Xxcustom05 != null && + this.Xxcustom05.Equals(input.Xxcustom05)) + ) && + ( + this.Xxcustom06 == input.Xxcustom06 || + (this.Xxcustom06 != null && + this.Xxcustom06.Equals(input.Xxcustom06)) + ) && + ( + this.Xxcustom03 == input.Xxcustom03 || + (this.Xxcustom03 != null && + this.Xxcustom03.Equals(input.Xxcustom03)) + ) && + ( + this.Xxcustom02 == input.Xxcustom02 || + (this.Xxcustom02 != null && + this.Xxcustom02.Equals(input.Xxcustom02)) + ) && + ( + this.Xxcustom04 == input.Xxcustom04 || + (this.Xxcustom04 != null && + this.Xxcustom04.Equals(input.Xxcustom04)) + ) && + ( + this.Xxcustom01List == input.Xxcustom01List || + this.Xxcustom01List != null && + this.Xxcustom01List.SequenceEqual(input.Xxcustom01List) + ) && + ( + this.Xxcustom02List == input.Xxcustom02List || + this.Xxcustom02List != null && + this.Xxcustom02List.SequenceEqual(input.Xxcustom02List) + ) && + ( + this.Xxcustom03List == input.Xxcustom03List || + this.Xxcustom03List != null && + this.Xxcustom03List.SequenceEqual(input.Xxcustom03List) + ) && + ( + this.Xxcustom04List == input.Xxcustom04List || + this.Xxcustom04List != null && + this.Xxcustom04List.SequenceEqual(input.Xxcustom04List) + ) && + ( + this.Xxcustom05List == input.Xxcustom05List || + this.Xxcustom05List != null && + this.Xxcustom05List.SequenceEqual(input.Xxcustom05List) + ) && + ( + this.Xxcustom06List == input.Xxcustom06List || + this.Xxcustom06List != null && + this.Xxcustom06List.SequenceEqual(input.Xxcustom06List) + ) && + ( + this.Xxcustom07List == input.Xxcustom07List || + this.Xxcustom07List != null && + this.Xxcustom07List.SequenceEqual(input.Xxcustom07List) + ) && + ( + this.Xxcustom08List == input.Xxcustom08List || + this.Xxcustom08List != null && + this.Xxcustom08List.SequenceEqual(input.Xxcustom08List) + ) && + ( + this.Xxcustom09List == input.Xxcustom09List || + this.Xxcustom09List != null && + this.Xxcustom09List.SequenceEqual(input.Xxcustom09List) + ) && + ( + this.Xxcustom10List == input.Xxcustom10List || + this.Xxcustom10List != null && + this.Xxcustom10List.SequenceEqual(input.Xxcustom10List) + ) && + ( + this.Xxcustom01 == input.Xxcustom01 || + (this.Xxcustom01 != null && + this.Xxcustom01.Equals(input.Xxcustom01)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CreatedFrom != null) + hashCode = hashCode * 59 + this.CreatedFrom.GetHashCode(); + if (this.CreatedTo != null) + hashCode = hashCode * 59 + this.CreatedTo.GetHashCode(); + if (this.Type != null) + hashCode = hashCode * 59 + this.Type.GetHashCode(); + if (this.SubType != null) + hashCode = hashCode * 59 + this.SubType.GetHashCode(); + if (this.Application != null) + hashCode = hashCode * 59 + this.Application.GetHashCode(); + if (this.Level != null) + hashCode = hashCode * 59 + this.Level.GetHashCode(); + if (this.RetailStoreID != null) + hashCode = hashCode * 59 + this.RetailStoreID.GetHashCode(); + if (this.RetailStoreIDList != null) + hashCode = hashCode * 59 + this.RetailStoreIDList.GetHashCode(); + if (this.BusinessUnitGroupID != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupID.GetHashCode(); + if (this.BusinessUnitGroupIDList != null) + hashCode = hashCode * 59 + this.BusinessUnitGroupIDList.GetHashCode(); + if (this.StationID != null) + hashCode = hashCode * 59 + this.StationID.GetHashCode(); + if (this.NodeID != null) + hashCode = hashCode * 59 + this.NodeID.GetHashCode(); + if (this.OperatorID != null) + hashCode = hashCode * 59 + this.OperatorID.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.PayloadDataID != null) + hashCode = hashCode * 59 + this.PayloadDataID.GetHashCode(); + if (this.ProcessData01 != null) + hashCode = hashCode * 59 + this.ProcessData01.GetHashCode(); + if (this.ProcessData02 != null) + hashCode = hashCode * 59 + this.ProcessData02.GetHashCode(); + if (this.ProcessData03 != null) + hashCode = hashCode * 59 + this.ProcessData03.GetHashCode(); + if (this.ProcessData04 != null) + hashCode = hashCode * 59 + this.ProcessData04.GetHashCode(); + if (this.ProcessData05 != null) + hashCode = hashCode * 59 + this.ProcessData05.GetHashCode(); + if (this.ProcessData06 != null) + hashCode = hashCode * 59 + this.ProcessData06.GetHashCode(); + if (this.ProcessData07 != null) + hashCode = hashCode * 59 + this.ProcessData07.GetHashCode(); + if (this.ProcessData08 != null) + hashCode = hashCode * 59 + this.ProcessData08.GetHashCode(); + if (this.ProcessData09 != null) + hashCode = hashCode * 59 + this.ProcessData09.GetHashCode(); + if (this.ProcessData10 != null) + hashCode = hashCode * 59 + this.ProcessData10.GetHashCode(); + if (this.ProcessData01List != null) + hashCode = hashCode * 59 + this.ProcessData01List.GetHashCode(); + if (this.ProcessData02List != null) + hashCode = hashCode * 59 + this.ProcessData02List.GetHashCode(); + if (this.ProcessData03List != null) + hashCode = hashCode * 59 + this.ProcessData03List.GetHashCode(); + if (this.ProcessData04List != null) + hashCode = hashCode * 59 + this.ProcessData04List.GetHashCode(); + if (this.ProcessData05List != null) + hashCode = hashCode * 59 + this.ProcessData05List.GetHashCode(); + if (this.ProcessData06List != null) + hashCode = hashCode * 59 + this.ProcessData06List.GetHashCode(); + if (this.ProcessData07List != null) + hashCode = hashCode * 59 + this.ProcessData07List.GetHashCode(); + if (this.ProcessData08List != null) + hashCode = hashCode * 59 + this.ProcessData08List.GetHashCode(); + if (this.ProcessData09List != null) + hashCode = hashCode * 59 + this.ProcessData09List.GetHashCode(); + if (this.ProcessData10List != null) + hashCode = hashCode * 59 + this.ProcessData10List.GetHashCode(); + if (this.IsLastEventLog != null) + hashCode = hashCode * 59 + this.IsLastEventLog.GetHashCode(); + if (this.Distance != null) + hashCode = hashCode * 59 + this.Distance.GetHashCode(); + if (this.Xxcustom08 != null) + hashCode = hashCode * 59 + this.Xxcustom08.GetHashCode(); + if (this.Xxcustom10 != null) + hashCode = hashCode * 59 + this.Xxcustom10.GetHashCode(); + if (this.Xxcustom09 != null) + hashCode = hashCode * 59 + this.Xxcustom09.GetHashCode(); + if (this.Xxcustom07 != null) + hashCode = hashCode * 59 + this.Xxcustom07.GetHashCode(); + if (this.Xxcustom05 != null) + hashCode = hashCode * 59 + this.Xxcustom05.GetHashCode(); + if (this.Xxcustom06 != null) + hashCode = hashCode * 59 + this.Xxcustom06.GetHashCode(); + if (this.Xxcustom03 != null) + hashCode = hashCode * 59 + this.Xxcustom03.GetHashCode(); + if (this.Xxcustom02 != null) + hashCode = hashCode * 59 + this.Xxcustom02.GetHashCode(); + if (this.Xxcustom04 != null) + hashCode = hashCode * 59 + this.Xxcustom04.GetHashCode(); + if (this.Xxcustom01List != null) + hashCode = hashCode * 59 + this.Xxcustom01List.GetHashCode(); + if (this.Xxcustom02List != null) + hashCode = hashCode * 59 + this.Xxcustom02List.GetHashCode(); + if (this.Xxcustom03List != null) + hashCode = hashCode * 59 + this.Xxcustom03List.GetHashCode(); + if (this.Xxcustom04List != null) + hashCode = hashCode * 59 + this.Xxcustom04List.GetHashCode(); + if (this.Xxcustom05List != null) + hashCode = hashCode * 59 + this.Xxcustom05List.GetHashCode(); + if (this.Xxcustom06List != null) + hashCode = hashCode * 59 + this.Xxcustom06List.GetHashCode(); + if (this.Xxcustom07List != null) + hashCode = hashCode * 59 + this.Xxcustom07List.GetHashCode(); + if (this.Xxcustom08List != null) + hashCode = hashCode * 59 + this.Xxcustom08List.GetHashCode(); + if (this.Xxcustom09List != null) + hashCode = hashCode * 59 + this.Xxcustom09List.GetHashCode(); + if (this.Xxcustom10List != null) + hashCode = hashCode * 59 + this.Xxcustom10List.GetHashCode(); + if (this.Xxcustom01 != null) + hashCode = hashCode * 59 + this.Xxcustom01.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/EventLogSearchParameters.cs b/gatewayGK/POSGkSwaggerModel/Model/EventLogSearchParameters.cs new file mode 100644 index 0000000000000000000000000000000000000000..3b9cb1ac7d00fbd2e2fb3ea9a790fb7ab3c4664b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/EventLogSearchParameters.cs @@ -0,0 +1,156 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EventLogSearchParameters + /// + [DataContract] + public partial class EventLogSearchParameters : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// messageCriteria. + /// paging. + /// requestedValues. + public EventLogSearchParameters(EventLogMessageSearchCriteria messageCriteria = default(EventLogMessageSearchCriteria), PagingParameters paging = default(PagingParameters), RequestedValues requestedValues = default(RequestedValues)) + { + this.MessageCriteria = messageCriteria; + this.Paging = paging; + this.RequestedValues = requestedValues; + } + + /// + /// Gets or Sets MessageCriteria + /// + [DataMember(Name="messageCriteria", EmitDefaultValue=false)] + public EventLogMessageSearchCriteria MessageCriteria { get; set; } + + /// + /// Gets or Sets Paging + /// + [DataMember(Name="paging", EmitDefaultValue=false)] + public PagingParameters Paging { get; set; } + + /// + /// Gets or Sets RequestedValues + /// + [DataMember(Name="requestedValues", EmitDefaultValue=false)] + public RequestedValues RequestedValues { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EventLogSearchParameters {\n"); + sb.Append(" MessageCriteria: ").Append(MessageCriteria).Append("\n"); + sb.Append(" Paging: ").Append(Paging).Append("\n"); + sb.Append(" RequestedValues: ").Append(RequestedValues).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as EventLogSearchParameters); + } + + /// + /// Returns true if EventLogSearchParameters instances are equal + /// + /// Instance of EventLogSearchParameters to be compared + /// Boolean + public bool Equals(EventLogSearchParameters input) + { + if (input == null) + return false; + + return + ( + this.MessageCriteria == input.MessageCriteria || + (this.MessageCriteria != null && + this.MessageCriteria.Equals(input.MessageCriteria)) + ) && + ( + this.Paging == input.Paging || + (this.Paging != null && + this.Paging.Equals(input.Paging)) + ) && + ( + this.RequestedValues == input.RequestedValues || + (this.RequestedValues != null && + this.RequestedValues.Equals(input.RequestedValues)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.MessageCriteria != null) + hashCode = hashCode * 59 + this.MessageCriteria.GetHashCode(); + if (this.Paging != null) + hashCode = hashCode * 59 + this.Paging.GetHashCode(); + if (this.RequestedValues != null) + hashCode = hashCode * 59 + this.RequestedValues.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/EventLogSearchResult.cs b/gatewayGK/POSGkSwaggerModel/Model/EventLogSearchResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..aefbc4400c85b6f72d15e544674e1e0edbd83c26 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/EventLogSearchResult.cs @@ -0,0 +1,156 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EventLogSearchResult + /// + [DataContract] + public partial class EventLogSearchResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// paging. + /// haveMoreData. + /// messageList. + public EventLogSearchResult(PagingParameters paging = default(PagingParameters), bool? haveMoreData = default(bool?), List messageList = default(List)) + { + this.Paging = paging; + this.HaveMoreData = haveMoreData; + this.MessageList = messageList; + } + + /// + /// Gets or Sets Paging + /// + [DataMember(Name="paging", EmitDefaultValue=false)] + public PagingParameters Paging { get; set; } + + /// + /// Gets or Sets HaveMoreData + /// + [DataMember(Name="haveMoreData", EmitDefaultValue=false)] + public bool? HaveMoreData { get; set; } + + /// + /// Gets or Sets MessageList + /// + [DataMember(Name="messageList", EmitDefaultValue=false)] + public List MessageList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EventLogSearchResult {\n"); + sb.Append(" Paging: ").Append(Paging).Append("\n"); + sb.Append(" HaveMoreData: ").Append(HaveMoreData).Append("\n"); + sb.Append(" MessageList: ").Append(MessageList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as EventLogSearchResult); + } + + /// + /// Returns true if EventLogSearchResult instances are equal + /// + /// Instance of EventLogSearchResult to be compared + /// Boolean + public bool Equals(EventLogSearchResult input) + { + if (input == null) + return false; + + return + ( + this.Paging == input.Paging || + (this.Paging != null && + this.Paging.Equals(input.Paging)) + ) && + ( + this.HaveMoreData == input.HaveMoreData || + (this.HaveMoreData != null && + this.HaveMoreData.Equals(input.HaveMoreData)) + ) && + ( + this.MessageList == input.MessageList || + this.MessageList != null && + this.MessageList.SequenceEqual(input.MessageList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Paging != null) + hashCode = hashCode * 59 + this.Paging.GetHashCode(); + if (this.HaveMoreData != null) + hashCode = hashCode * 59 + this.HaveMoreData.GetHashCode(); + if (this.MessageList != null) + hashCode = hashCode * 59 + this.MessageList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/EventLogStoreRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/EventLogStoreRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cbc0fc3b98a9427660a290ed51069053fc4acacd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/EventLogStoreRequest.cs @@ -0,0 +1,140 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// EventLogStoreRequest + /// + [DataContract] + public partial class EventLogStoreRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// asynchronous. + /// messageList. + public EventLogStoreRequest(bool? asynchronous = default(bool?), List messageList = default(List)) + { + this.Asynchronous = asynchronous; + this.MessageList = messageList; + } + + /// + /// Gets or Sets Asynchronous + /// + [DataMember(Name="asynchronous", EmitDefaultValue=false)] + public bool? Asynchronous { get; set; } + + /// + /// Gets or Sets MessageList + /// + [DataMember(Name="messageList", EmitDefaultValue=false)] + public List MessageList { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EventLogStoreRequest {\n"); + sb.Append(" Asynchronous: ").Append(Asynchronous).Append("\n"); + sb.Append(" MessageList: ").Append(MessageList).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as EventLogStoreRequest); + } + + /// + /// Returns true if EventLogStoreRequest instances are equal + /// + /// Instance of EventLogStoreRequest to be compared + /// Boolean + public bool Equals(EventLogStoreRequest input) + { + if (input == null) + return false; + + return + ( + this.Asynchronous == input.Asynchronous || + (this.Asynchronous != null && + this.Asynchronous.Equals(input.Asynchronous)) + ) && + ( + this.MessageList == input.MessageList || + this.MessageList != null && + this.MessageList.SequenceEqual(input.MessageList) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Asynchronous != null) + hashCode = hashCode * 59 + this.Asynchronous.GetHashCode(); + if (this.MessageList != null) + hashCode = hashCode * 59 + this.MessageList.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ExchangeRatesResult.cs b/gatewayGK/POSGkSwaggerModel/Model/ExchangeRatesResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..4b8efc3fe0d8649d0970489febe8d743a291e7cf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ExchangeRatesResult.cs @@ -0,0 +1,140 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ExchangeRatesResult + /// + [DataContract] + public partial class ExchangeRatesResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// fromCurrency. + /// exchangeRatesByCurrencyCode. + public ExchangeRatesResult(string fromCurrency = default(string), Dictionary exchangeRatesByCurrencyCode = default(Dictionary)) + { + this.FromCurrency = fromCurrency; + this.ExchangeRatesByCurrencyCode = exchangeRatesByCurrencyCode; + } + + /// + /// Gets or Sets FromCurrency + /// + [DataMember(Name="fromCurrency", EmitDefaultValue=false)] + public string FromCurrency { get; set; } + + /// + /// Gets or Sets ExchangeRatesByCurrencyCode + /// + [DataMember(Name="exchangeRatesByCurrencyCode", EmitDefaultValue=false)] + public Dictionary ExchangeRatesByCurrencyCode { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ExchangeRatesResult {\n"); + sb.Append(" FromCurrency: ").Append(FromCurrency).Append("\n"); + sb.Append(" ExchangeRatesByCurrencyCode: ").Append(ExchangeRatesByCurrencyCode).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ExchangeRatesResult); + } + + /// + /// Returns true if ExchangeRatesResult instances are equal + /// + /// Instance of ExchangeRatesResult to be compared + /// Boolean + public bool Equals(ExchangeRatesResult input) + { + if (input == null) + return false; + + return + ( + this.FromCurrency == input.FromCurrency || + (this.FromCurrency != null && + this.FromCurrency.Equals(input.FromCurrency)) + ) && + ( + this.ExchangeRatesByCurrencyCode == input.ExchangeRatesByCurrencyCode || + this.ExchangeRatesByCurrencyCode != null && + this.ExchangeRatesByCurrencyCode.SequenceEqual(input.ExchangeRatesByCurrencyCode) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FromCurrency != null) + hashCode = hashCode * 59 + this.FromCurrency.GetHashCode(); + if (this.ExchangeRatesByCurrencyCode != null) + hashCode = hashCode * 59 + this.ExchangeRatesByCurrencyCode.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/FilterPerTenderResult.cs b/gatewayGK/POSGkSwaggerModel/Model/FilterPerTenderResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..a9cb26fbef89cafbc3bfbf3691931990e81bc51b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/FilterPerTenderResult.cs @@ -0,0 +1,188 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// FilterPerTenderResult + /// + [DataContract] + public partial class FilterPerTenderResult : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// allowedTender. + /// allowedTenderAmounts. + /// forbiddenTender. + /// authorizationNeededTender. + /// tenderErrorCodeMap. + public FilterPerTenderResult(List allowedTender = default(List), Dictionary allowedTenderAmounts = default(Dictionary), List forbiddenTender = default(List), List authorizationNeededTender = default(List), Dictionary tenderErrorCodeMap = default(Dictionary)) + { + this.AllowedTender = allowedTender; + this.AllowedTenderAmounts = allowedTenderAmounts; + this.ForbiddenTender = forbiddenTender; + this.AuthorizationNeededTender = authorizationNeededTender; + this.TenderErrorCodeMap = tenderErrorCodeMap; + } + + /// + /// Gets or Sets AllowedTender + /// + [DataMember(Name="allowedTender", EmitDefaultValue=false)] + public List AllowedTender { get; set; } + + /// + /// Gets or Sets AllowedTenderAmounts + /// + [DataMember(Name="allowedTenderAmounts", EmitDefaultValue=false)] + public Dictionary AllowedTenderAmounts { get; set; } + + /// + /// Gets or Sets ForbiddenTender + /// + [DataMember(Name="forbiddenTender", EmitDefaultValue=false)] + public List ForbiddenTender { get; set; } + + /// + /// Gets or Sets AuthorizationNeededTender + /// + [DataMember(Name="authorizationNeededTender", EmitDefaultValue=false)] + public List AuthorizationNeededTender { get; set; } + + /// + /// Gets or Sets TenderErrorCodeMap + /// + [DataMember(Name="tenderErrorCodeMap", EmitDefaultValue=false)] + public Dictionary TenderErrorCodeMap { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class FilterPerTenderResult {\n"); + sb.Append(" AllowedTender: ").Append(AllowedTender).Append("\n"); + sb.Append(" AllowedTenderAmounts: ").Append(AllowedTenderAmounts).Append("\n"); + sb.Append(" ForbiddenTender: ").Append(ForbiddenTender).Append("\n"); + sb.Append(" AuthorizationNeededTender: ").Append(AuthorizationNeededTender).Append("\n"); + sb.Append(" TenderErrorCodeMap: ").Append(TenderErrorCodeMap).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as FilterPerTenderResult); + } + + /// + /// Returns true if FilterPerTenderResult instances are equal + /// + /// Instance of FilterPerTenderResult to be compared + /// Boolean + public bool Equals(FilterPerTenderResult input) + { + if (input == null) + return false; + + return + ( + this.AllowedTender == input.AllowedTender || + this.AllowedTender != null && + this.AllowedTender.SequenceEqual(input.AllowedTender) + ) && + ( + this.AllowedTenderAmounts == input.AllowedTenderAmounts || + this.AllowedTenderAmounts != null && + this.AllowedTenderAmounts.SequenceEqual(input.AllowedTenderAmounts) + ) && + ( + this.ForbiddenTender == input.ForbiddenTender || + this.ForbiddenTender != null && + this.ForbiddenTender.SequenceEqual(input.ForbiddenTender) + ) && + ( + this.AuthorizationNeededTender == input.AuthorizationNeededTender || + this.AuthorizationNeededTender != null && + this.AuthorizationNeededTender.SequenceEqual(input.AuthorizationNeededTender) + ) && + ( + this.TenderErrorCodeMap == input.TenderErrorCodeMap || + this.TenderErrorCodeMap != null && + this.TenderErrorCodeMap.SequenceEqual(input.TenderErrorCodeMap) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.AllowedTender != null) + hashCode = hashCode * 59 + this.AllowedTender.GetHashCode(); + if (this.AllowedTenderAmounts != null) + hashCode = hashCode * 59 + this.AllowedTenderAmounts.GetHashCode(); + if (this.ForbiddenTender != null) + hashCode = hashCode * 59 + this.ForbiddenTender.GetHashCode(); + if (this.AuthorizationNeededTender != null) + hashCode = hashCode * 59 + this.AuthorizationNeededTender.GetHashCode(); + if (this.TenderErrorCodeMap != null) + hashCode = hashCode * 59 + this.TenderErrorCodeMap.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/IBasicFilterCondition.cs b/gatewayGK/POSGkSwaggerModel/Model/IBasicFilterCondition.cs new file mode 100644 index 0000000000000000000000000000000000000000..ec62f177911d3138c403f7feaf68565eaf85241d --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/IBasicFilterCondition.cs @@ -0,0 +1,109 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// IBasicFilterCondition + /// + [DataContract] + public partial class IBasicFilterCondition : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public IBasicFilterCondition() + { + } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class IBasicFilterCondition {\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as IBasicFilterCondition); + } + + /// + /// Returns true if IBasicFilterCondition instances are equal + /// + /// Instance of IBasicFilterCondition to be compared + /// Boolean + public bool Equals(IBasicFilterCondition input) + { + if (input == null) + return false; + + return false; + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/IBasicFilterConditionString.cs b/gatewayGK/POSGkSwaggerModel/Model/IBasicFilterConditionString.cs new file mode 100644 index 0000000000000000000000000000000000000000..899b775529e0b237c331f3671b80dfc8cc305f4b --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/IBasicFilterConditionString.cs @@ -0,0 +1,109 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// IBasicFilterConditionString + /// + [DataContract] + public partial class IBasicFilterConditionString : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public IBasicFilterConditionString() + { + } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class IBasicFilterConditionString {\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as IBasicFilterConditionString); + } + + /// + /// Returns true if IBasicFilterConditionString instances are equal + /// + /// Instance of IBasicFilterConditionString to be compared + /// Boolean + public bool Equals(IBasicFilterConditionString input) + { + if (input == null) + return false; + + return false; + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/ItemSearchResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/ItemSearchResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..037997ae90ab25635e8a3fc26dc56f2d7d936282 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/ItemSearchResponse.cs @@ -0,0 +1,140 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// ItemSearchResponse + /// + [DataContract] + public partial class ItemSearchResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// listPosUOMItemSearchView. + /// foundPosUOMItemDO. + public ItemSearchResponse(List listPosUOMItemSearchView = default(List), ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO foundPosUOMItemDO = default(ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO)) + { + this.ListPosUOMItemSearchView = listPosUOMItemSearchView; + this.FoundPosUOMItemDO = foundPosUOMItemDO; + } + + /// + /// Gets or Sets ListPosUOMItemSearchView + /// + [DataMember(Name="listPosUOMItemSearchView", EmitDefaultValue=false)] + public List ListPosUOMItemSearchView { get; set; } + + /// + /// Gets or Sets FoundPosUOMItemDO + /// + [DataMember(Name="foundPosUOMItemDO", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO FoundPosUOMItemDO { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class ItemSearchResponse {\n"); + sb.Append(" ListPosUOMItemSearchView: ").Append(ListPosUOMItemSearchView).Append("\n"); + sb.Append(" FoundPosUOMItemDO: ").Append(FoundPosUOMItemDO).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as ItemSearchResponse); + } + + /// + /// Returns true if ItemSearchResponse instances are equal + /// + /// Instance of ItemSearchResponse to be compared + /// Boolean + public bool Equals(ItemSearchResponse input) + { + if (input == null) + return false; + + return + ( + this.ListPosUOMItemSearchView == input.ListPosUOMItemSearchView || + this.ListPosUOMItemSearchView != null && + this.ListPosUOMItemSearchView.SequenceEqual(input.ListPosUOMItemSearchView) + ) && + ( + this.FoundPosUOMItemDO == input.FoundPosUOMItemDO || + (this.FoundPosUOMItemDO != null && + this.FoundPosUOMItemDO.Equals(input.FoundPosUOMItemDO)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ListPosUOMItemSearchView != null) + hashCode = hashCode * 59 + this.ListPosUOMItemSearchView.GetHashCode(); + if (this.FoundPosUOMItemDO != null) + hashCode = hashCode * 59 + this.FoundPosUOMItemDO.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/Key.cs b/gatewayGK/POSGkSwaggerModel/Model/Key.cs new file mode 100644 index 0000000000000000000000000000000000000000..cc613ad87a889d453d2047bfb8262b490582e6dd --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/Key.cs @@ -0,0 +1,156 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Key + /// + [DataContract] + public partial class Key : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// retailStoreID. + /// workstationID. + /// id. + public Key(string retailStoreID = default(string), string workstationID = default(string), string id = default(string)) + { + this.RetailStoreID = retailStoreID; + this.WorkstationID = workstationID; + this.Id = id; + } + + /// + /// Gets or Sets RetailStoreID + /// + [DataMember(Name="retailStoreID", EmitDefaultValue=false)] + public string RetailStoreID { get; set; } + + /// + /// Gets or Sets WorkstationID + /// + [DataMember(Name="workstationID", EmitDefaultValue=false)] + public string WorkstationID { get; set; } + + /// + /// Gets or Sets Id + /// + [DataMember(Name="id", EmitDefaultValue=false)] + public string Id { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Key {\n"); + sb.Append(" RetailStoreID: ").Append(RetailStoreID).Append("\n"); + sb.Append(" WorkstationID: ").Append(WorkstationID).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Key); + } + + /// + /// Returns true if Key instances are equal + /// + /// Instance of Key to be compared + /// Boolean + public bool Equals(Key input) + { + if (input == null) + return false; + + return + ( + this.RetailStoreID == input.RetailStoreID || + (this.RetailStoreID != null && + this.RetailStoreID.Equals(input.RetailStoreID)) + ) && + ( + this.WorkstationID == input.WorkstationID || + (this.WorkstationID != null && + this.WorkstationID.Equals(input.WorkstationID)) + ) && + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.RetailStoreID != null) + hashCode = hashCode * 59 + this.RetailStoreID.GetHashCode(); + if (this.WorkstationID != null) + hashCode = hashCode * 59 + this.WorkstationID.GetHashCode(); + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/Money.cs b/gatewayGK/POSGkSwaggerModel/Model/Money.cs new file mode 100644 index 0000000000000000000000000000000000000000..1e34581b1e96decc4da43a4706c777a7058a295f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/Money.cs @@ -0,0 +1,140 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// Money + /// + [DataContract] + public partial class Money : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// amount. + /// currency. + public Money(int? amount = default(int?), string currency = default(string)) + { + this.Amount = amount; + this.Currency = currency; + } + + /// + /// Gets or Sets Amount + /// + [DataMember(Name="amount", EmitDefaultValue=false)] + public int? Amount { get; set; } + + /// + /// Gets or Sets Currency + /// + [DataMember(Name="currency", EmitDefaultValue=false)] + public string Currency { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class Money {\n"); + sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Currency: ").Append(Currency).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as Money); + } + + /// + /// Returns true if Money instances are equal + /// + /// Instance of Money to be compared + /// Boolean + public bool Equals(Money input) + { + if (input == null) + return false; + + return + ( + this.Amount == input.Amount || + (this.Amount != null && + this.Amount.Equals(input.Amount)) + ) && + ( + this.Currency == input.Currency || + (this.Currency != null && + this.Currency.Equals(input.Currency)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Amount != null) + hashCode = hashCode * 59 + this.Amount.GetHashCode(); + if (this.Currency != null) + hashCode = hashCode * 59 + this.Currency.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PagingParameters.cs b/gatewayGK/POSGkSwaggerModel/Model/PagingParameters.cs new file mode 100644 index 0000000000000000000000000000000000000000..961b3e50051b9f460692c57b72e135dbd0beb2c1 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PagingParameters.cs @@ -0,0 +1,156 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PagingParameters + /// + [DataContract] + public partial class PagingParameters : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// orderingType. + /// pageStart. + /// pageSize. + public PagingParameters(string orderingType = default(string), string pageStart = default(string), int? pageSize = default(int?)) + { + this.OrderingType = orderingType; + this.PageStart = pageStart; + this.PageSize = pageSize; + } + + /// + /// Gets or Sets OrderingType + /// + [DataMember(Name="orderingType", EmitDefaultValue=false)] + public string OrderingType { get; set; } + + /// + /// Gets or Sets PageStart + /// + [DataMember(Name="pageStart", EmitDefaultValue=false)] + public string PageStart { get; set; } + + /// + /// Gets or Sets PageSize + /// + [DataMember(Name="pageSize", EmitDefaultValue=false)] + public int? PageSize { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PagingParameters {\n"); + sb.Append(" OrderingType: ").Append(OrderingType).Append("\n"); + sb.Append(" PageStart: ").Append(PageStart).Append("\n"); + sb.Append(" PageSize: ").Append(PageSize).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PagingParameters); + } + + /// + /// Returns true if PagingParameters instances are equal + /// + /// Instance of PagingParameters to be compared + /// Boolean + public bool Equals(PagingParameters input) + { + if (input == null) + return false; + + return + ( + this.OrderingType == input.OrderingType || + (this.OrderingType != null && + this.OrderingType.Equals(input.OrderingType)) + ) && + ( + this.PageStart == input.PageStart || + (this.PageStart != null && + this.PageStart.Equals(input.PageStart)) + ) && + ( + this.PageSize == input.PageSize || + (this.PageSize != null && + this.PageSize.Equals(input.PageSize)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.OrderingType != null) + hashCode = hashCode * 59 + this.OrderingType.GetHashCode(); + if (this.PageStart != null) + hashCode = hashCode * 59 + this.PageStart.GetHashCode(); + if (this.PageSize != null) + hashCode = hashCode * 59 + this.PageSize.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PceContext.cs b/gatewayGK/POSGkSwaggerModel/Model/PceContext.cs new file mode 100644 index 0000000000000000000000000000000000000000..a88744af5b072222de6a47af306f8c6a0f3dbeeb --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PceContext.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PceContext + /// + [DataContract] + public partial class PceContext : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// calculationScheme. + /// recommendationMode. + /// recommendationContext. + /// configuration. + public PceContext(string calculationScheme = default(string), string recommendationMode = default(string), string recommendationContext = default(string), Dictionary configuration = default(Dictionary)) + { + this.CalculationScheme = calculationScheme; + this.RecommendationMode = recommendationMode; + this.RecommendationContext = recommendationContext; + this.Configuration = configuration; + } + + /// + /// Gets or Sets CalculationScheme + /// + [DataMember(Name="calculationScheme", EmitDefaultValue=false)] + public string CalculationScheme { get; set; } + + /// + /// Gets or Sets RecommendationMode + /// + [DataMember(Name="recommendationMode", EmitDefaultValue=false)] + public string RecommendationMode { get; set; } + + /// + /// Gets or Sets RecommendationContext + /// + [DataMember(Name="recommendationContext", EmitDefaultValue=false)] + public string RecommendationContext { get; set; } + + /// + /// Gets or Sets Configuration + /// + [DataMember(Name="configuration", EmitDefaultValue=false)] + public Dictionary Configuration { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PceContext {\n"); + sb.Append(" CalculationScheme: ").Append(CalculationScheme).Append("\n"); + sb.Append(" RecommendationMode: ").Append(RecommendationMode).Append("\n"); + sb.Append(" RecommendationContext: ").Append(RecommendationContext).Append("\n"); + sb.Append(" Configuration: ").Append(Configuration).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PceContext); + } + + /// + /// Returns true if PceContext instances are equal + /// + /// Instance of PceContext to be compared + /// Boolean + public bool Equals(PceContext input) + { + if (input == null) + return false; + + return + ( + this.CalculationScheme == input.CalculationScheme || + (this.CalculationScheme != null && + this.CalculationScheme.Equals(input.CalculationScheme)) + ) && + ( + this.RecommendationMode == input.RecommendationMode || + (this.RecommendationMode != null && + this.RecommendationMode.Equals(input.RecommendationMode)) + ) && + ( + this.RecommendationContext == input.RecommendationContext || + (this.RecommendationContext != null && + this.RecommendationContext.Equals(input.RecommendationContext)) + ) && + ( + this.Configuration == input.Configuration || + this.Configuration != null && + this.Configuration.SequenceEqual(input.Configuration) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.CalculationScheme != null) + hashCode = hashCode * 59 + this.CalculationScheme.GetHashCode(); + if (this.RecommendationMode != null) + hashCode = hashCode * 59 + this.RecommendationMode.GetHashCode(); + if (this.RecommendationContext != null) + hashCode = hashCode * 59 + this.RecommendationContext.GetHashCode(); + if (this.Configuration != null) + hashCode = hashCode * 59 + this.Configuration.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PinInfoType.cs b/gatewayGK/POSGkSwaggerModel/Model/PinInfoType.cs new file mode 100644 index 0000000000000000000000000000000000000000..ff6b0d954e96a4c91fc0f31bde26e979788a33e3 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PinInfoType.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PinInfoType + /// + [DataContract] + public partial class PinInfoType : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// serialNumber. + /// pinCode. + /// validTo. + /// printoutText. + public PinInfoType(string serialNumber = default(string), string pinCode = default(string), DateTime? validTo = default(DateTime?), string printoutText = default(string)) + { + this.SerialNumber = serialNumber; + this.PinCode = pinCode; + this.ValidTo = validTo; + this.PrintoutText = printoutText; + } + + /// + /// Gets or Sets SerialNumber + /// + [DataMember(Name="serialNumber", EmitDefaultValue=false)] + public string SerialNumber { get; set; } + + /// + /// Gets or Sets PinCode + /// + [DataMember(Name="pinCode", EmitDefaultValue=false)] + public string PinCode { get; set; } + + /// + /// Gets or Sets ValidTo + /// + [DataMember(Name="validTo", EmitDefaultValue=false)] + public DateTime? ValidTo { get; set; } + + /// + /// Gets or Sets PrintoutText + /// + [DataMember(Name="printoutText", EmitDefaultValue=false)] + public string PrintoutText { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PinInfoType {\n"); + sb.Append(" SerialNumber: ").Append(SerialNumber).Append("\n"); + sb.Append(" PinCode: ").Append(PinCode).Append("\n"); + sb.Append(" ValidTo: ").Append(ValidTo).Append("\n"); + sb.Append(" PrintoutText: ").Append(PrintoutText).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PinInfoType); + } + + /// + /// Returns true if PinInfoType instances are equal + /// + /// Instance of PinInfoType to be compared + /// Boolean + public bool Equals(PinInfoType input) + { + if (input == null) + return false; + + return + ( + this.SerialNumber == input.SerialNumber || + (this.SerialNumber != null && + this.SerialNumber.Equals(input.SerialNumber)) + ) && + ( + this.PinCode == input.PinCode || + (this.PinCode != null && + this.PinCode.Equals(input.PinCode)) + ) && + ( + this.ValidTo == input.ValidTo || + (this.ValidTo != null && + this.ValidTo.Equals(input.ValidTo)) + ) && + ( + this.PrintoutText == input.PrintoutText || + (this.PrintoutText != null && + this.PrintoutText.Equals(input.PrintoutText)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SerialNumber != null) + hashCode = hashCode * 59 + this.SerialNumber.GetHashCode(); + if (this.PinCode != null) + hashCode = hashCode * 59 + this.PinCode.GetHashCode(); + if (this.ValidTo != null) + hashCode = hashCode * 59 + this.ValidTo.GetHashCode(); + if (this.PrintoutText != null) + hashCode = hashCode * 59 + this.PrintoutText.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PosSession.cs b/gatewayGK/POSGkSwaggerModel/Model/PosSession.cs new file mode 100644 index 0000000000000000000000000000000000000000..7985d2935bb6e1761226b9522c12495eb3ba5f94 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PosSession.cs @@ -0,0 +1,620 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosSession + /// + [DataContract] + public partial class PosSession : IEquatable, IValidatableObject + { + /// + /// Defines ActiveLanguageScope + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ActiveLanguageScopeEnum + { + + /// + /// Enum Operator for value: Operator + /// + [EnumMember(Value = "Operator")] + Operator = 1, + + /// + /// Enum Customer for value: Customer + /// + [EnumMember(Value = "Customer")] + Customer = 2, + + /// + /// Enum Transaction for value: Transaction + /// + [EnumMember(Value = "Transaction")] + Transaction = 3, + + /// + /// Enum MasterData for value: MasterData + /// + [EnumMember(Value = "MasterData")] + MasterData = 4 + } + + /// + /// Gets or Sets ActiveLanguageScope + /// + [DataMember(Name="activeLanguageScope", EmitDefaultValue=false)] + public ActiveLanguageScopeEnum? ActiveLanguageScope { get; set; } + /// + /// Initializes a new instance of the class. + /// + /// id. + /// transaction. + /// tenantId. + /// workstationId. + /// workstationTypeCode. + /// operatorId. + /// deviceId. + /// tillId. + /// clientVersion. + /// activeLanguageScope. + /// trainingMode. + /// readOnlyLastSetTimestamp. + /// workstationStatus. + /// workstationTenderRepositoryStatus. + /// posServerLogoutRequested. + /// useLoginTypeTechnicalForLoginManager. + /// promotionServiceEnabled. + /// packagePricingSession. + /// packagePricingServiceEnabled. + /// additionalSessionCriteria01. + /// additionalSessionCriteria02. + /// dataPrivacyEnabled. + /// storeTransaction. + /// pceContext. + /// mainTransaction. + /// posSessionData. + /// lastServerStatusOnline. + /// tempTransactionBoundCache. + /// retailStore. + /// temoraryPromotionSO. + public PosSession(ComGkSoftwarePosApiSessionPosSessionId id = default(ComGkSoftwarePosApiSessionPosSessionId), PosTransaction transaction = default(PosTransaction), string tenantId = default(string), string workstationId = default(string), string workstationTypeCode = default(string), string operatorId = default(string), string deviceId = default(string), ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey tillId = default(ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey), string clientVersion = default(string), ActiveLanguageScopeEnum? activeLanguageScope = default(ActiveLanguageScopeEnum?), bool? trainingMode = default(bool?), long? readOnlyLastSetTimestamp = default(long?), ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus workstationStatus = default(ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus), ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus workstationTenderRepositoryStatus = default(ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus), bool? posServerLogoutRequested = default(bool?), bool? useLoginTypeTechnicalForLoginManager = default(bool?), bool? promotionServiceEnabled = default(bool?), ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession packagePricingSession = default(ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession), bool? packagePricingServiceEnabled = default(bool?), string additionalSessionCriteria01 = default(string), string additionalSessionCriteria02 = default(string), bool? dataPrivacyEnabled = default(bool?), bool? storeTransaction = default(bool?), PceContext pceContext = default(PceContext), PosTransaction mainTransaction = default(PosTransaction), ComGkSoftwarePosApiSessionPosSessionData posSessionData = default(ComGkSoftwarePosApiSessionPosSessionData), bool? lastServerStatusOnline = default(bool?), Dictionary tempTransactionBoundCache = default(Dictionary), ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO retailStore = default(ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO), List temoraryPromotionSO = default(List)) + { + this.Id = id; + this.Transaction = transaction; + this.TenantId = tenantId; + this.WorkstationId = workstationId; + this.WorkstationTypeCode = workstationTypeCode; + this.OperatorId = operatorId; + this.DeviceId = deviceId; + this.TillId = tillId; + this.ClientVersion = clientVersion; + this.ActiveLanguageScope = activeLanguageScope; + this.TrainingMode = trainingMode; + this.ReadOnlyLastSetTimestamp = readOnlyLastSetTimestamp; + this.WorkstationStatus = workstationStatus; + this.WorkstationTenderRepositoryStatus = workstationTenderRepositoryStatus; + this.PosServerLogoutRequested = posServerLogoutRequested; + this.UseLoginTypeTechnicalForLoginManager = useLoginTypeTechnicalForLoginManager; + this.PromotionServiceEnabled = promotionServiceEnabled; + this.PackagePricingSession = packagePricingSession; + this.PackagePricingServiceEnabled = packagePricingServiceEnabled; + this.AdditionalSessionCriteria01 = additionalSessionCriteria01; + this.AdditionalSessionCriteria02 = additionalSessionCriteria02; + this.DataPrivacyEnabled = dataPrivacyEnabled; + this.StoreTransaction = storeTransaction; + this.PceContext = pceContext; + this.MainTransaction = mainTransaction; + this.PosSessionData = posSessionData; + this.LastServerStatusOnline = lastServerStatusOnline; + this.TempTransactionBoundCache = tempTransactionBoundCache; + this.RetailStore = retailStore; + this.TemoraryPromotionSO = temoraryPromotionSO; + } + + /// + /// Gets or Sets Id + /// + [DataMember(Name="id", EmitDefaultValue=false)] + public ComGkSoftwarePosApiSessionPosSessionId Id { get; set; } + + /// + /// Gets or Sets Transaction + /// + [DataMember(Name="transaction", EmitDefaultValue=false)] + public PosTransaction Transaction { get; set; } + + /// + /// Gets or Sets TenantId + /// + [DataMember(Name="tenantId", EmitDefaultValue=false)] + public string TenantId { get; set; } + + /// + /// Gets or Sets WorkstationId + /// + [DataMember(Name="workstationId", EmitDefaultValue=false)] + public string WorkstationId { get; set; } + + /// + /// Gets or Sets WorkstationTypeCode + /// + [DataMember(Name="workstationTypeCode", EmitDefaultValue=false)] + public string WorkstationTypeCode { get; set; } + + /// + /// Gets or Sets OperatorId + /// + [DataMember(Name="operatorId", EmitDefaultValue=false)] + public string OperatorId { get; set; } + + /// + /// Gets or Sets DeviceId + /// + [DataMember(Name="deviceId", EmitDefaultValue=false)] + public string DeviceId { get; set; } + + /// + /// Gets or Sets TillId + /// + [DataMember(Name="tillId", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey TillId { get; set; } + + /// + /// Gets or Sets ClientVersion + /// + [DataMember(Name="clientVersion", EmitDefaultValue=false)] + public string ClientVersion { get; set; } + + + /// + /// Gets or Sets TrainingMode + /// + [DataMember(Name="trainingMode", EmitDefaultValue=false)] + public bool? TrainingMode { get; set; } + + /// + /// Gets or Sets ReadOnlyLastSetTimestamp + /// + [DataMember(Name="readOnlyLastSetTimestamp", EmitDefaultValue=false)] + public long? ReadOnlyLastSetTimestamp { get; set; } + + /// + /// Gets or Sets WorkstationStatus + /// + [DataMember(Name="workstationStatus", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus WorkstationStatus { get; set; } + + /// + /// Gets or Sets WorkstationTenderRepositoryStatus + /// + [DataMember(Name="workstationTenderRepositoryStatus", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus WorkstationTenderRepositoryStatus { get; set; } + + /// + /// Gets or Sets PosServerLogoutRequested + /// + [DataMember(Name="posServerLogoutRequested", EmitDefaultValue=false)] + public bool? PosServerLogoutRequested { get; set; } + + /// + /// Gets or Sets UseLoginTypeTechnicalForLoginManager + /// + [DataMember(Name="useLoginTypeTechnicalForLoginManager", EmitDefaultValue=false)] + public bool? UseLoginTypeTechnicalForLoginManager { get; set; } + + /// + /// Gets or Sets PromotionServiceEnabled + /// + [DataMember(Name="promotionServiceEnabled", EmitDefaultValue=false)] + public bool? PromotionServiceEnabled { get; set; } + + /// + /// Gets or Sets PackagePricingSession + /// + [DataMember(Name="packagePricingSession", EmitDefaultValue=false)] + public ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession PackagePricingSession { get; set; } + + /// + /// Gets or Sets PackagePricingServiceEnabled + /// + [DataMember(Name="packagePricingServiceEnabled", EmitDefaultValue=false)] + public bool? PackagePricingServiceEnabled { get; set; } + + /// + /// Gets or Sets AdditionalSessionCriteria01 + /// + [DataMember(Name="additionalSessionCriteria_01", EmitDefaultValue=false)] + public string AdditionalSessionCriteria01 { get; set; } + + /// + /// Gets or Sets AdditionalSessionCriteria02 + /// + [DataMember(Name="additionalSessionCriteria_02", EmitDefaultValue=false)] + public string AdditionalSessionCriteria02 { get; set; } + + /// + /// Gets or Sets DataPrivacyEnabled + /// + [DataMember(Name="dataPrivacyEnabled", EmitDefaultValue=false)] + public bool? DataPrivacyEnabled { get; set; } + + /// + /// Gets or Sets StoreTransaction + /// + [DataMember(Name="storeTransaction", EmitDefaultValue=false)] + public bool? StoreTransaction { get; set; } + + /// + /// Gets or Sets PceContext + /// + [DataMember(Name="pceContext", EmitDefaultValue=false)] + public PceContext PceContext { get; set; } + + /// + /// Gets or Sets MainTransaction + /// + [DataMember(Name="mainTransaction", EmitDefaultValue=false)] + public PosTransaction MainTransaction { get; set; } + + /// + /// Gets or Sets PosSessionData + /// + [DataMember(Name="posSessionData", EmitDefaultValue=false)] + public ComGkSoftwarePosApiSessionPosSessionData PosSessionData { get; set; } + + /// + /// Gets or Sets LastServerStatusOnline + /// + [DataMember(Name="lastServerStatusOnline", EmitDefaultValue=false)] + public bool? LastServerStatusOnline { get; set; } + + /// + /// Gets or Sets TempTransactionBoundCache + /// + [DataMember(Name="tempTransactionBoundCache", EmitDefaultValue=false)] + public Dictionary TempTransactionBoundCache { get; set; } + + /// + /// Gets or Sets RetailStore + /// + [DataMember(Name="retailStore", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO RetailStore { get; set; } + + /// + /// Gets or Sets TemoraryPromotionSO + /// + [DataMember(Name="temoraryPromotionSO", EmitDefaultValue=false)] + public List TemoraryPromotionSO { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PosSession {\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append(" TenantId: ").Append(TenantId).Append("\n"); + sb.Append(" WorkstationId: ").Append(WorkstationId).Append("\n"); + sb.Append(" WorkstationTypeCode: ").Append(WorkstationTypeCode).Append("\n"); + sb.Append(" OperatorId: ").Append(OperatorId).Append("\n"); + sb.Append(" DeviceId: ").Append(DeviceId).Append("\n"); + sb.Append(" TillId: ").Append(TillId).Append("\n"); + sb.Append(" ClientVersion: ").Append(ClientVersion).Append("\n"); + sb.Append(" ActiveLanguageScope: ").Append(ActiveLanguageScope).Append("\n"); + sb.Append(" TrainingMode: ").Append(TrainingMode).Append("\n"); + sb.Append(" ReadOnlyLastSetTimestamp: ").Append(ReadOnlyLastSetTimestamp).Append("\n"); + sb.Append(" WorkstationStatus: ").Append(WorkstationStatus).Append("\n"); + sb.Append(" WorkstationTenderRepositoryStatus: ").Append(WorkstationTenderRepositoryStatus).Append("\n"); + sb.Append(" PosServerLogoutRequested: ").Append(PosServerLogoutRequested).Append("\n"); + sb.Append(" UseLoginTypeTechnicalForLoginManager: ").Append(UseLoginTypeTechnicalForLoginManager).Append("\n"); + sb.Append(" PromotionServiceEnabled: ").Append(PromotionServiceEnabled).Append("\n"); + sb.Append(" PackagePricingSession: ").Append(PackagePricingSession).Append("\n"); + sb.Append(" PackagePricingServiceEnabled: ").Append(PackagePricingServiceEnabled).Append("\n"); + sb.Append(" AdditionalSessionCriteria01: ").Append(AdditionalSessionCriteria01).Append("\n"); + sb.Append(" AdditionalSessionCriteria02: ").Append(AdditionalSessionCriteria02).Append("\n"); + sb.Append(" DataPrivacyEnabled: ").Append(DataPrivacyEnabled).Append("\n"); + sb.Append(" StoreTransaction: ").Append(StoreTransaction).Append("\n"); + sb.Append(" PceContext: ").Append(PceContext).Append("\n"); + sb.Append(" MainTransaction: ").Append(MainTransaction).Append("\n"); + sb.Append(" PosSessionData: ").Append(PosSessionData).Append("\n"); + sb.Append(" LastServerStatusOnline: ").Append(LastServerStatusOnline).Append("\n"); + sb.Append(" TempTransactionBoundCache: ").Append(TempTransactionBoundCache).Append("\n"); + sb.Append(" RetailStore: ").Append(RetailStore).Append("\n"); + sb.Append(" TemoraryPromotionSO: ").Append(TemoraryPromotionSO).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PosSession); + } + + /// + /// Returns true if PosSession instances are equal + /// + /// Instance of PosSession to be compared + /// Boolean + public bool Equals(PosSession input) + { + if (input == null) + return false; + + return + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ) && + ( + this.TenantId == input.TenantId || + (this.TenantId != null && + this.TenantId.Equals(input.TenantId)) + ) && + ( + this.WorkstationId == input.WorkstationId || + (this.WorkstationId != null && + this.WorkstationId.Equals(input.WorkstationId)) + ) && + ( + this.WorkstationTypeCode == input.WorkstationTypeCode || + (this.WorkstationTypeCode != null && + this.WorkstationTypeCode.Equals(input.WorkstationTypeCode)) + ) && + ( + this.OperatorId == input.OperatorId || + (this.OperatorId != null && + this.OperatorId.Equals(input.OperatorId)) + ) && + ( + this.DeviceId == input.DeviceId || + (this.DeviceId != null && + this.DeviceId.Equals(input.DeviceId)) + ) && + ( + this.TillId == input.TillId || + (this.TillId != null && + this.TillId.Equals(input.TillId)) + ) && + ( + this.ClientVersion == input.ClientVersion || + (this.ClientVersion != null && + this.ClientVersion.Equals(input.ClientVersion)) + ) && + ( + this.ActiveLanguageScope == input.ActiveLanguageScope || + (this.ActiveLanguageScope != null && + this.ActiveLanguageScope.Equals(input.ActiveLanguageScope)) + ) && + ( + this.TrainingMode == input.TrainingMode || + (this.TrainingMode != null && + this.TrainingMode.Equals(input.TrainingMode)) + ) && + ( + this.ReadOnlyLastSetTimestamp == input.ReadOnlyLastSetTimestamp || + (this.ReadOnlyLastSetTimestamp != null && + this.ReadOnlyLastSetTimestamp.Equals(input.ReadOnlyLastSetTimestamp)) + ) && + ( + this.WorkstationStatus == input.WorkstationStatus || + (this.WorkstationStatus != null && + this.WorkstationStatus.Equals(input.WorkstationStatus)) + ) && + ( + this.WorkstationTenderRepositoryStatus == input.WorkstationTenderRepositoryStatus || + (this.WorkstationTenderRepositoryStatus != null && + this.WorkstationTenderRepositoryStatus.Equals(input.WorkstationTenderRepositoryStatus)) + ) && + ( + this.PosServerLogoutRequested == input.PosServerLogoutRequested || + (this.PosServerLogoutRequested != null && + this.PosServerLogoutRequested.Equals(input.PosServerLogoutRequested)) + ) && + ( + this.UseLoginTypeTechnicalForLoginManager == input.UseLoginTypeTechnicalForLoginManager || + (this.UseLoginTypeTechnicalForLoginManager != null && + this.UseLoginTypeTechnicalForLoginManager.Equals(input.UseLoginTypeTechnicalForLoginManager)) + ) && + ( + this.PromotionServiceEnabled == input.PromotionServiceEnabled || + (this.PromotionServiceEnabled != null && + this.PromotionServiceEnabled.Equals(input.PromotionServiceEnabled)) + ) && + ( + this.PackagePricingSession == input.PackagePricingSession || + (this.PackagePricingSession != null && + this.PackagePricingSession.Equals(input.PackagePricingSession)) + ) && + ( + this.PackagePricingServiceEnabled == input.PackagePricingServiceEnabled || + (this.PackagePricingServiceEnabled != null && + this.PackagePricingServiceEnabled.Equals(input.PackagePricingServiceEnabled)) + ) && + ( + this.AdditionalSessionCriteria01 == input.AdditionalSessionCriteria01 || + (this.AdditionalSessionCriteria01 != null && + this.AdditionalSessionCriteria01.Equals(input.AdditionalSessionCriteria01)) + ) && + ( + this.AdditionalSessionCriteria02 == input.AdditionalSessionCriteria02 || + (this.AdditionalSessionCriteria02 != null && + this.AdditionalSessionCriteria02.Equals(input.AdditionalSessionCriteria02)) + ) && + ( + this.DataPrivacyEnabled == input.DataPrivacyEnabled || + (this.DataPrivacyEnabled != null && + this.DataPrivacyEnabled.Equals(input.DataPrivacyEnabled)) + ) && + ( + this.StoreTransaction == input.StoreTransaction || + (this.StoreTransaction != null && + this.StoreTransaction.Equals(input.StoreTransaction)) + ) && + ( + this.PceContext == input.PceContext || + (this.PceContext != null && + this.PceContext.Equals(input.PceContext)) + ) && + ( + this.MainTransaction == input.MainTransaction || + (this.MainTransaction != null && + this.MainTransaction.Equals(input.MainTransaction)) + ) && + ( + this.PosSessionData == input.PosSessionData || + (this.PosSessionData != null && + this.PosSessionData.Equals(input.PosSessionData)) + ) && + ( + this.LastServerStatusOnline == input.LastServerStatusOnline || + (this.LastServerStatusOnline != null && + this.LastServerStatusOnline.Equals(input.LastServerStatusOnline)) + ) && + ( + this.TempTransactionBoundCache == input.TempTransactionBoundCache || + this.TempTransactionBoundCache != null && + this.TempTransactionBoundCache.SequenceEqual(input.TempTransactionBoundCache) + ) && + ( + this.RetailStore == input.RetailStore || + (this.RetailStore != null && + this.RetailStore.Equals(input.RetailStore)) + ) && + ( + this.TemoraryPromotionSO == input.TemoraryPromotionSO || + this.TemoraryPromotionSO != null && + this.TemoraryPromotionSO.SequenceEqual(input.TemoraryPromotionSO) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Id != null) + hashCode = hashCode * 59 + this.Id.GetHashCode(); + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + if (this.TenantId != null) + hashCode = hashCode * 59 + this.TenantId.GetHashCode(); + if (this.WorkstationId != null) + hashCode = hashCode * 59 + this.WorkstationId.GetHashCode(); + if (this.WorkstationTypeCode != null) + hashCode = hashCode * 59 + this.WorkstationTypeCode.GetHashCode(); + if (this.OperatorId != null) + hashCode = hashCode * 59 + this.OperatorId.GetHashCode(); + if (this.DeviceId != null) + hashCode = hashCode * 59 + this.DeviceId.GetHashCode(); + if (this.TillId != null) + hashCode = hashCode * 59 + this.TillId.GetHashCode(); + if (this.ClientVersion != null) + hashCode = hashCode * 59 + this.ClientVersion.GetHashCode(); + if (this.ActiveLanguageScope != null) + hashCode = hashCode * 59 + this.ActiveLanguageScope.GetHashCode(); + if (this.TrainingMode != null) + hashCode = hashCode * 59 + this.TrainingMode.GetHashCode(); + if (this.ReadOnlyLastSetTimestamp != null) + hashCode = hashCode * 59 + this.ReadOnlyLastSetTimestamp.GetHashCode(); + if (this.WorkstationStatus != null) + hashCode = hashCode * 59 + this.WorkstationStatus.GetHashCode(); + if (this.WorkstationTenderRepositoryStatus != null) + hashCode = hashCode * 59 + this.WorkstationTenderRepositoryStatus.GetHashCode(); + if (this.PosServerLogoutRequested != null) + hashCode = hashCode * 59 + this.PosServerLogoutRequested.GetHashCode(); + if (this.UseLoginTypeTechnicalForLoginManager != null) + hashCode = hashCode * 59 + this.UseLoginTypeTechnicalForLoginManager.GetHashCode(); + if (this.PromotionServiceEnabled != null) + hashCode = hashCode * 59 + this.PromotionServiceEnabled.GetHashCode(); + if (this.PackagePricingSession != null) + hashCode = hashCode * 59 + this.PackagePricingSession.GetHashCode(); + if (this.PackagePricingServiceEnabled != null) + hashCode = hashCode * 59 + this.PackagePricingServiceEnabled.GetHashCode(); + if (this.AdditionalSessionCriteria01 != null) + hashCode = hashCode * 59 + this.AdditionalSessionCriteria01.GetHashCode(); + if (this.AdditionalSessionCriteria02 != null) + hashCode = hashCode * 59 + this.AdditionalSessionCriteria02.GetHashCode(); + if (this.DataPrivacyEnabled != null) + hashCode = hashCode * 59 + this.DataPrivacyEnabled.GetHashCode(); + if (this.StoreTransaction != null) + hashCode = hashCode * 59 + this.StoreTransaction.GetHashCode(); + if (this.PceContext != null) + hashCode = hashCode * 59 + this.PceContext.GetHashCode(); + if (this.MainTransaction != null) + hashCode = hashCode * 59 + this.MainTransaction.GetHashCode(); + if (this.PosSessionData != null) + hashCode = hashCode * 59 + this.PosSessionData.GetHashCode(); + if (this.LastServerStatusOnline != null) + hashCode = hashCode * 59 + this.LastServerStatusOnline.GetHashCode(); + if (this.TempTransactionBoundCache != null) + hashCode = hashCode * 59 + this.TempTransactionBoundCache.GetHashCode(); + if (this.RetailStore != null) + hashCode = hashCode * 59 + this.RetailStore.GetHashCode(); + if (this.TemoraryPromotionSO != null) + hashCode = hashCode * 59 + this.TemoraryPromotionSO.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PosTransaction.cs b/gatewayGK/POSGkSwaggerModel/Model/PosTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..7325bad02310bea042ce65f682a3952570997044 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PosTransaction.cs @@ -0,0 +1,124 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PosTransaction + /// + [DataContract] + public partial class PosTransaction : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// transaction. + public PosTransaction(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction)) + { + this.Transaction = transaction; + } + + /// + /// Gets or Sets Transaction + /// + [DataMember(Name="transaction", EmitDefaultValue=false)] + public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PosTransaction {\n"); + sb.Append(" Transaction: ").Append(Transaction).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PosTransaction); + } + + /// + /// Returns true if PosTransaction instances are equal + /// + /// Instance of PosTransaction to be compared + /// Boolean + public bool Equals(PosTransaction input) + { + if (input == null) + return false; + + return + ( + this.Transaction == input.Transaction || + (this.Transaction != null && + this.Transaction.Equals(input.Transaction)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Transaction != null) + hashCode = hashCode * 59 + this.Transaction.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PrepaidInfoType.cs b/gatewayGK/POSGkSwaggerModel/Model/PrepaidInfoType.cs new file mode 100644 index 0000000000000000000000000000000000000000..2894d2fd3a36db271ddc6423015b5e13559478f6 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PrepaidInfoType.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidInfoType + /// + [DataContract] + public partial class PrepaidInfoType : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// faceValue. + /// itemId. + /// quantity. + /// prepaidType. + public PrepaidInfoType(Money faceValue = default(Money), string itemId = default(string), int? quantity = default(int?), string prepaidType = default(string)) + { + this.FaceValue = faceValue; + this.ItemId = itemId; + this.Quantity = quantity; + this.PrepaidType = prepaidType; + } + + /// + /// Gets or Sets FaceValue + /// + [DataMember(Name="faceValue", EmitDefaultValue=false)] + public Money FaceValue { get; set; } + + /// + /// Gets or Sets ItemId + /// + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// Gets or Sets Quantity + /// + [DataMember(Name="quantity", EmitDefaultValue=false)] + public int? Quantity { get; set; } + + /// + /// Gets or Sets PrepaidType + /// + [DataMember(Name="prepaidType", EmitDefaultValue=false)] + public string PrepaidType { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PrepaidInfoType {\n"); + sb.Append(" FaceValue: ").Append(FaceValue).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" Quantity: ").Append(Quantity).Append("\n"); + sb.Append(" PrepaidType: ").Append(PrepaidType).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PrepaidInfoType); + } + + /// + /// Returns true if PrepaidInfoType instances are equal + /// + /// Instance of PrepaidInfoType to be compared + /// Boolean + public bool Equals(PrepaidInfoType input) + { + if (input == null) + return false; + + return + ( + this.FaceValue == input.FaceValue || + (this.FaceValue != null && + this.FaceValue.Equals(input.FaceValue)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.Quantity == input.Quantity || + (this.Quantity != null && + this.Quantity.Equals(input.Quantity)) + ) && + ( + this.PrepaidType == input.PrepaidType || + (this.PrepaidType != null && + this.PrepaidType.Equals(input.PrepaidType)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.FaceValue != null) + hashCode = hashCode * 59 + this.FaceValue.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.Quantity != null) + hashCode = hashCode * 59 + this.Quantity.GetHashCode(); + if (this.PrepaidType != null) + hashCode = hashCode * 59 + this.PrepaidType.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PrepaidPinRequest.cs b/gatewayGK/POSGkSwaggerModel/Model/PrepaidPinRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ddee5cd69a9663bb9046a5d4afb83e5a692c4551 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PrepaidPinRequest.cs @@ -0,0 +1,252 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidPinRequest + /// + [DataContract] + public partial class PrepaidPinRequest : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// uuid. + /// country. + /// store. + /// posNumber. + /// posTimestamp. + /// voucherNo. + /// voucherId. + /// prepaidInfos. + /// prepaidTypes. + public PrepaidPinRequest(string uuid = default(string), string country = default(string), string store = default(string), string posNumber = default(string), DateTime? posTimestamp = default(DateTime?), string voucherNo = default(string), string voucherId = default(string), List prepaidInfos = default(List), List prepaidTypes = default(List)) + { + this.Uuid = uuid; + this.Country = country; + this.Store = store; + this.PosNumber = posNumber; + this.PosTimestamp = posTimestamp; + this.VoucherNo = voucherNo; + this.VoucherId = voucherId; + this.PrepaidInfos = prepaidInfos; + this.PrepaidTypes = prepaidTypes; + } + + /// + /// Gets or Sets Uuid + /// + [DataMember(Name="uuid", EmitDefaultValue=false)] + public string Uuid { get; set; } + + /// + /// Gets or Sets Country + /// + [DataMember(Name="country", EmitDefaultValue=false)] + public string Country { get; set; } + + /// + /// Gets or Sets Store + /// + [DataMember(Name="store", EmitDefaultValue=false)] + public string Store { get; set; } + + /// + /// Gets or Sets PosNumber + /// + [DataMember(Name="posNumber", EmitDefaultValue=false)] + public string PosNumber { get; set; } + + /// + /// Gets or Sets PosTimestamp + /// + [DataMember(Name="posTimestamp", EmitDefaultValue=false)] + public DateTime? PosTimestamp { get; set; } + + /// + /// Gets or Sets VoucherNo + /// + [DataMember(Name="voucherNo", EmitDefaultValue=false)] + public string VoucherNo { get; set; } + + /// + /// Gets or Sets VoucherId + /// + [DataMember(Name="voucherId", EmitDefaultValue=false)] + public string VoucherId { get; set; } + + /// + /// Gets or Sets PrepaidInfos + /// + [DataMember(Name="prepaidInfos", EmitDefaultValue=false)] + public List PrepaidInfos { get; set; } + + /// + /// Gets or Sets PrepaidTypes + /// + [DataMember(Name="prepaidTypes", EmitDefaultValue=false)] + public List PrepaidTypes { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PrepaidPinRequest {\n"); + sb.Append(" Uuid: ").Append(Uuid).Append("\n"); + sb.Append(" Country: ").Append(Country).Append("\n"); + sb.Append(" Store: ").Append(Store).Append("\n"); + sb.Append(" PosNumber: ").Append(PosNumber).Append("\n"); + sb.Append(" PosTimestamp: ").Append(PosTimestamp).Append("\n"); + sb.Append(" VoucherNo: ").Append(VoucherNo).Append("\n"); + sb.Append(" VoucherId: ").Append(VoucherId).Append("\n"); + sb.Append(" PrepaidInfos: ").Append(PrepaidInfos).Append("\n"); + sb.Append(" PrepaidTypes: ").Append(PrepaidTypes).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PrepaidPinRequest); + } + + /// + /// Returns true if PrepaidPinRequest instances are equal + /// + /// Instance of PrepaidPinRequest to be compared + /// Boolean + public bool Equals(PrepaidPinRequest input) + { + if (input == null) + return false; + + return + ( + this.Uuid == input.Uuid || + (this.Uuid != null && + this.Uuid.Equals(input.Uuid)) + ) && + ( + this.Country == input.Country || + (this.Country != null && + this.Country.Equals(input.Country)) + ) && + ( + this.Store == input.Store || + (this.Store != null && + this.Store.Equals(input.Store)) + ) && + ( + this.PosNumber == input.PosNumber || + (this.PosNumber != null && + this.PosNumber.Equals(input.PosNumber)) + ) && + ( + this.PosTimestamp == input.PosTimestamp || + (this.PosTimestamp != null && + this.PosTimestamp.Equals(input.PosTimestamp)) + ) && + ( + this.VoucherNo == input.VoucherNo || + (this.VoucherNo != null && + this.VoucherNo.Equals(input.VoucherNo)) + ) && + ( + this.VoucherId == input.VoucherId || + (this.VoucherId != null && + this.VoucherId.Equals(input.VoucherId)) + ) && + ( + this.PrepaidInfos == input.PrepaidInfos || + this.PrepaidInfos != null && + this.PrepaidInfos.SequenceEqual(input.PrepaidInfos) + ) && + ( + this.PrepaidTypes == input.PrepaidTypes || + this.PrepaidTypes != null && + this.PrepaidTypes.SequenceEqual(input.PrepaidTypes) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Uuid != null) + hashCode = hashCode * 59 + this.Uuid.GetHashCode(); + if (this.Country != null) + hashCode = hashCode * 59 + this.Country.GetHashCode(); + if (this.Store != null) + hashCode = hashCode * 59 + this.Store.GetHashCode(); + if (this.PosNumber != null) + hashCode = hashCode * 59 + this.PosNumber.GetHashCode(); + if (this.PosTimestamp != null) + hashCode = hashCode * 59 + this.PosTimestamp.GetHashCode(); + if (this.VoucherNo != null) + hashCode = hashCode * 59 + this.VoucherNo.GetHashCode(); + if (this.VoucherId != null) + hashCode = hashCode * 59 + this.VoucherId.GetHashCode(); + if (this.PrepaidInfos != null) + hashCode = hashCode * 59 + this.PrepaidInfos.GetHashCode(); + if (this.PrepaidTypes != null) + hashCode = hashCode * 59 + this.PrepaidTypes.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PrepaidPinResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/PrepaidPinResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..09c2a914821d372bdff894676177b1da54b19cd4 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PrepaidPinResponse.cs @@ -0,0 +1,140 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidPinResponse + /// + [DataContract] + public partial class PrepaidPinResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// returnCode. + /// prepaidReturnInfos. + public PrepaidPinResponse(string returnCode = default(string), List prepaidReturnInfos = default(List)) + { + this.ReturnCode = returnCode; + this.PrepaidReturnInfos = prepaidReturnInfos; + } + + /// + /// Gets or Sets ReturnCode + /// + [DataMember(Name="returnCode", EmitDefaultValue=false)] + public string ReturnCode { get; set; } + + /// + /// Gets or Sets PrepaidReturnInfos + /// + [DataMember(Name="prepaidReturnInfos", EmitDefaultValue=false)] + public List PrepaidReturnInfos { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PrepaidPinResponse {\n"); + sb.Append(" ReturnCode: ").Append(ReturnCode).Append("\n"); + sb.Append(" PrepaidReturnInfos: ").Append(PrepaidReturnInfos).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PrepaidPinResponse); + } + + /// + /// Returns true if PrepaidPinResponse instances are equal + /// + /// Instance of PrepaidPinResponse to be compared + /// Boolean + public bool Equals(PrepaidPinResponse input) + { + if (input == null) + return false; + + return + ( + this.ReturnCode == input.ReturnCode || + (this.ReturnCode != null && + this.ReturnCode.Equals(input.ReturnCode)) + ) && + ( + this.PrepaidReturnInfos == input.PrepaidReturnInfos || + this.PrepaidReturnInfos != null && + this.PrepaidReturnInfos.SequenceEqual(input.PrepaidReturnInfos) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReturnCode != null) + hashCode = hashCode * 59 + this.ReturnCode.GetHashCode(); + if (this.PrepaidReturnInfos != null) + hashCode = hashCode * 59 + this.PrepaidReturnInfos.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PrepaidReturnInfoType.cs b/gatewayGK/POSGkSwaggerModel/Model/PrepaidReturnInfoType.cs new file mode 100644 index 0000000000000000000000000000000000000000..9bfa1c1034cd007544a4eb2e7398242e6fb8e186 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PrepaidReturnInfoType.cs @@ -0,0 +1,140 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidReturnInfoType + /// + [DataContract] + public partial class PrepaidReturnInfoType : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// returnCode. + /// pinInfos. + public PrepaidReturnInfoType(string returnCode = default(string), List pinInfos = default(List)) + { + this.ReturnCode = returnCode; + this.PinInfos = pinInfos; + } + + /// + /// Gets or Sets ReturnCode + /// + [DataMember(Name="returnCode", EmitDefaultValue=false)] + public string ReturnCode { get; set; } + + /// + /// Gets or Sets PinInfos + /// + [DataMember(Name="pinInfos", EmitDefaultValue=false)] + public List PinInfos { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PrepaidReturnInfoType {\n"); + sb.Append(" ReturnCode: ").Append(ReturnCode).Append("\n"); + sb.Append(" PinInfos: ").Append(PinInfos).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PrepaidReturnInfoType); + } + + /// + /// Returns true if PrepaidReturnInfoType instances are equal + /// + /// Instance of PrepaidReturnInfoType to be compared + /// Boolean + public bool Equals(PrepaidReturnInfoType input) + { + if (input == null) + return false; + + return + ( + this.ReturnCode == input.ReturnCode || + (this.ReturnCode != null && + this.ReturnCode.Equals(input.ReturnCode)) + ) && + ( + this.PinInfos == input.PinInfos || + this.PinInfos != null && + this.PinInfos.SequenceEqual(input.PinInfos) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.ReturnCode != null) + hashCode = hashCode * 59 + this.ReturnCode.GetHashCode(); + if (this.PinInfos != null) + hashCode = hashCode * 59 + this.PinInfos.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PrepaidType.cs b/gatewayGK/POSGkSwaggerModel/Model/PrepaidType.cs new file mode 100644 index 0000000000000000000000000000000000000000..43a24eb8f8adb41d97363057c991d33a4207825f --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PrepaidType.cs @@ -0,0 +1,172 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PrepaidType + /// + [DataContract] + public partial class PrepaidType : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// smId. + /// itemId. + /// providerCode. + /// resourceId. + public PrepaidType(int? smId = default(int?), string itemId = default(string), string providerCode = default(string), string resourceId = default(string)) + { + this.SmId = smId; + this.ItemId = itemId; + this.ProviderCode = providerCode; + this.ResourceId = resourceId; + } + + /// + /// Gets or Sets SmId + /// + [DataMember(Name="smId", EmitDefaultValue=false)] + public int? SmId { get; set; } + + /// + /// Gets or Sets ItemId + /// + [DataMember(Name="itemId", EmitDefaultValue=false)] + public string ItemId { get; set; } + + /// + /// Gets or Sets ProviderCode + /// + [DataMember(Name="providerCode", EmitDefaultValue=false)] + public string ProviderCode { get; set; } + + /// + /// Gets or Sets ResourceId + /// + [DataMember(Name="resourceId", EmitDefaultValue=false)] + public string ResourceId { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PrepaidType {\n"); + sb.Append(" SmId: ").Append(SmId).Append("\n"); + sb.Append(" ItemId: ").Append(ItemId).Append("\n"); + sb.Append(" ProviderCode: ").Append(ProviderCode).Append("\n"); + sb.Append(" ResourceId: ").Append(ResourceId).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PrepaidType); + } + + /// + /// Returns true if PrepaidType instances are equal + /// + /// Instance of PrepaidType to be compared + /// Boolean + public bool Equals(PrepaidType input) + { + if (input == null) + return false; + + return + ( + this.SmId == input.SmId || + (this.SmId != null && + this.SmId.Equals(input.SmId)) + ) && + ( + this.ItemId == input.ItemId || + (this.ItemId != null && + this.ItemId.Equals(input.ItemId)) + ) && + ( + this.ProviderCode == input.ProviderCode || + (this.ProviderCode != null && + this.ProviderCode.Equals(input.ProviderCode)) + ) && + ( + this.ResourceId == input.ResourceId || + (this.ResourceId != null && + this.ResourceId.Equals(input.ResourceId)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.SmId != null) + hashCode = hashCode * 59 + this.SmId.GetHashCode(); + if (this.ItemId != null) + hashCode = hashCode * 59 + this.ItemId.GetHashCode(); + if (this.ProviderCode != null) + hashCode = hashCode * 59 + this.ProviderCode.GetHashCode(); + if (this.ResourceId != null) + hashCode = hashCode * 59 + this.ResourceId.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PromotionInputResponse.cs b/gatewayGK/POSGkSwaggerModel/Model/PromotionInputResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..fec06e11ad437904f5204154b0e54306d49dcc77 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PromotionInputResponse.cs @@ -0,0 +1,140 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionInputResponse + /// + [DataContract] + public partial class PromotionInputResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// promotionInputRequestList. + /// startSequence. + public PromotionInputResponse(List promotionInputRequestList = default(List), int? startSequence = default(int?)) + { + this.PromotionInputRequestList = promotionInputRequestList; + this.StartSequence = startSequence; + } + + /// + /// Gets or Sets PromotionInputRequestList + /// + [DataMember(Name="promotionInputRequestList", EmitDefaultValue=false)] + public List PromotionInputRequestList { get; set; } + + /// + /// Gets or Sets StartSequence + /// + [DataMember(Name="startSequence", EmitDefaultValue=false)] + public int? StartSequence { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PromotionInputResponse {\n"); + sb.Append(" PromotionInputRequestList: ").Append(PromotionInputRequestList).Append("\n"); + sb.Append(" StartSequence: ").Append(StartSequence).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PromotionInputResponse); + } + + /// + /// Returns true if PromotionInputResponse instances are equal + /// + /// Instance of PromotionInputResponse to be compared + /// Boolean + public bool Equals(PromotionInputResponse input) + { + if (input == null) + return false; + + return + ( + this.PromotionInputRequestList == input.PromotionInputRequestList || + this.PromotionInputRequestList != null && + this.PromotionInputRequestList.SequenceEqual(input.PromotionInputRequestList) + ) && + ( + this.StartSequence == input.StartSequence || + (this.StartSequence != null && + this.StartSequence.Equals(input.StartSequence)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PromotionInputRequestList != null) + hashCode = hashCode * 59 + this.PromotionInputRequestList.GetHashCode(); + if (this.StartSequence != null) + hashCode = hashCode * 59 + this.StartSequence.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/PromotionValidationResultType.cs b/gatewayGK/POSGkSwaggerModel/Model/PromotionValidationResultType.cs new file mode 100644 index 0000000000000000000000000000000000000000..45dfc463686dd229c83529be2da611efabee53cf --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/PromotionValidationResultType.cs @@ -0,0 +1,124 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// PromotionValidationResultType + /// + [DataContract] + public partial class PromotionValidationResultType : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// value. + public PromotionValidationResultType(string value = default(string)) + { + this.Value = value; + } + + /// + /// Gets or Sets Value + /// + [DataMember(Name="value", EmitDefaultValue=false)] + public string Value { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class PromotionValidationResultType {\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PromotionValidationResultType); + } + + /// + /// Returns true if PromotionValidationResultType instances are equal + /// + /// Instance of PromotionValidationResultType to be compared + /// Boolean + public bool Equals(PromotionValidationResultType input) + { + if (input == null) + return false; + + return + ( + this.Value == input.Value || + (this.Value != null && + this.Value.Equals(input.Value)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Value != null) + hashCode = hashCode * 59 + this.Value.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/POSGkSwaggerModel/Model/RequestedValues.cs b/gatewayGK/POSGkSwaggerModel/Model/RequestedValues.cs new file mode 100644 index 0000000000000000000000000000000000000000..9a12a13f15bd84ea8f6364440766351a612d83e5 --- /dev/null +++ b/gatewayGK/POSGkSwaggerModel/Model/RequestedValues.cs @@ -0,0 +1,124 @@ +/* + * GK application - OmniPOS Service API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * OpenAPI spec version: 5.21.1-b03 + * + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter; + +namespace IO.Swagger.Model +{ + /// + /// RequestedValues + /// + [DataContract] + public partial class RequestedValues : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// payloadEnabled. + public RequestedValues(bool? payloadEnabled = default(bool?)) + { + this.PayloadEnabled = payloadEnabled; + } + + /// + /// Gets or Sets PayloadEnabled + /// + [DataMember(Name="payloadEnabled", EmitDefaultValue=false)] + public bool? PayloadEnabled { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class RequestedValues {\n"); + sb.Append(" PayloadEnabled: ").Append(PayloadEnabled).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as RequestedValues); + } + + /// + /// Returns true if RequestedValues instances are equal + /// + /// Instance of RequestedValues to be compared + /// Boolean + public bool Equals(RequestedValues input) + { + if (input == null) + return false; + + return + ( + this.PayloadEnabled == input.PayloadEnabled || + (this.PayloadEnabled != null && + this.PayloadEnabled.Equals(input.PayloadEnabled)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.PayloadEnabled != null) + hashCode = hashCode * 59 + this.PayloadEnabled.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/gatewayGK/Program.cs b/gatewayGK/Program.cs index 6e96af5bcf01098021e8413a05898066ed6d7e4b..7f5b192b619afd786c5046c9cedfafe77c17e553 100644 --- a/gatewayGK/Program.cs +++ b/gatewayGK/Program.cs @@ -4,54 +4,81 @@ using EvaPosSCOSrv; using EvaPosSrvAplicacionImp; using EvaPosSrvRespImp; -/// -/// EvaPos-API : servidor api, sockets y rest. -/// Usa Serilog para bitácora. -/// -class Program +namespace GatewaySCO { - static void Main(string[] args) + /// + /// EvaPos-API : servidor api, sockets y rest. + /// Usa Serilog para bitácora. + /// + public class Program { - try + static void Main(string[] args) { - Console.WriteLine("*** Gateway SCO ***"); + Program program = new Program(); + program.ActivaServidor(args); + } + + public Config LeeConfiguracion(string[] args) + { + // TODO - opción de incluir la activación en la cadena de configuración. + // Instancia objeto de configuración, usa proveedor json y variables ambiente. - IConfigurationRoot config = new ConfigurationBuilder() + IConfigurationRoot configBuilder = new ConfigurationBuilder() .AddJsonFile("appsettings.json") .AddEnvironmentVariables() .Build(); - // Lee archivo de configuración. - Config? configuracion = config.GetRequiredSection("GatewayConfig").Get(); - if (configuracion is null) - { - throw new ApplicationException("Error en archivo de configuración, sección 'GatewayConfig' no encontrada."); - } - // TODO Sacar la ruta de logs del objeto de configuración adecuadamente. - string? rutaLogs = config["Serilog:WriteTo:1:Args:path"]; + string? rutaLogs = configBuilder["Serilog:WriteTo:1:Args:path"]; Console.WriteLine($"Archivo de logs en {rutaLogs}"); // Instancia Serilog según parámetros en archivo de configuración. Log.Logger = new LoggerConfiguration() - .ReadFrom.Configuration(config) + .ReadFrom.Configuration(configBuilder) .CreateLogger(); - Log.Information(configuracion.ToString()); - // TODO - opción de incluir la activación en la cadena de configuración. - // TODO - aunque hace uso de una "invocación fluida" no parece ser el tipo de api que se beneficia de ese esquema. - ServidorSocket servidor = new ServidorSocket() - .ConIp(configuracion.IpSCO) - .EnPuerto(configuracion.PortSCO) - .AgregaDispensadorAdaptadores(IniciaDirectorioAdaptadores.Cargar().DirectorioAdaptadores) - .AgregaDirectorioCmds(DirectorioCmdsFactory.CreaDirectorio(configuracion)) - .AgregaProcesadorAplicacion(new Aplicacion()) - .Activa(); + // Lee del archivo de configuración la configuración general. + Config config = configBuilder.GetRequiredSection("GatewayConfig").Get() + ?? throw new ApplicationException("Archivo de configuración sin sección 'GatewayConfig'."); + Log.Information(config.ToString()); + + // Lee del archivo de configuración sección POS Gk si aplica. + // TODO - valor de parámetro POS de archivo de configuración en ENUM? + if (config.POS == "gk") + { + ConfigGk configGk = configBuilder.GetRequiredSection("DataGK").Get() + ?? throw new ApplicationException("Archivo de configuración sin sección 'DataGK'."); + Log.Debug(configGk.ToString()); + // Inicializa el entorno Gk. + Entorno.Instancia.set(new EntornoGK()); + Entorno.Instancia.get().Language = config.Language; + Entorno.Instancia.get().ConfigGk = configGk; + Log.Information($"GK {Entorno.Instancia.get().UrlBase}"); + } + return config; } - catch (Exception e) + + public void ActivaServidor(string[] args) { - Log.Error($"Excepción: {e}"); - Environment.Exit(1); + Console.WriteLine("*** Gateway SCO ***"); + Config config = LeeConfiguracion(args); + try + { + Console.WriteLine("*** Gateway SCO ***"); + // TODO - aunque hace uso de una "invocación fluida" no parece ser el tipo de api que se beneficia de ese esquema. + ServidorSocket servidor = new ServidorSocket() + .ConIp(config.IpSCO) + .EnPuerto(config.PortSCO) + .AgregaDispensadorAdaptadores(IniciaDirectorioAdaptadores.Cargar().DirectorioAdaptadores) + .AgregaDirectorioCmds(DirectorioCmdsFactory.CreaDirectorio(config.POS)) + .AgregaProcesadorAplicacion(new Aplicacion()) + .Activa(); + } + catch (Exception e) + { + Log.Error($"Excepción: {e}"); + Environment.Exit(1); + } } } -} \ No newline at end of file +} diff --git a/gatewayGK/RespuestasXML/ItemError/AddItemResponseError.cs b/gatewayGK/RespuestasXML/ItemError/AddItemResponseError.cs index 2e4099e171746ef55ad6c9ee39ac7568aada0ad2..b4e1b575044d9b694d2679f89a4db180484297f2 100644 --- a/gatewayGK/RespuestasXML/ItemError/AddItemResponseError.cs +++ b/gatewayGK/RespuestasXML/ItemError/AddItemResponseError.cs @@ -1,11 +1,5 @@ -using EvaPOS_API_FRAME.DTO; -using EvaPosSrvDTO; +using EvaPosSrvDTO; using EvaPosSrvResp; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace EvaPOS_API_FRAME.RespuestasXML { @@ -24,7 +18,7 @@ namespace EvaPOS_API_FRAME.RespuestasXML TipoMensaje messageType, int requestID, string message, - string errorCode): base(sessionId,messageType) + string errorCode) : base(sessionId, messageType) { RequestID = requestID; Message = message; @@ -46,5 +40,10 @@ namespace EvaPOS_API_FRAME.RespuestasXML """; } + + public override string ToString() + { + return String.Format("AddItemResponseError: RequestID {0}, Message {1}, ErrorCode {2}", RequestID, Message, ErrorCode); + } } } diff --git a/gatewayGK/RespuestasXML/TransactionStatusEvent.cs b/gatewayGK/RespuestasXML/TransactionStatusEvent.cs index d7863be87b9f3395c1386c51a014e60499927552..9eeccefc479dd22b755ff8f62a92115537178d6a 100644 --- a/gatewayGK/RespuestasXML/TransactionStatusEvent.cs +++ b/gatewayGK/RespuestasXML/TransactionStatusEvent.cs @@ -54,5 +54,10 @@ namespace EvaPOS_API_FRAME.RespuestasXML """; } + + public override string ToString() + { + return String.Format("TransactionStatusEvent RequestID {0}", RequestID); + } } } diff --git a/gatewayGK/appsettings.json b/gatewayGK/appsettings.json index b4a5160b98835b9d9cf8f83c32d5285e14cdcd7d..742af35adc4b612226db9d14fdb7b335484016e0 100644 --- a/gatewayGK/appsettings.json +++ b/gatewayGK/appsettings.json @@ -1,46 +1,50 @@ { - "GatewayConfig": { - "POS": "gk", - "POS_comment": "Indicates the set of commands to instantiate, according to the type of POS: evapos, tests, gk, etc.", - "IpSCO": "192.168.168.232", - "IpSCO_comment": "SCO IP, local or remote", - "PortSCO": 6697, - "PortSCO_comment": "SCO IP Port", - "Language": "es", - "Language_comment": "Language code as needed by the POS application" - }, - "Serilog": { - "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ], - "MinimumLevel": "Debug", - "WriteTo": [ - { - "Name": "Console", - "Args": { } - }, - { - "Name": "File", - "Args": { - "path": "logs/scogateway-log.txt", - "rollingInterval": "Day" - } - } - ] - }, - "DataGK": { - "RetailStoreId": "1000", - "workstationId": "103", - "WorkstationAddress": "001_1000_103", - "WorkstationTypeCode": "MOB", - "LoginName": "1004", - "Password": "1", - "BusinessUnitGroupID": "1000", - "TillID": "103", - "SessionID": "7B5670A3029726D69AC5454FADA35DAD" + "GatewayConfig": { + "POS": "gk", + "POS_comment": "Indicates the set of commands to instantiate, according to the type of POS: evapos, tests, gk, etc.", + "IpSCO": "127.0.0.1", + "IpSCO_comment": "SCO IP, local or remote", + "PortSCO": 6697, + "PortSCO_comment": "SCO IP Port", + "Language": "es", + "Language_comment": "Language code as needed by the POS application" + }, + "DataGK": { + "IpGkSmartPOS": "10.10.117.10", + "IpGkSmartPOS_comment": "SCO IP, local or remote", + "PortGkSmartPOS": 8443, + "PortGkSmartPOS_comment": "Gk Smart POS IP Port", + "TenantId": "001", + "RetailStoreId": "1000", + "workstationId": "103", + "WorkstationAddress": "001_1000_103", + "WorkstationTypeCode": "MOB", + "LoginName": "1004", + "Password": "1", + "BusinessUnitGroupID": "1000", + "TillID": "103" }, - "Logging": { - "LogLevel": { - "Default": "Debug", - "Microsoft.AspNetCore": "Warning" + "Serilog": { + "Using": [ + "Serilog.Sinks.Console", + "Serilog.Sinks.File" + ], + "MinimumLevel": "Verbose", + "WriteTo": [ + { + "Name": "Console", + "Args": { + "restrictedToMinimumLevel": "Information" + } + + }, + { + "Name": "File", + "Args": { + "path": "logs/scogateway-log.txt", + "rollingInterval": "Day" } } + ] + } } \ No newline at end of file diff --git a/gatewayGK/gatewayGK.csproj b/gatewayGK/gatewayGK.csproj index f70c30837a0f6c1868a9a2355c9fad37f534f5de..8e09b608d946e88c5985837e890f3ae5ac8f3e70 100644 --- a/gatewayGK/gatewayGK.csproj +++ b/gatewayGK/gatewayGK.csproj @@ -5,6 +5,8 @@ net7.0 enable enable + 1 + 8618,8604,8767,8765,8625,0472,0034,8600,8602 @@ -15,6 +17,7 @@ + diff --git a/gatewayGK/pruebas rest/prueba.json b/gatewayGK/pruebas rest/prueba.json new file mode 100644 index 0000000000000000000000000000000000000000..08874a2abd6d013fe24e8074542f0c5c863c8168 --- /dev/null +++ b/gatewayGK/pruebas rest/prueba.json @@ -0,0 +1,338 @@ +{ + "Request": { + "AlwaysMultipartFormData": false, + "MultipartFormQuoteParameters": false, + "MultipartFormQuoteBoundary": true, + "FormBoundary": null, + "Parameters": [ + { + "Name": "Accept", + "Value": "application/json;Format=GK-PLAIN-JSON", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Content-Type", + "Value": "application/json", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Cookie", + "Value": "JSESSIONID=", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "DataFormat": "None", + "ContentEncoding": null, + "Name": "", + "Value": "{\r\n \"com.gk_software.pos.api.service.session.LoginRequest\": {\r\n \"retailStoreId\": \"1000\",\r\n \"workstationId\": \"103\",\r\n \"workstationAddress\": \"001_1000_103\",\r\n \"workstationTypeCode\": \"MOB\",\r\n \"loginName\": \"1004\",\r\n \"tillId\": {\r\n \"com.gk_software.pos.api.model.dom.app.services.transaction.TillDoKey\": {\r\n \"businessUnitGroupID\": \"1000\",\r\n \"tillID\": \"103\"\r\n }\r\n },\r\n \"password\": \"1\",\r\n \"trainingMode\": false,\r\n \"finalizeControlTransactionFlag\": false,\r\n \"useLoginTypeTechnicalForLoginManager\": false\r\n }\r\n}", + "Type": "RequestBody", + "Encode": false, + "ContentType": { + "Value": "application/json", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "application/json", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "BodyParameter" + } + ], + "CookieContainer": { + "Capacity": 300, + "Count": 1, + "MaxCookieSize": 4096, + "PerDomainCapacity": 20, + "$type": "CookieContainer" + }, + "Authenticator": null, + "Files": [], + "Method": "Post", + "Timeout": 0, + "Resource": "https://10.10.117.10:8443/smartpos-service/tenants/001/services/com.gk_software.pos.api.service.session.PosSessionService/login", + "RequestFormat": "Json", + "RootElement": null, + "OnBeforeDeserialization": null, + "OnBeforeRequest": null, + "OnAfterRequest": null, + "Attempts": 1, + "CompletionOption": "ResponseContentRead", + "CachePolicy": null, + "ResponseWriter": null, + "AdvancedResponseWriter": null, + "$type": "RestRequest" + }, + "ContentType": "application/json", + "ContentLength": 27473, + "ContentEncoding": [], + "Content": "{\"primaryEntry\":{\"transaction\":{\"key\":{\"businessUnitGroupID\":\"100000000000000062\",\"transactionID\":\"6nbc7822b88513a45c6b2a322972f394\"},\"operatorID\":\"1004\",\"workstationID\":\"103\",\"businessUnitID\":\"1000\",\"businessDayDate\":\"2023-08-03T00:00:00.000\",\"sequenceNumber\":13,\"transactionTypeCode\":\"CNTTRN\",\"beginDateTimestamp\":\"2023-08-03T09:50:16.145\",\"cancelledFlag\":false,\"suspendedFlag\":false,\"trainingFlag\":false,\"keyedOfflineFlag\":\"SA\",\"workerID\":\"1004\",\"workerFirstName\":\"Adam\",\"workerLastName\":\"Administrator\",\"internalSequenceNumber\":12,\"fiscalFlag\":false,\"beginDateTimestampUTC0\":\"2023-08-03T09:50:16.145-0500\",\"transactionExtensionList\":[{\"key\":{\"businessUnitGroupID\":\"100000000000000062\",\"transactionID\":\"6nbc7822b88513a45c6b2a322972f394\",\"extensionKey\":\"WORKSTATION_TYPE_CODE\",\"extensionSequenceNumber\":0},\"extensionValue\":\"MOB\"}],\"endWorkstationID\":\"103\",\"isocurrencyCode\":\"COP\",\"controlTransactionList\":[{\"key\":{\"businessUnitGroupID\":\"100000000000000062\",\"transactionID\":\"6nbc7822b88513a45c6b2a322972f394\"},\"typeCode\":\"SGON\",\"signOnTransactionList\":[{\"key\":{\"businessUnitGroupID\":\"100000000000000062\",\"transactionID\":\"6nbc7822b88513a45c6b2a322972f394\"},\"tillID\":\"103\"}]}]},\"addedOrModifiedLineItems\":[],\"deletedLineItems\":[],\"closedLineItems\":[],\"promotionInputRequests\":[],\"addedOrModifiedTransactionExtensions\":[],\"addedTransactionAdditionalPrintouts\":[],\"addedPriceDerivationRules\":[],\"addedOrModifiedSaleReturnLineItemPrices\":[],\"deletedTransactionAdditionalPrintouts\":[]},\"additionalEntries\":[],\"filtered\":false,\"posSessionId\":{\"id\":\"189bbe0c0d11700636a24657aac0378c3.1004\"},\"operator\":{\"operatorID\":\"1004\",\"workerID\":\"1004\",\"firstName\":\"Adam\",\"lastName\":\"Administrator\",\"languageID\":\"es_CO\",\"leftHandedFlag\":false,\"operatorAssignmentSOList\":[{\"retailStoreID\":\"1000\",\"workGroupID\":\"admin_global\"},{\"retailStoreID\":\"1000\",\"workGroupID\":\"cashier_vice\"}],\"peripheralAccessSOList\":[{\"retailStoreID\":\"1000\",\"peripheralsTypeCode\":\"POS\",\"loginName\":\"1004\",\"passwordCreateTimestamp\":\"2023-07-31T16:08:35.557\",\"passwordFailedAttemptsCount\":0,\"passwordLastSuccessfulLoginTimestamp\":\"2023-08-03T09:50:16.114\",\"accessBlockingFlag\":false,\"initialPasswordFlag\":false}],\"opAsgnList\":[{\"retailStoreID\":\"1000\",\"workGroupID\":\"admin_global\"},{\"retailStoreID\":\"1000\",\"workGroupID\":\"cashier_vice\"}]},\"permittedResources\":[\"100\",\"S.01190200001.00\",\"S.01170200004.00\",\"S.01170200003.00\",\"S.01100202399.00\",\"S.01100202316.00\",\"S.01100202306.00\",\"S.01100202304.00\",\"S.01100202205.00\",\"S.01400200005.00\",\"S.01400200004.00\",\"S.01400200003.00\",\"S.01400200002.00\",\"S.01400200001.00\",\"S.01321000003.01\",\"S.01321000003.00\",\"S.01320214001.00\",\"S.01320212001.00\",\"S.01320211001.00\",\"S.01320210002.00\",\"S.01320209002.00\",\"S.01320209001.00\",\"S.01320208001.00\",\"S.01320207004.00\",\"S.01320207002.00\",\"S.01320207001.00\",\"S.01320206001.00\",\"S.01320205001.00\",\"S.01320203008.00\",\"S.01320203004.00\",\"rs:gkr.tx-pool.transaction-pool-rest-api\",\"rs:gkr.pos-server.tax-refund-service\",\"rs:gkr.pos-server.reporting.reporting-service\",\"rs:gkr.pos-server.login-manager\",\"rs:gkr.pos-server.layaway-service\",\"rs:gkr.pos-server.function-config-service\",\"rs:gkr.pos-server.data-sources.till-summary\",\"rs:gkr.pos-server.data-sources.sales-tender-overview\",\"rs:gkr.pos-server.data-sources.sales-summary-transaction-overview\",\"rs:gkr.pos-server.data-sources.sales-summary-overview\",\"rs:gkr.pos-server.data-sources.redeemed-offline-suspend-transaction-overview\",\"rs:gkr.pos-server.accounting.transaction-journal-service\",\"rs:gkr.pos-server.accounting.transaction-audit-service\",\"rs:gkr.pos-server.accounting.till-accounting-service\",\"rs:gkr.pos-server.accounting.tender-search-service\",\"rs:gkr.pos-server.accounting.target-store-service\",\"rs:gkr.pos-server.accounting.store-accounting-service\",\"rs:gkr.pos-server.accounting.safe-search-service\",\"rs:gkr.pos-server.accounting.safe-accounting-service\",\"rs:gkr.pos-server.accounting.redeemed-offline-scale-transactions-service\",\"rs:gkr.pos-server.accounting.merchandise-category-sales-service\",\"rs:gkr.pos-server.accounting.italy-invoice-printing-service\",\"rs:gkr.pos-server.accounting.invoice-printing-service\",\"rs:gkr.pos-server.accounting.discount-search-service\",\"rs:gkr.pos-server.accounting.day-end-accounting-service\",\"rs:gkr.pos-server.accounting.accounting-service\",\"rs:gkr.i18n.sweden.sweden-x-report-printing-service\",\"rs:gkr.i18n.portugal.saft-export-service\",\"rs:gkr.i18n.poland.poland-invoice-printing-service\",\"rs:gkr.i18n.norway.saft-export-service\",\"rs:gkr.i18n.norway.norway-x-report-printing-service\",\"rs:gkr.i18n.germany.accounting-service\",\"rs:gkr.i18n.france.france-signature-validation-service\",\"S.01320202012.00\",\"S.01320201004.00\",\"101\",\"S.01100202522.00\",\"S.01100202519.00\",\"S.01100202517.00\",\"S.01100202516.00\",\"S.01100202512.02\",\"S.01100202512.00\",\"S.01100202505.02\",\"S.01100202505.00\",\"S.01100202503.00\",\"S.01100202502.02\",\"S.01100202502.00\",\"S.01100202399.02\",\"S.01100202306.02\",\"S.01100202304.02\",\"S.01100202205.02\",\"S.01320207005.00\",\"S.01320202014.02\",\"S.01320202014.00\",\"S.01320202013.00\",\"S.01320202012.02\",\"S.08100200001.02\",\"S.08100200001.01\",\"S.08100200001.00\",\"S.01320202011.00\",\"S.01320202010.00\",\"S.01320202006.00\",\"S.01230202421.00\",\"S.01230202404.00\",\"S.01230202401.00\",\"S.01220202523.00\",\"S.01220202514.00\",\"S.01220202298.00\",\"S.01220202295.00\",\"S.01220202211.00\",\"S.01220202210.00\",\"S.01220202209.00\",\"S.01220202201.00\",\"S.01200202423.00\",\"S.01200200063.00\",\"S.01200200055.00\",\"S.01200200045.00\",\"S.01200200044.00\",\"S.01200200030.00\",\"S.01200200028.00\",\"S.01200200024.00\",\"S.01200200019.00\",\"S.01200200017.00\",\"S.01200200015.00\",\"S.01200200011.00\",\"S.01200200007.00\",\"S.01200200001.00\",\"S.01190202319.00\",\"200\",\"S.01190101425.00\",\"S.01190100706.00\",\"S.01190100414.00\",\"S.01190100002.00\",\"S.01180101475.00\",\"S.01180101474.00\",\"S.01180101422.00\",\"S.01180101421.00\",\"S.01180101420.00\",\"S.01180101417.00\",\"S.01180101412.00\",\"S.01180101411.00\",\"S.01180101410.00\",\"S.01180100918.00\",\"S.01180100902.00\",\"S.01170100245.00\",\"S.01170100243.00\",\"S.01170100128.00\",\"S.01170100119.00\",\"S.01170100115.00\",\"S.01160100603.00\",\"S.01160100602.00\",\"S.01140100259.00\",\"S.01140100258.00\",\"S.01140100257.00\",\"S.01140100256.00\",\"S.01140100227.00\",\"S.01140100226.00\",\"S.01130100605.00\",\"S.01130100406.00\",\"S.01130100009.00\",\"S.01130100003.00\",\"S.01120100209.00\",\"S.01110100705.00\",\"S.01110100704.00\",\"S.01110100228.00\",\"S.01110100213.00\",\"S.01100102304.00\",\"S.01100101303.00\",\"S.01100101302.00\",\"S.01100101301.00\",\"S.01090101105.00\",\"S.01090100328.00\",\"S.01090100327.00\",\"S.01090100315.00\",\"S.01090100314.00\",\"S.01090100312.00\",\"S.01090100311.00\",\"S.01090100309.00\",\"S.01080100204.00\",\"S.01070100908.00\",\"S.01070100715.00\",\"S.01070100203.00\",\"S.01070100202.00\",\"S.01060100007.00\",\"S.01050101107.00\",\"S.01050101103.00\",\"S.01050101102.00\",\"S.01050101101.00\",\"S.01050100916.00\",\"S.01040100504.00\",\"S.01040100503.00\",\"S.01040100502.00\",\"S.01030100910.00\",\"S.01030100906.00\",\"S.01030100904.00\",\"S.01030100901.00\",\"S.01030100610.00\",\"S.01020100210.00\",\"S.01020100201.00\",\"S.01990100701.00\",\"S.01990100617.00\",\"S.01990100206.00\",\"S.01450100022.00\",\"S.01450100021.00\",\"S.01450100020.00\",\"S.01450100019.00\",\"S.01450100018.00\",\"S.01450100017.00\",\"S.01450100016.00\",\"S.01450100015.00\",\"S.01450100013.00\",\"S.01450100012.00\",\"S.01450100011.00\",\"S.01450100010.00\",\"S.01450100008.00\",\"S.01450100007.00\",\"S.01450100006.00\",\"S.01450100005.00\",\"S.01450100001.00\",\"S.01430100001.00\",\"S.01420100008.00\",\"S.01420100002.00\",\"S.01420100001.00\",\"S.01400100257.00\",\"S.01400100256.00\",\"S.01400100230.00\",\"S.01400100226.00\",\"S.01400100006.00\",\"S.01400100005.00\",\"S.01400100004.00\",\"S.01400100003.00\",\"S.01390100902.00\",\"S.01390100901.00\",\"S.01380101459.00\",\"S.01380101458.00\",\"S.01380101449.00\",\"S.01380101445.00\",\"S.01380101444.00\",\"S.01380101442.00\",\"S.01380101431.00\",\"S.01380101403.00\",\"S.01380101402.00\",\"S.01380101401.00\",\"S.01350101225.00\",\"S.01340400022.00\",\"S.01340400021.00\",\"S.01340400020.00\",\"S.01020100130.00\",\"S.01020100123.00\",\"S.01020100122.00\",\"S.01020100121.00\",\"S.01020100120.00\",\"S.01020100114.00\",\"S.01020100113.00\",\"S.01020100111.00\",\"S.01020100110.00\",\"S.01020100109.00\",\"S.01020100108.00\",\"S.01020100107.00\",\"S.01020100104.00\",\"S.01020100103.00\",\"S.01010101220.00\",\"S.01010101219.00\",\"S.01010101218.00\",\"S.01010101217.00\",\"S.01010101216.00\",\"S.01010101203.00\",\"S.01010101202.00\",\"S.01010101201.00\",\"S.01010100003.00\",\"S.01000101403.01\",\"S.01000101206.00\",\"S.01000100501.00\",\"S.01000100020.00\",\"S.01320100061.00\",\"S.01320100047.00\",\"S.01320100013.00\",\"S.01320100012.00\",\"S.01320100011.00\",\"S.01320100010.00\",\"S.01320100009.00\",\"S.01320100008.00\",\"S.01320100007.00\",\"S.01320100006.00\",\"S.01320100002.00\",\"S.01320100001.00\",\"S.01300101439.00\",\"S.01300100114.00\",\"S.01300100064.00\",\"S.01300100019.00\",\"S.01300100017.00\",\"S.01300100016.00\",\"S.01300100015.00\",\"S.01300100012.00\",\"S.01300100011.00\",\"S.01300100010.00\",\"S.01300100009.00\",\"S.01300100008.00\",\"S.01300100007.00\",\"S.01300100006.00\",\"S.01300100005.00\",\"S.01300100004.00\",\"S.01300100003.00\",\"S.01300100002.00\",\"S.01300100001.01\",\"S.01300100001.00\",\"S.01290100921.00\",\"S.01260100612.00\",\"S.01260100002.00\",\"201\",\"S.01190100004.00\",\"S.01190100001.00\",\"S.01180100902.06\",\"S.01180100902.05\",\"S.01180100902.04\",\"S.01180100902.03\",\"S.01180100902.02\",\"S.01180100902.01\",\"S.01140100256.01\",\"S.01090100312.01\",\"S.01090100311.01\",\"S.01090100309.03\",\"S.01090100309.02\",\"S.01090100309.01\",\"S.01070100908.01\",\"S.01070100202.02\",\"S.01070100202.01\",\"S.01040100604.00\",\"S.01040100504.01\",\"S.01040100503.01\",\"S.01040100502.10\",\"S.01040100502.09\",\"S.01040100502.08\",\"S.01040100502.07\",\"S.01040100502.06\",\"S.01040100502.05\",\"S.01040100502.04\",\"S.01040100502.03\",\"S.01040100502.02\",\"S.01040100502.01\",\"S.01030100999.01\",\"S.01030100998.01\",\"S.01030100998.00\",\"S.01030100997.01\",\"S.01030100910.01\",\"S.01030100901.01\",\"S.01030100900.01\",\"S.01020100130.09\",\"S.01020100130.08\",\"S.01020100130.07\",\"S.01020100130.06\",\"S.01020100130.05\",\"S.01020100130.04\",\"S.01020100130.03\",\"S.01020100130.02\",\"S.01990100206.06\",\"S.01990100206.05\",\"S.01990100206.04\",\"S.01990100206.03\",\"S.01990100206.02\",\"S.01990100206.01\",\"S.01450100002.00\",\"S.01420100008.02\",\"S.01420100008.01\",\"S.01350101447.01\",\"S.01350101221.01\",\"S.01350100000.01\",\"S.01020100130.01\",\"S.01020100111.06\",\"S.01020100111.05\",\"S.01020100111.04\",\"S.01020100111.03\",\"S.01020100111.02\",\"S.01020100111.01\",\"S.01020100107.03\",\"S.01020100107.02\",\"S.01020100107.01\",\"S.01020100103.01\",\"S.01020100102.09\",\"S.01020100102.08\",\"S.01020100102.07\",\"S.01020100102.06\",\"S.01020100102.05\",\"S.01020100102.04\",\"S.01020100102.03\",\"S.01020100102.02\",\"S.01020100102.01\",\"S.01010101218.01\",\"S.01010101217.01\",\"S.01010101216.01\",\"S.01010101203.01\",\"S.01010101202.01\",\"S.01010101201.01\",\"S.01000100011.00\",\"S.01290100921.07\",\"S.01290100921.06\",\"S.01290100921.05\",\"S.01290100921.04\",\"S.01290100921.03\",\"S.01290100921.02\",\"S.01290100921.01\",\"S.01260100612.06\",\"S.01260100612.05\",\"S.01260100612.04\",\"S.01260100612.03\",\"S.01260100612.02\",\"S.01260100612.01\",\"S.01260100002.05\",\"S.01260100002.04\",\"S.01260100002.03\",\"S.01260100002.02\",\"S.01260100002.01\",\"MobileApp\",\"Mobile_SystemTools\",\"SWEE_010700020_ABOUT_FUNC\",\"SWEE_010700009_FORCE_SYNCHRONISATION_FUNC\",\"Mobile_InternalTools\",\"SWEE_BugReport\",\"SWEE_BACKUP\",\"SWEE_010260003_UpdateCheck\",\"SWEE_010260003_SYNC_FILE_FUNC\",\"SWEE_010260003_SYNC_DOC_FUNC\",\"SWEE_010260003_SYNC_DOCS_OPEN_SAVED\",\"SWEE_010260003_PrinterConfigurationManager\",\"SWEE_010260003_PERSONALIZE\",\"SWEE_010260003_DOVIEWER_FUNC\",\"SWEE_010260003_UOMVIEWER_FUNC\",\"SWEE_010260003_SUPPLIERVIEWER_FUNC\",\"SWEE_010260003_BUSINESSUNITVIEWER_FUNC\",\"SWEE_010260003_MHGVIEWER_FUNC\",\"SWEE_010260003_ITEMVIEWER_FUNC\",\"SWEE_010260003_ITEMSTATISTICSVIEWER_FUNC\",\"Mobile_Synchronization\",\"SWEE_0100_SYNCHRONISATION_FUNC\",\"Mobile_MerchandiseManagement\",\"Mobile_StockTransfer\",\"SWEE_02103030_STOCKTRANSFER_OUT_FUNC\",\"SWEE_02103030_STOCKTRANSFER_IN_FUNC\",\"Mobile_PurchaseOrder\",\"SWEE_02403030_SUPPLIERORDER_FUNC\",\"SWEE_02403030_SHELFORDER_FUNC\",\"SWEE_02403030_PRESELLINGORDER_FUNC\",\"SWEE_02403030_EXCEPTIONORDER_FUNC\",\"SWEE_02403030_DIRECTORDER_FUNC\",\"SWEE_02403030_AUTOORDER_FUNC\",\"Mobile_PriceRevaluation\",\"SWEE_02553030_PRICE_REVALUATION_FUNC\",\"Mobile_Picking\",\"SWEE_02603030_GIFTBASKET_FUNC\",\"SWEE_02603030_CUSTOMERPICKING_NODE\",\"SWEE_02603030_CUSTOMERPICKING_SALE_FUNC\",\"SWEE_02603030_CUSTOMERPICKING_RETURN_FUNC\",\"Mobile_ItemCheck\",\"SWEE_02503030_SHELF_MAINTENANCE_FUNC\",\"SWEE_02503030_PRICE_MAINTENANCE_FUNC\",\"SWEE_02503030_MASS_SHELF_MAINTENANCE_FUNC\",\"SWEE_02503030_MASS_LABEL_MAINTENANCE_FUNC\",\"SWEE_02503030_LABEL_PRINTING_FUNC\",\"SWEE_02503030_ITEM_CHECK_FUNC\",\"SWEE_02503030_DEACTIVATE_ITEM_FUNC\",\"Mobile_Inventory\",\"SWEE_02303030_INVENTORY_PREDEFINED_FUNC\",\"SWEE_02303030_INVENTORY_PRECOUNTING_FUNC\",\"SWEE_02303030_INVENTORY_FREE_FUNC\",\"Mobile_GoodsReceipt\",\"SWEE_02253030_RETURNS_FUNC\",\"SWEE_02253030_COMPLAINTS_FUNC\",\"SWEE_02213030_GOODSRECEIPT_ROUGH_FUNC\",\"SWEE_02213030_GOODSRECEIPT_EXACT_FUNC\",\"Mobile_GoodsMovement\",\"SWEE_02313030_STOCK_CHECK_FUNC\",\"SWEE_02313030_SINGLE_CHECK_FUNC\",\"SWEE_02103030_REBOOKING_FUNC\",\"Mobile_WriteOff\",\"SWEE_02103030_WRITEOFF_FUNC\",\"SWEE_02103030_WRITEOFF_CORRECTION_FUNC\",\"S.050003\",\"S.055003\",\"S.05500300005.00\",\"S.05500300004.00\",\"S.05500300003.00\",\"S.05500300002.00\",\"S.05500300001.00\",\"S.054003\",\"S.05400300004.00\",\"S.05400300003.00\",\"S.05400300002.00\",\"S.05400300001.00\",\"S.053103\",\"S.05310300002.00\",\"S.05310300001.00\",\"S.053003\",\"S.05300300003.00\",\"S.05300300002.00\",\"S.05300300001.00\",\"S.052503\",\"S.05250300002.00\",\"S.05250300001.00\",\"S.052103\",\"S.05210300002.00\",\"S.05210300001.00\",\"S.051003\",\"S.05150300002.00\",\"S.05100300001\",\"S.05100300001.02\",\"S.05100300001.01\",\"S.05000302\",\"S.05000302101.00\",\"S.05000302004.00\",\"S.05000302003.00\",\"S.05000302002.00\",\"S.05000302001.00\",\"S.05000301\",\"S.05000301003.00\",\"S.05000301002.00\",\"S.05000301001.00\",\"S.05000301001.02\",\"S.05000301001.01\",\"S.050004\",\"S.055004\",\"S.05500400005.00\",\"S.05500400004.00\",\"S.05500400003.00\",\"S.05500400002.00\",\"S.05500400001.00\",\"S.054004\",\"S.05400400004.00\",\"S.05400400003.00\",\"S.05400400002.00\",\"S.05400400001.00\",\"S.053104\",\"S.05310400002.00\",\"S.05310400001.00\",\"S.053004\",\"S.05300400003.00\",\"S.05300400002.00\",\"S.05300400001.00\",\"S.052504\",\"S.05250400002.00\",\"S.05250400001.00\",\"S.052104\",\"S.05210400002.00\",\"S.05210400001.00\",\"S.051004\",\"S.05150400002.00\",\"S.05100400001\",\"S.05100400001.02\",\"S.05100400001.01\",\"S.05000402\",\"S.05000402004.00\",\"S.05000402003.00\",\"S.05000402002.00\",\"S.05000402001.00\",\"S.05000401\",\"S.05000401003.00\",\"S.05000401002.00\",\"S.05000401001.00\",\"S.05000401001.02\",\"S.05000401001.01\",\"S.050005\",\"S.055005\",\"S.05500500006.00\",\"S.05500500005.00\",\"S.05500500004.00\",\"S.05500500003.00\",\"S.05500500002.00\",\"S.05500500001.00\",\"S.054005\",\"S.05400500004.00\",\"S.05400500003.00\",\"S.05400500002.00\",\"S.05400500001.00\",\"S.053105\",\"S.05310500002.00\",\"S.05310500001.00\",\"S.053005\",\"S.05300500003.00\",\"S.05300500002.00\",\"S.05300500001.00\",\"S.052105\",\"S.05210500004.00\",\"S.05210500003.00\",\"S.05210500002.00\",\"S.05210500001.00\",\"S.051505\",\"S.05150500006.00\",\"S.05150500005.00\",\"S.05150500004.00\",\"S.05150500002.00\",\"S.05150500001.00\",\"S.051005\",\"S.05100500002\",\"S.05100500002.01\",\"S.05100500001\",\"S.05100500001.02\",\"S.05100500001.01\",\"S.05000502\",\"S.05000502007.00\",\"S.05000502006.00\",\"S.05000502005.00\",\"S.05000502002.00\",\"S.05000501\",\"S.05000501002.00\",\"S.05000501001.00\",\"S.05000501001.02\",\"S.05000501001.01\",\"Web_CPD\",\"cpd_function\",\"CPD_RES_TEMPLATE_DUPLICATE\",\"CPD_RES_TEMPLATE_DELETE\",\"CPD_RES_PROMOTION_REVERT\",\"CPD_RES_PROMOTION_EXPORT\",\"CPD_RES_PROMOTION_EDIT\",\"CPD_RES_PROMOTION_DUPLICATE\",\"CPD_RES_PROMOTION_DETAIL_REPORT\",\"CPD_RES_PROMOTION_DELETE_NODE\",\"CPD_RES_PROMOTION_DELETE\",\"CPD_RES_PROMOTION_DEACTIVATE\",\"CPD_RES_PROMOTION_ACTIVATE_ALL\",\"CPD_RES_PROMOTION_ACTIVATE\",\"CPD_RES_CREATE_RULE_SIMPLE\",\"CPD_RES_CREATE_RULE_SET\",\"CPD_RES_CREATE_RULE_NO_REBATE\",\"CPD_RES_CREATE_RULE_NFORM\",\"CPD_RES_CREATE_RULE_MIXANDMATCH\",\"CPD_RES_CREATE_RULE_MANUAL_REBATE\",\"CPD_RES_CREATE_RULE_EXTERNAL_ACTION\",\"CPD_RES_CREATE_RULE_BONUSPOINTS\",\"CPD_RES_CREATE_RULE_ADDI_PRICE_TYPE\",\"CPD_RES_CREATE_RULE_ADDI_BONUS\",\"CPD_RES_CREATE_REBATE_SETPRICE\",\"CPD_RES_CREATE_REBATE_NFORM\",\"CPD_RES_CREATE_REBATE_MRHRC\",\"CPD_RES_CREATE_REBATE_CUSTOM\",\"CPD_RES_CREATE_REBATE_ARTICLE\",\"CPD_RES_CREATE_MERCH_SET\",\"CPD_RES_CREATE_ELIG_SIMPLE_THRESHOLD\",\"CPD_RES_CREATE_ELIG_POSITIONTYPE\",\"CPD_RES_CREATE_ELIG_MRHRC\",\"CPD_RES_CREATE_ELIG_MARKETBASKET\",\"CPD_RES_CREATE_ELIG_MANUAL_TRIGGER\",\"CPD_RES_CREATE_ELIG_ITEM\",\"CPD_RES_CREATE_ELIG_GENERIC_ATTRIBUTE\",\"CPD_RES_CREATE_ELIG_EMPLOYEEGROUP\",\"CPD_RES_CREATE_ELIG_CUSTOMERGROUP\",\"CPD_RES_CREATE_ELIG_CUSTOMER\",\"CPD_RES_CREATE_ELIG_COUPON\",\"CPD_RES_CREATE_ELIG_COMBINATION\",\"CPD_RES_CREATE_ELIG_ADDITIONAL_PRICETYPE\",\"CPD_RES_ASSIGN_ALL_STORES\",\"CPD_FUNC_VERSION_INFO\",\"CPD_FUNC_SYSTEM_EVENTLOG\",\"CPD_FUNC_STATISTICS\",\"CPD_FUNC_SEARCH_TEMPLATE\",\"CPD_FUNC_SEARCH_BY_CRITERIA\",\"CPD_FUNC_REPORT_PROMOTION_DETAILS\",\"CPD_FUNC_REPORT_ACTIVE_PROMO\",\"CPD_FUNC_REPORT\",\"CPD_FUNC_RELOAD_STORES\",\"CPD_FUNC_DATA_IMPORT\",\"CPD_FUNC_CREATE_TEMPLATE\",\"CPD_FUNC_CREATE_PROMOTION\",\"CPD_FUNC_COUNTRY_REPORT\",\"Web_Functions\",\"dashboard\",\"dashboard-stockcheck\",\"dashboard-purchase-order\",\"dashboard-price-revaluation\",\"dashboard-picking\",\"dashboard-inventory-predefined\",\"dashboard-inventory\",\"dashboard-goods-receipt-specific\",\"dashboard-goods-receipt\",\"dashboard-goods-movement-writeoff\",\"dashboard-goods-movement-stocktransfer\",\"dashboard-goods-movement-rebooking\",\"dashboard-goods-movement\",\"dashboard-goods-issue-return\",\"dashboard-goods-issue-complaint\",\"dashboard-goods-issue\",\"S.05000100007.00\",\"Web_StoreDeviceControl\",\"worker-maintenance-overview\",\"worker-maintenance-new\",\"supplier-viewer-overview\",\"supplier-maintenance-overview\",\"supplier-maintenance-new\",\"scale-tx-overview\",\"mhg-maintenance-overview\",\"mhg-maintenance-new\",\"masterdata-till-search\",\"masterdata-tender-rule-maintenance\",\"masterdata-tender-maintenance\",\"masterdata-sales-restrictions-maintenance\",\"masterdata-related-item-association\",\"masterdata-reason-maintenance\",\"masterdata-reason-group-maintenance\",\"item-viewer-overview\",\"generic-attribute-maintenance\",\"masterdata-item-maintenance\",\"masterdata-item-maintenance-variant\",\"masterdata-item-maintenance-text\",\"masterdata-item-maintenance-supplier\",\"masterdata-item-maintenance-subtype\",\"masterdata-item-maintenance-shelf\",\"masterdata-item-maintenance-selling-rules\",\"masterdata-item-maintenance-sales-restrictions\",\"masterdata-item-maintenance-prices\",\"masterdata-item-maintenance-packagings\",\"masterdata-item-maintenance-packaging-new\",\"masterdata-item-maintenance-package\",\"masterdata-item-maintenance-new\",\"masterdata-item-maintenance-mm-rules\",\"masterdata-item-maintenance-item-variant-matrix\",\"masterdata-item-maintenance-ingredient\",\"masterdata-item-maintenance-image\",\"masterdata-item-maintenance-identifier\",\"masterdata-item-maintenance-hierarchy\",\"masterdata-item-maintenance-deposit\",\"masterdata-item-maintenance-control-point\",\"masterdata-item-maintenance-collection\",\"masterdata-item-maintenance-characteristic\",\"masterdata-item-maintenance-base\",\"masterdata-item-maintenance-additional-information\",\"masterdata-hospitality-extra-maintenance\",\"masterdata-hospitality-component-maintenance-overview\",\"masterdata-hospitality-component-maintenance-new\",\"masterdata-hospitality-combo-meal-maintenance\",\"masterdata-exchange-rate-maintenance\",\"masterdata-customer-maintenance\",\"masterdata-characteristic-maintenance\",\"drawer-maintenance-overview\",\"drawer-maintenance-new\",\"customer-maintenance-overview\",\"customer-maintenance-new\",\"Web_SIS\",\"stat-sales-overview\",\"sis-stock-overview-in-storage-location\",\"sis-stock-overview\",\"sis-stock-info-overview\",\"sis-booking-overview\",\"Web_LabelPrinting\",\"printrequest-overview\",\"printlists-overview\",\"printjobs-overview\",\"print-job-queue\",\"notprintedprintjobs-overview\",\"manualprintrequest-overview\",\"lps-item-history-overview\",\"eslassignment-overview\",\"esl-overview\",\"displayrequest-overview\",\"dashboard-lps\",\"Web_EditorCustomization\",\"dsg-media-panel-editor\",\"dsg-content-upload\",\"dsg-content-selection\",\"S.050006\",\"Web_StockTransfer\",\"stocktransferoutgoing-new\",\"stocktransferincoming-new\",\"stocktransfer-overview\",\"Web_StockCheck\",\"stockcheck-overview\",\"openstockcheck-new\",\"Web_PurchaseOrder\",\"supplierorder-new\",\"registeredorder-overview\",\"exceptionorder-new\",\"directorder-new\",\"autoorder-new\",\"Web_PriceRevaluation\",\"pricerevaluation-overview\",\"pricerevaluation-new\",\"Web_Picking\",\"giftbasket-overview\",\"giftbasket-new\",\"customerpickingsales-new\",\"customerpickingreturn-new\",\"customerpicking-overview\",\"Web_Inventory_ServiceProvider\",\"providemasterdata\",\"Web_Inventory_Registration\",\"registrationinventorypredefined-overview\",\"registrationinventorypredefined-new\",\"registrationinventoryfree-overview\",\"registrationinventoryfree-new\",\"Web_Inventory_Preregistration\",\"registrationinventoryprecounting-overview\",\"registrationinventoryprecounting-new\",\"Web_Inventory_Preparation\",\"scalemarkdown\",\"openinventorypredefined-overview\",\"openinventoryfree-overview\",\"openinventory-new\",\"countingarea-new\",\"Web_Inventory_Check\",\"unknownitemspredefined-overview\",\"unknownitemsfree-overview\",\"registeredcountingareasfree-overview\",\"posdepartmentpredefined-overview\",\"posdepartmentfree-overview\",\"plausibilitycheckpredefined-overview\",\"plausibilitycheckfree-overview\",\"notregistereditemspredefined-overview\",\"notregistereditemsfree-overview\",\"multipleshelfplacingpredefined-overview\",\"multipleshelfplacingfree-overview\",\"merchandisehierarchygrouppredefined-overview\",\"merchandisehierarchygroupfree-overview\",\"itemswithoutstockpredefined-overview\",\"itemswithoutstockfree-overview\",\"differencelistpredefined-overview\",\"differencelistfree-overview\",\"countingareaprogresspredefined-overview\",\"countingareaprogressfree-overview\",\"Web_GoodsReceipt\",\"goodsreceipt2step-overview-rgr_registered\",\"goodsreceipt2step-overview-registered\",\"goodsreceipt2step-overview-expected\",\"goodsreceipt2step-overview-archive\",\"goodsreceipt2step-overview\",\"goodsreceipt2step-new\",\"Web_GoodsMovement\",\"writeoffcorrection\",\"writeoff-overview\",\"writeoff-new\",\"swee_rebookingnew\",\"rebooking-overview\",\"rebooking-new\",\"Web_GoodsIssue\",\"returnswithoutreference-new\",\"returns-overview\",\"returns-new\",\"complaints-overview\",\"complaints-new\",\"S.054006\",\"S.05400600001.01\",\"S.05400600001.00\",\"S.053106\",\"S.05310600002.02\",\"S.05310600002.01\",\"S.05310600002.00\",\"S.05310600001.03\",\"S.05310600001.02\",\"S.05310600001.01\",\"S.05310600001.00\",\"S.053006\",\"rs:service:stock-taking:preliminary\",\"rs:service:stock-taking:counting-area\",\"rs:service:stock-taking:common\",\"S.05300600015.00\",\"S.05300600014.03\",\"S.05300600014.02\",\"S.05300600014.01\",\"S.05300600014.00\",\"S.05300600013.04\",\"S.05300600013.03\",\"S.05300600013.02\",\"S.05300600013.01\",\"S.05300600013.00\",\"S.05300600012.00\",\"S.05300600011.00\",\"S.05300600010.00\",\"S.05300600009.00\",\"S.05300600008.00\",\"S.05300600007.00\",\"S.05300600006.00\",\"S.05300600005.00\",\"S.05300600004.00\",\"S.05300600003.00\",\"S.05300600002.01\",\"S.05300600002.00\",\"S.05300600001.04\",\"S.05300600001.03\",\"S.05300600001.02\",\"S.05300600001.01\",\"S.05300600001.00\",\"S.052106\",\"S.05210600002.01\",\"S.05210600002.00\",\"S.051006\",\"S.05100600019.00\",\"S.05100600018.00\",\"S.05100600017.00\",\"S.05100600016.00\",\"S.05100600015.00\",\"S.05100600014.03\",\"S.05100600014.02\",\"S.05100600014.01\",\"S.05100600014.00\",\"S.05000600002.00\",\"S.05000600001.00\",\"In_Store_Operations_Parent_UI5\",\"S.05700700005.00\",\"S.05700700004.00\",\"S.05700700003.00\",\"S.05700700002.00\",\"S.05700700001.00\",\"Web_Functions_Advanced\",\"Web_StoreDeviceControl_Advanced\",\"rs:rest:master-data:v1:worker-reports\",\"rs:rest:master-data:v1:supplier-reports\",\"mhg-maintenance-new-tree\",\"masterdata-tender-rule-maintenance-global\",\"masterdata-tender-maintenance-global\",\"masterdata-tender-maintenance-admin\",\"masterdata-reason-maintenance-global\",\"masterdata-reason-group-maintenance-global\",\"masterdata-new-store-maintenance\",\"masterdata-item-maintenance-global\",\"masterdata-exchange-rate-maintenance-global\",\"masterdata-customer-maintenance-global\",\"master-data-import\",\"customer-maintenance-overview-global\",\"Web_Service\",\"transport-object-viewer\",\"task-monitoring-overview\",\"system-performance-monitoring\",\"solman-incident\",\"performance-monitoring-dashboard\",\"job-trigger-function\",\"job-process-monitoring-overview\",\"hc-theme-switcher\",\"gft-store-overview\",\"gft-monitoring-overview\",\"gft-group-overview\",\"gft-configuration-overview\",\"lock-monitoring-overview\",\"device-registry-overview\",\"device-registry-enterprise-overview\",\"data-router-recipient-maintenance\",\"cluster-monitoring-overview\",\"cluster-app-info\",\"S.01190200002.00\",\"Web_POSClientInstallation\",\"workstation-management\",\"utpos-installation\",\"translationPackage-upload\",\"template-upload\",\"structure-selection\",\"store-maintenance\",\"store-hub-status-update\",\"store-hub-installation\",\"store-creation-init\",\"softwarePackage-upload\",\"sim-installation\",\"receipt-header-editor\",\"receipt-footer-editor\",\"receipt-editors-image-upload\",\"pump_download\",\"opos-status-update\",\"opos-softwarePackage-upload\",\"opos-installation\",\"mpos-installation\",\"flow-service-status-update\",\"flow-service-installation\",\"lpa-status-update\",\"lpa-installation\",\"edge-server-status-update\",\"edge-server-softwarePackage-upload\",\"edge-server-installation\",\"drive-service-status-update\",\"drive-service-installation\",\"config_service_monitor\",\"config_db_monitor\",\"client_onboarding_token_generation\",\"business_unit_groups\",\"billing-support\",\"addon-packs-upload\",\"addon-packs-status\",\"addon-packs-assignment\",\"Web_UserManagement\",\"rs:rest:user-management:v1:user-reports\",\"role-overview\",\"realm-overview\",\"password-policy-overview\",\"Web_User_Maintenance\",\"user-maintenance-overview\",\"user-maintenance-new\",\"Web_ZDU\",\"landscape-maintenance\",\"store-assignment-landscape-maintenance\",\"command-channel-overview\",\"rs:ui-service:command-channel:command:execute-javascript\"],\"businessUnit\":{\"key\":{\"businessUnitID\":\"1000\",\"businessUnitGroupID\":\"100000000000000062\"},\"externalBusinessUnitID\":\"1000\",\"parentBusinessUnitGroupID\":\"1\",\"parentExternalBusinessUnitGroupID\":\"GLOBAL\",\"businessUnitGroupLevelID\":\"1\",\"externalBusinessUnitGroupLevelID\":\"STORE\",\"vatRegistrationNumber\":\"NIT 802.014.?278-0\",\"isoCountryCode\":\"CO\",\"timeZoneCode\":\"UTC-5\",\"timeZoneLongID\":\"Etc/GMT+5\",\"languageID\":\"es_CO\",\"name\":\"Redsis S.A.S\",\"surrogateName\":\"Tienda Prueba 111\",\"regionFlag\":false,\"independentRetailerFlag\":false,\"gkSystemFlag\":false,\"mainCurrencyID\":\"COP\",\"exportToGfkFlag\":false,\"size\":0.0,\"sellingAreaSize\":0.0,\"includesSalesTaxFlag\":true,\"purchasingOrganization\":\"9090\",\"receiverLocationList\":[],\"bankAccountList\":[],\"partyID\":\"100000000000000195\",\"party\":{\"key\":{\"partyID\":\"100000000000000195\",\"businessUnitGroupID\":\"100000000000000062\"},\"partyTypeCode\":\"01\",\"partyRoleAssignmentList\":[{\"key\":{\"partyID\":\"100000000000000195\",\"businessUnitGroupID\":\"100000000000000062\",\"partyRoleTypeCode\":\"RSTORE\",\"sequenceNumber\":1}}],\"partyIdentificationList\":[]},\"contact\":{\"key\":{\"businessUnitGroupID\":\"100000000000000062\",\"partyID\":\"100000000000000195\",\"partyRoleTypeCode\":\"RSTORE\",\"sequenceNumber\":1},\"addressList\":[{\"key\":{\"contactPurposeTypeCode\":\"DEFAULT\",\"contactMethodTypeCode\":\"WORK\"},\"city\":\"Barranquilla\",\"isoCountryCode\":\"CO\",\"marketingAllowedFlag\":false}]},\"businessUnitStatusCode\":\"ENABLED\"},\"businessUnitGroup\":{\"key\":{\"businessUnitGroupID\":\"100000000000000062\"},\"languageID\":\"es_CO\",\"name\":\"Redsis S.A.S\",\"externalBusinessUnitGroupID\":\"1000\",\"businessUnitGroupFunctionID\":\"0\",\"businessUnitGroupLevelID\":\"1\",\"businessUnitGroupDepth\":1},\"dataPrivacyEnabled\":true}", + "StatusCode": "OK", + "IsSuccessStatusCode": true, + "IsSuccessful": true, + "StatusDescription": "", + "RawBytes": "7B227072696D617279456E747279223A... (27473 bytes)", + "ResponseUri": "https://10.10.117.10:8443/smartpos-service/tenants/001/services/com.gk_software.pos.api.service.session.PosSessionService/login", + "Server": "", + "Cookies": [ + { + "Comment": "", + "CommentUri": null, + "HttpOnly": true, + "Discard": false, + "Domain": "10.10.117.10", + "Expired": false, + "Expires": "0001-01-01T00:00:00.0000000", + "Name": "JSESSIONID", + "Path": "/smartpos-service", + "Port": "", + "Secure": true, + "TimeStamp": "2023-08-03T09:48:40.1615831-05:00", + "Value": "E20CE8E6638EAAF5DA1BCD020D3ADDE5", + "Version": 0, + "$type": "Cookie" + } + ], + "Headers": [ + { + "Name": "Set-Cookie", + "Value": "JSESSIONID=E20CE8E6638EAAF5DA1BCD020D3ADDE5; Path=/smartpos-service; Secure; HttpOnly", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "_pos_session_", + "Value": "189bbe0c0d11700636a24657aac0378c3.1004", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Access-Control-Allow-Headers", + "Value": "_pos_session_, Authorization, Authentication, Origin, Content-Type, X-Requested-With, SOAPAction, Accept, Cache-Control, Pragma, Expires, If-Modified-Since, Access-Control-Request-Method, Access-Control-Request-Headers", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Access-Control-Allow-Methods", + "Value": "POST, GET, OPTIONS, DELETE, PUT", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Access-Control-Allow-Origin", + "Value": "*", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Access-Control-Expose-Headers", + "Value": "_pos_session_", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Access-Control-Max-Age", + "Value": "1728000", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Date", + "Value": "Thu, 03 Aug 2023 14:50:16 GMT", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Transfer-Encoding", + "Value": "chunked", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + } + ], + "ContentHeaders": [ + { + "Name": "Content-Type", + "Value": "application/json; format=GK-PLAIN-JSON", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + }, + { + "Name": "Content-Length", + "Value": "27473", + "Type": "HttpHeader", + "Encode": false, + "ContentType": { + "Value": "text/plain", + "AsMediaTypeHeaderValue": { + "CharSet": null, + "Parameters": [], + "MediaType": "text/plain", + "$type": "MediaTypeHeaderValue" + }, + "$type": "ContentType" + }, + "$type": "HeaderParameter" + } + ], + "ResponseStatus": "Completed", + "ErrorMessage": null, + "ErrorException": null, + "Version": { + "Major": 1, + "Minor": 1, + "Build": -1, + "Revision": -1, + "MajorRevision": -1, + "MinorRevision": -1, + "$type": "Version" + }, + "RootElement": null, + "$type": "RestResponse" +} \ No newline at end of file diff --git a/gatewayGKManualTest/Program.cs b/gatewayGKManualTest/Program.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7c006541fa86f97e8a761daf949a3960df80692 --- /dev/null +++ b/gatewayGKManualTest/Program.cs @@ -0,0 +1,169 @@ +using System.Diagnostics; +using System.Text; +using Serilog; +using GatewaySCO; +using gatewayGK.ComandosGk; +using SCOGateway.POSGk; +using EvaPosSrvDTO; +using EvaPOS_API_FRAME.DTO; +using EvaPOS_API_FRAME.RespuestasXML; +using EvaPosSrvResp; + +namespace pruebas +{ + public class Program + { + static void Main(string[] args) + { + // Instancia Serilog según parámetros en archivo de configuración. + Log.Logger = new LoggerConfiguration() + .MinimumLevel.Verbose() + .WriteTo.File("./logs/log-.txt", rollingInterval: RollingInterval.Day) + .WriteTo.Console() + .CreateLogger(); + + Log.Information("*** Inicio pruebas GatewayGK ***"); + Program p = new Program(); + p.Inicia(args); + p.Ejecutar(); + } + + public void Ejecutar() + { + Respuestas? resp = null; + + Login(); + + resp = AddItemCodbar(7703100270009); // Cheerios + Log.Debug(RespuestasTextoAddItem(resp)); + + resp = AddItemCodbar(7123456000677); // Desodorante Spray + Log.Debug(RespuestasTextoAddItem(resp)); + + // resp = AddItemCodbar(7500110000035); // Vino blanco casa madero + // Log.Debug(RespuestasTextoAddItem(resp)); + + // resp = AddItemCodbar(7500110000042); // Vino blanco de bla + // Log.Debug(RespuestasTextoAddItem(resp)); + + resp = AddItemCodbar(4005800095498); // Galletas Oreo + Log.Debug(RespuestasTextoAddItem(resp)); + + resp = AddItemCodbar(7703100280008); // yogurt + Log.Debug(RespuestasTextoAddItem(resp)); + + // resp = AddItemCodbar(7703101570009); // Apple + // Log.Debug(RespuestasTextoAddItem(resp)); + + // resp = AddItemCodbar(7703118330009); // Toothbrush + // Log.Debug(RespuestasTextoAddItem(resp)); + + // resp = AddItemCodbar(7703111560007); // Wrapping Paper + // Log.Debug(RespuestasTextoAddItem(resp)); + + // resp = AddItemCodbar(7700000000000); // no existe + // Log.Debug(RespuestasTextoAddItem(resp)); + + resp = Subtotal(); + + Logout(); + } + + string RespuestasTextoAddItem(Respuestas resp) + { + StringBuilder str = new StringBuilder(); + foreach (var r in resp) + { + if (r is AddItemResponseError) + { + str.Append(((AddItemResponseError)r).ToString() + '\n'); + } + else if (r is TransactionStatusEvent) + { + str.Append(((TransactionStatusEvent)r).ToString() + '\n'); + } + else + { + str.Append(r.ToString() + '\n'); + } + + } + return str.ToString(); + } + + public void Inicia(string[] args) + { + var p = new GatewaySCO.Program(); + // Esto inicializa el entorno. + var config = p.LeeConfiguracion(args); + Log.Debug("config {contig}", config); + } + + public void Login() + { + Log.Debug("-- Login"); + var request = new InitializeRequestDTO(0, new TipoMensaje()); + request.TerminalNumber = 1; + request.OperatorID = ""; + request.Recovery = false; + + var cmd = new InitializeRequestCmdGk(); + cmd.CargaDTO(request); + cmd.Ejecutar(); + + // Ejecutado el comando, el entorno debe estar inicializado con el id de sesión GK. + string sessionId = Entorno.Instancia.get().posSessionId; + Log.Debug("-- sessionId {sessionId}", sessionId); + Debug.Assert(sessionId.Length > 0); + } + + public Respuestas AddItemCodbar(long codbarItem) + { + Log.Debug($"-- AddItem {codbarItem}"); + + var request = new AddItemRequestDTO(0, new TipoMensaje()); + var barcode = new BarCode(); + barcode.ScanDataLabel = codbarItem; + barcode.ScanDataType = null; // TODO cuel es este? + var itemIdentifier = new ItemIdentifier(); + itemIdentifier.Quantity = 1; + itemIdentifier.VoidFlag = false; + itemIdentifier.ScaleWeight = 0; + itemIdentifier.BarCode = barcode; + itemIdentifier.KeyedItemID = 0; + request.ItemIdentifier = itemIdentifier; + + var cmd = new AddItemRequestCmdGk3(); + cmd.CargaDTO(request); + Respuestas resps = cmd.Ejecutar(); + return resps; + } + + public Respuestas Subtotal() + { + Log.Debug($"-- SubtotalCalculation"); + var request = new AddItemRequestDTO(0, new TipoMensaje()); + var cmd = new SubtotalCalculationCmdGk(); + + cmd.CargaDTO(request); + Respuestas resps = cmd.Ejecutar(); + return resps; + } + + public void Logout() + { + Log.Debug("-- Logout"); + var request = new TerminateRequestDTO(0, new TipoMensaje()); + request.DestroySession = true; + + var cmd = new TerminateRequestCmdGk(); + cmd.CargaDTO(request); + cmd.Ejecutar(); + + // Ejecutado el comando, el entorno debe tener el sessionId vacio. + string sessionId = Entorno.Instancia.get().posSessionId; + Log.Debug("-- sessionId {sessionId}", sessionId); + Debug.Assert(sessionId == "", "sessionId no tiene valor vacío ''."); + } + } +} \ No newline at end of file diff --git a/gatewayGKManualTest/PruebaJsonSubtotal.cs b/gatewayGKManualTest/PruebaJsonSubtotal.cs new file mode 100644 index 0000000000000000000000000000000000000000..d2e29a5f4fee76b8884a8b6d4e40b920e56c5a30 --- /dev/null +++ b/gatewayGKManualTest/PruebaJsonSubtotal.cs @@ -0,0 +1,81 @@ +using System.Diagnostics; +using System.Text; +using Serilog; +using GatewaySCO; +using gatewayGK.ComandosGk; +using SCOGateway.POSGk; +using EvaPosSrvDTO; +using EvaPOS_API_FRAME.DTO; +using EvaPOS_API_FRAME.RespuestasXML; +using EvaPosSrvResp; +using Newtonsoft.Json; +using IO.Swagger.Model; +using static IO.Swagger.Model.ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig; + +namespace pruebas +{ + public class DatosBody + { + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig dato; + } + + public class PruebaJsonSubtotal + { + static void Main(string[] args) + { + // Instancia Serilog según parámetros en archivo de configuración. + Log.Logger = new LoggerConfiguration() + .MinimumLevel.Verbose() + .WriteTo.File("./logs/log-.txt", rollingInterval: RollingInterval.Day) + .WriteTo.Console() + .CreateLogger(); + + Log.Information("*** Inicio pruebas PruebaJsonSubtotal ***"); + PruebaJsonSubtotal p = new(); + p.Ejecutar(); + } + + public void Ejecutar() + { + + ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig configReq = new( + false, //(bool? forceQuantityInput = default(bool?) + 1000000000, //double? pricePositionLimit = default(double?) + true, //bool? pricePositionZeroAllowed = default(bool?) + -1.0, // double? priceTransactionLimit = default(double?) + 100.0, //priceDifferencePercentPositionLimit = default(double?) + 99999999.0, // priceDifferenceAbsolutePositionLimit = default(double?) + PriceDifferenceLimitExceedActionEnum.Authorize, //priceDifferenceLimitExceedAction = default(PriceDifferenceLimitExceedActionEnum) + PriceNegDifferenceLimitExceedActionEnum.Unchecked, // PriceNegDifferenceLimitExceedActionEnum priceNegDifferenceLimitExceedAction = default(PriceNegDifferenceLimitExceedActionEnum), + CloseCurrentEnum.Disabled, // CloseCurrentEnum closeCurrent = default(CloseCurrentEnum), + ClosePreviousEnum.Required, // ClosePreviousEnum closePrevious = default(ClosePreviousEnum), + false, // bool? filterResult = default(bool?), + false, // bool? allowedWithWeight = default(bool?), + false, // bool? allowedWithLength = default(bool?), + false, // bool? allowedWithArea = default(bool?), + false, // bool? allowedWithVolume = default(bool?), + false, // bool? allowedWithMeasure = default(bool?), + 99999, // int? maximumQuantity = default(int?), + 1, // int? minimumQuantity = default(int?), + QuantityInputOrderEnum.BeforeOrAfter, // QuantityInputOrderEnum quantityInputOrder = default(QuantityInputOrderEnum), + PriceInputOrderEnum.BeforeOrAfter, // PriceInputOrderEnum priceInputOrder = default(PriceInputOrderEnum), + QuantityLimitExceedActionEnum.Forbid, // QuantityLimitExceedActionEnum quantityLimitExceedAction = default(QuantityLimitExceedActionEnum), + AmountLimitExceedActionEnum.Forbid, // AmountLimitExceedActionEnum amountLimitExceedAction = default(AmountLimitExceedActionEnum), + 0.0, // double? weightUnitFactor = default(double?), + 0.0, // double? measureUnitFactor = default(double?), + PriceDeviationTypeEnum.All, // PriceDeviationTypeEnum priceDeviationType = default(PriceDeviationTypeEnum) + PriceNegDeviationTypeEnum.All, // PriceNegDeviationTypeEnum priceNegDeviationType = default(PriceNegDeviationTypeEnum), + "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""); + + string jsonReq = JsonConvert.SerializeObject(configReq); + + string body = $"{{ \"com.gk_software.pos.api.model.config.process.action.PositionOperationConfig\": {jsonReq} }}"; + + + + Log.Information("json subtotal: {jsonReq}", body); + + } + } + +} diff --git a/gatewayGKManualTest/gatewayGKManualTest.csproj b/gatewayGKManualTest/gatewayGKManualTest.csproj new file mode 100644 index 0000000000000000000000000000000000000000..57af1d8ad852547264f0475a6f7060e14cb96d23 --- /dev/null +++ b/gatewayGKManualTest/gatewayGKManualTest.csproj @@ -0,0 +1,23 @@ + + + + Exe + net7.0 + enable + enable + pruebas.Program + 1 + 8618,8604,8767,8765,8625,0472,0034,8600,8602 + + + + + + + + + + + + + diff --git a/gatewayGKManualTest/pruebas/Items Smartpos.xlsx b/gatewayGKManualTest/pruebas/Items Smartpos.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..10510706c7a67b48f3bd5b87e2696412ad6e1a95 Binary files /dev/null and b/gatewayGKManualTest/pruebas/Items Smartpos.xlsx differ diff --git a/gatewayGKManualTest/pruebas/addItem-error indice.json b/gatewayGKManualTest/pruebas/addItem-error indice.json new file mode 100644 index 0000000000000000000000000000000000000000..9becebedda070e04236def3a741b375242c8eec9 --- /dev/null +++ b/gatewayGKManualTest/pruebas/addItem-error indice.json @@ -0,0 +1,141 @@ +{ + "primaryEntry": { + "transaction": { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80" + }, + "operatorID": "1004", + "workstationID": "103", + "businessUnitID": "1000", + "businessDayDate": "2023-08-06T00:00:00.000", + "sequenceNumber": 13, + "transactionTypeCode": "RTLTRN", + "beginDateTimestamp": "2023-08-06T20:39:12.822", + "cancelledFlag": false, + "suspendedFlag": false, + "trainingFlag": false, + "keyedOfflineFlag": "BO", + "workerID": "1004", + "workerFirstName": "Adam", + "workerLastName": "Administrator", + "internalSequenceNumber": 12, + "fiscalFlag": false, + "beginDateTimestampUTC0": "2023-08-06T20:39:12.822-0500", + "transactionCategoryList": [], + "transactionExtensionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "extensionKey": "WORKSTATION_TYPE_CODE", + "extensionSequenceNumber": 0 + }, + "extensionValue": "MOB" + } + ], + "endWorkstationID": "103", + "isocurrencyCode": "COP", + "retailTransactionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80" + }, + "retailTransactionTypeCode": "SA", + "tillID": "103", + "receiptDateTime": "2023-08-06T20:39:12.822", + "receiptPrintoutFlag": false, + "promotionTimestamp": "2023-08-06T20:39:12.822", + "retailTransactionLineItemList": [], + "retailTransactionTotalList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "TOTAL" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "SUBTOTAL" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "SUBTOTAL_DISCOUNT" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "TOTAL_TIP" + }, + "amount": 0.0 + } + ], + "retailTransactionCouponSummaryList": [], + "retailTransactionManufacturerCouponSummaryList": [], + "emailRequestedFlag": false, + "receiptDateTimeUTC0": "2023-08-06T20:39:12.822-0500", + "promotionTimestampUTC0": "2023-08-06T20:39:12.822-0500" + } + ] + }, + "addedOrModifiedLineItems": [], + "deletedLineItems": [], + "closedLineItems": [], + "promotionInputRequests": [], + "addedOrModifiedTransactionExtensions": [], + "addedTransactionAdditionalPrintouts": [], + "addedPriceDerivationRules": [], + "addedOrModifiedSaleReturnLineItemPrices": [], + "deletedTransactionAdditionalPrintouts": [] + }, + "additionalEntries": [], + "filtered": true, + "failure": { + "errorCode": "GKR-POS-003031", + "errorMessage": "Position limit exceeded - Price too high!", + "messageKey": "com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_PRICE_POSITION_LIMIT_EXCEEDED", + "arguments": [] + }, + "statusOk": false, + "mainPOSItemId": "7703118330009", + "posItemId": "7703118330009", + "itemId": "3700011765", + "itemName": "Toothbrush", + "itemDescription": "Toothbrush", + "forcePriceInput": false, + "forceQuantityInput": false, + "priceInputSignal": false, + "quantityInputSignal": false, + "promotionTriggerSignal": false, + "salesRestrictions": [], + "salesRestrictionList": [], + "prepaidItem": false, + "hasLinkedItems": false, + "forceReturnReasonInput": false, + "forceSerialNumberInput": false, + "variantItemsAvailable": false, + "emptiesReturn": false, + "accumulateExistingQuantity": false, + "price": 0.0, + "itemKey": { + "businessUnitGroupID": 100000000000000062, + "itemID": "3700011765", + "uomCode": "PCE" + }, + "usedBarcode": "7703118330009", + "discountIconList": [], + "hasInvalidQuantity": false, + "comboMealItem": false +} \ No newline at end of file diff --git a/gatewayGKManualTest/pruebas/addItem-ok.json b/gatewayGKManualTest/pruebas/addItem-ok.json new file mode 100644 index 0000000000000000000000000000000000000000..c40a008fd28698043245e52aea2da1a484cae322 --- /dev/null +++ b/gatewayGKManualTest/pruebas/addItem-ok.json @@ -0,0 +1,250 @@ +{ + "primaryEntry": { + "transaction": { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80" + }, + "operatorID": "1004", + "workstationID": "103", + "businessUnitID": "1000", + "businessDayDate": "2023-08-06T00:00:00.000", + "sequenceNumber": 13, + "transactionTypeCode": "RTLTRN", + "beginDateTimestamp": "2023-08-06T20:39:12.822", + "cancelledFlag": false, + "suspendedFlag": false, + "trainingFlag": false, + "keyedOfflineFlag": "BO", + "workerID": "1004", + "workerFirstName": "Adam", + "workerLastName": "Administrator", + "internalSequenceNumber": 12, + "fiscalFlag": false, + "beginDateTimestampUTC0": "2023-08-06T20:39:12.822-0500", + "transactionCategoryList": [], + "transactionExtensionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "extensionKey": "WORKSTATION_TYPE_CODE", + "extensionSequenceNumber": 0 + }, + "extensionValue": "MOB" + } + ], + "endWorkstationID": "103", + "isocurrencyCode": "COP", + "retailTransactionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80" + }, + "retailTransactionTypeCode": "SA", + "tillID": "103", + "receiptDateTime": "2023-08-06T20:39:12.822", + "receiptPrintoutFlag": false, + "promotionTimestamp": "2023-08-06T20:39:12.822", + "retailTransactionLineItemList": [], + "retailTransactionTotalList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "TOTAL" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "SUBTOTAL" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "SUBTOTAL_DISCOUNT" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "transactionTotalTypeCode": "TOTAL_TIP" + }, + "amount": 0.0 + } + ], + "retailTransactionCouponSummaryList": [], + "retailTransactionManufacturerCouponSummaryList": [], + "emailRequestedFlag": false, + "receiptDateTimeUTC0": "2023-08-06T20:39:12.822-0500", + "promotionTimestampUTC0": "2023-08-06T20:39:12.822-0500" + } + ] + }, + "addedOrModifiedLineItems": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "retailTransactionLineItemSequenceNumber": 0 + }, + "beginDateTimestamp": "2023-08-06T20:39:12.837", + "voidFlag": false, + "endDateTimestamp": "2023-08-06T20:39:12.837", + "entryMethodCode": "Keyed", + "retailTransactionLineItemTypeCode": "SR", + "workstationID": "103", + "workstationTypeCode": "MOB", + "keyedOfflineCode": "OL", + "beginDateTimestampUTC0": "2023-08-06T20:39:12.837-0500", + "endDateTimestampUTC0": "2023-08-06T20:39:12.837-0500", + "retailTransactionLineItemI18NTextList": [], + "saleReturnLineItemList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "retailTransactionLineItemSequenceNumber": 0 + }, + "itemID": "1600066610", + "unitOfMeasureCode": "PCE", + "itemType": "CO", + "regularUnitPrice": 4450.0, + "regularUnitPriceQuantity": 1.0, + "actualUnitPrice": 4450.0, + "actualUnitPriceQuantity": 1.0, + "quantity": 1, + "units": 1.0, + "extendedAmount": 4450.0, + "extendedDiscountAmount": 0.0, + "sellUnitRetailPriceEntryMethodCode": "PRIC", + "actionCode": "SI", + "quantityInputMethod": "01", + "manualWeightInputFlag": false, + "receiptText": "Cheerios", + "receiptDescription": "Cheerios", + "allowFoodStampFlag": false, + "registrationNumber": "7703100270009", + "negativeLineItemFlag": false, + "discountFlag": true, + "frequentShopperPointsEligibilityFlag": false, + "priceChangeTypeCode": "00", + "priceTypeCode": "00", + "grandExtendedAmount": 4450.0, + "notConsideredByLoyaltyEngineFlag": false, + "merchandiseHierarchyGroupName": "Comida", + "merchandiseHierarchyGroupDescription": "Comida", + "itemClassCode": "HAWA", + "prohibitTaxExemptFlag": false, + "prohibitReturnFlag": false, + "warrantyDuration": 0.0, + "taxExemptCode": "00", + "mainPOSItemID": "7703100270009", + "mainMerchandiseHierarchyGroupIDQualifier": "MAIN", + "mainMerchandiseHierarchyGroupID": "40001003", + "taxReductionAmount": 0.0, + "taxGroupID": "A1", + "taxReceiptPrintCode": "B", + "originalTaxGroupID": "A1", + "fixedPriceFlag": false, + "saleReturnLineItemExtensionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "retailTransactionLineItemSequenceNumber": 0, + "extensionKey": "UOM_NAME", + "extensionSequenceNumber": 0 + }, + "extensionValue": "pieza" + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "retailTransactionLineItemSequenceNumber": 0, + "extensionKey": "QuantityInputTypeCode", + "extensionSequenceNumber": 0 + }, + "extensionValue": "00" + } + ], + "saleReturnLineItemPriceList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "retailTransactionLineItemSequenceNumber": 0, + "priceTypeCode": "00" + }, + "priceAmount": 4450.0, + "packagePriceQuantity": 1 + } + ], + "retailPriceModifierList": [], + "frequentShopperPointsModifierList": [], + "saleReturnLineItemModifierCouponList": [], + "posdepartmentID": "1", + "wicflag": false, + "positemID": "7703100270009" + } + ] + } + ], + "deletedLineItems": [], + "closedLineItems": [ + { + "businessUnitGroupID": 100000000000000062, + "transactionID": "6nea7bd9fd2c3c7471b8c6cfda63cb80", + "retailTransactionLineItemSequenceNumber": 0 + } + ], + "promotionInputRequests": [], + "addedOrModifiedTransactionExtensions": [], + "addedTransactionAdditionalPrintouts": [], + "addedPriceDerivationRules": [], + "addedOrModifiedSaleReturnLineItemPrices": [], + "deletedTransactionAdditionalPrintouts": [] + }, + "additionalEntries": [], + "filtered": true, + "statusOk": true, + "mainPOSItemId": "7703100270009", + "posItemId": "7703100270009", + "itemId": "1600066610", + "itemName": "Cheerios", + "itemDescription": "Cheerios", + "forcePriceInput": false, + "forceQuantityInput": false, + "priceInputSignal": false, + "quantityInputSignal": false, + "promotionTriggerSignal": false, + "salesRestrictions": [], + "salesRestrictionList": [], + "prepaidItem": false, + "hasLinkedItems": false, + "forceReturnReasonInput": false, + "forceSerialNumberInput": false, + "variantItemsAvailable": false, + "emptiesReturn": false, + "accumulateExistingQuantity": false, + "price": 0.0, + "itemKey": { + "businessUnitGroupID": 100000000000000062, + "itemID": "1600066610", + "uomCode": "PCE" + }, + "usedBarcode": "7703100270009", + "discountIconList": [], + "hasInvalidQuantity": false, + "comboMealItem": false +} \ No newline at end of file diff --git a/gatewayGKManualTest/pruebas/addItem-varios.json b/gatewayGKManualTest/pruebas/addItem-varios.json new file mode 100644 index 0000000000000000000000000000000000000000..3128bd6bc04b89059f0c41bc5ae63f737e69733b --- /dev/null +++ b/gatewayGKManualTest/pruebas/addItem-varios.json @@ -0,0 +1,250 @@ +{ + "primaryEntry": { + "transaction": { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8" + }, + "operatorID": "1004", + "workstationID": "103", + "businessUnitID": "1000", + "businessDayDate": "2023-08-07T00:00:00.000", + "sequenceNumber": 59, + "transactionTypeCode": "RTLTRN", + "beginDateTimestamp": "2023-08-07T14:58:50.795", + "cancelledFlag": false, + "suspendedFlag": false, + "trainingFlag": false, + "keyedOfflineFlag": "BO", + "workerID": "1004", + "workerFirstName": "Adam", + "workerLastName": "Administrator", + "internalSequenceNumber": 58, + "fiscalFlag": false, + "beginDateTimestampUTC0": "2023-08-07T14:58:50.795-0500", + "transactionCategoryList": [], + "transactionExtensionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "extensionKey": "WORKSTATION_TYPE_CODE", + "extensionSequenceNumber": 0 + }, + "extensionValue": "MOB" + } + ], + "endWorkstationID": "103", + "isocurrencyCode": "COP", + "retailTransactionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8" + }, + "retailTransactionTypeCode": "SA", + "tillID": "103", + "receiptDateTime": "2023-08-07T14:58:50.795", + "receiptPrintoutFlag": false, + "promotionTimestamp": "2023-08-07T14:58:50.795", + "retailTransactionLineItemList": [], + "retailTransactionTotalList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "transactionTotalTypeCode": "TOTAL" + }, + "amount": 88185.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "transactionTotalTypeCode": "SUBTOTAL" + }, + "amount": 88185.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "transactionTotalTypeCode": "SUBTOTAL_DISCOUNT" + }, + "amount": 88185.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "transactionTotalTypeCode": "TOTAL_TIP" + }, + "amount": 0.0 + } + ], + "retailTransactionCouponSummaryList": [], + "retailTransactionManufacturerCouponSummaryList": [], + "emailRequestedFlag": false, + "receiptDateTimeUTC0": "2023-08-07T14:58:50.795-0500", + "promotionTimestampUTC0": "2023-08-07T14:58:50.795-0500" + } + ] + }, + "addedOrModifiedLineItems": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "retailTransactionLineItemSequenceNumber": 4 + }, + "beginDateTimestamp": "2023-08-07T14:58:52.170", + "voidFlag": false, + "endDateTimestamp": "2023-08-07T14:58:52.185", + "entryMethodCode": "Keyed", + "retailTransactionLineItemTypeCode": "SR", + "workstationID": "103", + "workstationTypeCode": "MOB", + "keyedOfflineCode": "OL", + "beginDateTimestampUTC0": "2023-08-07T14:58:52.170-0500", + "endDateTimestampUTC0": "2023-08-07T14:58:52.185-0500", + "retailTransactionLineItemI18NTextList": [], + "saleReturnLineItemList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "retailTransactionLineItemSequenceNumber": 4 + }, + "itemID": "4905302833", + "unitOfMeasureCode": "PCE", + "itemType": "CO", + "regularUnitPrice": 11721.0, + "regularUnitPriceQuantity": 1.0, + "actualUnitPrice": 11721.0, + "actualUnitPriceQuantity": 1.0, + "quantity": 1, + "units": 1.0, + "extendedAmount": 11721.0, + "extendedDiscountAmount": 0.0, + "sellUnitRetailPriceEntryMethodCode": "PRIC", + "actionCode": "SI", + "quantityInputMethod": "01", + "manualWeightInputFlag": false, + "receiptText": "Wrapping Paper", + "receiptDescription": "Wrapping Paper", + "allowFoodStampFlag": false, + "registrationNumber": "7703111560007", + "negativeLineItemFlag": false, + "discountFlag": true, + "frequentShopperPointsEligibilityFlag": false, + "priceChangeTypeCode": "00", + "priceTypeCode": "00", + "grandExtendedAmount": 11721.0, + "notConsideredByLoyaltyEngineFlag": false, + "merchandiseHierarchyGroupName": "Papeleria", + "merchandiseHierarchyGroupDescription": "Papeleria", + "itemClassCode": "HAWA", + "prohibitTaxExemptFlag": false, + "prohibitReturnFlag": false, + "warrantyDuration": 0.0, + "taxExemptCode": "00", + "mainPOSItemID": "7703111560007", + "mainMerchandiseHierarchyGroupIDQualifier": "MAIN", + "mainMerchandiseHierarchyGroupID": "40001006", + "taxReductionAmount": 0.0, + "taxGroupID": "A1", + "taxReceiptPrintCode": "B", + "originalTaxGroupID": "A1", + "fixedPriceFlag": false, + "saleReturnLineItemExtensionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "retailTransactionLineItemSequenceNumber": 4, + "extensionKey": "UOM_NAME", + "extensionSequenceNumber": 0 + }, + "extensionValue": "pieza" + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "retailTransactionLineItemSequenceNumber": 4, + "extensionKey": "QuantityInputTypeCode", + "extensionSequenceNumber": 0 + }, + "extensionValue": "00" + } + ], + "saleReturnLineItemPriceList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "retailTransactionLineItemSequenceNumber": 4, + "priceTypeCode": "00" + }, + "priceAmount": 11721.0, + "packagePriceQuantity": 1 + } + ], + "retailPriceModifierList": [], + "frequentShopperPointsModifierList": [], + "saleReturnLineItemModifierCouponList": [], + "posdepartmentID": "1", + "wicflag": false, + "positemID": "7703111560007" + } + ] + } + ], + "deletedLineItems": [], + "closedLineItems": [ + { + "businessUnitGroupID": 100000000000000062, + "transactionID": "6nffe75ae956ba5423a88ee47f9c93c8", + "retailTransactionLineItemSequenceNumber": 4 + } + ], + "promotionInputRequests": [], + "addedOrModifiedTransactionExtensions": [], + "addedTransactionAdditionalPrintouts": [], + "addedPriceDerivationRules": [], + "addedOrModifiedSaleReturnLineItemPrices": [], + "deletedTransactionAdditionalPrintouts": [] + }, + "additionalEntries": [], + "filtered": true, + "statusOk": true, + "mainPOSItemId": "7703111560007", + "posItemId": "7703111560007", + "itemId": "4905302833", + "itemName": "Wrapping Paper", + "itemDescription": "Wrapping Paper", + "forcePriceInput": false, + "forceQuantityInput": false, + "priceInputSignal": false, + "quantityInputSignal": false, + "promotionTriggerSignal": false, + "salesRestrictions": [], + "salesRestrictionList": [], + "prepaidItem": false, + "hasLinkedItems": false, + "forceReturnReasonInput": false, + "forceSerialNumberInput": false, + "variantItemsAvailable": false, + "emptiesReturn": false, + "accumulateExistingQuantity": false, + "price": 0.0, + "itemKey": { + "businessUnitGroupID": 100000000000000062, + "itemID": "4905302833", + "uomCode": "PCE" + }, + "usedBarcode": "7703111560007", + "discountIconList": [], + "hasInvalidQuantity": false, + "comboMealItem": false +} \ No newline at end of file diff --git a/gatewayGKManualTest/textos.txt b/gatewayGKManualTest/textos.txt new file mode 100644 index 0000000000000000000000000000000000000000..f77d7aeef2eb5de993495f4a3c71dc983393b74b --- /dev/null +++ b/gatewayGKManualTest/textos.txt @@ -0,0 +1 @@ +["Set-Cookie=JSESSIONID=B96DC8F0DAC3D10ABDB48ECB5B4C3AC5; Path=/smartpos-service; Secure; HttpOnly", "_pos_session_=", "Access-Control-Allow-Headers=_pos_session_, Authorization, Authentication, Origin, Content-Type, X-Requested-With, SOAPAction, Accept, Cache-Control, Pragma, Expires, If-Modified-Since, Access-Control-Request-Method, Access-Control-Request-Headers", "Access-Control-Allow-Methods=POST, GET, OPTIONS, DELETE, PUT", "Access-Control-Allow-Origin=*", "Access-Control-Expose-Headers=_pos_session_", "Access-Control-Max-Age=1728000", "Date=Fri, 04 Aug 2023 16:55:18 GMT", "Transfer-Encoding=chunked"] \ No newline at end of file diff --git a/gatewayGKTest/AdaptaFuenteCSharpSwaggerTest.cs b/gatewayGKTest/AdaptaFuenteCSharpSwaggerTest.cs new file mode 100644 index 0000000000000000000000000000000000000000..fd63a3887c2969ea24197dc4fc37bdba63057210 --- /dev/null +++ b/gatewayGKTest/AdaptaFuenteCSharpSwaggerTest.cs @@ -0,0 +1,28 @@ +using GatewaySCO; +using Xunit; +using Xunit.Abstractions; +using Xunit.Sdk; + +namespace gatewayGKTest +{ + public class AdaptaFuenteCSharpSwaggerTest + { + //private readonly ITestOutputHelper output; + //private readonly IMessageSink diagnosticMessageSink; + + // public AdaptaFuenteCSharpSwaggerTest(ITestOutputHelper output, IMessageSink diagnosticMessageSink) + // { + // this.output = output; + // this.diagnosticMessageSink = diagnosticMessageSink; + // } + + [Fact] + public void AdaptaArchivo() + { + string archivo = "/jht/scogateway/dotnet/api-gateway-chec/temporales/ComGkSoftwareGkrApiTxpoolDtoTransaction.cs"; + //output.WriteLine("Archivo:", archivo); + + AdaptaFuenteCSharpSwagger.Procesa(archivo); + } + } +} diff --git a/gatewayGKTest/ConfigGkTest.cs b/gatewayGKTest/ConfigGkTest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a5d1db3940d32213630ce19dfdc68bba3ac0609d --- /dev/null +++ b/gatewayGKTest/ConfigGkTest.cs @@ -0,0 +1,15 @@ +namespace gatewayGKTest; +using GatewaySCO; + + +public class ConfigGkTest +{ + [Fact] + public void LeeConfig_PosTipoGk() + { + string[] args = {}; + var p = new GatewaySCO.Program(); + var config = p.LeeConfiguracion(args); + Assert.Equal("gk", config.POS); + } +} diff --git a/gatewayGKTest/LoginGkTest.cs b/gatewayGKTest/LoginGkTest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d86f50987db6046c7d7be136231578f258b734a0 --- /dev/null +++ b/gatewayGKTest/LoginGkTest.cs @@ -0,0 +1,48 @@ +namespace gatewayGKTest; +using Xunit; +using Xunit.Abstractions; +using Xunit.Sdk; +using GatewaySCO; +using gatewayGK.ComandosGk; +using SCOGateway.POSGk; +using EvaPosSrvDTO; + + +public class LoginGkTest +{ + private readonly ITestOutputHelper output; + private readonly IMessageSink diagnosticMessageSink; + // Constructor usado para inicializar test. + public LoginGkTest(ITestOutputHelper output, IMessageSink diagnosticMessageSink) + { + this.output = output; + this.diagnosticMessageSink = diagnosticMessageSink; + + string[] args = { }; + var p = new GatewaySCO.Program(); + // Esto inicializa el entorno. + var config = p.LeeConfiguracion(args); + } + + //[Fact] + public void Login() + { + var request = new InitializeRequestDTO(0, new TipoMensaje()); + request.TerminalNumber = 1; + request.OperatorID = ""; + request.Recovery = false; + + var cmd = new InitializeRequestCmdGk(); + cmd.CargaDTO(request); + cmd.Ejecutar(); + + // Ejecutado el comando, el entorno debe estar inicializado con el id de sesión GK. + string sessionId = Entorno.Instancia.get().posSessionId; + output.WriteLine("sessionId:", sessionId); + + var message = new DiagnosticMessage("sessionId:", sessionId); + diagnosticMessageSink.OnMessage(message); + + Assert.True(sessionId.Length > 0); + } +} diff --git a/gatewayGKTest/ReplaceValuesInStringTest.cs b/gatewayGKTest/ReplaceValuesInStringTest.cs new file mode 100644 index 0000000000000000000000000000000000000000..953aaa97d5cc675c4447ca1141a63c3491262471 --- /dev/null +++ b/gatewayGKTest/ReplaceValuesInStringTest.cs @@ -0,0 +1,233 @@ +namespace gatewayGKTest; +using Xunit; +using Xunit.Abstractions; +using Xunit.Sdk; +using GatewaySCO; + + +public class ReplaceValuesInStringTest +{ + [Fact] + public void ReplaceOk() + { + string _jsonReq = """ + { + "operationConfiguration": { + "forceQuantityInput": false, + "pricePositionLimit": 10000, + "pricePositionZeroAllowed": true, + "priceTransactionLimit": -1, + "priceDifferencePercentPositionLimit": 100, + "priceDifferenceAbsolutePositionLimit": 999999, + "priceDifferenceLimitExceedAction": "Warn", + "priceNegDifferenceLimitExceedAction": "Warn", + "closeCurrent": "Required", + "closePrevious": "Required", + "filterResult": true, + "allowedWithWeight": true, + "allowedWithLength": true, + "allowedWithArea": true, + "allowedWithVolume": true, + "allowedWithMeasure": true, + "maximumQuantity": 999999, + "minimumQuantity": 1, + "quantityInputOrder": "BeforeOrAfter", + "priceInputOrder": "BeforeOrAfter", + "quantityLimitExceedAction": "Warn", + "amountLimitExceedAction": "Warn", + "weightUnitFactor": 0, + "measureUnitFactor": 0, + "priceDeviationType": "All", + "priceNegDeviationType": "All", + "xXCustom08": "string", + "xXCustom10": "string", + "xXCustom09": "string", + "xXCustom07": "string", + "xXCustom05": "string", + "xXCustom06": "string", + "xXCustom11": "string", + "xXCustom12": "string", + "xXCustom13": "string", + "xXCustom14": "string", + "xXCustom15": "string", + "xXCustom03": "string", + "xXCustom02": "string", + "xXCustom04": "string", + "xXCustom01": "string" + }, + "barcode": "<|31100009|>", + "salesRestrictionsCheckNeeded": false, + "priceVariant": "Actual", + "itemEntryConfig": { + "forceQuantityInput": <|true|>, + "pricePositionLimit": <|0|>, + "pricePositionZeroAllowed": true, + "priceTransactionLimit": 0, + "priceDifferencePercentPositionLimit": 0, + "priceDifferenceAbsolutePositionLimit": 0, + "priceDifferenceLimitExceedAction": "Warn", + "priceNegDifferenceLimitExceedAction": "Warn", + "closeCurrent": "Required", + "closePrevious": "Required", + "filterResult": true, + "allowedWithWeight": true, + "allowedWithLength": true, + "allowedWithArea": true, + "allowedWithVolume": true, + "allowedWithMeasure": true, + "maximumQuantity": 0, + "minimumQuantity": 0, + "quantityInputOrder": "BeforeOrAfter", + "priceInputOrder": "BeforeOrAfter", + "quantityLimitExceedAction": "Warn", + "weightUnitFactor": 0, + "measureUnitFactor": 0, + "priceDeviationType": "All", + "priceNegDeviationType": "All", + "xXCustom01": "string", + "xXCustom02": "string", + "xXCustom03": "string", + "xXCustom04": "string", + "xXCustom05": "string", + "xXCustom06": "string", + "xXCustom07": "string", + "xXCustom08": "string", + "xXCustom09": "string", + "xXCustom10": "string", + "xXCustom11": "string", + "xXCustom12": "string", + "xXCustom13": "string", + "xXCustom14": "string", + "xXCustom15": "string" + }, + "entryMethodCode": "Keyed", + "keyedOnline": true + } + """; + + string _jsonReq2 = """ + { + "operationConfiguration": { + "forceQuantityInput": false, + "pricePositionLimit": 10000, + "pricePositionZeroAllowed": true, + "priceTransactionLimit": -1, + "priceDifferencePercentPositionLimit": 100, + "priceDifferenceAbsolutePositionLimit": 999999, + "priceDifferenceLimitExceedAction": "Warn", + "priceNegDifferenceLimitExceedAction": "Warn", + "closeCurrent": "Required", + "closePrevious": "Required", + "filterResult": true, + "allowedWithWeight": true, + "allowedWithLength": true, + "allowedWithArea": true, + "allowedWithVolume": true, + "allowedWithMeasure": true, + "maximumQuantity": 999999, + "minimumQuantity": 1, + "quantityInputOrder": "BeforeOrAfter", + "priceInputOrder": "BeforeOrAfter", + "quantityLimitExceedAction": "Warn", + "amountLimitExceedAction": "Warn", + "weightUnitFactor": 0, + "measureUnitFactor": 0, + "priceDeviationType": "All", + "priceNegDeviationType": "All", + "xXCustom08": "string", + "xXCustom10": "string", + "xXCustom09": "string", + "xXCustom07": "string", + "xXCustom05": "string", + "xXCustom06": "string", + "xXCustom11": "string", + "xXCustom12": "string", + "xXCustom13": "string", + "xXCustom14": "string", + "xXCustom15": "string", + "xXCustom03": "string", + "xXCustom02": "string", + "xXCustom04": "string", + "xXCustom01": "string" + }, + "barcode": "31100009", + "salesRestrictionsCheckNeeded": false, + "priceVariant": "Actual", + "itemEntryConfig": { + "forceQuantityInput": true, + "pricePositionLimit": 0, + "pricePositionZeroAllowed": true, + "priceTransactionLimit": 0, + "priceDifferencePercentPositionLimit": 0, + "priceDifferenceAbsolutePositionLimit": 0, + "priceDifferenceLimitExceedAction": "Warn", + "priceNegDifferenceLimitExceedAction": "Warn", + "closeCurrent": "Required", + "closePrevious": "Required", + "filterResult": true, + "allowedWithWeight": true, + "allowedWithLength": true, + "allowedWithArea": true, + "allowedWithVolume": true, + "allowedWithMeasure": true, + "maximumQuantity": 0, + "minimumQuantity": 0, + "quantityInputOrder": "BeforeOrAfter", + "priceInputOrder": "BeforeOrAfter", + "quantityLimitExceedAction": "Warn", + "weightUnitFactor": 0, + "measureUnitFactor": 0, + "priceDeviationType": "All", + "priceNegDeviationType": "All", + "xXCustom01": "string", + "xXCustom02": "string", + "xXCustom03": "string", + "xXCustom04": "string", + "xXCustom05": "string", + "xXCustom06": "string", + "xXCustom07": "string", + "xXCustom08": "string", + "xXCustom09": "string", + "xXCustom10": "string", + "xXCustom11": "string", + "xXCustom12": "string", + "xXCustom13": "string", + "xXCustom14": "string", + "xXCustom15": "string" + }, + "entryMethodCode": "Keyed", + "keyedOnline": true + } + """; + + string barcode = "31100009"; + bool forceQuantityInput = true; + int pricePositionLimit = 0; + var s = Util.ReplaceValuesInString(_jsonReq, barcode, forceQuantityInput, pricePositionLimit); + + Assert.True(_jsonReq2 == s); + } + + [Fact] + public void NoReplace() + { + string s1 = "No hay nada que remplazar."; + + Assert.True(s1 == Util.ReplaceValuesInString(s1)); + } + + [Fact] + public void ReplaceException() + { + string s1 = "Remplazar <|uno|>, <|dos|> y <|tres|>."; + string uno = "uno"; + int dos = 2; + bool tres = true; + int cuatro = 1; + //string s2 = "Remplazar uno, 2 y true."; + + Assert.True(s1 == Util.ReplaceValuesInString(s1, uno, dos, tres)); + Assert.Throws(() => Util.ReplaceValuesInString(s1, uno, dos)); + Assert.Throws(() => Util.ReplaceValuesInString(s1, uno, dos, tres, cuatro)); + } +} diff --git a/gatewayGKTest/Usings.cs b/gatewayGKTest/Usings.cs new file mode 100644 index 0000000000000000000000000000000000000000..8c927eb747a6a304db265e6753aee6c47504f604 --- /dev/null +++ b/gatewayGKTest/Usings.cs @@ -0,0 +1 @@ +global using Xunit; \ No newline at end of file diff --git a/gatewayGKTest/gatewayGKTest.csproj b/gatewayGKTest/gatewayGKTest.csproj new file mode 100644 index 0000000000000000000000000000000000000000..577f416a765642ec6b71ab4c743621c9cb80bcbb --- /dev/null +++ b/gatewayGKTest/gatewayGKTest.csproj @@ -0,0 +1,33 @@ + + + + net7.0 + enable + enable + + false + true + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + + + + + + + + diff --git a/gatewayGKTest/xunit.runner.json b/gatewayGKTest/xunit.runner.json new file mode 100644 index 0000000000000000000000000000000000000000..22dacd558466b85446b8e6d3deb84555d4b5a34b --- /dev/null +++ b/gatewayGKTest/xunit.runner.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", + "diagnosticMessages": true + } \ No newline at end of file diff --git a/gatewayUtilPython/gatewayUtilPython-notas.md b/gatewayUtilPython/gatewayUtilPython-notas.md new file mode 100644 index 0000000000000000000000000000000000000000..2d56a2a1396cefd207c887a7c9638712534f4be7 --- /dev/null +++ b/gatewayUtilPython/gatewayUtilPython-notas.md @@ -0,0 +1,7 @@ +# Utilitarios Python para el Gateay SCO + +## Utilitario simplifica_modelo.py + +El propósito es tener objetos mas simples para manejar los datos json de la especificación Swagger del GK Smart POS. + +Toma un archivo de entrada C# con clases de modelo generadas por Swagger y genera otro archivo fuente con las clases simplificadas y convertidas a tipo `record`. \ No newline at end of file diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLayawayDtoLayawayLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLayawayDtoLayawayLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..af4a6f7983c354d6735f2a50fe76ef62aa7aea6e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLayawayDtoLayawayLineItem.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// LayawayLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiLayawayDtoLayawayLineItem { + /// + /// RetailTransactionLineItem + /// + /// RetailTransactionLineItem + public ComGkSoftwareGkrApiTxpoolDtoretailTransactionLineItem retailTransactionLineItem { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLayawayDtoLayawaySummary.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLayawayDtoLayawaySummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..bfd4ce219df69b3432e2f5fda521a8a479dc8365 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLayawayDtoLayawaySummary.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// LayawaySummary <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiLayawayDtoLayawaySummary { + /// + /// BusinessUnitGroup identificator of the business unit, where the Layaway was created + /// + /// BusinessUnitGroup identificator of the business unit, where the Layaway was created + public string businessUnitGroupID { get; init; } + /// + /// ID of the Layaway (= Transaction ID of Layaway create TX) + /// + /// ID of the Layaway (= Transaction ID of Layaway create TX) + public string layawayID { get; init; } + /// + /// Timestamp when Layaway was created; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Timestamp when Layaway was created; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string createTimestamp { get; init; } + /// + /// UTC0 timestamp when Layaway was created; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 timestamp when Layaway was created; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? createTimestampUTC0 { get; init; } + /// + /// Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED + /// + /// Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED + public string statusCode { get; init; } + /// + /// Layaway is blocked while there is a suspended, non-retrieved Layaway relevant TX .Its not allowed to do anything else than to retrieve this suspend and finalize it. Or to expire/rebook/terminate a layaway. + /// + /// Layaway is blocked while there is a suspended, non-retrieved Layaway relevant TX .Its not allowed to do anything else than to retrieve this suspend and finalize it. Or to expire/rebook/terminate a layaway. + public bool? suspendedFlag { get; init; } + /// + /// To know if layaway was already rebooked even if it is in CLAIMED status.Default: falseWill only be changed if Layaway Rebooking TX is consumed. + /// + /// To know if layaway was already rebooked even if it is in CLAIMED status.Default: falseWill only be changed if Layaway Rebooking TX is consumed. + public bool? rebookedFlag { get; init; } + /// + /// To know if layaway was already claimed even if it is in REBOOKED status.Default: falseWill only be changed if Layaway Claimed TX is consumed. + /// + /// To know if layaway was already claimed even if it is in REBOOKED status.Default: falseWill only be changed if Layaway Claimed TX is consumed. + public bool? claimedFlag { get; init; } + /// + /// Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last + /// + /// Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last + public int? laywayUpdateSequence { get; init; } + /// + /// N/A + /// + /// N/A + public string pendingTransactionID { get; init; } + /// + /// Last change of StatusCode; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Last change of StatusCode; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string lastUpdateTimeStamp { get; init; } + /// + /// UTC0 timestamp of the last change of StatusCode; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 timestamp of the last change of StatusCode; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? lastUpdateTimeStampUTC0 { get; init; } + /// + /// Assigned customer ID to Layaway. + /// + /// Assigned customer ID to Layaway. + public string customerID { get; init; } + /// + /// Expiration date of the Layaway (including the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Expiration date of the Layaway (including the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationDate { get; init; } + /// + /// UTC0 time of expiration date. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of expiration date. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? expirationDateUTC0 { get; init; } + /// + /// Expiration date for customer (excluding the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Expiration date for customer (excluding the tolerance time). Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationNotificationDate { get; init; } + /// + /// UTC0 time of expiration date for customer. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of expiration date for customer. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? expirationNotificationDateUTC0 { get; init; } + /// + /// Termination date of the layaway. This is the date after no futher modifications of layaway are not allowed. Be it payment or whatever. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Termination date of the layaway. This is the date after no futher modifications of layaway are not allowed. Be it payment or whatever. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string terminationDate { get; init; } + /// + /// UTC0 time of TerminationDate; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of TerminationDate; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? terminationDateUTC0 { get; init; } + /// + /// Total order value of the Layaway. + /// + /// Total order value of the Layaway. + public double? totalAmount { get; init; } + /// + /// Total of the already payed down payments of the Layaway. + /// + /// Total of the already payed down payments of the Layaway. + public double? totalDownPaymentsAmount { get; init; } + /// + /// The fee has to be paid in case the customer retrieves its money back from an expired Layaway. + /// + /// The fee has to be paid in case the customer retrieves its money back from an expired Layaway. + public double? penaltyFee { get; init; } + /// + /// The fee has to be paid in case the customer is voiding the complete Layaway. + /// + /// The fee has to be paid in case the customer is voiding the complete Layaway. + public double? cancellationFee { get; init; } + /// + /// List of Layaway line items + /// + /// List of Layaway line items + public List LayawayLineItemList { get; init; } + /// + /// Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction. + /// + /// Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction. + public string layawayCorrelationChecksum { get; init; } + /// + /// TransactionID for 'Latest Order Position Relevant TX' + /// + /// TransactionID for 'Latest Order Position Relevant TX' + public string latestOrderPositionTransactionID { get; init; } + /// + /// To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed. + /// + /// To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed. + public bool? expirationDateExtendedFlag { get; init; } + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + public string xxcustom05 { get; init; } + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + public string xxcustom03 { get; init; } + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + public string xxcustom02 { get; init; } + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + public string xxcustom04 { get; init; } + /// + /// standard extension pattern for extending calculation in project + /// + /// standard extension pattern for extending calculation in project + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand.cs new file mode 100644 index 0000000000000000000000000000000000000000..2ffef2540ae784ad549327e5100882b7d05ed36c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkstationCommand <p>This DB table contains info about commands for POSes registered by POS server processes.</p> + /// + public record comGkSoftwareGkrApiLoginManagerDtoWorkstationCommand { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandkey key { get; init; } + /// + /// designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE) + /// + /// designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE) + public string command { get; init; } + /// + /// time of creation; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// time of creation; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string createTimestamp { get; init; } + /// + /// UTC0 time of creation; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// UTC0 time of creation; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? createTimestampUTC0 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..40aa5644b1e4cb457915601807a0cea2ba9a0013 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkstationCommand.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey { + /// + /// store ID + /// + /// store ID + public string businessUnitGroupID { get; init; } + /// + /// workstation ID + /// + /// workstation ID + public string workstationID { get; init; } + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + public string sessionID { get; init; } + /// + /// identificator for deleting by POS's + /// + /// identificator for deleting by POS's + public string commandID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..13ca0a22d74516c9034141d05fa782892b12f841 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkstationStatus <p>This DB table contains information about</p><ul><li>online/offline workstations</li><li>sign-on (also paused) / sign-off operators on workstations</li></ul> + /// + public record comGkSoftwareGkrApiLoginManagerDtoWorkstationStatus { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatuskey key { get; init; } + /// + /// last workstation client address (IP + DNS name) + /// + /// last workstation client address (IP + DNS name) + public string workstationLastConnectedAddress { get; init; } + /// + /// the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string workstationLastConnectedTimestamp { get; init; } + /// + /// POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations + /// + /// POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations + public string loginType { get; init; } + /// + /// signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline + /// + /// signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline + public string operatorID { get; init; } + /// + /// the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp > TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? workstationLastConnectedTimestampUTC0 { get; init; } + /// + /// token to be used in successive calls, otherwise the data will be rejected. This provides control if calls are done in correct order.If background process is about to notify server that client is still alive and operator is login in, request from the background process can get delayed and can be processed after login request, effectively login out the user, so correct order is important. + /// + /// token to be used in successive calls, otherwise the data will be rejected. This provides control if calls are done in correct order.If background process is about to notify server that client is still alive and operator is login in, request from the background process can get delayed and can be processed after login request, effectively login out the user, so correct order is important. + public string token { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b02532551f176fdf8d61c321236f3a64ded4b22d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkstationStatus.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey { + /// + /// store ID + /// + /// store ID + public string businessUnitGroupID { get; init; } + /// + /// workstation ID + /// + /// workstation ID + public string workstationID { get; init; } + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + public string sessionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..c4a994ec2531f9b3a298cefac16b127da725e5d3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkstationTenderRepositoryStatus <p>This DB table contains about save and tills used on workstations.</p> + /// + public record comGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatuskey key { get; init; } + /// + /// TI, SA + /// + /// TI, SA + public string tenderRepositoryClassType { get; init; } + /// + /// 0, 1, 2 - see business concept + /// + /// 0, 1, 2 - see business concept + public int? exclusiveLevel { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..03f98597f9f422400c77cc07f36c8aae53f59ae0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkstationTenderRepositoryStatus.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey { + /// + /// store ID + /// + /// store ID + public string businessUnitGroupID { get; init; } + /// + /// workstation ID + /// + /// workstation ID + public string workstationID { get; init; } + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + /// + /// designed for POS server functions - the unique id from special pool will be generated'0' for POS + public string sessionID { get; init; } + /// + /// assigned till or safe + /// + /// assigned till or safe + public string tenderRepositoryID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData.cs new file mode 100644 index 0000000000000000000000000000000000000000..1a8b52a40b6488a7c61d9f84a25a9d3493b81d2c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemRefundData <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiRefundServiceDtoLineItemRefundData { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDatakey key { get; init; } + /// + /// returned quantity + /// + /// returned quantity + public double? returnedQuantity { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d02cc5b38e126ab8430ca116da78fb80e6865dad --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemRefundData.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey { + /// + /// line item number + /// + /// line item number + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..c85a123f1209c01aa64ec5b9438336d7b2c5d27c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RefundTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiRefundServiceDtoRefundTransaction { + /// + /// transaction data of the loaded transaction + /// + /// transaction data of the loaded transaction + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + /// + /// Transaction checksum, mandatory parameter for checked calls + /// + /// Transaction checksum, mandatory parameter for checked calls + public string checksum { get; init; } + /// + /// list of RefundData of line items + /// + /// list of RefundData of line items + public List LineItemRefundDataList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..5d0f23558d323cd06da83d2ca428e3a58b737f65 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TranslationDO <p>TODO<br /></p> + /// + public record comGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOkey key { get; init; } + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + public string translationValue { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4cb3780faea3ebe53a19722edcd549791ce924b5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TranslationDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey { + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + public string tid { get; init; } + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + public string languageID { get; init; } + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + public string translationKey { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..f88a4bd5274c6773feb6610c9f2b6cf32c834d36 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// BankAccount <p>Information about bank account.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount { + /// + /// <p>Bank description.<br /></p> + /// + /// <p>Bank description.<br /></p> + public string bankDescription { get; init; } + /// + /// <p>Bank account number in a national format, not international.<br /></p> + /// + /// <p>Bank account number in a national format, not international.<br /></p> + public string bankAccountNumber { get; init; } + /// + /// <p>Bank identification code in a national format.<br /></p> + /// + /// <p>Bank identification code in a national format.<br /></p> + public string nationalBankIdentificationCode { get; init; } + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + public string internationalBankAccountNumber { get; init; } + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + public string bankIdentificationCode { get; init; } + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + public string bankAccountTypeCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..d7114fa26a2518709da770405d0ec6545ae00602 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter.cs @@ -0,0 +1,37 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitContactFilter <p>Filter for searching of address<br /></p> + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter { + /// + /// Gets or Sets BusinessUnitStatusCode + /// + public businessUnitStatusCodeEnum? businessUnitStatusCode { get; init; } + /// + /// <p>Identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + /// + /// <p>Identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + public string businessUnitID { get; init; } + /// + /// <p>Identifier for a group of business units.<br /></p> + /// + /// <p>Identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Street<br /></p> + /// + /// <p>Street<br /></p> + public string street { get; init; } + /// + /// <p>City<br /></p> + /// + /// <p>City<br /></p> + public string city { get; init; } + /// + /// <p>Postal code<br /></p> + /// + /// <p>Postal code<br /></p> + public string postalCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..f879b1f684784da660d3cee242cc6a0023554521 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO.cs @@ -0,0 +1,378 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitDO <p>A retail store, distribution center or administration center at which the retailer conducts retail operations.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO { + /// + /// <p>The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.<br /></p> + /// + /// <p>The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.<br /></p> + public businessUnitStatusCodeEnum? businessUnitStatusCode { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOkey key { get; init; } + /// + /// <p>External identifier for the business unit.<br /></p> + /// + /// <p>External identifier for the business unit.<br /></p> + public string externalBusinessUnitID { get; init; } + /// + /// <p>ID of the parent business unit group<br /></p> + /// + /// <p>ID of the parent business unit group<br /></p> + public string parentBusinessUnitGroupID { get; init; } + /// + /// <p>External ID of the parent business unit group<br /></p> + /// + /// <p>External ID of the parent business unit group<br /></p> + public string parentExternalBusinessUnitGroupID { get; init; } + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + public string businessUnitGroupLevelID { get; init; } + /// + /// <p>Name of the level within the business unit grouping hierarchy (external identifier of level).<br /></p> + /// + /// <p>Name of the level within the business unit grouping hierarchy (external identifier of level).<br /></p> + public string externalBusinessUnitGroupLevelID { get; init; } + /// + /// <p>Global location number<br /></p> + /// + /// <p>Global location number<br /></p> + public string globalLocationNumber { get; init; } + /// + /// <p>VAT registration number<br /></p> + /// + /// <p>VAT registration number<br /></p> + public string vatRegistrationNumber { get; init; } + /// + /// <p>The country code of the store.<br /></p> + /// + /// <p>The country code of the store.<br /></p> + public string isoCountryCode { get; init; } + /// + /// <p>SAP time zone code<br /></p> + /// + /// <p>SAP time zone code<br /></p> + public string timeZoneCode { get; init; } + /// + /// <p>ID of the time zone in the Java format (e.g. 'US/Eastern', 'Europe/Prague')<br /></p> + /// + /// <p>ID of the time zone in the Java format (e.g. 'US/Eastern', 'Europe/Prague')<br /></p> + public string timeZoneLongID { get; init; } + /// + /// <p>ISO-Code of the language which is used in the business unit<br /></p> + /// + /// <p>ISO-Code of the language which is used in the business unit<br /></p> + public string languageID { get; init; } + /// + /// <p>The name of the business unit<br /></p> + /// + /// <p>The name of the business unit<br /></p> + public string name { get; init; } + /// + /// <p>The surrogate name of the business unit<br /></p> + /// + /// <p>The surrogate name of the business unit<br /></p> + public string surrogateName { get; init; } + /// + /// <p>Effective date of the assignment to the GK<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Effective date of the assignment to the GK<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string gkEffectiveDate { get; init; } + /// + /// <p>Determines the assignment to the RG business unit group hierarchy<br /></p> + /// + /// <p>Determines the assignment to the RG business unit group hierarchy<br /></p> + public bool? regionFlag { get; init; } + /// + /// <p>Determines the assignment to the SEH business unit group hierarchy<br /></p> + /// + /// <p>Determines the assignment to the SEH business unit group hierarchy<br /></p> + public bool? independentRetailerFlag { get; init; } + /// + /// <p>ID of the parent business unit group with the function code 'OMS'<br /></p> + /// + /// <p>ID of the parent business unit group with the function code 'OMS'<br /></p> + public string ownerOfMultipleStoresParentID { get; init; } + /// + /// <p>Determines whether the GK system is installed in the store or not<br /></p> + /// + /// <p>Determines whether the GK system is installed in the store or not<br /></p> + public bool? gkSystemFlag { get; init; } + /// + /// <p>Identifier of the main currency of the retail store.<br /></p> + /// + /// <p>Identifier of the main currency of the retail store.<br /></p> + public string mainCurrencyID { get; init; } + /// + /// <p>Determines whether this store provides data to the GFK organization<br /></p> + /// + /// <p>Determines whether this store provides data to the GFK organization<br /></p> + public bool? exportToGfkFlag { get; init; } + /// + /// <p>The size of the retail store. This is usually split by the non-sales and sales areas.<br /></p> + /// + /// <p>The size of the retail store. This is usually split by the non-sales and sales areas.<br /></p> + public double? size { get; init; } + /// + /// <p>The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.<br /></p> + /// + /// <p>The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.<br /></p> + public double? sellingAreaSize { get; init; } + /// + /// <p>Code of the MerchandiseHierarchyFunction which is relevant for that store<br /></p> + /// + /// <p>Code of the MerchandiseHierarchyFunction which is relevant for that store<br /></p> + public string merchandiseHierarchyFunctionCode { get; init; } + /// + /// <p>Indicates if the prices include all applicable sales taxes or not.<br /></p> + /// + /// <p>Indicates if the prices include all applicable sales taxes or not.<br /></p> + public bool? includesSalesTaxFlag { get; init; } + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + public string taxNumber { get; init; } + /// + /// <p>The second currency which is e.g. to be shown in the receipt total and to be printed on the receipt (during the time of changing of a local currency to EURO)<br /></p> + /// + /// <p>The second currency which is e.g. to be shown in the receipt total and to be printed on the receipt (during the time of changing of a local currency to EURO)<br /></p> + public string alternateISOCurrencyCode { get; init; } + /// + /// <p>The name of the unit which is mainly used for weighing information<br /></p> + /// + /// <p>The name of the unit which is mainly used for weighing information<br /></p> + public string mainWeighingUnit { get; init; } + /// + /// <p>An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.<br /></p> + /// + /// <p>An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.<br /></p> + public string purchasingOrganization { get; init; } + /// + /// <p>List of receiving locations.<br /></p> + /// + /// <p>List of receiving locations.<br /></p> + public List ReceiverLocationList { get; init; } + /// + /// <p>List of company codes of the store.<br /></p> + /// + /// <p>List of company codes of the store.<br /></p> + public List CompanyCodeList { get; init; } + /// + /// <p>List of bank accounts<br /></p> + /// + /// <p>List of bank accounts<br /></p> + public List BankAccountList { get; init; } + /// + /// <p>ID of the party information<br /></p> + /// + /// <p>ID of the party information<br /></p> + public string partyID { get; init; } + /// + /// <p>Reference to the party structure<br /></p> + /// + /// <p>Reference to the party structure<br /></p> + public ComGkSoftwareGkrApiServerMdpartyDtoDompartyDO party { get; init; } + /// + /// <p>List of contacts<br /></p> + /// + /// <p>List of contacts<br /></p> + public ComGkSoftwareGkrApiServerMdcontactDtoDomcontactDO contact { get; init; } + /// + /// <p>List of translations for the business unit.<br /></p> + /// + /// <p>List of translations for the business unit.<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Identifier of an organizational unit responsible for the sale of certain products or services.<br /> The responsibility of a sales organization may include legal liability for products and customer claims.<br /></p> + /// + /// <p>Identifier of an organizational unit responsible for the sale of certain products or services.<br /> The responsibility of a sales organization may include legal liability for products and customer claims.<br /></p> + public string salesOrganizationID { get; init; } + /// + /// <p>Distribution channel is the way in which products or services reach the customer.<br /> Typical examples of distribution channels are wholesale, retail, or direct sales.<br /></p> + /// + /// <p>Distribution channel is the way in which products or services reach the customer.<br /> Typical examples of distribution channels are wholesale, retail, or direct sales.<br /></p> + public string distributionChannelTypeCode { get; init; } + /// + /// <p>The UTC0 date and time when the business unit was finally deleted<br /></p> UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// <p>The UTC0 date and time when the business unit was finally deleted<br /></p> UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? deleteTimestampUTC0 { get; init; } + /// + /// <p>Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).<br /></p> + /// + /// <p>Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).<br /></p> + public double? latitudeDecimalDegrees { get; init; } + /// + /// <p>Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).<br /></p> + /// + /// <p>Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).<br /></p> + public double? longitudeDecimalDegrees { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..eaa6a28508b961cb7f724df34d47476742f9488b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey { + /// + /// <p>A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + /// + /// <p>A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).<br /></p> + public string businessUnitID { get; init; } + /// + /// <p>A unique system assigned identifier for the group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for the group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..8cb527135bcd4fc142982f631794e627ca1165a9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO.cs @@ -0,0 +1,203 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitGroupDO <p>A related group of administration centers, distribution centers and retail stores, with names like group, cluster, region, district, zone and state.<br /> The lowest level of BusinessUnitGroup is in a one-to-one relationship with business unit. ie: The lowest level of each BusinessUnitGroupFunction hierarchy is a BusinessUnitGroup containing one &amp; only one BusinessUnit.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOkey key { get; init; } + /// + /// <p>Language of the business unit group.<br /></p> + /// + /// <p>Language of the business unit group.<br /></p> + public string languageID { get; init; } + /// + /// <p>The common name for the business unit group<br /></p> + /// + /// <p>The common name for the business unit group<br /></p> + public string name { get; init; } + /// + /// <p>External identifier of the business unit group.<br /></p> + /// + /// <p>External identifier of the business unit group.<br /></p> + public string externalBusinessUnitGroupID { get; init; } + /// + /// <p>A business function for which business unit groups are placed into separate grouping hierarchies.<br /></p> + /// + /// <p>A business function for which business unit groups are placed into separate grouping hierarchies.<br /></p> + public string businessUnitGroupFunctionID { get; init; } + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + /// + /// <p>A unique internal identifier for a level within the business unit grouping hierarchy.<br /></p> + public string businessUnitGroupLevelID { get; init; } + /// + /// <p>The distance from the root of the business unit group tree which applies to the business unit. Is used in order to increase the performance.<br /></p> + /// + /// <p>The distance from the root of the business unit group tree which applies to the business unit. Is used in order to increase the performance.<br /></p> + public int? businessUnitGroupDepth { get; init; } + /// + /// <p>List of translations for business unit group.<br /></p> + /// + /// <p>List of translations for business unit group.<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2cee28ff034f22e4f86fbbf9cfdf8c8f3f8973f4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitGroupDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..504b5f891474a86416a43d6b1c07918ef15ce694 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO.cs @@ -0,0 +1,183 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitTextDO <p>Receipt texts (header and footer).<br /></p> + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOkey key { get; init; } + /// + /// <p>The receipt text.<br /></p> + /// + /// <p>The receipt text.<br /></p> + public string receiptTextValue { get; init; } + /// + /// <p>List of translations for the denomination.<br /></p> + /// + /// <p>List of translations for the denomination.<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..04c9c318bc24093506bb121eb43668e5aa712277 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitTextDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey { + /// + /// <p>Ident of the retail store.<br /></p> + /// + /// <p>Ident of the retail store.<br /></p> + public string businessUnitID { get; init; } + /// + /// <p>Type of the receipt text (e.g. FOOTER)<br /></p> + /// + /// <p>Type of the receipt text (e.g. FOOTER)<br /></p> + public string receiptTextKey { get; init; } + /// + /// <p>A sequence number of the receipt text.<br /></p> + /// + /// <p>A sequence number of the receipt text.<br /></p> + public int? receiptTextSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..1e9141406a21c1bf5845d9f265ab944e8462f5a5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddress.cs @@ -0,0 +1,233 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactAddress <p>List of addresses<br /></p> + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactAddress { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdContactDtoDomContactAddresskey key { get; init; } + /// + /// <p>The city, town or village component of the address.<br /></p> + /// + /// <p>The city, town or village component of the address.<br /></p> + public string city { get; init; } + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + public string postalCode { get; init; } + /// + /// <p>The country code of the company or the person.<br /></p> + /// + /// <p>The country code of the company or the person.<br /></p> + public string isoCountryCode { get; init; } + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + public string subTerritoryName { get; init; } + /// + /// <p>Name of federal state.<br /></p> + /// + /// <p>Name of federal state.<br /></p> + public string territoryName { get; init; } + /// + /// <p>The first line of the address, normally the street name and number.<br /> Used also for poBox.<br /></p> + /// + /// <p>The first line of the address, normally the street name and number.<br /> Used also for poBox.<br /></p> + public string addressLine1 { get; init; } + /// + /// <p>The second line of an address, normally the Flat or Building Suite number.<br /></p> + /// + /// <p>The second line of an address, normally the Flat or Building Suite number.<br /></p> + public string addressLine2 { get; init; } + /// + /// <p>The third line of the address<br /></p> + /// + /// <p>The third line of the address<br /></p> + public string addressLine3 { get; init; } + /// + /// <p>The fourth line of the address.<br /></p> + /// + /// <p>The fourth line of the address.<br /></p> + public string addressLine4 { get; init; } + /// + /// <p>The fifth line of the address.<br /> Also used for salutation.<br /></p> + /// + /// <p>The fifth line of the address.<br /> Also used for salutation.<br /></p> + public string addressLine5 { get; init; } + /// + /// <p>The extension of the postal or zip code that further specifies a particular postal district.<br /></p> + /// + /// <p>The extension of the postal or zip code that further specifies a particular postal district.<br /></p> + public string postalCodeExtension { get; init; } + /// + /// <p>A state, province, or other region within a country.<br /></p> + /// + /// <p>A state, province, or other region within a country.<br /></p> + public string territory { get; init; } + /// + /// <p>Denotes if the contact address data can be used for marketing purposes.<br /></p> + /// + /// <p>Denotes if the contact address data can be used for marketing purposes.<br /></p> + public bool? marketingAllowedFlag { get; init; } + /// + /// <p>Tax handling code defined within the customer address (region) is used for the tax calculation.<br /></p> + /// + /// <p>Tax handling code defined within the customer address (region) is used for the tax calculation.<br /></p> + public string taxHandlingCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6141658da6d4da5d42a1c62b3ea1552a2e4352dd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactAddress.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactAddressKey { + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + public string contactPurposeTypeCode { get; init; } + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + public string contactMethodTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..e3aa8050ab9c61b39da0a80dfdf35775528afd3d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactDO.cs @@ -0,0 +1,183 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactDO <p>List of various contacts for a Party, e.g. address, telephone, fax, email-address.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdContactDtoDomContactDOkey key { get; init; } + /// + /// <p>Internet URL<br /></p> + /// + /// <p>Internet URL<br /></p> + public string internetURL { get; init; } + /// + /// <p>List of the addresses.<br /></p> + /// + /// <p>List of the addresses.<br /></p> + public List AddressList { get; init; } + /// + /// <p>List of the telephone contacts.<br /></p> + /// + /// <p>List of the telephone contacts.<br /></p> + public List TelephoneList { get; init; } + /// + /// <p>List of the email-addresses.<br /></p> + /// + /// <p>List of the email-addresses.<br /></p> + public List EmailAddressList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..52d058e627f42a1743a6cebe29ac7cb981704e7b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactDOKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactDOKey { + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + public string partyID { get; init; } + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs<br /></p> + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs<br /></p> + public string partyRoleTypeCode { get; init; } + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + public int? sequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..141622fedd8c559e8853fe26043debf68f1ad322 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactEmailAddress <p>List of email addresses.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddress { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddresskey key { get; init; } + /// + /// <p>E-mail address of the company or the person.<br /></p> + /// + /// <p>E-mail address of the company or the person.<br /></p> + public string emailAddress { get; init; } + /// + /// <p>Denotes if the contact email address data can be used for marketing purposes.<br /></p> + /// + /// <p>Denotes if the contact email address data can be used for marketing purposes.<br /></p> + public bool? marketingAllowedFlag { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..27fc1fe9c1c8b133ff105c04beaa3c8f0822b20c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactEmailAddress.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactEmailAddressKey { + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + public string contactPurposeTypeCode { get; init; } + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + public string contactMethodTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone.cs new file mode 100644 index 0000000000000000000000000000000000000000..ee4151441203a48e9ce0bcc8880804a93e41cafb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephone.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactTelephone <p>List of telephone and fax numbers.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactTelephone { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephonekey key { get; init; } + /// + /// <p>The complete telephone number<br /></p> + /// + /// <p>The complete telephone number<br /></p> + public string completeTelephoneNumber { get; init; } + /// + /// <p>Denotes if the contact telephone data can be used for marketing purposes.<br /></p> + /// + /// <p>Denotes if the contact telephone data can be used for marketing purposes.<br /></p> + public bool? marketingAllowedFlag { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6747c8dfaa08aede5a9c78c2905591036d34159d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactTelephone.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdContactDtoDomContactTelephoneKey { + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + /// + /// <p>Code denoting a reason for contacting a Party.<br /></p> + public string contactPurposeTypeCode { get; init; } + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + /// + /// <p>A retailer assigned code denoting a method of contacting a Party. Suggested values include: WorkPhone, HomePhone, WorkFax, HomeFax, Mobile, Pager.<br /></p> + public string contactMethodTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..1347b16b78d751acf01153f102ca01157944a64c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO.cs @@ -0,0 +1,198 @@ +namespace POSGkSwaggerModel +{ + /// + /// CurrencyDO <p>Specifies the national designation and quantitative value of monetary media used as tender.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOkey key { get; init; } + /// + /// <p>National symbol for the main unit of currency, e.g. £, $, etc<br /></p> + /// + /// <p>National symbol for the main unit of currency, e.g. £, $, etc<br /></p> + public string symbol { get; init; } + /// + /// <p>List of translations for the currency.<br /></p> + /// + /// <p>List of translations for the currency.<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>The ISO code of the country issuing the currency.<br /></p> + /// + /// <p>The ISO code of the country issuing the currency.<br /></p> + public string isocountryCode { get; init; } + /// + /// <p>A name of the currency, i.e. pounds sterling, US dollars, Canadian dollars, etc.<br /></p> + /// + /// <p>A name of the currency, i.e. pounds sterling, US dollars, Canadian dollars, etc.<br /></p> + public string isocurrencyName { get; init; } + /// + /// <p>Numeric code assigned by ISO to identify national currencies.<br /></p> + /// + /// <p>Numeric code assigned by ISO to identify national currencies.<br /></p> + public string isocurrencyNumber { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..439cfbef81915b385b4f99f017f1c36d7cafc8fa --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// CurrencyDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDOKey { + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Currency code designated by ISO to identify national currency. The unique identifier of the currency.<br /></p> + /// + /// <p>Currency code designated by ISO to identify national currency. The unique identifier of the currency.<br /></p> + public string isocurrencyCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..457ed62d084f4e818ced46a3ec980f13f1720503 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO.cs @@ -0,0 +1,188 @@ +namespace POSGkSwaggerModel +{ + /// + /// CurrencyRoundingRuleDO <p>RoundingRules contains fields for rounding rules for specific BUG.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDO { + /// + /// <p>Defines how the result is to be rounded:<br /></p><br /><ul><br /> <li> NO_ROUNDING(00) = no rounding</li><br /> <li> ROUND_HALF_UP(01) = round half up (round up for &gt;= 0.5, else round down),</li><br /> <li> ROUND_DOWN(02) = round down</li><br /> <li> ROUND_UP(03) = round up</li><br /> <li> ROUND_HALF_DOWN(04) = round half down (round up for &gt; 0.5, else round down)</li><br /></ul> + /// + /// <p>Defines how the result is to be rounded:<br /></p><br /><ul><br /> <li> NO_ROUNDING(00) = no rounding</li><br /> <li> ROUND_HALF_UP(01) = round half up (round up for &gt;= 0.5, else round down),</li><br /> <li> ROUND_DOWN(02) = round down</li><br /> <li> ROUND_UP(03) = round up</li><br /> <li> ROUND_HALF_DOWN(04) = round half down (round up for &gt; 0.5, else round down)</li><br /></ul> + public roundMethodCodeEnum? roundMethodCode { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOkey key { get; init; } + /// + /// <p>Count of decimals which the result should have<br /></p> + /// + /// <p>Count of decimals which the result should have<br /></p> + public int? roundDecimalCount { get; init; } + /// + /// <p>Additional information for rounding, possible values:<br /></p><br /><ul><br /> <li>null / 1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + /// + /// <p>Additional information for rounding, possible values:<br /></p><br /><ul><br /> <li>null / 1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + public int? roundDestinationValue { get; init; } + /// + /// <p>Defines the denomination value that is used for rounding payment amounts on POS.<br /></p> + /// + /// <p>Defines the denomination value that is used for rounding payment amounts on POS.<br /></p> + public double? roundPaymentAmount { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b43b79dae05cf768518240e73a242396885b48b7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// CurrencyRoundingRuleDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdCurrencyRoundingRuleDtoDomCurrencyRoundingRuleDOKey { + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Currency code designated by ISO to identify national currency.<br /></p> + /// + /// <p>Currency code designated by ISO to identify national currency.<br /></p> + public string isocurrencyCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard.cs new file mode 100644 index 0000000000000000000000000000000000000000..5296f430a404316ba9485df3793191c270943141 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreditCard <p>Credit card.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomCreditCard { + /// + /// <p>The card number (Identifier).<br /></p> + /// + /// <p>The card number (Identifier).<br /></p> + public string cardNumber { get; init; } + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party.<br /></p> + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party.<br /></p> + public string externalPartyIdentificationProviderID { get; init; } + /// + /// <p>Defines why this identifier is locked.<br /></p> + /// + /// <p>Defines why this identifier is locked.<br /></p> + public string lockingTypeCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard.cs new file mode 100644 index 0000000000000000000000000000000000000000..af25039bf818bcfc05ee3dff4c7c39cc12cdb378 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerCard <p>Customer card<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomCustomerCard { + /// + /// <p>The card type<br /></p> + /// + /// <p>The card type<br /></p> + public string cardType { get; init; } + /// + /// <p>The card number (Identifier).<br /></p> + /// + /// <p>The card number (Identifier).<br /></p> + public string cardNumber { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..b538a8d67500de0238f7f1bcdb10f0597053ab07 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter.cs @@ -0,0 +1,56 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerContactFilter <p>A customer is a person or individual who purchases, may purchase, or did purchase goods or services from a retail store.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactFilter { + /// + /// Gets or Sets CustomerID + /// + public string customerID { get; init; } + /// + /// Gets or Sets Name + /// + public string name { get; init; } + /// + /// Gets or Sets OrganizationName + /// + public string organizationName { get; init; } + /// + /// Gets or Sets FirstName + /// + public string firstName { get; init; } + /// + /// Gets or Sets LastName + /// + public string lastName { get; init; } + /// + /// Gets or Sets Street + /// + public string street { get; init; } + /// + /// Gets or Sets City + /// + public string city { get; init; } + /// + /// Gets or Sets PostalCode + /// + public string postalCode { get; init; } + /// + /// Gets or Sets IsoCountryCode + /// + public string isoCountryCode { get; init; } + /// + /// Gets or Sets TerritoryName + /// + public string territoryName { get; init; } + /// + /// Gets or Sets CompleteTelephoneNumber + /// + public string completeTelephoneNumber { get; init; } + /// + /// Gets or Sets EmailAddress + /// + public string emailAddress { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView.cs new file mode 100644 index 0000000000000000000000000000000000000000..dff3579ab03c71ef7eb5cc485c96b7be480948cf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView.cs @@ -0,0 +1,72 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerContactView <p>View for displaying customer contact<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomCustomerContactView { + /// + /// <ul><br /> <li>PERSON - if table person is filled</li><br /> <li>ORGANIZATION - if table orgabnization is filled</li><br /></ul> + /// + /// <ul><br /> <li>PERSON - if table person is filled</li><br /> <li>ORGANIZATION - if table orgabnization is filled</li><br /></ul> + public customerTypeEnum? customerType { get; init; } + /// + /// <p>The identifier for a group of business units.<br /></p> + /// + /// <p>The identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The identifier for the customer.<br /></p> + /// + /// <p>The identifier for the customer.<br /></p> + public string customerID { get; init; } + /// + /// Gets or Sets Salutation + /// + public string salutation { get; init; } + /// + /// <p>A customer name.<br /></p> + /// + /// <p>A customer name.<br /></p> + public string name { get; init; } + /// + /// <p>The street name and number<br /></p> + /// + /// <p>The street name and number<br /></p> + public string street { get; init; } + /// + /// <p>The city, town or village component of the address.<br /></p> + /// + /// <p>The city, town or village component of the address.<br /></p> + public string city { get; init; } + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + /// + /// <p>The postal or zip code of the address.<br /> Used also for postalCodeOfPOBox.<br /></p> + public string postalCode { get; init; } + /// + /// <p>The ISO country code<br /></p> + /// + /// <p>The ISO country code<br /></p> + public string isoCountryCode { get; init; } + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + /// + /// <p>Name of the region.<br /> Used also for district.<br /></p> + public string territoryName { get; init; } + /// + /// <p>The complete telephone number including the country code, area code, telephone number and extension number.<br /></p> + /// + /// <p>The complete telephone number including the country code, area code, telephone number and extension number.<br /></p> + public string completeTelephoneNumber { get; init; } + /// + /// <p>Email address<br /></p> + /// + /// <p>Email address<br /></p> + public string emailAddress { get; init; } + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + public string dataProtectCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..36ba7d0c8a6f79e86310b76729985ffd8fe659d9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO.cs @@ -0,0 +1,313 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerDO <p>A customer is a person or individual who purchases, may purchase, or did purchase goods or services from a retail store.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOkey key { get; init; } + /// + /// <p>An external unique identifier for a group of business units.<br /></p> + /// + /// <p>An external unique identifier for a group of business units.<br /></p> + public string externalBusinessUnitGroupID { get; init; } + /// + /// <p>Denotes the group of allowed tenders.<br /></p> + /// + /// <p>Denotes the group of allowed tenders.<br /></p> + public string allowedTermsOfPayment { get; init; } + /// + /// <p>Credit limit of the customer.<br /></p> + /// + /// <p>Credit limit of the customer.<br /></p> + public double? creditLimit { get; init; } + /// + /// <p>The personal number, unique key for the employee identification. (The number of the Identification that identifies the Party).<br /></p> + /// + /// <p>The personal number, unique key for the employee identification. (The number of the Identification that identifies the Party).<br /></p> + public string personalID { get; init; } + /// + /// <p>Denotes the group of prohibited tenders.<br /></p> + /// + /// <p>Denotes the group of prohibited tenders.<br /></p> + public string prohibitedTermsOfPayment { get; init; } + /// + /// <p>Remaining credit limit of the customer. (Total credit limit - amounts of invoices which haven't been paid yet).<br /></p> + /// + /// <p>Remaining credit limit of the customer. (Total credit limit - amounts of invoices which haven't been paid yet).<br /></p> + public double? remainingCreditLimit { get; init; } + /// + /// <p>Determines whether the customer is liable to tax on sales<br /></p> + /// + /// <p>Determines whether the customer is liable to tax on sales<br /></p> + public bool? salesTaxLiableFlag { get; init; } + /// + /// <p>The current status code of the customer, e.g. active, blocked.<br /></p> + /// + /// <p>The current status code of the customer, e.g. active, blocked.<br /></p> + public string statusCode { get; init; } + /// + /// <p>Default printout mode of the customer.<br /></p> + /// + /// <p>Default printout mode of the customer.<br /></p> + public string preferredReceiptPrintoutTypeCode { get; init; } + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + /// + /// <p>The company's tax number given by the tax office (this is not the sales tax ID).<br /></p> + public string taxNumber { get; init; } + /// + /// <p>Party ID<br /></p> + /// + /// <p>Party ID<br /></p> + public string partyID { get; init; } + /// + /// <p>List of the customer credit cards.<br /></p> + /// + /// <p>List of the customer credit cards.<br /></p> + public List CreditCardList { get; init; } + /// + /// <p>List of the customer cards.<br /></p> + /// + /// <p>List of the customer cards.<br /></p> + public List CustomerCardList { get; init; } + /// + /// <p>List of CustomerGroupID's.<br /></p> + /// + /// <p>List of CustomerGroupID's.<br /></p> + public List CustomerGroupIDList { get; init; } + /// + /// <p>An official number that may be used to identify a Party. People and businesses have multiple forms of such identification: Drivers License number, Passport number, Credit / Debit Card number, Company Incorporation number, Tax number, etc...<br /></p> + /// + /// <p>An official number that may be used to identify a Party. People and businesses have multiple forms of such identification: Drivers License number, Passport number, Credit / Debit Card number, Company Incorporation number, Tax number, etc...<br /></p> + public List PartyIdentification { get; init; } + /// + /// <p>Additional data for the organization if the customer is a organization.<br /></p> + /// + /// <p>Additional data for the organization if the customer is a organization.<br /></p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomorganization organization { get; init; } + /// + /// <p>Contacts for the customer, e.g. address, telephone, fax, email-address.<br /></p> + /// + /// <p>Contacts for the customer, e.g. address, telephone, fax, email-address.<br /></p> + public ComGkSoftwareGkrApiServerMdcontactDtoDomcontactDO contact { get; init; } + /// + /// <p>Reference to the party structure<br /></p> + /// + /// <p>Reference to the party structure<br /></p> + public ComGkSoftwareGkrApiServerMdpartyDtoDompartyDO party { get; init; } + /// + /// <p>Additional data for the person if the customer is a person.<br /></p> + /// + /// <p>Additional data for the person if the customer is a person.<br /></p> + public ComGkSoftwareGkrApiServerMdpersonDtoDompersonDO person { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Denotes if the customer declaration is available.<br /></p> + /// + /// <p>Denotes if the customer declaration is available.<br /></p> + public bool? declarationAvailable { get; init; } + /// + /// <p>Date of the customer declaration.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date of the customer declaration.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string dateOfRecord { get; init; } + /// + /// <p>Identification of person who has recorded the customer declaration (e.g. ID of logged Operator).<br /></p> + /// + /// <p>Identification of person who has recorded the customer declaration (e.g. ID of logged Operator).<br /></p> + public string recordedBy { get; init; } + /// + /// <p>Denotes if the customer data can be used for statistical purposes.<br /></p> + /// + /// <p>Denotes if the customer data can be used for statistical purposes.<br /></p> + public bool? statisticalUseAllowed { get; init; } + /// + /// <p>Timestamp of the last access to the data.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Timestamp of the last access to the data.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string lastAccessDate { get; init; } + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + public string dataProtectCode { get; init; } + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + public string parentCustomerID { get; init; } + /// + /// <p>List of the customer partner roles.<br /></p> + /// + /// <p>List of the customer partner roles.<br /></p> + public List PartnerRoleList { get; init; } + /// + /// <p>First Name Line of the customer to which this buyer / contact person belongs.<br /></p> + /// + /// <p>First Name Line of the customer to which this buyer / contact person belongs.<br /></p> + public string parentCustomerName1 { get; init; } + /// + /// <p>Second Name Line of the customer to which this buyer / contact person belongs.<br /></p> + /// + /// <p>Second Name Line of the customer to which this buyer / contact person belongs.<br /></p> + public string parentCustomerName2 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..1d2c62deda3dbd3675b0cd3d9ad0c7c49599c77a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDOKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique identifier for the customer.<br /></p> + /// + /// <p>A unique identifier for the customer.<br /></p> + public string customerID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization.cs new file mode 100644 index 0000000000000000000000000000000000000000..10224b254688f0bd1b8443302e69f1265a474f74 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomOrganization.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// Organization <p>Additional data for the organization if the customer is a organization.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomOrganization { + /// + /// <p>An organization's legal trade name.<br /></p> + /// + /// <p>An organization's legal trade name.<br /></p> + public string name { get; init; } + /// + /// <p>Legal status code is a code which is used to define a tax classification of the customer. It specifies the kind of treatment for tax purpose.<br /></p> + /// + /// <p>Legal status code is a code which is used to define a tax classification of the customer. It specifies the kind of treatment for tax purpose.<br /></p> + public string legalStatusCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole.cs new file mode 100644 index 0000000000000000000000000000000000000000..1e0b7cd195f009ae6c5a4ddc23d5cd61b8e9c3ba --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartnerRole <p>PartnerRole.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerDtoDomPartnerRole { + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + public string partnerParentCustomerID { get; init; } + /// + /// <p>The type of the partner role.<br /></p> + /// + /// <p>The type of the partner role.<br /></p> + public string partnerRoleTypeCode { get; init; } + /// + /// <p>Determines whether this partner role is the default one in case that multiple partner roles exist.<br /></p> + /// + /// <p>Determines whether this partner role is the default one in case that multiple partner roles exist.<br /></p> + public bool? defaultFlag { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..993d91d2b97ff6d7e441aab7b3634d9a8d2bd67c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO.cs @@ -0,0 +1,178 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerTenderGroupDO <p>Customer tender rule is used for assigning 0..n tenders to a group which can be assigned to a customer. By this way customer-dependent tenders can be reached.<br /> This grouping has no relation with the already existing tender groups.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOkey key { get; init; } + /// + /// <p>Description of the customer tender group<br /></p> + /// + /// <p>Description of the customer tender group<br /></p> + public string customerTenderGroupDescription { get; init; } + /// + /// <p>Determinates whether the customer tender group is to be used as default. (This flag must be set for exactly one row of the table.)<br /></p> + /// + /// <p>Determinates whether the customer tender group is to be used as default. (This flag must be set for exactly one row of the table.)<br /></p> + public bool? defaultFlag { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..51243491a95ea6612ab5c507a5ac6259bec6df65 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerTenderGroupDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomCustomerTenderGroupDOKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique identifier of the customer tender group<br /></p> + /// + /// <p>A unique identifier of the customer tender group<br /></p> + public string customerTenderGroupCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..e090d4bb04a3cf76dacf5a4729a62f2108229c37 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO.cs @@ -0,0 +1,203 @@ +namespace POSGkSwaggerModel +{ + /// + /// DenominationDO <p>Specifies the quantitative value of the referenced CURRENCY media.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDO { + /// + /// <p>Type code of denomination:<br /></p><br /><ul><br /> <li> COIN(COIN)</li><br /> <li> NOTE(NOTE)</li><br /> <li> AMOUNT(AMOU)</li><br /></ul> + /// + /// <p>Type code of denomination:<br /></p><br /><ul><br /> <li> COIN(COIN)</li><br /> <li> NOTE(NOTE)</li><br /> <li> AMOUNT(AMOU)</li><br /></ul> + public typeCodeEnum typeCode { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOkey key { get; init; } + /// + /// <p>A description of the quantitative value of a specific currency.<br /></p> + /// + /// <p>A description of the quantitative value of a specific currency.<br /></p> + public string description { get; init; } + /// + /// <p>The quantitative value of a specific currency.<br /></p> + /// + /// <p>The quantitative value of a specific currency.<br /></p> + public double? pieceValue { get; init; } + /// + /// <p>Determines whether rolls are available.<br /></p> + /// + /// <p>Determines whether rolls are available.<br /></p> + public bool? rollAvailableFlag { get; init; } + /// + /// <p>Count of coins in the roll.<br /></p> + /// + /// <p>Count of coins in the roll.<br /></p> + public int? rollCapacity { get; init; } + /// + /// <p>List of translations for the denomination.<br /></p> + /// + /// <p>List of translations for the denomination.<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..887c215ebfe86d986f4f9fd143ebc4eb5f90424a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// DenominationDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdDenominationDtoDomDenominationDOKey { + /// + /// <p>An identifier which uniquely identifies the quantitative value of a specific currency, e.g. $100, £50, etc.<br /></p> + /// + /// <p>An identifier which uniquely identifies the quantitative value of a specific currency, e.g. $100, £50, etc.<br /></p> + public string denominationID { get; init; } + /// + /// <p>Currency code designated by ISO to identify national currency<br /></p> + /// + /// <p>Currency code designated by ISO to identify national currency<br /></p> + public string currencyCode { get; init; } + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7229000bd91bfec521d9620fa0196ef5e762759 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// DynamicTableauItemListUpdateView <p>TODO<br /></p> + /// + public record comGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateView { + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + public string itemListId { get; init; } + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string lastUpdateTimestamp { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria.cs new file mode 100644 index 0000000000000000000000000000000000000000..5ff6006c956d5384868055fd906c03654fc3d3bb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// DynamicTableauItemListUpdateViewCriteria <p>Search criteria<br /></p> + /// + public record comGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListUpdateViewCriteria { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupId { get; init; } + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + public List ItemListIdList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView.cs new file mode 100644 index 0000000000000000000000000000000000000000..9987991ab65a68fe029e066ee419225ac0048cfe --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// DynamicTableauItemListView <p>View object<br /></p> + /// + public record comGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListView { + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The qualifier for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + public string itemListId { get; init; } + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The timestamp for the last change of the dynamic item list.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string lastUpdateTimestamp { get; init; } + /// + /// <p>The list of pos uom item views for a given tableau<br /></p> + /// + /// <p>The list of pos uom item views for a given tableau<br /></p> + public List PosUomItemList { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListDO<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria.cs new file mode 100644 index 0000000000000000000000000000000000000000..ec694840028f4f00d70b1ebcb8879504fd73f29f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// DynamicTableauItemListViewCriteria <p>Search criteria<br /></p> + /// + public record comGkSoftwareGkrApiServerMdDynamicTableauDtoDomDynamicTableauItemListViewCriteria { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupId { get; init; } + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + /// + /// <p>The list of qualifiers for the name of the dynamic item list. E.g. 'Vegetable'.<br /></p> + public List ItemListIdList { get; init; } + /// + /// <p>List of language ids.<br /></p> + /// + /// <p>List of language ids.<br /></p> + public List LanguageIdList { get; init; } + /// + /// <p>List of text classes.<br /></p> + /// + /// <p>List of text classes.<br /></p> + public List TextClassList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView.cs new file mode 100644 index 0000000000000000000000000000000000000000..2dd209d08f70950a5b67ce37d5ba5c244527465d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUomItemTextView <p>Pos uom item text view.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemTextView { + /// + /// <p>Translation text<br /></p> + /// + /// <p>Translation text<br /></p> + public string text { get; init; } + /// + /// <p>Text class<br /></p> + /// + /// <p>Text class<br /></p> + public string textClass { get; init; } + /// + /// <p>Language id<br /></p> + /// + /// <p>Language id<br /></p> + public string languageId { get; init; } + /// + /// <p>text number<br /></p> + /// + /// <p>text number<br /></p> + public int? textNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView.cs new file mode 100644 index 0000000000000000000000000000000000000000..40b76753f652883d15dc7d553eee81b8e6136d31 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView.cs @@ -0,0 +1,483 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUomItemView <p>Pos uom item view.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdDynamicTableauDtoDomPosUomItemView { + /// + /// <p>The ID used to identify the item.<br /></p> + /// + /// <p>The ID used to identify the item.<br /></p> + public string posItemId { get; init; } + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + public string itemId { get; init; } + /// + /// <p>Main POS item id<br /></p> + /// + /// <p>Main POS item id<br /></p> + public string mainPosItemId { get; init; } + /// + /// <p>The uom item text list<br /></p> + /// + /// <p>The uom item text list<br /></p> + public List UomItemTextList { get; init; } + /// + /// <p>The uom item name<br /></p> + /// + /// <p>The uom item name<br /></p> + public string uomItemName { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom01 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom02 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom03 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom04 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom05 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom06 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom07 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom08 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom09 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom10 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom11 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom12 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom13 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom14 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom15 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom16 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom17 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom18 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom19 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom20 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom21 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom22 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom23 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom24 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom25 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom26 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom27 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom28 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom29 { get; init; } + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + /// + /// <p>Customizable information for DynamicTableauItemListItemDO<br /></p> + public string itemListItemXXCustom30 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom01 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom02 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom03 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom04 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom05 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom06 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom07 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom08 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom09 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom10 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom11 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom12 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom13 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom14 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom15 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom16 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom17 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom18 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom19 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom20 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom21 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom22 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom23 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom24 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom25 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom26 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom27 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom28 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom29 { get; init; } + /// + /// <p>Customizable information for ItemSO<br /></p> + /// + /// <p>Customizable information for ItemSO<br /></p> + public string itemXXCustom30 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom01 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom02 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom03 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom04 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom05 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom06 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom07 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom08 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom09 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom10 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom11 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom12 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom13 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom14 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom15 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom16 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom17 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom18 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom19 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom20 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom21 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom22 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom23 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom24 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom25 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom26 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom27 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom28 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom29 { get; init; } + /// + /// <p>Customizable information for UomItemSO<br /></p> + /// + /// <p>Customizable information for UomItemSO<br /></p> + public string uomItemXXCustom30 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..855dc9bece038d2a7aa7ece1d076e29f909af460 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO.cs @@ -0,0 +1,78 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExchangeRateDO <p>A exchange rate expresses the quantitative conversion factor between two kinds of currency, one which must be the store's home currency.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDO { + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + public originEnum? origin { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOkey key { get; init; } + /// + /// <p>The unique system assigned identifier of the source currency.<br /></p> + /// + /// <p>The unique system assigned identifier of the source currency.<br /></p> + public string fromCurrencyID { get; init; } + /// + /// <p>The unique system assigned identifier of the destination currency.<br /></p> + /// + /// <p>The unique system assigned identifier of the destination currency.<br /></p> + public string toCurrencyID { get; init; } + /// + /// <p>The date on which a specific exchange rate becomes effective.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date on which a specific exchange rate becomes effective.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string exchangeRateEffectiveDate { get; init; } + /// + /// <p>Date on which the exchange rate expires and is no longer valid.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date on which the exchange rate expires and is no longer valid.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string exchangeRateExpirationDate { get; init; } + /// + /// <p>The buying rate of the tender type, based on the store's local currency.<br /></p> + /// + /// <p>The buying rate of the tender type, based on the store's local currency.<br /></p> + public double? toBuyAmount { get; init; } + /// + /// <p>Determines whether inside the calculation FromCurrencyCode -&gt; ToCurrencyCode the amount is to be multiplied with (true) or divided by (false) the ToBuyAmount / ToSellAmount<br /></p> + /// + /// <p>Determines whether inside the calculation FromCurrencyCode -&gt; ToCurrencyCode the amount is to be multiplied with (true) or divided by (false) the ToBuyAmount / ToSellAmount<br /></p> + public bool? multiplyFlag { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..abf05e284a9568f351d870a32c4b99694d6be849 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExchangeRateDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdExchangeRateDtoDomExchangeRateDOKey { + /// + /// <p>The identifier for a group of business units.<br /></p> + /// + /// <p>The identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The unique identifier of the source currency.<br /></p> + /// + /// <p>The unique identifier of the source currency.<br /></p> + public string fromCurrencyCode { get; init; } + /// + /// <p>The unique identifier of the destination currency.<br /></p> + /// + /// <p>The unique identifier of the destination currency.<br /></p> + public string toCurrencyCode { get; init; } + /// + /// <p>A sequence number denoting the order in which Exchange rate records were created for this pairing of currencies.<br /></p> + /// + /// <p>A sequence number denoting the order in which Exchange rate records were created for this pairing of currencies.<br /></p> + public int? sequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..72e5ef0a4d8dae6e0bd9dacf681e77003cc8b2a1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO.cs @@ -0,0 +1,58 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificateClassDO <p>Gift certificate class<br /></p> + /// + public record comGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOkey key { get; init; } + /// + /// <p>Describes a gift certificate type<br /></p> + /// + /// <p>Describes a gift certificate type<br /></p> + public string typeDescription { get; init; } + /// + /// <p>List of translations.<br /></p> + /// + /// <p>List of translations.<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c9e9e0cc1b3fafc09f0e0e60ee3bb18ea49c238 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificateClassDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdGiftCertificateClassDtoDomGiftCertificateClassDOKey { + /// + /// <p>Identifies a gift certificate type.<br /></p> + /// + /// <p>Identifies a gift certificate type.<br /></p> + public string giftCertificateTypeCode { get; init; } + /// + /// <p>ID of the business unit group<br /></p> + /// + /// <p>ID of the business unit group<br /></p> + public string businessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic.cs new file mode 100644 index 0000000000000000000000000000000000000000..e44048457a9e281fae0b41e470be943339714e6b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemCharacteristic <p>Reference to a characteristic of this item.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristic { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristickey key { get; init; } + /// + /// <p>The name of the characteristic value (e.g. 'black', '38').<br /></p> + /// + /// <p>The name of the characteristic value (e.g. 'black', '38').<br /></p> + public string characteristicValueName { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..3ee46db9b4cb0e26a78c48960bf3c2bcd0c809a7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemCharacteristic.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCharacteristicKey { + /// + /// <p>The identifier of the characteristic (e.g. 'color', 'size').<br /></p> + /// + /// <p>The identifier of the characteristic (e.g. 'color', 'size').<br /></p> + public string characteristicId { get; init; } + /// + /// <p>The identifier of the characteristic value.<br /></p> + /// + /// <p>The identifier of the characteristic value.<br /></p> + public string characteristicValueId { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection.cs new file mode 100644 index 0000000000000000000000000000000000000000..96b088e1d5d0f03dbc963549cb3281cb9be2267d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemCollection <p>Structured items (e.g. display items) consist of other items (collection members). The item collection contains references to these members.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollection { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionkey key { get; init; } + /// + /// <p>The number of individual member items that are assembled into the collection<br /></p> + /// + /// <p>The number of individual member items that are assembled into the collection<br /></p> + public double? quantity { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..647af19fc40d29ba8abe5c2601d90a7cdb5c982e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemCollection.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemCollectionKey { + /// + /// <p>Item ID of the collection member<br /></p> + /// + /// <p>Item ID of the collection member<br /></p> + public string memberItemId { get; init; } + /// + /// <p>Unit of measure of the collection member<br /></p> + /// + /// <p>Unit of measure of the collection member<br /></p> + public string memberUOMCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..cf27bbbb147a6d182fb071d377d2e6aab237cf5d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO.cs @@ -0,0 +1,862 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemDO <p>This object contains item data for one specific unit of measure. The object is a projection from the item domain object.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO { + /// + /// <p>A code to denote the tax exemption status from sales and use tax.<br /> (00/null - normal, item is taxable, 01 - no tax).<br /></p> + /// + /// <p>A code to denote the tax exemption status from sales and use tax.<br /> (00/null - normal, item is taxable, 01 - no tax).<br /></p> + public taxExemptCodeEnum? taxExemptCode { get; init; } + /// + /// <p>Deposit type of the item.<br /></p> + /// + /// <p>Deposit type of the item.<br /></p> + public depositTypeCodeEnum? depositTypeCode { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOkey key { get; init; } + /// + /// <p>Localized Unit of measure name.<br /></p> + /// + /// <p>Localized Unit of measure name.<br /></p> + public string uomName { get; init; } + /// + /// <p>The name by which the item is known.<br /></p> + /// + /// <p>The name by which the item is known.<br /></p> + public string name { get; init; } + /// + /// <p>The textural description of the item.<br /></p> + /// + /// <p>The textural description of the item.<br /></p> + public string description { get; init; } + /// + /// <p>Class code (eg. empties, fresh food). Usage example: Via customizing is possible to disable the registration of items with this class code.<br /></p> + /// + /// <p>Class code (eg. empties, fresh food). Usage example: Via customizing is possible to disable the registration of items with this class code.<br /></p> + public string classCode { get; init; } + /// + /// <p>A tax group which links a tax authority to the merchandise to which the tax applies.<br /> If no taxGroupID is delivered, the taxGroup with 0% is to be searched out and used. If no taxGroup with 0% exists, the import of the item fails.<br /></p> + /// + /// <p>A tax group which links a tax authority to the merchandise to which the tax applies.<br /> If no taxGroupID is delivered, the taxGroup with 0% is to be searched out and used. If no taxGroup with 0% exists, the import of the item fails.<br /></p> + public string taxGroupID { get; init; } + /// + /// <p>An alternative tax group which links a tax authority to the merchandise to which the tax applies.<br /></p> + /// + /// <p>An alternative tax group which links a tax authority to the merchandise to which the tax applies.<br /></p> + public string alternativeTaxGroupID { get; init; } + /// + /// <p>The Taxable Group Receipt Print Code.<br /></p> + /// + /// <p>The Taxable Group Receipt Print Code.<br /></p> + public string taxGroupReceiptPrintCode { get; init; } + /// + /// <p>Specifies the category of the item (e.g. single item, item variant, display).<br /></p> + /// + /// <p>Specifies the category of the item (e.g. single item, item variant, display).<br /></p> + public string itemUsageTypeCode { get; init; } + /// + /// <p>The duration of the item's warranty in months<br /></p> + /// + /// <p>The duration of the item's warranty in months<br /></p> + public double? warrantyPeriod { get; init; } + /// + /// <p>Defines the number of weight units of measure for the tare.<br /></p> + /// + /// <p>Defines the number of weight units of measure for the tare.<br /></p> + public string tareId { get; init; } + /// + /// <p>Tare UOM code.<br /></p> + /// + /// <p>Tare UOM code.<br /></p> + public string tareUomCode { get; init; } + /// + /// <p>Reference to the POSDepartment the item belongs to<br /></p> + /// + /// <p>Reference to the POSDepartment the item belongs to<br /></p> + public string posDepartmentID { get; init; } + /// + /// <p>The main POS item identifier<br /></p> + /// + /// <p>The main POS item identifier<br /></p> + public string mainPOSItemId { get; init; } + /// + /// <p>References the default merchandise hierarchy group the item belongs to<br /></p> + /// + /// <p>References the default merchandise hierarchy group the item belongs to<br /></p> + public string mainMerchandiseHierarchyGroupID { get; init; } + /// + /// <p>Localized default merchandise hierarchy group name.<br /></p> + /// + /// <p>Localized default merchandise hierarchy group name.<br /></p> + public string mainMerchandiseHierarchyGroupName { get; init; } + /// + /// <p>Localized default merchandise hierarchy group description.<br /></p> + /// + /// <p>Localized default merchandise hierarchy group description.<br /></p> + public string mainMerchandiseHierarchyGroupDescription { get; init; } + /// + /// <p>Selling rules for this item<br /></p> + /// + /// <p>Selling rules for this item<br /></p> + public ComGkSoftwareSweeSesApiServerMditemSellingRuleDtoSoitemSellingRuleSO itemSellingRule { get; init; } + /// + /// <p>This code defines the current state of an item within the retail store.<br /> An item's state limits what actions may be taken on an item in terms of ordering, receiving, selling, returns, transfers, counting and so on.<br /> Sample statuses include active, inactive, discontinued, pending, etc.<br /></p> + /// + /// <p>This code defines the current state of an item within the retail store.<br /> An item's state limits what actions may be taken on an item in terms of ordering, receiving, selling, returns, transfers, counting and so on.<br /> Sample statuses include active, inactive, discontinued, pending, etc.<br /></p> + public string statusCode { get; init; } + /// + /// <p>List of item collections<br /></p> + /// + /// <p>List of item collections<br /></p> + public List ItemCollectionList { get; init; } + /// + /// <p>List of the item associations<br /></p> + /// + /// <p>List of the item associations<br /></p> + public List RelatedItemAssociationList { get; init; } + /// + /// <p>List of item characteristics with values<br /></p> + /// + /// <p>List of item characteristics with values<br /></p> + public List ItemCharacteristicList { get; init; } + /// + /// Gets or Sets ItemFeatureList + /// + public List ItemFeatureList { get; init; } + /// + /// <p>List of POS item ID's (EANs)<br /></p> + /// + /// <p>List of POS item ID's (EANs)<br /></p> + public List PosIdentityList { get; init; } + /// + /// <p>List of selling prices<br /></p> + /// + /// <p>List of selling prices<br /></p> + public List SellingPriceList { get; init; } + /// + /// <p>List of deposits<br /></p> + /// + /// <p>List of deposits<br /></p> + public List ItemDepositCollectionList { get; init; } + /// + /// <p>List of text to UOMItem<br /></p> + /// + /// <p>List of text to UOMItem<br /></p> + public List UomItemTextList { get; init; } + /// + /// <p>List of merchandise hierarchy groups<br /></p> + /// + /// <p>List of merchandise hierarchy groups<br /></p> + public List ItemMHGList { get; init; } + /// + /// <p>Sales restriction for this item<br /></p> + /// + /// <p>Sales restriction for this item<br /></p> + public List SalesRestrictionList { get; init; } + /// + /// <p>Determines whether the item is inventory-tracked<br /></p> + /// + /// <p>Determines whether the item is inventory-tracked<br /></p> + public bool? updateStockFlag { get; init; } + /// + /// <p>Code of the base unit of measure. The base unit of measure is automatically selected if the item is registered by ItemID.<br /></p> + /// + /// <p>Code of the base unit of measure. The base unit of measure is automatically selected if the item is registered by ItemID.<br /></p> + public string baseUOMCode { get; init; } + /// + /// <p>Determines whether this item cannot be considered within physical inventories<br /></p> + /// + /// <p>Determines whether this item cannot be considered within physical inventories<br /></p> + public bool? prohibitedForPhysicalInventoryFlag { get; init; } + /// + /// <p>The number of business days the SHELF ITEM may be displayed for sale to customers and after which must be removed.<br /> This attribute is used for perishable produce items, drugs, and other time sensitive items (like newspapers).<br /></p> + /// + /// <p>The number of business days the SHELF ITEM may be displayed for sale to customers and after which must be removed.<br /> This attribute is used for perishable produce items, drugs, and other time sensitive items (like newspapers).<br /></p> + public int? minimumShelfLifeDayCount { get; init; } + /// + /// <p>Type of the label<br /></p> + /// + /// <p>Type of the label<br /></p> + public string labelType { get; init; } + /// + /// <p>A code which is used by the loyalty engine in order to determine whether the item can get rebate/points. Possible values: 0..9<br /></p> + /// + /// <p>A code which is used by the loyalty engine in order to determine whether the item can get rebate/points. Possible values: 0..9<br /></p> + public string discountTypeCode { get; init; } + /// + /// <p>Time range (count of days) between production date and best-before date<br /></p> + /// + /// <p>Time range (count of days) between production date and best-before date<br /></p> + public int? globalLifeDayCount { get; init; } + /// + /// <p>Percentage for calculating the shelf life day count<br /></p> + /// + /// <p>Percentage for calculating the shelf life day count<br /></p> + public double? shelfLifeDayCountPercent { get; init; } + /// + /// <p>The unit of measure of the 'day count' elements (day or week)<br /></p> + /// + /// <p>The unit of measure of the 'day count' elements (day or week)<br /></p> + public string dayCountUOMCode { get; init; } + /// + /// <p>Default receiving place<br /></p> + /// + /// <p>Default receiving place<br /></p> + public string defaultReceivingLocation { get; init; } + /// + /// <p>Defines whether the item is a concession item. Concession items are not maintained by the retailer, but by a vendor itself. E.g. snacks and food in vending machines.<br /></p> + /// + /// <p>Defines whether the item is a concession item. Concession items are not maintained by the retailer, but by a vendor itself. E.g. snacks and food in vending machines.<br /></p> + public bool? concessionItemFlag { get; init; } + /// + /// <p>Defines whether the item is a cost item<br /></p> + /// + /// <p>Defines whether the item is a cost item<br /></p> + public bool? costItemFlag { get; init; } + /// + /// <p>Determines the merchandise planning - the way, how the item is ordered (automatically, manually, not orderable, ..).<br /></p> + /// + /// <p>Determines the merchandise planning - the way, how the item is ordered (automatically, manually, not orderable, ..).<br /></p> + public string merchandisePlanningTypeCode { get; init; } + /// + /// <p>Reference to the main supplier of this item<br /></p> + /// + /// <p>Reference to the main supplier of this item<br /></p> + public string mainSupplierId { get; init; } + /// + /// <p>Determines whether this item is sold via VENSAFE.<br /></p> + /// + /// <p>Determines whether this item is sold via VENSAFE.<br /></p> + public bool? venSafeFlag { get; init; } + /// + /// <p>Consumer package gross content of the base UOM of the item<br /></p><br /><pre> * e.g. can of peaches<br /> * gross content = 500<br /> * net content = 385<br /> * contents UOM = ml<br /></pre> + /// + /// <p>Consumer package gross content of the base UOM of the item<br /></p><br /><pre> * e.g. can of peaches<br /> * gross content = 500<br /> * net content = 385<br /> * contents UOM = ml<br /></pre> + public double? baseUOMConsumerPackageGrossContent { get; init; } + /// + /// <p>The consumer package content, as claimed on the label. e.g. Evian Water 750ml - net content = '750 MLT' 20 count pack of diapers, net content = '20 ea.'<br /></p> + /// + /// <p>The consumer package content, as claimed on the label. e.g. Evian Water 750ml - net content = '750 MLT' 20 count pack of diapers, net content = '20 ea.'<br /></p> + public double? baseUOMConsumerPackageNetContent { get; init; } + /// + /// <p>Net/gross contents uom<br /></p> + /// + /// <p>Net/gross contents uom<br /></p> + public string baseUOMConsumerPackageContentsUOMCode { get; init; } + /// + /// <p>Quantity measured in ConsumerPackageBasePriceUOMCode units for which the base price is to be determined<br /></p><br /><p>Example:<br /></p><br /><pre> * base price UOM = g<br /> * base price content = 100<br /> * base price = 2,99<br /> * ==&gt; base price = 2,99 per 100 g<br /></pre> + /// + /// <p>Quantity measured in ConsumerPackageBasePriceUOMCode units for which the base price is to be determined<br /></p><br /><p>Example:<br /></p><br /><pre> * base price UOM = g<br /> * base price content = 100<br /> * base price = 2,99<br /> * ==&gt; base price = 2,99 per 100 g<br /></pre> + public double? baseUOMConsumerPackageBasePriceContent { get; init; } + /// + /// <p>Base price contents unit of measure<br /></p> + /// + /// <p>Base price contents unit of measure<br /></p> + public string baseUOMConsumerPackageBasePriceContentsUOMCode { get; init; } + /// + /// <p>Identifier of the distributing warehouse (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the distributing warehouse (used in the purchase order process)<br /></p> + public string distributingWarehouseID { get; init; } + /// + /// <p>Identifier of the distribution method (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the distribution method (used in the purchase order process)<br /></p> + public string distributionMethodID { get; init; } + /// + /// <p>Identifier of the assortment (used e.g. in the purchase order process)<br /></p> + /// + /// <p>Identifier of the assortment (used e.g. in the purchase order process)<br /></p> + public string assortmentID { get; init; } + /// + /// <p>Identifier of the 3rd party assortment (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the 3rd party assortment (used in the purchase order process)<br /></p> + public string thirdPartyAssortmentID { get; init; } + /// + /// <p>Identifier of the transport association (used in the purchase order process)<br /></p> + /// + /// <p>Identifier of the transport association (used in the purchase order process)<br /></p> + public string transportAssociationID { get; init; } + /// + /// <p>If the item is a concession item, this is the reference to its supplier<br /></p> + /// + /// <p>If the item is a concession item, this is the reference to its supplier<br /></p> + public string concessionItemSupplierID { get; init; } + /// + /// <p>The default selling unit of measure of the item<br /></p> + /// + /// <p>The default selling unit of measure of the item<br /></p> + public string defaultSellingUOMCode { get; init; } + /// + /// <p>Numerator for the conversion into base unit of measure<br /></p> + /// + /// <p>Numerator for the conversion into base unit of measure<br /></p> + public int? conversionNumerator { get; init; } + /// + /// <p>Denominator for the conversion into base unit of measure<br /></p> + /// + /// <p>Denominator for the conversion into base unit of measure<br /></p> + public int? conversionDenominator { get; init; } + /// + /// <p>The weight of the consumer package, including packaging<br /></p> + /// + /// <p>The weight of the consumer package, including packaging<br /></p> + public double? consumerPackageGrossWeight { get; init; } + /// + /// <p>The weight of the consumer package, excluding packaging<br /></p> + /// + /// <p>The weight of the consumer package, excluding packaging<br /></p> + public double? consumerPackageNetWeight { get; init; } + /// + /// <p>Weight unit of measure<br /></p> + /// + /// <p>Weight unit of measure<br /></p> + public string consumerPackageWeightUOMCode { get; init; } + /// + /// <p>The consumer package volume<br /></p> + /// + /// <p>The consumer package volume<br /></p> + public double? consumerPackageVolume { get; init; } + /// + /// <p>Volume unit of measure<br /></p> + /// + /// <p>Volume unit of measure<br /></p> + public string consumerPackageVolumeUOMCode { get; init; } + /// + /// <p>The dimension from front to back of the consumer package<br /></p> + /// + /// <p>The dimension from front to back of the consumer package<br /></p> + public double? consumerPackageDepth { get; init; } + /// + /// <p>The dimension from left to right of the consumer package<br /></p> + /// + /// <p>The dimension from left to right of the consumer package<br /></p> + public double? consumerPackageWidth { get; init; } + /// + /// <p>The dimension from top to bottom of the consumer package<br /></p> + /// + /// <p>The dimension from top to bottom of the consumer package<br /></p> + public double? consumerPackageHeight { get; init; } + /// + /// <p>The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken.<br /></p> + /// + /// <p>The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken.<br /></p> + public string consumerPackageSizeUOMCode { get; init; } + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + public string outerPackageTypeCode { get; init; } + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + /// + /// <p>Typecode of the outer package of the item, is used for label printing<br /></p> + public string headOfficeCarryRequirementTypeCode { get; init; } + /// + /// <p>Handling typecode<br /></p> + /// + /// <p>Handling typecode<br /></p> + public string handlingTypeCode { get; init; } + /// + /// <p>Date when the status becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date when the status becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string statusEffectiveDate { get; init; } + /// + /// <p>Maximum stock quantity<br /></p> + /// + /// <p>Maximum stock quantity<br /></p> + public double? maximumStockQuantity { get; init; } + /// + /// <p>Minimum stock quantity<br /></p> + /// + /// <p>Minimum stock quantity<br /></p> + public double? minimumStockQuantity { get; init; } + /// + /// <p>Date when the listing becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date when the listing becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string listingEffectiveDate { get; init; } + /// + /// <p>Last date when the item is available for ordering<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Last date when the item is available for ordering<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string listingExpirationDate { get; init; } + /// + /// <p>List of all Customer Specific Prices for this item.<br /></p> + /// + /// <p>List of all Customer Specific Prices for this item.<br /></p> + public List PriceContractReadList { get; init; } + /// + /// <p>The Customer Specific Price for given timestamp (if specified, null otherwise).<br /></p> + /// + /// <p>The Customer Specific Price for given timestamp (if specified, null otherwise).<br /></p> + public ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO selectedPriceContractRead { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM30 { get; init; } + /// + /// <p>HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.<br /></p> + /// + /// <p>HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.<br /></p> + public string hsncode { get; init; } + /// + /// <p>Denotes if RFID method is called and stock is updated.<br /></p><br /><ul><br /> <li>true: The RFID method is called.</li><br /> <li>false: The RFID method is not called.</li><br /></ul> + /// + /// <p>Denotes if RFID method is called and stock is updated.<br /></p><br /><ul><br /> <li>true: The RFID method is called.</li><br /> <li>false: The RFID method is not called.</li><br /></ul> + public bool? rfidflag { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string bulkITEMXXCUSTOM30 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..79f7fdb92e523a4e979174d19dc2b8cb4e8ca33c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDOKey { + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + public string itemID { get; init; } + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + public string uomCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection.cs new file mode 100644 index 0000000000000000000000000000000000000000..f060ed55b4dfb6649ac5fee2958a6c82c9a2e096 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemDepositCollection <p>Item deposit collection contains a reference to the deposit item connected to this item (e.g. reference to the bottle for a beer).<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollection { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionkey key { get; init; } + /// + /// <p>The number of individual member items that are assembled in this deposit collection.<br /></p> + /// + /// <p>The number of individual member items that are assembled in this deposit collection.<br /></p> + public double? perAssemblyCount { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c41072e38784113a4e4249ae01d639898df7dd32 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemDepositCollection.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDepositCollectionKey { + /// + /// <p>Reference to the member of the deposit collection<br /></p> + /// + /// <p>Reference to the member of the deposit collection<br /></p> + public string memberItemId { get; init; } + /// + /// <p>The unit of measure of the member item<br /></p> + /// + /// <p>The unit of measure of the member item<br /></p> + public string memberUOMCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature.cs new file mode 100644 index 0000000000000000000000000000000000000000..fba335cf09beb9ffa7e3fa93751cb5d75109bca7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature.cs @@ -0,0 +1,17 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemFeature <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeature { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeaturekey key { get; init; } + /// + /// Gets or Sets FeatureValue + /// + public string featureValue { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0bde4b6c145bb16fe1894cd606a91405f8d9aa8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey.cs @@ -0,0 +1,12 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemFeature.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemFeatureKey { + /// + /// Gets or Sets FeatureCode + /// + public string featureCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG.cs new file mode 100644 index 0000000000000000000000000000000000000000..c25fa5cf633060105caf3c0f647036363427e094 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemMHG <p>Relation of this item to a merchandise hierarchy group<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHG { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGkey key { get; init; } + /// + /// <p>Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id<br /></p> + /// + /// <p>Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id<br /></p> + public string merchandiseHierarchyGroupIDQualifier { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM17 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..90035eda1ece0960cead50184c27405558773387 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemMHG.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemMHGKey { + /// + /// <p>Unique system assigned identifier for a group or class of merchandise.<br /></p> + /// + /// <p>Unique system assigned identifier for a group or class of merchandise.<br /></p> + public string merchandiseHierarchyGroupId { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity.cs new file mode 100644 index 0000000000000000000000000000000000000000..679be09c69d8c707fe594cc9b2a8a572f3914952 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemPosIdentity <p>POS identity used for the item registration<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentity { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentitykey key { get; init; } + /// + /// <p>type code of the POS identity<br /></p><br /><pre> * ('10' for internally generated POS identity with POSItemID = itemID )<br /></pre> + /// + /// <p>type code of the POS identity<br /></p><br /><pre> * ('10' for internally generated POS identity with POSItemID = itemID )<br /></pre> + public string posIdentityTypeCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM17 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..dddc18314089ef340e960b1074c977f83c38abed --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemPosIdentity.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemPosIdentityKey { + /// + /// <p>POS item id is a token identifier to facilitate price lookup and does not contain any descriptive information.<br /></p> + /// + /// <p>POS item id is a token identifier to facilitate price lookup and does not contain any descriptive information.<br /></p> + public string posItemId { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation.cs new file mode 100644 index 0000000000000000000000000000000000000000..085086c1e061ec1686a4fb08c937030278b9b005 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation.cs @@ -0,0 +1,141 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemRelatedItemAssociation <p>Association to a related item<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociation { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationkey key { get; init; } + /// + /// Gets or Sets SubTypeCode + /// + public string subTypeCode { get; init; } + /// + /// Gets or Sets RootItemId + /// + public string rootItemId { get; init; } + /// + /// Gets or Sets XxCUSTOM18 + /// + public string xxCUSTOM18 { get; init; } + /// + /// Gets or Sets XxCUSTOM19 + /// + public string xxCUSTOM19 { get; init; } + /// + /// Gets or Sets XxCUSTOM20 + /// + public string xxCUSTOM20 { get; init; } + /// + /// Gets or Sets XxCUSTOM21 + /// + public string xxCUSTOM21 { get; init; } + /// + /// Gets or Sets XxCUSTOM22 + /// + public string xxCUSTOM22 { get; init; } + /// + /// Gets or Sets XxCUSTOM23 + /// + public string xxCUSTOM23 { get; init; } + /// + /// Gets or Sets XxCUSTOM24 + /// + public string xxCUSTOM24 { get; init; } + /// + /// Gets or Sets XxCUSTOM25 + /// + public string xxCUSTOM25 { get; init; } + /// + /// Gets or Sets XxCUSTOM26 + /// + public string xxCUSTOM26 { get; init; } + /// + /// Gets or Sets XxCUSTOM27 + /// + public string xxCUSTOM27 { get; init; } + /// + /// Gets or Sets XxCUSTOM28 + /// + public string xxCUSTOM28 { get; init; } + /// + /// Gets or Sets XxCUSTOM29 + /// + public string xxCUSTOM29 { get; init; } + /// + /// Gets or Sets XxCUSTOM30 + /// + public string xxCUSTOM30 { get; init; } + /// + /// Gets or Sets XxCUSTOM01 + /// + public string xxCUSTOM01 { get; init; } + /// + /// Gets or Sets XxCUSTOM02 + /// + public string xxCUSTOM02 { get; init; } + /// + /// Gets or Sets XxCUSTOM03 + /// + public string xxCUSTOM03 { get; init; } + /// + /// Gets or Sets XxCUSTOM04 + /// + public string xxCUSTOM04 { get; init; } + /// + /// Gets or Sets XxCUSTOM05 + /// + public string xxCUSTOM05 { get; init; } + /// + /// Gets or Sets XxCUSTOM06 + /// + public string xxCUSTOM06 { get; init; } + /// + /// Gets or Sets XxCUSTOM07 + /// + public string xxCUSTOM07 { get; init; } + /// + /// Gets or Sets XxCUSTOM08 + /// + public string xxCUSTOM08 { get; init; } + /// + /// Gets or Sets XxCUSTOM09 + /// + public string xxCUSTOM09 { get; init; } + /// + /// Gets or Sets XxCUSTOM10 + /// + public string xxCUSTOM10 { get; init; } + /// + /// Gets or Sets XxCUSTOM11 + /// + public string xxCUSTOM11 { get; init; } + /// + /// Gets or Sets XxCUSTOM12 + /// + public string xxCUSTOM12 { get; init; } + /// + /// Gets or Sets XxCUSTOM13 + /// + public string xxCUSTOM13 { get; init; } + /// + /// Gets or Sets XxCUSTOM14 + /// + public string xxCUSTOM14 { get; init; } + /// + /// Gets or Sets XxCUSTOM15 + /// + public string xxCUSTOM15 { get; init; } + /// + /// Gets or Sets XxCUSTOM16 + /// + public string xxCUSTOM16 { get; init; } + /// + /// Gets or Sets XxCUSTOM17 + /// + public string xxCUSTOM17 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..33bbe36010b2609ccfeadde03422bfbef4fe7ac2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemRelatedItemAssociation.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemRelatedItemAssociationKey { + /// + /// <p>Reference to the related item.<br /></p> + /// + /// <p>Reference to the related item.<br /></p> + public string relatedItemId { get; init; } + /// + /// <p>Type of the association, e.g. 'VARIANT' for item variant association.<br /></p> + /// + /// <p>Type of the association, e.g. 'VARIANT' for item variant association.<br /></p> + public string associationTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..4715c7c3ec619886e8e1f0a3acc4341b4e172049 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemSearchCharacteristicFilter <p>Filter for Characteristics.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicFilter { + /// + /// <p>ID of the characteristic to be used for filtering (e.g. 'COLOR'). Wildcards are supported. The search is case insensitive.<br /></p> + /// + /// <p>ID of the characteristic to be used for filtering (e.g. 'COLOR'). Wildcards are supported. The search is case insensitive.<br /></p> + public string characteristicId { get; init; } + /// + /// <p>Value name of the characteristic to be used for filtering (e.g. 'red'). Wildcards are supported. The search is case insensitive.<br /></p> + /// + /// <p>Value name of the characteristic to be used for filtering (e.g. 'red'). Wildcards are supported. The search is case insensitive.<br /></p> + public string characteristicValueName { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView.cs new file mode 100644 index 0000000000000000000000000000000000000000..15cb213fc094ba7f079292b497329737a6be527f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemSearchCharacteristicView <p>Characteristic view.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicView { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewkey key { get; init; } + /// + /// <p>Value name of the characteristic.<br /></p> + /// + /// <p>Value name of the characteristic.<br /></p> + public string characteristicValueName { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..61a0651fea2d8797db7d37a2dd48521e6e8d5db7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemSearchCharacteristicView.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchCharacteristicViewKey { + /// + /// <p>ID of the characteristic.<br /></p> + /// + /// <p>ID of the characteristic.<br /></p> + public string characteristicId { get; init; } + /// + /// <p>Value ID of the characteristic.<br /></p> + /// + /// <p>Value ID of the characteristic.<br /></p> + public string characteristicValueId { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter.cs new file mode 100644 index 0000000000000000000000000000000000000000..83324230c65e83d4ccbbc01528d4db476274b796 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter.cs @@ -0,0 +1,380 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemSearchFilter <p>Filter for search view.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchFilter { + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + public string itemID { get; init; } + /// + /// <p>Item name which is searched in GK_BUG_ITEM_I8N_ITEM_TEXT.TEXT if exists, otherwise (if it is allowed by configuration) in AS_BSNGP_ITM.NM_ITM_GK. <br /></p> + /// + /// <p>Item name which is searched in GK_BUG_ITEM_I8N_ITEM_TEXT.TEXT if exists, otherwise (if it is allowed by configuration) in AS_BSNGP_ITM.NM_ITM_GK. <br /></p> + public string name { get; init; } + /// + /// <p>Merchandise Hierarchy Group Name which is searched in GK_I18N_TEXT.LOCALIZED_TEXT if exists, otherwise in CO_MRHRC_GP.NM_MRHRC_GP.<br /></p> + /// + /// <p>Merchandise Hierarchy Group Name which is searched in GK_I18N_TEXT.LOCALIZED_TEXT if exists, otherwise in CO_MRHRC_GP.NM_MRHRC_GP.<br /></p> + public string merchandiseHierarchyGroupName { get; init; } + /// + /// <p>Amount of the price.<br /></p> + /// + /// <p>Amount of the price.<br /></p> + public double? priceAmount { get; init; } + /// + /// <p>If true only items authorized for sale are searched (RU_ITM_SL.FL_AZN_FR_SLS is true). <br /></p> + /// + /// <p>If true only items authorized for sale are searched (RU_ITM_SL.FL_AZN_FR_SLS is true). <br /></p> + public bool? authorisedForSaleFlag { get; init; } + /// + /// <p>For filtering items with Item Collections. If true only items with Item Collection are searched. <br /></p> + /// + /// <p>For filtering items with Item Collections. If true only items with Item Collection are searched. <br /></p> + public bool? itemCollectionSet { get; init; } + /// + /// <p>For enabling/disabling case sensitivity for search in ItemID<br /> <br/><strong>Example</strong> - in DB are items where AS_BSNGP_ITM.ID_ITM = { A001, a001 }<br /><ul><li>caseSensitive=true: =&gt; only one: A001</li><li>caseSensitive=false: =&gt; returns both of them: A001, a001</li></ul><br /><br /></p> + /// + /// <p>For enabling/disabling case sensitivity for search in ItemID<br /> <br/><strong>Example</strong> - in DB are items where AS_BSNGP_ITM.ID_ITM = { A001, a001 }<br /><ul><li>caseSensitive=true: =&gt; only one: A001</li><li>caseSensitive=false: =&gt; returns both of them: A001, a001</li></ul><br /><br /></p> + public bool? itemIDCaseSensitive { get; init; } + /// + /// Gets or Sets ScaleDomainID + /// + public string scaleDomainID { get; init; } + /// + /// <p>For filtering according to the code of the POS identity. <br /></p> + /// + /// <p>For filtering according to the code of the POS identity. <br /></p> + public string posIdentityTypeCode { get; init; } + /// + /// <p>Search option whether the POS item identifier should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#posItemId} field in the view is always null.<br /></p> + /// + /// <p>Search option whether the POS item identifier should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#posItemId} field in the view is always null.<br /></p> + public bool? optionLoadPosIdentity { get; init; } + /// + /// <p>Search option whether the Characteristics should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#characteristicViewList} field in the view is always null.<br /></p> + /// + /// <p>Search option whether the Characteristics should be loaded and filled to provided view. If this flag is set to false the {@link PosUOMItemSearchView#characteristicViewList} field in the view is always null.<br /></p> + public bool? optionLoadCharacteristics { get; init; } + /// + /// <p>Filter for Characteristics.<br /></p> + /// + /// <p>Filter for Characteristics.<br /></p> + public List CharacteristicFilterList { get; init; } + /// + /// <p>Search option whether the {@link #itemID} should be used also for searching by Root Item ID in associations. It means that it searches all item with this root, in other words all child items for requested item.<br /></p> + /// + /// <p>Search option whether the {@link #itemID} should be used also for searching by Root Item ID in associations. It means that it searches all item with this root, in other words all child items for requested item.<br /></p> + public bool? searchItemIdInRootItemId { get; init; } + /// + /// Gets or Sets Offset + /// + public string offset { get; init; } + /// + /// Gets or Sets Limit + /// + public int? limit { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString uomITEMXXCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public IBasicFilterConditionString itemXXCUSTOM30 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView.cs new file mode 100644 index 0000000000000000000000000000000000000000..8ae4c9acbf81011c01a194b2d5117d74968b1637 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView.cs @@ -0,0 +1,380 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemSearchView <p>Simplified view for PosUOMItem.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchView { + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + public string itemID { get; init; } + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + public string uomCode { get; init; } + /// + /// <p>The name by which the item is known.<br /></p> + /// + /// <p>The name by which the item is known.<br /></p> + public string name { get; init; } + /// + /// <p>The main POS item identifier<br /></p> + /// + /// <p>The main POS item identifier<br /></p> + public string mainPOSItemId { get; init; } + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + public string unitOfMeasureName { get; init; } + /// + /// <p>Merchandise Hierarchy Group Name<br /></p> + /// + /// <p>Merchandise Hierarchy Group Name<br /></p> + public string merchandiseHierarchyGroupName { get; init; } + /// + /// <p>Amount of the price<br /></p> + /// + /// <p>Amount of the price<br /></p> + public double? priceAmount { get; init; } + /// + /// <p>Formatted price amount. To be filled by clients, not filled by server<br /></p> + /// + /// <p>Formatted price amount. To be filled by clients, not filled by server<br /></p> + public string formattedPriceAmount { get; init; } + /// + /// Gets or Sets PackagePriceQuantity + /// + public int? packagePriceQuantity { get; init; } + /// + /// Gets or Sets PriceGroupId + /// + public string priceGroupId { get; init; } + /// + /// <p>True if the item has an Item Collection.<br /></p> + /// + /// <p>True if the item has an Item Collection.<br /></p> + public bool? itemCollectionSet { get; init; } + /// + /// Gets or Sets DefaultSellingUnitOfMeasureCode + /// + public string defaultSellingUnitOfMeasureCode { get; init; } + /// + /// <p>The POS item identifier. Filled only when the {@link com.gk_software.gkr.api.server.md.item.dto.dom.pos.PosUOMItemSearchFilter#optionLoadPosIdentity}<br /> is set to true. <br /></p> + /// + /// <p>The POS item identifier. Filled only when the {@link com.gk_software.gkr.api.server.md.item.dto.dom.pos.PosUOMItemSearchFilter#optionLoadPosIdentity}<br /> is set to true. <br /></p> + public string posItemId { get; init; } + /// + /// <p>List of characteristic views.<br /></p> + /// + /// <p>List of characteristic views.<br /></p> + public List CharacteristicViewList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string uomITEMXXCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string itemXXCUSTOM30 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ff228329d9e8d40f608618b43d373c63d48784d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO.cs @@ -0,0 +1,186 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemSellingPriceDO <p>Selling price<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOkey key { get; init; } + /// + /// <p>Expiration (end) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration (end) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string priceExpirationDate { get; init; } + /// + /// <p>Amount of the price<br /></p> + /// + /// <p>Amount of the price<br /></p> + public double? priceAmount { get; init; } + /// + /// Gets or Sets PackagePriceQuantity + /// + public int? packagePriceQuantity { get; init; } + /// + /// Gets or Sets PriceGroupId + /// + public string priceGroupId { get; init; } + /// + /// <p>Additional information concerning the price (e.g. campaign number)<br /></p> + /// + /// <p>Additional information concerning the price (e.g. campaign number)<br /></p> + public string description { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM17 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ebfee11a9aa0d8f510eaaed13022604e6fa0674d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemSellingPriceDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSellingPriceDOKey { + /// + /// <p>Type code of price (00 = default price, 01 = special price, PG = group price)<br /></p> + /// + /// <p>Type code of price (00 = default price, 01 = special price, PG = group price)<br /></p> + public priceTypeCodeEnum priceTypeCode { get; init; } + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + /// + /// <p>A unique retailer assigned identifier for the business unit group<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + /// + /// <p>Item number. Alphanumeric key that identifies the item uniquely.<br /></p> + public string itemID { get; init; } + /// + /// <p>Unit of measure code<br /></p> + /// + /// <p>Unit of measure code<br /></p> + public string uomCode { get; init; } + /// + /// <p>Effective (start) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Effective (start) time stamp of the price<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string priceEffectiveDate { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText.cs new file mode 100644 index 0000000000000000000000000000000000000000..3982d7d6ed93175c984a79ca975432ad22c97911 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemText <p>Item text for the specific unit of measure<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemText { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextkey key { get; init; } + /// + /// <p>Text in the nominated language<br /></p> + /// + /// <p>Text in the nominated language<br /></p> + public string text { get; init; } + /// + /// <p>A flag to indicate if the text contains a link to the picture file for this item.<br /></p> + /// + /// <p>A flag to indicate if the text contains a link to the picture file for this item.<br /></p> + public bool? pictureFlag { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM17 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c907f47b8bd522ade3587bcee8cd0f1a3f09f38e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemText.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemTextKey { + /// + /// <p>Text number (number of the row)<br /></p> + /// + /// <p>Text number (number of the row)<br /></p> + public int? textNumber { get; init; } + /// + /// <p>Text class (as part of the reference to the text)<br /></p> + /// + /// <p>Text class (as part of the reference to the text)<br /></p> + public string textClass { get; init; } + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 or an own identifier to denote the language<br /></p> + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 or an own identifier to denote the language<br /></p> + public string languageId { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView.cs new file mode 100644 index 0000000000000000000000000000000000000000..70665aa9f1a88c434790ddacb339781380540d6a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView.cs @@ -0,0 +1,148 @@ +namespace POSGkSwaggerModel +{ + /// + /// RelatedItemView <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiServerMdItemDtoDomPosRelatedItemView { + /// + /// Gets or Sets ItemID + /// + public string itemID { get; init; } + /// + /// Gets or Sets UomCode + /// + public string uomCode { get; init; } + /// + /// Gets or Sets MainPOSItemId + /// + public string mainPOSItemId { get; init; } + /// + /// Gets or Sets UomItemName + /// + public string uomItemName { get; init; } + /// + /// Gets or Sets CurrentPrice + /// + public double? currentPrice { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM01 + /// + public string uomITEMXXCUSTOM01 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM02 + /// + public string uomITEMXXCUSTOM02 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM03 + /// + public string uomITEMXXCUSTOM03 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM04 + /// + public string uomITEMXXCUSTOM04 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM05 + /// + public string uomITEMXXCUSTOM05 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM06 + /// + public string uomITEMXXCUSTOM06 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM07 + /// + public string uomITEMXXCUSTOM07 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM08 + /// + public string uomITEMXXCUSTOM08 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM09 + /// + public string uomITEMXXCUSTOM09 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM10 + /// + public string uomITEMXXCUSTOM10 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM11 + /// + public string uomITEMXXCUSTOM11 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM12 + /// + public string uomITEMXXCUSTOM12 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM13 + /// + public string uomITEMXXCUSTOM13 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM14 + /// + public string uomITEMXXCUSTOM14 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM15 + /// + public string uomITEMXXCUSTOM15 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM16 + /// + public string uomITEMXXCUSTOM16 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM17 + /// + public string uomITEMXXCUSTOM17 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM18 + /// + public string uomITEMXXCUSTOM18 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM19 + /// + public string uomITEMXXCUSTOM19 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM20 + /// + public string uomITEMXXCUSTOM20 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM21 + /// + public string uomITEMXXCUSTOM21 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM22 + /// + public string uomITEMXXCUSTOM22 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM23 + /// + public string uomITEMXXCUSTOM23 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM24 + /// + public string uomITEMXXCUSTOM24 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM25 + /// + public string uomITEMXXCUSTOM25 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM26 + /// + public string uomITEMXXCUSTOM26 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM27 + /// + public string uomITEMXXCUSTOM27 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM28 + /// + public string uomITEMXXCUSTOM28 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM29 + /// + public string uomITEMXXCUSTOM29 { get; init; } + /// + /// Gets or Sets UomITEMXXCUSTOM30 + /// + public string uomITEMXXCUSTOM30 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..26a9d3ceab7fce4d6a2821485da6e43c4d869537 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// WicCategoryDO <p>Represents one Wic Category.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOkey key { get; init; } + /// + /// <p>Category descriptor.<br /></p> + /// + /// <p>Category descriptor.<br /></p> + public string wicCategoryDescription { get; init; } + /// + /// <p>Subcategory descriptor.<br /></p> + /// + /// <p>Subcategory descriptor.<br /></p> + public string wicSubcategoryDescription { get; init; } + /// + /// <p>Descriptor for the UOM of the Benefit.<br /></p> + /// + /// <p>Descriptor for the UOM of the Benefit.<br /></p> + public string wicUomDescription { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..cdfcc25e7a7514394f1ff1313b1c552b62bd49bd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// WicCategoryDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdItemWicDtoDomWicCategoryDOKey { + /// + /// <p>Code indicating the eWic Category.<br /></p> + /// + /// <p>Code indicating the eWic Category.<br /></p> + public string wicCategory { get; init; } + /// + /// <p>Code indicating the Sub Category of the eWic Category.<br /></p> + /// + /// <p>Code indicating the Sub Category of the eWic Category.<br /></p> + public string wicSubcategory { get; init; } + /// + /// <p>State Identifier.<br /></p> + /// + /// <p>State Identifier.<br /></p> + public string stateId { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..7c4e41e76506109f1bba4654b4a968cbcdab254c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyBankAccount <p>Information about bank account.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccount { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountkey key { get; init; } + /// + /// <p>Bank description.<br /></p> + /// + /// <p>Bank description.<br /></p> + public string bankDescription { get; init; } + /// + /// <p>Bank account number in a national format, not international.<br /></p> + /// + /// <p>Bank account number in a national format, not international.<br /></p> + public string bankAccountNumber { get; init; } + /// + /// <p>Bank identification code in a national format.<br /></p> + /// + /// <p>Bank identification code in a national format.<br /></p> + public string nationalBankIdentificationCode { get; init; } + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + /// + /// <p>International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.<br /></p> + public string internationalBankAccountNumber { get; init; } + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + /// + /// <p>Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.<br /></p> + public string bankIdentificationCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b47d8102658b82fe4abf88c03a4f70d733abebc4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyBankAccount.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyBankAccountKey { + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + /// + /// <p>A unique, system assigned identity for a Party.<br /></p> + public string partyID { get; init; } + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + /// + /// <p>This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.<br /></p> + public string bankAccountTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0770d846abef66212dea2de6810e554e7fac0b9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO.cs @@ -0,0 +1,73 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyDO <p>An individual or firm that exchanges information and/or goods and services with the store.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOkey key { get; init; } + /// + /// <p>The type code of the organization.<br /></p> + /// + /// <p>The type code of the organization.<br /></p> + public string organizationTypeCode { get; init; } + /// + /// <p>The type code of the party.<br /></p> + /// + /// <p>The type code of the party.<br /></p> + public string partyTypeCode { get; init; } + /// + /// <p>The 1st line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + /// + /// <p>The 1st line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + public string businessDescription1 { get; init; } + /// + /// <p>The 2nd line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + /// + /// <p>The 2nd line of the description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements.<br /></p> + public string businessDescription2 { get; init; } + /// + /// <p>List of PartyRoleAssignment<br /></p> + /// + /// <p>List of PartyRoleAssignment<br /></p> + public List PartyRoleAssignmentList { get; init; } + /// + /// <p>List of PartyIdentification<br /></p> + /// + /// <p>List of PartyIdentification<br /></p> + public List PartyIdentificationList { get; init; } + /// + /// <p>List of PartyBankAccount<br /></p> + /// + /// <p>List of PartyBankAccount<br /></p> + public List PartyBankAccountList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e282a68748591c2bf2b51cb308346c62557026ec --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyDOKey { + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + public string partyID { get; init; } + /// + /// <p>A unique system assigned identifier for a business unit group.<br /></p> + /// + /// <p>A unique system assigned identifier for a business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification.cs new file mode 100644 index 0000000000000000000000000000000000000000..a2f6480d9cfb9e190c2279e792111169c26c968d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyIdentification <p>An official number that may be used to identify the Party. People have multiple forms of such identification: Drivers License number , Passport number, Credit / Debit Card number, Social Security number, Tax number, etc... Businesses may also have multiple identifiers to prove that they are a legal entity: Company Incorporation number, Tax number, etc...<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentification { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationkey key { get; init; } + /// + /// <p>The number on the Identification that identifies the Party, e. g. BusinessNumber, SalesTaxNumber..<br /></p> + /// + /// <p>The number on the Identification that identifies the Party, e. g. BusinessNumber, SalesTaxNumber..<br /></p> + public string identifier { get; init; } + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party. Used for information about customer cards.<br /></p> + /// + /// <p>A retailer assigned code denoting the official body that issued the PartyIdentification to the Party. Used for information about customer cards.<br /></p> + public string externalPartyIdentificationProviderID { get; init; } + /// + /// <p>Defines why this identifier is locked. Used for information about customer cards.<br /></p> + /// + /// <p>Defines why this identifier is locked. Used for information about customer cards.<br /></p> + public string lockingTypeCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9795b115a916af46935dc69827ce4f5559d21060 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyIdentification.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyIdentificationKey { + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + public string partyID { get; init; } + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A code denoting a form of identification, e. g. BusinessTypeCode, TaxTypeCode.<br /></p> + /// + /// <p>A code denoting a form of identification, e. g. BusinessTypeCode, TaxTypeCode.<br /></p> + public string partyIdentificationTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment.cs new file mode 100644 index 0000000000000000000000000000000000000000..dd84e8b9f151baa6cb43a257f33d4cdc58d08d42 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyRoleAssignment <p>Temporal record of when the Party became (and ceased to be) related to the Retail Enterprise via the PartyRole.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignment { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentkey key { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..96e1246ca3d9294b857481bf2a20c74fd9c8537f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartyRoleAssignment.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPartyDtoDomPartyRoleAssignmentKey { + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + /// + /// <p>A unique, system assigned identity for the party.<br /></p> + public string partyID { get; init; } + /// + /// <p>A unique system assigned identifier for the business unit group.<br /></p> + /// + /// <p>A unique system assigned identifier for the business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs.<br /></p> + /// + /// <p>A code that identifies a group of PARTY ROLES. This is used for subtyping the PARTY ROLEs.<br /></p> + public string partyRoleTypeCode { get; init; } + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + /// + /// <p>A unique system assigned identifier for the particular assignment of Party to the PartyRole.<br /></p> + public int? sequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..89b46fbcaaeeb5ff083256500466063debbc52d1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDO.cs @@ -0,0 +1,78 @@ +namespace POSGkSwaggerModel +{ + /// + /// PersonDO <p>A individual of interest to the retail store or retail enterprise.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPersonDtoDomPersonDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOkey key { get; init; } + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 to denote a language as spoken in a particular country. <br /></p> + /// + /// <p>A combination of ISO-639-1 and ISO-3661-1 to denote a language as spoken in a particular country. <br /></p> + public string languageID { get; init; } + /// + /// <p>Extra words that don't form part of the person's name but are normally printed before the FirstName as a courtesy title. For instance, Mr. Ms., Miss, Dr., Prof. etc. This represents the primary salutation for this Person.<br /></p> + /// + /// <p>Extra words that don't form part of the person's name but are normally printed before the FirstName as a courtesy title. For instance, Mr. Ms., Miss, Dr., Prof. etc. This represents the primary salutation for this Person.<br /></p> + public string salutation { get; init; } + /// + /// <p>A person's first name. In western cultures, this is the given name, in other cultures it may be the family name.<br /></p> + /// + /// <p>A person's first name. In western cultures, this is the given name, in other cultures it may be the family name.<br /></p> + public string firstName { get; init; } + /// + /// <p>A person's last name. In western cultures, this is the family (or patronymic) name, in other cultures it may be the given name.<br /></p> + /// + /// <p>A person's last name. In western cultures, this is the family (or patronymic) name, in other cultures it may be the given name.<br /></p> + public string lastName { get; init; } + /// + /// <p>The year part of the Person's date of birth.<br /></p> + /// + /// <p>The year part of the Person's date of birth.<br /></p> + public int? birthYearNumber { get; init; } + /// + /// <p>A number in the range 1-12 denoting the month part of the Person's date of birth.<br /></p> + /// + /// <p>A number in the range 1-12 denoting the month part of the Person's date of birth.<br /></p> + public int? birthMonthNumber { get; init; } + /// + /// <p>A number in the range 1-31denoting the day of the month part of the Person's date of birth.<br /></p> + /// + /// <p>A number in the range 1-31denoting the day of the month part of the Person's date of birth.<br /></p> + public int? birthDayNumber { get; init; } + /// + /// <p>A code for specifying a person's gender.<br /></p> + /// + /// <p>A code for specifying a person's gender.<br /></p> + public string genderType { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..65419cc63285fca432a6c909d043c6b778310bfb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PersonDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPersonDtoDomPersonDOKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique, system assigned identity for a Party. <br /></p> + /// + /// <p>A unique, system assigned identity for a Party. <br /></p> + public string partyID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..bb4f04d185b54a0ee1cc85c439278f171a3995fe --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuellingPointDO <p>A device used to deliver fuel.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOkey key { get; init; } + /// + /// <p>The type of protocol this FuellingPoint uses.<br /></p> + /// + /// <p>The type of protocol this FuellingPoint uses.<br /></p> + public string protocolTypeCode { get; init; } + /// + /// <p>The version of the protocol this FuellingPoint uses.<br /></p> + /// + /// <p>The version of the protocol this FuellingPoint uses.<br /></p> + public string protocolVersionCode { get; init; } + /// + /// <p>Additional parameters for fuelling point<br /></p> + /// + /// <p>Additional parameters for fuelling point<br /></p> + public List FuellingPointParameterList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2286b287da21bcd6140e46057917f7b10db0b2d8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuellingPointDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointDOKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + public string fuellingPointID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..c923b55d16a890bea8367bad78411c6a25e69325 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuellingPointParameterDO <p>Additional parameters for fuelling point<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOkey key { get; init; } + /// + /// <p>Code of fueling point parameter.<br /></p> + /// + /// <p>Code of fueling point parameter.<br /></p> + public string fuellingPointParameterCode { get; init; } + /// + /// <p>Name of a fueling point parameter.<br /></p> + /// + /// <p>Name of a fueling point parameter.<br /></p> + public string fuellingPointParameterName { get; init; } + /// + /// <p>Value of a fueling point parameter.<br /></p> + /// + /// <p>Value of a fueling point parameter.<br /></p> + public string fuellingPointParameterValue { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2c5e7510d2fb65282a69ebaf699f95247e10e462 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuellingPointParameterDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomFuellingPointParameterDOKey { + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + public string fuellingPointParameterID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..0db994628202bc0e479faf5f086d98121b92ddcc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO.cs @@ -0,0 +1,58 @@ +namespace POSGkSwaggerModel +{ + /// + /// GradeDO <p>Grade of a fuel.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomGradeDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOkey key { get; init; } + /// + /// <p>The barcode, point of sale scan code or other keyed identifying number used at POS and the internal stock keping ItemID for the item.<br /></p> + /// + /// <p>The barcode, point of sale scan code or other keyed identifying number used at POS and the internal stock keping ItemID for the item.<br /></p> + public string posItemID { get; init; } + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + public string firstTankID { get; init; } + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + public string secondTankID { get; init; } + /// + /// <p>The percentage of the final blend that the given BULK ITEM constitutes. This ratio refers to the first tank. Meaning that the ratio for the 2nd tank in case of blended grades is 100 - BlendPercentage.<br /></p> + /// + /// <p>The percentage of the final blend that the given BULK ITEM constitutes. This ratio refers to the first tank. Meaning that the ratio for the 2nd tank in case of blended grades is 100 - BlendPercentage.<br /></p> + public double? blendPercentage { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..25828705993c0f244dc276f35e9c0fa49408f107 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// GradeDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomGradeDOKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The identifier of the fuel grade.<br /></p> + /// + /// <p>The identifier of the fuel grade.<br /></p> + public string fuelGradeID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..4d5a897c813b2efbe65daecd2c4e8fbcd7ddf57e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// NozzleDO <p>That part of the FUELING POINT that blends and measures the volume of fuel dispensed during a FUELING TRANSACTION.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOkey key { get; init; } + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + public string tankID { get; init; } + /// + /// <p>For RFID Tags which are connected to the nozzle to identify grade, car and customer.<br /></p> + /// + /// <p>For RFID Tags which are connected to the nozzle to identify grade, car and customer.<br /></p> + public string rfTagNo { get; init; } + /// + /// <p>The identifier of the fuel grade.<br /></p> + /// + /// <p>The identifier of the fuel grade.<br /></p> + public string fuelGradeID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..88effc6f1a9743f83ca37510ec0045a3b82af20b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// NozzleDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomNozzleDOKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique identifier for the Nozzle<br /></p> + /// + /// <p>A unique identifier for the Nozzle<br /></p> + public string nozzleID { get; init; } + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + /// + /// <p>A unique identifier for the FuelingPoint at a particular BusinessUnitGroup<br /></p> + public string fuellingPointID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..35b26c0ac342fe418afc889c9dcd6549aa3504be --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDO.cs @@ -0,0 +1,189 @@ +namespace POSGkSwaggerModel +{ + /// + /// TankDO <p>A kind of Location used to store a FuelItem that is measured &amp; dispensed by one or more FuelingPoints<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomTankDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOkey key { get; init; } + /// + /// <p>Generated ID of a fuel grade.<br /></p> + /// + /// <p>Generated ID of a fuel grade.<br /></p> + public string fuelGradeID { get; init; } + /// + /// <p>The largest capacity that the tank safely holds, taking temperature effects into consideration.<br /></p> + /// + /// <p>The largest capacity that the tank safely holds, taking temperature effects into consideration.<br /></p> + public double? maximumSafeFillCapacity { get; init; } + /// + /// <p>The volume to which a tank may be emptied without prumping vapour into the line. The amount of product that just reaches the entrance of the suction pipe.<br /></p> + /// + /// <p>The volume to which a tank may be emptied without prumping vapour into the line. The amount of product that just reaches the entrance of the suction pipe.<br /></p> + public double? lowCapacity { get; init; } + /// + /// <p>The diameter of the tank<br /></p> + /// + /// <p>The diameter of the tank<br /></p> + public double? tankDiameter { get; init; } + /// + /// <p>The level at which the TankLevelGuage will set off the 'High Water Alarm'<br /></p> + /// + /// <p>The level at which the TankLevelGuage will set off the 'High Water Alarm'<br /></p> + public double? highWaterSetPoint { get; init; } + /// + /// <p>Reference to BusinessUnitGroupItem<br /></p> + /// + /// <p>Reference to BusinessUnitGroupItem<br /></p> + public string itemID { get; init; } + /// + /// <p>The UOM of the Item<br /></p> + /// + /// <p>The UOM of the Item<br /></p> + public string unitOfMeasureCode { get; init; } + /// + /// Gets or Sets FuelProductID + /// + public int? fuelProductID { get; init; } + /// + /// Gets or Sets FuelName + /// + public string fuelName { get; init; } + /// + /// Gets or Sets TankGroupID + /// + public int? tankGroupID { get; init; } + /// + /// Gets or Sets TankLevelGaugeID + /// + public int? tankLevelGaugeID { get; init; } + /// + /// Gets or Sets Xxcustom08 + /// + public string xxcustom08 { get; init; } + /// + /// Gets or Sets Xxcustom10 + /// + public string xxcustom10 { get; init; } + /// + /// Gets or Sets Xxcustom09 + /// + public string xxcustom09 { get; init; } + /// + /// Gets or Sets Xxcustom07 + /// + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// Gets or Sets Xxcustom06 + /// + public string xxcustom06 { get; init; } + /// + /// Gets or Sets Xxcustom11 + /// + public string xxcustom11 { get; init; } + /// + /// Gets or Sets Xxcustom12 + /// + public string xxcustom12 { get; init; } + /// + /// Gets or Sets Xxcustom13 + /// + public string xxcustom13 { get; init; } + /// + /// Gets or Sets Xxcustom14 + /// + public string xxcustom14 { get; init; } + /// + /// Gets or Sets Xxcustom15 + /// + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// Gets or Sets Xxcustom16 + /// + public string xxcustom16 { get; init; } + /// + /// Gets or Sets Xxcustom17 + /// + public string xxcustom17 { get; init; } + /// + /// Gets or Sets Xxcustom18 + /// + public string xxcustom18 { get; init; } + /// + /// Gets or Sets Xxcustom19 + /// + public string xxcustom19 { get; init; } + /// + /// Gets or Sets Xxcustom20 + /// + public string xxcustom20 { get; init; } + /// + /// Gets or Sets Xxcustom21 + /// + public string xxcustom21 { get; init; } + /// + /// Gets or Sets Xxcustom22 + /// + public string xxcustom22 { get; init; } + /// + /// Gets or Sets Xxcustom23 + /// + public string xxcustom23 { get; init; } + /// + /// Gets or Sets Xxcustom24 + /// + public string xxcustom24 { get; init; } + /// + /// Gets or Sets Xxcustom25 + /// + public string xxcustom25 { get; init; } + /// + /// Gets or Sets Xxcustom26 + /// + public string xxcustom26 { get; init; } + /// + /// Gets or Sets Xxcustom27 + /// + public string xxcustom27 { get; init; } + /// + /// Gets or Sets Xxcustom28 + /// + public string xxcustom28 { get; init; } + /// + /// Gets or Sets Xxcustom29 + /// + public string xxcustom29 { get; init; } + /// + /// Gets or Sets Xxcustom30 + /// + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..fcb5e2085206180b7b2074585042782778ab2925 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TankDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdPetrolDtoDomTankDOKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique identifier for this Tank<br /></p> + /// + /// <p>A unique identifier for this Tank<br /></p> + public string tankID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..3432f2c1c5b371950a5dd554460b3d68e49f76b4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// PriceContractReadDO <p>The view object which consolidates data from Price Contract tables.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdPriceContractDtoDomPriceContractReadDO { + /// + /// <p>The identifier of a contract which was created for a customer or customer group<br /></p> + /// + /// <p>The identifier of a contract which was created for a customer or customer group<br /></p> + public string priceContractID { get; init; } + /// + /// <p>Reference to the Item.<br /></p> + /// + /// <p>Reference to the Item.<br /></p> + public string itemID { get; init; } + /// + /// <p>The POS Item ID.<br /></p> + /// + /// <p>The POS Item ID.<br /></p> + public string posItemID { get; init; } + /// + /// <p>The UOM of the Item.<br /></p> + /// + /// <p>The UOM of the Item.<br /></p> + public string unitOfMeasureCode { get; init; } + /// + /// <p>Effective (start) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Effective (start) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string effectiveDateTime { get; init; } + /// + /// <p>Expiration (end) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration (end) Time Stamp of that price.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationDateTime { get; init; } + /// + /// <p>The agreed sales unit price for the item.<br /></p> + /// + /// <p>The agreed sales unit price for the item.<br /></p> + public double? saleUnitRetailPriceAmount { get; init; } + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + /// + /// <p>A unique system assigned identifier for the Customer.<br /></p> + public string customerID { get; init; } + /// + /// <p>Customer group ID.<br /></p> + /// + /// <p>Customer group ID.<br /></p> + public string customerGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..a02c2af47685a2d2f9cc2774ceebce9bc6668d4d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO.cs @@ -0,0 +1,192 @@ +namespace POSGkSwaggerModel +{ + /// + /// RelatedItemAssociationTypeDO <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOkey key { get; init; } + /// + /// <p>The name of the association type<br /></p> + /// + /// <p>The name of the association type<br /></p> + public string name { get; init; } + /// + /// <p>A sequential number that indicates the order being used when displaying the association types in the launchpad function.<br /></p> + /// + /// <p>A sequential number that indicates the order being used when displaying the association types in the launchpad function.<br /></p> + public int? sortSequence { get; init; } + /// + /// <p>The type of the purpose of the item association.<br /> Values:<br /></p><br /><pre> * null - default, used for e.g. Variant, Bundle, Subtype, Ingredient<br /> * Meal - Component without Alternative items<br /> * MealAlternative - Component with Alternative items<br /> * Condiment - Condiment component<br /></pre> + /// + /// <p>The type of the purpose of the item association.<br /> Values:<br /></p><br /><pre> * null - default, used for e.g. Variant, Bundle, Subtype, Ingredient<br /> * Meal - Component without Alternative items<br /> * MealAlternative - Component with Alternative items<br /> * Condiment - Condiment component<br /></pre> + public string purposeTypeCode { get; init; } + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + public List TranslationList { get; init; } + /// + /// Gets or Sets PackageID + /// + public string packageID { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..75afded0d3cfb51b48fc62b6dd8d08f1c3689e2c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// RelatedItemAssociationTypeDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdRelatedItemAssociationTypeDtoDomRelatedItemAssociationTypeDOKey { + /// + /// <p>The type of the association<br /></p> + /// + /// <p>The type of the association<br /></p> + public string relatedItemAssociationTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..243b57092db811b099ad682965243e5177d5d6d7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// ScaleDomainDO <p>Scale domains are used for grouping scale items, e.g. meat, cheese, sausages.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOkey key { get; init; } + /// + /// <p>Scales domain description<br /></p> + /// + /// <p>Scales domain description<br /></p> + public string description { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ff9b8e842497ffd46398480ac30301d923719c58 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// ScaleDomainDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdScaleDomainDtoDomScaleDomainDOKey { + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Scales domain identifier<br /></p> + /// + /// <p>Scales domain identifier<br /></p> + public string scaleDomainID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..2de91940c6b98dea895b5d6a0189a6676bcf25d3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO.cs @@ -0,0 +1,243 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderDO <p>Tender includes all the forms of payment that are accepted by the retail store in settling sales and other transactions.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdTenderDtoDomTenderDO { + /// + /// <p>Defines type of tender pickup:<br /></p><br /><ul><br /> <li> NOT_ALLOWED(01) - Not allowed</li><br /> <li> ALLOWED(02) - Allowed</li><br /></ul> + /// + /// <p>Defines type of tender pickup:<br /></p><br /><ul><br /> <li> NOT_ALLOWED(01) - Not allowed</li><br /> <li> ALLOWED(02) - Allowed</li><br /></ul> + public pickupTypeCodeEnum? pickupTypeCode { get; init; } + /// + /// <p>A typecode to define how a tender is picked up from safe / delivered to bank:<br /></p><br /><ul><br /> <li> NO_DELIVERY(00) - no delivery</li><br /> <li> MANUAL_DELIVERY(01) - manual delivery</li><br /> <li> AUTOMATIC_DELIVERY(02) - automatic delivery</li><br /></ul> + /// + /// <p>A typecode to define how a tender is picked up from safe / delivered to bank:<br /></p><br /><ul><br /> <li> NO_DELIVERY(00) - no delivery</li><br /> <li> MANUAL_DELIVERY(01) - manual delivery</li><br /> <li> AUTOMATIC_DELIVERY(02) - automatic delivery</li><br /></ul> + public deliveryTypeCodeEnum? deliveryTypeCode { get; init; } + /// + /// <p>Defines whether payment amount should be entered.<br /></p><br /><ul><br /> <li> REQUIRED(01) - required</li><br /> <li> OPTIONAL(02) - optional</li><br /> <li> PROHIBITED(03) - prohibited</li><br /> <li> CONFIRM(04) - confirm</li><br /></ul> + /// + /// <p>Defines whether payment amount should be entered.<br /></p><br /><ul><br /> <li> REQUIRED(01) - required</li><br /> <li> OPTIONAL(02) - optional</li><br /> <li> PROHIBITED(03) - prohibited</li><br /> <li> CONFIRM(04) - confirm</li><br /></ul> + public inputAmountConstraintEnum? inputAmountConstraint { get; init; } + /// + /// <p>Defines what amount is allowed.<br /></p><br /><ul><br /> <li> EXACTLY(01) - EXACTLY</li><br /> <li> EXACTLY_AND_LESS(02) - EXACTLY_AND_LESS</li><br /> <li> EXACTLY_AND_MORE(03) - EXACTLY_AND_MORE</li><br /> <li> ALL(04) - ALL</li><br /></ul> + /// + /// <p>Defines what amount is allowed.<br /></p><br /><ul><br /> <li> EXACTLY(01) - EXACTLY</li><br /> <li> EXACTLY_AND_LESS(02) - EXACTLY_AND_LESS</li><br /> <li> EXACTLY_AND_MORE(03) - EXACTLY_AND_MORE</li><br /> <li> ALL(04) - ALL</li><br /></ul> + public allowedAmountTypeCodeEnum? allowedAmountTypeCode { get; init; } + /// + /// <p>Defines the tender group used by POS payment functions:<br /></p><br /><ul><br /> <li> CASH,</li><br /> <li> TERMINAL,</li><br /> <li> GIFT_CERT,</li><br /> <li> COUPON,</li><br /> <li> CHEQUE,</li><br /> <li> CREDIT,</li><br /> <li> PROMOTION,</li><br /> <li> POINTS,</li><br /> <li> CASHENGINE</li><br /></ul> + /// + /// <p>Defines the tender group used by POS payment functions:<br /></p><br /><ul><br /> <li> CASH,</li><br /> <li> TERMINAL,</li><br /> <li> GIFT_CERT,</li><br /> <li> COUPON,</li><br /> <li> CHEQUE,</li><br /> <li> CREDIT,</li><br /> <li> PROMOTION,</li><br /> <li> POINTS,</li><br /> <li> CASHENGINE</li><br /></ul> + public tenderGroupCodeEnum? tenderGroupCode { get; init; } + /// + /// <p>Determines whether the tender can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li> SALES_AND_RETURNS(00) - for sales and returns</li><br /> <li> SALES(01) - only for sales</li><br /> <li> RETURNS(02) - only for returns</li><br /></ul> + /// + /// <p>Determines whether the tender can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li> SALES_AND_RETURNS(00) - for sales and returns</li><br /> <li> SALES(01) - only for sales</li><br /> <li> RETURNS(02) - only for returns</li><br /></ul> + public saleReturnTypeCodeEnum? saleReturnTypeCode { get; init; } + /// + /// <p>Determines whether for this tender will be printed sales receipt:<br /></p><br /><ul><br /> <li> AUTOMATIC_PRINTOUT(00) - automatic printout of sales receipt</li><br /> <li> OPTIONAL_PRINTOUT(01) - optional printout (decision by user)</li><br /> <li> NO_AUTOMATIC_PRINTOUT(02) - no automatic printout</li><br /> <li> RECEIPT_AS_EMAIL(03) - receipt as email</li><br /></ul> + /// + /// <p>Determines whether for this tender will be printed sales receipt:<br /></p><br /><ul><br /> <li> AUTOMATIC_PRINTOUT(00) - automatic printout of sales receipt</li><br /> <li> OPTIONAL_PRINTOUT(01) - optional printout (decision by user)</li><br /> <li> NO_AUTOMATIC_PRINTOUT(02) - no automatic printout</li><br /> <li> RECEIPT_AS_EMAIL(03) - receipt as email</li><br /></ul> + public receiptPrintoutTypeCodeEnum? receiptPrintoutTypeCode { get; init; } + /// + /// <p>A typecode to signify that only a specific group of items can be purchased using this tender.<br /> Possible values:<br /></p><br /><ul><br /> <li> WIC - tender is allowed only for items with WICFlag</li><br /> <li> FOST- tender is allowed only for items with AllowFoodStampFlag</li><br /></ul> + /// + /// <p>A typecode to signify that only a specific group of items can be purchased using this tender.<br /> Possible values:<br /></p><br /><ul><br /> <li> WIC - tender is allowed only for items with WICFlag</li><br /> <li> FOST- tender is allowed only for items with AllowFoodStampFlag</li><br /></ul> + public itemRestrictApplyTypeCodeEnum? itemRestrictApplyTypeCode { get; init; } + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + public originEnum? origin { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOkey key { get; init; } + /// + /// <p>A code to denote a group of tenders with common characteristics, e.g. payment cards, certificates, etc.<br /></p> + /// + /// <p>A code to denote a group of tenders with common characteristics, e.g. payment cards, certificates, etc.<br /></p> + public string tenderClassCode { get; init; } + /// + /// <p>Description of the tender type.<br /></p> + /// + /// <p>Description of the tender type.<br /></p> + public string description { get; init; } + /// + /// <p>The minimum value that can be accepted for an individual tender. For example, certain retailers will not accept card payments below $5.<br /></p> + /// + /// <p>The minimum value that can be accepted for an individual tender. For example, certain retailers will not accept card payments below $5.<br /></p> + public double? minimumAcceptAmount { get; init; } + /// + /// <p>The maximum amount that can be accepted for a specific tender type.<br /></p> + /// + /// <p>The maximum amount that can be accepted for a specific tender type.<br /></p> + public double? maximumAcceptAmount { get; init; } + /// + /// <p>A flag to signify that specific groups of items cannot be purchased using certain tender types. For example, food stamps cannot be used to purchase alcohol or tobacco items.<br /></p> + /// + /// <p>A flag to signify that specific groups of items cannot be purchased using certain tender types. For example, food stamps cannot be used to purchase alcohol or tobacco items.<br /></p> + public bool? itemRestrictionsApplyFlag { get; init; } + /// + /// <p>A flag that signifies that the cash drawer opens if a certain specific tender type is offered by the customer. For example, cash.<br /></p> + /// + /// <p>A flag that signifies that the cash drawer opens if a certain specific tender type is offered by the customer. For example, cash.<br /></p> + public bool? openCashDrawerRequiredFlag { get; init; } + /// + /// <p>The maximum change that can be offered to a customer for a specific tender type.<br /></p> + /// + /// <p>The maximum change that can be offered to a customer for a specific tender type.<br /></p> + public double? changeThresholdAmount { get; init; } + /// + /// <p>Determines whether the tender should be shown in accounting functions for tills.<br /></p> + /// + /// <p>Determines whether the tender should be shown in accounting functions for tills.<br /></p> + public bool? tillCountFlag { get; init; } + /// + /// <p>Determines whether denomination is applicable for the tender.<br /></p> + /// + /// <p>Determines whether denomination is applicable for the tender.<br /></p> + public bool? denominationFlag { get; init; } + /// + /// <p>Determines whether change is possible.<br /></p> + /// + /// <p>Determines whether change is possible.<br /></p> + public bool? changeAllowedFlag { get; init; } + /// + /// <p>Defines if the tender count is registered in accounting functions.<br /></p> + /// + /// <p>Defines if the tender count is registered in accounting functions.<br /></p> + public bool? unitCountRequiredFlag { get; init; } + /// + /// <p>Defines if the tender amount is registered in accounting functions.<br /></p> + /// + /// <p>Defines if the tender amount is registered in accounting functions.<br /></p> + public bool? amountCountRequiredFlag { get; init; } + /// + /// <p>Defines whether a sales transaction which contains this tender can be voided later.<br /></p> + /// + /// <p>Defines whether a sales transaction which contains this tender can be voided later.<br /></p> + public bool? voidingAllowedFlag { get; init; } + /// + /// <p>Determines whether this tender is allowed for deposit.<br /></p> + /// + /// <p>Determines whether this tender is allowed for deposit.<br /></p> + public bool? depositAllowedFlag { get; init; } + /// + /// <p>Determines whether this tender can be used for payment and accounting.<br /></p> + /// + /// <p>Determines whether this tender can be used for payment and accounting.<br /></p> + public bool? blockingFlag { get; init; } + /// + /// <p>Determines whether the tender should be shown in safe accounting functions.<br /></p> + /// + /// <p>Determines whether the tender should be shown in safe accounting functions.<br /></p> + public bool? controlledBySafeFlag { get; init; } + /// + /// <p>This flag determines whether the current value of the tender in the till is checked.<br /></p> + /// + /// <p>This flag determines whether the current value of the tender in the till is checked.<br /></p> + public bool? checkAvailableAmountFlag { get; init; } + /// + /// <p>If this flag is set to true, a warning is shown on POS in the case that the actual amount of the till for that tender is equal or larger than the PickupWarningLimit<br /></p> + /// + /// <p>If this flag is set to true, a warning is shown on POS in the case that the actual amount of the till for that tender is equal or larger than the PickupWarningLimit<br /></p> + public bool? pickupWarningFlag { get; init; } + /// + /// <p>Defines the limit for a tender pickup from the till, see also PickupWarningFlag<br /></p> + /// + /// <p>Defines the limit for a tender pickup from the till, see also PickupWarningFlag<br /></p> + public double? pickupWarningLimit { get; init; } + /// + /// <p>Defines whether this tender can be voided during the tender registration process (i.e. while the transaction is not finished yet)<br /></p> + /// + /// <p>Defines whether this tender can be voided during the tender registration process (i.e. while the transaction is not finished yet)<br /></p> + public bool? immediateVoidingAllowedFlag { get; init; } + /// + /// <p>Additional tender description which is used on POS side.<br /></p> + /// + /// <p>Additional tender description which is used on POS side.<br /></p> + public string receiptPrinterName { get; init; } + /// + /// <p>Defines whether this tender can be used only exclusively, i.e. no other tenders can be combined with it in one transaction.<br /></p> + /// + /// <p>Defines whether this tender can be used only exclusively, i.e. no other tenders can be combined with it in one transaction.<br /></p> + public bool? exclusiveFlag { get; init; } + /// + /// <p>Sort sequence for tenders in reports and backoffice functions.<br /></p> + /// + /// <p>Sort sequence for tenders in reports and backoffice functions.<br /></p> + public int? sortSequence { get; init; } + /// + /// <p>Determines whether this tender will be counted for safe.<br /></p> + /// + /// <p>Determines whether this tender will be counted for safe.<br /></p> + public bool? safeCountFlag { get; init; } + /// + /// <p>Determines whether negative values can be input; is used in the context of foreign turnover registration.<br /></p> + /// + /// <p>Determines whether negative values can be input; is used in the context of foreign turnover registration.<br /></p> + public bool? negativeValueAllowedFlag { get; init; } + /// + /// <p>Determines whether the tender amount has to be rounded according to the rounding rules of the main currency<br /></p> + /// + /// <p>Determines whether the tender amount has to be rounded according to the rounding rules of the main currency<br /></p> + public bool? roundingRequiredFlag { get; init; } + /// + /// <p>Reference to the tender handling rule (tender fields additional to ARTS)<br /></p> + /// + /// <p>Reference to the tender handling rule (tender fields additional to ARTS)<br /></p> + public string tenderHandlingRuleID { get; init; } + /// + /// <p>List of tender restriction rules.<br /></p> + /// + /// <p>List of tender restriction rules.<br /></p> + public List TenderRestrictionRuleList { get; init; } + /// + /// <p>List of translations for the tender.<br /></p> + /// + /// <p>List of translations for the tender.<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p> + public string tid { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>The identifier of the currency used for the tender.<br /></p> + /// + /// <p>The identifier of the currency used for the tender.<br /></p> + public string isocurrencyCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..09d42d2ce0b7379579ca5ae40e47c83909e098dd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdTenderDtoDomTenderDOKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A code which uniquely identifies the type of tender, e.g. cash, check, payment card, etc.<br /></p> + /// + /// <p>A code which uniquely identifies the type of tender, e.g. cash, check, payment card, etc.<br /></p> + public string tenderTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule.cs new file mode 100644 index 0000000000000000000000000000000000000000..317b9cfa54620047adbe0c51346fb40551510b70 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRestrictionRule <p>Describes in which situations which tenders are forbidden<br /></p> + /// + public record comGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRule { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRulekey key { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..7dea58045d464e602c9b8ca5f662d9d05f87abd4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRestrictionRule.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdTenderDtoDomTenderRestrictionRuleKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p> + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p> + public string tenderTypeCode { get; init; } + /// + /// <p>Transaction type;<br /> 0 = irrelevant (tender is forbidden for any transaction type)<br /></p> + /// + /// <p>Transaction type;<br /> 0 = irrelevant (tender is forbidden for any transaction type)<br /></p> + public string forbiddenTransactionTypeCode { get; init; } + /// + /// <p>Position type;<br /> 0 = irrelevant (tender is forbidden for any position type)<br /></p> + /// + /// <p>Position type;<br /> 0 = irrelevant (tender is forbidden for any position type)<br /></p> + public string forbiddenLineItemTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..7fa8fa9990746df2237d8f86898601855887f3c7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAdjustmentRuleDO <p>Possible transformations from one tender to another.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDO { + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + public originEnum? origin { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOkey key { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..dfb17485f02fb2b09b24d47d0d19b24daa4047f9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAdjustmentRuleDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdTenderRuleDtoDomTenderAdjustmentRuleDOKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Tender from which is to be transformed.<br /></p> + /// + /// <p>Tender from which is to be transformed.<br /></p> + public string originalTenderTypeCode { get; init; } + /// + /// <p>Tender to which is to be transformed.<br /></p> + /// + /// <p>Tender to which is to be transformed.<br /></p> + public string newTenderTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..0036f15231dca23f57a7425b1d113ceb5c50543e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillDO.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillDO <p>Tills<br /></p> + /// + public record comGkSoftwareGkrApiServerMdTillDtoDomTillDO { + /// + /// <p>The assignment mode which is used for that till<br /></p><br /><ul><br /> <li> DRAWER_FOR_ONLY_ONE_CASHIER01(01)</li><br /> <li> JOINT_DRAWER_FOR_SEVERAL_CASHIERS(02)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_REGISTER(03)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_RECYCLER(04)</li><br /></ul> + /// + /// <p>The assignment mode which is used for that till<br /></p><br /><ul><br /> <li> DRAWER_FOR_ONLY_ONE_CASHIER01(01)</li><br /> <li> JOINT_DRAWER_FOR_SEVERAL_CASHIERS(02)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_REGISTER(03)</li><br /> <li> DRAWER_FOR_ONLY_ONE_CASH_RECYCLER(04)</li><br /></ul> + public assignmentTypeCodeEnum assignmentTypeCode { get; init; } + /// + /// <p>Determines how the till is to be cleared<br /></p><br /><ul><br /> <li> VARIABLE_CHANGE(01)</li><br /> <li> FIXED_CHANGE_AMOUNT(02)</li><br /> <li> COMPLETE_PICKUP(03)</li><br /> <li> MANUAL_CHANGE(04)</li><br /> <li> COMPLETE_PICKUP_TARGET(13)</li><br /></ul> + /// + /// <p>Determines how the till is to be cleared<br /></p><br /><ul><br /> <li> VARIABLE_CHANGE(01)</li><br /> <li> FIXED_CHANGE_AMOUNT(02)</li><br /> <li> COMPLETE_PICKUP(03)</li><br /> <li> MANUAL_CHANGE(04)</li><br /> <li> COMPLETE_PICKUP_TARGET(13)</li><br /></ul> + public tillClearingTypeCodeEnum tillClearingTypeCode { get; init; } + /// + /// <p>Defines the settlement mode<br /></p><br /><ul><br /> <li> CONTINUOUS_USE(01)</li><br /> <li> ON_A_DAILY_BASIS(02)</li><br /></ul> + /// + /// <p>Defines the settlement mode<br /></p><br /><ul><br /> <li> CONTINUOUS_USE(01)</li><br /> <li> ON_A_DAILY_BASIS(02)</li><br /></ul> + public settlementTypeCodeEnum settlementTypeCode { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdTillDtoDomTillDOkey key { get; init; } + /// + /// <p>The opening Tender balance with which the Till will typically start.<br /></p> + /// + /// <p>The opening Tender balance with which the Till will typically start.<br /></p> + public double? defaultOpeningCashBalanceAmount { get; init; } + /// + /// <p>Determines whether function 'loan' requires counting the cash money and registering the counted amount, or whether counting is skipped and the default amount is used<br /></p> + /// + /// <p>Determines whether function 'loan' requires counting the cash money and registering the counted amount, or whether counting is skipped and the default amount is used<br /></p> + public bool? loanCalculationRequiredFlag { get; init; } + /// + /// <p>Determines whether the loan function should be used<br /></p> + /// + /// <p>Determines whether the loan function should be used<br /></p> + public bool? loanRequiredFlag { get; init; } + /// + /// <p>Determines whether the till is locked<br /></p> + /// + /// <p>Determines whether the till is locked<br /></p> + public bool? blockingFlag { get; init; } + /// + /// <p>The barcode of the till<br /></p> + /// + /// <p>The barcode of the till<br /></p> + public string tillBarcode { get; init; } + /// + /// <p>ID of the workstation. It is only filled if till is assigned to workstation.<br /></p> + /// + /// <p>ID of the workstation. It is only filled if till is assigned to workstation.<br /></p> + public string workstationID { get; init; } + /// + /// <p>The list operators that are allowed to use the till.<br /></p> + /// + /// <p>The list operators that are allowed to use the till.<br /></p> + public List TillOperatorList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Determines whether the till is used for education.<br /></p> + /// + /// <p>Determines whether the till is used for education.<br /></p> + public bool? trainingModeFlag { get; init; } + /// + /// <p>date and time of the till status<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>date and time of the till status<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string statusDateTimeStamp { get; init; } + /// + /// <p>TODO<br /></p> + /// + /// <p>TODO<br /></p> + public bool? tillEnabled { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7b74b1562d880f7f8235b4366b67c0cafcad47d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdTillDtoDomTillDOKey { + /// + /// <p>The unique identifier for the till.<br /></p> + /// + /// <p>The unique identifier for the till.<br /></p> + public string tillID { get; init; } + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c6d6e67469f0fb0d063aeaa30b1dabf0236a155 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillOperatorDO <p>Allowed operators<br /></p> + /// + public record comGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDO { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOkey key { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4fb25380128dcd667e67d1cf273e17534998092f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillOperatorDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdTillDtoDomTillOperatorDOKey { + /// + /// <p>Identifier of the operator<br /></p> + /// + /// <p>Identifier of the operator<br /></p> + public string operatorID { get; init; } + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The unique identifier for the till.<br /></p> + /// + /// <p>The unique identifier for the till.<br /></p> + public string tillID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod.cs new file mode 100644 index 0000000000000000000000000000000000000000..9f37f0ec0837d15a6fdb8461267e3cc26cb6319e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod.cs @@ -0,0 +1,58 @@ +namespace POSGkSwaggerModel +{ + /// + /// TimePeriod <p>Time periods.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriod { + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on.<br /></p> + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on.<br /></p> + public dayOfWeekEnum? dayOfWeek { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodkey key { get; init; } + /// + /// <p>The time of day that the time period commences.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The time of day that the time period commences.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string startTime { get; init; } + /// + /// <p>The duration included in the time period from the start time.<br /></p> + /// + /// <p>The duration included in the time period from the start time.<br /></p> + public int? duration { get; init; } + /// + /// <p>The time restriction in cron format.<br /></p> + /// + /// <p>The time restriction in cron format.<br /></p> + public string timeRestriction { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f7e5e473c454de1cb75716e3482cb9c1828e6a0a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TimePeriod.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdTimeGroupDtoDomTimePeriodKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Internal generated ID for time period.<br /></p> + /// + /// <p>Internal generated ID for time period.<br /></p> + public string internalTimePeriodID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..5181f3579cace679db8d63b797893b57007e1d43 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkerDO <p>A person who provides services to a retail store. May be either an employee or a contractor.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDO { + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + public originEnum? origin { get; init; } + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOkey key { get; init; } + /// + /// <p>A unique, system assigned identity for a party.<br /></p> + /// + /// <p>A unique, system assigned identity for a party.<br /></p> + public string partyID { get; init; } + /// + /// <p>Personal information<br /></p> + /// + /// <p>Personal information<br /></p> + public ComGkSoftwareGkrApiServerMdpersonDtoDompersonDO person { get; init; } + /// + /// <p>Contact<br /></p> + /// + /// <p>Contact<br /></p> + public ComGkSoftwareGkrApiServerMdcontactDtoDomcontactDO contact { get; init; } + /// + /// <p>List of the discount groups assigned to the employee.<br /></p> + /// + /// <p>List of the discount groups assigned to the employee.<br /></p> + public List WorkerDiscountGroupAssignmentList { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p> + public string packageID { get; init; } + /// + /// <p>TaxID of the sales representative<br /></p> + /// + /// <p>TaxID of the sales representative<br /></p> + public string taxNumber { get; init; } + /// + /// <p>The worker level in worker hierarchy. Used for security purposes - if a worker can maintain or see (GDPR) another user. <br /></p> + /// + /// <p>The worker level in worker hierarchy. Used for security purposes - if a worker can maintain or see (GDPR) another user. <br /></p> + public int? workerLevel { get; init; } + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + /// + /// <p>The data protection code being used for the evaluation of the data protection requirements.<br /></p> + public string dataProtectCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9fcc3e1ebe9ee762eeb5ef01bc2774c9a9351298 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkerDO.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey { + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + public string workerID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment.cs new file mode 100644 index 0000000000000000000000000000000000000000..d9ea710d34b604efe73f8d5130cd9051fa8be587 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkerDiscountGroupAssignment <p>A group of employees who share the same employee discount privilege.<br /></p> + /// + public record comGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentkey key { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..74b4024ed4f9c17dadd027e813c0e905bbe87f1f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkerDiscountGroupAssignment.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey { + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The identifier for a specific employee discount group.<br /></p> + /// + /// <p>The identifier for a specific employee discount group.<br /></p> + public string employeeDiscountGroupID { get; init; } + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + /// + /// <p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> + public string workerID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObject.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObject.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca28648949ec7d3e8e07b24744316f8517470c30 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObject.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillCopyObject <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTcoDtoTillCopyObject { + /// + /// Defines if loan must be entered. + /// + /// Defines if loan must be entered. + public bool? loanRequired { get; init; } + /// + /// In certain conditions server is not able to provide reliable Server TCO. If such situation occur then this flag is set to true. And values are computed only locally. + /// + /// In certain conditions server is not able to provide reliable Server TCO. If such situation occur then this flag is set to true. And values are computed only locally. + public bool? localValuesOnly { get; init; } + /// + /// List of group-by-tender values + /// + /// List of group-by-tender values + public List EntryList { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom05 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom03 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom02 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom04 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..38f12df7f04fb4cb3d6f7b6ef509f15b9a11e0d1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntry.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillCopyObjectEntry <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTcoDtoTillCopyObjectEntry { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntrykey key { get; init; } + /// + /// Target value of the tender + /// + /// Target value of the tender + public double? foreignCurrencyAmount { get; init; } + /// + /// Target value of the tender in main currency + /// + /// Target value of the tender in main currency + public double? amount { get; init; } + /// + /// Target value of the tender + /// + /// Target value of the tender + public int? mediaUnitQuantity { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom05 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom03 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom02 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom04 { get; init; } + /// + /// Standard extension pattern for extending object in project + /// + /// Standard extension pattern for extending object in project + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a8d4bc475365bcea063131e7e04d1522223805a6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillCopyObjectEntry.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTcoDtoTillCopyObjectEntryKey { + /// + /// TenderTypeCode of the tender + /// + /// TenderTypeCode of the tender + public string tenderTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..92eab301f53ec3b769db065841d0ef209e864e60 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem.cs @@ -0,0 +1,223 @@ +namespace POSGkSwaggerModel +{ + /// + /// AdditionalBonusDiscountLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemkey key { get; init; } + /// + /// The unique identifier for a promotion. + /// + /// The unique identifier for a promotion. + public string promotionID { get; init; } + /// + /// A identifier for a specific price derivation rule. + /// + /// A identifier for a specific price derivation rule. + public string priceDerivationRuleID { get; init; } + /// + /// A unique identifier for a Price Derivation Rule Eligibility. + /// + /// A unique identifier for a Price Derivation Rule Eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The ident of the additional bonus. This is needed by PCE in order to establish a relationship between additional bonus items being provided to it in the request as additional bonus line items on the one hand and the corresponding promotion price derivation rules of type 'additional bonus' on the other hand. + /// + /// The ident of the additional bonus. This is needed by PCE in order to establish a relationship between additional bonus items being provided to it in the request as additional bonus line items on the one hand and the corresponding promotion price derivation rules of type 'additional bonus' on the other hand. + public string additionalBonusID { get; init; } + /// + /// Reference to BusinessUnitGroupItem + /// + /// Reference to BusinessUnitGroupItem + public string itemID { get; init; } + /// + /// The UOM of the Item + /// + /// The UOM of the Item + public string unitOfMeasureCode { get; init; } + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id + public string merchandiseHierarchyGroupIDQualifier { get; init; } + /// + /// Unique system assigned identifier for a group or class of merchandise. + /// + /// Unique system assigned identifier for a group or class of merchandise. + public string merchandiseHierarchyGroupID { get; init; } + /// + /// System-generated unique identifier for a merchandise set (group of mechandise set elements). This is needed for technical reasons. + /// + /// System-generated unique identifier for a merchandise set (group of mechandise set elements). This is needed for technical reasons. + public string merchandiseSetGroupID { get; init; } + /// + /// Unique (within the context of the merchandise set) system-generated identifier of the mechandise set element + /// + /// Unique (within the context of the merchandise set) system-generated identifier of the mechandise set element + public string merchandiseSetID { get; init; } + /// + /// Denotes the total additional bonus quantity that should be granted. Is 0 in case the AdditionalBonusDiscountLineItem does not belong to any applied promotion. + /// + /// Denotes the total additional bonus quantity that should be granted. Is 0 in case the AdditionalBonusDiscountLineItem does not belong to any applied promotion. + public double? totalAdditionalBonusQuantity { get; init; } + /// + /// Denotes the difference between TotalAdditionalBonusQuantity and the additional bonus items being present in the transaction (total quantity of sale return line items of type 'additional bonus' with concerning AdditionalBonusLineItem.AdditionalBonusID).positive value - there are not enough additional bonus items in the transaction providednegative value - there are too many additional bonus items in transaction provided0 value - match + /// + /// Denotes the difference between TotalAdditionalBonusQuantity and the additional bonus items being present in the transaction (total quantity of sale return line items of type 'additional bonus' with concerning AdditionalBonusLineItem.AdditionalBonusID).positive value - there are not enough additional bonus items in the transaction providednegative value - there are too many additional bonus items in transaction provided0 value - match + public double? quantityDifference { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8c7d0cd29b2b1c3b5e54b7aacb769382670ed89f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// AdditionalBonusDiscountLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoAdditionalBonusDiscountLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..fb6c2d3494cc710686a782ecc64208dbcc604bdb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// AdditionalBonusLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemkey key { get; init; } + /// + /// The ident of the additional bonus. This is needed by PCE in order to find the corresponding promotion price derivation rules of type 'additional bonus'. + /// + /// The ident of the additional bonus. This is needed by PCE in order to find the corresponding promotion price derivation rules of type 'additional bonus'. + public string additionalBonusID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6a64026bea44811021ef9f9b2c063bd776c6e5da --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// AdditionalBonusLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoAdditionalBonusLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction. + /// + /// The sequence number of line item within the context of this RetailTransaction. + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..65b208a946f09084b432abf9626ef4909c63b6a8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckTenderLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoCheckTenderLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemkey key { get; init; } + /// + /// The complete string of characters read from the MICR (Magnetic Ink Character Recognition) strip.Content varies by Country and/or Financial Institution but it usually contains BankID, CheckAccountNumber and CheckSequenceNumber - but there may be more data encoded in the MICR. + /// + /// The complete string of characters read from the MICR (Magnetic Ink Character Recognition) strip.Content varies by Country and/or Financial Institution but it usually contains BankID, CheckAccountNumber and CheckSequenceNumber - but there may be more data encoded in the MICR. + public string fullMICR { get; init; } + /// + /// A unique sequence number relating to a particular check authorization. + /// + /// A unique sequence number relating to a particular check authorization. + public int? checkSequenceNumber { get; init; } + /// + /// A code to denote that approval has been received from the authorization center. + /// + /// A code to denote that approval has been received from the authorization center. + public string adjudicationCode { get; init; } + /// + /// The number from a bank issued card guaranteeing checks up to a certain value. + /// + /// The number from a bank issued card guaranteeing checks up to a certain value. + public string checkCardNumber { get; init; } + /// + /// The unique identifier of the bank or third party authorization center. + /// + /// The unique identifier of the bank or third party authorization center. + public string bankID { get; init; } + /// + /// The check account number + /// + /// The check account number + public string checkAccountNumber { get; init; } + /// + /// Bank Identifier Code. Also known as SWIFT Code. + /// + /// Bank Identifier Code. Also known as SWIFT Code. + public string bankIdentifierCode { get; init; } + /// + /// International Bank Account Number + /// + /// International Bank Account Number + public string internationalBankAccountNumber { get; init; } + /// + /// A unique sequence number relating to a particular check authorization. + /// + /// A unique sequence number relating to a particular check authorization. + public string checkNumber { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2359b75ff35d69ead3a0072e0209886db889912c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckTenderLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoCheckTenderLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..43cf9a4aabfc626164f2f7596f4a6034b27b046b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// CompleteTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoCompleteTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionkey key { get; init; } + /// + /// List of transactions that influence meaning of of the transaction + /// + /// List of transactions that influence meaning of of the transaction + public List CorrelatedToList { get; init; } + /// + /// True if this transaction state was checked against central service.False means that the state might not be quite right, but we optimisticallyallow client to continue. + /// + /// True if this transaction state was checked against central service.False means that the state might not be quite right, but we optimisticallyallow client to continue. + public bool? onlineChecked { get; init; } + /// + /// Checksum of correlated transactions, to be used while construction correlation attributes + /// + /// Checksum of correlated transactions, to be used while construction correlation attributes + public string checksum { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9ecbbf7100f39792476b9dba1cd877efcf595e6f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// CompleteTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoCompleteTransactionKey { + /// + /// The transaction itself + /// + /// The transaction itself + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoControlTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoControlTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..283e4d80021e5b648fc3e24a831137d041a3617c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoControlTransaction.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ControlTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoControlTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoControlTransactionkey key { get; init; } + /// + /// A code that describes the type of control transaction. + /// + /// A code that describes the type of control transaction. + public string typeCode { get; init; } + /// + /// data for fuel + /// + /// data for fuel + public ComGkSoftwareGkrApiTxpoolDtofuelingTransaction fuelingTransaction { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// data for no sale transactions + /// + /// data for no sale transactions + public List PosnoSaleTransactionList { get; init; } + /// + /// data for sign on transactons + /// + /// data for sign on transactons + public List SignOnTransactionList { get; init; } + /// + /// data for sign off transactons + /// + /// data for sign off transactons + public List SignOffTransactionList { get; init; } + /// + /// data for till tender settlements + /// + /// data for till tender settlements + public List TillTenderSettlementTransactionList { get; init; } + /// + /// data for store safe tender settlements + /// + /// data for store safe tender settlements + public List StoreSafeSettlementTransactionList { get; init; } + /// + /// data for safebag status changes + /// + /// data for safebag status changes + public List DepositBagTransactionList { get; init; } + /// + /// data for safebag settlements + /// + /// data for safebag settlements + public List DepositBagSettlementTransactionList { get; init; } + /// + /// data for tax refund + /// + /// data for tax refund + public List TaxRefundTransactionList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b9690bed508edc827627cf3fad3799d12b1ff463 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoControlTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// ControlTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoControlTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..b098aa48b1d8bc8bbde44991249899ede2e0526d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagSettlementTenderDenomination <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenomination { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationkey key { get; init; } + /// + /// The denomination type code + /// + /// The denomination type code + public string typeCode { get; init; } + /// + /// Piece value  + /// + /// Piece value  + public double? pieceValue { get; init; } + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + public bool? rollFlag { get; init; } + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + public double? rollCapacity { get; init; } + /// + /// The count of the denomination + /// + /// The count of the denomination + public double? denominationCount { get; init; } + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + public double? denominationAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2d58bc47cd22f037fa4f5c4fbbc789e2421fabad --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagSettlementTenderDenomination.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDenominationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + public string tenderTypeCode { get; init; } + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + public int? denominationSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..d7763941ac63e57db3ca8eecfe9673190c3b939d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagSettlementTenderDetail <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetail { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailkey key { get; init; } + /// + /// Description of the tender + /// + /// Description of the tender + public string tenderDescription { get; init; } + /// + /// The tender class code from master data + /// + /// The tender class code from master data + public string tenderClassCode { get; init; } + /// + /// The currency symbol + /// + /// The currency symbol + public string currencySymbol { get; init; } + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + public double? exchangeRate { get; init; } + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + public bool? exchangeRateMultiplyFlag { get; init; } + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + public bool? unitCountRequiredFlag { get; init; } + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + public bool? amountCountRequiredFlag { get; init; } + /// + /// The opening tender balance + /// + /// The opening tender balance + public double? openBalanceAmount { get; init; } + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? openMediaUnitQuantity { get; init; } + /// + /// The closing tender balance in main currencyCorresponds to the target values. + /// + /// The closing tender balance in main currencyCorresponds to the target values. + public double? closeBalanceAmount { get; init; } + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? foreignCurrencyCloseBalanceAmount { get; init; } + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? closeMediaUnitQuantity { get; init; } + /// + /// The counted tender balance in main currency + /// + /// The counted tender balance in main currency + public double? countedBalanceAmount { get; init; } + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? foreignCurrencyCountedBalanceAmount { get; init; } + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? countedMediaUnitQuantity { get; init; } + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + public double? overUnderBalanceAmount { get; init; } + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + public int? overUnderMediaUnitQuantity { get; init; } + /// + /// denomination list for counted values + /// + /// denomination list for counted values + public List DepositBagSettlementTenderDenominationList { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom05 { get; init; } + /// + /// The currency code of the tender + /// + /// The currency code of the tender + public string isocurrencyCode { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom03 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom02 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom04 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c260d479784a3016a9f9efd66c0663b15a1d7dbe --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagSettlementTenderDetail.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTenderDetailKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + public string tenderTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..bd747a73f6a7ad5aea597ee01486eb24aec6b85d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagSettlementTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionkey key { get; init; } + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + public string depositBagID { get; init; } + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + public string depositBagNumber { get; init; } + /// + /// tender details + /// + /// tender details + public List DepositBagSettlementTenderDetailList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0386047166ca816ac1e9d94ef259495c17abc24 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagSettlementTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagSettlementTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..304cff901ce949f9a9fe97fe4f2fd8d4c27d6ed0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransaction.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionkey key { get; init; } + /// + /// automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID + /// + /// automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID + public string depositBagID { get; init; } + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository. + public string depositBagNumber { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5c1adcb61fd1b6b2294288e96d606f28ca41c551 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// DepositBagTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoDepositBagTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1772227310055baf93c1e1d7096d26b337e7673 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// FrequentShopperPointsModifier <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifier { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierkey key { get; init; } + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + public int? triggerSequenceNumber { get; init; } + /// + /// The type code of the root eligibility + /// + /// The type code of the root eligibility + public string eligibilityTypeCode { get; init; } + /// + /// The number of frequent shopper points earned  + /// + /// The number of frequent shopper points earned  + public double? frequentShopperPointsEarnedCount { get; init; } + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned  + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned  + public double? frequentShopperPointsEarnedAmount { get; init; } + /// + /// The quantity the points' modifier applies to  + /// + /// The quantity the points' modifier applies to  + public double? appliedQuantity { get; init; } + /// + /// The amount which was used as base for the points' calculation + /// + /// The amount which was used as base for the points' calculation + public double? computationBaseAmount { get; init; } + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + public bool? externalSystemOriginatorFlag { get; init; } + /// + /// The sequence number of the LoyaltyRewardLineItem.Only filled for point shares of transaction related points discounts. + /// + /// The sequence number of the LoyaltyRewardLineItem.Only filled for point shares of transaction related points discounts. + public int? prorateFrom { get; init; } + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + public double? pointsPercentage { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..592da45ea17ff3980c29c65098a77d9cd2ee6b18 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// FrequentShopperPointsModifier.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoFrequentShopperPointsModifierKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The sequence number for this FrequentShopperPointsModifier allowing more than one points' modification to occur on each retail transaction line item.  + /// + /// The sequence number for this FrequentShopperPointsModifier allowing more than one points' modification to occur on each retail transaction line item.  + public int? frequentShopperPointsModifierSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..3d5d768b96cd3239d6a7f7eab6f842e1005eb580 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem.cs @@ -0,0 +1,58 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuelSalesLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoFuelSalesLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemkey key { get; init; } + /// + /// A status code denoting the mode of the Fuel Sale. Possible values are:Prepay: Where the FuelSaleLineItem happens before the FuelingTransactionPostPay: Where the FuelSaleLineItem happens after the Fueling TransactionPrepayRefund: Where the FuelSaleLineItem happens after a Prepay FuelSaleLineItem and the matching FuelingTransaction did not use all of the money + /// + /// A status code denoting the mode of the Fuel Sale. Possible values are:Prepay: Where the FuelSaleLineItem happens before the FuelingTransactionPostPay: Where the FuelSaleLineItem happens after the Fueling TransactionPrepayRefund: Where the FuelSaleLineItem happens after a Prepay FuelSaleLineItem and the matching FuelingTransaction did not use all of the money + public string fuelSaleStatusCode { get; init; } + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + public string fuelGradeID { get; init; } + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + public double? unitPrice { get; init; } + /// + /// A unique identifier for the FuelingPoint at a particular business unit group + /// + /// A unique identifier for the FuelingPoint at a particular business unit group + public string fuelingPointID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4c6916a4e4ef2e7e82a7bf224fb9f801c5d38e4e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuelSalesLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoFuelSalesLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members. + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction. + /// + /// The sequence number of line item within the context of this RetailTransaction. + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..59ddd3c51ec365676fc28b8037b584c2d4d5be2a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelingTransaction.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuelingTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoFuelingTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionkey key { get; init; } + /// + /// Reference to the Item + /// + /// Reference to the Item + public string itemID { get; init; } + /// + /// A unique identifier for the FuelingPoint at a particular BusinessUnitGroup + /// + /// A unique identifier for the FuelingPoint at a particular BusinessUnitGroup + public string fuelingPointID { get; init; } + /// + /// A unique identifier for the Nozzle + /// + /// A unique identifier for the Nozzle + public string nozzleID { get; init; } + /// + /// A two charcter code denoting the type of FuelingTransactionEvent being recorded.Possible values includePostPay: Where the FuelingTransaction is yet to be sold by a FuelSalesLineItem in a RetailTransactionPrePayCompletion: Where money has been collected for the FuelingTransaction in a previous FuelSalesLineItem and there is no refund required.PrePayRefund: Where too much money was collected for the FuelingTransaction in a previous FuelSalesLineItem, and a further FuelSalesLineItem in a RetailTransaction is required to deal with the refund. + /// + /// A two charcter code denoting the type of FuelingTransactionEvent being recorded.Possible values includePostPay: Where the FuelingTransaction is yet to be sold by a FuelSalesLineItem in a RetailTransactionPrePayCompletion: Where money has been collected for the FuelingTransaction in a previous FuelSalesLineItem and there is no refund required.PrePayRefund: Where too much money was collected for the FuelingTransaction in a previous FuelSalesLineItem, and a further FuelSalesLineItem in a RetailTransaction is required to deal with the refund. + public string typeCode { get; init; } + /// + /// The date &amp; time of the completion of the fueling transaction; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date &amp; time of the completion of the fueling transaction; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string timeStamp { get; init; } + /// + /// The date &amp; time of the completion of the fueling transaction (UTC0); UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The date &amp; time of the completion of the fueling transaction (UTC0); UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? timeStampUTC0 { get; init; } + /// + /// The volume of fuel delivered in the fueling transaction. + /// + /// The volume of fuel delivered in the fueling transaction. + public double? volume { get; init; } + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + /// + /// The price per volume unit charged by the FUELING POINT for the fuel delivered in the FUELING TRANSACTION + public double? unitPrice { get; init; } + /// + /// The number of milli-seconds elapsed between CUSTOMER lifting NOZZLE and FUELING TRANSACTION commencing<br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + /// + /// The number of milli-seconds elapsed between CUSTOMER lifting NOZZLE and FUELING TRANSACTION commencing<br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + public double? authorizationElapsedTime { get; init; } + /// + /// The number of seconds between FUELING TRANSACTION commencing and completing. <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + /// + /// The number of seconds between FUELING TRANSACTION commencing and completing. <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + public double? deliveryElapsedTime { get; init; } + /// + /// The number of seconds elapsed between FUELING TRANSACTION completing and being sold at a point of sale. + /// + /// The number of seconds elapsed between FUELING TRANSACTION completing and being sold at a point of sale. + public double? saleElapsedTime { get; init; } + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + /// + /// A unique system assigned identifier for the retailer's itemID (values between 01-99) + public string fuelGradeID { get; init; } + /// + /// The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken. This code relates to the UCC data element 355. + /// + /// The code used to specify the units in which a value is being expressed, or manner in which a measurement has been taken. This code relates to the UCC data element 355. + public string unitOfMeasureCode { get; init; } + /// + /// Restricts the possibility of using the fleet card for paying to dedicated merchandise only. The code maintained for the merchandise and the code on the fleet card which is intended to be used for paying the transaction have to match in order that this merchandise can be paid by using the fleet card. Whether/for which line items of the transacttion the matching is given is determined by the external payment provider. + /// + /// Restricts the possibility of using the fleet card for paying to dedicated merchandise only. The code maintained for the merchandise and the code on the fleet card which is intended to be used for paying the transaction have to match in order that this merchandise can be paid by using the fleet card. Whether/for which line items of the transacttion the matching is given is determined by the external payment provider. + public string fleetCardPermissionTypeCode { get; init; } + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the fueling transaction was for testing or calibrating the FUELING POINT. + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the fueling transaction was for testing or calibrating the FUELING POINT. + public string testDeliveryTypeCode { get; init; } + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the customer simply drove off wthout paying. + /// + /// Records the clearing of a FUELING TRANSACTION without accepting payment because the customer simply drove off wthout paying. + public string driveOffTypeCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1e1c2efd54b31a41c31ffd29c3993987413eb9f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuelingTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoFuelingTransactionKey { + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members. + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members. + public string transactionID { get; init; } + /// + /// A unique system assigned identifier for a group of BusinessUnits.  + /// + /// A unique system assigned identifier for a group of BusinessUnits.  + public string businessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..bf1ad5295cbe58699a1abd991e05ff9a71aa6433 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificateLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemkey key { get; init; } + /// + /// The type code of gift certificate that defines handling rules for it + /// + /// The type code of gift certificate that defines handling rules for it + public string giftCertificateHandlingTypeCode { get; init; } + /// + /// Identifies a gift certificate type. Corresponds to GiftCertificateClass.GiftCertificateTypeCode  + /// + /// Identifies a gift certificate type. Corresponds to GiftCertificateClass.GiftCertificateTypeCode  + public string giftCertificateTypeCode { get; init; } + /// + /// Determines whether the transaction amount was successfully posted to the Stored Value Server. Stays null in case that this information is not relevant for the current gift certificate line item  + /// + /// Determines whether the transaction amount was successfully posted to the Stored Value Server. Stays null in case that this information is not relevant for the current gift certificate line item  + public string bookingSuccessfulTypeCode { get; init; } + /// + /// Determines whether a cancellation was successfully posted to the Stored Value Server.Stays null in case that this information is not relevant for the current gift certificate line item  + /// + /// Determines whether a cancellation was successfully posted to the Stored Value Server.Stays null in case that this information is not relevant for the current gift certificate line item  + public string bookingCancellationTypeCode { get; init; } + /// + /// The name of the adapter of the involved external system + /// + /// The name of the adapter of the involved external system + public string externalSystemAdapterName { get; init; } + /// + /// The expiration date of the gift certificate ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The expiration date of the gift certificate ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationDate { get; init; } + /// + /// The remaining balance of the gift certificate  + /// + /// The remaining balance of the gift certificate  + public double? remainingBalance { get; init; } + /// + /// The serial number that uniquely identifies a GIFT CERTIFICATE. + /// + /// The serial number that uniquely identifies a GIFT CERTIFICATE. + public string giftCertificateSerialNumber { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// The gift certificate server transaction ID  + /// + /// The gift certificate server transaction ID  + public string gcstransactionUUID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5805aa7fbf49ddbf0c6df5ffeda8d71a28c2d195 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificateLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoGiftCertificateLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate.cs new file mode 100644 index 0000000000000000000000000000000000000000..5111725fba2c7fcea82824b316503d5a218b1b51 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociate.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemAssociate <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoLineItemAssociate { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoLineItemAssociatekey key { get; init; } + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + public string workerID { get; init; } + /// + /// The date and time that the associate performed the action for which a commission is payable. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time that the associate performed the action for which a commission is payable. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string actionDatetime { get; init; } + /// + /// The first name of the worker who served the customer  + /// + /// The first name of the worker who served the customer  + public string workerFirstName { get; init; } + /// + /// The last name of the worker who served the customer  + /// + /// The last name of the worker who served the customer  + public string workerLastName { get; init; } + /// + /// The UTC0 date and time that the associate performed the action for which a commission is payable. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 date and time that the associate performed the action for which a commission is payable. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? actionDatetimeUTC0 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..747717be3b3af6ba747d76a9100144ef196fd23c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemAssociate.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoLineItemAssociateKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..b0792000a4919951e4727242d6861137c31dbf4b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoyaltyRewardLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemkey key { get; init; } + /// + /// The number of loyalty points awarded. <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of loyalty points awarded. <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? pointsAwardedCount { get; init; } + /// + /// Describes the kind of loyalty reward, possible values include frequent shopper points, coupon, gift certificate  + /// + /// Describes the kind of loyalty reward, possible values include frequent shopper points, coupon, gift certificate  + public string loyaltyRewardTypeCode { get; init; } + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned (PointsAwardedCount)  + /// + /// The money equivalent (expressed in local currency) to the number of frequent shopper points earned (PointsAwardedCount)  + public double? frequentShopperPointsEarnedAmount { get; init; } + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + public int? triggerSequenceNumber { get; init; } + /// + /// The amount which was used as base for the points' calculation  + /// + /// The amount which was used as base for the points' calculation  + public double? computationBaseAmount { get; init; } + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + public bool? externalSystemOriginatorFlag { get; init; } + /// + /// The number of the coupon the customer gets  + /// + /// The number of the coupon the customer gets  + public string couponNumber { get; init; } + /// + /// The monetary value of the coupon the customer gets  + /// + /// The monetary value of the coupon the customer gets  + public double? couponAmount { get; init; } + /// + /// The monetary value printed or embossed on the GIFT CERTIFICATE. + /// + /// The monetary value printed or embossed on the GIFT CERTIFICATE. + public double? giftCertificateFaceValueAmount { get; init; } + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + /// + /// The points calculation rule to be applied, expressed as a percentage of the calculation base. Corresponds to ItemPriceDerivationRule.PriceModificationPercent if available.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + public double? pointsPercentage { get; init; } + /// + /// list of coupon serials + /// + /// list of coupon serials + public List LoyaltyRewardLineItemCouponSerialList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial.cs new file mode 100644 index 0000000000000000000000000000000000000000..118638dbd3e1551c4f35eaf98886cac0fff84711 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial.cs @@ -0,0 +1,178 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoyaltyRewardLineItemCouponSerial <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerial { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialkey key { get; init; } + /// + /// The coupon serial number + /// + /// The coupon serial number + public string couponSerialNumber { get; init; } + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + public string bookingSuccessfulTypeCode { get; init; } + /// + /// The couponing service transaction ID  + /// + /// The couponing service transaction ID  + public string bookingTransactionUUID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f6596d691cfef410c1832c215fe699367f9b4d95 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoyaltyRewardLineItemCouponSerial.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemCouponSerialKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The sequence number of the coupon serial.This is relevant if multiple coupon serials are issued for one loyalty reward. + /// + /// The sequence number of the coupon serial.This is relevant if multiple coupon serials are issued for one loyalty reward. + public int? couponSerialSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..55953f3a69637bf5335b03a8512d4aaf855eac4f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoyaltyRewardLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoLoyaltyRewardLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..70c755965ac5ad523828529fc460bb31ddba3a25 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// POSNoSaleTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionkey key { get; init; } + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + public string tillID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c6239f3b0802cdf14fa4aec95843687baa8fb742 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// POSNoSaleTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoPOSNoSaleTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..887bc04c6f2f75738f05fa0ca764d87e2c8b7bd8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItem.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoPrepaidLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemkey key { get; init; } + /// + /// Determines whether the prepaid transaction was confirmed. Stays null in case that this information is not relevant for the current prepaid line item  + /// + /// Determines whether the prepaid transaction was confirmed. Stays null in case that this information is not relevant for the current prepaid line item  + public string bookingSuccessfulTypeCode { get; init; } + /// + /// The name of the provider of the prepaid service  + /// + /// The name of the provider of the prepaid service  + public string prepaidProviderName { get; init; } + /// + /// The prepaid transaction ID  + /// + /// The prepaid transaction ID  + public string prepaidTransactionID { get; init; } + /// + /// The name of the adapter of the involved external system + /// + /// The name of the adapter of the involved external system + public string externalSystemAdapterName { get; init; } + /// + /// The ident of the prepaid PIN. The PIN itself must not be stored. The prepaid ident is needed for support purposes.  + /// + /// The ident of the prepaid PIN. The PIN itself must not be stored. The prepaid ident is needed for support purposes.  + public string prepaidID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8e5e70af3fd4297dc0819cf3b07f753cb5e6ac65 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoPrepaidLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..21efb2420b8e53563aa47ff76d9de6555d23455f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// PriceModificationLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoPriceModificationLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemkey key { get; init; } + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The percentage value in case of percentage price modifiers.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + /// + /// The percentage value in case of percentage price modifiers.<br>Fixed decimal precision expected, definition of used precision: double(13, 4). Be aware of this and round value! + public double? percentage { get; init; } + /// + /// The monetary amount that the price modification was adjusted by (after calculation from the percentage). <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount that the price modification was adjusted by (after calculation from the percentage). <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? roundingAmount { get; init; } + /// + /// The monetary value of the price modification that was given.  + /// + /// The monetary value of the price modification that was given.  + public double? amount { get; init; } + /// + /// Indicates if this price modification was pro-rated across all of the Items in the RetailTransaction.Always true. + /// + /// Indicates if this price modification was pro-rated across all of the Items in the RetailTransaction.Always true. + public bool? proRatedFlag { get; init; } + /// + /// The ident of the manual trigger (because a transaction item can have more than one trigger)  + /// + /// The ident of the manual trigger (because a transaction item can have more than one trigger)  + public int? triggerSequenceNumber { get; init; } + /// + /// The retail sale total price of the transaction before applying the current price modification line item  + /// + /// The retail sale total price of the transaction before applying the current price modification line item  + public double? extendedAmountBeforeModification { get; init; } + /// + /// The retail sale total price of the transaction before applying the current price modification line item + /// + /// The retail sale total price of the transaction before applying the current price modification line item + public double? extendedAmountAfterModification { get; init; } + /// + /// A monetary amount which results from applying a price modification line item but does not affect the transaction total  + /// + /// A monetary amount which results from applying a price modification line item but does not affect the transaction total  + public double? extraAmount { get; init; } + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied + public bool? externalSystemOriginatorFlag { get; init; } + /// + /// The amount which was used as base for calculation of the price modification + /// + /// The amount which was used as base for calculation of the price modification + public double? calculationBaseAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..be2c570d9fbe2d0d85aec13627c93c865a12010d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PriceModificationLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoPriceModificationLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..68695aa3ebfa7b47f7b82538bf27a4449bc512f3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifier.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailPriceModifier <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailPriceModifier { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierkey key { get; init; } + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The reason code for manual price overrides. + /// + /// The reason code for manual price overrides. + public string reasonCode { get; init; } + /// + /// The unit price that was valid before manual price override.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The unit price that was valid before manual price override.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? previousPrice { get; init; } + /// + /// The percentage value in case of percentage price modifiers. + /// + /// The percentage value in case of percentage price modifiers. + public double? percent { get; init; } + /// + /// The total amount of the retail price modifier. + /// + /// The total amount of the retail price modifier. + public double? amount { get; init; } + /// + /// A type code used to identity manual price overrides. + /// + /// A type code used to identity manual price overrides. + public string calculationMethodCode { get; init; } + /// + /// A mnemonic code denoting what kind of adjustment is being made to the retail price of the Item (Increase, Decrease). + /// + /// A mnemonic code denoting what kind of adjustment is being made to the retail price of the Item (Increase, Decrease). + public string adjustmentMethodCode { get; init; } + /// + /// The unit price that was the result of the price modification. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The unit price that was the result of the price modification. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? newPrice { get; init; } + /// + /// The type code of the root eligibility + /// + /// The type code of the root eligibility + public string eligibilityTypeCode { get; init; } + /// + /// The retail sale total price of the line item before applying the current price modifier  + /// + /// The retail sale total price of the line item before applying the current price modifier  + public double? extendedAmountBeforeModification { get; init; } + /// + /// The retail sale total price of the line item after applying the current price modifier  + /// + /// The retail sale total price of the line item after applying the current price modifier  + public double? extendedAmountAfterModification { get; init; } + /// + /// The quantity the price modifier applies to. Always positive. + /// + /// The quantity the price modifier applies to. Always positive. + public double? appliedQuantity { get; init; } + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + /// + /// The ident of the manual trigger (because one line item can have more than one trigger)  + public int? triggerSequenceNumber { get; init; } + /// + /// A narrative description describing the reason for manual price overrides. + /// + /// A narrative description describing the reason for manual price overrides. + public string reasonDescription { get; init; } + /// + /// A monetary amount which results from applying a price modifier but does not affect the line item total  + /// + /// A monetary amount which results from applying a price modifier but does not affect the line item total  + public double? extraAmount { get; init; } + /// + /// The monetary amount that the price modifier was adjusted by.  + /// + /// The monetary amount that the price modifier was adjusted by.  + public double? roundingAmount { get; init; } + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + /// + /// Determines whether this entry was created by an external system - if yes, it must not be changed, but own price modifications with higher sequence may be applied  + public bool? externalSystemOriginatorFlag { get; init; } + /// + /// The sequence number of the PriceModificationLineItem.Only filled for discount shares of transaction related discounts. + /// + /// The sequence number of the PriceModificationLineItem.Only filled for discount shares of transaction related discounts. + public int? prorateFrom { get; init; } + /// + /// The amount which was used as base for calculation of the price modification + /// + /// The amount which was used as base for calculation of the price modification + public double? calculationBaseAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..26550c388bfbba7ea6b17a56a7526f8e6711a6ae --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailPriceModifier.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailPriceModifierKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The sequence number for this RetailPriceModifier allowing more than one price modification to occur on each retail transaction line item.  + /// + /// The sequence number for this RetailPriceModifier allowing more than one price modification to occur on each retail transaction line item.  + public int? retailPriceModifierSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..7a4a6d13f7b09ac681c875d7ccfc704929fdd75f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransaction.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionkey key { get; init; } + /// + /// A retailer assigned code denoting a type of RetailTransaction.  + /// + /// A retailer assigned code denoting a type of RetailTransaction.  + public string retailTransactionTypeCode { get; init; } + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + public string tillID { get; init; } + /// + /// The date and time when the receipt for this transaction was printed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time when the receipt for this transaction was printed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string receiptDateTime { get; init; } + /// + /// Determines whether for this sales transaction a receipt was printed  + /// + /// Determines whether for this sales transaction a receipt was printed  + public bool? receiptPrintoutFlag { get; init; } + /// + /// The timestamp used for promotion validity checks and calculation ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp used for promotion validity checks and calculation ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string promotionTimestamp { get; init; } + /// + /// The number of frequent shopper points that HAD been awarded for the purchase in case the customer HAD presented a loyalty card<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of frequent shopper points that HAD been awarded for the purchase in case the customer HAD presented a loyalty card<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? frequentShopperLostPointsCount { get; init; } + /// + /// list of line items + /// + /// list of line items + public List RetailTransactionLineItemList { get; init; } + /// + /// list of total amounts + /// + /// list of total amounts + public List RetailTransactionTotalList { get; init; } + /// + /// list of promotion triggers + /// + /// list of promotion triggers + public List RetailTransactionPromotionTriggerList { get; init; } + /// + /// list of external triggers + /// + /// list of external triggers + public List RetailTransactionExternalTriggerList { get; init; } + /// + /// list of customers + /// + /// list of customers + public List RetailTransactionCustomerList { get; init; } + /// + /// list of coupons + /// + /// list of coupons + public List RetailTransactionCouponSummaryList { get; init; } + /// + /// list of conditions + /// + /// list of conditions + public List RetailTransactionPromotionPriceDerivationRuleList { get; init; } + /// + /// list of used coupons + /// + /// list of used coupons + public List RetailTransactionModifierCouponList { get; init; } + /// + /// terminal authorization list + /// + /// terminal authorization list + public List TenderAuthorizationList { get; init; } + /// + /// list of manufacturer coupons + /// + /// list of manufacturer coupons + public List RetailTransactionManufacturerCouponSummaryList { get; init; } + /// + /// send receipt as mail is activated + /// + /// send receipt as mail is activated + public bool? emailRequestedFlag { get; init; } + /// + /// local part of entered e-mail address + /// + /// local part of entered e-mail address + public string emailAddressLocalPart { get; init; } + /// + /// domain part of entered e-mail address + /// + /// domain part of entered e-mail address + public string emailAddressDomainPart { get; init; } + /// + /// invoice printout is activated + /// + /// invoice printout is activated + public string invoicePrintoutTypeCode { get; init; } + /// + /// number of the invoice + /// + /// number of the invoice + public string invoiceNumber { get; init; } + /// + /// The UTC0 timestamp corresponding to the date and time that was printed on the receipt for this transaction. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp corresponding to the date and time that was printed on the receipt for this transaction. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? receiptDateTimeUTC0 { get; init; } + /// + /// The UTC0 timestamp used for promotion validity checks and calculation ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp used for promotion validity checks and calculation ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? promotionTimestampUTC0 { get; init; } + /// + /// The name (identifier) for a particular table, at which customers sit to eat food purchased in a RetailTransaction. It may be a table 'number' like '10' or '10.1' or the name of the customer party like 'Mr Mustermann'. + /// + /// The name (identifier) for a particular table, at which customers sit to eat food purchased in a RetailTransaction. It may be a table 'number' like '10' or '10.1' or the name of the customer party like 'Mr Mustermann'. + public string tableName { get; init; } + /// + /// list of generic attributes being valid for the transaction + /// + /// list of generic attributes being valid for the transaction + public List RetailTransactionGenericAttributeList { get; init; } + /// + /// A status of the promotion recommendation evaluation and a list of promotions being recommended for a transaction. In order to get those promotions applied the customer would have to extend his purchase. + /// + /// A status of the promotion recommendation evaluation and a list of promotions being recommended for a transaction. In order to get those promotions applied the customer would have to extend his purchase. + public ComGkSoftwareGkrApiTxpoolDtoretailTransactionPromotionRecommendationGroup retailTransactionPromotionRecommendationGroup { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// tax exempt data + /// + /// tax exempt data + public List RetailTransactionTaxExemptTriggerList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..d94d5cc711af37d746deb4135f35fc3956810c62 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary.cs @@ -0,0 +1,188 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCouponSerialSummary <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummary { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummarykey key { get; init; } + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + /// + /// Determines whether the coupon redemption was successfully posted to the Couponing Service.Stays null in case that no Couponing Service is used.  + public string bookingSuccessfulTypeCode { get; init; } + /// + /// The couponing service transaction ID  + /// + /// The couponing service transaction ID  + public string bookingTransactionUUID { get; init; } + /// + /// The last date and time when the coupon is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The last date and time when the coupon is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationTimestamp { get; init; } + /// + /// The last date and time in UTC0 format when the coupon is effective; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The last date and time in UTC0 format when the coupon is effective; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? expirationTimestampUTC0 { get; init; } + /// + /// Defines if the coupon serial triggered a promotion price derivation rule. + /// + /// Defines if the coupon serial triggered a promotion price derivation rule. + public bool? appliedFlag { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8ba3c1aa4106d39ba7d8dba07b4d186771d4856a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCouponSerialSummary.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSerialSummaryKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The coupon number  + /// + /// The coupon number  + public string couponNumber { get; init; } + /// + /// The coupon serial number + /// + /// The coupon serial number + public string couponSerialNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1079079e44e9476692c5b904d7c7c09d1254127 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary.cs @@ -0,0 +1,73 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCouponSummary <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummary { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummarykey key { get; init; } + /// + /// Count of registered coupons  + /// + /// Count of registered coupons  + public double? inputCount { get; init; } + /// + /// Number of used coupons <br>Fixed decimal precision expected, definition of used precision: double(10, 0). Be aware of this and round value! + /// + /// Number of used coupons <br>Fixed decimal precision expected, definition of used precision: double(10, 0). Be aware of this and round value! + public double? appliedCount { get; init; } + /// + /// Determines how the new price is to be calculated in case that rebate information is given by PrivilegeValue  + /// + /// Determines how the new price is to be calculated in case that rebate information is given by PrivilegeValue  + public string privilegeType { get; init; } + /// + /// Reduction amount, reduction percent or new price amount – depending on the chosen PrivilegeType<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// Reduction amount, reduction percent or new price amount – depending on the chosen PrivilegeType<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? privilegeValue { get; init; } + /// + /// A unique system assigned identifier for the Customer. + /// + /// A unique system assigned identifier for the Customer. + public string customerID { get; init; } + /// + /// The customer type code + /// + /// The customer type code + public string customerAddressTypeCode { get; init; } + /// + /// list of coupon serials + /// + /// list of coupon serials + public List RetailTransactionCouponSerialSummaryList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d5f1c7b3538dc8aa489b5b1959beddf714a1d62c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCouponSummary.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCouponSummaryKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The coupon number  + /// + /// The coupon number  + public string couponNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer.cs new file mode 100644 index 0000000000000000000000000000000000000000..8380b2e3e71ed904d7f9a120bc0825ccfb97108c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomer <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomer { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerkey key { get; init; } + /// + /// A code for specifying a persons gender.  + /// + /// A code for specifying a persons gender.  + public string genderType { get; init; } + /// + /// A number in the range 1-31denoting the day of the month part of the Person's date of birth.  + /// + /// A number in the range 1-31denoting the day of the month part of the Person's date of birth.  + public int? birthDayNumber { get; init; } + /// + /// A number in the range 1-12 denoting the month part of the Person's date of birth.  + /// + /// A number in the range 1-12 denoting the month part of the Person's date of birth.  + public int? birthMonthNumber { get; init; } + /// + /// The year part of the Person's date of birth.  + /// + /// The year part of the Person's date of birth.  + public int? birthYearNumber { get; init; } + /// + /// The description of the customer type code + /// + /// The description of the customer type code + public string addressTypeDescription { get; init; } + /// + /// If true, the customer is a dummy/unknown customer  + /// + /// If true, the customer is a dummy/unknown customer  + public bool? genericFlag { get; init; } + /// + /// The description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements  + /// + /// The description of the business of the customer; this information is e.g. to be printed on invoices in Greece due to tax law requirements  + public string businessDescription { get; init; } + /// + /// A code that describes how this customer's identification is being entered (e.g. it is scanned, keyed, etc.)  + /// + /// A code that describes how this customer's identification is being entered (e.g. it is scanned, keyed, etc.)  + public string customerIDEntryMethodCode { get; init; } + /// + /// A person's first name. + /// + /// A person's first name. + public string firstName { get; init; } + /// + /// A person's last name. + /// + /// A person's last name. + public string lastName { get; init; } + /// + /// Defines the preferred printout settings for the customer + /// + /// Defines the preferred printout settings for the customer + public string preferredReceiptPrintoutTypeCode { get; init; } + /// + /// Number of the customer to which this buyer / contact person belongs. + /// + /// Number of the customer to which this buyer / contact person belongs. + public string parentCustomerID { get; init; } + /// + /// First name line of the customer to which this buyer / contact person belongs. + /// + /// First name line of the customer to which this buyer / contact person belongs. + public string parentCustomerName1 { get; init; } + /// + /// Second name line of the customer to which this buyer / contact person belongs. + /// + /// Second name line of the customer to which this buyer / contact person belongs. + public string parentCustomerName2 { get; init; } + /// + /// list of customer accounts + /// + /// list of customer accounts + public List RetailTransactionCustomerAccountList { get; init; } + /// + /// list of customer groups + /// + /// list of customer groups + public List RetailTransactionCustomerGroupAssignmentList { get; init; } + /// + /// list of contact methods (address, phone, mail, ...) + /// + /// list of contact methods (address, phone, mail, ...) + public List RetailTransactionCustomerContactMethodList { get; init; } + /// + /// list of customer identitfication numbers + /// + /// list of customer identitfication numbers + public List RetailTransactionCustomerIdentificationList { get; init; } + /// + /// An ORGANIZATION's legal trade name. + /// + /// An ORGANIZATION's legal trade name. + public string organizationName { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..f088a1e8df7b843cc70443358b5ee6ae68a97a78 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerAccount <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccount { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountkey key { get; init; } + /// + /// The customer account number  + /// + /// The customer account number  + public string customerAccountID { get; init; } + /// + /// Determines what kind of customer account this is. + /// + /// Determines what kind of customer account this is. + public string customerAccountTypeCode { get; init; } + /// + /// The current balance of the customer account  + /// + /// The current balance of the customer account  + public double? customerAccountBalance { get; init; } + /// + /// Determines whether the request of customer account data was completed successfully  + /// + /// Determines whether the request of customer account data was completed successfully  + public bool? customerAccountQuerySuccessfulFlag { get; init; } + /// + /// The external ident of the accounting transaction of the the customer account + /// + /// The external ident of the accounting transaction of the the customer account + public string customerAccountTransactionID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e97ca3d4c42e375b323d8b71c6a232929b788966 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerAccount.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerAccountKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + public string customerID { get; init; } + /// + /// The customer type code + /// + /// The customer type code + public string addressTypeCode { get; init; } + /// + /// Line number (incremental counter)  + /// + /// Line number (incremental counter)  + public int? customerAccountSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod.cs new file mode 100644 index 0000000000000000000000000000000000000000..5bcd4a89425ac793d7d125152303f782c4cfe7b1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerContactMethod <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethod { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodkey key { get; init; } + /// + /// Describes the type of contact. Possible values include e-mail address, address, telephone, internet URL.  + /// + /// Describes the type of contact. Possible values include e-mail address, address, telephone, internet URL.  + public string contactTypeCode { get; init; } + /// + /// The local-part portion is a domain-dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox.  + /// + /// The local-part portion is a domain-dependent string. In addresses, it is simply interpreted on the particular host as a name of a particular mailbox.  + public string emailAddressLocalPart { get; init; } + /// + /// The domain portion identifies the point to which the mail is delivered. In the dot-atom form, this is interpreted as an Internet domain name (either a host name or a mail exchanger name) as described in [RFC1034], [RFC1035], and [RFC1123]. In the domain-literal form, the domain is interpreted as the literal Internet address of the particular host. In both cases, how addressing is used and how messages are transported to a particular host is covered in separate documents, such as [RFC5321].  + /// + /// The domain portion identifies the point to which the mail is delivered. In the dot-atom form, this is interpreted as an Internet domain name (either a host name or a mail exchanger name) as described in [RFC1034], [RFC1035], and [RFC1123]. In the domain-literal form, the domain is interpreted as the literal Internet address of the particular host. In both cases, how addressing is used and how messages are transported to a particular host is covered in separate documents, such as [RFC5321].  + public string emailAddressDomainPart { get; init; } + /// + /// The complete telephone number including the CountryCode, AreaCode, Telephone Number and ExtensionNumber.  + /// + /// The complete telephone number including the CountryCode, AreaCode, Telephone Number and ExtensionNumber.  + public string completePhoneNumber { get; init; } + /// + /// The internet URL + /// + /// The internet URL + public string internetURL { get; init; } + /// + /// The first line of the address, normally the street number and name.  + /// + /// The first line of the address, normally the street number and name.  + public string addressLine1 { get; init; } + /// + /// The second line of an address, normally the Flat or Building Suite number.  + /// + /// The second line of an address, normally the Flat or Building Suite number.  + public string addressLine2 { get; init; } + /// + /// The third line of the address.  + /// + /// The third line of the address.  + public string addressLine3 { get; init; } + /// + /// The fourth line of the address.  + /// + /// The fourth line of the address.  + public string addressLine4 { get; init; } + /// + /// The fifth line of the address. It is normally used for the salutation.  + /// + /// The fifth line of the address. It is normally used for the salutation.  + public string addressLine5 { get; init; } + /// + /// The city, town or village component of the address  + /// + /// The city, town or village component of the address  + public string city { get; init; } + /// + /// This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.  + /// + /// This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.  + public string subTerritoryName { get; init; } + /// + /// The postal or zip code of the address  + /// + /// The postal or zip code of the address  + public string postalCode { get; init; } + /// + /// The extension of the postal or zip code that further specifies a particular postal district.  + /// + /// The extension of the postal or zip code that further specifies a particular postal district.  + public string postalCodeExtension { get; init; } + /// + /// The County, State, Province, Territory etc component of the address  + /// + /// The County, State, Province, Territory etc component of the address  + public string territory { get; init; } + /// + /// The name of the County, State, Province, Territory etc. component of the address  + /// + /// The name of the County, State, Province, Territory etc. component of the address  + public string territoryName { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// The ISO-3166-1 two letter code of the country + /// + /// The ISO-3166-1 two letter code of the country + public string isocountryCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..55c6fac5a550bd7556822ff5344b8010d42a633a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerContactMethod.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerContactMethodKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + public string customerID { get; init; } + /// + /// The customer type code + /// + /// The customer type code + public string addressTypeCode { get; init; } + /// + /// A retailer defined code denoting a reason for contacting a Party.  + /// + /// A retailer defined code denoting a reason for contacting a Party.  + public string contactPurposeTypeCode { get; init; } + /// + /// A retailer assigned code denoting a method of contacting a Party. + /// + /// A retailer assigned code denoting a method of contacting a Party. + public string contactMethodTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment.cs new file mode 100644 index 0000000000000000000000000000000000000000..3e9dec400a9707a269dcdd43fccfe1ba042fbba5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerGroupAssignment <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignment { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentkey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..47af9da1419696cb942843d19427c46e11840f38 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerGroupAssignment.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerGroupAssignmentKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + public string customerID { get; init; } + /// + /// The customer type code + /// + /// The customer type code + public string addressTypeCode { get; init; } + /// + /// A unique identification number assigned to a customer group  + /// + /// A unique identification number assigned to a customer group  + public string customerGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification.cs new file mode 100644 index 0000000000000000000000000000000000000000..82ad3af4e9e823361a0b5afcf2f45c8b03d20f3f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerIdentification <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentification { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationkey key { get; init; } + /// + /// The number or character sequence on the identification that identifies the party. + /// + /// The number or character sequence on the identification that identifies the party. + public string identifier { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6a28177760e318a1168f33f2a086086b0934f462 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomerIdentification.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerIdentificationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + public string customerID { get; init; } + /// + /// The customer type code + /// + /// The customer type code + public string addressTypeCode { get; init; } + /// + /// A code denoting a form of identification that the customer uses to identify themselves.  + /// + /// A code denoting a form of identification that the customer uses to identify themselves.  + public string partyIdentificationTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d68bf63d037b679c78cec573ba3ea0789c9e8d7d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionCustomer.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionCustomerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique system assigned identifier for the Customer.  + /// + /// A unique system assigned identifier for the Customer.  + public string customerID { get; init; } + /// + /// The customer type code + /// + /// The customer type code + public string addressTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..e6ee25be58324c72211705004cb7616bfe3fc372 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionExternalTrigger <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTrigger { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerkey key { get; init; } + /// + /// The value (amount). Its type is determined by TriggerTypeCode. + /// + /// The value (amount). Its type is determined by TriggerTypeCode. + public double? triggerAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ed56f7197d279b0c67be0029f32cd8518d4006bd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionExternalTrigger.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionExternalTriggerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The type of the TriggerValue, e.g. 00 - turnover of the (current) year 01 - rebate amount which was granted during the (current) year  + /// + /// The type of the TriggerValue, e.g. 00 - turnover of the (current) year 01 - rebate amount which was granted during the (current) year  + public string triggerTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute.cs new file mode 100644 index 0000000000000000000000000000000000000000..016335f64ee91c8226fe6f927ab1168548a25922 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute.cs @@ -0,0 +1,178 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionGenericAttribute <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttribute { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributekey key { get; init; } + /// + /// The key of the generic attribute.The key may not be unique in the scope of the transaction. + /// + /// The key of the generic attribute.The key may not be unique in the scope of the transaction. + public string genericAttributeKey { get; init; } + /// + /// The value of the generic attribute. + /// + /// The value of the generic attribute. + public string genericAttributeValue { get; init; } + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + public bool? customFlag { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..df7e0da3f1f581802470371d1a6c4503d280e300 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionGenericAttribute.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionGenericAttributeKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of generic attribute within the scope of the transaction. + /// + /// The sequence number of generic attribute within the scope of the transaction. + public int? genericAttributeSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..273e64054b52d059b4050a047347056c1061e18b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..6a3b392dd7e10dd70df4e2f8949fbf3e655f2203 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem.cs @@ -0,0 +1,248 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemkey key { get; init; } + /// + /// An external identifier for the related customer order. + /// + /// An external identifier for the related customer order. + public string externalCustomerOrderID { get; init; } + /// + /// A unique system assigned identifier for the LineItem of the CustomerOrder.  + /// + /// A unique system assigned identifier for the LineItem of the CustomerOrder.  + public int? customerOrderSequenceNumber { get; init; } + /// + /// The start time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The start time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string beginDateTimestamp { get; init; } + /// + /// A boolean indicator that tells if this line item is VOIDED or not. + /// + /// A boolean indicator that tells if this line item is VOIDED or not. + public bool? voidFlag { get; init; } + /// + /// The end time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The end time of the RETAIL TRANSACTION line item. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string endDateTimestamp { get; init; } + /// + /// A retailer assigned code to denote how the RetailTransactionLineItem was entered at the Workstation. It is filled just for retail transaction line item. + /// + /// A retailer assigned code to denote how the RetailTransactionLineItem was entered at the Workstation. It is filled just for retail transaction line item. + public string entryMethodCode { get; init; } + /// + /// A code to denote the type of retail transaction line item, such as Sale/Return, Void, Tender ... + /// + /// A code to denote the type of retail transaction line item, such as Sale/Return, Void, Tender ... + public string retailTransactionLineItemTypeCode { get; init; } + /// + /// Describes whether the line item was voided immediately after registering it, voided by another line item or internally voided  + /// + /// Describes whether the line item was voided immediately after registering it, voided by another line item or internally voided  + public string voidTypeCode { get; init; } + /// + /// id of the workstation where the line item was created + /// + /// id of the workstation where the line item was created + public string workstationID { get; init; } + /// + /// type of the workstation where the line item was created + /// + /// type of the workstation where the line item was created + public string workstationTypeCode { get; init; } + /// + /// A code that indicates the online/offline state when transaction was completed. + /// + /// A code that indicates the online/offline state when transaction was completed. + public string keyedOfflineCode { get; init; } + /// + /// The UTC0 start time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 start time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? beginDateTimestampUTC0 { get; init; } + /// + /// The UTC0 end time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 end time of the RETAIL TRANSACTION line item. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? endDateTimestampUTC0 { get; init; } + /// + /// list of line item associations + /// + /// list of line item associations + public List RetailTransactionLineItemAssociationList { get; init; } + /// + /// list of additional parameters + /// + /// list of additional parameters + public List RetailTransactionLineItemAdditionalParameterList { get; init; } + /// + /// list of binary data + /// + /// list of binary data + public List RetailTransactionLineItemBinaryDataList { get; init; } + /// + /// list of translations for line item texts + /// + /// list of translations for line item texts + public List RetailTransactionLineItemI18NTextList { get; init; } + /// + /// list of data for line item related authorizations + /// + /// list of data for line item related authorizations + public List RetailTransactionLineItemResourceOverrideList { get; init; } + /// + /// list of line item extensions + /// + /// list of line item extensions + public List RetailTransactionLineItemExtensionList { get; init; } + /// + /// list of line item audit events + /// + /// list of line item audit events + public List RetailTransactionLineItemAuditEventList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// sale return line item + /// + /// sale return line item + public List SaleReturnLineItemList { get; init; } + /// + /// tender line item + /// + /// tender line item + public List TenderLineItemList { get; init; } + /// + /// void line item + /// + /// void line item + public List VoidsLineItemList { get; init; } + /// + /// rounding line item + /// + /// rounding line item + public List RoundingLineItemList { get; init; } + /// + /// transaction related discount + /// + /// transaction related discount + public List PriceModificationLineItemList { get; init; } + /// + /// transaction related bonuspoints + /// + /// transaction related bonuspoints + public List LoyaltyRewardLineItemList { get; init; } + /// + /// worker discount line item + /// + /// worker discount line item + public List WorkerDiscountLineItemList { get; init; } + /// + /// transaction related tax + /// + /// transaction related tax + public List TaxLineItemList { get; init; } + /// + /// additional gift certificate data for SaleReturnLineItem, TenderLineItem or VoidsLineItem + /// + /// additional gift certificate data for SaleReturnLineItem, TenderLineItem or VoidsLineItem + public List GiftCertificateLineItemList { get; init; } + /// + /// additional prepaid data for SaleReturnLineItem or VoidsLineItem + /// + /// additional prepaid data for SaleReturnLineItem or VoidsLineItem + public List PrepaidLineItemList { get; init; } + /// + /// additional bonuspoints redemption data + /// + /// additional bonuspoints redemption data + public List RetailTransactionLineItemFrequentShopperPointsRedemptionList { get; init; } + /// + /// data for additional bonus itemsA type of RETAIL TRANSACTION LINE ITEM that records PCE's response for the application of a promotion price derivation rule of type 'additional bonus'. + /// + /// data for additional bonus itemsA type of RETAIL TRANSACTION LINE ITEM that records PCE's response for the application of a promotion price derivation rule of type 'additional bonus'. + public List AdditionalBonusDiscountLineItemList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter.cs new file mode 100644 index 0000000000000000000000000000000000000000..f5d8494cd97f4e3df098eea21c6d9d88b9c5678f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemAdditionalParameter <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameter { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterkey key { get; init; } + /// + /// The name of the parameter, e.g. the name/title of an additional input field  + /// + /// The name of the parameter, e.g. the name/title of an additional input field  + public string parameterName { get; init; } + /// + /// The value of the parameter, e.g. user input for an additional input field  + /// + /// The value of the parameter, e.g. user input for an additional input field  + public string parameterValue { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..44842aede0bf7e3a2a51a654316153c8419675f9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemAdditionalParameter.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAdditionalParameterKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The external parameter ident (is needed for export), e.g. ident of an additional input field  + /// + /// The external parameter ident (is needed for export), e.g. ident of an additional input field  + public string externalParameterID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation.cs new file mode 100644 index 0000000000000000000000000000000000000000..1c7e5aa4304a568c529c91eccf931ac538ffa4bb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation.cs @@ -0,0 +1,42 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemAssociation <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociation { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationkey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Gets or Sets ToTransactionID + /// + public string toTransactionID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..00adb74a3ce2ebc869d5457ee024842450ecc728 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemAssociation.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAssociationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. + /// + /// A universally unique identifier (UUID) for the Transaction. + public string transactionID { get; init; } + /// + /// The sequence number of line item + /// + /// The sequence number of line item + public int? lineItemSequenceNumber { get; init; } + /// + /// The transaction id of the linked transaction. + /// + /// The transaction id of the linked transaction. + public string toTransactionID { get; init; } + /// + /// The sequence number of the linked line item. + /// + /// The sequence number of the linked line item. + public int? toLineItemSequenceNumber { get; init; } + /// + /// A retailer assigned code denoting the relationship between the two items. + /// + /// A retailer assigned code denoting the relationship between the two items. + public string lineItemAssociationTypeCode { get; init; } + /// + /// A unique system assigned identifier for the the business unit group of the linked transaction. + /// + /// A unique system assigned identifier for the the business unit group of the linked transaction. + public string toBusinessUnitGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..2e45320ec12794ac739c2451f5d435881dd74b8f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemAuditEvent <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEvent { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventkey key { get; init; } + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string creationTimestamp { get; init; } + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? creationTimestampUTC0 { get; init; } + /// + /// ID of the workstation + /// + /// ID of the workstation + public string workstationID { get; init; } + /// + /// Type code of the workstation + /// + /// Type code of the workstation + public string workstationTypeCode { get; init; } + /// + /// Type code of the audit event + /// + /// Type code of the audit event + public string eventTypeCode { get; init; } + /// + /// Additional event content + /// + /// Additional event content + public Object content { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..79ba3f0907894fa2197418ba29d2f81a898da393 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemAuditEvent.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemAuditEventKey { + /// + /// ID of the business unit group + /// + /// ID of the business unit group + public string businessUnitGroupID { get; init; } + /// + /// ID of the transaction + /// + /// ID of the transaction + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction. Must be updated during retrieve. + /// + /// The sequence number of line item within the context of this RetailTransaction. Must be updated during retrieve. + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + public int? eventSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData.cs new file mode 100644 index 0000000000000000000000000000000000000000..80ac32dfa6e4dd9886fb60b93a93d644ebd24873 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemBinaryData <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryData { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDatakey key { get; init; } + /// + /// The name of the binary data entry  + /// + /// The name of the binary data entry  + public string name { get; init; } + /// + /// The binary object  + /// + /// The binary object  + public Object content { get; init; } + /// + /// The length of the binary object + /// + /// The length of the binary object + public double? contentLength { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4b679f4371445b487e98a5209df60e49916e5175 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemBinaryData.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemBinaryDataKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + public int? binaryDataSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..a8ce58469507bb899df9156bcf77ea96cf085520 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemExtension <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtension { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionkey key { get; init; } + /// + /// The value of the key-value pair  + /// + /// The value of the key-value pair  + public string extensionValue { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..040f1591935a6a05a24328e3c6f482678dbb09b2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemExtension.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemExtensionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The key of the key-value pair  + /// + /// The key of the key-value pair  + public string extensionKey { get; init; } + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + public int? extensionSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption.cs new file mode 100644 index 0000000000000000000000000000000000000000..6913a361cd9f756c1be445f78cb5564d612eb455 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemFrequentShopperPointsRedemption <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemption { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionkey key { get; init; } + /// + /// The customer account number + /// + /// The customer account number + public string customerAccountID { get; init; } + /// + /// A universally unique identifier (UUID) for the redemption transaction. This may be assembled from alternate key members + /// + /// A universally unique identifier (UUID) for the redemption transaction. This may be assembled from alternate key members + public string redemptionTransactionID { get; init; } + /// + /// The number of frequent shopper points redeemed + /// + /// The number of frequent shopper points redeemed + public double? frequentShopperPointsRedeemedCount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..be3ea3f29336a9d86d6f149a1f53052749bf9ca4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemFrequentShopperPointsRedemption.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemFrequentShopperPointsRedemptionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction. + /// + /// The sequence number of line item within the context of this RetailTransaction. + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText.cs new file mode 100644 index 0000000000000000000000000000000000000000..986e2caef923125a750d8205fc7888a182c7beff --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemI18NText <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NText { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextkey key { get; init; } + /// + /// The text in the nominated language  + /// + /// The text in the nominated language  + public string text { get; init; } + /// + /// Determines whether Text is a reference to a picture or whether Text is common text  + /// + /// Determines whether Text is a reference to a picture or whether Text is common text  + public bool? pictureFlag { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..97fe9f0ee52e52f47dbcde8e4f24fb3b256ceba1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemI18NText.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemI18NTextKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// Line number (incremental counter) of the text  + /// + /// Line number (incremental counter) of the text  + public int? textSequenceNumber { get; init; } + /// + /// A combination of ISO-639-1 and ISO-3661-1 to denote a lanuage as spoken in a particular country.  + /// + /// A combination of ISO-639-1 and ISO-3661-1 to denote a lanuage as spoken in a particular country.  + public string languageID { get; init; } + /// + /// Category code of the text + /// + /// Category code of the text + public string category { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6018a2d9bef7643f5dcd1cc1db72b2a178596c09 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride.cs new file mode 100644 index 0000000000000000000000000000000000000000..37e1f707c0655601aa840a0850263eddf5721be6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemResourceOverride <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverride { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverridekey key { get; init; } + /// + /// A unqiue system assigned identifier for the action to which access may be granted to some Operators and Workstations.   + /// + /// A unqiue system assigned identifier for the action to which access may be granted to some Operators and Workstations.   + public string resourceID { get; init; } + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + public string operatorID { get; init; } + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string overrideTimestamp { get; init; } + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + public string entryMethodCode { get; init; } + /// + /// The name of the person assigned to the WorkerID that was used to approve this LineItemResourceOverride  + /// + /// The name of the person assigned to the WorkerID that was used to approve this LineItemResourceOverride  + public string approverName { get; init; } + /// + /// The first name of the person assigned to the WorkerID that was used to approve this line item resource override  + /// + /// The first name of the person assigned to the WorkerID that was used to approve this line item resource override  + public string approverFirstName { get; init; } + /// + /// A unqiue system assigned identifier for a set of WorkerID with similar resource access control permissions.  + /// + /// A unqiue system assigned identifier for a set of WorkerID with similar resource access control permissions.  + public string workGroupID { get; init; } + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + public string workerID { get; init; } + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? overrideTimestampUTC0 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a44c94e51aac492e03a432dee450e1d5e3e91d35 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemResourceOverride.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItemResourceOverrideKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// Line number (incremental counter)  + /// + /// Line number (incremental counter)  + public int? resourceOverrideSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary.cs new file mode 100644 index 0000000000000000000000000000000000000000..9ba4045f57f23fe28f3b7886980c427ce5e6d1fc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionManufacturerCouponSummary <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummary { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummarykey key { get; init; } + /// + /// The 6 to 12 digit GS1 Company Prefix of the manufacturer that is funding this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + /// + /// The 6 to 12 digit GS1 Company Prefix of the manufacturer that is funding this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + public string manufacturerCompanyCode { get; init; } + /// + /// A 6-digit number (assigned by the holder of the ManufacturerCompanyCode) that identifies this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + /// + /// A 6-digit number (assigned by the holder of the ManufacturerCompanyCode) that identifies this offer. This information is derived from the ManufacturerCouponScanCode in case that the manufacturer coupon was scanned, or manually entered otherwise. + public string manufacturerOfferCode { get; init; } + /// + /// A flag to denote whether the manufacturer coupon was key entered or scanned + /// + /// A flag to denote whether the manufacturer coupon was key entered or scanned + public bool? keyEnteredFlag { get; init; } + /// + /// The number how often the manufacturer coupon was registered + /// + /// The number how often the manufacturer coupon was registered + public double? inputCount { get; init; } + /// + /// The number how often the manufacturer coupon was applied + /// + /// The number how often the manufacturer coupon was applied + public double? appliedCount { get; init; } + /// + /// The number of intervals for which the manufacturer coupon was applied + /// + /// The number of intervals for which the manufacturer coupon was applied + public double? appliedIntervalCount { get; init; } + /// + /// The total discount amount that is granted by applying the manufacturer coupon according to its AppliedCount + /// + /// The total discount amount that is granted by applying the manufacturer coupon according to its AppliedCount + public double? totalAmount { get; init; } + /// + /// The reference to the corresponding tender line item + /// + /// The reference to the corresponding tender line item + public int? tenderLineItemSequenceNumber { get; init; } + /// + /// list of validating sale line items + /// + /// list of validating sale line items + public List SaleLineItemValidationList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2e5386f01fce5f99019e898959bbc1aa57eda5fa --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionManufacturerCouponSummary.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponSummaryKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The barcode on the manufacturer coupon in GS1 interface format. In case that the manufacturer coupon was key entered this information is assembled by the entered information (ManufacturerCompanyCode, ManufacturerOfferCode, TotalAmount) by using the GS1 interface format. + /// + /// The barcode on the manufacturer coupon in GS1 interface format. In case that the manufacturer coupon was key entered this information is assembled by the entered information (ManufacturerCompanyCode, ManufacturerOfferCode, TotalAmount) by using the GS1 interface format. + public string manufacturerCouponScanCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation.cs new file mode 100644 index 0000000000000000000000000000000000000000..f400da9921c1dd3809f05665457ca1e4ad5e3c8b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionManufacturerCouponValidation <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidation { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationkey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d8c80a541aae613e53fbc82f27bc9d657312e992 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionManufacturerCouponValidation.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionManufacturerCouponValidationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// Short description + /// + /// Short description + public string manufacturerCouponScanCode { get; init; } + /// + /// Reference to the sale line item the manufacturer coupon was applied to + /// + /// Reference to the sale line item the manufacturer coupon was applied to + public int? saleLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon.cs new file mode 100644 index 0000000000000000000000000000000000000000..0d3c558d7e561dd0be5b7037264c45269c2fc745 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionModifierCoupon <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCoupon { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponkey key { get; init; } + /// + /// The coupon number that was used to trigger the modifier + /// + /// The coupon number that was used to trigger the modifier + public string couponNumber { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..630b1dc0f57d915e471726b2fc379079b924e9be --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionModifierCoupon.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionModifierCouponKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + public int? couponSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter.cs new file mode 100644 index 0000000000000000000000000000000000000000..067246434589b8a9a793de7246e834128e241ba1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionExternalActionParameter <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameter { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterkey key { get; init; } + /// + /// The parameter value + /// + /// The parameter value + public string parameterValue { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ced160d3bf44b008ac2b79ea6a0fc14d501bbfe0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionExternalActionParameter.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionParameterKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier of the promotion.  + /// + /// The unique identifier of the promotion.  + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.   + /// + /// The unique identifier of the price derivation rule.   + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The parameter ident + /// + /// The parameter ident + public string parameterID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText.cs new file mode 100644 index 0000000000000000000000000000000000000000..24b8e9c16519ec87172c8ab86465f7d69c364463 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionExternalActionText <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionText { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextkey key { get; init; } + /// + /// The text itself + /// + /// The text itself + public string text { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..64514928c9cb272227a2152722d41478ccf552df --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionExternalActionText.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionExternalActionTextKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier of the promotion.  + /// + /// The unique identifier of the promotion.  + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.   + /// + /// The unique identifier of the price derivation rule.   + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The text ident + /// + /// The text ident + public string textID { get; init; } + /// + /// A combination of  ISO-639-1 and ISO-3661-1  to denote a lanuage as spoken in a particular country. + /// + /// A combination of  ISO-639-1 and ISO-3661-1  to denote a lanuage as spoken in a particular country. + public string languageID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule.cs new file mode 100644 index 0000000000000000000000000000000000000000..b3709a38ca105c2399fc0d80ea53820cc1e61405 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule.cs @@ -0,0 +1,283 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionPriceDerivationRule <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRule { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRulekey key { get; init; } + /// + /// Short description of the promotion  + /// + /// Short description of the promotion  + public string promotionDescription { get; init; } + /// + /// Text to be printed on the receipt  + /// + /// Text to be printed on the receipt  + public string receiptPrinterName { get; init; } + /// + /// Sequence - for collision handling  + /// + /// Sequence - for collision handling  + public string promotionPriceDerivationRuleSequence { get; init; } + /// + /// Resolution - for collision handling  + /// + /// Resolution - for collision handling  + public string promotionPriceDerivationRuleResolution { get; init; } + /// + /// The typecode of the promotion price derivation rule  + /// + /// The typecode of the promotion price derivation rule  + public string promotionPriceDerivationRuleTypeCode { get; init; } + /// + /// This type code defines the base for applying the condition and it defines the calculation time. + /// + /// This type code defines the base for applying the condition and it defines the calculation time. + public string transactionControlBreakCode { get; init; } + /// + /// A code denoting the method of modifying the price that is being applied to the transaction resp. line item  + /// + /// A code denoting the method of modifying the price that is being applied to the transaction resp. line item  + public string priceModificationMethodCode { get; init; } + /// + /// Business description for this price derivation rule.  + /// + /// Business description for this price derivation rule.  + public string priceDerivationRuleDescription { get; init; } + /// + /// The typecode of the originator of the promotion  + /// + /// The typecode of the originator of the promotion  + public string promotionOriginatorTypeCode { get; init; } + /// + /// The external identifier of the promotion  + /// + /// The external identifier of the promotion  + public string externalPromotionID { get; init; } + /// + /// The external identifier of the price derivation rule  + /// + /// The external identifier of the price derivation rule  + public string externalPriceDerivationRuleID { get; init; } + /// + /// The quantity of items fulfilling the eligibility which is required to be purchased to trigger the price derivation rule.  + /// + /// The quantity of items fulfilling the eligibility which is required to be purchased to trigger the price derivation rule.  + public double? triggerQuantity { get; init; } + /// + /// End of the date range in which the gift certificate is valid ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// End of the date range in which the gift certificate is valid ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string giftCertificateExpirationDate { get; init; } + /// + /// Determines how the discount influences the transaction. + /// + /// Determines how the discount influences the transaction. + public string discountMethodCode { get; init; } + /// + /// Determines whether disocunt or frequent shopper points are awarded by the price derivation rule  + /// + /// Determines whether disocunt or frequent shopper points are awarded by the price derivation rule  + public bool? frequentShopperPointsFlag { get; init; } + /// + /// The count of default loyalty points assigned to the customer group  + /// + /// The count of default loyalty points assigned to the customer group  + public double? customerGroupLoyaltyPointsDefaultQuantity { get; init; } + /// + /// Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt  + /// + /// Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt  + public bool? prohibitPrintFlag { get; init; } + /// + /// A code which uniquely identifies the tender in case of rebate as tender. + /// + /// A code which uniquely identifies the tender in case of rebate as tender. + public string tenderTypeCode { get; init; } + /// + /// Promotion type name  + /// + /// Promotion type name  + public string promotionTypeName { get; init; } + /// + /// Defines the calculation base for transaction related discounts. + /// + /// Defines the calculation base for transaction related discounts. + public string calculationBase { get; init; } + /// + /// Exchange rate for the conversion from points into local currency  + /// + /// Exchange rate for the conversion from points into local currency  + public double? pointsConversionAmount { get; init; } + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true). + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true). + public bool? noEffectOnSubsequentPriceDerivationRulesFlag { get; init; } + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only  + /// + /// Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only  + public bool? prohibitTransactionRelatedPriceDerivationRulesFlag { get; init; } + /// + /// The number of the printout coupon  + /// + /// The number of the printout coupon  + public string couponPrintoutID { get; init; } + /// + /// The type code of the printout rule. + /// + /// The type code of the printout rule. + public string couponPrintoutRule { get; init; } + /// + /// The formatted text of the printout coupon  + /// + /// The formatted text of the printout coupon  + public Object couponPrintoutText { get; init; } + /// + /// Determines whether this price derivation rule is an exclusive one  + /// + /// Determines whether this price derivation rule is an exclusive one  + public bool? exclusiveFlag { get; init; } + /// + /// Determines whether an additional user interaction (pressing a button) is necessary in order to fulfill the eligibility for applying the price derivation rule  + /// + /// Determines whether an additional user interaction (pressing a button) is necessary in order to fulfill the eligibility for applying the price derivation rule  + public bool? requireUserInteractionFlag { get; init; } + /// + /// Indicates whether all price derivation rules which were applied before are to be considered (true) or not (false). + /// + /// Indicates whether all price derivation rules which were applied before are to be considered (true) or not (false). + public bool? considerPreviousPriceDerivationRulesFlag { get; init; } + /// + /// Determines how this price derivation rule works in relation to other applicable price derivation rules  + /// + /// Determines how this price derivation rule works in relation to other applicable price derivation rules  + public string concurrenceControlVector { get; init; } + /// + /// Describes how often the current price derivation rule was applied  + /// + /// Describes how often the current price derivation rule was applied  + public double? appliedCount { get; init; } + /// + /// Describes how long (how many days) the printed coupon/gift certificate is valid  + /// + /// Describes how long (how many days) the printed coupon/gift certificate is valid  + public double? printoutValidityPeriod { get; init; } + /// + /// The ident of the action which is to be performed by the client which invoked the pricing engine + /// + /// The ident of the action which is to be performed by the client which invoked the pricing engine + public string externalActionID { get; init; } + /// + /// The description of the action which is to be performed by the client which invoked the pricing engine + /// + /// The description of the action which is to be performed by the client which invoked the pricing engine + public string externalActionDescription { get; init; } + /// + /// The texts for the action which is to be performed by the client which invoked the pricing engine + /// + /// The texts for the action which is to be performed by the client which invoked the pricing engine + public List ExternalActionTextList { get; init; } + /// + /// The parameters for the action which is to be performed by the client which invoked the pricing engine + /// + /// The parameters for the action which is to be performed by the client which invoked the pricing engine + public List ExternalActionParameterList { get; init; } + /// + /// Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:- In case that no price derivation rules were applied before, it is the original price/total.- Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest. - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence <= CalculationBaseSequence (or the original price if no such price derivation rule was applied). + /// + /// Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:- In case that no price derivation rules were applied before, it is the original price/total.- Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest. - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence <= CalculationBaseSequence (or the original price if no such price derivation rule was applied). + public string calculationBaseSequence { get; init; } + /// + /// Another external ident of the promotion.It is needed by/known to the retailer. + /// + /// Another external ident of the promotion.It is needed by/known to the retailer. + public string externalOfferID { get; init; } + /// + /// The price type code of the additional price which got applied + /// + /// The price type code of the additional price which got applied + public string additionalPriceTypeCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..0a926fe37854e1417cab7364cde10eed635642cc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionPriceDerivationRule.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionPriceDerivationRuleKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier of the promotion.  + /// + /// The unique identifier of the promotion.  + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.   + /// + /// The unique identifier of the price derivation rule.   + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation.cs new file mode 100644 index 0000000000000000000000000000000000000000..da76470504f8b1301b15add52acf9b0bc1484e37 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation.cs @@ -0,0 +1,203 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendation <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendation { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationkey key { get; init; } + /// + /// The external identifier of the promotion + /// + /// The external identifier of the promotion + public string externalPromotionID { get; init; } + /// + /// Defines the type of price derivation rule. + /// + /// Defines the type of price derivation rule. + public string ruleTypeCode { get; init; } + /// + /// This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME). + /// + /// This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME). + public string transactionControlBreakCode { get; init; } + /// + /// Sequence - for collision handling + /// + /// Sequence - for collision handling + public string promotionPriceDerivationRuleSequence { get; init; } + /// + /// Resolution - for collision handling + /// + /// Resolution - for collision handling + public string promotionPriceDerivationRuleResolution { get; init; } + /// + /// The list of eligibilities of the promotion being recommended for the transaction which are satisfied already + /// + /// The list of eligibilities of the promotion being recommended for the transaction which are satisfied already + public List RetailTransactionPromotionRecommendationFulfilledTriggerList { get; init; } + /// + /// The list of eligibilities of the promotion being recommended for the transaction which have not been fulfilled yet + /// + /// The list of eligibilities of the promotion being recommended for the transaction which have not been fulfilled yet + public List RetailTransactionPromotionRecommendationMissingTriggerList { get; init; } + /// + /// The list of benefits from the promotion being recommended for the transaction + /// + /// The list of benefits from the promotion being recommended for the transaction + public List RetailTransactionPromotionRecommendationBenefitList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit.cs new file mode 100644 index 0000000000000000000000000000000000000000..4fd9999cd9f283695700e8e5dc397b2b5c52af89 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit.cs @@ -0,0 +1,213 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationBenefit <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefit { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitkey key { get; init; } + /// + /// The rule matching item id of the recommended promotion. Only relevant in case of mix and match, otherwise null. + /// + /// The rule matching item id of the recommended promotion. Only relevant in case of mix and match, otherwise null. + public string matchingItemID { get; init; } + /// + /// The type of the recommended promotion's benefit. + /// + /// The type of the recommended promotion's benefit. + public string benefitTypeCode { get; init; } + /// + /// A code that indicates the type of the matching item or bonus item. This is filled only in case of mix&amp;match and additional bonus. + /// + /// A code that indicates the type of the matching item or bonus item. This is filled only in case of mix&amp;match and additional bonus. + public string priceDerivationItemTypeCode { get; init; } + /// + /// The matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + /// + /// The matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + public string priceDerivationItemID { get; init; } + /// + /// The qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + /// + /// The qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus. + public string priceDerivationItemIDQualifier { get; init; } + /// + /// A code denoting the method of modifying the price that is being applied + /// + /// A code denoting the method of modifying the price that is being applied + public string priceModificationMethodCode { get; init; } + /// + /// The price modification value. It is interpreted according to the PriceModificationMethodCode.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The price modification value. It is interpreted according to the PriceModificationMethodCode.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? priceModificationValue { get; init; } + /// + /// Defines in case of BuyNGetM, how many items out of the triggering items within a single interval are taken into account for the calculation base. This parameter is used for subsequent discount as well.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// Defines in case of BuyNGetM, how many items out of the triggering items within a single interval are taken into account for the calculation base. This parameter is used for subsequent discount as well.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? toBeDiscountedQuantity { get; init; } + /// + /// The count of that mix &amp; match item which is needed in the context of the mix &amp; match rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The count of that mix &amp; match item which is needed in the context of the mix &amp; match rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? matchingItemRequiredQuantity { get; init; } + /// + /// An additional qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus.  + /// + /// An additional qualifier for the matching item id or bonus item id. Only filled in case of mix&amp;match and additional bonus.  + public string priceDerivationItemIDQualifier2 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..522e32caaa103cb110eec3a87883abb084d19c91 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationBenefit.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationBenefitKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + public string rootPriceDerivationRuleEligibilityID { get; init; } + /// + /// The sequence number of the benefit item. This ensures the unique identification in case of mix&amp;match as well as for subsequent discounts. + /// + /// The sequence number of the benefit item. This ensures the unique identification in case of mix&amp;match as well as for subsequent discounts. + public int? sequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..13fb9747718cde8ba1e90ab15ee7845e2c1b0434 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger.cs @@ -0,0 +1,223 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTrigger <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTrigger { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerkey key { get; init; } + /// + /// A code that indicates the type of the price derivation rule eligibility. + /// + /// A code that indicates the type of the price derivation rule eligibility. + public string eligibilityTypeCode { get; init; } + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + public string triggerID { get; init; } + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + public string triggerIDQualifier { get; init; } + /// + /// A code for the type of threshold which applies to the eligibility. + /// + /// A code for the type of threshold which applies to the eligibility. + public string thresholdTypeCode { get; init; } + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? thresholdQuantity { get; init; } + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? thresholdAmount { get; init; } + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? intervalQuantity { get; init; } + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? intervalAmount { get; init; } + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? limitQuantity { get; init; } + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? limitAmount { get; init; } + /// + /// The list of references to the line items fulfilling the eligibility of the promotion being recommended for the transaction + /// + /// The list of references to the line items fulfilling the eligibility of the promotion being recommended for the transaction + public List RetailTransactionPromotionRecommendationFulfilledTriggerReferenceList { get; init; } + /// + /// Further information regarding to the trigger. + /// + /// Further information regarding to the trigger. + public string triggerIDQualifier2 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9477a4a887d175305402ccb33bd0581d5dea9239 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTrigger.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + public string rootPriceDerivationRuleEligibilityID { get; init; } + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + public string priceDerivationRuleEligibilityID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference.cs new file mode 100644 index 0000000000000000000000000000000000000000..59b8db2bab0f3d00f257da8bd2c0694fe93dd33d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference.cs @@ -0,0 +1,163 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTriggerReference <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReference { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferencekey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..75d007b02d0ce4b495f96c7e8474e2a3b9d30061 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationFulfilledTriggerReference.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationFulfilledTriggerReferenceKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + public string rootPriceDerivationRuleEligibilityID { get; init; } + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The sequence number of line item within the context of this retail transaction. + /// + /// The sequence number of line item within the context of this retail transaction. + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd43d78b6f8da79ce8f678629a6df2ae60eefc59 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationGroup <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroup { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupkey key { get; init; } + /// + /// The status of the promotion recommendations evaluation. + /// + /// The status of the promotion recommendations evaluation. + public string recommendationStatusCode { get; init; } + /// + /// A list of promotion recommendations. + /// + /// A list of promotion recommendations. + public List RetailTransactionPromotionRecommendationList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..bb16a08fbc6769a273bd7bc14b7ae898212c5a55 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationGroup.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationGroupKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6af1050b3f04fe2aaf242f040c1d02c0f0a1fdc7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendation.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + public string rootPriceDerivationRuleEligibilityID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..7436b3afd20c938cc595eb4299ef55d3e97e5a95 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger.cs @@ -0,0 +1,233 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationMissingTrigger <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTrigger { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerkey key { get; init; } + /// + /// A code that indicates the type of the price derivation rule eligibility. + /// + /// A code that indicates the type of the price derivation rule eligibility. + public string eligibilityTypeCode { get; init; } + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + /// + /// The trigger identifier (item id, merchandise hierarchy group id, merchandise set id, coupon number, etc.). + public string triggerID { get; init; } + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + /// + /// Further information regarding to the trigger (unit of measure code, merchandise hierarchy group id qualifier). + public string triggerIDQualifier { get; init; } + /// + /// A code for the type of threshold which applies to the eligibility. + /// + /// A code for the type of threshold which applies to the eligibility. + public string thresholdTypeCode { get; init; } + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The quantity of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? thresholdQuantity { get; init; } + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// A monetary amount of the trigger item required to be purchased to trigger the price derivation rule.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? thresholdAmount { get; init; } + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// An interval quantity for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? intervalQuantity { get; init; } + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// An interval monetary armount for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? intervalAmount { get; init; } + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The maximum number of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? limitQuantity { get; init; } + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The maximum monetary amount of the trigger item for which the price derivation rule is eligible.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? limitAmount { get; init; } + /// + /// The missing quantity to reach the threshold quantity. Only filled in case of quantity-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The missing quantity to reach the threshold quantity. Only filled in case of quantity-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? missingQuantity { get; init; } + /// + /// The missing amount to reach the threshold amount. Only filled in case of amount-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The missing amount to reach the threshold amount. Only filled in case of amount-related triggers.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? missingAmount { get; init; } + /// + /// Further information regarding to the trigger. + /// + /// Further information regarding to the trigger. + public string triggerIDQualifier2 { get; init; } + /// + /// The list of references to the line items partially fulfilling the eligibility of the promotion being recommended for the transaction + /// + /// The list of references to the line items partially fulfilling the eligibility of the promotion being recommended for the transaction + public List RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..4987e8fed6a4bbdd7dbf95a28188dd129eb590ae --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationMissingTrigger.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationMissingTriggerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + public string rootPriceDerivationRuleEligibilityID { get; init; } + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + public string priceDerivationRuleEligibilityID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.cs new file mode 100644 index 0000000000000000000000000000000000000000..badf0c030f13dd92c1c50ad85bb181632f7febdf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.cs @@ -0,0 +1,163 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferencekey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..20cb0630e01475c7b4e13010ab5348e244a51f05 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReference.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionRecommendationPartiallyFulfilledTriggerReferenceKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the promotion. + /// + /// The unique identifier for the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier for the price derivation rule. + /// + /// The unique identifier for the price derivation rule. + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier for the root price derivation rule eligibility. + /// + /// The unique identifier for the root price derivation rule eligibility. + public string rootPriceDerivationRuleEligibilityID { get; init; } + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + /// + /// The unique identifier for the specific price derivation rule eligibility within the eligibility tree + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The sequence number of line item within the context of this retail transaction. + /// + /// The sequence number of line item within the context of this retail transaction. + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..4e685e43154f17d40486a180b25d68bd3c550fe8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger.cs @@ -0,0 +1,78 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionTrigger <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTrigger { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerkey key { get; init; } + /// + /// The type of the trigger (referencing to POS configuration) + /// + /// The type of the trigger (referencing to POS configuration) + public string triggerType { get; init; } + /// + /// The value of the trigger (referencing to POS configuration) + /// + /// The value of the trigger (referencing to POS configuration) + public string triggerValue { get; init; } + /// + /// Defines the method for price modification. + /// + /// Defines the method for price modification. + public string privilegeType { get; init; } + /// + /// Reduction amount, reduction percent or new price amount + /// + /// Reduction amount, reduction percent or new price amount + public double? privilegeValue { get; init; } + /// + /// Reason code for the manual discount + /// + /// Reason code for the manual discount + public string reasonCode { get; init; } + /// + /// A narrative description describing the manual discount reason. + /// + /// A narrative description describing the manual discount reason. + public string reasonDescription { get; init; } + /// + /// An additional information concerning the trigger  + /// + /// An additional information concerning the trigger  + public string reference_ { get; init; } + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data) + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data) + public string triggerSequenceAddend { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2408c471d02fd34ba9377df1417132cfd74a2f90 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPromotionTrigger.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionPromotionTriggerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The ident of the trigger (because a transaction item can have more than one trigger)  + /// + /// The ident of the trigger (because a transaction item can have more than one trigger)  + public int? triggerSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..87da91a1551d5b6e66d493f64734b1031b68e3e7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionTaxExemptTrigger <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTrigger { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerkey key { get; init; } + /// + /// Tax exempt reason code + /// + /// Tax exempt reason code + public string reasonCode { get; init; } + /// + /// A narrative description for the tax exempt reason code.  + /// + /// A narrative description for the tax exempt reason code.  + public string reasonDescription { get; init; } + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority + public string taxCertificateID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b33515e213df63b0f78dbe60920ba6bae24c698d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionTaxExemptTrigger.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionTaxExemptTriggerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal.cs new file mode 100644 index 0000000000000000000000000000000000000000..50d0002efd400a90f7b8c6b8715295bfd3c16808 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionTotal <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionTotal { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalkey key { get; init; } + /// + /// The monetary value of the transaction total.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary value of the transaction total.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? amount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d6af305fc4d37cb8d806896308dc208a47a58254 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionTotal.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRetailTransactionTotalKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique assigned mnemonic identifier that identifies the TransactionTotalType  + /// + /// A unique assigned mnemonic identifier that identifies the TransactionTotalType  + public string transactionTotalTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoReturnLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoReturnLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca8ce02c11ba63ea67969c5c5d5cdcf3fc83cd53 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoReturnLineItem.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoReturnLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoReturnLineItemkey key { get; init; } + /// + /// The code of the return reason + /// + /// The code of the return reason + public string returnReasonCode { get; init; } + /// + /// A narrative description describing the use of the retailer assigned return reason code.  + /// + /// A narrative description describing the use of the retailer assigned return reason code.  + public string returnReasonDescription { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2152b9fe24c8c2649876e767b219fd52446a213c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoReturnLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoReturnLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..1b2c9f70ad7846058d1581eec32c14d64c6372ad --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItem.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// RoundingLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoRoundingLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemkey key { get; init; } + /// + /// A flag denoting that the amount was rounded up. + /// + /// A flag denoting that the amount was rounded up. + public bool? roundUpFlag { get; init; } + /// + /// The applied rounding difference<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The applied rounding difference<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? amount { get; init; } + /// + /// Determines which part of the transaction the rounding applies to. Possible values include codes for change, subtotal  + /// + /// Determines which part of the transaction the rounding applies to. Possible values include codes for change, subtotal  + public string typeCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8566c2a6d7276005fca6de547e17b148d9dd8a53 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RoundingLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoRoundingLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..66a1908b2a629b17331240b90e2f6650483e2b2c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem.cs @@ -0,0 +1,498 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemkey key { get; init; } + /// + /// A unique identifier for the item + /// + /// A unique identifier for the item + public string itemID { get; init; } + /// + /// The code used to specify the unit of the item + /// + /// The code used to specify the unit of the item + public string unitOfMeasureCode { get; init; } + /// + /// The type code of the line item + /// + /// The type code of the line item + public string itemType { get; init; } + /// + /// The sub type code of the line item + /// + /// The sub type code of the line item + public string subItemType { get; init; } + /// + /// The regular per-unit price + /// + /// The regular per-unit price + public double? regularUnitPrice { get; init; } + /// + /// The number of items the regular price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of items the regular price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? regularUnitPriceQuantity { get; init; } + /// + /// The actual per-unit price<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The actual per-unit price<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? actualUnitPrice { get; init; } + /// + /// The number of items the actual price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The number of items the actual price is defined for, i.e. 3 for $1.00<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? actualUnitPriceQuantity { get; init; } + /// + /// The single quantity of a line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6 + /// + /// The single quantity of a line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6 + public int? quantity { get; init; } + /// + /// The units of the line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The units of the line itemPiece Item:3 * itemQuantity = 3Units = 1Weight item:3 * 1.234kg * itemQuantity = 3Units = 1.234Item with deposit:3 * six-pack (1 six-pack has 6 * deposit item)six-pack: Quantity = 3, Units = 1deposit: Quantity = 3, Units = 6<br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? units { get; init; } + /// + /// The product of multiplying Quantity, Units and ActualUnitPrice.Different calculation rule for ExtendedAmount in case of package prices (see Transaction Calculation Rules). + /// + /// The product of multiplying Quantity, Units and ActualUnitPrice.Different calculation rule for ExtendedAmount in case of package prices (see Transaction Calculation Rules). + public double? extendedAmount { get; init; } + /// + /// The monetary total of all line item discounts that were applied to this Item.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary total of all line item discounts that were applied to this Item.<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? extendedDiscountAmount { get; init; } + /// + /// A code that describes how this line item's retail selling unit price is being entered. + /// + /// A code that describes how this line item's retail selling unit price is being entered. + public string sellUnitRetailPriceEntryMethodCode { get; init; } + /// + /// A code denoting the sign of the line item. + /// + /// A code denoting the sign of the line item. + public string actionCode { get; init; } + /// + /// A unique retailer defined reason code (e.g. reason for Pay In / Pay Out) + /// + /// A unique retailer defined reason code (e.g. reason for Pay In / Pay Out) + public string reasonCode { get; init; } + /// + /// A universally unique identifier used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item. + /// + /// A universally unique identifier used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item. + public string itemTraceableUnitID { get; init; } + /// + /// Determines how the input of quantity was done on POS. + /// + /// Determines how the input of quantity was done on POS. + public string quantityInputMethod { get; init; } + /// + /// The registered length <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The registered length <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? length { get; init; } + /// + /// The registered width <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The registered width <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? width { get; init; } + /// + /// The registered height <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + /// + /// The registered height <br>Fixed decimal precision expected, definition of used precision: double(11, 3). Be aware of this and round value! + public double? height { get; init; } + /// + /// Describes how the weight was registered  + /// + /// Describes how the weight was registered  + public bool? manualWeightInputFlag { get; init; } + /// + /// The receipt printout text  + /// + /// The receipt printout text  + public string receiptText { get; init; } + /// + /// The item description + /// + /// The item description + public string receiptDescription { get; init; } + /// + /// A flag to indicate whether food stamps can be tendered for this item.  + /// + /// A flag to indicate whether food stamps can be tendered for this item.  + public bool? allowFoodStampFlag { get; init; } + /// + /// The complete number which was registered on the POS originally  + /// + /// The complete number which was registered on the POS originally  + public string registrationNumber { get; init; } + /// + /// If this flag is set to true, automatically a negative line item is created when registering this item. Corresponds to ItemSellingRule.NegativeLineItemFlag + /// + /// If this flag is set to true, automatically a negative line item is created when registering this item. Corresponds to ItemSellingRule.NegativeLineItemFlag + public bool? negativeLineItemFlag { get; init; } + /// + /// A flag to indicate whether this ITEM can be discounted. Corresponds to Item.DiscountFlag  + /// + /// A flag to indicate whether this ITEM can be discounted. Corresponds to Item.DiscountFlag  + public bool? discountFlag { get; init; } + /// + /// A flag to denote that the Item is eligible for frequent shopper points. Corresponds to ItemSellingRule.FrequentShopperPointsEligibilityFlag  + /// + /// A flag to denote that the Item is eligible for frequent shopper points. Corresponds to ItemSellingRule.FrequentShopperPointsEligibilityFlag  + public bool? frequentShopperPointsEligibilityFlag { get; init; } + /// + /// A code which is used by the loyalty engine in order to determine whether the item can get rebate/points; possible values: 0..9 Corresponds to ItemSellingRule.DiscountTypeCode + /// + /// A code which is used by the loyalty engine in order to determine whether the item can get rebate/points; possible values: 0..9 Corresponds to ItemSellingRule.DiscountTypeCode + public string discountTypeCode { get; init; } + /// + /// Describes how the price of the item can be changed on POS.Corresponds to ItemSellingRule.PriceChangeTypeCode + /// + /// Describes how the price of the item can be changed on POS.Corresponds to ItemSellingRule.PriceChangeTypeCode + public string priceChangeTypeCode { get; init; } + /// + /// The price type code. + /// + /// The price type code. + public string priceTypeCode { get; init; } + /// + /// The line item total including taxes and discounts  + /// + /// The line item total including taxes and discounts  + public double? grandExtendedAmount { get; init; } + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + public string reasonCodeGroupCode { get; init; } + /// + /// A narrative description describing the use of the retailer assigned reason code.  + /// + /// A narrative description describing the use of the retailer assigned reason code.  + public string reasonDescription { get; init; } + /// + /// Determines whether the loyalty engine should care about the line item as a trigger; this information is needed because it may happen that another process (e.g. a return regarding to an existing transaction) applies rules for the line item which the loyalty engine is not allowed to change  + /// + /// Determines whether the loyalty engine should care about the line item as a trigger; this information is needed because it may happen that another process (e.g. a return regarding to an existing transaction) applies rules for the line item which the loyalty engine is not allowed to change  + public bool? notConsideredByLoyaltyEngineFlag { get; init; } + /// + /// The business name for the merchandise structure.  + /// + /// The business name for the merchandise structure.  + public string merchandiseHierarchyGroupName { get; init; } + /// + /// A description of the merchandise structure.  + /// + /// A description of the merchandise structure.  + public string merchandiseHierarchyGroupDescription { get; init; } + /// + /// Item class code  + /// + /// Item class code  + public string itemClassCode { get; init; } + /// + /// If this flag is set to true, no tax exemption is allowed for the line item  + /// + /// If this flag is set to true, no tax exemption is allowed for the line item  + public bool? prohibitTaxExemptFlag { get; init; } + /// + /// A flag to denote whether or not this item may be returned. + /// + /// A flag to denote whether or not this item may be returned. + public bool? prohibitReturnFlag { get; init; } + /// + /// The duration of the item's warranty (in months) <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + /// + /// The duration of the item's warranty (in months) <br>Fixed decimal precision expected, definition of used precision: double(18, 0). Be aware of this and round value! + public double? warrantyDuration { get; init; } + /// + /// Deposit type of the item + /// + /// Deposit type of the item + public string depositTypeCode { get; init; } + /// + /// A code to denote the tax exemption status from sales and use tax. + /// + /// A code to denote the tax exemption status from sales and use tax. + public string taxExemptCode { get; init; } + /// + /// The ident of the invoice which is related to this line item  + /// + /// The ident of the invoice which is related to this line item  + public string invoiceID { get; init; } + /// + /// The main pos item id + /// + /// The main pos item id + public string mainPOSItemID { get; init; } + /// + /// A qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + /// + /// A qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + public string mainMerchandiseHierarchyGroupIDQualifier { get; init; } + /// + /// Unique system assigned identifier for the merchandise group. + /// + /// Unique system assigned identifier for the merchandise group. + public string mainMerchandiseHierarchyGroupID { get; init; } + /// + /// The amount that reduces the taxable amount of a line item. + /// + /// The amount that reduces the taxable amount of a line item. + public double? taxReductionAmount { get; init; } + /// + /// The id of the taxable TaxableGroup + /// + /// The id of the taxable TaxableGroup + public string taxGroupID { get; init; } + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + public string taxReceiptPrintCode { get; init; } + /// + /// The tare weight of the item.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + /// + /// The tare weight of the item.<br>Fixed decimal precision expected, definition of used precision: double(16, 3). Be aware of this and round value! + public double? tareCount { get; init; } + /// + /// The original id of the taxable group. + /// + /// The original id of the taxable group. + public string originalTaxGroupID { get; init; } + /// + /// The GS1 designated three digit coupon family code for the manufacturer item + /// + /// The GS1 designated three digit coupon family code for the manufacturer item + public string manufacturerFamilyCode { get; init; } + /// + /// The GS1 designated 6 through 12 digit company prefix for the manufacturer of the item + /// + /// The GS1 designated 6 through 12 digit company prefix for the manufacturer of the item + public string manufacturerCompanyCode { get; init; } + /// + /// The ident of the price group the item belongs to in terms of split pricing + /// + /// The ident of the price group the item belongs to in terms of split pricing + public string priceGroupID { get; init; } + /// + /// A flag to denote that the price of the line item was fixed/cannot be changed. One possible reason is that this price was calculated by a legally certified system such as a scale. Another possibility is that it was retrieved from a barcode.See also SellUnitRetailPriceEntryMethodCode. + /// + /// A flag to denote that the price of the line item was fixed/cannot be changed. One possible reason is that this price was calculated by a legally certified system such as a scale. Another possibility is that it was retrieved from a barcode.See also SellUnitRetailPriceEntryMethodCode. + public bool? fixedPriceFlag { get; init; } + /// + /// reference to the root item + /// + /// reference to the root item + public string rootItemID { get; init; } + /// + /// list of line item extensions + /// + /// list of line item extensions + public List SaleReturnLineItemExtensionList { get; init; } + /// + /// list of related set items + /// + /// list of related set items + public List SaleReturnLineItemCollectionList { get; init; } + /// + /// list of prices + /// + /// list of prices + public List SaleReturnLineItemPriceList { get; init; } + /// + /// list of line item related taxes + /// + /// list of line item related taxes + public List SaleReturnTaxLineItemList { get; init; } + /// + /// list of line item discounts + /// + /// list of line item discounts + public List RetailPriceModifierList { get; init; } + /// + /// list of line item points discounts + /// + /// list of line item points discounts + public List FrequentShopperPointsModifierList { get; init; } + /// + /// line of line item promotion triggers + /// + /// line of line item promotion triggers + public List SaleReturnLineItemPromotionTriggerList { get; init; } + /// + /// list of characteristics + /// + /// list of characteristics + public List SaleReturnLineItemCharacteristicList { get; init; } + /// + /// list of used coupons + /// + /// list of used coupons + public List SaleReturnLineItemModifierCouponList { get; init; } + /// + /// list of line items that caused a condition + /// + /// list of line items that caused a condition + public List SaleReturnLineItemModifierReferenceList { get; init; } + /// + /// list of merchandise groups that are directly linked to the item + /// + /// list of merchandise groups that are directly linked to the item + public List SaleReturnLineItemMerchandiseHierarchyGroupList { get; init; } + /// + /// External reference number. In case of selling a fuel item, this is the FuelingTransactionID + /// + /// External reference number. In case of selling a fuel item, this is the FuelingTransactionID + public string externalReferenceID { get; init; } + /// + /// line item with additional fuel data + /// + /// line item with additional fuel data + public ComGkSoftwareGkrApiTxpoolDtofuelSalesLineItem fuelSalesLineItem { get; init; } + /// + /// list of additional prices + /// + /// list of additional prices + public List SaleReturnLineItemAdditionalPriceList { get; init; } + /// + /// A list of prices used to calculate the line items extended amount out of a package price.i.e. 3 items with price 3/$1.00 will result in 1@ $0.34 and 2@ $0.33 + /// + /// A list of prices used to calculate the line items extended amount out of a package price.i.e. 3 items with price 3/$1.00 will result in 1@ $0.34 and 2@ $0.33 + public List SaleReturnLineItemSplitPackageList { get; init; } + /// + /// list of generic attributes being valid for the line item + /// + /// list of generic attributes being valid for the line item + public List SaleReturnLineItemGenericAttributeList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// The ID used to identify the item. + /// + /// The ID used to identify the item. + public string positemID { get; init; } + /// + /// A unique identifier for the POS department  + /// + /// A unique identifier for the POS department  + public string posdepartmentID { get; init; } + /// + /// A flag denoting if this Item is allowed in a WIC transaction  + /// + /// A flag denoting if this Item is allowed in a WIC transaction  + public bool? wicflag { get; init; } + /// + /// additional return data + /// + /// additional return data + public List ReturnLineItemList { get; init; } + /// + /// additional data for sales order + /// + /// additional data for sales order + public List SaleReturnLineItemSalesOrderList { get; init; } + /// + /// serial number + /// + /// serial number + public List SerializedUnitModiferList { get; init; } + /// + /// line item associate + /// + /// line item associate + public List LineItemAssociateList { get; init; } + /// + /// tax exempt data + /// + /// tax exempt data + public List SaleReturnTaxExemptTriggerList { get; init; } + /// + /// Data for additional bonus items which were added to the transaction by the client based on the recommendation of PCE (AdditionalBonusDiscountLineItem). PCE cannot use such line items nor as trigger neither for granting a benefit to it. + /// + /// Data for additional bonus items which were added to the transaction by the client based on the recommendation of PCE (AdditionalBonusDiscountLineItem). PCE cannot use such line items nor as trigger neither for granting a benefit to it. + public List AdditionalBonusLineItemList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..a0a5206427d6a48c1e19a4a0be9105b0b74a6744 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemAdditionalPrice <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPrice { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPricekey key { get; init; } + /// + /// The price  + /// + /// The price  + public double? priceAmount { get; init; } + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + public int? packagePriceQuantity { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..0f3ffa3391244ba0a9422e591cb101bf6b75a80c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemAdditionalPrice.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemAdditionalPriceKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The price type code  + /// + /// The price type code  + public string priceTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic.cs new file mode 100644 index 0000000000000000000000000000000000000000..e340225e6670cff885d5635b4eb3575b26b9b66c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemCharacteristic <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristic { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristickey key { get; init; } + /// + /// The ident of the characteristic's value  + /// + /// The ident of the characteristic's value  + public string characteristicValueID { get; init; } + /// + /// The name of the characteristic's value + /// + /// The name of the characteristic's value + public string characteristicValueName { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d214dd34202ac162eb5e5f0fde79020252e68d6d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemCharacteristic.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCharacteristicKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The identifier of the characteristic  + /// + /// The identifier of the characteristic  + public string characteristicID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection.cs new file mode 100644 index 0000000000000000000000000000000000000000..c32af15f58d0a76f9633f120192c0f271f3de099 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemCollection <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollection { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionkey key { get; init; } + /// + /// The single quantity of the item + /// + /// The single quantity of the item + public int? quantity { get; init; } + /// + /// The units of the item + /// + /// The units of the item + public double? units { get; init; } + /// + /// The receipt printout text  + /// + /// The receipt printout text  + public string receiptText { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c531baa88ec78aefd9cbdb27eebf0b9dfcb6441b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemCollection.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemCollectionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// A unique identifier for the item + /// + /// A unique identifier for the item + public string itemID { get; init; } + /// + /// The code used to specify the units of the item + /// + /// The code used to specify the units of the item + public string itemBaggingUnitOfMeasureCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..876c6e30cc66ce744232e79e56033bf4a56133cf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemExtension <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtension { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionkey key { get; init; } + /// + /// The value of the key-value pair  + /// + /// The value of the key-value pair  + public string extensionValue { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..fb8ca2dcf3228c8551ce3031b5746aed8ce26874 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemExtension.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemExtensionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The key of the key-value pair  + /// + /// The key of the key-value pair  + public string extensionKey { get; init; } + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + public int? extensionSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute.cs new file mode 100644 index 0000000000000000000000000000000000000000..7875184a91b0f196a30b916f1fcd56b822b0c75b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute.cs @@ -0,0 +1,178 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemGenericAttribute <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttribute { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributekey key { get; init; } + /// + /// The key of the generic attribute.The key may not be unique in the scope of a single line item. + /// + /// The key of the generic attribute.The key may not be unique in the scope of a single line item. + public string genericAttributeKey { get; init; } + /// + /// The value of the generic attribute. + /// + /// The value of the generic attribute. + public string genericAttributeValue { get; init; } + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + /// + /// Indicates whether the generic attribute is custom (project-specific) or was added as an internal attribute for the product. This flag controls whether this generic attribute is considered in checking the configured limit (true) or not (false). + public bool? customFlag { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..6d8cf5b527ae50756df275312d13ae9bbd557606 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemGenericAttribute.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemGenericAttributeKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The sequence number of generic attribute within the scope of the line item. + /// + /// The sequence number of generic attribute within the scope of the line item. + public int? genericAttributeSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5e5e2091eb6de50c7987a2f72e2916dc0404f9e7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..e0cdcf95294fbb946aff2e944761f3c45bba7031 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemMerchandiseHierarchyGroup <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroup { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupkey key { get; init; } + /// + /// The timestamp when this assignment becomes active ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp when this assignment becomes active ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string timeStampEffective { get; init; } + /// + /// The last date and time when this assignment is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The last date and time when this assignment is effective ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string timeStampExpiration { get; init; } + /// + /// Defines the current status for the assignment; examples of valid codes include: AC/null = Active, IA = Inactive + /// + /// Defines the current status for the assignment; examples of valid codes include: AC/null = Active, IA = Inactive + public string statusCode { get; init; } + /// + /// The UTC0 timestamp when this assignment becomes active ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp when this assignment becomes active ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? timeStampEffectiveUTC0 { get; init; } + /// + /// The last UTC0 date and time when this assignment is effective ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The last UTC0 date and time when this assignment is effective ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? timeStampExpirationUTC0 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..271f2486812334a4073018832c29d8af05aa7f83 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemMerchandiseHierarchyGroup.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemMerchandiseHierarchyGroupKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + /// + /// Qualifier which is used to differ between MerchandiseHierarchyGroup's belonging to different functions but having the same id  + public string merchandiseHierarchyGroupIDQualifier { get; init; } + /// + /// Unique system assigned identifier for the merchandise group.  + /// + /// Unique system assigned identifier for the merchandise group.  + public string merchandiseHierarchyGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon.cs new file mode 100644 index 0000000000000000000000000000000000000000..812e6f365a771495fa43a4ca2086280073b02f4e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemModifierCoupon <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCoupon { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponkey key { get; init; } + /// + /// The coupon number that was used to trigger the modifier + /// + /// The coupon number that was used to trigger the modifier + public string couponNumber { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1e8332d30e6eec55cb49aaa6a2c9315a5760802 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemModifierCoupon.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierCouponKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The sequence number of the related FrequentShopperPointsModifier resp. RetailPriceModifier  + /// + /// The sequence number of the related FrequentShopperPointsModifier resp. RetailPriceModifier  + public int? modifierSequenceNumber { get; init; } + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + /// + /// The sequential number of the coupon entry (starting with 1), in case there was more than one coupon registered for one modifier  + public int? couponSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference.cs new file mode 100644 index 0000000000000000000000000000000000000000..399b71118e94dabb67b54d15bbe5aacce128e026 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemModifierReference <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReference { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferencekey key { get; init; } + /// + /// The quantity share of that line item which was necessary for fulfilling the price derivation rule eligibilities + /// + /// The quantity share of that line item which was necessary for fulfilling the price derivation rule eligibilities + public double? referenceQuantity { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d556563a3f2259c8328829dcf766734766e6bc17 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemModifierReference.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemModifierReferenceKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier of the promotion. + /// + /// The unique identifier of the promotion. + public string promotionID { get; init; } + /// + /// The unique identifier of the price derivation rule.  + /// + /// The unique identifier of the price derivation rule.  + public string priceDerivationRuleID { get; init; } + /// + /// The unique identifier of the root eligibility. + /// + /// The unique identifier of the root eligibility. + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..5d3c9f0b7add2feb50967a6c255deed338c9b27e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemPrice <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPrice { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPricekey key { get; init; } + /// + /// The price  + /// + /// The price  + public double? priceAmount { get; init; } + /// + /// An additional information concerning the price  + /// + /// An additional information concerning the price  + public string description { get; init; } + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + /// + /// The quantity the price is defined for, i.e. 3 for $1.00 + public int? packagePriceQuantity { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..734fe8d436c4efc099c72dc913a7f4de7902dbd8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemPrice.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPriceKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The price type code  + /// + /// The price type code  + public string priceTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..7e870d0e47d08e9304c24a85cc9c24d16f819b8d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger.cs @@ -0,0 +1,78 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemPromotionTrigger <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTrigger { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerkey key { get; init; } + /// + /// The type of the trigger (referencing to POS configuration) + /// + /// The type of the trigger (referencing to POS configuration) + public string triggerType { get; init; } + /// + /// The value of the trigger (referencing to POS configuration) + /// + /// The value of the trigger (referencing to POS configuration) + public string triggerValue { get; init; } + /// + /// Defines the method for price modification. + /// + /// Defines the method for price modification. + public string privilegeType { get; init; } + /// + /// Reduction amount, reduction percent or new price amount + /// + /// Reduction amount, reduction percent or new price amount + public double? privilegeValue { get; init; } + /// + /// Reason code for the manual discount + /// + /// Reason code for the manual discount + public string reasonCode { get; init; } + /// + /// A narrative description describing the manual discount reason. + /// + /// A narrative description describing the manual discount reason. + public string reasonDescription { get; init; } + /// + /// An additional information concerning the trigger  + /// + /// An additional information concerning the trigger  + public string reference_ { get; init; } + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data)  + /// + /// A value which is to be added to the sequence of the condition (which comes from the master data)  + public string triggerSequenceAddend { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..e347c70ab1891d9126ac7d6c4d2c3f6dab29b0f7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemPromotionTrigger.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemPromotionTriggerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The ident of the trigger (because one line item can have more than one trigger)  + /// + /// The ident of the trigger (because one line item can have more than one trigger)  + public int? triggerSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ffa2c986610adf553417e1f81a582dcfa4e4c8f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemSalesOrder <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrder { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderkey key { get; init; } + /// + /// The type code of the related sales order  + /// + /// The type code of the related sales order  + public string salesOrderTypeCode { get; init; } + /// + /// The delivery type code of the related sales order  + /// + /// The delivery type code of the related sales order  + public string salesOrderDeliveryTypeCode { get; init; } + /// + /// The delivery date that was requested by the customer; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The delivery date that was requested by the customer; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestedDeliveryDate { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..14c46ccffaf28385334570411d9de96f7465bd41 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemSalesOrder.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSalesOrderKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage.cs new file mode 100644 index 0000000000000000000000000000000000000000..36aa882ab6177d5e6f7b36ab265b9934051f1874 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemSplitPackage <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackage { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackagekey key { get; init; } + /// + /// The number of items this split price is applied to.see Transaction Calculation Rules + /// + /// The number of items this split price is applied to.see Transaction Calculation Rules + public int? splitQuantity { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..1ac4eb75383c28a96c7879768dc2bd422268a0eb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemSplitPackage.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnLineItemSplitPackageKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// The price rounded according to the algorithmsee Transaction Calculation Rules + /// + /// The price rounded according to the algorithmsee Transaction Calculation Rules + public double? splitPrice { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..563ed5ded591c2708c3aac6cfe7fd7d18c53fc20 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnTaxExemptTrigger <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTrigger { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerkey key { get; init; } + /// + /// Tax exempt reason code + /// + /// Tax exempt reason code + public string reasonCode { get; init; } + /// + /// A narrative description for the tax exempt reason code.  + /// + /// A narrative description for the tax exempt reason code.  + public string reasonDescription { get; init; } + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority. + /// + /// The certificate number assigned to a purchaser by a tax authority exempting the purchaser from tax in that authority. + public string taxCertificateID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b64b7c56ff0b9d3ae9904bd705393955152aa666 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnTaxExemptTrigger.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnTaxExemptTriggerKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..261ef07a6276cd443c893c9b77c4f5065fd5a118 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnTaxLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemkey key { get; init; } + /// + /// System assigned unique identifier for the TaxGroupRule.  + /// + /// System assigned unique identifier for the TaxGroupRule.  + public string taxGroupRuleID { get; init; } + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + public bool? taxIncludedInPricesFlag { get; init; } + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + public bool? taxAtSourceFlag { get; init; } + /// + /// The monetary amount for which tax is applicable.  + /// + /// The monetary amount for which tax is applicable.  + public double? taxableAmount { get; init; } + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + public double? taxablePercent { get; init; } + /// + /// The percentage of the taxable portion of the taxable amount that is being collected as tax by this LineItem. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable portion of the taxable amount that is being collected as tax by this LineItem. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + public double? taxPercent { get; init; } + /// + /// The monetary value tax that is being collected by this LineItem. + /// + /// The monetary value tax that is being collected by this LineItem. + public double? taxAmount { get; init; } + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + public string taxAuthorityID { get; init; } + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + public string taxAuthorityName { get; init; } + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + public string receiptPrintCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// tax override data + /// + /// tax override data + public List SaleReturnTaxOverrideModifierList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a1d7b5721202c962c4a889633f0b9cb8d5f822c6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnTaxLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnTaxLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// Line number (incremental counter) of the tax entry + /// + /// Line number (incremental counter) of the tax entry + public int? taxSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..57b85bb5d270858938abce66fe1cc3ccba705b0c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier.cs @@ -0,0 +1,78 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnTaxOverrideModifier <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifier { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierkey key { get; init; } + /// + /// System assigned unique identifier for the TaxGroupRule.  + /// + /// System assigned unique identifier for the TaxGroupRule.  + public string taxGroupRuleID { get; init; } + /// + /// The monetary amount for which tax is applicable at the new rate. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount for which tax is applicable at the new rate. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? taxableAmount { get; init; } + /// + /// The original amount of Tax that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The original amount of Tax that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? originalTaxAmount { get; init; } + /// + /// The new amount of Tax that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The new amount of Tax that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? newTaxAmount { get; init; } + /// + /// The original tax rate that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The original tax rate that should've been collected but wasn't because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + public double? originalTaxPercent { get; init; } + /// + /// The new tax rate that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The new tax rate that is being collected because of this TaxOverrideModifier. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + public double? newTaxPercent { get; init; } + /// + /// A retailer assigned reason code denoting why this TaxOverride is being granted.   + /// + /// A retailer assigned reason code denoting why this TaxOverride is being granted.   + public string reasonCode { get; init; } + /// + /// A narrative description describing the use of the retailer assigned tax override reason code + /// + /// A narrative description describing the use of the retailer assigned tax override reason code + public string reasonDescription { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..48224528df8e571535cd318501e152dce9f8e71e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnTaxOverrideModifier.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSaleReturnTaxOverrideModifierKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// Line number (incremental counter) of the tax entry  + /// + /// Line number (incremental counter) of the tax entry  + public int? taxSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer.cs new file mode 100644 index 0000000000000000000000000000000000000000..a66568a7bdb0cb890807fea7cbc2f2dee2ec55cd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// SerializedUnitModifer <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSerializedUnitModifer { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferkey key { get; init; } + /// + /// Fix 0 + /// + /// Fix 0 + public string serializedItemID { get; init; } + /// + /// The serial number of the line item + /// + /// The serial number of the line item + public string serialNumber { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..30bc2bc6fa27a7ed900f175e6d043eecc5c1966e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// SerializedUnitModifer.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSerializedUnitModiferKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..2cbd4cabf034ec0a794d92fb8f5d5150acc36a40 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOffTransaction.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// SignOffTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSignOffTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionkey key { get; init; } + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + public string tillID { get; init; } + /// + /// Last workstation where the till was used. Only filled in case of forced log out. + /// + /// Last workstation where the till was used. Only filled in case of forced log out. + public string lastWorkstationID { get; init; } + /// + /// Last worker logged on till. Only filled in case of forced log out. + /// + /// Last worker logged on till. Only filled in case of forced log out. + public string lastWorkerID { get; init; } + /// + /// First name of last worker logged on till. Only filled in case of forced log out. + /// + /// First name of last worker logged on till. Only filled in case of forced log out. + public string lastWorkerFirstName { get; init; } + /// + /// Last name of last worker logged on till. Only filled in case of forced log out. + /// + /// Last name of last worker logged on till. Only filled in case of forced log out. + public string lastWorkerLastName { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..40a95689c944dcb1c7840e9c020104166d979651 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// SignOffTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSignOffTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..1ecded2338a7f13afab1ad992eab03b43a6cb29d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOnTransaction.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// SignOnTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoSignOnTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionkey key { get; init; } + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + public string tillID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..b09b0eb438eb85a24413c602220ba5bf96a8e095 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// SignOnTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoSignOnTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..86e2c7a06aa71e6cc07bbdee5dc525558ffc5e1a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreSafeSettlementTenderDenomination <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenomination { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationkey key { get; init; } + /// + /// The denomination type code + /// + /// The denomination type code + public string typeCode { get; init; } + /// + /// Piece value  + /// + /// Piece value  + public double? pieceValue { get; init; } + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + public bool? rollFlag { get; init; } + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + public double? rollCapacity { get; init; } + /// + /// The count of the denomination + /// + /// The count of the denomination + public double? denominationCount { get; init; } + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + public double? denominationAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d5a27867401c04e554cd77d2857155fb7f4aacb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreSafeSettlementTenderDenomination.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDenominationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string tenderRepositoryID { get; init; } + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + /// + /// A code which uniquely identifies the type of tender, ie cash, check, credit card, etc. + public string tenderTypeCode { get; init; } + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + public int? denominationSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..3879b76ab876300e7debe0e86e5ff899a36046ee --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreSafeSettlementTenderDetail <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetail { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailkey key { get; init; } + /// + /// The opening tender balance + /// + /// The opening tender balance + public double? openBalanceAmount { get; init; } + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? openMediaUnitQuantity { get; init; } + /// + /// The closing tender balance in main currencyCorresponds to the target values. + /// + /// The closing tender balance in main currencyCorresponds to the target values. + public double? closeBalanceAmount { get; init; } + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? closeMediaUnitQuantity { get; init; } + /// + /// The counted tender balance in main currencyCorresponds to the target values. + /// + /// The counted tender balance in main currencyCorresponds to the target values. + public double? countedBalanceAmount { get; init; } + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? countedMediaUnitQuantity { get; init; } + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount. + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount. + public double? overUnderBalanceAmount { get; init; } + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + public int? overUnderMediaUnitQuantity { get; init; } + /// + /// The currency symbol + /// + /// The currency symbol + public string currencySymbol { get; init; } + /// + /// Description of the tender + /// + /// Description of the tender + public string tenderDescription { get; init; } + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + public bool? unitCountRequiredFlag { get; init; } + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + public bool? amountCountRequiredFlag { get; init; } + /// + /// The tender class code from master data + /// + /// The tender class code from master data + public string tenderClassCode { get; init; } + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + public double? exchangeRate { get; init; } + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + public bool? exchangeRateMultiplyFlag { get; init; } + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? foreignCurrencyCountedBalanceAmount { get; init; } + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? foreignCurrencyCloseBalanceAmount { get; init; } + /// + /// denomination list for counted values + /// + /// denomination list for counted values + public List StoreSafeSettlementTenderDenominationList { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom05 { get; init; } + /// + /// The currency code of the tender + /// + /// The currency code of the tender + public string isocurrencyCode { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom03 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom02 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom04 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5628ad6084588e2b176b36fe211baa8cfa0cfcd2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreSafeSettlementTenderDetail.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTenderDetailKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string tenderRepositoryID { get; init; } + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + public string tenderTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..538b40e35e2bc2a2bfc116901ca4822c1c70098f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreSafeSettlementTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionkey key { get; init; } + /// + /// tender details + /// + /// tender details + public List StoreSafeSettlementTenderDetailList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d28ed8679fc2718c86db49e60ef50bbe80e2cd38 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreSafeSettlementTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoStoreSafeSettlementTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..03f6d901333f43c589a04e168752c7e6ad0d6ca6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxLineItem.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// TaxLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTaxLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTaxLineItemkey key { get; init; } + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + /// + /// A flag denoting that all applicable taxes are included in the prices for this line item, and that therefore this SaleReturnTaxLineItem is merely a summary of those taxes,  + public bool? taxIncludedInPricesFlag { get; init; } + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + /// + /// A flag denoting that the goods being sold and shipped have been taxed according to the TaxAuthorityShippingRule.  + public bool? taxAtSourceFlag { get; init; } + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable amount that is liable for tax. Usually this is 100% but where an aggregate item contains taxed and non-taxed goods this value may be less than 100%. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + public double? taxablePercent { get; init; } + /// + /// The monetary value of the transaction for which tax is being calculated.  + /// + /// The monetary value of the transaction for which tax is being calculated.  + public double? taxableAmount { get; init; } + /// + /// The percentage of the taxable amount that should is tax. Derived by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + /// + /// The percentage of the taxable amount that should is tax. Derived by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(7, 4). Be aware of this and round value! + public double? taxPercent { get; init; } + /// + /// The monetary amount of sales Tax calculated by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount of sales Tax calculated by applying the appropriate TaxGroupRule and TaxRateRule. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? taxAmount { get; init; } + /// + /// System assigned unique identifier for the TaxGroupRule. + /// + /// System assigned unique identifier for the TaxGroupRule. + public string taxGroupRuleID { get; init; } + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + /// + /// A specific TAX AUTHORITY that establishes the tax rate. The TAX AUTHORITY is normally a government body.  + public string taxAuthorityID { get; init; } + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + /// + /// The name of the tax authority. This is to be printed on the receipt in some cases  + public string taxAuthorityName { get; init; } + /// + /// A tax group which links a TAX AUTHORITY to the merchandise to which the tax applies.  + /// + /// A tax group which links a TAX AUTHORITY to the merchandise to which the tax applies.  + public string taxGroupID { get; init; } + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + /// + /// A short code that is printed on a receipt to denote items that are in this TaxableGroup. + public string receiptPrintCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..728e450305378290b4734af627f97284aaa85e08 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TaxLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTaxLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..a664804e96d4213c2767980e10937f261b5aa3c0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction.cs @@ -0,0 +1,73 @@ +namespace POSGkSwaggerModel +{ + /// + /// TaxRefundTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTaxRefundTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionkey key { get; init; } + /// + /// The unique identifier of the tax refund document. This is returned from tax refund service. + /// + /// The unique identifier of the tax refund document. This is returned from tax refund service. + public string taxRefundDocumentID { get; init; } + /// + /// A universally unique identifier (UUID) for the transaction in the external system. Provided by the service provider. + /// + /// A universally unique identifier (UUID) for the transaction in the external system. Provided by the service provider. + public string externalTransactionID { get; init; } + /// + /// Fiscal invoice number for countries, where this is required. + /// + /// Fiscal invoice number for countries, where this is required. + public string storeInvoiceID { get; init; } + /// + /// The summarized gross amout for all sale transactions of this tax refund + /// + /// The summarized gross amout for all sale transactions of this tax refund + public double? totalGrossAmount { get; init; } + /// + /// The summarized gross amout for all sale transactions of this tax refund<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The summarized gross amout for all sale transactions of this tax refund<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? totalTaxAmount { get; init; } + /// + /// The resulting tax refund amount + /// + /// The resulting tax refund amount + public double? totalRefundAmount { get; init; } + /// + /// The used tax refund service provider + /// + /// The used tax refund service provider + public string taxRefundServiceProviderName { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..fbebb26f0836e64f4d149fa28a0d5bb4d1a5ccf5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TaxRefundTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTaxRefundTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..1e6fc535825a6530dc081a9366caffa96733584f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAmountAdjustmentTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionkey key { get; init; } + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + public string tillID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ab199caab29a4fdbab42d86b04e3ea08bae435d6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAmountAdjustmentTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderAmountAdjustmentTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization.cs new file mode 100644 index 0000000000000000000000000000000000000000..625a6c964291b804c7171cb8595b5115afe05e80 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorization.cs @@ -0,0 +1,243 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAuthorization <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderAuthorization { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationkey key { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? tenderLineItemSequenceNumber { get; init; } + /// + /// A code denoting which kind of card is being accepted.  + /// + /// A code denoting which kind of card is being accepted.  + public string cardType { get; init; } + /// + /// The account number appearing on a debit/credit card and identifying the card issuer's customer account to be charged or credited for the transaction.  + /// + /// The account number appearing on a debit/credit card and identifying the card issuer's customer account to be charged or credited for the transaction.  + public string accountNumber { get; init; } + /// + /// The IssueSequence number of the credit card being used.  + /// + /// The IssueSequence number of the credit card being used.  + public string cardIssueSequenceNumber { get; init; } + /// + /// The expiration date of the Credit or Debit card, as taken from the card in MMYY format.  + /// + /// The expiration date of the Credit or Debit card, as taken from the card in MMYY format.  + public string cardExpirationDate { get; init; } + /// + /// A unique identifier (which may be assigned by the external authorization agency) for this TenderAuthorization  + /// + /// A unique identifier (which may be assigned by the external authorization agency) for this TenderAuthorization  + public string referenceNumber { get; init; } + /// + /// The status of of the card transaction + /// + /// The status of of the card transaction + public int? terminalTransactionStatus { get; init; } + /// + /// The last error message sent by the terminal  + /// + /// The last error message sent by the terminal  + public int? terminalTransactionErrorNumber { get; init; } + /// + /// The type of the terminal transaction  + /// + /// The type of the terminal transaction  + public int? terminalTransactionType { get; init; } + /// + /// Denotes that the Tender was authorized within the retail enterprise (usually because the connection to the host was down) and this TenderAuthorization must be approved by the host when it comes online.  + /// + /// Denotes that the Tender was authorized within the retail enterprise (usually because the connection to the host was down) and this TenderAuthorization must be approved by the host when it comes online.  + public bool? forceOnlineFlag { get; init; } + /// + /// The monetary value of the purchases for which an authorization is being requested. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary value of the purchases for which an authorization is being requested. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? requestedAmount { get; init; } + /// + /// The Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string authorizationDatetime { get; init; } + /// + /// The system time when the terminal transaction ended ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The system time when the terminal transaction ended ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string terminalTransactionEndTimestamp { get; init; } + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + public int? relatedTenderAuthorizatonSequenceNumber { get; init; } + /// + /// The transaction sequence number of the terminal  + /// + /// The transaction sequence number of the terminal  + public string terminalSequenceNumber { get; init; } + /// + /// Numeric code assigned by ISO to identify national currencies  + /// + /// Numeric code assigned by ISO to identify national currencies  + public string requestedISOCurrencyNumber { get; init; } + /// + /// A code denoting how a CardHolder was verified during a TenderAuthorization. + /// + /// A code denoting how a CardHolder was verified during a TenderAuthorization. + public string cardHolderVerificationTypeCode { get; init; } + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + public int? tenderAuthorizationTerminalID { get; init; } + /// + /// Unique identifier of terminal transaction  + /// + /// Unique identifier of terminal transaction  + public int? traceNumber { get; init; } + /// + /// Used terminal defined in POS configuration.(e.g. „REAECT“, „Thales“, „Secpos“, ...) If the payment is carried out without a terminal or the terminal is not connected to the cash register: 'OFFLINE' This information is necessary for later cancellation of the terminal payment.  + /// + /// Used terminal defined in POS configuration.(e.g. „REAECT“, „Thales“, „Secpos“, ...) If the payment is carried out without a terminal or the terminal is not connected to the cash register: 'OFFLINE' This information is necessary for later cancellation of the terminal payment.  + public string terminalType { get; init; } + /// + /// A financial institution assigned identifier for ther Retail Enterprise or RetailStore that is conducting theTenderAuthorization.  + /// + /// A financial institution assigned identifier for ther Retail Enterprise or RetailStore that is conducting theTenderAuthorization.  + public string merchantNumber { get; init; } + /// + /// The terminal authorization number  + /// + /// The terminal authorization number  + public string approvalCode { get; init; } + /// + /// The adjudication code returned by the external agency to this TenderAuthorizationRequest  + /// + /// The adjudication code returned by the external agency to this TenderAuthorizationRequest  + public string adjudicationCode { get; init; } + /// + /// An error message in text form  + /// + /// An error message in text form  + public string adjudicationText { get; init; } + /// + /// A flag denoting that this TenderAuthorization was authorized by an external agency.  + /// + /// A flag denoting that this TenderAuthorization was authorized by an external agency.  + public bool? hostAuthorizedFlag { get; init; } + /// + /// The activation sequence number + /// + /// The activation sequence number + public int? activationSequenceNumber { get; init; } + /// + /// The transaction reference number;is used in the context of purchase reservation and reservation adjustment + /// + /// The transaction reference number;is used in the context of purchase reservation and reservation adjustment + public string terminalTransactionReferenceNumber { get; init; } + /// + /// The transaction type sent back by the terminal;possible transaction types are debit and credit + /// + /// The transaction type sent back by the terminal;possible transaction types are debit and credit + public string terminalTransactionTypeCode { get; init; } + /// + /// The tender description sent back by the terminal + /// + /// The tender description sent back by the terminal + public string terminalTenderDescription { get; init; } + /// + /// The application identifier sent back by the terminal + /// + /// The application identifier sent back by the terminal + public string applicationID { get; init; } + /// + /// The (coded) application PAN sent back by the terminal + /// + /// The (coded) application PAN sent back by the terminal + public string encryptedPAN { get; init; } + /// + /// The transaction currency code sent back by the terminal + /// + /// The transaction currency code sent back by the terminal + public string terminalTransactionCurrencyCode { get; init; } + /// + /// The UTC0 Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 Date and Time the TenderAuthorization was made. This may be assigned by the external agency that is providing the TenderAuthorization. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? authorizationDatetimeUTC0 { get; init; } + /// + /// The system time corresponding to UTC0 when the terminal transaction ended ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The system time corresponding to UTC0 when the terminal transaction ended ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? terminalTransactionEndTimestampUTC0 { get; init; } + /// + /// The token is a unique number assigned by the payment processor to a card when a EFT transaction is processed. You can think of it like a replacement for the PAN that can be safely stored. This token needs to be retrieved from the terminal and stored in the DB (TenderAuthorization looks like the place to put it). The token is needed in order to do refunds/voids of previous EFT transactions without the need for the customer to swipe/insert their card on the terminal. In order for the terminal (T+) to do a void of an EFT transaction we need the token, reference number, approval code and amount. Currently only the approval code and amount is passed to the terminal for voids. The token and reference number are needed to be sent to the terminal for voids. The reference number is already stored in TenderAuthorization, it just needs to be passed to the terminal. Example: 0:AmEx:AX:997309203571006:0120 + /// + /// The token is a unique number assigned by the payment processor to a card when a EFT transaction is processed. You can think of it like a replacement for the PAN that can be safely stored. This token needs to be retrieved from the terminal and stored in the DB (TenderAuthorization looks like the place to put it). The token is needed in order to do refunds/voids of previous EFT transactions without the need for the customer to swipe/insert their card on the terminal. In order for the terminal (T+) to do a void of an EFT transaction we need the token, reference number, approval code and amount. Currently only the approval code and amount is passed to the terminal for voids. The token and reference number are needed to be sent to the terminal for voids. The reference number is already stored in TenderAuthorization, it just needs to be passed to the terminal. Example: 0:AmEx:AX:997309203571006:0120 + public string terminalTransactionToken { get; init; } + /// + /// IBAN - International Bank Account Number for SEPA Direct Debit + /// + /// IBAN - International Bank Account Number for SEPA Direct Debit + public string internationalBankAccountNumber { get; init; } + /// + /// BIC - Bank Identifier Code. Also known as SWIFT Code for SEPA Direct Debit. + /// + /// BIC - Bank Identifier Code. Also known as SWIFT Code for SEPA Direct Debit. + public string bankIdentifierCode { get; init; } + /// + /// Creditor ID for SEPA Direct Debit (ELV) + /// + /// Creditor ID for SEPA Direct Debit (ELV) + public string creditorID { get; init; } + /// + /// Mandate ID for SEPA Direct Debit (ELV) + /// + /// Mandate ID for SEPA Direct Debit (ELV) + public string mandateID { get; init; } + /// + /// Pre-notification text for SEPA Direct Debit (ELV) + /// + /// Pre-notification text for SEPA Direct Debit (ELV) + public string prenotificationText { get; init; } + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + /// + /// A unique identifier (usually assigned by an external agency that provides TenderAuthorizations) that identifies the terminal performing the TenderAuthorization.  + public string tenderAuthorizationTerminalID2 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..73b7d911ba835933ded37f103bebc32e1afd6459 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAuthorization.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderAuthorizationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + /// + /// A unique sequence number for this TenderAuthorization. Required because a particular TenderLineItem may have more than one TenderAuthorization attempt.  + public int? tenderAuthorizationSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..43967dccd53e522ecf60e579e7a77e80ff164100 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransaction.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderControlTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderControlTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionkey key { get; init; } + /// + /// A code to denote the type of the tender control transaction. + /// + /// A code to denote the type of the tender control transaction. + public string tenderControlTypeCode { get; init; } + /// + /// list of tender line items + /// + /// list of tender line items + public List TenderControlTransactionTenderLineItemList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// additional pickup data + /// + /// additional pickup data + public List TenderPickupTransactionList { get; init; } + /// + /// additional loan data + /// + /// additional loan data + public List TenderLoanTransactionList { get; init; } + /// + /// additional data for tender amount adjustments + /// + /// additional data for tender amount adjustments + public List TenderAmountAdjustmentTransactionList { get; init; } + /// + /// additional data for inbound/outbound safe transactions + /// + /// additional data for inbound/outbound safe transactions + public List TenderDepositReceiptTransactionList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9a2a34fc9fef2d4f73af274c0691a0c1f832e6fe --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderControlTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderControlTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..d4df495e62da952be85d129d2b534098edc67e3f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderControlTransactionTenderLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemkey key { get; init; } + /// + /// The monetary value (in currency being moved) of the Tender being moved by the transaction. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary value (in currency being moved) of the Tender being moved by the transaction. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? foreignCurrencyAmount { get; init; } + /// + /// The monetary value (in the default system currency) of the Tender being moved by the transaction.  + /// + /// The monetary value (in the default system currency) of the Tender being moved by the transaction.  + public double? amount { get; init; } + /// + /// The number of tender units being moved. + /// + /// The number of tender units being moved. + public int? count { get; init; } + /// + /// list of denominations + /// + /// list of denominations + public List TenderControlTransactionTenderLineItemDenominationList { get; init; } + /// + /// Currency symbol + /// + /// Currency symbol + public string currencySymbol { get; init; } + /// + /// Description of the tender + /// + /// Description of the tender + public string tenderDescription { get; init; } + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator prior to a pickup.  + public bool? unitCountRequiredFlag { get; init; } + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator prior to a pickup.  + public bool? amountCountRequiredFlag { get; init; } + /// + /// The tender class code from master data + /// + /// The tender class code from master data + public string tenderClassCode { get; init; } + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + public double? exchangeRate { get; init; } + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor + public bool? exchangeRateMultiplyFlag { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Currency code of the tender + /// + /// Currency code of the tender + public string isocurrencyCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..4c26679f5b3ecb79a1171e209150ae7d657c47c6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderControlTransactionTenderLineItemDenomination <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenomination { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationkey key { get; init; } + /// + /// The denomination type code + /// + /// The denomination type code + public string typeCode { get; init; } + /// + /// Piece value  + /// + /// Piece value  + public double? pieceValue { get; init; } + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + public bool? rollFlag { get; init; } + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + public double? rollCapacity { get; init; } + /// + /// The count of the denomination + /// + /// The count of the denomination + public double? denominationCount { get; init; } + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + public double? denominationAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..151f3b555fd60df0ca3a07d3a162949ec97e152d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderControlTransactionTenderLineItemDenomination.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemDenominationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + public string tenderTypeCode { get; init; } + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + public int? denominationSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ecfd88217a106f053c6b90c49ef778d76cf4ff61 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderControlTransactionTenderLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderControlTransactionTenderLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + /// + /// A code which uniquely identifies the type of tender being moved in the TenderControlTransaction.   + public string tenderTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..7b917fa11c4fa18832e160069b6d70633bb5e9f4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderDepositReceiptTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionkey key { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string outboundTenderRepositoryID { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string inboundTenderRepositoryID { get; init; } + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + /// + /// Automatically generated (with another algorithm like reference number in bank payment) unique Safebag ID. + public string depositBagID { get; init; } + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository.  + /// + /// Safe bag number entered by operator that was used to transport the Tender from the Safe to the ExternalDepository.  + public string depositBagNumber { get; init; } + /// + /// A code that indicates the movement of tender with respect to a SAFE. It is used to clarify whether tender is being RECEIVED into a store safe from an external repository or DEPOSITED from a safe into an external depository. + /// + /// A code that indicates the movement of tender with respect to a SAFE. It is used to clarify whether tender is being RECEIVED into a store safe from an external repository or DEPOSITED from a safe into an external depository. + public string safeTenderMovementCode { get; init; } + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + public string doubleCheckingWorkerID { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom05 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom03 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom02 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom04 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7f176b35108481cdcf58084291fbcde1afd0771 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderDepositReceiptTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderDepositReceiptTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..3031af600550bee3665086d1352ada2b6fcf2a26 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLineItem.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderLineItemkey key { get; init; } + /// + /// If true, denotes that the Tender is returned by the retailer to the Customer.  + /// + /// If true, denotes that the Tender is returned by the retailer to the Customer.  + public bool? isChangeFlag { get; init; } + /// + /// A code which uniquely identifies the tenderCorresponds to Tender.TenderTypeCode + /// + /// A code which uniquely identifies the tenderCorresponds to Tender.TenderTypeCode + public string tenderTypeCode { get; init; } + /// + /// The tender account number + /// + /// The tender account number + public string tenderAccountNumber { get; init; } + /// + /// The monetary value (in the currency submitted by the Customer) of the tender submitted by the Customer.  + /// + /// The monetary value (in the currency submitted by the Customer) of the tender submitted by the Customer.  + public double? foreignCurrencyAmount { get; init; } + /// + /// The exchange rate used to convert the tendered amount into the default currency of the retail enterprise. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The exchange rate used to convert the tendered amount into the default currency of the retail enterprise. <br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? exchangeRate { get; init; } + /// + /// The monetary value (in the default currency of the retail enterprise) of the tender submitted by the Customer.  + /// + /// The monetary value (in the default currency of the retail enterprise) of the tender submitted by the Customer.  + public double? tenderAmount { get; init; } + /// + /// The grouping of tenders with similar (technical) handling on POS side. Corresponds to TenderHandlingRule.TenderGroupCode  + /// + /// The grouping of tenders with similar (technical) handling on POS side. Corresponds to TenderHandlingRule.TenderGroupCode  + public string tenderGroupCode { get; init; } + /// + /// The count of the media for the given tender  + /// + /// The count of the media for the given tender  + public int? tenderCount { get; init; } + /// + /// Text to be printed on the receipt. + /// + /// Text to be printed on the receipt. + public string tenderDescription { get; init; } + /// + /// Boolean identifier for cash back + /// + /// Boolean identifier for cash back + public bool? cashbackFlag { get; init; } + /// + /// Currency code designated by ISO to identify the currency of the tender + /// + /// Currency code designated by ISO to identify the currency of the tender + public string foreignISOCurrencyCode { get; init; } + /// + /// Determines whether inside the calculation FromCurrencyID -> ToCurrencyID the amount is to be multiplied with (true) or divided by (false) the factor (ExchangeRate) + /// + /// Determines whether inside the calculation FromCurrencyID -> ToCurrencyID the amount is to be multiplied with (true) or divided by (false) the factor (ExchangeRate) + public bool? exchangeRateMultiplyFlag { get; init; } + /// + /// Currency symbol of the tender + /// + /// Currency symbol of the tender + public string currencySymbol { get; init; } + /// + /// The monetary amount (in the default currency of the retail enterprise) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount (in the default currency of the retail enterprise) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? tipAmount { get; init; } + /// + /// The monetary amount (in the tendered currency) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The monetary amount (in the tendered currency) being collected as Tip for serving staff<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? tipForeignCurrencyAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Check data for check tender line items + /// + /// Check data for check tender line items + public List CheckTenderLineItemList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f54e31734fdad99c1cd4d93fe91f3040238ff254 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..19118400c4f6430dc287639794956cfb6284b4e1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderLoanTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderLoanTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionkey key { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string outboundSafeID { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string inboundTillID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd7ce68d40dbed4a64c88e3ab1457909b2232ecb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderLoanTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderLoanTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..6586aa3f590c511ac9de22c0d4f110d2bda982dd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderPickupTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderPickupTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionkey key { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string inboundSafeID { get; init; } + /// + /// The unique identifier of the till + /// + /// The unique identifier of the till + public string outboundTillID { get; init; } + /// + /// The identifier of the Envelope that was used for this Pickup + /// + /// The identifier of the Envelope that was used for this Pickup + public string envelopeID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..3320554bb98096617d28706fff06e982faafd57f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderPickupTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTenderPickupTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument.cs new file mode 100644 index 0000000000000000000000000000000000000000..6d128052c199a3d079f8b8361ede46c87bad57a2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocument.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillSettlementDocument <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTillSettlementDocument { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentkey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ff584d94f8320bac4556d0dbe90d5cb9dabe51d0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillSettlementDocument.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTillSettlementDocumentKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY. + /// + /// The unique identifier for the TENDER REPOSITORY. + public string tenderRepositoryID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination.cs new file mode 100644 index 0000000000000000000000000000000000000000..2a66a3ba69e028ad832cf9a37ea3d93d797bbf82 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillSettlementTenderDenomination <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenomination { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationkey key { get; init; } + /// + /// The denomination type code + /// + /// The denomination type code + public string typeCode { get; init; } + /// + /// Piece value  + /// + /// Piece value  + public double? pieceValue { get; init; } + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + /// + /// Determines whether the DenominationCount value is expressed in coin rolls (true) or single coins/notes (false) + public bool? rollFlag { get; init; } + /// + /// Count of coins in the roll  + /// + /// Count of coins in the roll  + public double? rollCapacity { get; init; } + /// + /// The count of the denomination + /// + /// The count of the denomination + public double? denominationCount { get; init; } + /// + /// The total amount of the denomination + /// + /// The total amount of the denomination + public double? denominationAmount { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..8f5ca28887b66467321a8c634d78fb7d8533bd29 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillSettlementTenderDenomination.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDenominationKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string tenderRepositoryID { get; init; } + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + public string tenderTypeCode { get; init; } + /// + /// Line number (incremental counter) of the denomination  + /// + /// Line number (incremental counter) of the denomination  + public int? denominationSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..8e3f0f0fe1ef1690276a2a0ebadc084aa7337a93 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillSettlementTenderDetail <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetail { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailkey key { get; init; } + /// + /// The opening tender balance + /// + /// The opening tender balance + public double? openBalanceAmount { get; init; } + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The opening number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? openMediaUnitQuantity { get; init; } + /// + /// The closing tender balance in main currencyCorresponds to the target values. + /// + /// The closing tender balance in main currencyCorresponds to the target values. + public double? closeBalanceAmount { get; init; } + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.)Corresponds to the target values. + /// + /// The closing number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.)Corresponds to the target values. + public int? closeMediaUnitQuantity { get; init; } + /// + /// The counted tender balance in main currency + /// + /// The counted tender balance in main currency + public double? countedBalanceAmount { get; init; } + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + /// + /// The counted number of discrete tender media (e.g. currency bills, coins, credit/debit card signed slips, etc.) + public int? countedMediaUnitQuantity { get; init; } + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + /// + /// The variance between closing balance amount and counted balance amount by subtracting the CloseBalanceAmount from the CountedBalanceAmount + public double? overUnderBalanceAmount { get; init; } + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + /// + /// The variance between closing media unit quantity and counted media unit quantity by subtracting the CloseMediaUnitQuantity from the CountedMediaUnitQuantity. + public int? overUnderMediaUnitQuantity { get; init; } + /// + /// The currency symbol + /// + /// The currency symbol + public string currencySymbol { get; init; } + /// + /// Description of the tender.  + /// + /// Description of the tender.  + public string tenderDescription { get; init; } + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator + /// + /// A flag to signify that specific tender type units need to be counted and recorded by the operator + public bool? unitCountRequiredFlag { get; init; } + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator + /// + /// A flag to signify that a specific tender type amount needs to be counted and recorded by the operator + public bool? amountCountRequiredFlag { get; init; } + /// + /// The tender class code from master data + /// + /// The tender class code from master data + public string tenderClassCode { get; init; } + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + /// + /// The quantitative conversion factor between foreign currency and local currency. <br>Fixed decimal precision expected, definition of used precision: double(14, 9). Be aware of this and round value! + public double? exchangeRate { get; init; } + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + /// + /// Determines whether inside the calculation foreign currency -> local currency the amount is to be multiplied with (true) or divided by (false) the ExchangeRate factor  + public bool? exchangeRateMultiplyFlag { get; init; } + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The counted tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? foreignCurrencyCountedBalanceAmount { get; init; } + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + /// + /// The closing tender balance expressed in the currency of the tender<br>Fixed decimal precision expected, definition of used precision: double(16, 5). Be aware of this and round value! + public double? foreignCurrencyCloseBalanceAmount { get; init; } + /// + /// denomination list for counted values + /// + /// denomination list for counted values + public List TillSettlementTenderDenominationList { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom05 { get; init; } + /// + /// The currency code of the tender + /// + /// The currency code of the tender + public string isocurrencyCode { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom03 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom02 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom04 { get; init; } + /// + /// Customizable information  + /// + /// Customizable information  + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2ff2e9a5df572a0781cec923cd9bbe297057f605 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillSettlementTenderDetail.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTillSettlementTenderDetailKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The unique identifier for the TENDER REPOSITORY.  + /// + /// The unique identifier for the TENDER REPOSITORY.  + public string tenderRepositoryID { get; init; } + /// + /// A code which uniquely identifies the tender + /// + /// A code which uniquely identifies the tender + public string tenderTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..cda28036d3566c8fb4fd5df75ce5f7f55b1fd6d9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillTenderSettlementTransaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionkey key { get; init; } + /// + /// settlement tender details + /// + /// settlement tender details + public List TillSettlementTenderDetailList { get; init; } + /// + /// settlement details + /// + /// settlement details + public List TillSettlementDocumentList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..a337c295de21385163a8107cd3519e79f12e9544 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillTenderSettlementTransaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTillTenderSettlementTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransaction.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..eb7b6eb2f3ce22dd9e172159ce643a35e197a42b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransaction.cs @@ -0,0 +1,298 @@ +namespace POSGkSwaggerModel +{ + /// + /// Transaction <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransaction { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionkey key { get; init; } + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + public string operatorID { get; init; } + /// + /// The unique identifier for the WORKSTATION.  + /// + /// The unique identifier for the WORKSTATION.  + public string workstationID { get; init; } + /// + /// The store id + /// + /// The store id + public string businessUnitID { get; init; } + /// + /// The calendar date of the BusinessDay. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The calendar date of the BusinessDay. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string businessDayDate { get; init; } + /// + /// The sequence number of the transaction (incremental number for each workstation). It is formatted according to minimum and maximum value and it could be reset every day to minimum value. So in comparison to InternalSequenceNumber it must not be unique for business unit and workstation.It is used for export, reporting, search and display. + /// + /// The sequence number of the transaction (incremental number for each workstation). It is formatted according to minimum and maximum value and it could be reset every day to minimum value. So in comparison to InternalSequenceNumber it must not be unique for business unit and workstation.It is used for export, reporting, search and display. + public int? sequenceNumber { get; init; } + /// + /// A code to denote the type of Transaction. + /// + /// A code to denote the type of Transaction. + public string transactionTypeCode { get; init; } + /// + /// The time and date a transaction is initiated. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The time and date a transaction is initiated. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string beginDateTimestamp { get; init; } + /// + /// The time and date stamp a transaction is completed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The time and date stamp a transaction is completed. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string endDateTimestamp { get; init; } + /// + /// A flag denoting that this entire transaction has been cancelled before it was completed at the POS.  + /// + /// A flag denoting that this entire transaction has been cancelled before it was completed at the POS.  + public bool? cancelledFlag { get; init; } + /// + /// Defines if the transaction was suspended. + /// + /// Defines if the transaction was suspended. + public bool? suspendedFlag { get; init; } + /// + /// A flag to signify whether the transaction was created in training mode. + /// + /// A flag to signify whether the transaction was created in training mode. + public bool? trainingFlag { get; init; } + /// + /// A code that indicates the online/offline state when transaction was completed. + /// + /// A code that indicates the online/offline state when transaction was completed. + public string keyedOfflineFlag { get; init; } + /// + /// A unique retailer defined reason code for an action that is taken (or not taken) at a Workstation. + /// + /// A unique retailer defined reason code for an action that is taken (or not taken) at a Workstation. + public string reasonCode { get; init; } + /// + /// A narrative description describing the uses of the retailer assigned reason code. Corresponds to Reason.Description + /// + /// A narrative description describing the uses of the retailer assigned reason code. Corresponds to Reason.Description + public string reasonDescription { get; init; } + /// + /// A unique system-assigned identifier for the Worker. + /// + /// A unique system-assigned identifier for the Worker. + public string workerID { get; init; } + /// + /// The worker's first name + /// + /// The worker's first name + public string workerFirstName { get; init; } + /// + /// The worker's last name + /// + /// The worker's last name + public string workerLastName { get; init; } + /// + /// The software version which was used in order to create the transaction. + /// + /// The software version which was used in order to create the transaction. + public string softwareVersion { get; init; } + /// + /// Number for suspending, can be used for multiple transactions + /// + /// Number for suspending, can be used for multiple transactions + public string suspendNumber { get; init; } + /// + /// The sequence number of the transaction (incremental number for each workstation). It is unique for business unit and workstation. + /// + /// The sequence number of the transaction (incremental number for each workstation). It is unique for business unit and workstation. + public int? internalSequenceNumber { get; init; } + /// + /// The sequence number being created either by the POS, the fiscal printer, or other device used for fiscalization + /// + /// The sequence number being created either by the POS, the fiscal printer, or other device used for fiscalization + public string fiscalSequenceNumber { get; init; } + /// + /// Determines whether this is a fiscal transaction. + /// + /// Determines whether this is a fiscal transaction. + public bool? fiscalFlag { get; init; } + /// + /// The fiscal day counter + /// + /// The fiscal day counter + public string fiscalDayNumber { get; init; } + /// + /// The identifier of the fiscal printer + /// + /// The identifier of the fiscal printer + public string fiscalPrinterID { get; init; } + /// + /// Fiscal signature of the transaction. + /// + /// Fiscal signature of the transaction. + public string fiscalSignature { get; init; } + /// + /// The timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestamp or the EndDateTimestamp. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestamp or the EndDateTimestamp. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string transactionTimestamp { get; init; } + /// + /// The UTC0 time and date a transaction is initiated. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 time and date a transaction is initiated. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? beginDateTimestampUTC0 { get; init; } + /// + /// The UTC0 time and date stamp a transaction is completed. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 time and date stamp a transaction is completed. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? endDateTimestampUTC0 { get; init; } + /// + /// The UTC0 timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestampUTC0 or the EndDateTimestampUTC0. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 timestamp which is relevant for the transaction processing. Depending on configuration, this can be the BeginDateTimestampUTC0 or the EndDateTimestampUTC0. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? transactionTimestampUTC0 { get; init; } + /// + /// List of additional printouts + /// + /// List of additional printouts + public List TransactionAdditionalPrintoutList { get; init; } + /// + /// List of associated transactions + /// + /// List of associated transactions + public List TransactionAssociationList { get; init; } + /// + /// List of binary data + /// + /// List of binary data + public List TransactionBinaryDataList { get; init; } + /// + /// List of transaction categories + /// + /// List of transaction categories + public List TransactionCategoryList { get; init; } + /// + /// List of transaction extensions + /// + /// List of transaction extensions + public List TransactionExtensionList { get; init; } + /// + /// List of data for authorization related to transaction level + /// + /// List of data for authorization related to transaction level + public List TransactionResourceOverrideList { get; init; } + /// + /// WorkstationID were the transaction was finalized. + /// + /// WorkstationID were the transaction was finalized. + public string endWorkstationID { get; init; } + /// + /// List of audit events + /// + /// List of audit events + public List TransactionAuditEventList { get; init; } + /// + /// List of timer entries + /// + /// List of timer entries + public List TransactionTimerList { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// retail transaction data + /// + /// retail transaction data + public List RetailTransactionList { get; init; } + /// + /// control transaction data + /// + /// control transaction data + public List ControlTransactionList { get; init; } + /// + /// tender control transaction data + /// + /// tender control transaction data + public List TenderControlTransactionList { get; init; } + /// + /// Main currency of the store + /// + /// Main currency of the store + public string isocurrencyCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout.cs new file mode 100644 index 0000000000000000000000000000000000000000..18511545096fb6219c076e73d79b32387bdf70b2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout.cs @@ -0,0 +1,63 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionAdditionalPrintout <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintout { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutkey key { get; init; } + /// + /// The trigger type ident of the additional printout (e.g. customer group, user function, tender). + /// + /// The trigger type ident of the additional printout (e.g. customer group, user function, tender). + public string triggerID { get; init; } + /// + /// The trigger value for the additional printout (e.g. the number of the customer group, the number of user function, the tender class code). + /// + /// The trigger value for the additional printout (e.g. the number of the customer group, the number of user function, the tender class code). + public string triggerValue { get; init; } + /// + /// The name of the report template  + /// + /// The name of the report template  + public string reportName { get; init; } + /// + /// The count of printout copies  + /// + /// The count of printout copies  + public double? printoutCount { get; init; } + /// + /// Parameter / data for printout  + /// + /// Parameter / data for printout  + public string printoutContent { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d8703a43be43295623b7226567bb6e7d444ed972 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionAdditionalPrintout.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionAdditionalPrintoutKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// Line number (incremental counter) of the printout  + /// + /// Line number (incremental counter) of the printout  + public int? printoutSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation.cs new file mode 100644 index 0000000000000000000000000000000000000000..63436288b482796bd98bc20d7864c05b1f1175d6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociation.cs @@ -0,0 +1,42 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionAssociation <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionAssociation { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationkey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Gets or Sets ToTransactionID + /// + public string toTransactionID { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..c5784ae4aa27564444c32941c9cfc06cebe49d0a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionAssociation.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionAssociationKey { + /// + /// Business unit group id of the current transaction. + /// + /// Business unit group id of the current transaction. + public string businessUnitGroupID { get; init; } + /// + /// Transaction ID of the current Transaction. + /// + /// Transaction ID of the current Transaction. + public string transactionID { get; init; } + /// + /// Transaction ID of the referenced Transaction. + /// + /// Transaction ID of the referenced Transaction. + public string toTransactionID { get; init; } + /// + /// Business unit group id of the referenced transaction. + /// + /// Business unit group id of the referenced transaction. + public string toBusinessUnitGroupID { get; init; } + /// + /// A retailer assigned code denoting the relationship between the two transactions. + /// + /// A retailer assigned code denoting the relationship between the two transactions. + public string transactionAssociationTypeCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..23c195477eb193b70d755ebb600da1a319713d72 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionAuditEvent <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionAuditEvent { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventkey key { get; init; } + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Creation timestamp of the audit event; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string creationTimestamp { get; init; } + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// Creation timestamp in UTC0; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? creationTimestampUTC0 { get; init; } + /// + /// ID of the workstation + /// + /// ID of the workstation + public string workstationID { get; init; } + /// + /// Type code of the workstation + /// + /// Type code of the workstation + public string workstationTypeCode { get; init; } + /// + /// Type code of the audit event + /// + /// Type code of the audit event + public string eventTypeCode { get; init; } + /// + /// Additional event content + /// + /// Additional event content + public Object content { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..ed489bd89e3ac619f49438384eea1c711fd726e8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionAuditEvent.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionAuditEventKey { + /// + /// ID of the business unit group + /// + /// ID of the business unit group + public string businessUnitGroupID { get; init; } + /// + /// ID of the transaction + /// + /// ID of the transaction + public string transactionID { get; init; } + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + /// + /// A unique identifier (within the context of the Transaction) for this event entry.  + public int? eventSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData.cs new file mode 100644 index 0000000000000000000000000000000000000000..df47206e5c4a4b29d6e98f4a60f86402e1f14b1c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryData.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionBinaryData <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionBinaryData { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDatakey key { get; init; } + /// + /// The name of the binary data entry  + /// + /// The name of the binary data entry  + public string name { get; init; } + /// + /// The binary object  + /// + /// The binary object  + public Object content { get; init; } + /// + /// The length of the binary object + /// + /// The length of the binary object + public double? contentLength { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..f142d5e452f091ce3d9500a4c1a614c4d42f2e70 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionBinaryData.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionBinaryDataKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + /// + /// A unique identifier (within the context of the Transaction) for this binary data entry.  + public int? binaryDataSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionCategory.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionCategory.cs new file mode 100644 index 0000000000000000000000000000000000000000..b2b67fa100434c29beb3eaa0ec9708f1bf29d36a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionCategory.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionCategory <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionCategory { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionCategorykey key { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2bc8962a8af246c0c3f35355d5377adde3f823e9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionCategory.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionCategoryKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The code representing the transaction category + /// + /// The code representing the transaction category + public string transactionCategoryCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionExtension.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..b0623d04e2109e88597515ddd15f236e0bad0de8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionExtension.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionExtension <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionExtension { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionkey key { get; init; } + /// + /// The value of the key-value pair + /// + /// The value of the key-value pair + public string extensionValue { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d7039d739dd0d85237f720fc12418121ed1eef3f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionExtension.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionExtensionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The key of the key-value pair  + /// + /// The key of the key-value pair  + public string extensionKey { get; init; } + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + /// + /// Line number (incremental counter) - there may exist multiple rows per ExtensionKey + public int? extensionSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..44ccc77732acccd652493b7f369ec1ccaf40c058 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// Transaction.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride.cs new file mode 100644 index 0000000000000000000000000000000000000000..97a66465c2f56378f0db87511e934fea20a737d0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionResourceOverride <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionResourceOverride { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverridekey key { get; init; } + /// + /// A unqiue system assigned identifier for the action to which access may be granted.   + /// + /// A unqiue system assigned identifier for the action to which access may be granted.   + public string resourceID { get; init; } + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + /// + /// A unique, automatically assigned number used to identify a workstation OPERATOR.  + public string operatorID { get; init; } + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The date and time that a transaction line item is being overridden. ; Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string overrideTimestamp { get; init; } + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + /// + /// A code denoting how the overriding Operator was entered. e.g. Keyed, Scanned, MCR, etc...  + public string entryMethodCode { get; init; } + /// + /// The name of the person assigned to the WorkerID that was used to approve this TransactionResourceOverride  + /// + /// The name of the person assigned to the WorkerID that was used to approve this TransactionResourceOverride  + public string approverName { get; init; } + /// + /// The first name of the person assigned to the WorkerID that was used to approve this transaction resource override  + /// + /// The first name of the person assigned to the WorkerID that was used to approve this transaction resource override  + public string approverFirstName { get; init; } + /// + /// A unqiue system assigned identifier for a set of Operators with similar resource access control permissions.  + /// + /// A unqiue system assigned identifier for a set of Operators with similar resource access control permissions.  + public string workGroupID { get; init; } + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + /// + /// A unique system-assigned identifier for the Person who is a particular Worker. + public string workerID { get; init; } + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The UTC0 date and time that a transaction line item is being overridden. ; UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? overrideTimestampUTC0 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..5266e36d24b8620488cf9ebb98d5005949ad770c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionResourceOverride.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionResourceOverrideKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// A unique identifier (within the context of the Transaction) for this ResourceOverride.  + /// + /// A unique identifier (within the context of the Transaction) for this ResourceOverride.  + public int? overrideSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionTimer.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionTimer.cs new file mode 100644 index 0000000000000000000000000000000000000000..f5496ed5cd0c58c2722e9921ada25630e2f41c00 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionTimer.cs @@ -0,0 +1,188 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionTimer <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionTimer { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionTimerkey key { get; init; } + /// + /// The ident of the timer. Possible values include:1 ... Registration timer2 ... Payment timer + /// + /// The ident of the timer. Possible values include:1 ... Registration timer2 ... Payment timer + public string timerID { get; init; } + /// + /// The timestamp that the timer commences. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// The timestamp that the timer commences. Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string startTimestamp { get; init; } + /// + /// The timestamp that the timer commences in UTC0 format. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + /// + /// The timestamp that the timer commences in UTC0 format. UTC0 date format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ' (with timezone) + public DateTime? startTimestampUTC0 { get; init; } + /// + /// The duration of the timer in milliseconds. + /// + /// The duration of the timer in milliseconds. + public double? duration { get; init; } + /// + /// The source of the timer. Possible values include:00/Null ... Current transaction01 ... Taken over from suspended transaction02 ... Taken over from food order / table movement transaction03 ... Taken over from scale transaction + /// + /// The source of the timer. Possible values include:00/Null ... Current transaction01 ... Taken over from suspended transaction02 ... Taken over from food order / table movement transaction03 ... Taken over from scale transaction + public string timerOriginTypeCode { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom08 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom10 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom09 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom07 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom06 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom11 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom12 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom13 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom14 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom15 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom16 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom17 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom18 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom19 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom20 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom21 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom22 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom23 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom24 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom25 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom26 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom27 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom28 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom29 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom30 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d418d9233afa6c516e68530e1846abc0158acef --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoTransactionTimerKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionTimer.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoTransactionTimerKey { + /// + /// The ident of the business unit group. + /// + /// The ident of the business unit group. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier for the Transaction. + /// + /// A universally unique identifier for the Transaction. + public string transactionID { get; init; } + /// + /// The sequence number of the timer within the context of this transaction. + /// + /// The sequence number of the timer within the context of this transaction. + public int? timerSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..380dd134fa110e6da8d500a390659dad271dcd3a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItem.cs @@ -0,0 +1,58 @@ +namespace POSGkSwaggerModel +{ + /// + /// VoidsLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoVoidsLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemkey key { get; init; } + /// + /// Link to the sequence number of the voided line item.  + /// + /// Link to the sequence number of the voided line item.  + public int? voidsLineItemSequenceNumber { get; init; } + /// + /// A unique retailer defined reason code for the VoidsLineItem. + /// + /// A unique retailer defined reason code for the VoidsLineItem. + public string reasonCode { get; init; } + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + /// + /// A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.  + public string reasonCodeGroupCode { get; init; } + /// + /// A narrative description describing the uses of the retailer assigned reason code. + /// + /// A narrative description describing the uses of the retailer assigned reason code. + public string reasonDescription { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..d1d5f6216f94c50d3d5b39d0c9284e5b135267ef --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// VoidsLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoVoidsLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..5b739f7b91b53a02e96ac250ee74a2f74b5946c1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkerDiscountLineItem <emph>undocumented</emph> + /// + public record comGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItem { + /// + /// <p>Getter for inner key class.</p> + /// + /// <p>Getter for inner key class.</p> + public ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemkey key { get; init; } + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + /// + /// A unique system-assigned identifier for the Person who is a particular Worker.  + public string workerID { get; init; } + /// + /// The worker's first name  + /// + /// The worker's first name  + public string workerFirstName { get; init; } + /// + /// The worker's last name + /// + /// The worker's last name + public string workerLastName { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom05 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom03 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom02 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom04 { get; init; } + /// + /// Customizable information + /// + /// Customizable information + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..0f6c8c163aacf4fb0231204dd6de57b543972951 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkerDiscountLineItem.Key Inner class for composite key attributes + /// + public record comGkSoftwareGkrApiTxpoolDtoWorkerDiscountLineItemKey { + /// + /// A unique system assigned identifier for a group of BusinessUnits. + /// + /// A unique system assigned identifier for a group of BusinessUnits. + public string businessUnitGroupID { get; init; } + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + /// + /// A universally unique identifier (UUID) for the Transaction. This may be assembled from alternate key members.  + public string transactionID { get; init; } + /// + /// The sequence number of line item within the context of this RetailTransaction.  + /// + /// The sequence number of line item within the context of this RetailTransaction.  + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession.cs b/gatewayUtilPython/salida/ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession.cs new file mode 100644 index 0000000000000000000000000000000000000000..c68ed6ab47be68bb0a9cd4096ed7ced4a7e9e9fc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePackagePricingPosApiCalculationPackagePricingSession.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PackagePricingSession <p>Session to store context of Package Pricing Engine calculation.<br /></p> + /// + public record comGkSoftwarePackagePricingPosApiCalculationPackagePricingSession { + /// + /// <p>Session identifier for a given package pricing calculation context.<br /></p> + /// + /// <p>Session identifier for a given package pricing calculation context.<br /></p> + public string sessionId { get; init; } + /// + /// <p>The Package Pricing Context stores all data needed for the processing of package prices.<br /> This attribute can be used during recalculation of a Transaction on an already initialized session.<br /></p> + /// + /// <p>The Package Pricing Context stores all data needed for the processing of package prices.<br /> This attribute can be used during recalculation of a Transaction on an already initialized session.<br /></p> + public Object context { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information.<br /></p> + /// + /// <p>Customizable information.<br /></p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType.cs new file mode 100644 index 0000000000000000000000000000000000000000..7a5be4b0e0b7ba44ed098212de04feaa952430c0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidType <p>Entity prepaid type</p> + /// + public record comGkSoftwarePosApiModelConfigComponentServerPrepaidTypePrepaidType { + /// + /// <p>Entry ID</p> + /// + /// <p>Entry ID</p> + public int? smId { get; init; } + /// + /// <p>Item number of the prepaid item</p> + /// + /// <p>Item number of the prepaid item</p> + public string itemId { get; init; } + /// + /// <p>Provider code of the prepaid item</p> + /// + /// <p>Provider code of the prepaid item</p> + public string providerCode { get; init; } + /// + /// <p>Resource key of the prepaid receipt</p> + /// + /// <p>Resource key of the prepaid receipt</p> + public string resourceId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..1418b7b8a41f05a7580c451b98110a540cf7ee82 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig.cs @@ -0,0 +1,183 @@ +namespace POSGkSwaggerModel +{ + /// + /// EwicPaymentOperationConfig <p>This configuration entity defines eWIC payment related operations.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessActionEwicPaymentOperationConfig { + /// + /// <p>This parameter defines the input amount constraint.</p><br /><pre>value: InputAmountConstraint [TENDER, REQUIRED, OPTIONAL, PROHIBITED, CONFIRM]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Required as '01',</li><br /> <li>Optional as '02',</li><br /> <li>Prohibited as '03',</li><br /> <li>Confirm as '04'</li><br /></ul> + /// + /// <p>This parameter defines the input amount constraint.</p><br /><pre>value: InputAmountConstraint [TENDER, REQUIRED, OPTIONAL, PROHIBITED, CONFIRM]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Required as '01',</li><br /> <li>Optional as '02',</li><br /> <li>Prohibited as '03',</li><br /> <li>Confirm as '04'</li><br /></ul> + public inputAmountConstraintEnum inputAmountConstraint { get; init; } + /// + /// <p>This parameter defines the allowed amount type code.</p><br /><pre>value: AllowedAmountTypeCode [TENDER, EXACTLY, EXACTLYANDLESS, EXACTLYANDMORE, ALL]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Exactly as '01',</li><br /> <li>ExactlyAndLess as '02',</li><br /> <li>ExactlyAndMore as '03',</li><br /> <li>All as '04'</li><br /></ul> + /// + /// <p>This parameter defines the allowed amount type code.</p><br /><pre>value: AllowedAmountTypeCode [TENDER, EXACTLY, EXACTLYANDLESS, EXACTLYANDMORE, ALL]<br /></pre><br /><ul><br /> <li>Tender as '',</li><br /> <li>Exactly as '01',</li><br /> <li>ExactlyAndLess as '02',</li><br /> <li>ExactlyAndMore as '03',</li><br /> <li>All as '04'</li><br /></ul> + public allowedAmountTypeCodeEnum allowedAmountTypeCode { get; init; } + /// + /// <p>This parameter defines the payment amount which is used by the function (in the case of fixed amounts which are assigned to keys).</p> + /// + /// <p>This parameter defines the payment amount which is used by the function (in the case of fixed amounts which are assigned to keys).</p> + public double? amount { get; init; } + /// + /// <p>This parameter specifies whether the operator should be asked to enter the amount (in an additional view).<br /> It is only taken into account if the amount input for the tender is 'optional' or 'required'.</p><br /><pre>values: 01, 02<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Required 01' or</li><br /> <li>InputAmountConstraint = 'Optional 02'</li><br /></ul> + /// + /// <p>This parameter specifies whether the operator should be asked to enter the amount (in an additional view).<br /> It is only taken into account if the amount input for the tender is 'optional' or 'required'.</p><br /><pre>values: 01, 02<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Required 01' or</li><br /> <li>InputAmountConstraint = 'Optional 02'</li><br /></ul> + public bool? askForAmount { get; init; } + /// + /// <p>This parameter defines the assignment to a particular tender in the master data.</p> + /// + /// <p>This parameter defines the assignment to a particular tender in the master data.</p> + public string tenderClassCode { get; init; } + /// + /// <p>This parameter defines the code of the currency which is used. It overrides the currency selection.</p> + /// + /// <p>This parameter defines the code of the currency which is used. It overrides the currency selection.</p> + public string currencyCode { get; init; } + /// + /// <p>This parameter specifies whether the payment amount must be confirmed for partial payments. It is only taken into account if the amount input for the tender must be confirmed.</p><br /><pre>value: 04<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Confirm 04'</li><br /></ul> + /// + /// <p>This parameter specifies whether the payment amount must be confirmed for partial payments. It is only taken into account if the amount input for the tender must be confirmed.</p><br /><pre>value: 04<br /></pre><br /><ul><br /> <li>InputAmountConstraint = 'Confirm 04'</li><br /></ul> + public bool? confirmPartialPayment { get; init; } + /// + /// <p>This parameter specifies whether the eWIC functionality is active for the store.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the eWIC functionality is active for the store.</p><br /><pre>values: true, false<br /></pre> + public bool? ewicStore { get; init; } + /// + /// <p>This parameter specifies whether the store takes 'WIC Online EBT Cards', 'WIC Smart Cards', or both.</p><br /><pre>values: 1, 2, 3<br /></pre> + /// + /// <p>This parameter specifies whether the store takes 'WIC Online EBT Cards', 'WIC Smart Cards', or both.</p><br /><pre>values: 1, 2, 3<br /></pre> + public int? ewicType { get; init; } + /// + /// <p>This parameter specifies the telephone number to call for offline authorizations to State Agency.</p> + /// + /// <p>This parameter specifies the telephone number to call for offline authorizations to State Agency.</p> + public string ewicPhone { get; init; } + /// + /// <p>This parameter specifies the number of items that may be split among a regular subcategory and a broad band subcategory in a transaction.</p> + /// + /// <p>This parameter specifies the number of items that may be split among a regular subcategory and a broad band subcategory in a transaction.</p> + public int? ewicStraddled { get; init; } + /// + /// <p>This parameter specifies the number of items that may be split tendered between an eWIC tender and a customer provided tender in a transaction.</p> + /// + /// <p>This parameter specifies the number of items that may be split tendered between an eWIC tender and a customer provided tender in a transaction.</p> + public int? ewicSplit { get; init; } + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Online EBT Card is used.</p> + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Online EBT Card is used.</p> + public int? ewicMaxOnline { get; init; } + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Smart Card is used.</p> + /// + /// <p>This parameter specifies the maximum number of items allowed to be paid for with eWIC tender in a transaction when WIC Smart Card is used.</p> + public int? ewicMaxSmart { get; init; } + /// + /// <p>This parameter specifies the eWIC Merchant Identification.</p> + /// + /// <p>This parameter specifies the eWIC Merchant Identification.</p> + public string ewicMerchantID { get; init; } + /// + /// <p>This parameter specifies the straddle subcategory identification.</p> + /// + /// <p>This parameter specifies the straddle subcategory identification.</p> + public string straddleSubcategory { get; init; } + /// + /// <p>This parameter specifies the cash sign for CVB. The Cash Value Benefit (CVB) provides a cash amount of benefits instead of an UOM Code.</p> + /// + /// <p>This parameter specifies the cash sign for CVB. The Cash Value Benefit (CVB) provides a cash amount of benefits instead of an UOM Code.</p> + public string cvbUomCode { get; init; } + /// + /// <p>This parameter specifies whether the confirm dialog to confirm the cancellation of the eWIC payment should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the confirm dialog to confirm the cancellation of the eWIC payment should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + public bool? confirmCancelEwicPayment { get; init; } + /// + /// <p>This config defines the dialog for eWIC items limit exceeded action.</p> + /// + /// <p>This config defines the dialog for eWIC items limit exceeded action.</p> + public ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig limitExceededConfirmDialogConfig { get; init; } + /// + /// <p>This parameter specifies the list of allowed tenders before eWIC payment. If there is not restriction for previous tender the value should be null.</p> + /// + /// <p>This parameter specifies the list of allowed tenders before eWIC payment. If there is not restriction for previous tender the value should be null.</p> + public List PreviousTenderAllowed { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..c5cd311c45161ff8979b08d24e51e467d78cc702 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig.cs @@ -0,0 +1,213 @@ +namespace POSGkSwaggerModel +{ + /// + /// PositionOperationConfig <p>This configuration entity defines position related operations.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig { + /// + /// <p>This parameter defines the price difference limit exceed action for positive items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the price difference limit exceed action for positive items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + public priceDifferenceLimitExceedActionEnum priceDifferenceLimitExceedAction { get; init; } + /// + /// <p>This parameter defines the price difference limit exceed action for negative items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the price difference limit exceed action for negative items.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + public priceNegDifferenceLimitExceedActionEnum priceNegDifferenceLimitExceedAction { get; init; } + /// + /// <p>This parameter defines the close current position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + /// + /// <p>This parameter defines the close current position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + public closeCurrentEnum closeCurrent { get; init; } + /// + /// <p>This parameter defines the close previous position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + /// + /// <p>This parameter defines the close previous position.</p><br /><pre>value: ClosePositionAction [REQUIRED, IFPOSSIBLE, DISABLED]<br /></pre><br /><ul><br /> <li>Required as 'required',</li><br /> <li>IfPossible as 'ifPossible',</li><br /> <li>Disabled as 'disabled'</li><br /></ul> + public closePreviousEnum closePrevious { get; init; } + /// + /// <p>This parameter indicates the input order for quantities.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + /// + /// <p>This parameter indicates the input order for quantities.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + public quantityInputOrderEnum quantityInputOrder { get; init; } + /// + /// <p>This parameter indicates the input order for prices.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + /// + /// <p>This parameter indicates the input order for prices.</p><br /><pre>value: InputOrder [BEFOREORAFTER, BEFORE, AFTER]<br /></pre><br /><ul><br /> <li>BeforeOrAfter as 'beforeOrAfter',</li><br /> <li>Before as 'before',</li><br /> <li>After as 'after'</li><br /></ul> + public priceInputOrderEnum priceInputOrder { get; init; } + /// + /// <p>This parameter defines the quantity limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the quantity limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + public quantityLimitExceedActionEnum quantityLimitExceedAction { get; init; } + /// + /// <p>This parameter defines the amount limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + /// + /// <p>This parameter defines the amount limit exceed action.</p><br /><pre>value: LimitExceedAction [WARN, AUTHORIZE, FORBID, UNCHECKED]<br /></pre><br /><ul><br /> <li>Warn as 'warn',</li><br /> <li>Authorize as 'authorize',</li><br /> <li>Forbid as 'forbid',</li><br /> <li>Unchecked as 'unchecked'</li><br /></ul> + public amountLimitExceedActionEnum amountLimitExceedAction { get; init; } + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of sales line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of sales line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + public priceDeviationTypeEnum priceDeviationType { get; init; } + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of return line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + /// + /// <p>This parameter defines the deviation with respect to the previously valid price in case of return line items.</p><br /><pre>value: DeviationType [ALL, EQUALORLESS, EQUALORGREATER]<br /></pre><br /><ul><br /> <li>All as 'all',</li><br /> <li>EqualOrLess as 'equalOrLess',</li><br /> <li>EqualOrGreater as 'equalOrGreater'</li><br /></ul> + public priceNegDeviationTypeEnum priceNegDeviationType { get; init; } + /// + /// <p>This parameter indicates whether the quantity input for each item is forced.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the quantity input for each item is forced.</p><br /><pre>values: true, false<br /></pre> + public bool? forceQuantityInput { get; init; } + /// + /// <p>This parameter defines the price position limit. Default set to 100,000.00. -1 means disabled.</p> + /// + /// <p>This parameter defines the price position limit. Default set to 100,000.00. -1 means disabled.</p> + public double? pricePositionLimit { get; init; } + /// + /// <p>This parameter defines whether positions with zero price are allowed.</p> + /// + /// <p>This parameter defines whether positions with zero price are allowed.</p> + public bool? pricePositionZeroAllowed { get; init; } + /// + /// <p>This parameter defines the price transaction limit. Default set to 100,000.00. -1 means disabled.<br /> @deprecated since 5.20.0 - is not longer used.</p> + /// + /// <p>This parameter defines the price transaction limit. Default set to 100,000.00. -1 means disabled.<br /> @deprecated since 5.20.0 - is not longer used.</p> + public double? priceTransactionLimit { get; init; } + /// + /// <p>This parameter defines the price difference limit in percent.</p> + /// + /// <p>This parameter defines the price difference limit in percent.</p> + public double? priceDifferencePercentPositionLimit { get; init; } + /// + /// <p>This parameter defines the price difference limit as an absolute value.</p> + /// + /// <p>This parameter defines the price difference limit as an absolute value.</p> + public double? priceDifferenceAbsolutePositionLimit { get; init; } + /// + /// <p>This parameter indicates whether results can be filtered.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether results can be filtered.</p><br /><pre>values: true, false<br /></pre> + public bool? filterResult { get; init; } + /// + /// <p>This parameter indicates whether the single quantity for a weight item is allowed. It has the flag 'ALLOWED_WITH_WEIGHT'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a weight item is allowed. It has the flag 'ALLOWED_WITH_WEIGHT'.</p><br /><pre>values: true, false<br /></pre> + public bool? allowedWithWeight { get; init; } + /// + /// <p>This parameter indicates whether the single quantity for a length item is allowed. It has the flag 'ALLOWED_WITH_LENGTH'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a length item is allowed. It has the flag 'ALLOWED_WITH_LENGTH'.</p><br /><pre>values: true, false<br /></pre> + public bool? allowedWithLength { get; init; } + /// + /// <p>This parameter indicates whether the single quantity for an area item is allowed. It has the flag 'ALLOWED_WITH_AREA'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for an area item is allowed. It has the flag 'ALLOWED_WITH_AREA'.</p><br /><pre>values: true, false<br /></pre> + public bool? allowedWithArea { get; init; } + /// + /// <p>This parameter indicates whether the single quantity for a volume item is allowed. It has the flag 'ALLOWED_WITH_VOLUME'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a volume item is allowed. It has the flag 'ALLOWED_WITH_VOLUME'.</p><br /><pre>values: true, false<br /></pre> + public bool? allowedWithVolume { get; init; } + /// + /// <p>This parameter indicates whether the single quantity for a measure item is allowed. It has the flag 'ALLOWED_WITH_MEASURE'.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether the single quantity for a measure item is allowed. It has the flag 'ALLOWED_WITH_MEASURE'.</p><br /><pre>values: true, false<br /></pre> + public bool? allowedWithMeasure { get; init; } + /// + /// <p>This parameter defines the maximum single quantity.</p> + /// + /// <p>This parameter defines the maximum single quantity.</p> + public int? maximumQuantity { get; init; } + /// + /// <p>This parameter defines the minimum single quantity.</p> + /// + /// <p>This parameter defines the minimum single quantity.</p> + public int? minimumQuantity { get; init; } + /// + /// <p>This parameter defines the multiplication factor for weight quantities.</p> + /// + /// <p>This parameter defines the multiplication factor for weight quantities.</p> + public double? weightUnitFactor { get; init; } + /// + /// <p>This parameter defines the multiplication factor for dimensions quantities.</p> + /// + /// <p>This parameter defines the multiplication factor for dimensions quantities.</p> + public double? measureUnitFactor { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..4b5c67c77e4eedfd90684b4836bee33263a28fc4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PositionRepetitionConfig <p>This Configuration entity defines position repetition related operations.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessActionPositionRepetitionConfig { + /// + /// <p>This parameter specifies whether the quantity input of the old line item is applied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: The quantity input (single quantity) of the old line item is applied to the new line item.</li><br /> <li>False: The single quantity of the new line item will be 1.</li><br /></ul> + /// + /// <p>This parameter specifies whether the quantity input of the old line item is applied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: The quantity input (single quantity) of the old line item is applied to the new line item.</li><br /> <li>False: The single quantity of the new line item will be 1.</li><br /></ul> + public bool? repeatQuantity { get; init; } + /// + /// <p>This parameter specifies whether manual discounts are copied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: Manual discounts are copied to the new line item.</li><br /> <li>False: Manual discounts are not copied to the new line item.</li><br /></ul> + /// + /// <p>This parameter specifies whether manual discounts are copied to the new line item in case of repetitions.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>True: Manual discounts are copied to the new line item.</li><br /> <li>False: Manual discounts are not copied to the new line item.</li><br /></ul> + public bool? repeatManualDiscounts { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..373dd9d6075fd5c22c4470b5f87803fb99dde65c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ProcessBarcodeConfig <p>This configuration entity defines barcode processes.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessActionProcessBarcodeConfig { + /// + /// <p>This parameter defines a list of barcode types for the evaluation of manual barcode inputs. For inputs by scanners the barcode type is provided by the scanner itself.</p> + /// + /// <p>This parameter defines a list of barcode types for the evaluation of manual barcode inputs. For inputs by scanners the barcode type is provided by the scanner itself.</p> + public List BarcodeTypes { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..f54a5bf302b9add080959a101dccbcd48d728d3c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionOperationConfig <p>This configuration entity defines promotion related operations.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessActionPromotionOperationConfig { + /// + /// <p>This parameter defines the price modification type code.</p><br /><pre>value: PromotionTriggerPrivilegeType [REBATESINGLE, REBATEPERCENT, NEWPRICE, REBATEAMOUNT]<br /></pre><br /><ul><br /> <li>RebateSingle as 'RS',</li><br /> <li>RebatePercent as 'RP',</li><br /> <li>NewPrice as 'PS',</li><br /> <li>RebateAmount as 'AM'</li><br /></ul> + /// + /// <p>This parameter defines the price modification type code.</p><br /><pre>value: PromotionTriggerPrivilegeType [REBATESINGLE, REBATEPERCENT, NEWPRICE, REBATEAMOUNT]<br /></pre><br /><ul><br /> <li>RebateSingle as 'RS',</li><br /> <li>RebatePercent as 'RP',</li><br /> <li>NewPrice as 'PS',</li><br /> <li>RebateAmount as 'AM'</li><br /></ul> + public privilegeTypeEnum privilegeType { get; init; } + /// + /// <p>This parameter defines the sequence handling type code.</p><br /><pre>value: PromotionTriggerSequenceType [FIX, MAX, SAME]<br /></pre><br /><ul><br /> <li>FIX as 'FIX',</li><br /> <li>MAX as 'MAX',</li><br /> <li>SAME as 'SAME'</li><br /></ul> + /// + /// <p>This parameter defines the sequence handling type code.</p><br /><pre>value: PromotionTriggerSequenceType [FIX, MAX, SAME]<br /></pre><br /><ul><br /> <li>FIX as 'FIX',</li><br /> <li>MAX as 'MAX',</li><br /> <li>SAME as 'SAME'</li><br /></ul> + public sequenceTypeEnum sequenceType { get; init; } + /// + /// <p>This parameter defines which price deviation type is allowed.</p><br /><pre>value: PriceDeviationType [ALL, EQUAL_LESS, EQUAL_GREATER]<br /></pre><br /><ul><br /> <li>ALL as 'ALL',</li><br /> <li>EQUAL_LESS as 'EQUAL_LESS',</li><br /> <li>EQUAL_GREATER as 'EQUAL_GREATER'</li><br /></ul> + /// + /// <p>This parameter defines which price deviation type is allowed.</p><br /><pre>value: PriceDeviationType [ALL, EQUAL_LESS, EQUAL_GREATER]<br /></pre><br /><ul><br /> <li>ALL as 'ALL',</li><br /> <li>EQUAL_LESS as 'EQUAL_LESS',</li><br /> <li>EQUAL_GREATER as 'EQUAL_GREATER'</li><br /></ul> + public priceDeviationTypeEnum priceDeviationType { get; init; } + /// + /// <p>This parameter defines the trigger type for the loyalty engine. (e.g. CO)</p> + /// + /// <p>This parameter defines the trigger type for the loyalty engine. (e.g. CO)</p> + public string triggerType { get; init; } + /// + /// <p>This parameter defines the trigger value for the loyalty engine.</p> + /// + /// <p>This parameter defines the trigger value for the loyalty engine.</p> + public string triggerValue { get; init; } + /// + /// <p>This parameter defines the predefined discount or reduction value.</p> + /// + /// <p>This parameter defines the predefined discount or reduction value.</p> + public double? privilegeValue { get; init; } + /// + /// <p>This parameter defines the start sequence number of promotions with the same trigger value.</p> + /// + /// <p>This parameter defines the start sequence number of promotions with the same trigger value.</p> + public int? startSequence { get; init; } + /// + /// <p>This parameter defines the maximum number of promotions with the same trigger value.</p> + /// + /// <p>This parameter defines the maximum number of promotions with the same trigger value.</p> + public int? maxSequence { get; init; } + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. A warning message is displayed, if the defined maxLimitWarn is exceeded.</p> + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. A warning message is displayed, if the defined maxLimitWarn is exceeded.</p> + public double? maxLimitWarn { get; init; } + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An authorization is required, if the defined maxLimitAuthorize is exceeded.</p> + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An authorization is required, if the defined maxLimitAuthorize is exceeded.</p> + public double? maxLimitAuthorize { get; init; } + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An error message is required, if the defined maxLimitForbid is exceeded. The operation will be canceled.</p> + /// + /// <p>This parameter defines the maximum percentage deviation from the unit price of the item. An error message is required, if the defined maxLimitForbid is exceeded. The operation will be canceled.</p> + public double? maxLimitForbid { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes.cs new file mode 100644 index 0000000000000000000000000000000000000000..ee6d2a19ea78226f9c72b041661010e5e097f3c6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// AdditionalAttributes <p>This entity defines the item related additional attributes to be assigned to sale return line item extensions during item registration</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsAdditionalAttributes { + /// + /// <p>Indicates whether hsn code should be added to sale return line item extension.<br /> HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.</p> + /// + /// <p>Indicates whether hsn code should be added to sale return line item extension.<br /> HSN (Harmonized System of Nomenclature) is an international classification system of commodities. HSN code ensures that commodities of similar nature are classified properly.</p> + public bool? hsnRequired { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..8c52d7d3063c85a766d6f73d812032151189497e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// AllowedTendersConfig <p>This configuration entity defines the allowed tenders process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsAllowedTendersConfig { + /// + /// <p>Type of additional allowed tender validation to perform for returns.</p> + /// + /// <p>Type of additional allowed tender validation to perform for returns.</p> + public returnTenderRuleEnum returnTenderRule { get; init; } + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// <p>This parameter enables admissibility checks based on payin/payout reasons.</p> + /// + /// <p>This parameter enables admissibility checks based on payin/payout reasons.</p> + public bool? checkReasonTender { get; init; } + /// + /// <p>This parameter enables admissibility checks based on a customer group assignment.</p> + /// + /// <p>This parameter enables admissibility checks based on a customer group assignment.</p> + public bool? checkCustomerGroupTender { get; init; } + /// + /// <p>This parameter enables additional admissibility checks in case of a negative receipt total.<br /> @deprecated - since 5.9.2 this is not longer used.<br /> Use instead: returnTenderRule<br /> false -&gt; RETURN_TO_ANY<br /> true -&gt; RETURN_TO_ANY_MAPPED</p> + /// + /// <p>This parameter enables additional admissibility checks in case of a negative receipt total.<br /> @deprecated - since 5.9.2 this is not longer used.<br /> Use instead: returnTenderRule<br /> false -&gt; RETURN_TO_ANY<br /> true -&gt; RETURN_TO_ANY_MAPPED</p> + public bool? checkNegativeTotal { get; init; } + /// + /// <p>This parameter indicates whether tenders are used from the master data or taken from an existing collection for collection creation/updates.</p> + /// + /// <p>This parameter indicates whether tenders are used from the master data or taken from an existing collection for collection creation/updates.</p> + public bool? useTenderFromMasterData { get; init; } + /// + /// <p>This parameter defines the tender filter rules chain (filters are executed in order).</p> + /// + /// <p>This parameter defines the tender filter rules chain (filters are executed in order).</p> + public List FilterRulesChain { get; init; } + /// + /// <p>This parameter specifies whether it is possible to override the admissibility of the selected tender for a customer temporary.</p> + /// + /// <p>This parameter specifies whether it is possible to override the admissibility of the selected tender for a customer temporary.</p> + public bool? overrideAdmissibilityPossible { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..19fc5394aa50f0f0047b439ea4ed1fcb6635676d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig.cs @@ -0,0 +1,102 @@ +namespace POSGkSwaggerModel +{ + /// + /// AlternativeTaxConfig <p>Configuration for alternative tax process</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// Gets or Sets AlternativeTaxInfos + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos.cs new file mode 100644 index 0000000000000000000000000000000000000000..d98b601b29297855df5610a1ab69ae226d720001 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos.cs @@ -0,0 +1,38 @@ +namespace POSGkSwaggerModel +{ + /// + /// AlternativeTaxInfos <p>This configuration entity defines the AlternativeTaxInfos.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsAlternativeTaxInfos { + /// + /// <p>List of merchandise categories for which the alternative sales tax is to be used.</p> + /// + /// <p>List of merchandise categories for which the alternative sales tax is to be used.</p> + public List AlternativeTaxMerchandiseCategories { get; init; } + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. The alternative tax will be applied to all line items with the merchandise hierarchy group defined in this list.</p><br /><p>If filled then the parameter alternativeTaxMerchandiseCategories will be ignored.</p> + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. The alternative tax will be applied to all line items with the merchandise hierarchy group defined in this list.</p><br /><p>If filled then the parameter alternativeTaxMerchandiseCategories will be ignored.</p> + public string alternativeTaxMerchandiseCategoryList { get; init; } + /// + /// <p>Controls whether the merchandise category assignment is checked.</p><br /><p>True: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is checked.<br /> False: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is not checked.</p> + /// + /// <p>Controls whether the merchandise category assignment is checked.</p><br /><p>True: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is checked.<br /> False: Assignment to merchandise category defined in alternativeTaxMerchandiseCategoryList/alternativeTaxMerchandiseCategories is not checked.</p> + public bool? checkMerchandiseCategory { get; init; } + /// + /// <p>Alternative tax group</p> + /// + /// <p>Alternative tax group</p> + public string alternativeTaxGroupId { get; init; } + /// + /// <p>false: The original tax group is used by default for each receipt. The toggle button is disabled.<br /> true: The alternative tax group is used by default for each receipt. The toggle button is enabled.</p> + /// + /// <p>false: The original tax group is used by default for each receipt. The toggle button is disabled.<br /> true: The alternative tax group is used by default for each receipt. The toggle button is enabled.</p> + public bool? alternativeTaxMode { get; init; } + /// + /// <p>List of tax groups for which the alternative sales tax is not applied.</p> + /// + /// <p>List of tax groups for which the alternative sales tax is not applied.</p> + public List ExcludedTaxGroups { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..ab3af575364f60c14761b9cb3cb3704901c4abef --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig.cs @@ -0,0 +1,178 @@ +namespace POSGkSwaggerModel +{ + /// + /// AuthorizationConfig <p>This configuration entity defines authorization related topics.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig { + /// + /// <p>This parameter defines the mode of authorization.</p><br /><pre>value: AuthorizationMode [SINGLE, FOUREYES]<br /></pre><br /><ul><br /> <li>Single as 'SINGLE',</li><br /> <li>FourEyes as 'FOUR_EYES'</li><br /></ul> + /// + /// <p>This parameter defines the mode of authorization.</p><br /><pre>value: AuthorizationMode [SINGLE, FOUREYES]<br /></pre><br /><ul><br /> <li>Single as 'SINGLE',</li><br /> <li>FourEyes as 'FOUR_EYES'</li><br /></ul> + public authorizationModeEnum authorizationMode { get; init; } + /// + /// <p>This parameter specifies the dialog type.</p><br /><pre>value: AuthorizationDialogType [MANUAL, SCAN]<br /></pre><br /><ul><br /> <li>Manual as 'INPUT_FIELD': This setting allows both, manual input and authorization by barcode/msr scanner.</li><br /> <li>Scan as 'SCAN_EXPECT': Only the authorization by barcode/msr scanner is allowed (no manual input is possible).</li><br /></ul> + /// + /// <p>This parameter specifies the dialog type.</p><br /><pre>value: AuthorizationDialogType [MANUAL, SCAN]<br /></pre><br /><ul><br /> <li>Manual as 'INPUT_FIELD': This setting allows both, manual input and authorization by barcode/msr scanner.</li><br /> <li>Scan as 'SCAN_EXPECT': Only the authorization by barcode/msr scanner is allowed (no manual input is possible).</li><br /></ul> + public dialogTypeEnum dialogType { get; init; } + /// + /// <p>This parameter defines pos group operator selection action.</p> + /// + /// <p>This parameter defines pos group operator selection action.</p> + public operatorSelectionActionEnum? operatorSelectionAction { get; init; } + /// + /// <p>This parameter indicates whether an explicit authorization is needed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter indicates whether an explicit authorization is needed or not.</p><br /><pre>values: true, false<br /></pre> + public bool? authorizationRequired { get; init; } + /// + /// <p>If the parameter authorizationRequired is enabled the operator permissions are checked against this right.</p> + /// + /// <p>If the parameter authorizationRequired is enabled the operator permissions are checked against this right.</p> + public string requiredRight { get; init; } + /// + /// <p>This parameter specifies whether a cancellation is allowed. If it is set to true the authorization is allowed to be cancelled.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a cancellation is allowed. If it is set to true the authorization is allowed to be cancelled.</p><br /><pre>values: true, false<br /></pre> + public bool? cancellationAllowed { get; init; } + /// + /// <p>This parameter specifies whether the password is required to pass the authorization.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the password is required to pass the authorization.</p><br /><pre>values: true, false<br /></pre> + public bool? passwordRequired { get; init; } + /// + /// <p>This parameter is only relevant for the four eyes authorization.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>true - The second user must have rights to run the process.</li><br /> <li>false - The authorization succeeds if any of the users has rights to start process.</li><br /></ul> + /// + /// <p>This parameter is only relevant for the four eyes authorization.</p><br /><pre>values: true, false<br /></pre><br /><ul><br /> <li>true - The second user must have rights to run the process.</li><br /> <li>false - The authorization succeeds if any of the users has rights to start process.</li><br /></ul> + public bool? checkSecondUserRights { get; init; } + /// + /// <p>This parameter specifies the predefined login name.</p> + /// + /// <p>This parameter specifies the predefined login name.</p> + public string loginName { get; init; } + /// + /// <p>This parameter defines the translation key for the name of the authorizing process.</p> + /// + /// <p>This parameter defines the translation key for the name of the authorizing process.</p> + public string authorizingProcessNameKey { get; init; } + /// + /// <p>Prepared reason text of the authorizing process.</p> + /// + /// <p>Prepared reason text of the authorizing process.</p> + public string authorizingReasonText { get; init; } + /// + /// <p>Translation key for the reason text of the authorizing process.</p> + /// + /// <p>Translation key for the reason text of the authorizing process.</p> + public string authorizingReasonTextKey { get; init; } + /// + /// <p>Placeholder parameters for the reason text of the authorizing process.</p> + /// + /// <p>Placeholder parameters for the reason text of the authorizing process.</p> + public List AuthorizingReasonTextParameters { get; init; } + /// + /// <p>True - Regardless of whether an authorization has already been done in the current receipt,</p><br /><pre> the authorization shall be carried out.<br /></pre><br /><p>False: Is already noted a sufficient authorization, then this is used.</p> + /// + /// <p>True - Regardless of whether an authorization has already been done in the current receipt,</p><br /><pre> the authorization shall be carried out.<br /></pre><br /><p>False: Is already noted a sufficient authorization, then this is used.</p> + public bool? askIfAlreadyAuthorized { get; init; } + /// + /// <p>True - resourceId will be stored to line Item.</p> + /// + /// <p>True - resourceId will be stored to line Item.</p> + public bool? lineItemRelevant { get; init; } + /// + /// <p>False - resourceId will be not stored in RetailTransaction.</p> + /// + /// <p>False - resourceId will be not stored in RetailTransaction.</p> + public bool? retailTransactionRelevant { get; init; } + /// + /// <p>False - resourceId will be not stored in ControlTransaction.</p> + /// + /// <p>False - resourceId will be not stored in ControlTransaction.</p> + public bool? controlTransactionRelevant { get; init; } + /// + /// <p>False - resourceId will be not stored in TenderControlTransaction.</p> + /// + /// <p>False - resourceId will be not stored in TenderControlTransaction.</p> + public bool? tenderControlTransactionRelevant { get; init; } + /// + /// <p>True: Error if no POS Group operator is active. Null/False: No activate POS Group operator check.</p> + /// + /// <p>True: Error if no POS Group operator is active. Null/False: No activate POS Group operator check.</p> + public bool? activeOperatorRequired { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..860c2ec8a1577a3c60a8b4c89cf134e943cb8833 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// ConditionSplitConfig <p>The condition split config.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsConditionSplitConfig { + /// + /// <p>List of condition types for price reduction</p> + /// + /// <p>List of condition types for price reduction</p> + public List ManualDiscountTypes { get; init; } + /// + /// <p>RoundingConfig for discounts.</p> + /// + /// <p>RoundingConfig for discounts.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig discountRoundingConfig { get; init; } + /// + /// <p>RoundingConfig for manual discounts.</p> + /// + /// <p>RoundingConfig for manual discounts.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig manualDiscountRoundingConfig { get; init; } + /// + /// <p>RoundingConfig for the final price.</p> + /// + /// <p>RoundingConfig for the final price.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig finalPriceRoundingConfig { get; init; } + /// + /// <p>RoundingConfig for points.</p> + /// + /// <p>RoundingConfig for points.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig pointsRoundingConfig { get; init; } + /// + /// <p>It defines if the correction of rounding differences is processed.</p> + /// + /// <p>It defines if the correction of rounding differences is processed.</p> + public bool? finalRoundingDifferenceCorrectionEnabled { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..473c71cfd37299c5602d844f4e13985423e34c94 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ConditionSplitRoundingConfig <p>The condition split rounding config.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsConditionSplitRoundingConfig { + /// + /// <p>It defines the rounding method for money discounts.<br /><ul><br /><li>Down = Round down</li><br /><li>Up = Round up</li><br /><li>Commercial = Commercial rounding</li><br /></ul><br /><p>One value from the list.</p> + /// + /// <p>It defines the rounding method for money discounts.<br /><ul><br /><li>Down = Round down</li><br /><li>Up = Round up</li><br /><li>Commercial = Commercial rounding</li><br /></ul><br /><p>One value from the list.</p> + public roundingMethodEnum roundingMethod { get; init; } + /// + /// <p>Number of decimal places used for rounding of money discounts<br /><p><br /> Possible values: 0 - 4</p> + /// + /// <p>Number of decimal places used for rounding of money discounts<br /><p><br /> Possible values: 0 - 4</p> + public int? decimalPlacesCount { get; init; } + /// + /// <p>It defines the rounding destination value for money discounts, which are used to round the value to the proper denomination.<br /><p><br /> Additional rounding information:<br /><ul><br /><li>1 = There is no further handling of the rounding result.</li><br /><li>5 = The rounding result is adjusted to correspond to the preceding or subsequent multiple of 5.</li><br /></ul><br /><p>One value from the list.</p> + /// + /// <p>It defines the rounding destination value for money discounts, which are used to round the value to the proper denomination.<br /><p><br /> Additional rounding information:<br /><ul><br /><li>1 = There is no further handling of the rounding result.</li><br /><li>5 = The rounding result is adjusted to correspond to the preceding or subsequent multiple of 5.</li><br /></ul><br /><p>One value from the list.</p> + public int? destinationValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..1c814ecddbcf903f658f563f671eafabf399709b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig.cs @@ -0,0 +1,188 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateLayawayConfig <p>This configuration entity defines the create layaway process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsCreateLayawayConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// <p>The parameter defines a list of item numbers/ EANs (ItemID | POSItemID | MainPOSItemID) of the items, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined items are separated by semicolons ';'.</p> + /// + /// <p>The parameter defines a list of item numbers/ EANs (ItemID | POSItemID | MainPOSItemID) of the items, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined items are separated by semicolons ';'.</p> + public string allowedItemNrEanList { get; init; } + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined merchandise hierarchy groups IDs are separated by semicolons ';'.</p> + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs, which are allowed to be part of the Layaway. If the list is empty, the value of this parameter is not checked. The defined merchandise hierarchy groups IDs are separated by semicolons ';'.</p> + public string allowedMhgList { get; init; } + /// + /// <p>The parameter defines the initial down payment amount in %.</p> + /// + /// <p>The parameter defines the initial down payment amount in %.</p> + public double? initialDownPayment { get; init; } + /// + /// <p>The parameter defines the initial down payment amount as a fix amount in main currency.</p> + /// + /// <p>The parameter defines the initial down payment amount as a fix amount in main currency.</p> + public double? initialFixAmount { get; init; } + /// + /// <p>The parameter defines the validation time of the Layaway in days to calculate the final payment date based on the current date.</p><br /><p>Example: Date of today = 13.02.2018, layawayValidDays = 28, final payment date = 13.03.2018</p> + /// + /// <p>The parameter defines the validation time of the Layaway in days to calculate the final payment date based on the current date.</p><br /><p>Example: Date of today = 13.02.2018, layawayValidDays = 28, final payment date = 13.03.2018</p> + public int? layawayValidDays { get; init; } + /// + /// <p>The parameter defines the validation date of the Layaway independent from the creation date of the layaway. If this parameter &lt;&gt; null, the value of parameter layawayValidDays is not used.<br /> Format: YYYY-MM-DD, e.g.: 2019-09-27<br /> Example: <br /> Date of today = 01.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019<br /> Date of today = 03.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019</p> + /// + /// <p>The parameter defines the validation date of the Layaway independent from the creation date of the layaway. If this parameter &lt;&gt; null, the value of parameter layawayValidDays is not used.<br /> Format: YYYY-MM-DD, e.g.: 2019-09-27<br /> Example: <br /> Date of today = 01.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019<br /> Date of today = 03.10.2019, layawayValidDate = 31.10.2019, final payment date = 31.10.2019</p> + public string layawayValidDate { get; init; } + /// + /// <p>The parameter defines every how many days a payment should be done, e.g. every 7 days or every 14 days<br /> Example: Date of today = 13.02.2018, paymentDays=7, pament dates = 20.02.2018, 27.02.2018, 06.03.2018, 13.03.2018</p> + /// + /// <p>The parameter defines every how many days a payment should be done, e.g. every 7 days or every 14 days<br /> Example: Date of today = 13.02.2018, paymentDays=7, pament dates = 20.02.2018, 27.02.2018, 06.03.2018, 13.03.2018</p> + public int? paymentDays { get; init; } + /// + /// <p>The parameter defines how many days the final payment rate can be paid later than expected to calculate the latest final payment date.<br /> If the tolerance time is exceeded, the Layaway is canceled and the item goes back to the Store Stock.</p><br /><p>Example: final payment date = 13.03.2018, toleranceTime = 3, latest final payment date = 16.03.2018</p> + /// + /// <p>The parameter defines how many days the final payment rate can be paid later than expected to calculate the latest final payment date.<br /> If the tolerance time is exceeded, the Layaway is canceled and the item goes back to the Store Stock.</p><br /><p>Example: final payment date = 13.03.2018, toleranceTime = 3, latest final payment date = 16.03.2018</p> + public int? toleranceTime { get; init; } + /// + /// <p>The parameter defines after how many days, beginning from the final expiration date (LatestFinalPaymentDate), the Layaway can be deleted. If the deleting time is exceeded, no actions (also no retrieving money from expired Layaway) can be performed.</p><br /><p>Example: final expiration date = 01.03.2018, deletingTime = 200, deleting date = 17.09.2018</p> + /// + /// <p>The parameter defines after how many days, beginning from the final expiration date (LatestFinalPaymentDate), the Layaway can be deleted. If the deleting time is exceeded, no actions (also no retrieving money from expired Layaway) can be performed.</p><br /><p>Example: final expiration date = 01.03.2018, deletingTime = 200, deleting date = 17.09.2018</p> + public int? deletingTime { get; init; } + /// + /// <p>The parameter defines the Service Fee in %.</p> + /// + /// <p>The parameter defines the Service Fee in %.</p> + public double? serviceFeePercent { get; init; } + /// + /// <p>The parameter defines the Amount of the Service Fee.</p> + /// + /// <p>The parameter defines the Amount of the Service Fee.</p> + public double? serviceFeeAmount { get; init; } + /// + /// <p>The parameter defines the Cancellation Fee in % which is calculated, if the Layaway is voided.</p> + /// + /// <p>The parameter defines the Cancellation Fee in % which is calculated, if the Layaway is voided.</p> + public double? cancellationFeePercent { get; init; } + /// + /// <p>The parameter defines the Amount of the Cancellation Fee which is calculated, if the Layaway is voided.</p> + /// + /// <p>The parameter defines the Amount of the Cancellation Fee which is calculated, if the Layaway is voided.</p> + public double? cancellationFeeAmount { get; init; } + /// + /// <p>The parameter defines the percentage from the total layaway amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + /// + /// <p>The parameter defines the percentage from the total layaway amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + public double? penaltyFeePercent { get; init; } + /// + /// <p>The parameter defines the fixed amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + /// + /// <p>The parameter defines the fixed amount which is calculated, if the calculated payment date (defined by parameter layawayValidDays) + the tolerance time (defined by parameter toleranceTime) have expired.</p> + public double? penaltyFeeAmount { get; init; } + /// + /// <p>The parameter defines the tax group of the several fees.</p> + /// + /// <p>The parameter defines the tax group of the several fees.</p> + public string feeTaxGroupId { get; init; } + /// + /// <p>Config for customer identification sub process</p> + /// + /// <p>Config for customer identification sub process</p> + public ComGkSoftwarePosApiModelConfigProcessFlowscustomerIdentificationConfig customerIdentificationConfig { get; init; } + /// + /// <p>Config for positionOperationConfig</p> + /// + /// <p>Config for positionOperationConfig</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..36fbfb9289074a98f209caa8eb2e955d523f52da --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerIdentificationConfig <p>This config entity defines the CustomerIdentification process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsCustomerIdentificationConfig { + /// + /// <p>This parameter defines the customer identification function to use.</p><br /><pre>value: CustomerIdentificationFunction [CUSTOMERREGISTRATION, CUSTOMERSEARCH, CUSTOMERDATAENTRY]<br /></pre><br /><ul><br /> <li>CustomerRegistration as 'CustomerRegistration',</li><br /> <li>CustomerSearch as 'CustomerSearch',</li><br /> <li>CustomerDataEntry as 'CustomerDataEntry'</li><br /></ul> + /// + /// <p>This parameter defines the customer identification function to use.</p><br /><pre>value: CustomerIdentificationFunction [CUSTOMERREGISTRATION, CUSTOMERSEARCH, CUSTOMERDATAENTRY]<br /></pre><br /><ul><br /> <li>CustomerRegistration as 'CustomerRegistration',</li><br /> <li>CustomerSearch as 'CustomerSearch',</li><br /> <li>CustomerDataEntry as 'CustomerDataEntry'</li><br /></ul> + public customerIdentificationFunctionEnum? customerIdentificationFunction { get; init; } + /// + /// <p>This parameter defines the card type which has to be used for the customer identification (set only if a restriction is neccessary).</p> + /// + /// <p>This parameter defines the card type which has to be used for the customer identification (set only if a restriction is neccessary).</p> + public string customerCardType { get; init; } + /// + /// <p>This parameter controls whether it is mandatory to enter a customer.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter controls whether it is mandatory to enter a customer.</p><br /><pre>values: true, false<br /></pre> + public bool? customerRequired { get; init; } + /// + /// <p>This parameter controls if a missing customer identification will be signaled by an audible alert (it will work not before audible alerts can be implemented).</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter controls if a missing customer identification will be signaled by an audible alert (it will work not before audible alerts can be implemented).</p><br /><pre>values: true, false<br /></pre> + public bool? customerRequiredAudibleAlert { get; init; } + /// + /// <p>This parameter controls if a message shall be triggered if the customer is required. At the same time there is a key for hinting a message.</p> + /// + /// <p>This parameter controls if a message shall be triggered if the customer is required. At the same time there is a key for hinting a message.</p> + public string customerRequiredMessage { get; init; } + /// + /// <p>If one of the required conditions is not fulfilled then the warning customer data incomplete is displayed.</p> + /// + /// <p>If one of the required conditions is not fulfilled then the warning customer data incomplete is displayed.</p> + public string customerDataMissingMessage { get; init; } + /// + /// <p>This parameter controls if the customer identification process shall provide a customer ID of an identified customer for the use by calling the process.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter controls if the customer identification process shall provide a customer ID of an identified customer for the use by calling the process.</p><br /><pre>values: true, false<br /></pre> + public bool? retrieveCustomerId { get; init; } + /// + /// <p>This parameter defines the config for the CustomerRegistration process. It is only in use if the customerIdentificationFunction is set to CustomerRegistration.</p> + /// + /// <p>This parameter defines the config for the CustomerRegistration process. It is only in use if the customerIdentificationFunction is set to CustomerRegistration.</p> + public string customerRegistrationConfigId { get; init; } + /// + /// <p>This parameter defines the config for the CustomerSearch process. It is only in use if the customerIdentificationFunction is set to CustomerSearch.</p> + /// + /// <p>This parameter defines the config for the CustomerSearch process. It is only in use if the customerIdentificationFunction is set to CustomerSearch.</p> + public string customerSearchConfigId { get; init; } + /// + /// <p>This parameter defines the config for the CustomerDataEntry process. It is only in use if the customerIdentificationFunction is set to CustomerDataEntry.</p> + /// + /// <p>This parameter defines the config for the CustomerDataEntry process. It is only in use if the customerIdentificationFunction is set to CustomerDataEntry.</p> + public string customerDataEntryConfigId { get; init; } + /// + /// <p>It defines if the first name of the customer is required.</p> + /// + /// <p>It defines if the first name of the customer is required.</p> + public bool? firstNameRequired { get; init; } + /// + /// <p>It defines if the last name of the customer is required.</p> + /// + /// <p>It defines if the last name of the customer is required.</p> + public bool? lastNameRequired { get; init; } + /// + /// <p>It defines if the street of the default home address of the customer is required.</p> + /// + /// <p>It defines if the street of the default home address of the customer is required.</p> + public bool? streetRequired { get; init; } + /// + /// <p>It defines if the city of the default home address of the customer is required.</p> + /// + /// <p>It defines if the city of the default home address of the customer is required.</p> + public bool? cityRequired { get; init; } + /// + /// <p>It defines if the postal code of the default home address of the customer is required.</p> + /// + /// <p>It defines if the postal code of the default home address of the customer is required.</p> + public bool? postalCodeRequired { get; init; } + /// + /// <p>It defines if the federal state of the default home address of the customer is required.</p> + /// + /// <p>It defines if the federal state of the default home address of the customer is required.</p> + public bool? federalStateRequired { get; init; } + /// + /// <p>It defines if the country of the default home address of the customer is required.</p> + /// + /// <p>It defines if the country of the default home address of the customer is required.</p> + public bool? countryRequired { get; init; } + /// + /// <p>It defines if the tax id of the customer is required.</p> + /// + /// <p>It defines if the tax id of the customer is required.</p> + public bool? taxIdRequired { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData.cs new file mode 100644 index 0000000000000000000000000000000000000000..8464b2b50bb9d0e50fd52454e372e4fa1abcd388 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData.cs @@ -0,0 +1,104 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerOrderData TODO: undocumented + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsCustomerOrderData { + /// + /// Gets or Sets CustomerOrderId + /// + public string customerOrderId { get; init; } + /// + /// Gets or Sets CustomerOrderSequenceNumber + /// + public int? customerOrderSequenceNumber { get; init; } + /// + /// Gets or Sets SalesOrderTypeCode + /// + public string salesOrderTypeCode { get; init; } + /// + /// Gets or Sets SalesOrderDeliveryTypeCode + /// + public string salesOrderDeliveryTypeCode { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestedDeliveryDate { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..68eeb4df1ec0460c84b6aa10be3e8aadb40e4daf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig.cs @@ -0,0 +1,112 @@ +namespace POSGkSwaggerModel +{ + /// + /// EmptiesReturnConfig <p>This configuration entity defines the empties return process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsEmptiesReturnConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// <p>It specifies whether the empties return mode will be finished automatically after one empties return line item.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>It specifies whether the empties return mode will be finished automatically after one empties return line item.</p><br /><pre>values: true, false<br /></pre> + public bool? onlyOneEmptiesReturnLineItem { get; init; } + /// + /// Gets or Sets ToggleEmptiesReturnModeConfig + /// + public string toggleEmptiesReturnModeConfig { get; init; } + /// + /// <p>It specifies an item for empties return.</p> + /// + /// <p>It specifies an item for empties return.</p> + public string fixEmptiesReturnItem { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..0d63408f7bf81b473956d64e94e4c1890ddb3226 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindTransactionConfig <p>This configuration entity defines the find process for transactions.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsFindTransactionConfig { + /// + /// <p>This parameter defines the data object which the parent process needs to get retrieved (either transaction id or transaction itself).</p><br /><pre>value: FindTransactionResultType [TRANSACTION, TRANSACTION_ID]<br /></pre><br /><ul><br /> <li>TRANSACTION as 'TRANSACTION': Retrieve Transaction</li><br /> <li>TRANSACTION_ID as 'TRANSACTION_ID': Retrieve Transaction ID</li><br /></ul> + /// + /// <p>This parameter defines the data object which the parent process needs to get retrieved (either transaction id or transaction itself).</p><br /><pre>value: FindTransactionResultType [TRANSACTION, TRANSACTION_ID]<br /></pre><br /><ul><br /> <li>TRANSACTION as 'TRANSACTION': Retrieve Transaction</li><br /> <li>TRANSACTION_ID as 'TRANSACTION_ID': Retrieve Transaction ID</li><br /></ul> + public resultTypeEnum resultType { get; init; } + /// + /// <p>This config defines the PromptReceiptData dialog.</p> + /// + /// <p>This config defines the PromptReceiptData dialog.</p> + public ComGkSoftwarePosApiModelConfigProcessUipromptReceiptDataConfig promptReceiptDataConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..164607ec1661430777b10c2104011fb9cf77f1c1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig.cs @@ -0,0 +1,171 @@ +namespace POSGkSwaggerModel +{ + /// + /// GoodsReturnConfig <p>This configuration entity defines the goods return process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsGoodsReturnConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// <p>This parameter specifies whether a return is performed without original receipt.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a return is performed without original receipt.</p><br /><pre>values: true, false<br /></pre> + public bool? withOutOriginalSc { get; init; } + /// + /// <p>This parameter specifies whether a customer must be assigned to the return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a customer must be assigned to the return.</p><br /><pre>values: true, false<br /></pre> + public bool? registerCustomer { get; init; } + /// + /// <p>This parameter specifies whether the return mode will be finished automatically after one return line item.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the return mode will be finished automatically after one return line item.</p><br /><pre>values: true, false<br /></pre> + public bool? onlyOneReturnPosition { get; init; } + /// + /// <p>This parameter specifies whether a return receipt is created. This receipt includes only return line items.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a return receipt is created. This receipt includes only return line items.</p><br /><pre>values: true, false<br /></pre> + public bool? createReturnReceipt { get; init; } + /// + /// Gets or Sets CustomerIdentificationConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowscustomerIdentificationConfig customerIdentificationConfig { get; init; } + /// + /// Gets or Sets AllowedTendersConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsallowedTendersConfig allowedTendersConfig { get; init; } + /// + /// <p>It defines if the original business unit id must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original business unit id must be entered in case of return without receipt.</p> + public bool? originalBusinessUnitIdRequired { get; init; } + /// + /// <p>It defines if the original date must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original date must be entered in case of return without receipt.</p> + public bool? originalDateRequired { get; init; } + /// + /// <p>It defines if the original workstation id must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original workstation id must be entered in case of return without receipt.</p> + public bool? originalWorkstationIdRequired { get; init; } + /// + /// <p>It defines if the original receipt number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original receipt number must be entered in case of return without receipt.</p> + public bool? originalSequenceNumberRequired { get; init; } + /// + /// <p>It defines if the original fiscal device number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original fiscal device number must be entered in case of return without receipt.</p> + public bool? originalFiscalDeviceNumberRequired { get; init; } + /// + /// <p>It defines if the original fiscal sequence number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original fiscal sequence number must be entered in case of return without receipt.</p> + public bool? originalFiscalSequenceNumberRequired { get; init; } + /// + /// <p>It defines if the original fiscal day number must be entered in case of return without receipt.</p> + /// + /// <p>It defines if the original fiscal day number must be entered in case of return without receipt.</p> + public bool? originalFiscalDayNumberRequired { get; init; } + /// + /// <p>Map of original receipt data to save in sale return line item extensions.</p> + /// + /// <p>Map of original receipt data to save in sale return line item extensions.</p> + public Dictionary RequiredOriginalReceiptData { get; init; } + /// + /// <p>This config defines the return with transaction process.</p> + /// + /// <p>This config defines the return with transaction process.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsreturnWithTransactionConfig returnWithTransactionConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..811d90f9e24bdc0d1e7a0f81d12dd221b0f8dbec --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig.cs @@ -0,0 +1,361 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemEntryConfig <p>This configuration entity defines itemEntry processes.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsItemEntryConfig { + /// + /// <p>The parameter defines the provider for the item data. Default Local.</p> + /// + /// <p>The parameter defines the provider for the item data. Default Local.</p> + public itemProviderEnum? itemProvider { get; init; } + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// <p>This parameter defines a fixed item number/ EAN for fixed item keys.</p> + /// + /// <p>This parameter defines a fixed item number/ EAN for fixed item keys.</p> + public string fixedItemNrEan { get; init; } + /// + /// <p>This parameter defines the input for the item number/ EAN.</p> + /// + /// <p>This parameter defines the input for the item number/ EAN.</p> + public string itemNrEan { get; init; } + /// + /// <p>Input parameter for item traceable unit id (used for EPC codes scanned by RFID, for example)</p> + /// + /// <p>Input parameter for item traceable unit id (used for EPC codes scanned by RFID, for example)</p> + public string itemTraceableUnitID { get; init; } + /// + /// <p>Raw barcode used for registration.</p> + /// + /// <p>Raw barcode used for registration.</p> + public string registrationNumber { get; init; } + /// + /// <p>This parameter defines text class IDs.</p> + /// + /// <p>This parameter defines text class IDs.</p> + public List TextClassIds { get; init; } + /// + /// <p>This parameter defines the unit of measure code.</p> + /// + /// <p>This parameter defines the unit of measure code.</p> + public string uomCode { get; init; } + /// + /// <p>This parameter specifies whether sales restrictions are verified. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether sales restrictions are verified. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + public bool? checkSalesRestrictions { get; init; } + /// + /// <p>This parameter specifies whether sales restrictions are verified for return items. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether sales restrictions are verified for return items. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + public bool? checkSalesRestrictionsForReturn { get; init; } + /// + /// <p>This parameter specifies whether a check is made for item variants. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a check is made for item variants. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + public bool? checkForVariants { get; init; } + /// + /// <p>This parameter specifies whether the tax group should be validated.<br /> <br/><br /> This means that the tax group exists in master data and fulfills the following conditions: TaxGroupRule.EffectiveDateTime &lt;= {current timestamp} and TaxGroupRule.ExpirationDateTime &gt;= {current timestamp}.<br /> <br/><br /> The default is set at true.<br /></p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the tax group should be validated.<br /> <br/><br /> This means that the tax group exists in master data and fulfills the following conditions: TaxGroupRule.EffectiveDateTime &lt;= {current timestamp} and TaxGroupRule.ExpirationDateTime &gt;= {current timestamp}.<br /> <br/><br /> The default is set at true.<br /></p><br /><pre>values: true, false<br /></pre> + public bool? checkTaxGroup { get; init; } + /// + /// <p>This parameter specifies whether a quantity is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a quantity is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + public bool? askForQuantity { get; init; } + /// + /// Gets or Sets AgeVerificationRequired + /// + public bool? ageVerificationRequired { get; init; } + /// + /// <p>This parameter specifies whether seller age should be checked.</p> + /// + /// <p>This parameter specifies whether seller age should be checked.</p> + public bool? checkSellerAgeRestrictions { get; init; } + /// + /// Gets or Sets ConfirmDialogAgeVerifacation + /// + public ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig confirmDialogAgeVerifacation { get; init; } + /// + /// <p>This parameter defines the line item amount.</p> + /// + /// <p>This parameter defines the line item amount.</p> + public double? positionAmount { get; init; } + /// + /// <p>This parameter defines the unit price.</p> + /// + /// <p>This parameter defines the unit price.</p> + public double? itemPrice { get; init; } + /// + /// <p>This parameter defines the packaging quantity of an item.</p> + /// + /// <p>This parameter defines the packaging quantity of an item.</p> + public double? factor { get; init; } + /// + /// <p>The parameter defines the single quantity in case of piece items.</p> + /// + /// <p>The parameter defines the single quantity in case of piece items.</p> + public int? itemQuantity { get; init; } + /// + /// <p>The parameter defines the manual weight in case of weight items.</p> + /// + /// <p>The parameter defines the manual weight in case of weight items.</p> + public double? weight { get; init; } + /// + /// <p>The parameter defines the units in case of quantity with decimal places items (e.g. fuel items).</p> + /// + /// <p>The parameter defines the units in case of quantity with decimal places items (e.g. fuel items).</p> + public double? units { get; init; } + /// + /// <p>This parameter defines the serial number.</p> + /// + /// <p>This parameter defines the serial number.</p> + public string serialNumber { get; init; } + /// + /// <p>This parameter specifies whether an item is salable even if no price exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether an item is salable even if no price exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + public bool? saleableWithoutPrice { get; init; } + /// + /// <p>This parameter specifies whether the system switches to Item Search if no search term exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the system switches to Item Search if no search term exists. The default is set at true.</p><br /><pre>values: true, false<br /></pre> + public bool? switchToItemSearch { get; init; } + /// + /// <p>This parameter specifies whether the receipt text of the item is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the receipt text of the item is requested. The default is set at false.</p><br /><pre>values: true, false<br /></pre> + public bool? askForReceiptText { get; init; } + /// + /// <p>This parameter defines the mode. The default is set at 0.</p><br /><pre>values: 0, 1, 2<br /></pre><br /><ul><br /> <li>0 - The standard item entry is set.</li><br /> <li>1 - The set component entry is set.</li><br /> <li>2 - The Bulk Registration is set.</li><br /></ul> + /// + /// <p>This parameter defines the mode. The default is set at 0.</p><br /><pre>values: 0, 1, 2<br /></pre><br /><ul><br /> <li>0 - The standard item entry is set.</li><br /> <li>1 - The set component entry is set.</li><br /> <li>2 - The Bulk Registration is set.</li><br /></ul> + public int? mode { get; init; } + /// + /// Gets or Sets CallPackageSelection + /// + public bool? callPackageSelection { get; init; } + /// + /// Gets or Sets ItemPackageSelectionId + /// + public string itemPackageSelectionId { get; init; } + /// + /// <p>This parameter specifies whether the total price entry is requested in case of return of weighing items. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the total price entry is requested in case of return of weighing items. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + public bool? returnManualPositionAmountForWeightItemsRequired { get; init; } + /// + /// <p>This parameter specifies whether the reason is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the reason is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + public bool? returnReasonRequired { get; init; } + /// + /// <p>This parameter specifies whether a manual price entry is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a manual price entry is requested in case of returns. The value is set by Goods Return.</p><br /><pre>values: true, false<br /></pre> + public bool? returnManualPriceRequired { get; init; } + /// + /// <p>This config defines the Enter ReceiptText Dialog.</p> + /// + /// <p>This config defines the Enter ReceiptText Dialog.</p> + public ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig promptForReceiptTextConfig { get; init; } + /// + /// <p>This config defines the Enter SerialNumber Dialog.</p> + /// + /// <p>This config defines the Enter SerialNumber Dialog.</p> + public ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig promptForSerialNumberConfig { get; init; } + /// + /// <p>This config defines the position operation for registering.</p> + /// + /// <p>This config defines the position operation for registering.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// Gets or Sets PriceDifferenceLimitExceedAuthConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig priceDifferenceLimitExceedAuthConfig { get; init; } + /// + /// Gets or Sets PromotionOperationConfig + /// + public ComGkSoftwarePosApiModelConfigProcessActionpromotionOperationConfig promotionOperationConfig { get; init; } + /// + /// Gets or Sets ForceManualWeight + /// + public bool? forceManualWeight { get; init; } + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p><br /><pre>values: true, false<br /></pre> + public bool? quantityAccumulation { get; init; } + /// + /// <p>It references the item details config to determine if additional info is needed</p> + /// + /// <p>It references the item details config to determine if additional info is needed</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsitemRegistrationConfig itemRegistrationConfig { get; init; } + /// + /// Gets or Sets ItemIDCaseSensitive + /// + public bool? itemIDCaseSensitive { get; init; } + /// + /// <p>It references the acoustic signal configuration identifier for manual price input</p> + /// + /// <p>It references the acoustic signal configuration identifier for manual price input</p> + public string manualPriceAcousticSignalConfigId { get; init; } + /// + /// <p>It references the acoustic signal configuration identifier for quantity input</p> + /// + /// <p>It references the acoustic signal configuration identifier for quantity input</p> + public string quantityAcousticSignalConfigId { get; init; } + /// + /// <p>It references the acoustic signal configuration identifier for serial number input</p> + /// + /// <p>It references the acoustic signal configuration identifier for serial number input</p> + public string serialNumberAcousticSignalConfigId { get; init; } + /// + /// <p>It references the SetQuantityForLineItemConfig identifier for the SetQuantityForLineItem sub process call.</p> + /// + /// <p>It references the SetQuantityForLineItemConfig identifier for the SetQuantityForLineItem sub process call.</p> + public string setQuantityForLineItemConfigId { get; init; } + /// + /// Gets or Sets NegativePositionProhibited + /// + public bool? negativePositionProhibited { get; init; } + /// + /// Gets or Sets CustomerOrderData + /// + public ComGkSoftwarePosApiModelConfigProcessFlowscustomerOrderData customerOrderData { get; init; } + /// + /// Gets or Sets RegisterLineItemAddOnData + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData registerLineItemAddOnData { get; init; } + /// + /// <p>References the instance of configuration which indicates additional item related attributes to be assigned to sale return line item extensions during item registration.</p> + /// + /// <p>References the instance of configuration which indicates additional item related attributes to be assigned to sale return line item extensions during item registration.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsadditionalAttributes additionalAttributes { get; init; } + /// + /// Gets or Sets RegisterFuelLineItem + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsregisterFuelLineItem registerFuelLineItem { get; init; } + /// + /// <p>It defines if an open line item (without item) will be removed if item entry fails with error.<br /> It should be set to true for barcode rules with multiple actions where second action is the item entry process.<br /> Default: null/false</p> + /// + /// <p>It defines if an open line item (without item) will be removed if item entry fails with error.<br /> It should be set to true for barcode rules with multiple actions where second action is the item entry process.<br /> Default: null/false</p> + public bool? removeOpenLineItemOnError { get; init; } + /// + /// <p>config item not found authorization. Mainly to be used by POS clients that will display an authorization error on item search failure (Ex: SCO)</p> + /// + /// <p>config item not found authorization. Mainly to be used by POS clients that will display an authorization error on item search failure (Ex: SCO)</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig itemNotFoundAuthorizationConfig { get; init; } + /// + /// <p>config to handle remote service not available authorization errors, when doing remote item searches in SDC / SAP</p> + /// + /// <p>config to handle remote service not available authorization errors, when doing remote item searches in SDC / SAP</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsAuthorizationConfig remoteServiceNotAvailableAuthorizationConfig { get; init; } + /// + /// <p>If true any forbidden dialogs for sales restrictions will be skipped.</p> + /// + /// <p>If true any forbidden dialogs for sales restrictions will be skipped.</p> + public bool? skipSalesRestrictionDialogs { get; init; } + /// + /// <p>If true any error dialogs triggered while setting quantity for line item will be skipped.</p> + /// + /// <p>If true any error dialogs triggered while setting quantity for line item will be skipped.</p> + public bool? skipQuantityErrorDialogs { get; init; } + /// + /// <p>It defines the specific SalesRestriction configID for ItemEntryConfig, which will be overridden into sales restriction process (empty by default).</p> + /// + /// <p>It defines the specific SalesRestriction configID for ItemEntryConfig, which will be overridden into sales restriction process (empty by default).</p> + public string salesRestrictionConfigID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..dd03aa51582f053282d554e604788ec7b930cfc9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig.cs @@ -0,0 +1,194 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemRegistrationConfig <p>This configuration entity defines the item registration process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsItemRegistrationConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// <p>This configuration defines barcode processes.</p> + /// + /// <p>This configuration defines barcode processes.</p> + public ComGkSoftwarePosApiModelConfigProcessActionprocessBarcodeConfig processBarcodeConfig { get; init; } + /// + /// <p>This configuration defines the transaction preview.</p> + /// + /// <p>This configuration defines the transaction preview.</p> + public ComGkSoftwarePosApiModelConfigProcessUitransactionPreviewContextConfig transactionPreviewContextConfig { get; init; } + /// + /// <p>This parameter defines the configuration for the transaction preview in connection with the function Show Message.</p> + /// + /// <p>This parameter defines the configuration for the transaction preview in connection with the function Show Message.</p> + public ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig transactionPreviewShowMessage { get; init; } + /// + /// Gets or Sets SubtotalPositionOperationConfig + /// + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig subtotalPositionOperationConfig { get; init; } + /// + /// Gets or Sets PromptReceiptDataConfig + /// + public ComGkSoftwarePosApiModelConfigProcessUipromptReceiptDataConfig promptReceiptDataConfig { get; init; } + /// + /// Gets or Sets PayTowerErrorDialog + /// + public ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig payTowerErrorDialog { get; init; } + /// + /// <p>This configuration defines the goods return process.</p> + /// + /// <p>This configuration defines the goods return process.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsgoodsReturnConfig goodsReturnConfig { get; init; } + /// + /// <p>This configuration defines the empties return process.</p> + /// + /// <p>This configuration defines the empties return process.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsemptiesReturnConfig emptiesReturnConfig { get; init; } + /// + /// Gets or Sets AlternativeTaxConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxConfig alternativeTaxConfig { get; init; } + /// + /// Gets or Sets DefaultTareConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsSetdefaultTareConfig defaultTareConfig { get; init; } + /// + /// Gets or Sets ToggleTareFixConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowstoggleTareFixConfig toggleTareFixConfig { get; init; } + /// + /// <p>This configuration defines the permanent customer information panel.</p> + /// + /// <p>This configuration defines the permanent customer information panel.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowspermanentCustomerInformationConfig permanentCustomerInformationConfig { get; init; } + /// + /// Gets or Sets CreateLayawayConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowscreateLayawayConfig createLayawayConfig { get; init; } + /// + /// <p>It defines the rescan configuration. </p> + /// + /// <p>It defines the rescan configuration. </p> + public ComGkSoftwarePosApiModelConfigProcessFlowsrescanConfig rescanConfig { get; init; } + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + public bool? discountInfoEnabled { get; init; } + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + public bool? itemInfoEnabled { get; init; } + /// + /// <p>It defines if the item image should be displayed in transaction preview.</p> + /// + /// <p>It defines if the item image should be displayed in transaction preview.</p> + public bool? itemImageEnabled { get; init; } + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + public List IconSalesInfoTextTypeCodes { get; init; } + /// + /// <p>It defines a list of text type codes that should be displayed as text sales info.</p> + /// + /// <p>It defines a list of text type codes that should be displayed as text sales info.</p> + public List TextSalesInfoTextTypeCodes { get; init; } + /// + /// Gets or Sets SalesInfoTextLimit + /// + public int? salesInfoTextLimit { get; init; } + /// + /// Gets or Sets TerminalDisplayLinesConfigId + /// + public string terminalDisplayLinesConfigId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..05b226eb67c5e76a6ce78891423b04101be7f46a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// MerchandiseHierarchyGroupPrinterAssignmentConfig <p>The configuration entity defines the MHG to printer assignment.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentConfig { + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. All line items of the order with the merchandise hierarchy group defined in this list, are printed on the printer which has a reference to this parameter.</p> + /// + /// <p>The parameter defines a list of merchandise hierarchy groups IDs separated by semicolon. All line items of the order with the merchandise hierarchy group defined in this list, are printed on the printer which has a reference to this parameter.</p> + public string merchandiseHierarchyGroupIdSet { get; init; } + /// + /// <p>The parameter defines the qualifier of the merchandise hierarchy group.</p> + /// + /// <p>The parameter defines the qualifier of the merchandise hierarchy group.</p> + public string merchandiseHierarchyGroupIdQualifier { get; init; } + /// + /// <p>The parameter defined the report ID which should be used for the printout.</p> + /// + /// <p>The parameter defined the report ID which should be used for the printout.</p> + public string reportId { get; init; } + /// + /// <p>The parameter defines an external merchandise hierarchy group ID list as integer, which is used on the KDS system to display the ordered items on the corresponding screens (e.g. food items on kitchen display, drinks on the bar display).</p> + /// + /// <p>The parameter defines an external merchandise hierarchy group ID list as integer, which is used on the KDS system to display the ordered items on the corresponding screens (e.g. food items on kitchen display, drinks on the bar display).</p> + public string externalMerchandiseHierarchyGroupId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..4fb6c57d16af0d8f206493bd30432c4011ce8434 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// PermanentCustomerInformationConfig <p>This configuration entity defines the permanent customer information panel.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsPermanentCustomerInformationConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// <p>This parameter specifies whether the customer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the customer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + public bool? displayCustomerNumber { get; init; } + /// + /// <p>This parameter specifies whether the customer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the customer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + public bool? displayCustomerName { get; init; } + /// + /// <p>This parameter specifies whether the buyer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the buyer number is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + public bool? displayBuyerNumber { get; init; } + /// + /// <p>This parameter specifies whether the buyer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the buyer name is displayed permanently in the Permanent Customer Information Panel.</p><br /><pre>values: true, false<br /></pre> + public bool? displayBuyerName { get; init; } + /// + /// <p>This parameter specifies whether the allowed tender group is displayed permanently in the Permanent Customer Information Panel.<br /> The allowed tender group is the CustomerTenderGroup.CustomerTenderGroupDescription of the Customer.AllowedTermsOfPayment.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the allowed tender group is displayed permanently in the Permanent Customer Information Panel.<br /> The allowed tender group is the CustomerTenderGroup.CustomerTenderGroupDescription of the Customer.AllowedTermsOfPayment.</p><br /><pre>values: true, false<br /></pre> + public bool? displayAllowedTenderGroup { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..98f9298f04a1e1f7e08d4d54ff975b00594d72e4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrintOrderConfig <p>This configuration entity defines the print order process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsPrintOrderConfig { + /// + /// <p>It defines a set of printing rules.</p> + /// + /// <p>It defines a set of printing rules.</p> + public List MerchandiseHierarchyGroupPrinterAssignmentConfigs { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..c4b6520f75a78ec256877c6527bde9a8f95cadf9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem.cs @@ -0,0 +1,53 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterFuelLineItem <p>This entity defines fuel data from app enablement to be assigned to fuel sale return line item during item registration</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsRegisterFuelLineItem { + /// + /// <p>Defines the Fueling Point Id (pump) where the transaction started</p> + /// + /// <p>Defines the Fueling Point Id (pump) where the transaction started</p> + public string fuelingPointId { get; init; } + /// + /// <p>Defines grade Id of the fuel product</p> + /// + /// <p>Defines grade Id of the fuel product</p> + public string gradeId { get; init; } + /// + /// <p>Defines internal transaction number for the fuel services</p> + /// + /// <p>Defines internal transaction number for the fuel services</p> + public int? stackPosition { get; init; } + /// + /// <p>This parameter defines fuel sale status code (transaction type).</p> + /// + /// <p>This parameter defines fuel sale status code (transaction type).</p> + public string fuelSaleStatusCode { get; init; } + /// + /// <p>Defines the preset amount in case of prepay transactions</p> + /// + /// <p>Defines the preset amount in case of prepay transactions</p> + public double? presetAmount { get; init; } + /// + /// <p>Defines the pos item id for the generic prepay item</p> + /// + /// <p>Defines the pos item id for the generic prepay item</p> + public string fuelPrepayItem { get; init; } + /// + /// <p>Defines the pos item UOM code for the generic prepay item</p> + /// + /// <p>Defines the pos item UOM code for the generic prepay item</p> + public string fuelPrepayItemUOMCode { get; init; } + /// + /// <p>Defines the actual amount for the fuel line item.</p> + /// + /// <p>Defines the actual amount for the fuel line item.</p> + public double? actualAmount { get; init; } + /// + /// <p>Defines the discount for the fuel line item.</p> + /// + /// <p>Defines the discount for the fuel line item.</p> + public double? fuelDiscount { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData.cs new file mode 100644 index 0000000000000000000000000000000000000000..fbaed27e756a4c16f6b020b1359fc382c7c89667 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData.cs @@ -0,0 +1,36 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterLineItemAddonData TODO: undocumented + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsRegisterLineItemAddonData { + /// + /// Gets or Sets Language + /// + public string language { get; init; } + /// + /// Gets or Sets IsoCurrencyCode + /// + public string isoCurrencyCode { get; init; } + /// + /// Gets or Sets ActualUnitPrice + /// + public double? actualUnitPrice { get; init; } + /// + /// Gets or Sets ItemType + /// + public string itemType { get; init; } + /// + /// Gets or Sets RetailPriceModifierList + /// + public List RetailPriceModifierList { get; init; } + /// + /// Gets or Sets LineItemExtensionList + /// + public List LineItemExtensionList { get; init; } + /// + /// Gets or Sets PrintAdditionalLineItemTextLineList + /// + public List PrintAdditionalLineItemTextLineList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..3c7d3a0bea6b8971c55f5d78fe5c2794bf7df8a7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsRescanConfig.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// RescanConfig <p>The configuration entity defines global configurations of the rescan processes. </p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsRescanConfig { + /// + /// <p>Specifies whether the rescan feature is enabled or not.</p> + /// + /// <p>Specifies whether the rescan feature is enabled or not.</p> + public bool? rescanEnabled { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..abe83a74110aad02508c2ebddd606e77fb19799b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig.cs @@ -0,0 +1,153 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnWithTransactionConfig <p>This configuration entity defines the return process with an available transaction.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsReturnWithTransactionConfig { + /// + /// <p>PositionOperationConfig</p> + /// + /// <p>PositionOperationConfig</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig returnTransaction { get; init; } + /// + /// <p>PositionOperationConfig</p> + /// + /// <p>PositionOperationConfig</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig returnLineItem { get; init; } + /// + /// <p>This config defines the prompt usage.</p> + /// + /// <p>This config defines the prompt usage.</p> + public ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig promptUserConfig { get; init; } + /// + /// <p>This parameter defines the configuration for the transaction preview. The config parameters will be passed to the transaction preview component, controller, report and datasource.</p> + /// + /// <p>This parameter defines the configuration for the transaction preview. The config parameters will be passed to the transaction preview component, controller, report and datasource.</p> + public ComGkSoftwarePosApiModelConfigProcessUitransactionPreviewContextConfig transactionPreview { get; init; } + /// + /// <p>This parameter specifies whether the reason is requested in case of returns.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the reason is requested in case of returns.</p><br /><pre>values: true, false<br /></pre> + public bool? returnReasonRequired { get; init; } + /// + /// <p>This parameter specifies whether it is allowed to return prepaid line items in case of a return with receipt data.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether it is allowed to return prepaid line items in case of a return with receipt data.</p><br /><pre>values: true, false<br /></pre> + public bool? returnPrepaidAllowed { get; init; } + /// + /// <p>This parameter specifies whether it is allowed to perform a return with a original receipt for receipts from other stores.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether it is allowed to perform a return with a original receipt for receipts from other stores.</p><br /><pre>values: true, false<br /></pre> + public bool? differentStoreAllowed { get; init; } + /// + /// <p>This parameter specifies whether the customer data is transferred from the original receipt.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the customer data is transferred from the original receipt.</p><br /><pre>values: true, false<br /></pre> + public bool? takeOverCustomersFromOriginalSc { get; init; } + /// + /// <p>This parameter defines the reason for the return.</p> + /// + /// <p>This parameter defines the reason for the return.</p> + public string returnReasonCode { get; init; } + /// + /// <p>This parameter filters reasons with the following reason group code.</p> + /// + /// <p>This parameter filters reasons with the following reason group code.</p> + public string returnReasonGroupCode { get; init; } + /// + /// <p>FindTransactionConfig</p> + /// + /// <p>FindTransactionConfig</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsfindTransactionConfig findTransactionConfig { get; init; } + /// + /// <p>It defines if the items must exist in master data for return with transaction.</p> + /// + /// <p>It defines if the items must exist in master data for return with transaction.</p> + public bool? checkIfItemsExistInMasterData { get; init; } + /// + /// <p>ConditionSplitConfig</p> + /// + /// <p>ConditionSplitConfig</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsconditionSplitConfig conditionSplitConfig { get; init; } + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + public List ManualDiscountTypes { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..de4767bfef0d82a633bac49ee1f03dd6d90a2b4f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig.cs @@ -0,0 +1,110 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetDefaultTareConfig TODO: undocumented + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsSetDefaultTareConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// Gets or Sets DeviceId + /// + public string deviceId { get; init; } + /// + /// Gets or Sets DefaultTare + /// + public int? defaultTare { get; init; } + /// + /// Gets or Sets DefaultTareNotificationOnOperatorChange + /// + public bool? defaultTareNotificationOnOperatorChange { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..f8cb52bd591579862ab9844f567ec00cd8018841 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig.cs @@ -0,0 +1,102 @@ +namespace POSGkSwaggerModel +{ + /// + /// ToggleTareFixConfig TODO: undocumented + /// + public record comGkSoftwarePosApiModelConfigProcessFlowsToggleTareFixConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + /// + /// <p>Defines, whether the process should be treated as a main process or a shared helper process.<br /> This is relevant for context restriction checks, e.g. during barcode processing.<br /> Defaults to true. If false the related process will not be considered as main process.</p> + public bool? mainProcess { get; init; } + /// + /// <p>This config defines authorization related processes.</p> + /// + /// <p>This config defines authorization related processes.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsauthorizationConfig authorizationConfig { get; init; } + /// + /// Gets or Sets DeviceId + /// + public string deviceId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..7371258b400c7513d7827eb221052d58560323bf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// MessageDialogConfig TODO: undocumented + /// + public record comGkSoftwarePosApiModelConfigProcessUiMessageDialogConfig { + /// + /// <p>This parameter defines the type of the message to display.</p><br /><pre>value: DialogMessageType [INFO, CONFIRMATION, WARNING, ERROR]<br /></pre><br /><ul><br /> <li>Info as 'Info',</li><br /> <li>Confirmation as 'Confirmation',</li><br /> <li>Warning as 'Warning',</li><br /> <li>Error as 'Error'</li><br /></ul> + /// + /// <p>This parameter defines the type of the message to display.</p><br /><pre>value: DialogMessageType [INFO, CONFIRMATION, WARNING, ERROR]<br /></pre><br /><ul><br /> <li>Info as 'Info',</li><br /> <li>Confirmation as 'Confirmation',</li><br /> <li>Warning as 'Warning',</li><br /> <li>Error as 'Error'</li><br /></ul> + public messageTypeEnum messageType { get; init; } + /// + /// <p>This parameter defines the translation key for the title.</p> + /// + /// <p>This parameter defines the translation key for the title.</p> + public string titleKey { get; init; } + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + public string signalConfigId { get; init; } + /// + /// <p>This parameter defines the translation for the message.</p> + /// + /// <p>This parameter defines the translation for the message.</p> + public string messageKey { get; init; } + /// + /// <p>This parameter defines the translation of the OK button.</p> + /// + /// <p>This parameter defines the translation of the OK button.</p> + public string okButtonKey { get; init; } + /// + /// <p>This parameter defines the translation of the cancel button.</p> + /// + /// <p>This parameter defines the translation of the cancel button.</p> + public string cancelButtonKey { get; init; } + /// + /// <p>This parameter specifies whether a dialog is time-controlled.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a dialog is time-controlled.</p><br /><pre>values: true, false<br /></pre> + public bool? isTimeControlled { get; init; } + /// + /// <p>This parameter defines the duration in msec for the time-controlled dialog.</p> + /// + /// <p>This parameter defines the duration in msec for the time-controlled dialog.</p> + public int? duration { get; init; } + /// + /// <p>if true the process will be left, after an error was handled, otherwise the main step will be reentered.</p> + /// + /// <p>if true the process will be left, after an error was handled, otherwise the main step will be reentered.</p> + public bool? leaveAfterError { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..d799d9364b96abcf23f2911324e70a28aa855868 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig.cs @@ -0,0 +1,183 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromptReceiptDataConfig <p>This configuration entity defines the PromptReceiptData process.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessUiPromptReceiptDataConfig { + /// + /// <p>This parameter defines the unique process ID.</p> + /// + /// <p>This parameter defines the unique process ID.</p> + public string processId { get; init; } + /// + /// <p>This parameter defines the key value for the prompt receipt data dialog title.</p> + /// + /// <p>This parameter defines the key value for the prompt receipt data dialog title.</p> + public string dialogTitleKey { get; init; } + /// + /// <p>Force manual input. The input dialog will shown even all predefined values are filled</p> + /// + /// <p>Force manual input. The input dialog will shown even all predefined values are filled</p> + public bool? forceManualInput { get; init; } + /// + /// <p>This parameter specifies whether a business unit ID will be returned and whether a business unit ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business unit ID will be returned and whether a business unit ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + public bool? businessUnitIdRequired { get; init; } + /// + /// <p>This parameter specifies whether a business unit ID field is editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business unit ID field is editable.</p><br /><pre>values: true, false<br /></pre> + public bool? businessUnitIdEditable { get; init; } + /// + /// <p>This parameter specifies a predefined business unit ID.</p> + /// + /// <p>This parameter specifies a predefined business unit ID.</p> + public string businessUnitIdPredefined { get; init; } + /// + /// <p>This parameter specifies whether a current business unit ID shall be used if no predefined business unit ID is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current business unit ID shall be used if no predefined business unit ID is given.</p><br /><pre>values: true, false<br /></pre> + public bool? businessUnitIdUseCurrent { get; init; } + /// + /// <p>This parameter specifies whether a business day date will be returned and whether a business day date field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business day date will be returned and whether a business day date field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + public bool? businessDayDateRequired { get; init; } + /// + /// <p>This parameter specifies whether a business day date field is editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a business day date field is editable.</p><br /><pre>values: true, false<br /></pre> + public bool? businessDayDateEditable { get; init; } + /// + /// <p>This parameter specifies whether a predefined value is used for the business day date. Example value: 2015-01-22</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>This parameter specifies whether a predefined value is used for the business day date. Example value: 2015-01-22</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string businessDayDatePredefined { get; init; } + /// + /// <p>This parameter specifies whether a current business day date shall be used if no predefined business day date is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current business day date shall be used if no predefined business day date is given.</p><br /><pre>values: true, false<br /></pre> + public bool? businessDayDateUseCurrent { get; init; } + /// + /// <p>This parameter specifies whether a workstation ID will be returned and whether a workstation ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a workstation ID will be returned and whether a workstation ID field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + public bool? workstationIdRequired { get; init; } + /// + /// <p>This parameter specifies whether a workstation ID field is editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a workstation ID field is editable.</p><br /><pre>values: true, false<br /></pre> + public bool? workstationIdEditable { get; init; } + /// + /// <p>This parameter specifies whether a predefined value is used for the workstation ID.</p> + /// + /// <p>This parameter specifies whether a predefined value is used for the workstation ID.</p> + public string workstationIdPredefined { get; init; } + /// + /// <p>This parameter specifies whether a current workstation ID shall be used if no predefined workstation ID is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current workstation ID shall be used if no predefined workstation ID is given.</p><br /><pre>values: true, false<br /></pre> + public bool? workstationIdUseCurrent { get; init; } + /// + /// <p>This parameter specifies whether a transaction sequence number will be returned and whether a transaction sequence number field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a transaction sequence number will be returned and whether a transaction sequence number field will be visible in a dialog.</p><br /><pre>values: true, false<br /></pre> + public bool? receiptNumberRequired { get; init; } + /// + /// <p>This parameter specifies whether a transaction sequence number field will be editable.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a transaction sequence number field will be editable.</p><br /><pre>values: true, false<br /></pre> + public bool? receiptNumberEditable { get; init; } + /// + /// <p>This parameter specifies whether a predefined transaction sequence number is used.</p> + /// + /// <p>This parameter specifies whether a predefined transaction sequence number is used.</p> + public string receiptNumberPredefined { get; init; } + /// + /// <p>This parameter specifies whether a current transaction sequence number shall be used if no predefined transaction sequence number is given.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a current transaction sequence number shall be used if no predefined transaction sequence number is given.</p><br /><pre>values: true, false<br /></pre> + public bool? receiptNumberUseCurrent { get; init; } + /// + /// <p>This parameter specifies, whether only non voided retail transaction receipts should be considered?</p> + /// + /// <p>This parameter specifies, whether only non voided retail transaction receipts should be considered?</p> + public bool? useLastNonVoidedReceiptNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..b3ffef8c2b1c7a01f5d593647068725bdade35f6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig.cs @@ -0,0 +1,117 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromptUserDialogConfig <p>This configuration entity defines the process for prompting the user.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessUiPromptUserDialogConfig { + /// + /// <p>This parameter defines the translation key for the title.</p> + /// + /// <p>This parameter defines the translation key for the title.</p> + public string titleKey { get; init; } + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + /// + /// <p>This parameter defines the configuration identifier for a SignalConfig instance. The resolved configuration will be used for an acoustic signal performed in combination with the message dialog.</p> + public string signalConfigId { get; init; } + /// + /// <p>This parameter defines the input domain for the input field.</p> + /// + /// <p>This parameter defines the input domain for the input field.</p> + public string inputDomain { get; init; } + /// + /// <p>This parameter specifies whether an input is mandatory.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether an input is mandatory.</p><br /><pre>values: true, false<br /></pre> + public bool? inputMandatory { get; init; } + /// + /// <p>This parameter specifies whether the cancellation of the dialog is allowed.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the cancellation of the dialog is allowed.</p><br /><pre>values: true, false<br /></pre> + public bool? cancelAllowed { get; init; } + /// + /// <p>This parameter defines an optional translation key for the label text.</p> + /// + /// <p>This parameter defines an optional translation key for the label text.</p> + public string labelTextKey { get; init; } + /// + /// Gets or Sets MaxLengthOfTitleToSplit + /// + public int? maxLengthOfTitleToSplit { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..999f344219103b1343aef858ed4a393b5ed01d15 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig.cs @@ -0,0 +1,203 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionPreviewContextConfig <p>This configuration entity defines the transaction preview. The config parameters will be passed to the transaction preview component, controller, report and datasource.</p> + /// + public record comGkSoftwarePosApiModelConfigProcessUiTransactionPreviewContextConfig { + /// + /// <p>The language scope for the transaction preview report translations. Leave empty (null) to set the Transaction scope (with the system default locale) as default.</p> + /// + /// <p>The language scope for the transaction preview report translations. Leave empty (null) to set the Transaction scope (with the system default locale) as default.</p> + public languageScopeEnum? languageScope { get; init; } + /// + /// Gets or Sets HorizontalPositioningType + /// + public horizontalPositioningTypeEnum horizontalPositioningType { get; init; } + /// + /// <p>Name of the report template.</p> + /// + /// <p>Name of the report template.</p> + public string templateName { get; init; } + /// + /// Gets or Sets VerticalLinePadding + /// + public int? verticalLinePadding { get; init; } + /// + /// Gets or Sets VerticalLineSpacing + /// + public int? verticalLineSpacing { get; init; } + /// + /// Gets or Sets ConsiderScopeTransactions + /// + public bool? considerScopeTransactions { get; init; } + /// + /// <p>This parameter specifies whether the header should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the header should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + public bool? showHeader { get; init; } + /// + /// <p>This parameter specifies whether the total should be displayed or not.</p> + /// + /// <p>This parameter specifies whether the total should be displayed or not.</p> + public List ShowTotals { get; init; } + /// + /// <p>This parameter specifies whether a row selection is allowed in general.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether a row selection is allowed in general.</p><br /><pre>values: true, false<br /></pre> + public bool? rowSelectionAllowed { get; init; } + /// + /// <p>This parameter specifies whether inline cell editing is allowed in general.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether inline cell editing is allowed in general.</p><br /><pre>values: true, false<br /></pre> + public bool? cellEditAllowed { get; init; } + /// + /// <p>Not supported.<br /> @deprecated - never implemented in any release.<br /> This parameter specifies whether the returnable quantity for a line item should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>Not supported.<br /> @deprecated - never implemented in any release.<br /> This parameter specifies whether the returnable quantity for a line item should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + public bool? showReturnableQuantity { get; init; } + /// + /// <p>This parameter specifies whether the last changed row should be made visible.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the last changed row should be made visible.</p><br /><pre>values: true, false<br /></pre> + public bool? showLastChangedRow { get; init; } + /// + /// Gets or Sets SelectLastChangedRow + /// + public bool? selectLastChangedRow { get; init; } + /// + /// <p>This parameter specifies whether the last changed row should be edited.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the last changed row should be edited.</p><br /><pre>values: true, false<br /></pre> + public bool? editLastChangedRow { get; init; } + /// + /// Gets or Sets ClearSelectionsForLastChangedRow + /// + public bool? clearSelectionsForLastChangedRow { get; init; } + /// + /// Gets or Sets AdvancedSelectionMode + /// + public bool? advancedSelectionMode { get; init; } + /// + /// Gets or Sets ShowVoidedLineItems + /// + public bool? showVoidedLineItems { get; init; } + /// + /// <p>This parameter specifies whether the sub total rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the sub total rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + public bool? showSubtotalRounding { get; init; } + /// + /// <p>This parameter specifies whether the change rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>This parameter specifies whether the change rounding should be displayed or not.</p><br /><pre>values: true, false<br /></pre> + public bool? showChangeRounding { get; init; } + /// + /// Gets or Sets ShowInlinePanel + /// + public bool? showInlinePanel { get; init; } + /// + /// <p>This parameter specifies whether the line items for the given type codes should be displayed or not.</p> + /// + /// <p>This parameter specifies whether the line items for the given type codes should be displayed or not.</p> + public List ShowLineItems { get; init; } + /// + /// <p>This parameter specifies whether line items for the given type codes are selectable or not.</p> + /// + /// <p>This parameter specifies whether line items for the given type codes are selectable or not.</p> + public List SelectableLineItems { get; init; } + /// + /// <p>This parameter specifies whether sale return line items for the given type codes are selectable or not. Has no effect if selectableLineItems does not include sale return line items.</p> + /// + /// <p>This parameter specifies whether sale return line items for the given type codes are selectable or not. Has no effect if selectableLineItems does not include sale return line items.</p> + public List SelectableSaleReturnLineItems { get; init; } + /// + /// Gets or Sets SaleReturnLineItemReturnTypes + /// + public List SaleReturnLineItemReturnTypes { get; init; } + /// + /// <p>This parameter specifies whether line items for the given type codes are inline editable (cell editors) or not.</p> + /// + /// <p>This parameter specifies whether line items for the given type codes are inline editable (cell editors) or not.</p> + public List EditableLineItems { get; init; } + /// + /// <p>Set whether the footer should be displayed or not. Default value is false.</p><br /><pre>values: true, false<br /></pre> + /// + /// <p>Set whether the footer should be displayed or not. Default value is false.</p><br /><pre>values: true, false<br /></pre> + public bool? showFooter { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppAmountAmount.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppAmountAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..77ffd5515eeb3e5a28c5125cc899ccbc4f7d8b88 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppAmountAmount.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// Amount <p>A data object which encapsulates a monetary amount value for a certain currency.</p> + /// + public record comGkSoftwarePosApiModelDomAppAmountAmount { + /// + /// <p>The monetary amount value.</p> + /// + /// <p>The monetary amount value.</p> + public double? amount { get; init; } + /// + /// <p>Holds the currency for the amount (see [master_data_gkr.currency.v1_0_0.Currency]).</p> + /// + /// <p>Holds the currency for the amount (see [master_data_gkr.currency.v1_0_0.Currency]).</p> + public ComGkSoftwareGkrApiServerMdcurrencyDtoDomcurrencyDO currency { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue.cs new file mode 100644 index 0000000000000000000000000000000000000000..cc8e2d9b439fae283285900bc5e767ab30e2ceac --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// AttributeValue <p>An additional attribute for gift certificates with a name and a value.</p> + /// + public record comGkSoftwarePosApiModelDomAppGiftCertificateServiceAttributeValue { + /// + /// <p>Attribute name.</p> + /// + /// <p>Attribute name.</p> + public string name { get; init; } + /// + /// <p>Attribute value</p> + /// + /// <p>Attribute value</p> + public string value { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..65e9fb3c706dd86fd207302e73222c218713319b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo.cs @@ -0,0 +1,152 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertInfo <p>Contains gift certificate attributes returned by the stored value server.</p> + /// + public record comGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertInfo { + /// + /// <p>Gift certificate id.</p> + /// + /// <p>Gift certificate id.</p> + public int? gcId { get; init; } + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + public string gcNumber { get; init; } + /// + /// <p>Amount of the gift certificate.</p> + /// + /// <p>Amount of the gift certificate.</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Gift certificate status: SELLABLE, REDEEMABLE, LOCKED, INVALID.</p> + /// + /// <p>Gift certificate status: SELLABLE, REDEEMABLE, LOCKED, INVALID.</p> + public string state { get; init; } + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string validFrom { get; init; } + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string validTo { get; init; } + /// + /// <p>An unique transaction ID for the requested operation.</p> + /// + /// <p>An unique transaction ID for the requested operation.</p> + public string uuid { get; init; } + /// + /// <p>Defines the handling of over payments (NOT_ACCEPTED, NO_CHANGE, GIFT_CERTIFICATE_CHANGE, CASH_CHANGE).</p> + /// + /// <p>Defines the handling of over payments (NOT_ACCEPTED, NO_CHANGE, GIFT_CERTIFICATE_CHANGE, CASH_CHANGE).</p> + public string overpaymentType { get; init; } + /// + /// <p>Items that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + /// + /// <p>Items that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + public List BlacklistedItems { get; init; } + /// + /// <p>Merchandise categories that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + /// + /// <p>Merchandise categories that are not included when comparing the receipt total with the minimum transaction amount (MinSale).</p> + public List BlacklistedArticleGroupNumbers { get; init; } + /// + /// <p>Defines if discounted items will be included into minimum sale check.</p> + /// + /// <p>Defines if discounted items will be included into minimum sale check.</p> + public bool? includeDiscountedArticlesToMinimumSale { get; init; } + /// + /// <p>Minimum amount for this gift certificate.</p> + /// + /// <p>Minimum amount for this gift certificate.</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount minimumTransactionAmount { get; init; } + /// + /// <p>Additional attributes for gift certificates sent by stored value server.</p> + /// + /// <p>Additional attributes for gift certificates sent by stored value server.</p> + public List AdditionalInfo { get; init; } + /// + /// Gets or Sets Track2 + /// + public string track2 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..76907b33ed740f0233974e16ea05f3f671ac876f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertServiceResult <p>A data object which is returned as a result of gift certificate operations.</p> + /// + public record comGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertServiceResult { + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + public string gcNumber { get; init; } + /// + /// <p>Amount of the gift certificate before the transaction.</p> + /// + /// <p>Amount of the gift certificate before the transaction.</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount oldAmount { get; init; } + /// + /// <p>Amount of the gift certificate after the transaction.</p> + /// + /// <p>Amount of the gift certificate after the transaction.</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount newAmount { get; init; } + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Start of gift certificate validity period.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string validFrom { get; init; } + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of gift certificate validity period</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string validTo { get; init; } + /// + /// <p>List of additional attributes of the gift certificate.</p> + /// + /// <p>List of additional attributes of the gift certificate.</p> + public List AdditionalInfo { get; init; } + /// + /// <p>An unique transaction ID for the requested operation.</p> + /// + /// <p>An unique transaction ID for the requested operation.</p> + public string uuid { get; init; } + /// + /// <p>Gift certificate track2 data.</p> + /// + /// <p>Gift certificate track2 data.</p> + public string track2 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationItemInformation.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationItemInformation.cs new file mode 100644 index 0000000000000000000000000000000000000000..663333d6ab55f39d3fa136dd07f5439b2a51ac21 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationItemInformation.cs @@ -0,0 +1,213 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemInformation <p>Object to consolidate item information (e.g. master data, stock details, etc.).</p> + /// + public record comGkSoftwarePosApiModelDomAppItemInformationItemInformation { + /// + /// <p>The business unit group ID</p> + /// + /// <p>The business unit group ID</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The item ID</p> + /// + /// <p>The item ID</p> + public string itemID { get; init; } + /// + /// <p>The unit of measure code</p> + /// + /// <p>The unit of measure code</p> + public string uomCode { get; init; } + /// + /// <p>The unit of measure name</p> + /// + /// <p>The unit of measure name</p> + public string uomName { get; init; } + /// + /// <p>Name of the item</p> + /// + /// <p>Name of the item</p> + public string name { get; init; } + /// + /// <p>The main pos item id</p> + /// + /// <p>The main pos item id</p> + public string mainPOSItemId { get; init; } + /// + /// <p>Name of assigned merchandise hierarchy group.</p> + /// + /// <p>Name of assigned merchandise hierarchy group.</p> + public string merchandiseHierarchyGroupName { get; init; } + /// + /// <p>Amount of the actual price.</p> + /// + /// <p>Amount of the actual price.</p> + public double? validPriceAmount { get; init; } + /// + /// <p>Amount of the regular price.</p> + /// + /// <p>Amount of the regular price.</p> + public double? regularPriceAmount { get; init; } + /// + /// <p>Expiration (end) time stamp of the actual price.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration (end) time stamp of the actual price.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string validPriceExpiryDate { get; init; } + /// + /// <p>Amount of the deposit</p> + /// + /// <p>Amount of the deposit</p> + public double? deposit { get; init; } + /// + /// <p>Specifies the color of the item.<br /> Item characteristics entry with id COLOR is used to fill this value.</p> + /// + /// <p>Specifies the color of the item.<br /> Item characteristics entry with id COLOR is used to fill this value.</p> + public string color { get; init; } + /// + /// <p>Specifies the size, e.g. in case of fashion the dress size.<br /> Item characteristics entry with id SIZE is used to fill this value.</p> + /// + /// <p>Specifies the size, e.g. in case of fashion the dress size.<br /> Item characteristics entry with id SIZE is used to fill this value.</p> + public string size { get; init; } + /// + /// <p>Code of related tax group.</p> + /// + /// <p>Code of related tax group.</p> + public string taxGroupID { get; init; } + /// + /// <p>Item image url.</p> + /// + /// <p>Item image url.</p> + public string imageSrcIds { get; init; } + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.</p> + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.</p> + public bool? authorisedForSale { get; init; } + /// + /// <p>Stock details related to local store.</p> + /// + /// <p>Stock details related to local store.</p> + public ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail internalStock { get; init; } + /// + /// <p>List of stock details from surrounding stores.</p> + /// + /// <p>List of stock details from surrounding stores.</p> + public List ExternalStocks { get; init; } + /// + /// <p>The ItemInformationView instance.</p> + /// + /// <p>The ItemInformationView instance.</p> + public ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView itemView { get; init; } + /// + /// <p>It contains extended item information. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + /// + /// <p>It contains extended item information. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + public List UomItemTextList { get; init; } + /// + /// <p>List of aviable price entries.</p> + /// + /// <p>List of aviable price entries.</p> + public List Prices { get; init; } + /// + /// <p>It contains details about item info icons. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + /// + /// <p>It contains details about item info icons. The content is a filtered view on uom item text list. Filtering is done by text class ids defined in configuration.</p> + public List ItemInfoIcons { get; init; } + /// + /// <p>It contains details about available promotions - e.g. Pay 2 get 3, 10% off...</p> + /// + /// <p>It contains details about available promotions - e.g. Pay 2 get 3, 10% off...</p> + public List DiscountInfoIcons { get; init; } + /// + /// <p>It contains item informations requested from web shop system.</p> + /// + /// <p>It contains item informations requested from web shop system.</p> + public ComGkSoftwarePosApiModelDomAppItemInformationwebshopItemInfoData webshopItemInfoData { get; init; } + /// + /// <p>It contains info about variants available for this item</p> + /// + /// <p>It contains info about variants available for this item</p> + public bool? variantsAvailable { get; init; } + /// + /// <p>Type code of the actual price (00 = default price, 01 = special price)</p> + /// + /// <p>Type code of the actual price (00 = default price, 01 = special price)</p> + public string ePriceTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView.cs new file mode 100644 index 0000000000000000000000000000000000000000..17e8e888ce68cc3877a14c5cfe7e7660f042bef2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationItemInformationView.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemInformationView TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppItemInformationItemInformationView { + /// + /// <p>Amount of the actual price.</p> + /// + /// <p>Amount of the actual price.</p> + public string validPriceAmount { get; init; } + /// + /// <p>Amount of the regular price.</p> + /// + /// <p>Amount of the regular price.</p> + public string regularPriceAmount { get; init; } + /// + /// <p>Amount of the deposit</p> + /// + /// <p>Amount of the deposit</p> + public string deposit { get; init; } + /// + /// <p>Number of available items</p> + /// + /// <p>Number of available items</p> + public string freeStock { get; init; } + /// + /// <p>Number of reserved items.</p> + /// + /// <p>Number of reserved items.</p> + public string reservedStock { get; init; } + /// + /// <p>Number of items with stock state TRANSFER</p> + /// + /// <p>Number of items with stock state TRANSFER</p> + public string transferStock { get; init; } + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + public string inTransitStock { get; init; } + /// + /// <p>Expiration (end) time stamp of the actual price.</p> + /// + /// <p>Expiration (end) time stamp of the actual price.</p> + public string validPriceExpiryDate { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationPrice.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..d663b14bd0fb42ebaf0802d9df41eff1e0eec5e6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationPrice.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// Price <p>List of prices / price modifications.<br /> It contains entries for regular and actual price plus entries for each price modifier.</p> + /// + public record comGkSoftwarePosApiModelDomAppItemInformationPrice { + /// + /// <p>The price entry sequence number. It defines the order (ascending)</p> + /// + /// <p>The price entry sequence number. It defines the order (ascending)</p> + public int? sequenceNumber { get; init; } + /// + /// <p>The description of the price.</p> + /// + /// <p>The description of the price.</p> + public string description { get; init; } + /// + /// <p>The price for the unit.</p> + /// + /// <p>The price for the unit.</p> + public double? unitPrice { get; init; } + /// + /// <p>In case of price modification this contains the discount amount.</p> + /// + /// <p>In case of price modification this contains the discount amount.</p> + public double? discountAmount { get; init; } + /// + /// <p>It contains the price after price modification or in case of regular/actual price the amount.</p> + /// + /// <p>It contains the price after price modification or in case of regular/actual price the amount.</p> + public double? newPrice { get; init; } + /// + /// <p>The price quantity (the number of items the price is defined for, i.e. 3 for $1.00).</p> + /// + /// <p>The price quantity (the number of items the price is defined for, i.e. 3 for $1.00).</p> + public int? priceQuantity { get; init; } + /// + /// <p>The item quantity which was used to calculate some value for this price entity.</p> + /// + /// <p>The item quantity which was used to calculate some value for this price entity.</p> + public int? quantity { get; init; } + /// + /// <p>The unit price with currency attached.<br /> Price.PriceQuantity '/' Price.UnitPrice, if Price.PriceQuantity &lt;&gt; 1<br /> Price.UnitPrice otherwise</p> + /// + /// <p>The unit price with currency attached.<br /> Price.PriceQuantity '/' Price.UnitPrice, if Price.PriceQuantity &lt;&gt; 1<br /> Price.UnitPrice otherwise</p> + public string unitPriceWithCurrency { get; init; } + /// + /// <p>The discount amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + /// + /// <p>The discount amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + public string discountWithCurrency { get; init; } + /// + /// <p>The new price amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + /// + /// <p>The new price amount with currency attached. As existing field is a double type, this one was added to accommodate currency.</p> + public string newPriceWithCurrency { get; init; } + /// + /// <p>The price group id if exists.</p> + /// + /// <p>The price group id if exists.</p> + public string priceGroupId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..0e12a03a4a5ea565cbc8462b0c805c0392113eb7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail.cs @@ -0,0 +1,158 @@ +namespace POSGkSwaggerModel +{ + /// + /// StockAmountDetail <p>Entity which contains stock details for one location.</p> + /// + public record comGkSoftwarePosApiModelDomAppItemInformationStockAmountDetail { + /// + /// <p>The item id</p> + /// + /// <p>The item id</p> + public string itemID { get; init; } + /// + /// <p>The unit of mesaure code.</p> + /// + /// <p>The unit of mesaure code.</p> + public string uomCode { get; init; } + /// + /// <p>The main pos item ID.</p> + /// + /// <p>The main pos item ID.</p> + public string mainPOSItemId { get; init; } + /// + /// <p>The business unit id.</p> + /// + /// <p>The business unit id.</p> + public string storeId { get; init; } + /// + /// <p>Store description</p> + /// + /// <p>Store description</p> + public string storeDescription { get; init; } + /// + /// <p>Store address</p> + /// + /// <p>Store address</p> + public string address { get; init; } + /// + /// <p>Store phone number</p> + /// + /// <p>Store phone number</p> + public string phoneNumber { get; init; } + /// + /// <p>Distance between that and the local store.</p> + /// + /// <p>Distance between that and the local store.</p> + public double? distance { get; init; } + /// + /// <p>Name of the item</p> + /// + /// <p>Name of the item</p> + public string name { get; init; } + /// + /// <p>Number of item with stock state DEFAULT.</p> + /// + /// <p>Number of item with stock state DEFAULT.</p> + public double? stock { get; init; } + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + /// + /// <p>Number of items with stock state IN-TRANSIT.</p> + public double? inTransitStock { get; init; } + /// + /// <p>Number of reserved items.</p> + /// + /// <p>Number of reserved items.</p> + public double? reservedStock { get; init; } + /// + /// <p>Number of items with stock state TRANSFER</p> + /// + /// <p>Number of items with stock state TRANSFER</p> + public double? transferStock { get; init; } + /// + /// <p>Number of items with stock state FREE</p> + /// + /// <p>Number of items with stock state FREE</p> + public double? freeStock { get; init; } + /// + /// <p>Sum of items in TRANSFER and IN-TRANSIT state.</p> + /// + /// <p>Sum of items in TRANSFER and IN-TRANSIT state.</p> + public double? inFlow { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationUomItemText.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationUomItemText.cs new file mode 100644 index 0000000000000000000000000000000000000000..9c07b47dded7ec9c9a54c1b5ea648f4d6b18cd81 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationUomItemText.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// UomItemText <p>Object representing an instance of an UOM item text element.</p> + /// + public record comGkSoftwarePosApiModelDomAppItemInformationUomItemText { + /// + /// <p>The index of the entry.</p> + /// + /// <p>The index of the entry.</p> + public int? index { get; init; } + /// + /// <p>The value.</p> + /// + /// <p>The value.</p> + public string text { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData.cs new file mode 100644 index 0000000000000000000000000000000000000000..ec0064ab936a5586cd2bc131776807be26ce2399 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// WebshopItemInfoData <p>Item informations from web shop.</p> + /// + public record comGkSoftwarePosApiModelDomAppItemInformationWebshopItemInfoData { + /// + /// <p>The description of the item.</p> + /// + /// <p>The description of the item.</p> + public string description { get; init; } + /// + /// <p>The item name.</p> + /// + /// <p>The item name.</p> + public string name { get; init; } + /// + /// <p>The average rating.</p> + /// + /// <p>The average rating.</p> + public double? averageRating { get; init; } + /// + /// <p>The image url</p> + /// + /// <p>The image url</p> + public string imageUrl { get; init; } + /// + /// <p>Number of item with stock state.</p> + /// + /// <p>Number of item with stock state.</p> + public string stock { get; init; } + /// + /// <p>The uom code</p> + /// + /// <p>The uom code</p> + public string code { get; init; } + /// + /// <p>The manufacturer.</p> + /// + /// <p>The manufacturer.</p> + public string manufacturer { get; init; } + /// + /// <p>The item price</p> + /// + /// <p>The item price</p> + public string price { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9e4bbc77a5c059ba1725e0d80462862e2e46b4b2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionInputRequest <p>A data object for request from promotion service to set additional input</p> + /// + public record comGkSoftwarePosApiModelDomAppPromotionInputRequestPromotionInputRequest { + /// + /// <p>The promotion description.</p> + /// + /// <p>The promotion description.</p> + public string promotionDescription { get; init; } + /// + /// <p>The promotion trigger value.</p> + /// + /// <p>The promotion trigger value.</p> + public string triggerValue { get; init; } + /// + /// <p>The promotion threshold value.</p> + /// + /// <p>The promotion threshold value.</p> + public double? thresholdValue { get; init; } + /// + /// <p>The promotion interval value.</p> + /// + /// <p>The promotion interval value.</p> + public double? intervalValue { get; init; } + /// + /// <p>The promotion limit value.</p> + /// + /// <p>The promotion limit value.</p> + public double? limitValue { get; init; } + /// + /// <p>The promotion privilege type.</p> + /// + /// <p>The promotion privilege type.</p> + public string privilegeType { get; init; } + /// + /// <p>A flag to indicate promotion points.</p> + /// + /// <p>A flag to indicate promotion points.</p> + public bool? pointsFlag { get; init; } + /// + /// <p>The line item sequence number.</p> + /// + /// <p>The line item sequence number.</p> + public int? lineItemSequenceNumber { get; init; } + /// + /// <p>The promotion privilege value.</p> + /// + /// <p>The promotion privilege value.</p> + public double? privilegeValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier.cs new file mode 100644 index 0000000000000000000000000000000000000000..f9d842458daf80657bbdbfc49e473224abe2e385 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalRetailPriceModifier <p>External retail price modifier object.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionExternalRetailPriceModifier { + /// + /// <p>Retail price modifier line item sequence number.</p> + /// + /// <p>Retail price modifier line item sequence number.</p> + public int? retailPriceModifierSequenceNumber { get; init; } + /// + /// <p>The percentage value in case of percentage price modifiers.</p> + /// + /// <p>The percentage value in case of percentage price modifiers.</p> + public double? percent { get; init; } + /// + /// <p>The monetary value of the price modification that was given.</p> + /// + /// <p>The monetary value of the price modification that was given.</p> + public double? amount { get; init; } + /// + /// <p>The retail sale total price of the transaction before applying the current price modification line item.</p> + /// + /// <p>The retail sale total price of the transaction before applying the current price modification line item.</p> + public double? extendedAmountBeforeModification { get; init; } + /// + /// <p>The retail sale total price of the line item after applying the current price modifier.</p> + /// + /// <p>The retail sale total price of the line item after applying the current price modifier.</p> + public double? extendedAmountAfterModification { get; init; } + /// + /// <p>The quantity the price modifier applies to.</p> + /// + /// <p>The quantity the price modifier applies to.</p> + public double? appliedQuantity { get; init; } + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + public int? triggerSequenceNumber { get; init; } + /// + /// <p>A monetary amount which results from applying a price modifier but does not affect the line item total.</p> + /// + /// <p>A monetary amount which results from applying a price modifier but does not affect the line item total.</p> + public double? extraAmount { get; init; } + /// + /// <p>The monetary amount that the price modifier was adjusted by.</p> + /// + /// <p>The monetary amount that the price modifier was adjusted by.</p> + public double? roundingAmount { get; init; } + /// + /// <p>The amount which was used as base for calculation of the price modification.</p> + /// + /// <p>The amount which was used as base for calculation of the price modification.</p> + public double? calculationBaseAmount { get; init; } + /// + /// <p>Retail transaction price derivation rule.</p> + /// + /// <p>Retail transaction price derivation rule.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionretailTransactionPriceDerivationRule retailTransactionPriceDerivationRule { get; init; } + /// + /// <p>List of sale return line item promotion triggers.</p> + /// + /// <p>List of sale return line item promotion triggers.</p> + public List SaleReturnLineItemPromotionTriggerList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..671647d6d2273334e0327e98f7d8c4faee57cc6c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemExtension <p>Line item extension entity. Line item extensions is used for providing additional information in retail transaction line items.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionLineItemExtension { + /// + /// <p>Key identifier for line item extension.</p> + /// + /// <p>Key identifier for line item extension.</p> + public string extensionKey { get; init; } + /// + /// <p>Value containing additional information for line item.</p> + /// + /// <p>Value containing additional information for line item.</p> + public string extensionValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..068de0b040969b0c038a024d4b210639fc26a54a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosUOMItemDoKey <p>Key identifier for POS item unit of measure object.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Item identifier.</p> + /// + /// <p>Item identifier.</p> + public string itemID { get; init; } + /// + /// <p>The code used to specify the unit of measure in which a value is being expressed, or manner in which a measurement has been taken.</p> + /// + /// <p>The code used to specify the unit of measure in which a value is being expressed, or manner in which a measurement has been taken.</p> + public string uomCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine.cs new file mode 100644 index 0000000000000000000000000000000000000000..800339d7ddaaaf9ca53635d5d5917e2b994a67ec --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrintAdditionalLineItemTextLine <p>Request object for printing additional text lines on receipts. This request object is used for instance in the processing of additional printout documents requested through app enablement feature.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionPrintAdditionalLineItemTextLine { + /// + /// <p>Text value to be printed.</p> + /// + /// <p>Text value to be printed.</p> + public string text { get; init; } + /// + /// <p>Defines whether the text is printed before or after the line item.<br /> Possible values: 'afterLineItem', 'beforeLineItem' and 'beforeSubtotalLine'.</p> + /// + /// <p>Defines whether the text is printed before or after the line item.<br /> Possible values: 'afterLineItem', 'beforeLineItem' and 'beforeSubtotalLine'.</p> + public string sortOrder { get; init; } + /// + /// <p>Style identifier for a text printout.<br /> Possible values: 'NormalPlain' and 'NormalBold'</p> + /// + /// <p>Style identifier for a text printout.<br /> Possible values: 'NormalPlain' and 'NormalBold'</p> + public string styleID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..51d7d1e93362164b08661756d8aeeac26da52fa0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemKey <p>Key identifier for retail transaction line items.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + public string transactionID { get; init; } + /// + /// <p>The sequence number of line item within the context of this RetailTransaction.</p> + /// + /// <p>The sequence number of line item within the context of this RetailTransaction.</p> + public int? retailTransactionLineItemSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule.cs new file mode 100644 index 0000000000000000000000000000000000000000..1deecf47b78d305d59aefd2fdca01d0bd2e1a974 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule.cs @@ -0,0 +1,227 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionPriceDerivationRule <p>Retail transaction price derivation rule describes a promotion rule.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionPriceDerivationRule { + /// + /// <p>The unique identifier of the promotion.</p> + /// + /// <p>The unique identifier of the promotion.</p> + public string promotionID { get; init; } + /// + /// <p>The unique identifier of the price derivation rule.</p> + /// + /// <p>The unique identifier of the price derivation rule.</p> + public string priceDerivationRuleID { get; init; } + /// + /// <p>The unique identifier of the root eligibility.</p> + /// + /// <p>The unique identifier of the root eligibility.</p> + public string priceDerivationRuleEligibilityID { get; init; } + /// + /// <p>Short description of the promotion.</p> + /// + /// <p>Short description of the promotion.</p> + public string promotionDescription { get; init; } + /// + /// <p>Text to be printed on the receipt.</p> + /// + /// <p>Text to be printed on the receipt.</p> + public string receiptPrinterName { get; init; } + /// + /// <p>Promotion price derivation rule Sequence used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleResolution.</p> + /// + /// <p>Promotion price derivation rule Sequence used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleResolution.</p> + public string promotionPriceDerivationRuleSequence { get; init; } + /// + /// <p>Promotion price derivation resolution used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleSequence.</p> + /// + /// <p>Promotion price derivation resolution used for collision handling (multiple possible promotions applied to same transaction/line item).<br /> Used in combination with promotionPriceDerivationRuleSequence.</p> + public string promotionPriceDerivationRuleResolution { get; init; } + /// + /// <p>The type code of the promotion price derivation rule.</p> + /// + /// <p>The type code of the promotion price derivation rule.</p> + public string promotionPriceDerivationRuleTypeCode { get; init; } + /// + /// <p>A code denoting the method of modifying the price that is being applied to the transaction line item.</p> + /// + /// <p>A code denoting the method of modifying the price that is being applied to the transaction line item.</p> + public string priceModificationMethodCode { get; init; } + /// + /// <p>Business description for this price derivation rule.</p> + /// + /// <p>Business description for this price derivation rule.</p> + public string priceDerivationRuleDescription { get; init; } + /// + /// <p>The type code of the originator of the promotion.</p> + /// + /// <p>The type code of the originator of the promotion.</p> + public string promotionOriginatorTypeCode { get; init; } + /// + /// <p>The external identifier of the promotion.</p> + /// + /// <p>The external identifier of the promotion.</p> + public string externalPromotionID { get; init; } + /// + /// <p>The external identifier of the price derivation rule.</p> + /// + /// <p>The external identifier of the price derivation rule.</p> + public string externalPriceDerivationRuleID { get; init; } + /// + /// <p>The quantity of items fulfilling the eligibility which is required in order to trigger the price derivation rule.</p> + /// + /// <p>The quantity of items fulfilling the eligibility which is required in order to trigger the price derivation rule.</p> + public double? triggerQuantity { get; init; } + /// + /// <p>End of the date range in which the gift certificate is valid.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of the date range in which the gift certificate is valid.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string giftCertificateExpirationDate { get; init; } + /// + /// <p>Determines how the discount influences the transaction.</p> + /// + /// <p>Determines how the discount influences the transaction.</p> + public string discountMethodCode { get; init; } + /// + /// <p>Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt.</p> + /// + /// <p>Determines whether the result of the applied price derivation rule is to be suppressed on displays / not printed on the receipt; e.g. line item-related default points are not printed after each position, but only summarized at the end of the receipt.</p> + public bool? prohibitPrintFlag { get; init; } + /// + /// <p>A code which uniquely identifies the tender in case of rebate as tender.</p> + /// + /// <p>A code which uniquely identifies the tender in case of rebate as tender.</p> + public string tenderTypeCode { get; init; } + /// + /// <p>Promotion type name</p> + /// + /// <p>Promotion type name</p> + public string promotionTypeName { get; init; } + /// + /// Gets or Sets CalculationBase + /// + public string calculationBase { get; init; } + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true).</p> + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent price derivation rules (false) or not (true).</p> + public bool? noEffectOnSubsequentPriceDerivationRulesFlag { get; init; } + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only.</p> + /// + /// <p>Determines whether applying this price derivation rule influences the calculation base of subsequent transaction-related price derivation rules (false) or not (true); is relevant for line item-related 'money' price derivation rules only.</p> + public bool? prohibitTransactionRelatedPriceDerivationRulesFlag { get; init; } + /// + /// <p>The number of the printout coupon.</p> + /// + /// <p>The number of the printout coupon.</p> + public string couponPrintoutID { get; init; } + /// + /// <p>The type code of the printout rule.</p> + /// + /// <p>The type code of the printout rule.</p> + public string couponPrintoutRule { get; init; } + /// + /// <p>The formatted text of the printout coupon.</p> + /// + /// <p>The formatted text of the printout coupon.</p> + public string couponPrintoutText { get; init; } + /// + /// <p>Determines whether this price derivation rule is an exclusive one.</p> + /// + /// <p>Determines whether this price derivation rule is an exclusive one.</p> + public bool? exclusiveFlag { get; init; } + /// + /// <p>Determines how this price derivation rule works in relation to other applicable price derivation rules.</p> + /// + /// <p>Determines how this price derivation rule works in relation to other applicable price derivation rules.</p> + public string concurrenceControlVector { get; init; } + /// + /// <p>Describes how often the current price derivation rule was applied.</p> + /// + /// <p>Describes how often the current price derivation rule was applied.</p> + public double? appliedCount { get; init; } + /// + /// <p>Describes how long (how many days) the printed coupon/gift certificate is valid.</p> + /// + /// <p>Describes how long (how many days) the printed coupon/gift certificate is valid.</p> + public double? printoutValidityPeriod { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger.cs new file mode 100644 index 0000000000000000000000000000000000000000..7253d2e6e640a2e81919ffa044f51fc0c0f030cf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger.cs @@ -0,0 +1,48 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemPromotionTrigger <p>Promotion trigger for a sale return line item.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnLineItemPromotionTrigger { + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + /// + /// <p>The identification of the manual trigger (because one line item can have more than one trigger).</p> + public int? triggerSequenceNumber { get; init; } + /// + /// <p>The type of the trigger (referencing to POS configuration).</p> + /// + /// <p>The type of the trigger (referencing to POS configuration).</p> + public string triggerType { get; init; } + /// + /// <p>The value of the trigger (referencing to POS configuration).</p> + /// + /// <p>The value of the trigger (referencing to POS configuration).</p> + public string triggerValue { get; init; } + /// + /// <p>Defines the method for price modification.</p> + /// + /// <p>Defines the method for price modification.</p> + public string privilegeType { get; init; } + /// + /// <p>Reduction amount, reduction percent or new price amount.</p> + /// + /// <p>Reduction amount, reduction percent or new price amount.</p> + public double? privilegeValue { get; init; } + /// + /// <p>Reason code for the manual discount.</p> + /// + /// <p>Reason code for the manual discount.</p> + public string reasonCode { get; init; } + /// + /// <p>A narrative description describing the manual discount reason.</p> + /// + /// <p>A narrative description describing the manual discount reason.</p> + public string reasonDescription { get; init; } + /// + /// <p>A value which is to be added to the sequence of the condition (which comes from the master data).</p> + /// + /// <p>A value which is to be added to the sequence of the condition (which comes from the master data).</p> + public string triggerSequenceAddend { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..51938ad523c2afe98423dc418392f0d6f6832c2d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnTaxLineItemKey <p>Key identifier for sale return tax line items.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionSaleReturnTaxLineItemKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + public string transactionID { get; init; } + /// + /// <p>The sequence number of line item within the context of a retail transaction.</p> + /// + /// <p>The sequence number of line item within the context of a retail transaction.</p> + public int? retailTransactionLineItemSequenceNumber { get; init; } + /// + /// <p>Line item sequence number of the tax entry.</p> + /// + /// <p>Line item sequence number of the tax entry.</p> + public int? taxSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..829f9caa0b22bb5a484759da875f340bdf9ca0fc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAuthorizationKey <p>Key identifier for tender authorization.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + public string transactionID { get; init; } + /// + /// <p>A unique sequence number for this TenderAuthorization. <br /> Note: A particular TenderLineItem may have more than one TenderAuthorization attempt.</p> + /// + /// <p>A unique sequence number for this TenderAuthorization. <br /> Note: A particular TenderLineItem may have more than one TenderAuthorization attempt.</p> + public int? tenderAuthorizationSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..2f89f740dc5336c19c214861282d7ab9fdce1dca --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillDoKey <p>Key identifier for tills.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The unique identifier of a till.</p> + /// + /// <p>The unique identifier of a till.</p> + public string tillID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey.cs new file mode 100644 index 0000000000000000000000000000000000000000..36f0f7bfeb37e5d7c0cf675066b9e2f5c64ccdde --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionAdditionalPrintoutKey <p>Key identifier for transaction additional printouts.</p> + /// + public record comGkSoftwarePosApiModelDomAppServicesTransactionTransactionAdditionalPrintoutKey { + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + /// + /// <p>A unique system assigned identifier for a group of BusinessUnits.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + /// + /// <p>A universally unique identifier (UUID) for the Transaction.</p> + public string transactionID { get; init; } + /// + /// <p>Line item sequence number corresponding to the additional printout.</p> + /// + /// <p>Line item sequence number corresponding to the additional printout.</p> + public int? printoutSequenceNumber { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistration.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistration.cs new file mode 100644 index 0000000000000000000000000000000000000000..1986a7c22d8d2c5480e2916169cc20276ef546f1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistration.cs @@ -0,0 +1,127 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRegistration TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppTenderTenderRegistration { + /// + /// Gets or Sets BaseCurrencyNotesAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyNotesAmount { get; init; } + /// + /// Gets or Sets BaseCurrencyCoinsAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyCoinsAmount { get; init; } + /// + /// Gets or Sets BaseCurrencyRollsAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyRollsAmount { get; init; } + /// + /// Gets or Sets BaseCurrencyCashAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount baseCurrencyCashAmount { get; init; } + /// + /// Gets or Sets ForeignCurrenciesCashAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount foreignCurrenciesCashAmount { get; init; } + /// + /// Gets or Sets OtherTendersAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount otherTendersAmount { get; init; } + /// + /// Gets or Sets TotalAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount totalAmount { get; init; } + /// + /// Gets or Sets DefaultCurrencyAmount + /// + public ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount defaultCurrencyAmount { get; init; } + /// + /// Gets or Sets ForeignCurrencyAmounts + /// + public List ForeignCurrencyAmounts { get; init; } + /// + /// Gets or Sets OtherTenders + /// + public List OtherTenders { get; init; } + /// + /// Gets or Sets TenderAmounts + /// + public List TenderAmounts { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender.cs new file mode 100644 index 0000000000000000000000000000000000000000..945efa91f9eeb82f6ed8edb5c1528fcb3cdeb917 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender.cs @@ -0,0 +1,99 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRegistrationCashTender TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppTenderTenderRegistrationCashTender { + /// + /// Gets or Sets Quantity + /// + public int? quantity { get; init; } + /// + /// Gets or Sets DenominationPieceValue + /// + public double? denominationPieceValue { get; init; } + /// + /// Gets or Sets DenominationDescription + /// + public string denominationDescription { get; init; } + /// + /// Gets or Sets Amount + /// + public double? amount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..5998c4038c525a5070fcb8b7bde2a81d34c28e61 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount.cs @@ -0,0 +1,131 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRegistrationDefaultCurrencyTenderAmount TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppTenderTenderRegistrationDefaultCurrencyTenderAmount { + /// + /// Gets or Sets Tender + /// + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// Gets or Sets TenderDescription + /// + public string tenderDescription { get; init; } + /// + /// Gets or Sets Amount + /// + public double? amount { get; init; } + /// + /// Gets or Sets CurrencySymbol + /// + public string currencySymbol { get; init; } + /// + /// Gets or Sets ForeignCurrencyAmount + /// + public double? foreignCurrencyAmount { get; init; } + /// + /// Gets or Sets ForeignCurrencyCode + /// + public string foreignCurrencyCode { get; init; } + /// + /// Gets or Sets ForeignCurrencySymbol + /// + public string foreignCurrencySymbol { get; init; } + /// + /// Gets or Sets FormattedValue + /// + public string formattedValue { get; init; } + /// + /// Gets or Sets Notes + /// + public List Notes { get; init; } + /// + /// Gets or Sets Coins + /// + public List Coins { get; init; } + /// + /// Gets or Sets Rolls + /// + public List Rolls { get; init; } + /// + /// Gets or Sets Amounts + /// + public List Amounts { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..c6caf491baf8d328feb4f1b1e914d367776a8934 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount.cs @@ -0,0 +1,95 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRegistrationFormattedAmount TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppTenderTenderRegistrationFormattedAmount { + /// + /// Gets or Sets Value + /// + public double? value { get; init; } + /// + /// Gets or Sets FormattedValue + /// + public string formattedValue { get; init; } + /// + /// Gets or Sets CurrencyCode + /// + public string currencyCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll.cs new file mode 100644 index 0000000000000000000000000000000000000000..03b3cc63596cb4e4d821917e97109e6378057eff --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRegistrationRoll TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppTenderTenderRegistrationRoll { + /// + /// Gets or Sets Quantity + /// + public int? quantity { get; init; } + /// + /// Gets or Sets DenominationPieceValue + /// + public double? denominationPieceValue { get; init; } + /// + /// Gets or Sets DenominationDescription + /// + public string denominationDescription { get; init; } + /// + /// Gets or Sets Amount + /// + public double? amount { get; init; } + /// + /// Gets or Sets RollCapacity + /// + public int? rollCapacity { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount.cs new file mode 100644 index 0000000000000000000000000000000000000000..94599c31de99a9845d63db1cb8ae55cb5e042fef --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount.cs @@ -0,0 +1,115 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRegistrationTenderAmount TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppTenderTenderRegistrationTenderAmount { + /// + /// Gets or Sets Tender + /// + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// Gets or Sets TenderDescription + /// + public string tenderDescription { get; init; } + /// + /// Gets or Sets Amount + /// + public double? amount { get; init; } + /// + /// Gets or Sets CurrencySymbol + /// + public string currencySymbol { get; init; } + /// + /// Gets or Sets ForeignCurrencyAmount + /// + public double? foreignCurrencyAmount { get; init; } + /// + /// Gets or Sets ForeignCurrencyCode + /// + public string foreignCurrencyCode { get; init; } + /// + /// Gets or Sets ForeignCurrencySymbol + /// + public string foreignCurrencySymbol { get; init; } + /// + /// Gets or Sets FormattedValue + /// + public string formattedValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData.cs new file mode 100644 index 0000000000000000000000000000000000000000..8984fec202e3c647d873e1348aeea04616a52366 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerInfoTransactionData TODO: undocumented + /// + public record comGkSoftwarePosApiModelDomAppViewsCustomerInfoTransactionData { + /// + /// Gets or Sets TimeStamp + /// + public string timeStamp { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string transactionDate { get; init; } + /// + /// Gets or Sets TransactionTime + /// + public string transactionTime { get; init; } + /// + /// Gets or Sets LineItems + /// + public string lineItems { get; init; } + /// + /// Gets or Sets Value + /// + public double? value { get; init; } + /// + /// Gets or Sets StoreId + /// + public string storeId { get; init; } + /// + /// Gets or Sets City + /// + public string city { get; init; } + /// + /// Gets or Sets Id + /// + public string id { get; init; } + /// + /// Gets or Sets Suspended + /// + public bool? suspended { get; init; } + /// + /// Gets or Sets SuspendNumber + /// + public string suspendNumber { get; init; } + /// + /// Gets or Sets TotalAmount + /// + public double? totalAmount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView.cs new file mode 100644 index 0000000000000000000000000000000000000000..efb0f601eba1d711daa24008ee92cf0ab69fbcf7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomAppViewsTransactionSearchView.cs @@ -0,0 +1,180 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionSearchView <p>Transaction search view entity.</p> + /// + public record comGkSoftwarePosApiModelDomAppViewsTransactionSearchView { + /// + /// Gets or Sets BusinessUnitGroupID + /// + public string businessUnitGroupID { get; init; } + /// + /// Gets or Sets TransactionID + /// + public string transactionID { get; init; } + /// + /// Gets or Sets OperatorID + /// + public string operatorID { get; init; } + /// + /// Gets or Sets WorkstationID + /// + public string workstationID { get; init; } + /// + /// Gets or Sets BusinessUnitID + /// + public string businessUnitID { get; init; } + /// + /// Gets or Sets BusinessUnitAddress + /// + public string businessUnitAddress { get; init; } + /// + /// Gets or Sets SequenceNumber + /// + public int? sequenceNumber { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string beginDateTimestamp { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string endDateTimestamp { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string transactionTimestamp { get; init; } + /// + /// Gets or Sets SuspendedFlag + /// + public bool? suspendedFlag { get; init; } + /// + /// Gets or Sets SuspendNumber + /// + public string suspendNumber { get; init; } + /// + /// Gets or Sets TotalAmount + /// + public double? totalAmount { get; init; } + /// + /// Gets or Sets TotalLineItemCount + /// + public int? totalLineItemCount { get; init; } + /// + /// Gets or Sets CanceledFlag + /// + public bool? canceledFlag { get; init; } + /// + /// Gets or Sets WorkerID + /// + public string workerID { get; init; } + /// + /// Gets or Sets WorkerFirstName + /// + public string workerFirstName { get; init; } + /// + /// Gets or Sets WorkerLastName + /// + public string workerLastName { get; init; } + /// + /// Gets or Sets WorkerFullName + /// + public string workerFullName { get; init; } + /// + /// Gets or Sets TransactionTypeCode + /// + public string transactionTypeCode { get; init; } + /// + /// Gets or Sets TransactionFactCriteriaTransactionTypeCode + /// + public string transactionFactCriteriaTransactionTypeCode { get; init; } + /// + /// <p>The unique identifier of the till.</p> + /// + /// <p>The unique identifier of the till.</p> + public string tillID { get; init; } + /// + /// <p>The unique system assigned identifier for the Customer(Buyer).</p> + /// + /// <p>The unique system assigned identifier for the Customer(Buyer).</p> + public string customerID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..9b33b29fa94132181ee4b4a46ee7f11a2e9eabdc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitDOListByFilterResult <p>BusinessUnitDOListByFilterResult </p> + /// + public record comGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitDOListByFilterResult { + /// + /// <p>businessUnitDOs</p> + /// + /// <p>businessUnitDOs</p> + public List BusinessUnitDOs { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..17190ddbd4f439c9181bedcb27086dc86bb564a5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitListByFilterRequest <p>BusinessUnitListByFilterRequest </p> + /// + public record comGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitListByFilterRequest { + /// + /// <p>businessUnitContactFilter</p> + /// + /// <p>businessUnitContactFilter</p> + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDombusinessUnitContactFilter businessUnitContactFilter { get; init; } + /// + /// <p>maxResultsCount</p> + /// + /// <p>maxResultsCount</p> + public int? maxResultsCount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView.cs new file mode 100644 index 0000000000000000000000000000000000000000..3b62e99d645913e58d03b13932e702b98f8d42a4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView.cs @@ -0,0 +1,117 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitView <p>BusinessUnitView</p> + /// + public record comGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitView { + /// + /// Gets or Sets BusinessUnitID + /// + public string businessUnitID { get; init; } + /// + /// <p>businessUnitGroupID.</p> + /// + /// <p>businessUnitGroupID.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>name.</p> + /// + /// <p>name.</p> + public string name { get; init; } + /// + /// <p>territoryName.</p> + /// + /// <p>territoryName.</p> + public string territoryName { get; init; } + /// + /// <p>city.</p> + /// + /// <p>city.</p> + public string city { get; init; } + /// + /// <p>postalCode </p> + /// + /// <p>postalCode </p> + public string postalCode { get; init; } + /// + /// <p>street</p> + /// + /// <p>street</p> + public string street { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..f98744180becfc26f647aa0fa315a8ee63b0c199 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitViewListByFilterResult <p>BusinessUnitDOListByFilterResult </p> + /// + public record comGkSoftwarePosApiModelDomMdBusinessUnitBusinessUnitViewListByFilterResult { + /// + /// <p>businessUnitViews</p> + /// + /// <p>businessUnitViews</p> + public List BusinessUnitViews { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..7e15578c2df7aba963f2f4ff08f2b2b34be9a6ba --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceClientHardwareScaleWeightResult.cs @@ -0,0 +1,115 @@ +namespace POSGkSwaggerModel +{ + /// + /// WeightResult TODO: undocumented + /// + public record comGkSoftwarePosApiServiceClientHardwareScaleWeightResult { + /// + /// Gets or Sets PosItemId + /// + public string posItemId { get; init; } + /// + /// Gets or Sets Weight + /// + public double? weight { get; init; } + /// + /// Gets or Sets TotalPrice + /// + public double? totalPrice { get; init; } + /// + /// Gets or Sets Tare + /// + public double? tare { get; init; } + /// + /// Gets or Sets WeightType + /// + public int? weightType { get; init; } + /// + /// Gets or Sets DataHash + /// + public string dataHash { get; init; } + /// + /// Gets or Sets PricingCapableScale + /// + public bool? pricingCapableScale { get; init; } + /// + /// Gets or Sets PrintoutDone + /// + public bool? printoutDone { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..317aed663091a1746adeabd33dd1e937cd85017a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// BillDocRequest <p>Request object for the BillDocWebService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsBilldocBillDocRequest { + /// + /// <p>The invoice number</p> + /// + /// <p>The invoice number</p> + public string invoiceNumber { get; init; } + /// + /// <p>The retailStore id</p> + /// + /// <p>The retailStore id</p> + public string retailStoreId { get; init; } + /// + /// <p>The workStation id</p> + /// + /// <p>The workStation id</p> + public string workStationId { get; init; } + /// + /// <p>Indicates whether service is called on training mode.</p> + /// + /// <p>Indicates whether service is called on training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..795a99ac0beb45104f2fd5b5554e6b88ac569c77 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// BillDocResponse <p>Response object for the BillDocWebService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsBilldocBillDocResponse { + /// + /// <p>The return code</p> + /// + /// <p>The return code</p> + public string returnCode { get; init; } + /// + /// <p>The bill type</p> + /// + /// <p>The bill type</p> + public string billType { get; init; } + /// + /// <p>The net value</p> + /// + /// <p>The net value</p> + public double? netValue { get; init; } + /// + /// <p>The tax amount</p> + /// + /// <p>The tax amount</p> + public double? taxAmount { get; init; } + /// + /// <p>The open amount</p> + /// + /// <p>The open amount</p> + public double? amountOpenNow { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber.cs new file mode 100644 index 0000000000000000000000000000000000000000..8ac4ae936051ee5b0ef5c7c40ccc397fbc586b21 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerPhoneNumber <p>Bean class for Customer By Id WebService results interface.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber { + /// + /// <p>The area id</p> + /// + /// <p>The area id</p> + public string areaID { get; init; } + /// + /// <p>The subscriber id</p> + /// + /// <p>The subscriber id</p> + public string subscriberID { get; init; } + /// + /// <p>The extension id</p> + /// + /// <p>The extension id</p> + public string extensionID { get; init; } + /// + /// <p>The country dialling code</p> + /// + /// <p>The country dialling code</p> + public string countryDiallingCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP.cs new file mode 100644 index 0000000000000000000000000000000000000000..5e9b186a2a912568f587043764be9157c6af126e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerWebServiceResultSAPERP <p>Bean class for Customer By Id WebService results interface.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP { + /// + /// <p>The customer id</p> + /// + /// <p>The customer id</p> + public string customerId { get; init; } + /// + /// <p>The customer name</p> + /// + /// <p>The customer name</p> + public string customerName { get; init; } + /// + /// <p>The customer street</p> + /// + /// <p>The customer street</p> + public string customerStreet { get; init; } + /// + /// <p>The customer postal code</p> + /// + /// <p>The customer postal code</p> + public string customerPostalCode { get; init; } + /// + /// <p>The customer city</p> + /// + /// <p>The customer city</p> + public string customerCity { get; init; } + /// + /// <p>The customer house id</p> + /// + /// <p>The customer house id</p> + public string customerHouseId { get; init; } + /// + /// <p>The email address</p> + /// + /// <p>The email address</p> + public string emailAddress { get; init; } + /// + /// <p>The phone number</p> + /// + /// <p>The phone number</p> + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerphoneNumber phoneNumber { get; init; } + /// + /// <p>The cell phone number</p> + /// + /// <p>The cell phone number</p> + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber cellPhoneNumber { get; init; } + /// + /// <p>The fax phone number</p> + /// + /// <p>The fax phone number</p> + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerPhoneNumber faxPhoneNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..478b2961bf80a55717df31b5159e96f7182b5995 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerWebserviceRequest <p>Request object for the CustomerByIdWebService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceRequest { + /// + /// <p>The customer id</p> + /// + /// <p>The customer id</p> + public string customerId { get; init; } + /// + /// <p>Indicates whether service should be called in training mode.</p> + /// + /// <p>Indicates whether service should be called in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..6d2da4a03c818fb684e771db48f4a4df708ac154 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerWebserviceResult <p>Result object for the CustomerByIdWebService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult { + /// + /// <p>The used web service</p> + /// + /// <p>The used web service</p> + public string usedWebservice { get; init; } + /// + /// <p>The sap erp result</p> + /// + /// <p>The sap erp result</p> + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebServiceResultSAPERP sapErpResult { get; init; } + /// + /// <p>The crm response</p> + /// + /// <p>The crm response</p> + public ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse crmResponse { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..00c46fdde9624d74d305e44b771419ec0c972e8f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchCustomerRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceCommunicationWsCustomerSearchByCriteriaSearchCustomerRequest { + /// + /// Gets or Sets CustomerId + /// + public string customerId { get; init; } + /// + /// Gets or Sets CustomerName + /// + public string customerName { get; init; } + /// + /// Gets or Sets CustomerStreet + /// + public string customerStreet { get; init; } + /// + /// Gets or Sets CustomerCity + /// + public string customerCity { get; init; } + /// + /// Gets or Sets CustomerFederalState + /// + public string customerFederalState { get; init; } + /// + /// Gets or Sets CustomerPostalCode + /// + public string customerPostalCode { get; init; } + /// + /// Gets or Sets CustomerCountry + /// + public string customerCountry { get; init; } + /// + /// Gets or Sets MaxSearchResult + /// + public int? maxSearchResult { get; init; } + /// + /// Gets or Sets DataProvider + /// + public string dataProvider { get; init; } + /// + /// Gets or Sets PhoneNumber + /// + public string phoneNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ac185ee972b53ba1d6737bf02d01114040369060 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindCustomerByIdRequest <p>Request object for the CustomerOperationService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByIdRequest { + /// + /// <p>The customer id to search for.</p> + /// + /// <p>The customer id to search for.</p> + public string customerId { get; init; } + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + public string dataProvider { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4b87af540e956d6b17081ec7e8d4fba197abc3d5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindCustomerByPartyIdentificationRequest <p>Request object for the CustomerOperationService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerByPartyIdentificationRequest { + /// + /// <p>An official number that is used to identify the party.</p> + /// + /// <p>An official number that is used to identify the party.</p> + public string partyIdentification { get; init; } + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + public string dataProvider { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..eea99f12e9add52665223a858ad0330f3c8aaea8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindCustomerDataRequest <p>Request object for the CustomerOperationService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsOperationFindCustomerDataRequest { + /// + /// <p>The customer id to search for.</p> + /// + /// <p>The customer id to search for.</p> + public string customerId { get; init; } + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + public string dataProvider { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e8127ea4044156a8ae392e889d43a753dd9ebcc6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// UpdateCustomerRequest <p>Request object for the CustomerOperationService</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsOperationUpdateCustomerRequest { + /// + /// <p>ID of data provider.</p> + /// + /// <p>ID of data provider.</p> + public string dataProvider { get; init; } + /// + /// <p>Customer data</p> + /// + /// <p>Customer data</p> + public ComGkSoftwarePosFlowLibsCustomercustomerData customerData { get; init; } + /// + /// <p>Specifies reason for update</p> + /// + /// <p>Specifies reason for update</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>Old customer data. It must contain the state BEFORE update was applied.</p> + /// + /// <p>Old customer data. It must contain the state BEFORE update was applied.</p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO oldCustomer { get; init; } + /// + /// <p>Defines if the customer declaration is necessary for permanent storage of the customer data.</p> + /// + /// <p>Defines if the customer declaration is necessary for permanent storage of the customer data.</p> + public bool? customerDeclarationRequired { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..562d82b460ae09b29075ca1d588a941197846b38 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// AccountBalanceRequest <p>Request object for querying customer's account balance.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceRequest { + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerID { get; init; } + /// + /// <p>The accounting area.</p> + /// + /// <p>The accounting area.</p> + public string accountingArea { get; init; } + /// + /// <p>Indicates whether service is called in training mode.</p> + /// + /// <p>Indicates whether service is called in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..156f7b0ec578fb96b619ae0569a2ad5922168a67 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// AccountBalanceResult <p>Result object for customer's account balance request.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsPayablesAccountAccountBalanceResult { + /// + /// <p>The balance entry list.</p> + /// + /// <p>The balance entry list.</p> + public List BalanceEntries { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..aecad3001a9dae188ab49775651acdf0ace896eb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrdersRequest <p>Request object for the SalesOrderBasicWebService.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersRequest { + /// + /// <p>List of customer numbers used for sales orders search.</p> + /// + /// <p>List of customer numbers used for sales orders search.</p> + public List CustomerIds { get; init; } + /// + /// <p>Specifies whether only open orders are searched.</p> + /// + /// <p>Specifies whether only open orders are searched.</p> + public bool? onlyOpen { get; init; } + /// + /// <p>Maximum number of search results.</p> + /// + /// <p>Maximum number of search results.</p> + public int? numberOfResults { get; init; } + /// + /// <p>Indicates whether the service should be called in training mode.</p> + /// + /// <p>Indicates whether the service should be called in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..06466a0abbe1111a5f583d268ef173dad38ff5fd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrdersResult <p>Result object containing sales order details for sales order search.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderBasicSalesOrdersResult { + /// + /// <p>The sales order basic result list.</p> + /// + /// <p>The sales order basic result list.</p> + public List SalesOrderBasicResults { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request.cs new file mode 100644 index 0000000000000000000000000000000000000000..e14bda8743a284c3cf1395a28599214008a6d875 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderByIdV3Request <p>Request object for retrieving sales order details by its id.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Request { + /// + /// <p>The sales order number.</p> + /// + /// <p>The sales order number.</p> + public string orderNumber { get; init; } + /// + /// <p>Indicates whether service should be called in training mode.</p> + /// + /// <p>Indicates whether service should be called in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result.cs new file mode 100644 index 0000000000000000000000000000000000000000..330c7b8679f4c9fd693cf8fc4082807ede19819e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderByIdV3Result <p>The sales order details returned froma sales order search by id.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderByIdV3Result { + /// + /// <p>The sales order id.</p> + /// + /// <p>The sales order id.</p> + public string id { get; init; } + /// + /// <p>The sales order date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The sales order date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string date { get; init; } + /// + /// <p>The total gross amount.</p> + /// + /// <p>The total gross amount.</p> + public double? totalValuesGrossAmount { get; init; } + /// + /// <p>The total net amount.</p> + /// + /// <p>The total net amount.</p> + public double? totalValuesNetAmount { get; init; } + /// + /// <p>The total tax amount.</p> + /// + /// <p>The total tax amount.</p> + public double? totalValuesTaxAmount { get; init; } + /// + /// <p>The customer order life cycle status code.</p> + /// + /// <p>The customer order life cycle status code.</p> + public string statusCustomerOrderLifeCycleStatusCode { get; init; } + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + public string processingTypeCode { get; init; } + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerId { get; init; } + /// + /// <p>The price component list.</p> + /// + /// <p>The price component list.</p> + public List PriceComponents { get; init; } + /// + /// <p>The item list.</p> + /// + /// <p>The item list.</p> + public List Items { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3.cs new file mode 100644 index 0000000000000000000000000000000000000000..6e72f8641e8ce9c5fd5f1ef328c77c6ebff2ed6b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderExtendedItemDataV3 <p>Sales order extended item data based on sales order common data.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderByIdSalesOrderExtendedItemDataV3 { + /// + /// <p>The id</p> + /// + /// <p>The id</p> + public string id { get; init; } + /// + /// <p>The description</p> + /// + /// <p>The description</p> + public string description { get; init; } + /// + /// <p>The productInternalId</p> + /// + /// <p>The productInternalId</p> + public string productInternalId { get; init; } + /// + /// <p>The productSalesMeasureUnitCode</p> + /// + /// <p>The productSalesMeasureUnitCode</p> + public string productSalesMeasureUnitCode { get; init; } + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestDate { get; init; } + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + public string deliveryTermsDeliveryPlantId { get; init; } + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + public double? requestedQuantity { get; init; } + /// + /// <p>The receivingPointId</p> + /// + /// <p>The receivingPointId</p> + public string receivingPointId { get; init; } + /// + /// <p>The product standard id</p> + /// + /// <p>The product standard id</p> + public string productStandardId { get; init; } + /// + /// <p>The product rejection reason code.</p> + /// + /// <p>The product rejection reason code.</p> + public string productRejectionReasonCode { get; init; } + /// + /// <p>The item price component list.</p> + /// + /// <p>The item price component list.</p> + public List ItemPriceComponents { get; init; } + /// + /// <p>The requested quantity.</p> + /// + /// <p>The requested quantity.</p> + public double? totalValuesRequestedQuantity { get; init; } + /// + /// <p>The confirmed quantity.</p> + /// + /// <p>The confirmed quantity.</p> + public double? totalValuesConfirmedQuantity { get; init; } + /// + /// <p>The delivered quantity.</p> + /// + /// <p>The delivered quantity.</p> + public double? totalValuesDeliveredQuantity { get; init; } + /// + /// <p>The total net amount.</p> + /// + /// <p>The total net amount.</p> + public double? totalValuesNetAmount { get; init; } + /// + /// <p>The total net price.</p> + /// + /// <p>The total net price.</p> + public double? totalValuesNetPrice { get; init; } + /// + /// <p>The total tax amount.</p> + /// + /// <p>The total tax amount.</p> + public double? totalValuesTaxAmount { get; init; } + /// + /// <p>The schedule line list.</p> + /// + /// <p>The schedule line list.</p> + public List ScheduleLines { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..4d049f5566050a8f0f308f0a9e7553c935817dae --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// ChangeConfirmationRequestItem <p>Request object of the Change Confirmation Item</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItem { + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + public string id { get; init; } + /// + /// <p>The item receipt text description.</p> + /// + /// <p>The item receipt text description.</p> + public string description { get; init; } + /// + /// <p>The product internal id.</p> + /// + /// <p>The product internal id.</p> + public string productInternalId { get; init; } + /// + /// <p>The product sales measure unit code.</p> + /// + /// <p>The product sales measure unit code.</p> + public string productSalesMeasureUnitCode { get; init; } + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string dateTermsRequestDate { get; init; } + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + public string deliveryTermsDeliveryPlantId { get; init; } + /// + /// <p>The requested quantity.</p> + /// + /// <p>The requested quantity.</p> + public double? totalValuesRequestedQuantity { get; init; } + /// + /// <p>Rejection reason (Token 0-2) for reversal of sales orders or order items.</p> + /// + /// <p>Rejection reason (Token 0-2) for reversal of sales orders or order items.</p> + public string salesTermsRejectionReasonCode { get; init; } + /// + /// <p>Pick up destination. This field describes the receiving point party for the items.<br /> For example, it is the current store id if it is an immediate pickup, <br /> or another store's id if the sales order will be retrieved in a different store.</p> + /// + /// <p>Pick up destination. This field describes the receiving point party for the items.<br /> For example, it is the current store id if it is an immediate pickup, <br /> or another store's id if the sales order will be retrieved in a different store.</p> + public string receivingPointPartyInternalId { get; init; } + /// + /// <p>Price component condition data for the item.</p> + /// + /// <p>Price component condition data for the item.</p> + public List PriceComponents { get; init; } + /// + /// <p>Buyer document id (Token 1-35). <br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + /// + /// <p>Buyer document id (Token 1-35). <br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + public string buyerDocumentId { get; init; } + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + public string actionCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..c95901dfc7bf757992fe1cae4f6c1011de429c69 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// ChangeConfirmationRequestItemPriceComponent <p>Request object of the Change Confirmation Item Price Component</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestItemPriceComponent { + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + public string priceSpecificationElementTypeCode { get; init; } + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + public double? rateDecimalValue { get; init; } + /// + /// <p>The rate base decimal value.</p> + /// + /// <p>The rate base decimal value.</p> + public double? rateBaseDecimalValue { get; init; } + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + public string actionCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..4232db77df474c2b3f6d91cb7acf06921449ffee --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ChangeConfirmationRequestPriceComponent <p>Request object of the Change Confirmation Price Component.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesChangeConfirmationRequestPriceComponent { + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + public string priceSpecificationElementTypeCode { get; init; } + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + public double? rateDecimalValue { get; init; } + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + /// + /// <p>Action code for the request (Token 2).<br /> Possible values: </p><br /><ul><br /> <li>01 – insert record</li><br /> <li>02 – update record</li><br /> <li>03 – delete record</li><br /></ul> + public string actionCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..481f96b16420191d5fffbff3aca9640b954302df --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderChangeConfirmationRequest <p>Request object for creating a sales order change confirmation.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationRequest { + /// + /// <p>The store id.</p> + /// + /// <p>The store id.</p> + public string storeId { get; init; } + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string date { get; init; } + /// + /// <p>The POS id.</p> + /// + /// <p>The POS id.</p> + public string posId { get; init; } + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + public int? sequenceNumber { get; init; } + /// + /// <p>The delivery blocking reason code.</p> + /// + /// <p>The delivery blocking reason code.</p> + public string deliveryBlockingReasonCode { get; init; } + /// + /// <p>Sales order number (Token of length 1-10).</p> + /// + /// <p>Sales order number (Token of length 1-10).</p> + public string salesOrderId { get; init; } + /// + /// <p>Price components containing condition data of the sales order.</p> + /// + /// <p>Price components containing condition data of the sales order.</p> + public List PriceComponents { get; init; } + /// + /// <p>Sales order items.</p> + /// + /// <p>Sales order items.</p> + public List Items { get; init; } + /// + /// <p>Indicates whether service is called on training mode.</p> + /// + /// <p>Indicates whether service is called on training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..080edf2c9b4bb0186292184f74959826d783ab31 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderChangeConfirmationResult <p>Result object of the Sales Order Change Confirmation.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderChangeRequestConfirmationEntitiesSalesOrderChangeConfirmationResult { + /// + /// <p>Sales order number (Token of length 1-10).</p> + /// + /// <p>Sales order number (Token of length 1-10).</p> + public string id { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..12d962ebda2753798c10c6e93001913c47348493 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderCreateCheckRequest <p>Request object for the SalesOrderCreateCheckWebService.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateCheckSalesOrderCreateCheckRequest { + /// + /// <p>The buyer document id.<br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + /// + /// <p>The buyer document id.<br /> Format: ffffddddddkkkbbbbbb</p><br /><ul><br /> <li>ffff – store id with leading zeros</li><br /> <li>dddddd – date in format ddmmyy (each with leading zeros)</li><br /> <li>kkk – pos/workstation number with leading zeros</li><br /> <li>bbbbbb – transaction sequence number with leading zeros</li><br /></ul> + public string buyerDocumentId { get; init; } + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + public string processingTypecode { get; init; } + /// + /// <p>Store number (Token of length 1-20).</p> + /// + /// <p>Store number (Token of length 1-20).</p> + public string salesOrganisationID { get; init; } + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + public string distributionChannelCode { get; init; } + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + public string divisionCode { get; init; } + /// + /// <p>The customer address type (e.g.: the customer card type from customer identification configuration is used in the POS client).</p> + /// + /// <p>The customer address type (e.g.: the customer card type from customer identification configuration is used in the POS client).</p> + public string customerAdrType { get; init; } + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerId { get; init; } + /// + /// <p>The store id.</p> + /// + /// <p>The store id.</p> + public string storeId { get; init; } + /// + /// <p>The item list.</p> + /// + /// <p>The item list.</p> + public List Items { get; init; } + /// + /// <p>Indicates whether the service call should be performed in training mode.</p> + /// + /// <p>Indicates whether the service call should be performed in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..57f474fc3f14e3151b7eb288575234efa5b6d079 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateConfirmationRequestItem <p>Request object for a sales order item creation.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItem { + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + public string id { get; init; } + /// + /// <p>The item receipt text description.</p> + /// + /// <p>The item receipt text description.</p> + public string description { get; init; } + /// + /// <p>The product internal id.</p> + /// + /// <p>The product internal id.</p> + public string productInternalId { get; init; } + /// + /// <p>The product sales measure unit code.</p> + /// + /// <p>The product sales measure unit code.</p> + public string productSalesMeasureUnitCode { get; init; } + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The delivery date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string dateTermsRequestDate { get; init; } + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + /// + /// <p>The id of plant where items will be delivered to. E.g.: store id.</p> + public string deliveryTermsDeliveryPlantId { get; init; } + /// + /// <p>The requested quantity.</p> + /// + /// <p>The requested quantity.</p> + public double? totalValuesRequestedQuantity { get; init; } + /// + /// <p>Id of receiving point party (Token of length 1-32). E.g.: store id.</p> + /// + /// <p>Id of receiving point party (Token of length 1-32). E.g.: store id.</p> + public string receivingPointPartyInternalId { get; init; } + /// + /// <p>Line item condition data.</p> + /// + /// <p>Line item condition data.</p> + public List PriceComponents { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..cb52925e5bf67b84f828373ed1d5317a75bb6a03 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateConfirmationRequestItemPriceComponent <p>Request object for the line item price component.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestItemPriceComponent { + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + public string priceSpecificationElementTypeCode { get; init; } + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + public double? rateDecimalValue { get; init; } + /// + /// <p>The rate base decimal value.</p> + /// + /// <p>The rate base decimal value.</p> + public double? rateBaseDecimalValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..6abc91feb82887796ba906c1aab04a16bd2226da --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateConfirmationRequestPriceComponent <p>Request object for the sales order price component creation.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesCreateConfirmationRequestPriceComponent { + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + /// + /// <p>It defines the price condition type in the SAP ERP system (eg.: 'VKP0').</p> + public string priceSpecificationElementTypeCode { get; init; } + /// + /// <p>Price condition value.</p> + /// + /// <p>Price condition value.</p> + public double? rateDecimalValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..418116ca967403d046201135651dad55b6dc533d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest.cs @@ -0,0 +1,153 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderCreateConfirmationRequest <p>Request object for a sales order creation.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationRequest { + /// + /// <p>The store id.</p> + /// + /// <p>The store id.</p> + public string storeId { get; init; } + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string date { get; init; } + /// + /// <p>The POS id.</p> + /// + /// <p>The POS id.</p> + public string posId { get; init; } + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + /// + /// <p>Sales order sequence number. This number is used for assembling a header uui for a sales order operation.</p> + public int? sequenceNumber { get; init; } + /// + /// <p>The delivery blocking reason code.</p> + /// + /// <p>The delivery blocking reason code.</p> + public string deliveryBlockingReasonCode { get; init; } + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + /// + /// <p>Processing type code of sales order based on delivery type.</p><br /><ul><br /> <li>Pick up at another store: 'ZTA2',</li><br /> <li>Immediate pickup: 'SO',</li><br /> <li>Delivery from warehouse: 'TA',</li><br /> <li>Pickup from store: 'TA'</li><br /></ul> + public string processingTypecode { get; init; } + /// + /// <p>Buyer document id (Token of length 1-35). Format: ffffddddddkkkbbbbbb<br /> ffff – store id with leading zeros<br /> dddddd – date in format ddmmyy (each with leading zeros)<br /> kkk – pos/workstation number with leading zeros<br /> bbbbbb – transaction sequence number with leading zeros</p> + /// + /// <p>Buyer document id (Token of length 1-35). Format: ffffddddddkkkbbbbbb<br /> ffff – store id with leading zeros<br /> dddddd – date in format ddmmyy (each with leading zeros)<br /> kkk – pos/workstation number with leading zeros<br /> bbbbbb – transaction sequence number with leading zeros</p> + public string buyerDocumentId { get; init; } + /// + /// <p>Store number (Token of length 1-20).</p> + /// + /// <p>Store number (Token of length 1-20).</p> + public string salesOrganisationID { get; init; } + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + /// + /// <p>It defines the code of the distribution channel in the SAP ERP system (Token of length 1-2). E.g.: 'V1'.</p> + public string distributionChannelCode { get; init; } + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + /// + /// <p>It defines the division/section in the SAP ERP system (Token of length 1-2). E.g.: 'R1'.</p> + public string divisionCode { get; init; } + /// + /// <p>Customer number (Token of length 1-12).</p> + /// + /// <p>Customer number (Token of length 1-12).</p> + public string buyerPartyInternalId { get; init; } + /// + /// <p>Customer order condition data.</p> + /// + /// <p>Customer order condition data.</p> + public List PriceComponents { get; init; } + /// + /// <p>The item list.</p> + /// + /// <p>The item list.</p> + public List Items { get; init; } + /// + /// <p>Indicates whether the service should be called in training mode.</p> + /// + /// <p>Indicates whether the service should be called in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..36033b001cfce4271962a9e01070bd1d6c3925cd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderCreateConfirmationResult <p>Result object for the sales order creation.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderCreateRequestConfirmationEntitiesSalesOrderCreateConfirmationResult { + /// + /// <p>Sales order number (Token of length 1-10).</p> + /// + /// <p>Sales order number (Token of length 1-10).</p> + public string id { get; init; } + /// + /// <p>Unique transaction ID.</p> + /// + /// <p>Unique transaction ID.</p> + public string uuid { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6bae1c1356f2e758c3d6ced02e1d18998515be46 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderSalesDocReadRequest <p>Request object for reading an existing sales order.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadRequest { + /// + /// <p>The order number of a sales order to be retrieved.</p> + /// + /// <p>The order number of a sales order to be retrieved.</p> + public string orderNumber { get; init; } + /// + /// <p>The store id performing the request.</p> + /// + /// <p>The store id performing the request.</p> + public string storeId { get; init; } + /// + /// <p>The workstation id performing the request.</p> + /// + /// <p>The workstation id performing the request.</p> + public string workstationId { get; init; } + /// + /// <p>Indicates whether service is called on training mode.</p> + /// + /// <p>Indicates whether service is called on training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..9f06fe9d9937d3c046f5b194b23b4c7546de12b9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderSalesDocReadResult <p>The result of a sales order read operation.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderSalesDocReadSalesOrderSalesDocReadResult { + /// + /// <p>The original prepayment.</p> + /// + /// <p>The original prepayment.</p> + public double? originalPrepayment { get; init; } + /// + /// <p>The open prepayment.</p> + /// + /// <p>The open prepayment.</p> + public double? openPrepayment { get; init; } + /// + /// <p>The actual payment.</p> + /// + /// <p>The actual payment.</p> + public double? actualPayment { get; init; } + /// + /// <p>The open payed amount.</p> + /// + /// <p>The open payed amount.</p> + public double? payedOpen { get; init; } + /// + /// <p>The sales order document item list.</p> + /// + /// <p>The sales order document item list.</p> + public List SalesDocItems { get; init; } + /// + /// <p>The currency.</p> + /// + /// <p>The currency.</p> + public string currency { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..2dedc4acfc5529bdfc69a1838eb4f89bf5056f58 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult.cs @@ -0,0 +1,112 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderBasicResult <p>The result object of a sales order search request.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderBasicResult { + /// + /// <p>The sales order number.</p> + /// + /// <p>The sales order number.</p> + public string id { get; init; } + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string date { get; init; } + /// + /// <p>The creation date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The creation date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string creationDate { get; init; } + /// + /// <p>The total net value.</p> + /// + /// <p>The total net value.</p> + public double? total { get; init; } + /// + /// <p>The formatted creation date.</p> + /// + /// <p>The formatted creation date.</p> + public string formattedCreationDate { get; init; } + /// + /// Gets or Sets Status + /// + public string status { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..470434fdc36a1d55718a1586f6dba6e529c823fa --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderCommonRequestItemData <p>Bean class for Sales Order common request item data.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderCommonRequestItemData { + /// + /// <p>The id</p> + /// + /// <p>The id</p> + public string id { get; init; } + /// + /// <p>The description</p> + /// + /// <p>The description</p> + public string description { get; init; } + /// + /// <p>The productInternalId</p> + /// + /// <p>The productInternalId</p> + public string productInternalId { get; init; } + /// + /// <p>The productSalesMeasureUnitCode</p> + /// + /// <p>The productSalesMeasureUnitCode</p> + public string productSalesMeasureUnitCode { get; init; } + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestDate { get; init; } + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + public string deliveryTermsDeliveryPlantId { get; init; } + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + public double? requestedQuantity { get; init; } + /// + /// <p>The receivingPointId</p> + /// + /// <p>The receivingPointId</p> + public string receivingPointId { get; init; } + /// + /// <p>The price component list.</p> + /// + /// <p>The price component list.</p> + public List PriceComponentList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3.cs new file mode 100644 index 0000000000000000000000000000000000000000..8f729d619ec5c684f666647c4a39116a3ced5d4a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderPriceComponentV3 <p>Sales order price component object.</p> + /// + public record comGkSoftwarePosApiServiceCommunicationWsSalesOrderWrapperSalesOrderPriceComponentV3 { + /// + /// <p>The price specification element type code.</p> + /// + /// <p>The price specification element type code.</p> + public string priceSpecificationElementTypeCode { get; init; } + /// + /// <p>The rate decimal value.</p> + /// + /// <p>The rate decimal value.</p> + public double? rateDecimalValue { get; init; } + /// + /// <p>The rate base decimal value.</p> + /// + /// <p>The rate base decimal value.</p> + public double? rateBaseDecimalValue { get; init; } + /// + /// <p>The calculated amount.</p> + /// + /// <p>The calculated amount.</p> + public double? calculatedAmount { get; init; } + /// + /// <p>The effective indicator.</p> + /// + /// <p>The effective indicator.</p> + public bool? effectiveIndicator { get; init; } + /// + /// <p>The inactivity reason code.</p> + /// + /// <p>The inactivity reason code.</p> + public string inactivityReasonCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponRequestData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponRequestData.cs new file mode 100644 index 0000000000000000000000000000000000000000..b4cabefaf060796d404d5a6136173216b836170b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponRequestData.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckCouponRequestData <p>Entity for the coupon data in the request.</p> + /// + public record comGkSoftwarePosApiServiceCouponCheckCouponRequestData { + /// + /// <p>The coupon identifier</p> + /// + /// <p>The coupon identifier</p> + public string couponSerialNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f61f4510f22bd46d80046209d5ee328ebd8d4837 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckCouponsRequest <p>Request entity for 'Check Coupons' service.</p> + /// + public record comGkSoftwarePosApiServiceCouponCheckCouponsRequest { + /// + /// <p>The header data of the request.</p> + /// + /// <p>The header data of the request.</p> + public ComGkSoftwarePosApiServiceCouponCouponingRequestheaderData header { get; init; } + /// + /// <p>The uuid of the request.</p> + /// + /// <p>The uuid of the request.</p> + public string uuid { get; init; } + /// + /// <p>The coupon data of the request.</p> + /// + /// <p>The coupon data of the request.</p> + public List Coupons { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..0fef36b8ed0c08c6a5dbde51c798bc94be618409 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsResponse.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckCouponsResponse <p>Response entity for 'Check Coupons' service.</p> + /// + public record comGkSoftwarePosApiServiceCouponCheckCouponsResponse { + /// + /// <p>The status of the response </p> + /// + /// <p>The status of the response </p> + public ComGkSoftwarePosApiServiceCouponCouponingResponsestatus status { get; init; } + /// + /// <p>The coupon data of the response </p> + /// + /// <p>The coupon data of the response </p> + public List Coupons { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsResultData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsResultData.cs new file mode 100644 index 0000000000000000000000000000000000000000..e67064cf5c5e4615c8fb686808d3892394cc5179 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCheckCouponsResultData.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckCouponsResultData <p>Entity for the coupon data in the response.</p> + /// + public record comGkSoftwarePosApiServiceCouponCheckCouponsResultData { + /// + /// <p>The state of the coupon</p> + /// + /// <p>The state of the coupon</p> + public statusEnum? status { get; init; } + /// + /// <p>The coupon identifier</p> + /// + /// <p>The coupon identifier</p> + public string couponSerialNumber { get; init; } + /// + /// <p>The offer number of the coupon</p> + /// + /// <p>The offer number of the coupon</p> + public string offerNumber { get; init; } + /// + /// <p>The remaining useable count of the coupon</p> + /// + /// <p>The remaining useable count of the coupon</p> + public int? remainingUseCount { get; init; } + /// + /// <p>The expiry date of the coupon</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The expiry date of the coupon</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationTimestamp { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData.cs new file mode 100644 index 0000000000000000000000000000000000000000..d0dd8589007de70f6fe41efef75d52b5ef8de4ac --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// CouponingRequestHeaderData <p>Entity for the request header data.</p> + /// + public record comGkSoftwarePosApiServiceCouponCouponingRequestHeaderData { + /// + /// <p>Business unit of the requesting client</p> + /// + /// <p>Business unit of the requesting client</p> + public string businessUnitId { get; init; } + /// + /// <p>Workstation id of the requesting client</p> + /// + /// <p>Workstation id of the requesting client</p> + public string workstationId { get; init; } + /// + /// <p>Transaction id of the client transaction</p> + /// + /// <p>Transaction id of the client transaction</p> + public string transactionId { get; init; } + /// + /// <p>Software version of the requesting client</p> + /// + /// <p>Software version of the requesting client</p> + public string softwareVersion { get; init; } + /// + /// <p>Address of the requesting client</p> + /// + /// <p>Address of the requesting client</p> + public string clientAddress { get; init; } + /// + /// <p>Country code where requesting client is located</p> + /// + /// <p>Country code where requesting client is located</p> + public string iSOCountryCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingResponseError.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingResponseError.cs new file mode 100644 index 0000000000000000000000000000000000000000..c52341f3dad62bf405058a031fb4a4cce6179aa9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingResponseError.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CouponingResponseError <p>The entity of the request execution error in the response.</p> + /// + public record comGkSoftwarePosApiServiceCouponCouponingResponseError { + /// + /// <p>The error code which occurred.</p> + /// + /// <p>The error code which occurred.</p> + public string code { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingResponseStatus.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingResponseStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..e009287b53a27da9ffdb5e17aadb36daa3fb1e96 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponCouponingResponseStatus.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CouponingResponseStatus <p>The entity of the status in the response.</p> + /// + public record comGkSoftwarePosApiServiceCouponCouponingResponseStatus { + /// + /// <p>The status code of the response</p> + /// + /// <p>The status code of the response</p> + public codeEnum code { get; init; } + /// + /// <p>The error which may happen during the request execution.</p> + /// + /// <p>The error which may happen during the request execution.</p> + public ComGkSoftwarePosApiServiceCouponCouponingResponseerror error { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..909184536005128d2948f0f4d35df8ac49dfd7df --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnCouponsRequest <p>Request entity for 'Return/Redeem Coupons' service.</p> + /// + public record comGkSoftwarePosApiServiceCouponReturnCouponsRequest { + /// + /// <p>The header data of the request.</p> + /// + /// <p>The header data of the request.</p> + public ComGkSoftwarePosApiServiceCouponCouponingRequestheaderData header { get; init; } + /// + /// <p>Flag if coupon serials should be marked as 'applied' on the transaction during return/redeem of coupons</p> + /// + /// <p>Flag if coupon serials should be marked as 'applied' on the transaction during return/redeem of coupons</p> + public bool? markAppliedCouponSerials { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..54766189f6e4ed9150651578653ea06caf8a3c18 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsResponse.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnCouponsResponse <p>Response entity for 'Return/Redeem Coupons' service.</p> + /// + public record comGkSoftwarePosApiServiceCouponReturnCouponsResponse { + /// + /// <p>The status of the response </p> + /// + /// <p>The status of the response </p> + public ComGkSoftwarePosApiServiceCouponCouponingResponsestatus status { get; init; } + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>The coupon result data of the response</p> + /// + /// <p>The coupon result data of the response</p> + public List Coupons { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsResultData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsResultData.cs new file mode 100644 index 0000000000000000000000000000000000000000..7636758982deb40b58bc73a534918e2563895ecf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCouponReturnCouponsResultData.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnCouponsResultData <p>Entity for the coupon result data in the response.</p> + /// + public record comGkSoftwarePosApiServiceCouponReturnCouponsResultData { + /// + /// <p>The result code of the coupon return</p> + /// + /// <p>The result code of the coupon return</p> + public resultCodeEnum? resultCode { get; init; } + /// + /// <p>The coupon identifier</p> + /// + /// <p>The coupon identifier</p> + public string couponSerialNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesAddress.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..d252e418c7e4aae3465e15fbb94e9605a6b94609 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesAddress.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// Address <p>Object for address data</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesAddress { + /// + /// <p>String: The first line of the address, normally the street number and name.</p> + /// + /// <p>String: The first line of the address, normally the street number and name.</p> + public string addressLine1 { get; init; } + /// + /// <p>String: The second line of an address, normally the Flat or Building Suite number.</p> + /// + /// <p>String: The second line of an address, normally the Flat or Building Suite number.</p> + public string addressLine2 { get; init; } + /// + /// <p>String: The third line of the address.</p> + /// + /// <p>String: The third line of the address.</p> + public string addressLine3 { get; init; } + /// + /// <p>String: The fourth line of the address.</p> + /// + /// <p>String: The fourth line of the address.</p> + public string addressLine4 { get; init; } + /// + /// <p>String: The fifth line of the address.It is normally used for the salutation.</p> + /// + /// <p>String: The fifth line of the address.It is normally used for the salutation.</p> + public string addressLine5 { get; init; } + /// + /// <p>String: The city, town or village component of the address.</p> + /// + /// <p>String: The city, town or village component of the address.</p> + public string city { get; init; } + /// + /// <p>String: The County, State, Province, Territory etc component of the address.</p> + /// + /// <p>String: The County, State, Province, Territory etc component of the address.</p> + public string territory { get; init; } + /// + /// <p>String: The name of the County, State, Province, Territory etc. component of the address.</p> + /// + /// <p>String: The name of the County, State, Province, Territory etc. component of the address.</p> + public string territoryName { get; init; } + /// + /// <p>String: This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.</p> + /// + /// <p>String: This field is used to specify the territory or city more concrete, for example for storing the district or suburb of a certain city.</p> + public string subTerritoryName { get; init; } + /// + /// <p>String: The postal or zip code of the address.</p> + /// + /// <p>String: The postal or zip code of the address.</p> + public string postalCode { get; init; } + /// + /// <p>String: The extension of the postal or zip code that further specifies a particular postal district.</p> + /// + /// <p>String: The extension of the postal or zip code that further specifies a particular postal district.</p> + public string postalCodeExtension { get; init; } + /// + /// <p>String: The ISO country code of the address.</p> + /// + /// <p>String: The ISO country code of the address.</p> + public string isoCountryCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesContactMethod.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesContactMethod.cs new file mode 100644 index 0000000000000000000000000000000000000000..67623079073865a5759f7341e117bf27e8552c4f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesContactMethod.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// ContactMethod <p>Data object for contact method</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesContactMethod { + /// + /// <p>String: contact purpose</p><br /><pre> DEFAULT – Default<br /> INVOICE – Invoice<br /> DELIVERY – Delivery<br /></pre> + /// + /// <p>String: contact purpose</p><br /><pre> DEFAULT – Default<br /> INVOICE – Invoice<br /> DELIVERY – Delivery<br /></pre> + public string contactPurposeTypeCode { get; init; } + /// + /// <p>String: contact method</p><br /><pre> Address:<br /> HOME - home address<br /> HOMEPOSTALBOX - home postal box<br /> WORK - work address<br /> WORKPOSTALBOX - work postal box<br /> CONTACT - contact address<br /> Telephone:<br /> HOMETELEPHONE – home telephone<br /> HOMEMOBILEPHONE – home mobile phone<br /> HOMEFAX – home fax<br /> WORKTELEPHONE – work telephone<br /> WORKMOBILEPHONE – work mobile phone<br /> WORKFAX – work fax<br /> Email:<br /> HOMEEMAIL - home<br /> WORKEMAIL<br /></pre> + /// + /// <p>String: contact method</p><br /><pre> Address:<br /> HOME - home address<br /> HOMEPOSTALBOX - home postal box<br /> WORK - work address<br /> WORKPOSTALBOX - work postal box<br /> CONTACT - contact address<br /> Telephone:<br /> HOMETELEPHONE – home telephone<br /> HOMEMOBILEPHONE – home mobile phone<br /> HOMEFAX – home fax<br /> WORKTELEPHONE – work telephone<br /> WORKMOBILEPHONE – work mobile phone<br /> WORKFAX – work fax<br /> Email:<br /> HOMEEMAIL - home<br /> WORKEMAIL<br /></pre> + public string contactMethodTypeCode { get; init; } + /// + /// <p>Address: address data</p> + /// + /// <p>Address: address data</p> + public ComGkSoftwarePosApiServiceCrmTypesaddress address { get; init; } + /// + /// <p>Telephone: telephone data</p> + /// + /// <p>Telephone: telephone data</p> + public ComGkSoftwarePosApiServiceCrmTypestelephone telephone { get; init; } + /// + /// <p>String: e-mail address</p> + /// + /// <p>String: e-mail address</p> + public string eMailAddress { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerAccount.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerAccount.cs new file mode 100644 index 0000000000000000000000000000000000000000..3c27a49c85c4650ea692bdc4ea934968f80745be --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerAccount.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerAccount <p>Data object customer account</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesCustomerAccount { + /// + /// <p>String: customer account number</p> + /// + /// <p>String: customer account number</p> + public string accountID { get; init; } + /// + /// <p>String: account type</p><br /><pre> 00 - turnover of current year<br /> 01 - discount of current year<br /> 02 - points<br /></pre> + /// + /// <p>String: account type</p><br /><pre> 00 - turnover of current year<br /> 01 - discount of current year<br /> 02 - points<br /></pre> + public string accountTypeCode { get; init; } + /// + /// <p>Money: account balance</p> + /// + /// <p>Money: account balance</p> + public ComGkSoftwarePosApiServiceCrmTypesMoney balance { get; init; } + /// + /// <p>String: return code for the customer account request</p> + /// + /// <p>String: return code for the customer account request</p> + public string accountQueryReturnCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerGroup.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c5d42bd7e31fe638a4b7a3c348374a114a21ab9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerGroup.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerGroup <p>Data object CustomerGroup</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesCustomerGroup { + /// + /// <p>String: customer group ID</p> + /// + /// <p>String: customer group ID</p> + public string customerGroupID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification.cs new file mode 100644 index 0000000000000000000000000000000000000000..9c2342674903ee50122030cc6b2d888c664af17d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerIdentification.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerIdentification <p>Entity for customer identification</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesCustomerIdentification { + /// + /// <p>Identification number</p> + /// + /// <p>Identification number</p> + public string identifier { get; init; } + /// + /// <p>Type of the identification number</p> + /// + /// <p>Type of the identification number</p> + public string partyIdentificationTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..7ed99707e51bb147d6401f17ba27d5c3a5119089 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerQueryResponse <p>response object customer query</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesCustomerQueryResponse { + /// + /// <p>String: customer ID</p> + /// + /// <p>String: customer ID</p> + public string customerID { get; init; } + /// + /// <p>String: account ID</p> + /// + /// <p>String: account ID</p> + public string accountID { get; init; } + /// + /// <p>EntityInformation_Person: person entity information</p> + /// + /// <p>EntityInformation_Person: person entity information</p> + public ComGkSoftwarePosApiServiceCrmTypesEntityInformationperson person { get; init; } + /// + /// <p>ContactMethod: contact method list</p> + /// + /// <p>ContactMethod: contact method list</p> + public List ContactMethodList { get; init; } + /// + /// <p>CustomerGroup: customer group list</p> + /// + /// <p>CustomerGroup: customer group list</p> + public List CustomerGroupList { get; init; } + /// + /// <p>CustomerAccount: customer account list</p> + /// + /// <p>CustomerAccount: customer account list</p> + public List CustomerAccountList { get; init; } + /// + /// <p>CustomerIdentification: customer identifications list</p> + /// + /// <p>CustomerIdentification: customer identifications list</p> + public List CustomerIdentificationList { get; init; } + /// + /// <p>boolean: Indicates that CRM is offline</p> + /// + /// <p>boolean: Indicates that CRM is offline</p> + public bool? crmOffline { get; init; } + /// + /// <p>String: card number</p> + /// + /// <p>String: card number</p> + public string cardNumber { get; init; } + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:<br /> CLIENT - Printout depends on client settings.<br /> PRINTONLY - Customer wants to have a printed receipt.<br /> MAILONLY - Customer wants to have the receipt per mail.<br /> NOTHING - Customer wants to have nothing.<br /> PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</p> + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:<br /> CLIENT - Printout depends on client settings.<br /> PRINTONLY - Customer wants to have a printed receipt.<br /> MAILONLY - Customer wants to have the receipt per mail.<br /> NOTHING - Customer wants to have nothing.<br /> PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</p> + public string preferredReceiptPrintoutTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1321ce782e88d308d7dc17a7a7f72ad07064fce --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesEntityInformationPerson.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// EntityInformation_Person <p>Object for holding person entity information</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesEntityInformationPerson { + /// + /// <p>String: first name</p> + /// + /// <p>String: first name</p> + public string firstName { get; init; } + /// + /// <p>String: last name</p> + /// + /// <p>String: last name</p> + public string lastName { get; init; } + /// + /// <p>Date: birth date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date: birth date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string birthDate { get; init; } + /// + /// <p>String: gender type</p> + /// + /// <p>String: gender type</p> + public string genderType { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesMoney.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesMoney.cs new file mode 100644 index 0000000000000000000000000000000000000000..e874309eb390dffc862422f018dcc8a0fc6cdb2e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesMoney.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// Money <p>Data object Money</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesMoney { + /// + /// <p>Double: Amount with decimal places</p> + /// + /// <p>Double: Amount with decimal places</p> + public double? amount { get; init; } + /// + /// <p>String: Currency of the amount</p> + /// + /// <p>String: Currency of the amount</p> + public string currency { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesTelephone.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesTelephone.cs new file mode 100644 index 0000000000000000000000000000000000000000..d9d2e2dac36f090ec927235bd78e51dd96ff6eee --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceCrmTypesTelephone.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// Telephone <p>Data object for telephone data</p> + /// + public record comGkSoftwarePosApiServiceCrmTypesTelephone { + /// + /// <p>String: country dialling code</p> + /// + /// <p>String: country dialling code</p> + public string countryDiallingCode { get; init; } + /// + /// <p>String: area</p> + /// + /// <p>String: area</p> + public string areaID { get; init; } + /// + /// <p>String: subscriber ID</p> + /// + /// <p>String: subscriber ID</p> + public string subscriberID { get; init; } + /// + /// <p>String: extension ID</p> + /// + /// <p>String: extension ID</p> + public string extensionID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7f907a3e4a7d09c661117b2e0e3bac8f725ca1ea --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreCustomerDataChangedDataEventRequest <p>Request object for StoreCustomerDataChangedDataEvent</p> + /// + public record comGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataChangedDataEventRequest { + /// + /// <p>The old customer data</p> + /// + /// <p>The old customer data</p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO oldCustomer { get; init; } + /// + /// <p>The new customer data</p> + /// + /// <p>The new customer data</p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomCustomerDO newCustomer { get; init; } + /// + /// <p>The reason for the change</p> + /// + /// <p>The reason for the change</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c61b817826ba4ac7bdfc27014bd9e8bf6947d906 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreCustomerDataCreatedDataEventRequest <p>Request object for StoreCustomerDataCreatedDataEvent</p> + /// + public record comGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataCreatedDataEventRequest { + /// + /// <p>The created customer data</p> + /// + /// <p>The created customer data</p> + public ComGkSoftwareGkrApiServerMdcustomerDtoDomcustomerDO customer { get; init; } + /// + /// <p>The reason for the creation</p> + /// + /// <p>The reason for the creation</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c89ae700bf1243d8b271e24e49389ee3a9b86c06 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreCustomerDataReadDataEventRequest <p>Request object for StoreCustomerDataReadDataEvent</p> + /// + public record comGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerDataReadDataEventRequest { + /// + /// <p>The customer data</p> + /// + /// <p>The customer data</p> + public ComGkSoftwareGkrApiServerMdcustomerDtoDomcustomerDO customer { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..650e79c915818fe72dfcf71b655464d71f1d1cd8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreCustomerSearchCriteriaEventRequest <p>Request object for StoreCustomerSearchCriteriaEvent</p> + /// + public record comGkSoftwarePosApiServiceDataPrivacyLogStoreCustomerSearchCriteriaEventRequest { + /// + /// <p>The customer filter/search criteria</p> + /// + /// <p>The customer filter/search criteria</p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomcustomerContactFilter customerContactFilter { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..37e8097f4566bd9512011b9db2a71085839753b4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ProcessDigitalReceiptRequest <p>Request entity for 'Add Digital Receipt' service.</p> + /// + public record comGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptRequest { + /// + /// <p>The action code which should be executed for the digital receipt (EMail / QRCode)</p> + /// + /// <p>The action code which should be executed for the digital receipt (EMail / QRCode)</p> + public digitalReceiptActionEnum? digitalReceiptAction { get; init; } + /// + /// <p>The action code for the email handling (Client / Backend)</p> + /// + /// <p>The action code for the email handling (Client / Backend)</p> + public digitalReceiptEmailActionEnum? digitalReceiptEmailAction { get; init; } + /// + /// <p>The pdf attachment that is the PDF base64 encoded combined receipts binary stream data</p> + /// + /// <p>The pdf attachment that is the PDF base64 encoded combined receipts binary stream data</p> + public string pdf { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..71275181cae7f7b87ccd3afb15d1b53f840ecbee --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ProcessDigitalReceiptResponse <p>Response entity for 'Add Digital Receipt' service.</p> + /// + public record comGkSoftwarePosApiServiceDigitalReceiptProcessDigitalReceiptResponse { + /// + /// <p>The status of the response.</p> + /// + /// <p>The status of the response.</p> + public statusCodeEnum statusCode { get; init; } + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicBasketRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicBasketRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..045c01c101d32cafd65341d0230ae83a96d808b1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicBasketRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// EwicBasketRequest <p>Request object for the EwicBasketRequest.</p> + /// + public record comGkSoftwarePosApiServiceEwicEwicBasketRequest { + /// + /// <p>Transaction : The current transaction</p> + /// + /// <p>Transaction : The current transaction</p> + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + /// + /// <p>String : State code for eWIC card</p> + /// + /// <p>String : State code for eWIC card</p> + public string stateCode { get; init; } + /// + /// <p>String : Expiration date for eWIC card</p> + /// + /// <p>String : Expiration date for eWIC card</p> + public string expirationDate { get; init; } + /// + /// <p>EwicItemSubcategoryBenefitsResult[] : Benefits, UOM and Item SubCategory Description</p> + /// + /// <p>EwicItemSubcategoryBenefitsResult[] : Benefits, UOM and Item SubCategory Description</p> + public List Prescription { get; init; } + /// + /// <p>EwicPaymentOperationConfig : The eWIC payment config</p> + /// + /// <p>EwicPaymentOperationConfig : The eWIC payment config</p> + public ComGkSoftwarePosApiModelConfigProcessActionewicPaymentOperationConfig ewicPaymentOperationConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicBasketResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicBasketResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..d67148a2851a5558e5a52829ea274d1fe3bdf74d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicBasketResult.cs @@ -0,0 +1,188 @@ +namespace POSGkSwaggerModel +{ + /// + /// EwicBasketResult <p>Result object for the EwicBasketResult.</p> + /// + public record comGkSoftwarePosApiServiceEwicEwicBasketResult { + /// + /// <p>EwicItemStatusType: Whether to apply WIC benefits for this item</p> + /// + /// <p>EwicItemStatusType: Whether to apply WIC benefits for this item</p> + public statusEnum? status { get; init; } + /// + /// <p>String : Item description from master data</p> + /// + /// <p>String : Item description from master data</p> + public string itemDescription { get; init; } + /// + /// <p>double : Quantity of item purchased</p> + /// + /// <p>double : Quantity of item purchased</p> + public double? quantity { get; init; } + /// + /// <p>String : UOM description</p> + /// + /// <p>String : UOM description</p> + public string uomDesc { get; init; } + /// + /// <p>double : Item extended amount</p> + /// + /// <p>double : Item extended amount</p> + public double? itemPrice { get; init; } + /// + /// <p>String : eWIC category description</p> + /// + /// <p>String : eWIC category description</p> + public string categoryDesc { get; init; } + /// + /// <p>String : eWIC sub-category description</p> + /// + /// <p>String : eWIC sub-category description</p> + public string subcategoryDesc { get; init; } + /// + /// <p>String : UOM code</p> + /// + /// <p>String : UOM code</p> + public string baseUOMCode { get; init; } + /// + /// <p>String : eWIC category code</p> + /// + /// <p>String : eWIC category code</p> + public string category { get; init; } + /// + /// <p>String : eWIC sub-category code</p> + /// + /// <p>String : eWIC sub-category code</p> + public string subcategory { get; init; } + /// + /// <p>String : Item number</p> + /// + /// <p>String : Item number</p> + public string upcPluNumber { get; init; } + /// + /// <p>short: Item index</p> + /// + /// <p>short: Item index</p> + public int? lineNumber { get; init; } + /// + /// <p>double: Quantity that is eligible to receive benefits, as obtained from the eWIC prescription</p> + /// + /// <p>double: Quantity that is eligible to receive benefits, as obtained from the eWIC prescription</p> + public double? benefitQuantity { get; init; } + /// + /// <p>double: Not to exceed price</p> + /// + /// <p>double: Not to exceed price</p> + public double? ntePrice { get; init; } + /// + /// <p>boolean: Specifies whether the item can be straddled</p> + /// + /// <p>boolean: Specifies whether the item can be straddled</p> + public bool? wicPurchaseIndicator { get; init; } + /// + /// <p>boolean: Specifies whether the item will be tendered partially with eWIC</p> + /// + /// <p>boolean: Specifies whether the item will be tendered partially with eWIC</p> + public bool? splitEwicTender { get; init; } + /// + /// <p>double: Item regular unit price</p> + /// + /// <p>double: Item regular unit price</p> + public double? regularUnitPrice { get; init; } + /// + /// <p>double: Item extended discount amount</p> + /// + /// <p>double: Item extended discount amount</p> + public double? extendedDiscountAmount { get; init; } + /// + /// <p>double: Item quantity multiply by item benefits quantity</p> + /// + /// <p>double: Item quantity multiply by item benefits quantity</p> + public double? amount { get; init; } + /// + /// <p>double: Item price for confirmation screen</p> + /// + /// <p>double: Item price for confirmation screen</p> + public double? itemDisplayPrice { get; init; } + /// + /// <p>double: Item variance price for NTE</p> + /// + /// <p>double: Item variance price for NTE</p> + public double? itemVariance { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bd33077173d7199b069fa0fe965ff440dcac0dd0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// EwicItemSubcategoryBenefitsRequest <p>Request object for the EWicItemSubCategoryBenefits.</p> + /// + public record comGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsRequest { + /// + /// <p>String : Item Category Code</p> + /// + /// <p>String : Item Category Code</p> + public string categoryCode { get; init; } + /// + /// <p>String : Item Sub Category Code</p> + /// + /// <p>String : Item Sub Category Code</p> + public string subcategoryCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..d98e46f9870e82075fc79aef628e5f2688c76d5a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult.cs @@ -0,0 +1,107 @@ +namespace POSGkSwaggerModel +{ + /// + /// EwicItemSubcategoryBenefitsResult <p>Result object for the EwicItemSubCategoryLib.</p> + /// + public record comGkSoftwarePosApiServiceEwicEwicItemSubcategoryBenefitsResult { + /// + /// <p>double: Benefits</p> + /// + /// <p>double: Benefits</p> + public double? benefits { get; init; } + /// + /// Gets or Sets Uom + /// + public string uom { get; init; } + /// + /// <p>String : Item Sub Category Description</p> + /// + /// <p>String : Item Sub Category Description</p> + public string subcategoryDesc { get; init; } + /// + /// <p>String : eWIC category code</p> + /// + /// <p>String : eWIC category code</p> + public string category { get; init; } + /// + /// <p>String : eWIC sub-category code</p> + /// + /// <p>String : eWIC sub-category code</p> + public string subcategory { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..d88ff902fedd02d377ddf7a30662e665073e213b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult.cs @@ -0,0 +1,91 @@ +namespace POSGkSwaggerModel +{ + /// + /// EwicMatchingPrescriptionResult TODO: undocumented + /// + public record comGkSoftwarePosApiServiceEwicEwicMatchingPrescriptionResult { + /// + /// Gets or Sets EwicBasketresult + /// + public List EwicBasketresult { get; init; } + /// + /// Gets or Sets Failure + /// + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartData.cs new file mode 100644 index 0000000000000000000000000000000000000000..ae582157b67e7735ab6396b0f24f5de349c3e36e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartData.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCartData <p>Representation of an external cart provided by an external order service</p> + /// + public record comGkSoftwarePosApiServiceExternalCartExternalCartData { + /// + /// <p>The cart ID.</p> + /// + /// <p>The cart ID.</p> + public string cartId { get; init; } + /// + /// <p>The customer ID.</p> + /// + /// <p>The customer ID.</p> + public string customerId { get; init; } + /// + /// <p>The total item count of this cart.</p> + /// + /// <p>The total item count of this cart.</p> + public int? totalItems { get; init; } + /// + /// <p>The count of items to pick up in a store.</p> + /// + /// <p>The count of items to pick up in a store.</p> + public int? pickupItems { get; init; } + /// + /// <p>The count of items to be delivered.</p> + /// + /// <p>The count of items to be delivered.</p> + public int? deliveryItems { get; init; } + /// + /// <p>The total price of the whole cart, including discounts and delivery costs.</p> + /// + /// <p>The total price of the whole cart, including discounts and delivery costs.</p> + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalPrice { get; init; } + /// + /// <p>The costs for delivery, usually calculated after the external service has all parameters, like delivery mode and delivery address.</p> + /// + /// <p>The costs for delivery, usually calculated after the external service has all parameters, like delivery mode and delivery address.</p> + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice deliveryCost { get; init; } + /// + /// <p>The total amount of discounts applied to the cart by the external service.</p> + /// + /// <p>The total amount of discounts applied to the cart by the external service.</p> + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalDiscounts { get; init; } + /// + /// <p>A flag signaling if the cart has been calculated and is ready for order.</p> + /// + /// <p>A flag signaling if the cart has been calculated and is ready for order.</p> + public bool? orderCalculated { get; init; } + /// + /// <p>The total price including taxes applied by the external service</p> + /// + /// <p>The total price including taxes applied by the external service</p> + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalPriceWithTax { get; init; } + /// + /// <p>The line items of the cart.</p> + /// + /// <p>The line items of the cart.</p> + public List Entries { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..d20f505d89083be83e5755e7284a2eeb51efe346 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataEntry.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCartDataEntry <p>A single line item entry in the external cart.</p> + /// + public record comGkSoftwarePosApiServiceExternalCartExternalCartDataEntry { + /// + /// <p>The reference number of the entry (usually an index number)</p> + /// + /// <p>The reference number of the entry (usually an index number)</p> + public int? entryNumber { get; init; } + /// + /// <p>The product occupying this cart entry</p> + /// + /// <p>The product occupying this cart entry</p> + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataproduct product { get; init; } + /// + /// <p>The quantity of the product in the cart entry</p> + /// + /// <p>The quantity of the product in the cart entry</p> + public int? quantity { get; init; } + /// + /// <p>The total price of this cart entry</p> + /// + /// <p>The total price of this cart entry</p> + public ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice totalPrice { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice.cs new file mode 100644 index 0000000000000000000000000000000000000000..fa7903a392ae04b065bad69d0c3732def7bef3c8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataPrice.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCartDataPrice <p>The pricing information type used in the ExternalCart</p> + /// + public record comGkSoftwarePosApiServiceExternalCartExternalCartDataPrice { + /// + /// <p>the price currency expressed as ISO code</p> + /// + /// <p>the price currency expressed as ISO code</p> + public string currencyIso { get; init; } + /// + /// <p>the price value</p> + /// + /// <p>the price value</p> + public double? value { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct.cs new file mode 100644 index 0000000000000000000000000000000000000000..25aa63538870c6a609fb91c7c3ba3d9da036676f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartDataProduct.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCartDataProduct <p>A single product representation.</p> + /// + public record comGkSoftwarePosApiServiceExternalCartExternalCartDataProduct { + /// + /// <p>The product identifier</p> + /// + /// <p>The product identifier</p> + public string code { get; init; } + /// + /// <p>The name of the product</p> + /// + /// <p>The name of the product</p> + public string name { get; init; } + /// + /// <p>A flag signaling if product is currently purchasable or not</p> + /// + /// <p>A flag signaling if product is currently purchasable or not</p> + public bool? purchasable { get; init; } + /// + /// <p>The stock information, if available.</p> + /// + /// <p>The stock information, if available.</p> + public int? stock { get; init; } + /// + /// <p>A deeplink url to the product on the external service</p> + /// + /// <p>A deeplink url to the product on the external service</p> + public string url { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..772d88cfdbe4592888b8f5865f6b88b4fe41d2e1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCartLineItemRequest <p>Add a lineitem to an external cart in external service</p> + /// + public record comGkSoftwarePosApiServiceExternalCartExternalCartLineItemRequest { + /// + /// <p>The cart id.</p> + /// + /// <p>The cart id.</p> + public string cartID { get; init; } + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerID { get; init; } + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + public string itemID { get; init; } + /// + /// <p>The quantity amount.</p> + /// + /// <p>The quantity amount.</p> + public int? quantity { get; init; } + /// + /// <p>Optional store identifier for pickups.</p> + /// + /// <p>Optional store identifier for pickups.</p> + public string pickupStore { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..afad079080874bc63a7dd03d3504bd2a42f8aaa7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCartExternalCartRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCartRequest <p>Lookup request object for external cart information</p> + /// + public record comGkSoftwarePosApiServiceExternalCartExternalCartRequest { + /// + /// <p>The cart id.</p> + /// + /// <p>The cart id.</p> + public string cartID { get; init; } + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerID { get; init; } + /// + /// <p>The anonymous cart id.</p><br /><pre> Note: some external services use different cart id schemes. See implementation for details<br /></pre> + /// + /// <p>The anonymous cart id.</p><br /><pre> Note: some external services use different cart id schemes. See implementation for details<br /></pre> + public string anonymousCartGUID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..32cdaa222f5650e615d5cd9fdecf15f697d0cb84 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCustomerAddressRequest <p>Create a new customer address in external repository</p> + /// + public record comGkSoftwarePosApiServiceExternalCustomerExternalCustomerAddressRequest { + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerID { get; init; } + /// + /// <p>Name of city. </p> + /// + /// <p>Name of city. </p> + public string city { get; init; } + /// + /// <p>Postal code.</p> + /// + /// <p>Postal code.</p> + public string postalCode { get; init; } + /// + /// <p>The ISO country code.</p> + /// + /// <p>The ISO country code.</p> + public string isoCountryCode { get; init; } + /// + /// <p>The address line 1</p> + /// + /// <p>The address line 1</p> + public string addressLine1 { get; init; } + /// + /// <p>The address line 2</p> + /// + /// <p>The address line 2</p> + public string addressLine2 { get; init; } + /// + /// <p>Name of territory</p> + /// + /// <p>Name of territory</p> + public string territory { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..93c29ece046a8ed1b28355ffaecaec366568594c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalCustomerDetailsRequest <p>Lookup request object for external customer information</p> + /// + public record comGkSoftwarePosApiServiceExternalCustomerExternalCustomerDetailsRequest { + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..615ca435295d4ad5f5b375ae79542dbab90a039b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalItemInformationRequest <p>Lookup request object for external item information</p> + /// + public record comGkSoftwarePosApiServiceExternalItemExternalItemInformationRequest { + /// + /// <p>The item id.</p> + /// + /// <p>The item id.</p> + public string itemID { get; init; } + /// + /// <p>The language code used for I18N.</p> + /// + /// <p>The language code used for I18N.</p> + public string language { get; init; } + /// + /// <p>The currency code.</p> + /// + /// <p>The currency code.</p> + public string currency { get; init; } + /// + /// <p>Specifies whether image urls should be resolved.</p> + /// + /// <p>Specifies whether image urls should be resolved.</p> + public bool? getImages { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7db305829025f437be64a17caecbcbcd326e4585 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalItemSearchRequest <p>Search request object for external item information</p> + /// + public record comGkSoftwarePosApiServiceExternalItemExternalItemSearchRequest { + /// + /// <p>The query used for item search.</p> + /// + /// <p>The query used for item search.</p> + public string query { get; init; } + /// + /// <p>describe language</p> + /// + /// <p>describe language</p> + public string language { get; init; } + /// + /// <p>The currency code.</p> + /// + /// <p>The currency code.</p> + public string currency { get; init; } + /// + /// <p>Specifies the max. record count to return.</p> + /// + /// <p>Specifies the max. record count to return.</p> + public int? recordCount { get; init; } + /// + /// <p>Specifies whether image urls should be resolved.</p> + /// + /// <p>Specifies whether image urls should be resolved.</p> + public bool? getImages { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderAddress.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderAddress.cs new file mode 100644 index 0000000000000000000000000000000000000000..aa12679291fd7115adb1868e419f4808c4d8a32e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderAddress.cs @@ -0,0 +1,127 @@ +namespace POSGkSwaggerModel +{ + /// + /// Address <p>Address object for deliveries and invoices used by the external order service</p> + /// + public record comGkSoftwarePosApiServiceExternalOrderAddress { + /// + /// Gets or Sets Title + /// + public string title { get; init; } + /// + /// <p>First name of the customer</p> + /// + /// <p>First name of the customer</p> + public string firstName { get; init; } + /// + /// <p>Last name of the customer</p> + /// + /// <p>Last name of the customer</p> + public string lastName { get; init; } + /// + /// <p>Address line 1</p> + /// + /// <p>Address line 1</p> + public string line1 { get; init; } + /// + /// <p>Address line 2</p> + /// + /// <p>Address line 2</p> + public string line2 { get; init; } + /// + /// <p>The city</p> + /// + /// <p>The city</p> + public string town { get; init; } + /// + /// <p>The zipcode</p> + /// + /// <p>The zipcode</p> + public string postalCode { get; init; } + /// + /// <p>The country to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + /// + /// <p>The country to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + public string country { get; init; } + /// + /// <p>The region to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + /// + /// <p>The region to deliver to.</p><br /><pre> Check the implementation for valid options.<br /></pre> + public string region { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c03c8b658a715913fbc436e9efbf12309077d5dc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// DeliveryAddressRequest <p>Request object for creating a delivery address on the external order service</p> + /// + public record comGkSoftwarePosApiServiceExternalOrderDeliveryAddressRequest { + /// + /// <p>The customers' ID</p> + /// + /// <p>The customers' ID</p> + public string customerID { get; init; } + /// + /// <p>The cart ID to set the address to</p> + /// + /// <p>The cart ID to set the address to</p> + public string cartID { get; init; } + /// + /// <p>First name of the customer</p> + /// + /// <p>First name of the customer</p> + public string firstName { get; init; } + /// + /// <p>Last name of the customer</p> + /// + /// <p>Last name of the customer</p> + public string lastName { get; init; } + /// + /// <p>Address line 1</p> + /// + /// <p>Address line 1</p> + public string line1 { get; init; } + /// + /// <p>Address line 2</p> + /// + /// <p>Address line 2</p> + public string line2 { get; init; } + /// + /// <p>The city</p> + /// + /// <p>The city</p> + public string town { get; init; } + /// + /// <p>The zipcode</p> + /// + /// <p>The zipcode</p> + public string postalCode { get; init; } + /// + /// <p>The country to deliver to. Check the implementation for valid options.</p> + /// + /// <p>The country to deliver to. Check the implementation for valid options.</p> + public string country { get; init; } + /// + /// <p>The region to deliver to. Check the implementation for valid options.</p> + /// + /// <p>The region to deliver to. Check the implementation for valid options.</p> + public string region { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b61e241ac0e34aed2ee69db4db2ade6f65a46d97 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// DeliveryModeRequest <p>Request object for setting the delivery mode on the external order service</p> + /// + public record comGkSoftwarePosApiServiceExternalOrderDeliveryModeRequest { + /// + /// <p>The customers' ID</p> + /// + /// <p>The customers' ID</p> + public string customerID { get; init; } + /// + /// <p>The cart ID to set the address to</p> + /// + /// <p>The cart ID to set the address to</p> + public string cartID { get; init; } + /// + /// <p>The mode how the order is delivered.</p><br /><pre> Check the implementation for valid options.<br /></pre> + /// + /// <p>The mode how the order is delivered.</p><br /><pre> Check the implementation for valid options.<br /></pre> + public string mode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ef1bad6878fd8eed6a81dcc3c637a4f69e7aa8ef --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest.cs @@ -0,0 +1,137 @@ +namespace POSGkSwaggerModel +{ + /// + /// PaymentDetailsRequest <p>Request object to set payment details for the external order</p><br /><pre> Note: Some external services need credit card informations to satisfy their interfaces. See implementation for details.<br /></pre> + /// + public record comGkSoftwarePosApiServiceExternalOrderPaymentDetailsRequest { + /// + /// <p>The customer's ID</p> + /// + /// <p>The customer's ID</p> + public string customerID { get; init; } + /// + /// Gets or Sets CartID + /// + public string cartID { get; init; } + /// + /// <p>The billing address for the external order</p> + /// + /// <p>The billing address for the external order</p> + public ComGkSoftwarePosApiServiceExternalOrderAddress billingAddress { get; init; } + /// + /// <p>The account holder of the credit card</p> + /// + /// <p>The account holder of the credit card</p> + public string accountHolderName { get; init; } + /// + /// <p>The credit card number</p> + /// + /// <p>The credit card number</p> + public string cardNumber { get; init; } + /// + /// <p>The credit card type.</p> + /// + /// <p>The credit card type.</p> + public string cardType { get; init; } + /// + /// <p>The cards' expiry month</p> + /// + /// <p>The cards' expiry month</p> + public string expiryMonth { get; init; } + /// + /// <p>The cards' expiry year</p> + /// + /// <p>The cards' expiry year</p> + public string expiryYear { get; init; } + /// + /// <p>A flag for setting this method as the future default payment</p> + /// + /// <p>A flag for setting this method as the future default payment</p> + public string defaultPayment { get; init; } + /// + /// <p>ISO language code</p> + /// + /// <p>ISO language code</p> + public string language { get; init; } + /// + /// <p>ISO currency code</p> + /// + /// <p>ISO currency code</p> + public string currency { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelDispenserTotalRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelDispenserTotalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8c89944beb8eda4959065d551f4ffee5e65ab541 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelDispenserTotalRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// DispenserTotalRequest <p>Request entity for Dispenser Total.</p> + /// + public record comGkSoftwarePosApiServiceFuelDispenserTotalRequest { + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + public string retailStoreId { get; init; } + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + public string workstationId { get; init; } + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + public string clientVersion { get; init; } + /// + /// <p>The operator.</p> + /// + /// <p>The operator.</p> + public ComGkSoftwareSweeSesApiServerUmoperatorDtoSoAbstractoperatorSO operator { get; init; } + /// + /// <p>The dispenser totals.</p> + /// + /// <p>The dispenser totals.</p> + public string dispenserTotals { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..62135f488b524596b7c7371152d47d638677490b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelFindPetrolItemRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindPetrolItemRequest <p>Request entity for Find Petrol Item Request.</p> + /// + public record comGkSoftwarePosApiServiceFuelFindPetrolItemRequest { + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + public string retailStoreId { get; init; } + /// + /// <p>The Nozzle id.</p> + /// + /// <p>The Nozzle id.</p> + public string nozzleId { get; init; } + /// + /// <p>The Fueling Point id.</p> + /// + /// <p>The Fueling Point id.</p> + public string fuellingPointId { get; init; } + /// + /// <p>The Grade id.</p> + /// + /// <p>The Grade id.</p> + public string gradeId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bd8dfdb3de2211449f52ddf6cbfb6975ac330d88 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceFuelFuelPriceChangeRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// FuelPriceChangeRequest <p>Request entity for Fuel Price Change Request.</p> + /// + public record comGkSoftwarePosApiServiceFuelFuelPriceChangeRequest { + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + public string retailStoreId { get; init; } + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + public string workstationId { get; init; } + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + public string clientVersion { get; init; } + /// + /// <p>The operator.</p> + /// + /// <p>The operator.</p> + public ComGkSoftwareSweeSesApiServerUmoperatorDtoSoAbstractoperatorSO operator { get; init; } + /// + /// <p>The fuel price changes.</p> + /// + /// <p>The fuel price changes.</p> + public string fuelPriceChanges { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0b68b224a69611a607e0947b2c01232753bdd6d2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ActivateHospitalityReceiptRequest <p>Request entity for 'activateHospitalityReceipt' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityActivateHospitalityReceiptRequest { + /// + /// <p>Flag to activate or deactivate hospitality receipt print.</p> + /// + /// <p>Flag to activate or deactivate hospitality receipt print.</p> + public bool? activate { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7028d9c4877cec7a625b26ae11004884194443e0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddLineItemCourseNumberRequest <p>Request entity for 'Add Line Item Course Number Request' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityAddLineItemCourseNumberRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + public bool? quantityAccumulationEnabled { get; init; } + /// + /// <p>The course number for adding to selected line item.</p> + /// + /// <p>The course number for adding to selected line item.</p> + public string courseNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..37961d6c5b1f1a1e42db8b709a474ced0957fb2a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest.cs @@ -0,0 +1,147 @@ +namespace POSGkSwaggerModel +{ + /// + /// BelatedVoidLineItemRequest <p>Request entity for 'BelatedVoidLineItem' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemRequest { + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The key of the tender authorization related to voided line item</p> + /// + /// <p>The key of the tender authorization related to voided line item</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactiontenderAuthorizationKey tenderAuthorizationKey { get; init; } + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + public string voidTypeCode { get; init; } + /// + /// <p>Flag indicating whether to copy the line item.</p> + /// + /// <p>Flag indicating whether to copy the line item.</p> + public bool? copyVoidedLineItem { get; init; } + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + public string giftCertCancellationId { get; init; } + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + public bool? storeTransaction { get; init; } + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + public bool? offlineMode { get; init; } + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + public bool? serviceScaleMode { get; init; } + /// + /// <p>The reason for the void.</p> + /// + /// <p>The reason for the void.</p> + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO voidReason { get; init; } + /// + /// Gets or Sets RecalculateTransaction + /// + public bool? recalculateTransaction { get; init; } + /// + /// <p>The quantity which should be voided from the line item.</p> + /// + /// <p>The quantity which should be voided from the line item.</p> + public int? toVoidQuantity { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..8993458295c6e4ddbbcb9e83cc2e50825b9c68eb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse.cs @@ -0,0 +1,147 @@ +namespace POSGkSwaggerModel +{ + /// + /// BelatedVoidLineItemResponse <p>Response entity for 'BelatedVoidLineItem' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityBelatedVoidLineItemResponse { + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The key of the tender authorization related to voided line item</p> + /// + /// <p>The key of the tender authorization related to voided line item</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactiontenderAuthorizationKey tenderAuthorizationKey { get; init; } + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + public string voidTypeCode { get; init; } + /// + /// <p>Flag indicating whether to copy the line item.</p> + /// + /// <p>Flag indicating whether to copy the line item.</p> + public bool? copyVoidedLineItem { get; init; } + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + public string giftCertCancellationId { get; init; } + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + public bool? storeTransaction { get; init; } + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + public bool? offlineMode { get; init; } + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + public bool? serviceScaleMode { get; init; } + /// + /// <p>The reason for the void.</p> + /// + /// <p>The reason for the void.</p> + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO voidReason { get; init; } + /// + /// Gets or Sets RecalculateTransaction + /// + public bool? recalculateTransaction { get; init; } + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d1d30039f4041c4f81ef7ad2025842a33879fb7b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ChangeTableOwnerRequest <p>Request entity for 'Change Table Owner' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityChangeTableOwnerRequest { + /// + /// <p>The list of 'Table Status' object which should b used to update the table owner. </p> + /// + /// <p>The list of 'Table Status' object which should b used to update the table owner. </p> + public List TableStatusList { get; init; } + /// + /// <p>The position operation configuration (need e.g. finalization of transactions)</p> + /// + /// <p>The position operation configuration (need e.g. finalization of transactions)</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..64842f5f9f0e8984343b2ea109d0e6e67239c062 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ChangeTableOwnerResponse <p>Response entity for 'Change Table Owner' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityChangeTableOwnerResponse { + /// + /// <p>The list of transaction objects which were created.</p> + /// + /// <p>The list of transaction objects which were created.</p> + public List TransactionList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a3ea53a33840860bc623c0322a4d963c2374d005 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateBelatedTipTransactionRequest <p>Request entity for 'Create Belated Tip Transaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..c5e5dd93bb03f6b676ef9e8899d131f68ad982e5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateBelatedTipTransactionResponse <p>Response entity for 'Create Belated Tip Transaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityCreateBelatedTipTransactionResponse { + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8a9e6399aaa852936f0dd3b84818f2fa4d6f22bc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateOrRetrieveTransactionRequest <p>Request entity for 'CreateOrRetrieveTransaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionRequest { + /// + /// <p>Transaction type code of the transaction which is created or retrieved. </p> + /// + /// <p>Transaction type code of the transaction which is created or retrieved. </p> + public transactionTypeCodeEnum? transactionTypeCode { get; init; } + /// + /// <p>Table name of a new table</p> + /// + /// <p>Table name of a new table</p> + public string tableName { get; init; } + /// + /// <p>TransactionId of the last transaction of the table</p> + /// + /// <p>TransactionId of the last transaction of the table</p> + public string lastTransactionId { get; init; } + /// + /// <p>Transaction DO of the last transaction of the table</p> + /// + /// <p>Transaction DO of the last transaction of the table</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction lastTransaction { get; init; } + /// + /// <p>Defines if the created or retrieved transaction should be a scoped transaction (default: false)</p> + /// + /// <p>Defines if the created or retrieved transaction should be a scoped transaction (default: false)</p> + public bool? scopedTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..5701074339328e1f41cf9cc2deaf7008365522d0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateOrRetrieveTransactionResponse <p>Response entity for 'CreateOrRetrieveTransaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityCreateOrRetrieveTransactionResponse { + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..444cdf51a7d8b3d763afb5e0a19d59bb1160593c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// DeleteLineItemCourseNumberRequest <p>Request entity for 'Delete Line Item Course Number Request' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityDeleteLineItemCourseNumberRequest { + /// + /// <p>The line item key of the line item in source transaction which should be modified.</p> + /// + /// <p>The line item key of the line item in source transaction which should be modified.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p> + /// + /// <p>It defines if the quantity of line items with the same item should be accumulated.</p> + public bool? quantityAccumulation { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2c5a655465a1294937fce477a7b187896af0ce9d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinalizeMovementTransactionsRequest <p>Request entity for 'FinalizeMovementTransactions' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsRequest { + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..4616353cccc6adf90979807e8709c9f826ed2b48 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinalizeMovementTransactionsResponse <p>Response entity for 'FinalizeMovementTransactions' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityFinalizeMovementTransactionsResponse { + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d3f59d133ae095fdd9295c2759ea3cf51a38eba0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// IsLineItemAddedOrVoidedRequest <p>Request entity for 'IsLineItemAddedOrVoided' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..80c0c77bbbf65f17ec8046d2a1dacb35eb0d000e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// IsLineItemAddedOrVoidedResponse <p>Response entity for 'IsLineItemAddedOrVoided' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityIsLineItemAddedOrVoidedResponse { + /// + /// <p>Flag that contains the result of the operation. It indicates if the transaction contains new or voided positions.</p> + /// + /// <p>Flag that contains the result of the operation. It indicates if the transaction contains new or voided positions.</p> + public bool? lineItemAddedOrModified { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca920fa443bda06053d866233ad3472e8b4f113d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoadComboMealItemsRequest <p>Request entity for loading of 'ComboMeal' items</p> + /// + public record comGkSoftwarePosApiServiceHospitalityLoadComboMealItemsRequest { + /// + /// <p>The unique identifier of the business unit group</p> + /// + /// <p>The unique identifier of the business unit group</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>The item id</p> + /// + /// <p>The item id</p> + public string itemId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..633aaf5206cbd295cf9507f997fb5a9fb875b87c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoadComboMealItemsResponse <p>Response entity for loading of 'ComboMeal' items</p> + /// + public record comGkSoftwarePosApiServiceHospitalityLoadComboMealItemsResponse { + /// + /// <p>The loaded combo meal item</p> + /// + /// <p>The loaded combo meal item</p> + public ComGkSoftwarePosApiServiceHospitalityPoscomboMealItem comboMealItem { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5e61816589a8c94d7cad5a3aa35f5ce9e26e4cfb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoadCondimentsRequest <p>Request entity for loading of condiments.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityLoadCondimentsRequest { + /// + /// <p>The business unit group ID.</p> + /// + /// <p>The business unit group ID.</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>The main merchandise hierarchy group ID.</p> + /// + /// <p>The main merchandise hierarchy group ID.</p> + public string mainMerchandiseHierarchyGroupId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..31357241dd5dee24cba758c4a265fe650300e62f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoadCondimentsResponse <p>Response entity for loading of condiments.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityLoadCondimentsResponse { + /// + /// <p>List of condiment components.</p> + /// + /// <p>List of condiment components.</p> + public List RelatedComponents { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6a89eead8469edef758682d7c47e40362042576f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoadTableStatusRequest <p>Request entity for 'Load Table Status' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityLoadTableStatusRequest { + /// + /// <p>The business unit ID (Retail Store ID).</p> + /// + /// <p>The business unit ID (Retail Store ID).</p> + public string businessUnitId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..8809c139b0d18f96667b1b2b2a07514d4d144bae --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoadTableStatusResponse <p>Response entity for 'Load Table Status' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityLoadTableStatusResponse { + /// + /// <p>List of tables in the response.</p> + /// + /// <p>List of tables in the response.</p> + public List TableStatusList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..1b527010126a1320ed48bd9898bad9adba13d93e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItem.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// MoveLineItem <p>Entity with information of the line item which should be moved.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityMoveLineItem { + /// + /// <p>The line item key of the line item in source transaction which should be moved.</p> + /// + /// <p>The line item key of the line item in source transaction which should be moved.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The quantity of the line item in source transaction which should be moved to targetTransaction.</p> + /// + /// <p>The quantity of the line item in source transaction which should be moved to targetTransaction.</p> + public int? toMoveQuantity { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f0b3f30baa740fd57a5abd8352ac9451d92498a0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// MoveLineItemsRequest <p>Request entity for 'MoveLineItems' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityMoveLineItemsRequest { + /// + /// <p>The identifier for the source transaction.</p> + /// + /// <p>The identifier for the source transaction.</p> + public string sourceTransactionKey { get; init; } + /// + /// <p>The identifier for the target transaction.</p> + /// + /// <p>The identifier for the target transaction.</p> + public string targetTransactionKey { get; init; } + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + /// + /// <p>The position operation configuration (need e.g. for internal void operations).</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>Flag is all line items should be moved.</p> + /// + /// <p>Flag is all line items should be moved.</p> + public bool? moveAllLineItems { get; init; } + /// + /// <p>List of line items which should be moved.</p> + /// + /// <p>List of line items which should be moved.</p> + public List LineItemList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..d97dc54f87de9a9ef5068682c2bfeaa9f420d3c8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// MoveLineItemsResponse <p>Response entity for 'MoveLineItems' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityMoveLineItemsResponse { + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..a2a39851c88af5312559088aab3263a614a3fdc4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosComboMealComponent.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosComboMealComponent <p>Entity for a combo meal item component</p> + /// + public record comGkSoftwarePosApiServiceHospitalityPosComboMealComponent { + /// + /// <p>The related association type of the combo meal item component</p> + /// + /// <p>The related association type of the combo meal item component</p> + public ComGkSoftwareGkrApiServerMdrelatedItemAssociationTypeDtoDomrelatedItemAssociationTypeDO relatedItemAssociationType { get; init; } + /// + /// <p>List of related items (standard items)</p> + /// + /// <p>List of related items (standard items)</p> + public List RelatedItems { get; init; } + /// + /// <p>The max price of all standard items of the component.</p> + /// + /// <p>The max price of all standard items of the component.</p> + public double? relatedItemsMaxPrice { get; init; } + /// + /// <p>List of alternative related items (alternative items)</p> + /// + /// <p>List of alternative related items (alternative items)</p> + public List AlternativeRelatedItems { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosComboMealItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosComboMealItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..2831d27f09e10c9b8837d61a4db7a34f4797973e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosComboMealItem.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosComboMealItem <p>Entity for the Combo meal item (main item)</p> + /// + public record comGkSoftwarePosApiServiceHospitalityPosComboMealItem { + /// + /// <p>Name of the combo meal item</p> + /// + /// <p>Name of the combo meal item</p> + public string name { get; init; } + /// + /// <p>List of components of the combo meal item</p> + /// + /// <p>List of components of the combo meal item</p> + public List RelatedComponents { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..839868a6e84c8edb83d6b8179e407e93e2963a70 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosCondimentComponent.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosCondimentComponent <p>Entity for a condiment item component</p> + /// + public record comGkSoftwarePosApiServiceHospitalityPosCondimentComponent { + /// + /// <p>The related association type of the combo meal item component</p> + /// + /// <p>The related association type of the combo meal item component</p> + public ComGkSoftwareGkrApiServerMdrelatedItemAssociationTypeDtoDomrelatedItemAssociationTypeDO relatedItemAssociationType { get; init; } + /// + /// <p>List of related items.</p> + /// + /// <p>List of related items.</p> + public List RelatedItems { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosRelatedItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosRelatedItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..69e9e7eff986f2e809086c9b52133eba92b0a1e3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPosRelatedItem.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosRelatedItem <p>Entity for a related items.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityPosRelatedItem { + /// + /// <p>The quantity.</p> + /// + /// <p>The quantity.</p> + public int? quantity { get; init; } + /// + /// <p>The original related item</p> + /// + /// <p>The original related item</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosRelateditemView itemView { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a74471c2eafe2ffb8877d85a5afefed75de87059 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// PreparePrintOrderDataRequest <p>Request entity for 'PreparePrintOrderData' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataRequest { + /// + /// <p>The print order configuration.</p> + /// + /// <p>The print order configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsprintOrderConfig printOrderConfig { get; init; } + /// + /// <p>The transaction to use. This is an optional parameter, if it is not set the current active transaction will be used.</p> + /// + /// <p>The transaction to use. This is an optional parameter, if it is not set the current active transaction will be used.</p> + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + /// + /// <p>List of line items to use. The is used as provided, no filter is applied.</p> + /// + /// <p>List of line items to use. The is used as provided, no filter is applied.</p> + public List LineItemList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..02d6002768bf6a5a47c1cb8a583b3d1f484663e3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// PreparePrintOrderDataResponse <p>Response entity for 'PreparePrintOrderData' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityPreparePrintOrderDataResponse { + /// + /// <p>The result list contains the collected data that must be printed.</p> + /// + /// <p>The result list contains the collected data that must be printed.</p> + public List PrintOrderDataList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPrintOrderData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPrintOrderData.cs new file mode 100644 index 0000000000000000000000000000000000000000..79630ff9b19c2fa1c362858d4685b92859609e22 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityPrintOrderData.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrintOrderData <p>Entity that describes printo order data. One instance consists of configuration plus list of related line items.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityPrintOrderData { + /// + /// <p>The MHG2Printer assignment configuration.</p> + /// + /// <p>The MHG2Printer assignment configuration.</p> + public ComGkSoftwarePosApiModelconfigProcessFlowsMerchandiseHierarchyGroupPrinterAssignmentconfig config { get; init; } + /// + /// <p>The course number for the printer report</p> + /// + /// <p>The course number for the printer report</p> + public string courseNumber { get; init; } + /// + /// <p>List of line items that matches the corresponding configuration.</p> + /// + /// <p>List of line items that matches the corresponding configuration.</p> + public List LineItemList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0d29174061eb6bc137e9045ddeea94f60a319cef --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// RecoverTransactionRequest <p>Request entity for 'RecoverTransaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityRecoverTransactionRequest { + /// + /// <p>The table status that matches the table name of transaction to recover.</p> + /// + /// <p>The table status that matches the table name of transaction to recover.</p> + public ComGkSoftwarePosApiServiceHospitalitytableStatus tableStatus { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..9362b12c9aadd5040a76c44bf3cfb1484e2ce57e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// RecoverTransactionResponse <p>Response entity for 'RecoverTransaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityRecoverTransactionResponse { + /// + /// <p>May contain the transaction that is used for recovery.</p> + /// + /// <p>May contain the transaction that is used for recovery.</p> + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + /// + /// <p>Indicates whether the recovery was aborted.</p> + /// + /// <p>Indicates whether the recovery was aborted.</p> + public bool? recoveryAborted { get; init; } + /// + /// <p>Indicates whether the table relation was cleared.</p> + /// + /// <p>Indicates whether the table relation was cleared.</p> + public bool? tableRelationCleared { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9a21bc81f7305f1a004e358c41d5d39cbcce64e6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterCondimentsRequest <p>The request entity of 'Enter Condiment' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityRegisterCondimentsRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + /// + /// <p>Specifies whether quantity accumulation is enabled.</p> + public bool? quantityAccumulationEnabled { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>List of components containing the selected condiments that should be registered.</p> + /// + /// <p>List of components containing the selected condiments that should be registered.</p> + public List RelatedComponents { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6e188bfd16b6905de6589512a6297eafc76cfd95 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ResetToFoodOrderTransactionRequest <p>Request entity for 'ResetToFoodOrderTransaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionRequest { + /// + /// <p>Flag if transaction should be stored after the reset changes (default is true).</p> + /// + /// <p>Flag if transaction should be stored after the reset changes (default is true).</p> + public bool? storeTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..6a5e04f82d04e99209ac722ae5eba0286bb4d70f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ResetToFoodOrderTransactionResponse <p>Response entity for 'ResetToFoodOrderTransaction' service.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityResetToFoodOrderTransactionResponse { + /// + /// <p>The entity describing the transaction result of the operation.</p> + /// + /// <p>The entity describing the transaction result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityTableStatus.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityTableStatus.cs new file mode 100644 index 0000000000000000000000000000000000000000..0b17665583a8fd4aba4d590cbb4ed92bc3b60cb4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceHospitalityTableStatus.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// TableStatus <p>Entity which represents the status of a table.</p> + /// + public record comGkSoftwarePosApiServiceHospitalityTableStatus { + /// + /// <p>Status of the table</p> + /// + /// <p>Status of the table</p> + public statusEnum? status { get; init; } + /// + /// <p>Number of the table (e.g. 10 or 10.1)</p> + /// + /// <p>Number of the table (e.g. 10 or 10.1)</p> + public string tableName { get; init; } + /// + /// <p>Current total of all open/unpaid line items of the table</p> + /// + /// <p>Current total of all open/unpaid line items of the table</p> + public double? total { get; init; } + /// + /// <p>Workstation where the table is currently in progress. Only filled if Status = InProgress</p> + /// + /// <p>Workstation where the table is currently in progress. Only filled if Status = InProgress</p> + public string currentWorkstationId { get; init; } + /// + /// <p>TransactionId of the last transaction of the table. The 'linked' transaction contains all relevant data of the table</p> + /// + /// <p>TransactionId of the last transaction of the table. The 'linked' transaction contains all relevant data of the table</p> + public string lastTransactionId { get; init; } + /// + /// <p>Transaction DO of the last transaction</p> + /// + /// <p>Transaction DO of the last transaction</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction lastTransaction { get; init; } + /// + /// <p>Workstation of the last modification</p> + /// + /// <p>Workstation of the last modification</p> + public string lastWorkstationId { get; init; } + /// + /// <p>Id of the table owner (opened the table or handover)</p> + /// + /// <p>Id of the table owner (opened the table or handover)</p> + public string tableOwnerId { get; init; } + /// + /// <p>First name of the table owner</p> + /// + /// <p>First name of the table owner</p> + public string tableOwnerFirstName { get; init; } + /// + /// <p>Last name of the table owner</p> + /// + /// <p>Last name of the table owner</p> + public string tableOwnerLastName { get; init; } + /// + /// <p>Checksum of the transaction </p> + /// + /// <p>Checksum of the transaction </p> + public string checksum { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ed5295683dfa4c7ffaba6d6bb745592e4c65a727 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateCompleteVoidTransactionRequest <p>The entity CreateCompleteVoidTransactionRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayCreateCompleteVoidTransactionRequest { + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>The receipt text for DownPayment LineItem.</p> + /// + /// <p>The receipt text for DownPayment LineItem.</p> + public string downPaymentReceiptText { get; init; } + /// + /// <p>The receipt text for Fee LineItem.</p> + /// + /// <p>The receipt text for Fee LineItem.</p> + public string cancellationFeeReceiptText { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9a9f3945c9523fb87170702a720684d26203a9d4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest.cs @@ -0,0 +1,87 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateCustomerTransactionRequest <p>The Entity CreateCustomerTransactionRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayCreateCustomerTransactionRequest { + /// + /// Gets or Sets Layaway + /// + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..317cd54b177b15332abe1b8a1882956c0566aa02 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateLayawayExtendTransactionRequest <p>The entity CreateLayawayExtendTransactionRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayCreateLayawayExtendTransactionRequest { + /// + /// <p>The Layaway which should be used to create the extend expiration date transaction out of it.</p> + /// + /// <p>The Layaway which should be used to create the extend expiration date transaction out of it.</p> + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>Count of valid days.</p> + /// + /// <p>Count of valid days.</p> + public int? layawayValidDays { get; init; } + /// + /// <p>Count of payment days.</p> + /// + /// <p>Count of payment days.</p> + public int? paymentDays { get; init; } + /// + /// <p>Time after expiration Layway can shipped.</p> + /// + /// <p>Time after expiration Layway can shipped.</p> + public int? toleranceTime { get; init; } + /// + /// <p>Time when Layaway will be deleted if expired.</p> + /// + /// <p>Time when Layaway will be deleted if expired.</p> + public int? deletingTime { get; init; } + /// + /// <p>Time when Layaway will be expired. Substitutes defined expiration date on Layaway creation.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Time when Layaway will be expired. Substitutes defined expiration date on Layaway creation.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string newExpirationDate { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f138780b154db5c8cbc3831984b5c58dd48ea8ca --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreatePartialVoidTransactionRequest <p>The entity CreatePartialVoidTransactionRequest.</p> + /// + public record comGkSoftwarePosApiServiceLayawayCreatePartialVoidTransactionRequest { + /// + /// <p>Layaway is a data object to hold attributes for layaway process </p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process </p> + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>List of partial void line item information which holds the selection (quantity) data</p> + /// + /// <p>List of partial void line item information which holds the selection (quantity) data</p> + public List LineItemInfoList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a6ce680e1a9f42b6829ce2d1782376fae19cbf87 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateRetrieveMoneyTransactionRequest <p>The entity CreateRetrieveMoneyTransactionRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayCreateRetrieveMoneyTransactionRequest { + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + /// + /// <p>The layaway which should be used to create the complete void transaction out of it.</p> + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>The receipt text for DownPayment LineItem.</p> + /// + /// <p>The receipt text for DownPayment LineItem.</p> + public string downPaymentReceiptText { get; init; } + /// + /// <p>The receipt text for Fee LineItem.</p> + /// + /// <p>The receipt text for Fee LineItem.</p> + public string penaltyFeeReceiptText { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cfdd3bb2279cd9241661ae1ddb2526b942ce0206 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// DownPaymentAndFeeLineItemRequest <p>The entity DownPaymentAndFeeLineItemRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayDownPaymentAndFeeLineItemRequest { + /// + /// <p>initial down payment amount has to be paid.</p> + /// + /// <p>initial down payment amount has to be paid.</p> + public double? downPaymentAmount { get; init; } + /// + /// <p>Service fee amount has to be paid.</p> + /// + /// <p>Service fee amount has to be paid.</p> + public double? serviceFeeAmount { get; init; } + /// + /// <p>The receipt text for service fee line item.</p> + /// + /// <p>The receipt text for service fee line item.</p> + public string serviceFeeReceiptText { get; init; } + /// + /// <p>The receipt text for down payment line item.</p> + /// + /// <p>The receipt text for down payment line item.</p> + public string downPaymentReceiptText { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7aed973977f9709c8275d06f08a1e75da57c5d2a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// DownPaymentTransactionRequest <p>The entity DownPaymentTransactionRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayDownPaymentTransactionRequest { + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>The parameter defines, if a negative or a positive down payment line item is created.</p> + /// + /// <p>The parameter defines, if a negative or a positive down payment line item is created.</p> + public bool? createDownpayment { get; init; } + /// + /// <p>The down payment amount</p> + /// + /// <p>The down payment amount</p> + public double? downPaymentAmount { get; init; } + /// + /// <p>The receipt text for down payment line item.</p> + /// + /// <p>The receipt text for down payment line item.</p> + public string downPaymentReceiptText { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6f675f985ca6742bb61d55c1d6aaaa67797b122f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinalPaymentTransactionRequest <p>The entity FinalPaymentTransactionRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayFinalPaymentTransactionRequest { + /// + /// <p>The parameter controls the promotion behavior for the final payment of the layaway. Possible values are: BEST_PRICE, INITIAL_PRICE, FINAL_PRICE (Default is BEST_PRICE).</p> + /// + /// <p>The parameter controls the promotion behavior for the final payment of the layaway. Possible values are: BEST_PRICE, INITIAL_PRICE, FINAL_PRICE (Default is BEST_PRICE).</p> + public promotionHandlingEnum? promotionHandling { get; init; } + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>The receipt text for down payment line item.</p> + /// + /// <p>The receipt text for down payment line item.</p> + public string downPaymentReceiptText { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..56cb2aa38f5ccc1d8cc3ae05f5e61201524cb1b8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindLayawayByCriteriaRequest <p>The entity FindLayawayByCriteriaRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaRequest { + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + public string businessUnitId { get; init; } + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + public string workstationId { get; init; } + /// + /// <p>aThe criterion which is used to find the layaway summary</p> + /// + /// <p>aThe criterion which is used to find the layaway summary</p> + public string endWorkstationId { get; init; } + /// + /// <p>The criterion which is used to find the layaway summary</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The criterion which is used to find the layaway summary</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string businessDayDate { get; init; } + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + public string sequenceNumber { get; init; } + /// + /// <p>The criterion which is used to find the layaway summary</p> + /// + /// <p>The criterion which is used to find the layaway summary</p> + public string transactionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..9e08687cf720b94137609e7e264ace16dc000dc7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindLayawayByCriteriaResponse <p>The entity FindLayawayByCriteriaResponse</p> + /// + public record comGkSoftwarePosApiServiceLayawayFindLayawayByCriteriaResponse { + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + public ComGkSoftwareGkrApiLayawayDtolayawaySummary layawaySummary { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3187d2cbb784f1e3a9540e8f3d4bfbb480a7a473 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindLayawayListByCriteriaRequest <p>The entity FindLayawayListByCriteriaRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaRequest { + /// + /// <p>The business unit ID which is used to find the layaway summary</p> + /// + /// <p>The business unit ID which is used to find the layaway summary</p> + public string businessUnitId { get; init; } + /// + /// <p>Whether to include suspended layaways in the search</p> + /// + /// <p>Whether to include suspended layaways in the search</p> + public bool? suspended { get; init; } + /// + /// <p>Whether to include terminated layaways in the search</p> + /// + /// <p>Whether to include terminated layaways in the search</p> + public bool? terminated { get; init; } + /// + /// <p>Whether to include fulfilled layaways in the search</p> + /// + /// <p>Whether to include fulfilled layaways in the search</p> + public bool? fulfilled { get; init; } + /// + /// <p>Whether to include voided layaways in the search</p> + /// + /// <p>Whether to include voided layaways in the search</p> + public bool? voided { get; init; } + /// + /// <p>Whether to include expired layaways in the search</p> + /// + /// <p>Whether to include expired layaways in the search</p> + public bool? expired { get; init; } + /// + /// <p>The customer ID which is used to find the layaway summary</p> + /// + /// <p>The customer ID which is used to find the layaway summary</p> + public string customerId { get; init; } + /// + /// <p>The address type code of the customer which is used to find the layaway summary</p> + /// + /// <p>The address type code of the customer which is used to find the layaway summary</p> + public string customerAddressTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..adb464a91d083653bad54cd7e4bab2d79df5d7aa --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindLayawayListByCriteriaResponse <p>The entity FindLayawayListByCriteriaResponse</p> + /// + public record comGkSoftwarePosApiServiceLayawayFindLayawayListByCriteriaResponse { + /// + /// <p>All matching layaway data objects holding attributes for layaway process</p> + /// + /// <p>All matching layaway data objects holding attributes for layaway process</p> + public List LayawaySummaryList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9556dc73975855b7c58afbd0ee8d81e806c5e26f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// OpenScopedTxForLayawayRequest <p>The entity OpenScopedTxForLayawayRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayOpenScopedTxForLayawayRequest { + /// + /// <p>The scope which should be used for the scoped transaction.</p> + /// + /// <p>The scope which should be used for the scoped transaction.</p> + public string scope { get; init; } + /// + /// <p>The layaway which should be used to create the scoped transaction out of it.</p> + /// + /// <p>The layaway which should be used to create the scoped transaction out of it.</p> + public ComGkSoftwareGkrApilayawayDtolayawaySummary layaway { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..fe99aed6867562062791194dd66b0d978b6898e2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PartialVoidLineItemInfo <p>The entity for holding information about the original line item from layaway (sequence number) and the selected 'for void' quantity</p> + /// + public record comGkSoftwarePosApiServiceLayawayPartialVoidLineItemInfo { + /// + /// <p>Original sequence number of the line item in the layaway </p> + /// + /// <p>Original sequence number of the line item in the layaway </p> + public int? lineItemSequenceNumber { get; init; } + /// + /// <p>Selected quantity which should be voided vor the line item</p> + /// + /// <p>Selected quantity which should be voided vor the line item</p> + public double? voidQuantity { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e919504448aa9e4863d10f3296138b7fa696652e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPaymentPlanRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// PaymentPlanRequest <p>Request of a Calculation of Payment Plan</p> + /// + public record comGkSoftwarePosApiServiceLayawayPaymentPlanRequest { + /// + /// <p>Count of valid Days.</p> + /// + /// <p>Count of valid Days.</p> + public int? layawayValidDays { get; init; } + /// + /// <p>Count of payment Days.</p> + /// + /// <p>Count of payment Days.</p> + public int? paymentDays { get; init; } + /// + /// <p>Time after expiration layway can shipped.</p> + /// + /// <p>Time after expiration layway can shipped.</p> + public int? toleranceTime { get; init; } + /// + /// <p>Time when Layaway will be deleted if expired.</p> + /// + /// <p>Time when Layaway will be deleted if expired.</p> + public int? deletingTime { get; init; } + /// + /// <p>Fee Percent for cancellation a Layaway.</p> + /// + /// <p>Fee Percent for cancellation a Layaway.</p> + public double? cancellationFeePercent { get; init; } + /// + /// <p>Fee Amount for cancellation a Layaway.</p> + /// + /// <p>Fee Amount for cancellation a Layaway.</p> + public double? cancellationFeeAmount { get; init; } + /// + /// <p>penalty fee percent if layway expired or cancelled.</p> + /// + /// <p>penalty fee percent if layway expired or cancelled.</p> + public double? penaltyFeePercent { get; init; } + /// + /// <p>penalty fee amount if layway expired or cancelled.</p> + /// + /// <p>penalty fee amount if layway expired or cancelled.</p> + public double? penaltyFeeAmount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPaymentPlanResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPaymentPlanResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..151fb1a9ebade8b522c0792fbd1a78f25a543d79 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayPaymentPlanResult.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// PaymentPlanResult <p>empty Result, plan is inside transaction.</p> + /// + public record comGkSoftwarePosApiServiceLayawayPaymentPlanResult { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8a7de2254bcb72569af7e28e3a6828b2f6ee74d8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLayawayValidateLayawayRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ValidateLayawayRequest <p>The Entity ValidateLayawayRequest</p> + /// + public record comGkSoftwarePosApiServiceLayawayValidateLayawayRequest { + /// + /// <p>The process from which the validation is called</p> + /// + /// <p>The process from which the validation is called</p> + public string callingFunction { get; init; } + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + /// + /// <p>Layaway is a data object to hold attributes for layaway process</p> + public ComGkSoftwareGkrApiLayawayDtolayawaySummary layawaySummary { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ff799f0f9e58c5ca476f09fa521f7fa78aee9788 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceLoyaltyTypesPointsRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// PointsRequest <p>The entity PointsRequest</p> + /// + public record comGkSoftwarePosApiServiceLoyaltyTypesPointsRequest { + /// + /// <p>String: account ID</p> + /// + /// <p>String: account ID</p> + public string accountID { get; init; } + /// + /// <p>double: points</p> + /// + /// <p>double: points</p> + public double? points { get; init; } + /// + /// <p>String: store ID</p> + /// + /// <p>String: store ID</p> + public string storeID { get; init; } + /// + /// <p>String: transaction ID</p> + /// + /// <p>String: transaction ID</p> + public string transactionID { get; init; } + /// + /// <p>Indicates whether service should be called in training mode.</p> + /// + /// <p>Indicates whether service should be called in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca32cd57020a83b2a4268718a63654036a7c6a28 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest.cs @@ -0,0 +1,91 @@ +namespace POSGkSwaggerModel +{ + /// + /// BaseClientMasterDataRequest <p>String: business unit iD<br /> BusinessUnitTextRequest: BusinessUnitTextRequest</p> + /// + public record comGkSoftwarePosApiServiceMasterdataBaseClientMasterDataRequest { + /// + /// Gets or Sets BusinessUnitId + /// + public string businessUnitId { get; init; } + /// + /// Gets or Sets BusinessUnitTextFooterLinesRequest + /// + public ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest businessUnitTextFooterLinesRequest { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..37a58a2053a4962515d24d7859cfcb93ce750cee --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// BaseClientMasterDataResult TODO: undocumented + /// + public record comGkSoftwarePosApiServiceMasterdataBaseClientMasterDataResult { + /// + /// Gets or Sets TenderDOs + /// + public List TenderDOs { get; init; } + /// + /// Gets or Sets BaseCurrency + /// + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO baseCurrency { get; init; } + /// + /// Gets or Sets Currencies + /// + public List Currencies { get; init; } + /// + /// Gets or Sets ExchangeRates + /// + public Dictionary ExchangeRates { get; init; } + /// + /// Gets or Sets BusinessUnitTextFooterLines + /// + public List BusinessUnitTextFooterLines { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0eddb4d2829fcc9a0a226d4593121ce7e0c8eae4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitTextRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataBusinessUnitTextRequest { + /// + /// <p>String: business unit iD</p> + /// + /// <p>String: business unit iD</p> + public string businessUnitID { get; init; } + /// + /// <p>String: receipt text iD</p> + /// + /// <p>String: receipt text iD</p> + public string receiptTextID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..7ae8196d2e15a9937178c0f6a89eb275dc050e48 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitTextResponse <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataBusinessUnitTextResponse { + /// + /// <p>List of BusinessUnitTextDO: businessUnitTextDOs</p> + /// + /// <p>List of BusinessUnitTextDO: businessUnitTextDOs</p> + public List BusinessUnitTextList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..882b662d390b7b7eabbb4451bdb3e808eafe804b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CurrencyRoundingRuleRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataCurrencyRoundingRuleRequest { + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>String: iso currency code</p> + /// + /// <p>String: iso currency code</p> + public string isoCurrencyCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..40d14f3e96e8a3830e503ff08dc74d87580145f3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerContactViewRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataCustomerContactViewRequest { + /// + /// <p>CustomerContactFilter: customer contact filter</p> + /// + /// <p>CustomerContactFilter: customer contact filter</p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomcustomerContactFilter customerContactFilter { get; init; } + /// + /// <p>int: max results count</p> + /// + /// <p>int: max results count</p> + public int? maxResultsCount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..6c4c6c28654d5fc39dc888cea4735086289843fe --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerContactViewResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerContactViewResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataCustomerContactViewResult { + /// + /// <p>List of CustomerContactView: customerContactViews</p> + /// + /// <p>List of CustomerContactView: customerContactViews</p> + public List CustomerContactViews { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..b539fb6a6cbaea96d386c7769ffba252bd88820b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataCustomerResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataCustomerResult { + /// + /// <p>List of CustomerDO: customerDOs</p> + /// + /// <p>List of CustomerDO: customerDOs</p> + public List CustomerDOs { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataDenominationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataDenominationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f89a75f678fb9a2f960f3f88c84848a4643c346e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataDenominationRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// DenominationRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataDenominationRequest { + /// + /// <p>String: denomination type code</p> + /// + /// <p>String: denomination type code</p> + public string denominationTypeCode { get; init; } + /// + /// <p>String: currency code</p> + /// + /// <p>String: currency code</p> + public string currencyCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataDenominationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataDenominationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..8cd3c7b55dcb1868644a9cad3c437e132b83e28e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataDenominationResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// DenominationResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataDenominationResult { + /// + /// <p>List of DenominationDO: denominationDOs</p> + /// + /// <p>List of DenominationDO: denominationDOs</p> + public List DenominationDOs { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e4670818aca7198b448857c2abd64e20fab0e3a5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemSearchRequest <p>Request object for searching specified item.</p> + /// + public record comGkSoftwarePosApiServiceMasterdataItemBlItemSearchRequest { + /// + /// <p>long: The unique identifier of the business unit group (store number).</p> + /// + /// <p>long: The unique identifier of the business unit group (store number).</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>PosUOMItemSearchFilter: Filter for search view</p> + /// + /// <p>PosUOMItemSearchFilter: Filter for search view</p> + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemSearchfilter filter { get; init; } + /// + /// <p>int: Limits the search by number</p> + /// + /// <p>int: Limits the search by number</p> + public int? recordCount { get; init; } + /// + /// <p>boolean: It specifies whether search is limited to package items only.</p> + /// + /// <p>boolean: It specifies whether search is limited to package items only.</p> + public bool? packageSelection { get; init; } + /// + /// <p>String: It defines the required unit of measure code of the displayed package units.</p> + /// + /// <p>String: It defines the required unit of measure code of the displayed package units.</p> + public string requiredUomCode { get; init; } + /// + /// <p>boolean: Specifies whether the entered item is excluded from the selection.</p> + /// + /// <p>boolean: Specifies whether the entered item is excluded from the selection.</p> + public bool? skipEnteredItem { get; init; } + /// + /// <p>String: Specifies the text class Id.</p> + /// + /// <p>String: Specifies the text class Id.</p> + public string textClassId { get; init; } + /// + /// <p>boolean: Specifies, whether the item search results should be cached globally (until replication data changes) in case global master data caching is activated via configuration. (check GlobalMasterDataCacheServiceConfig.cacheSize)</p> + /// + /// <p>boolean: Specifies, whether the item search results should be cached globally (until replication data changes) in case global master data caching is activated via configuration. (check GlobalMasterDataCacheServiceConfig.cacheSize)</p> + public bool? cacheEnabled { get; init; } + /// + /// <p>String: Specifies the text itemName.</p> + /// + /// <p>String: Specifies the text itemName.</p> + public string itemName { get; init; } + /// + /// <p>String: Specifies the itemId.</p> + /// + /// <p>String: Specifies the itemId.</p> + public string itemId { get; init; } + /// + /// <p>String: Specifies the itemMerchandiseHierarchyGroup.</p> + /// + /// <p>String: Specifies the itemMerchandiseHierarchyGroup.</p> + public string itemMerchandiseHierarchyGroup { get; init; } + /// + /// <p>String: Specifies the itemNormalPrice.</p> + /// + /// <p>String: Specifies the itemNormalPrice.</p> + public string itemNormalPrice { get; init; } + /// + /// <p>boolean: Specifies the setsOnly flag.</p> + /// + /// <p>boolean: Specifies the setsOnly flag.</p> + public bool? setsOnly { get; init; } + /// + /// <p>String: Specifies the itemColor.</p> + /// + /// <p>String: Specifies the itemColor.</p> + public string itemColor { get; init; } + /// + /// <p>String: Specifies the itemSize.</p> + /// + /// <p>String: Specifies the itemSize.</p> + public string itemSize { get; init; } + /// + /// <p>String: Specifies the itemLength.</p> + /// + /// <p>String: Specifies the itemLength.</p> + public string itemLength { get; init; } + /// + /// <p>String: Specifies the itemSeason.</p> + /// + /// <p>String: Specifies the itemSeason.</p> + public string itemSeason { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5fdc39519ec46baaf761c94002d74c675aa46964 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// InformationStockInfoRequest <p>Request object for requesting stock details for specified item.</p> + /// + public record comGkSoftwarePosApiServiceMasterdataItemInformationStockInfoRequest { + /// + /// <p>The pos item id.</p> + /// + /// <p>The pos item id.</p> + public List PosItemIds { get; init; } + /// + /// <p>The business unit id (retail store id)</p> + /// + /// <p>The business unit id (retail store id)</p> + public string buId { get; init; } + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + public bool? skipMasterDataResolution { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig.cs new file mode 100644 index 0000000000000000000000000000000000000000..9cc31d56938c75b450338f6e905f652f7618f231 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemInformationLoadConfig <p>Config that defines what item info needs to be loaded.</p> + /// + public record comGkSoftwarePosApiServiceMasterdataItemItemInformationLoadConfig { + /// + /// <p>An existing item information object that has to be added to.</p> + /// + /// <p>An existing item information object that has to be added to.</p> + public ComGkSoftwarePosApiModelDomAppitemInformationitemInformation itemInformation { get; init; } + /// + /// <p>Defines whether general item info should be loaded.</p> + /// + /// <p>Defines whether general item info should be loaded.</p> + public bool? loadItemInfo { get; init; } + /// + /// <p>Defines whether stock info should be loaded.</p> + /// + /// <p>Defines whether stock info should be loaded.</p> + public bool? loadStockInfo { get; init; } + /// + /// <p>Defines whether additional item info should be loaded.</p> + /// + /// <p>Defines whether additional item info should be loaded.</p> + public bool? loadAdditionalInfo { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ae4ca02e379000d826a880fcb6d4446f75be17fb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationRequest.cs @@ -0,0 +1,162 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemInformationRequest <p>Request object for item information</p> + /// + public record comGkSoftwarePosApiServiceMasterdataItemItemInformationRequest { + /// + /// <p>String: pos item id</p> + /// + /// <p>String: pos item id</p> + public string posItemId { get; init; } + /// + /// <p>List String: additional text info text type codes</p> + /// + /// <p>List String: additional text info text type codes</p> + public List AdditionalTextInfoTextTypeCodes { get; init; } + /// + /// <p>String: system language</p> + /// + /// <p>String: system language</p> + public string systemLanguage { get; init; } + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the discount info should be displayed in transaction preview.</p> + public bool? discountInfoEnabled { get; init; } + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + /// + /// <p>It defines if the item info should be displayed in transaction preview.</p> + public bool? itemInfoEnabled { get; init; } + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + /// + /// <p>It defines a list of text type codes that should be displayed as icon sales info.</p> + public List IconSalesInfoTextTypeCodes { get; init; } + /// + /// <p>the clients current buId</p> + /// + /// <p>the clients current buId</p> + public string buId { get; init; } + /// + /// <p>Specifies that promotion prices should be calculated for the item.<br /> It is calculated based on actual basket.</p> + /// + /// <p>Specifies that promotion prices should be calculated for the item.<br /> It is calculated based on actual basket.</p> + public bool? displayPromotionPrices { get; init; } + /// + /// <p>It specifies whether the group price is additionally displayed if a single item price is valid.</p> + /// + /// <p>It specifies whether the group price is additionally displayed if a single item price is valid.</p> + public bool? displayGroupPrice { get; init; } + /// + /// <p>Specifies treating of posItemID for item look-up. If true then is checked the posItemID in case sensitive mode.</p> + /// + /// <p>Specifies treating of posItemID for item look-up. If true then is checked the posItemID in case sensitive mode.</p> + public bool? itemIDCaseSensitive { get; init; } + /// + /// <p>Specifies if item stock information should be requested from stock information system. Default value is true.</p> + /// + /// <p>Specifies if item stock information should be requested from stock information system. Default value is true.</p> + public bool? requestStock { get; init; } + /// + /// <p>It defines the unit price which should be used for the price calculation.</p> + /// + /// <p>It defines the unit price which should be used for the price calculation.</p> + public double? price { get; init; } + /// + /// <p>It defines the unit price quantity which should be used for the price calculation (i.e. '3 for $1.00').</p> + /// + /// <p>It defines the unit price quantity which should be used for the price calculation (i.e. '3 for $1.00').</p> + public int? priceQuantity { get; init; } + /// + /// <p>It defines the quantity of the item.</p> + /// + /// <p>It defines the quantity of the item.</p> + public int? quantity { get; init; } + /// + /// <p>It defines the units of the item.</p> + /// + /// <p>It defines the units of the item.</p> + public double? unit { get; init; } + /// + /// Gets or Sets ItemInformationLoadConfig + /// + public ComGkSoftwarePosApiServiceMasterdataItemitemInformationLoadConfig itemInformationLoadConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5d2593e367aa23da560e43550401785bc87bd2e2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemInformationStockInfoRequest <p>Request object for requesting stock details for specified item.</p> + /// + public record comGkSoftwarePosApiServiceMasterdataItemItemInformationStockInfoRequest { + /// + /// <p>The pos item id.</p> + /// + /// <p>The pos item id.</p> + public string posItemId { get; init; } + /// + /// <p>The business unit id (retail store id)</p> + /// + /// <p>The business unit id (retail store id)</p> + public string buId { get; init; } + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + /// + /// <p>Specifies whether master data should be resolved or not.<br /> If it is set to false the related attributes in the reponse will be empty (item name, uom code, ...)</p> + public bool? skipMasterDataResolution { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5bb0483fdbd94e4a993e593c897d813fc9750c2e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoadItemDOByKeyRequest <p>Request object for loading item master data for specified POS UOM itemDO key.</p> + /// + public record comGkSoftwarePosApiServiceMasterdataItemLoadItemDOByKeyRequest { + /// + /// <p>Key identifier for POS item unit of measure object.</p> + /// + /// <p>Key identifier for POS item unit of measure object.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey itemKey { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..a37d4930853530e0811e1496e93040273d3db3f2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// SimplePosUomItemDO <p>Data object SimplePosUomItemDO - Bean class for performant item operations</p> + /// + public record comGkSoftwarePosApiServiceMasterdataItemSimplePosUomItemDO { + /// + /// <p>String: main pos item id</p> + /// + /// <p>String: main pos item id</p> + public string mainPosItemId { get; init; } + /// + /// <p>String: pos UOM item pos identity type code</p> + /// + /// <p>String: pos UOM item pos identity type code</p> + public string posUOMItemPosIdentityTypeCode { get; init; } + /// + /// <p>String: item UOM code</p> + /// + /// <p>String: item UOM code</p> + public string itemUOMCode { get; init; } + /// + /// <p>String: item selling rule quantity input method</p> + /// + /// <p>String: item selling rule quantity input method</p> + public string itemSellingRuleQuantityInputMethod { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataMHGroupRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataMHGroupRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f8123dba31d827cf69c35503e6a82671e152656b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataMHGroupRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// MHGroupRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataMHGroupRequest { + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + public string businessUntiGroupId { get; init; } + /// + /// <p>String: merchandise hierarchy group id</p> + /// + /// <p>String: merchandise hierarchy group id</p> + public string merchandiseHierarchyGroupId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataMHGroupResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataMHGroupResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..bddc66c950495326a8e9f99695b0acab264e2343 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataMHGroupResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// MHGroupResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataMHGroupResult { + /// + /// <p>List of MhgSO: mhgDOs</p> + /// + /// <p>List of MhgSO: mhgDOs</p> + public List MhgSOs { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3ace7c2951af0480d05026960474664888323c7f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataPromotionItemRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionItemRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataPromotionItemRequest { + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>Filter Object for service request</p> + /// + /// <p>Filter Object for service request</p> + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSopromotionItemFilterSO promotionItemFilter { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataReasonResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataReasonResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..9565ded2b0acf00e5bfce5b556dc17c75f432fb4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataReasonResult.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReasonResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataReasonResult { + /// + /// <p>ReasonCodeGroupSO: The reasonGroup</p> + /// + /// <p>ReasonCodeGroupSO: The reasonGroup</p> + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO reasonGroup { get; init; } + /// + /// <p>List of ReasonSO: reasons</p> + /// + /// <p>List of ReasonSO: reasons</p> + public List Reasons { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..eda5b898bff2df08635b9f5ca5d88481f493f917 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataScaleDomainRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ScaleDomainRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataScaleDomainRequest { + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>String: scale domain id</p> + /// + /// <p>String: scale domain id</p> + public string scaleDomainId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataScaleDomainResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataScaleDomainResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..fc847d214639a92384f615726f74e491d7ea51d2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataScaleDomainResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ScaleDomainResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataScaleDomainResult { + /// + /// <p>ScaleDomainDO: scale domain DO</p> + /// + /// <p>ScaleDomainDO: scale domain DO</p> + public ComGkSoftwareGkrApiServerMdScaleDomainDtoDomscaleDomainDO scaleDomainDO { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..5cefde930d3a986c4a66b351a0aebaccb8b24c8d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataSimpleTaxListResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// SimpleTaxListResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataSimpleTaxListResult { + /// + /// <p>Map with taxGroupId as key and the tax percent as value.</p> + /// + /// <p>Map with taxGroupId as key and the tax percent as value.</p> + public Dictionary SimpleTaxList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6bb3a59ab0685237e6794cc74fe95caa9468b944 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAdjustmentRuleRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleRequest { + /// + /// <p>originalTenderTypeCode</p> + /// + /// <p>originalTenderTypeCode</p> + public string originalTenderTypeCode { get; init; } + /// + /// <p>newTenderTypeCode</p> + /// + /// <p>newTenderTypeCode</p> + public string newTenderTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..151e682a3d45b7ed64b8d8e2b6d0306e3cc34fb0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderAdjustmentRuleResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataTenderAdjustmentRuleResult { + /// + /// <p>List of TenderAdjustmentRuleDO: tenderAdjustmentRuleDOs</p> + /// + /// <p>List of TenderAdjustmentRuleDO: tenderAdjustmentRuleDOs</p> + public List TenderAdjustmentRuleDOs { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..46ee78f59be72c24c8b8556df036c246684c7407 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderRequest <p>Request object for the MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataTenderRequest { + /// + /// <p>TenderGroupCode: tender group code</p> + /// + /// <p>TenderGroupCode: tender group code</p> + public tenderGroupCodeEnum? tenderGroupCode { get; init; } + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>String: reason code</p> + /// + /// <p>String: reason code</p> + public string reasonCode { get; init; } + /// + /// <p>String: reason code group code</p> + /// + /// <p>String: reason code group code</p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>String: iso currency code</p> + /// + /// <p>String: iso currency code</p> + public string isoCurrencyCode { get; init; } + /// + /// <p>String: tender class code</p> + /// + /// <p>String: tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..639fe07bf8ece95f34fc09841700e7cd57aa979e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataTenderResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderResult <p>Result object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataTenderResult { + /// + /// <p>List of TenderDO: tenderDOs</p> + /// + /// <p>List of TenderDO: tenderDOs</p> + public List TenderDOs { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataWorkerRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataWorkerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..92a35efdaf97886ae5ea2118b886615abf3fd7fa --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceMasterdataWorkerRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// WorkerRequest <p>Request object used by MasterDataService</p> + /// + public record comGkSoftwarePosApiServiceMasterdataWorkerRequest { + /// + /// <p>long: business unit group id</p> + /// + /// <p>long: business unit group id</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>String: worker id</p> + /// + /// <p>String: worker id</p> + public string workerId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6d4707800844977992d0329eb85c202ccd9788ec --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddTerminalPrintoutsToLineItemRequest <p>Request object to add terminal receipts that were printed to retail transaction line item as binary.</p> + /// + public record comGkSoftwarePosApiServicePaymentAddTerminalPrintoutsToLineItemRequest { + /// + /// <p>The retail transaction line item with the tender line item.</p> + /// + /// <p>The retail transaction line item with the tender line item.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem tenderLineItem { get; init; } + /// + /// <p>The merchant terminal receipt.</p> + /// + /// <p>The merchant terminal receipt.</p> + public string merchantReceipt { get; init; } + /// + /// <p>The customer terminal receipt.</p> + /// + /// <p>The customer terminal receipt.</p> + public string customerReceipt { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAmountValidationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAmountValidationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6679bebfb43674e5ba4b091f470b9ac8c3b6f1bd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAmountValidationRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// AmountValidationRequest <p>A request wrapper for all informations required to validate and check a payment amount</p> + /// + public record comGkSoftwarePosApiServicePaymentAmountValidationRequest { + /// + /// <p>double : amount</p> + /// + /// <p>double : amount</p> + public double? amount { get; init; } + /// + /// <p>TenderDO : tender</p> + /// + /// <p>TenderDO : tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>String : iso currency code</p> + /// + /// <p>String : iso currency code</p> + public string isoCurrencyCode { get; init; } + /// + /// <p>double : current tender total payment amount</p> + /// + /// <p>double : current tender total payment amount</p> + public double? currentTenderTotalPaymentAmount { get; init; } + /// + /// <p>String : payment state</p> + /// + /// <p>String : payment state</p> + public string paymentState { get; init; } + /// + /// <p>String : allowed amount type code</p> + /// + /// <p>String : allowed amount type code</p> + public string allowedAmountTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAmountValidationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAmountValidationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..848d60034514fb15c0ac17ebdc9a2fea1ec68b34 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentAmountValidationResult.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// AmountValidationResult <p>A result wrapper for all informations after a validation and check of a payment amount</p> + /// + public record comGkSoftwarePosApiServicePaymentAmountValidationResult { + /// + /// <p>boolean : is okay</p> + /// + /// <p>boolean : is okay</p> + public bool? isOkay { get; init; } + /// + /// <p>boolean : is amount invalid</p> + /// + /// <p>boolean : is amount invalid</p> + public bool? isAmountInvalid { get; init; } + /// + /// <p>boolean : is amount too high</p> + /// + /// <p>boolean : is amount too high</p> + public bool? isAmountTooHigh { get; init; } + /// + /// <p>boolean : is amount too small</p> + /// + /// <p>boolean : is amount too small</p> + public bool? isAmountTooSmall { get; init; } + /// + /// <p>boolean : is amount minimum limit exceeded</p> + /// + /// <p>boolean : is amount minimum limit exceeded</p> + public bool? isAmountMinimumLimitExceeded { get; init; } + /// + /// <p>boolean : is amount maximum limit exceeded</p> + /// + /// <p>boolean : is amount maximum limit exceeded</p> + public bool? isAmountMaximumLimitExceeded { get; init; } + /// + /// <p>double : amount limit</p> + /// + /// <p>double : amount limit</p> + public double? amountLimit { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCashPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCashPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5cc6547f13c8b4beea2e998a1093d3ec5a58c74d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCashPaymentRequest.cs @@ -0,0 +1,142 @@ +namespace POSGkSwaggerModel +{ + /// + /// CashPaymentRequest <p>Request object used by cash payment operations.</p> + /// + public record comGkSoftwarePosApiServicePaymentCashPaymentRequest { + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>flag to indicate whether the change amount was already paid (e.g. by cash recycler)</p> + /// + /// <p>flag to indicate whether the change amount was already paid (e.g. by cash recycler)</p> + public bool? changeAmountPaid { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCheckPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCheckPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b17789e4f2c6899d4a601add66a9483d388d2ef3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCheckPaymentRequest.cs @@ -0,0 +1,177 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckPaymentRequest <p>Request object used by check payment operations.</p> + /// + public record comGkSoftwarePosApiServicePaymentCheckPaymentRequest { + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>success</p> + /// + /// <p>success</p> + public bool? success { get; init; } + /// + /// <p>fullMicrData</p> + /// + /// <p>fullMicrData</p> + public string fullMicrData { get; init; } + /// + /// <p>checkSequenceNumber</p> + /// + /// <p>checkSequenceNumber</p> + public string checkSequenceNumber { get; init; } + /// + /// <p>adjudicationCode</p> + /// + /// <p>adjudicationCode</p> + public string adjudicationCode { get; init; } + /// + /// <p>bankId</p> + /// + /// <p>bankId</p> + public string bankId { get; init; } + /// + /// <p>checkAccountNumber</p> + /// + /// <p>checkAccountNumber</p> + public string checkAccountNumber { get; init; } + /// + /// <p>merchantPrintCache </p> + /// + /// <p>merchantPrintCache </p> + public string merchantPrintCache { get; init; } + /// + /// <p>customerPrintCache </p> + /// + /// <p>customerPrintCache </p> + public string customerPrintCache { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCreditPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCreditPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9b96aca0e778e3c0ebba6d44ecf50126ad0d5544 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentCreditPaymentRequest.cs @@ -0,0 +1,142 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreditPaymentRequest <p>Request object used by credit payment operations.</p> + /// + public record comGkSoftwarePosApiServicePaymentCreditPaymentRequest { + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>long : document number</p> + /// + /// <p>long : document number</p> + public string documentNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..8d898dce024e9cf3875b4bec9cfda083dbe8388d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentFilterPerTenderRequest.cs @@ -0,0 +1,121 @@ +namespace POSGkSwaggerModel +{ + /// + /// FilterPerTenderRequest <p>Request object used by PaymentService</p> + /// + public record comGkSoftwarePosApiServicePaymentFilterPerTenderRequest { + /// + /// <p>boolean : wic mode</p> + /// + /// <p>boolean : wic mode</p> + public bool? wicMode { get; init; } + /// + /// <p>double : base currency total payment amount</p> + /// + /// <p>double : base currency total payment amount</p> + public double? baseCurrencyTotalPaymentAmount { get; init; } + /// + /// <p>double : base currency remaining payment amount</p> + /// + /// <p>double : base currency remaining payment amount</p> + public double? baseCurrencyRemainingPaymentAmount { get; init; } + /// + /// <p>List of TenderDO : allowed tender</p> + /// + /// <p>List of TenderDO : allowed tender</p> + public List AllowedTender { get; init; } + /// + /// <p>List of TenderDO : forbidden tender</p> + /// + /// <p>List of TenderDO : forbidden tender</p> + public List ForbiddenTender { get; init; } + /// + /// <p>AllowedTendersConfig : allowed tenders config</p> + /// + /// <p>AllowedTendersConfig : allowed tenders config</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsallowedTendersConfig allowedTendersConfig { get; init; } + /// + /// Gets or Sets LastTender + /// + public ComGkSoftwareGkrApiServerMdTenderDtoDomTenderDO lastTender { get; init; } + /// + /// Gets or Sets LastTenderAmount + /// + public double? lastTenderAmount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..32077d48ad94bd06314fdbab4b1cb14f36ebd454 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest.cs @@ -0,0 +1,202 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificatePaymentRequest <p>A data structure holding all necessary parameters for creation of gift certificate tender line item.</p> + /// + public record comGkSoftwarePosApiServicePaymentGiftCertificatePaymentRequest { + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>String : gc number</p> + /// + /// <p>String : gc number</p> + public string gcNumber { get; init; } + /// + /// <p>String : gc type</p> + /// + /// <p>String : gc type</p> + public string gcType { get; init; } + /// + /// <p>boolean : gcs usage</p> + /// + /// <p>boolean : gcs usage</p> + public bool? gcsUsage { get; init; } + /// + /// <p>boolean : booking successful</p> + /// + /// <p>boolean : booking successful</p> + public bool? bookingSuccessful { get; init; } + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + public bool? enableGiftCertificateChange { get; init; } + /// + /// <p>String : gcs transaction uuid</p> + /// + /// <p>String : gcs transaction uuid</p> + public string gcsTransactionUuid { get; init; } + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + public string externalSystemAdapterName { get; init; } + /// + /// <p>Amount : remaining balance</p> + /// + /// <p>Amount : remaining balance</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount remainingBalance { get; init; } + /// + /// <p>int : gc quantity</p> + /// + /// <p>int : gc quantity</p> + public int? gcQuantity { get; init; } + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expiryDate { get; init; } + /// + /// <p>String : Track two of the giftcard.</p> + /// + /// <p>String : Track two of the giftcard.</p> + public string gcTrack2 { get; init; } + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + public List AdditionalInfo { get; init; } + /// + /// <p>String : The current entry method code.</p> + /// + /// <p>String : The current entry method code.</p> + public string entryMethodCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2466580e8aa48999246773e7f6ef0ea53d602346 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest.cs @@ -0,0 +1,212 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificateSpvPaymentRequest <p>A data structure holding all necessary parameters for creation of single purpose voucher sale return line item.</p> + /// + public record comGkSoftwarePosApiServicePaymentGiftCertificateSpvPaymentRequest { + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>String : gc number</p> + /// + /// <p>String : gc number</p> + public string gcNumber { get; init; } + /// + /// <p>String : gc type</p> + /// + /// <p>String : gc type</p> + public string gcType { get; init; } + /// + /// <p>boolean : gcs usage</p> + /// + /// <p>boolean : gcs usage</p> + public bool? gcsUsage { get; init; } + /// + /// <p>boolean : booking successful</p> + /// + /// <p>boolean : booking successful</p> + public bool? bookingSuccessful { get; init; } + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + /// + /// <p>boolean : enableGiftCertificateChange, default = false.<br /> It defines if a Paper Gift Certificate should be printed if the conditions match.</p> + public bool? enableGiftCertificateChange { get; init; } + /// + /// <p>String : gcs transaction uuid</p> + /// + /// <p>String : gcs transaction uuid</p> + public string gcsTransactionUuid { get; init; } + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + public string externalSystemAdapterName { get; init; } + /// + /// <p>Amount : remaining balance</p> + /// + /// <p>Amount : remaining balance</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount remainingBalance { get; init; } + /// + /// <p>int : gc quantity</p> + /// + /// <p>int : gc quantity</p> + public int? gcQuantity { get; init; } + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : gc expiration date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expiryDate { get; init; } + /// + /// <p>String : Track two of the giftcard.</p> + /// + /// <p>String : Track two of the giftcard.</p> + public string gcTrack2 { get; init; } + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + /// + /// <p>List of additional attributes for gift certificates with a name and a value.</p> + public List AdditionalInfo { get; init; } + /// + /// <p>String : The current entry method code.</p> + /// + /// <p>String : The current entry method code.</p> + public string entryMethodCode { get; init; } + /// + /// <p>It defines the gift certificate item (e.g. for Single Purpose Vouchers).<br /> If filled then it will be used for sale return line item creation.</p> + /// + /// <p>It defines the gift certificate item (e.g. for Single Purpose Vouchers).<br /> If filled then it will be used for sale return line item creation.</p> + public string gcItem { get; init; } + /// + /// <p>Amount returned by the Stored Value Server (abs(GiftCertStatus.old_amount – GiftCertStatus.new_amount))</p> + /// + /// <p>Amount returned by the Stored Value Server (abs(GiftCertStatus.old_amount – GiftCertStatus.new_amount))</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount returnedAmount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPayableAmountResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPayableAmountResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..35a9182c96f6cf8b55b30d77a40289555bb27423 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPayableAmountResult.cs @@ -0,0 +1,153 @@ +namespace POSGkSwaggerModel +{ + /// + /// PayableAmountResult <p>Result object of the PaymentService</p> + /// + public record comGkSoftwarePosApiServicePaymentPayableAmountResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>double : change amount</p> + /// + /// <p>double : change amount</p> + public double? changeAmount { get; init; } + /// + /// <p>double : foreign currency change amount</p> + /// + /// <p>double : foreign currency change amount</p> + public double? foreignCurrencyChangeAmount { get; init; } + /// + /// <p>double : grand total amount</p> + /// + /// <p>double : grand total amount</p> + public double? grandTotalAmount { get; init; } + /// + /// <p>double : foreign currency grand total amount</p> + /// + /// <p>double : foreign currency grand total amount</p> + public double? foreignCurrencyGrandTotalAmount { get; init; } + /// + /// <p>double : payed amount</p> + /// + /// <p>double : payed amount</p> + public double? payedAmount { get; init; } + /// + /// <p>double : foreign currency payed amount</p> + /// + /// <p>double : foreign currency payed amount</p> + public double? foreignCurrencyPayedAmount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public double? tipAmount { get; init; } + /// + /// <p>double : base currency tender payable amount</p> + /// + /// <p>double : base currency tender payable amount</p> + public double? baseCurrencyTenderPayableAmount { get; init; } + /// + /// <p>double : foreign currency tender payable amount</p> + /// + /// <p>double : foreign currency tender payable amount</p> + public double? foreignCurrencyTenderPayableAmount { get; init; } + /// + /// <p>boolean : mgh tender permission rules checked</p> + /// + /// <p>boolean : mgh tender permission rules checked</p> + public bool? mghTenderPermissionRulesChecked { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentAmountsResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentAmountsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..8874f36fb33bf96f998d4120873e92542975a29b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentAmountsResult.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// PaymentAmountsResult <p>Result object of the PaymentService</p> + /// + public record comGkSoftwarePosApiServicePaymentPaymentAmountsResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>double : change amount</p> + /// + /// <p>double : change amount</p> + public double? changeAmount { get; init; } + /// + /// <p>double : foreign currency change amount</p> + /// + /// <p>double : foreign currency change amount</p> + public double? foreignCurrencyChangeAmount { get; init; } + /// + /// <p>double : grand total amount</p> + /// + /// <p>double : grand total amount</p> + public double? grandTotalAmount { get; init; } + /// + /// <p>double : foreign currency grand total amount</p> + /// + /// <p>double : foreign currency grand total amount</p> + public double? foreignCurrencyGrandTotalAmount { get; init; } + /// + /// <p>double : payed amount</p> + /// + /// <p>double : payed amount</p> + public double? payedAmount { get; init; } + /// + /// <p>double : foreign currency payed amount</p> + /// + /// <p>double : foreign currency payed amount</p> + public double? foreignCurrencyPayedAmount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public double? tipAmount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..73efdec815c5b9e747560e0556c47bf05ba4bcc0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentRequest.cs @@ -0,0 +1,137 @@ +namespace POSGkSwaggerModel +{ + /// + /// PaymentRequest <p>Basic request data structure for payment operation done on server. It is used mainly for tender line</p><br /><pre> item creation. If you need to send some additional data for the operation, you should extend this request object<br /></pre> + /// + public record comGkSoftwarePosApiServicePaymentPaymentRequest { + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..7005895c24c607419959606f532fb624e1985151 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPaymentResult.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// PaymentResult <p>Result object of the PaymentService</p> + /// + public record comGkSoftwarePosApiServicePaymentPaymentResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>double : change amount</p> + /// + /// <p>double : change amount</p> + public double? changeAmount { get; init; } + /// + /// <p>double : foreign currency change amount</p> + /// + /// <p>double : foreign currency change amount</p> + public double? foreignCurrencyChangeAmount { get; init; } + /// + /// <p>double : grand total amount</p> + /// + /// <p>double : grand total amount</p> + public double? grandTotalAmount { get; init; } + /// + /// <p>double : foreign currency grand total amount</p> + /// + /// <p>double : foreign currency grand total amount</p> + public double? foreignCurrencyGrandTotalAmount { get; init; } + /// + /// <p>double : payed amount</p> + /// + /// <p>double : payed amount</p> + public double? payedAmount { get; init; } + /// + /// <p>double : foreign currency payed amount</p> + /// + /// <p>double : foreign currency payed amount</p> + public double? foreignCurrencyPayedAmount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public double? tipAmount { get; init; } + /// + /// <p>boolean : transaction payed</p> + /// + /// <p>boolean : transaction payed</p> + public bool? transactionPayed { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPointsPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPointsPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..14e9ca9f434944989ed0a499115351a9d23403e2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentPointsPaymentRequest.cs @@ -0,0 +1,152 @@ +namespace POSGkSwaggerModel +{ + /// + /// PointsPaymentRequest <p>Request object used by points payment operations.</p> + /// + public record comGkSoftwarePosApiServicePaymentPointsPaymentRequest { + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>String : customer account id</p> + /// + /// <p>String : customer account id</p> + public string customerAccountId { get; init; } + /// + /// <p>String : redemption transaction id</p> + /// + /// <p>String : redemption transaction id</p> + public string redemptionTransactionId { get; init; } + /// + /// <p>double : points redemption conversion factor</p> + /// + /// <p>double : points redemption conversion factor</p> + public double? pointsRedemptionConversionFactor { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..00eabcb6c19adf57caf34c04ef4afb32a554c3a0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReduceTaxableAmountRequest <p>Request object to reduce the taxable amount for the transaction.</p> + /// + public record comGkSoftwarePosApiServicePaymentReduceTaxableAmountRequest { + /// + /// <p>Tender amount applied to use when reducing taxable amounts.</p> + /// + /// <p>Tender amount applied to use when reducing taxable amounts.</p> + public double? amount { get; init; } + /// + /// <p>Selected eWIC items to apply benefits to.</p> + /// + /// <p>Selected eWIC items to apply benefits to.</p> + public List EwicBasketResults { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ff932f5c567f56dbd5aa29205d6ec2262b852023 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// SpecialReturnAmountLookupKeyRequest <p>Request object to obtain a special return amount lookup key.<br /> Request must contain either the tender or both tenderTypeCode and itemRestrictionTypeCode.</p> + /// + public record comGkSoftwarePosApiServicePaymentSpecialReturnAmountLookupKeyRequest { + /// + /// <p>TenderDO : tender to obtain tender type code and item restriction type code from.</p> + /// + /// <p>TenderDO : tender to obtain tender type code and item restriction type code from.</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>String : tender type code to use to generate lookup key. Required if tender is null. If specified when tender is not null, this tender type code and the Tender's item restriction typecode will be used to generate the lookup key.</p> + /// + /// <p>String : tender type code to use to generate lookup key. Required if tender is null. If specified when tender is not null, this tender type code and the Tender's item restriction typecode will be used to generate the lookup key.</p> + public string tenderTypeCode { get; init; } + /// + /// <p>String : item restriction type code to use to generate lookup key. Optional; null should be passed in if not relevant. Only used if tender is null.</p> + /// + /// <p>String : item restriction type code to use to generate lookup key. Optional; null should be passed in if not relevant. Only used if tender is null.</p> + public string itemRestrictionTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c93324dc0148cc18e64ca01fc0cecfc05383c6ae --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePaymentTerminalPaymentRequest.cs @@ -0,0 +1,428 @@ +namespace POSGkSwaggerModel +{ + /// + /// TerminalPaymentRequest <p>Request object used by terminal payment operations.</p> + /// + public record comGkSoftwarePosApiServicePaymentTerminalPaymentRequest { + /// + /// <p>TerminalTransactionTypeCode: terminal transaction type code</p> + /// + /// <p>TerminalTransactionTypeCode: terminal transaction type code</p> + public terminalTransactionTypeCodeEnum? terminalTransactionTypeCode { get; init; } + /// + /// Gets or Sets RequestType + /// + public requestTypeEnum? requestType { get; init; } + /// + /// <p>PositionOperationConfig: position operation config</p> + /// + /// <p>PositionOperationConfig: position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>TenderDO: tender</p> + /// + /// <p>TenderDO: tender</p> + public ComGkSoftwareGkrApiServerMdtenderDtoDomtenderDO tender { get; init; } + /// + /// <p>Amount: amount</p> + /// + /// <p>Amount: amount</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Amount: tip amount</p> + /// + /// <p>Amount: tip amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount tipAmount { get; init; } + /// + /// <p>String: base iso currency code</p> + /// + /// <p>String: base iso currency code</p> + public string baseIsoCurrencyCode { get; init; } + /// + /// <p>String: foreign iso currency code</p> + /// + /// <p>String: foreign iso currency code</p> + public string foreignIsoCurrencyCode { get; init; } + /// + /// <p>double: exchange rate</p> + /// + /// <p>double: exchange rate</p> + public double? exchangeRate { get; init; } + /// + /// <p>boolean: multiply flag</p> + /// + /// <p>boolean: multiply flag</p> + public bool? multiplyFlag { get; init; } + /// + /// <p>String : tender class code</p> + /// + /// <p>String : tender class code</p> + public string tenderClassCode { get; init; } + /// + /// <p>String : payment description</p> + /// + /// <p>String : payment description</p> + public string paymentDescription { get; init; } + /// + /// Gets or Sets KeyedOnline + /// + public bool? keyedOnline { get; init; } + /// + /// <p>boolean : success</p> + /// + /// <p>boolean : success</p> + public bool? success { get; init; } + /// + /// <p>boolean : auto cancellation</p> + /// + /// <p>boolean : auto cancellation</p> + public bool? autoCancellation { get; init; } + /// + /// <p>boolean : cancellation</p> + /// + /// <p>boolean : cancellation</p> + public bool? cancellation { get; init; } + /// + /// <p>String : card type</p> + /// + /// <p>String : card type</p> + public string cardType { get; init; } + /// + /// <p>String : card issue code</p> + /// + /// <p>String : card issue code</p> + public string cardIssuerCode { get; init; } + /// + /// <p>String : account number</p> + /// + /// <p>String : account number</p> + public string accountNumber { get; init; } + /// + /// <p>String : card entry method code</p> + /// + /// <p>String : card entry method code</p> + public string cardEntryMethodCode { get; init; } + /// + /// <p>double: cashbackAmount</p> + /// + /// <p>double: cashbackAmount</p> + public double? cashbackAmount { get; init; } + /// + /// <p>String : entry source code</p> + /// + /// <p>String : entry source code</p> + public string entrySourceCode { get; init; } + /// + /// <p>String : personal iD required type code</p> + /// + /// <p>String : personal iD required type code</p> + public string personalIDRequiredTypeCode { get; init; } + /// + /// <p>int : personal iD reference number</p> + /// + /// <p>int : personal iD reference number</p> + public int? personalIDReferenceNumber { get; init; } + /// + /// <p>String : authorization method code</p> + /// + /// <p>String : authorization method code</p> + public string authorizationMethodCode { get; init; } + /// + /// <p>String : adjudication code</p> + /// + /// <p>String : adjudication code</p> + public string adjudicationCode { get; init; } + /// + /// <p>String : card expiration date</p> + /// + /// <p>String : card expiration date</p> + public string cardExpirationDate { get; init; } + /// + /// <p>String : card holder name</p> + /// + /// <p>String : card holder name</p> + public string cardHolderName { get; init; } + /// + /// <p>String : card Issue sequence number</p> + /// + /// <p>String : card Issue sequence number</p> + public string cardIssueSequenceNumber { get; init; } + /// + /// <p>String : card start date</p> + /// + /// <p>String : card start date</p> + public string cardStartDate { get; init; } + /// + /// <p>String : service code</p> + /// + /// <p>String : service code</p> + public string serviceCode { get; init; } + /// + /// <p>String : terminal transaction iD</p> + /// + /// <p>String : terminal transaction iD</p> + public string terminalTransactionID { get; init; } + /// + /// <p>String : terminal iD</p> + /// + /// <p>String : terminal iD</p> + public string terminalID { get; init; } + /// + /// <p>int : terminal transaction status</p> + /// + /// <p>int : terminal transaction status</p> + public int? terminalTransactionStatus { get; init; } + /// + /// <p>String : terminal transaction status</p> + /// + /// <p>String : terminal transaction status</p> + public string terminalTransactionResult { get; init; } + /// + /// <p>String : card number</p> + /// + /// <p>String : card number</p> + public string cardNumber { get; init; } + /// + /// <p>String : merchant print cache</p> + /// + /// <p>String : merchant print cache</p> + public string merchantPrintCache { get; init; } + /// + /// <p>String : customer print cache</p> + /// + /// <p>String : customer print cache</p> + public string customerPrintCache { get; init; } + /// + /// <p>boolean : merchant cache printed</p> + /// + /// <p>boolean : merchant cache printed</p> + public bool? merchantCachePrinted { get; init; } + /// + /// <p>boolean : customer cache printed</p> + /// + /// <p>boolean : customer cache printed</p> + public bool? customerCachePrinted { get; init; } + /// + /// <p>String : approval code</p> + /// + /// <p>String : approval code</p> + public string approvalCode { get; init; } + /// + /// <p>String : terminal type</p> + /// + /// <p>String : terminal type</p> + public string terminalType { get; init; } + /// + /// <p>String : merchant number</p> + /// + /// <p>String : merchant number</p> + public string merchantNumber { get; init; } + /// + /// <p>String : iso currency number</p> + /// + /// <p>String : iso currency number</p> + public string isoCurrencyNumber { get; init; } + /// + /// <p>Date : current date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : current date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string currentDate { get; init; } + /// + /// <p>int : transaction status</p> + /// + /// <p>int : transaction status</p> + public int? transactionStatus { get; init; } + /// + /// <p>boolean : force offline</p> + /// + /// <p>boolean : force offline</p> + public bool? forceOffline { get; init; } + /// + /// <p>String : card holder verification type code</p> + /// + /// <p>String : card holder verification type code</p> + public string cardHolderVerificationTypeCode { get; init; } + /// + /// <p>boolean : host authorized flag</p> + /// + /// <p>boolean : host authorized flag</p> + public bool? hostAuthorizedFlag { get; init; } + /// + /// <p>int : trace number</p> + /// + /// <p>int : trace number</p> + public int? traceNumber { get; init; } + /// + /// <p>int : terminal transaction error number</p> + /// + /// <p>int : terminal transaction error number</p> + public int? terminalTransactionErrorNumber { get; init; } + /// + /// <p>String : adjuction text</p> + /// + /// <p>String : adjuction text</p> + public string adjuctionText { get; init; } + /// + /// <p>TenderAuthorizationKey : current tender authorization key</p> + /// + /// <p>TenderAuthorizationKey : current tender authorization key</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey currentTenderAuthorizationKey { get; init; } + /// + /// Gets or Sets RecoveryValues + /// + public ComGkSoftwarePosFlowLibsPaymentTerminalTransactionrecoveryValues recoveryValues { get; init; } + /// + /// Gets or Sets OrigTenderAuthorizationNumber + /// + public int? origTenderAuthorizationNumber { get; init; } + /// + /// Gets or Sets VoidingLineItemSequenceNumber + /// + public int? voidingLineItemSequenceNumber { get; init; } + /// + /// <p>String : terminal Reference Number</p> + /// + /// <p>String : terminal Reference Number</p> + public string terminalReferenceNumber { get; init; } + /// + /// <p>String : token that comes back from USA Payment servers. Used with T+ </p> + /// + /// <p>String : token that comes back from USA Payment servers. Used with T+ </p> + public string token { get; init; } + /// + /// <p>String : format of the signature data ex. png, bmp </p> + /// + /// <p>String : format of the signature data ex. png, bmp </p> + public string signatureFormat { get; init; } + /// + /// <p>String : signature data</p> + /// + /// <p>String : signature data</p> + public string signatureData { get; init; } + /// + /// Gets or Sets InternationalBankAccountNumber + /// + public string internationalBankAccountNumber { get; init; } + /// + /// Gets or Sets BankIdentifierCode + /// + public string bankIdentifierCode { get; init; } + /// + /// Gets or Sets CreditorID + /// + public string creditorID { get; init; } + /// + /// Gets or Sets MandateID + /// + public string mandateID { get; init; } + /// + /// Gets or Sets PrenotificationText + /// + public string prenotificationText { get; init; } + /// + /// <p>Tender description.</p> + /// + /// <p>Tender description.</p> + public string terminalTenderDescription { get; init; } + /// + /// <p>Application identifier</p> + /// + /// <p>Application identifier</p> + public string applicationID { get; init; } + /// + /// <p>Masked application PAN.</p> + /// + /// <p>Masked application PAN.</p> + public string encryptedPAN { get; init; } + /// + /// <p>Currency key (default 978).</p> + /// + /// <p>Currency key (default 978).</p> + public string terminalTransactionCurrencyCode { get; init; } + /// + /// <p>String : purchase restriction if any exists.</p> + /// + /// <p>String : purchase restriction if any exists.</p> + public string purchaseRestriction { get; init; } + /// + /// <p>String : grade restriction value if any exists.</p> + /// + /// <p>String : grade restriction value if any exists.</p> + public string gradeRestriction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3a2ee3f471d52487798e6103ac8a92c80064564b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoyaltyRewardGiftCertificateRequest <p>Request object for the gift certificate loyalty reward process.</p> + /// + public record comGkSoftwarePosApiServicePromotionLoyaltyRewardGiftCertificateRequest { + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + public string externalSystemAdapterName { get; init; } + /// + /// <p>boolean : gift certificate server use</p> + /// + /// <p>boolean : gift certificate server use</p> + public bool? giftCertificateServerUse { get; init; } + /// + /// <p>String : gift certificate prefix</p> + /// + /// <p>String : gift certificate prefix</p> + public string giftCertificatePrefix { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionPromotionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionPromotionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ec868ff9d2626f802f46a25d36441b0fa66d3894 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionPromotionRequest.cs @@ -0,0 +1,148 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionRequest <p>Request object for a promotion trigger process.</p> + /// + public record comGkSoftwarePosApiServicePromotionPromotionRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpromotionOperationConfig promotionOperationConfig { get; init; } + /// + /// <p>Object describing the reason of a promotion.</p> + /// + /// <p>Object describing the reason of a promotion.</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>An additional information concerning the promotion trigger (see {@link com.gk_software.gkr.api.txpool.dto.SaleReturnLineItemPromotionTrigger#reference_}).</p> + /// + /// <p>An additional information concerning the promotion trigger (see {@link com.gk_software.gkr.api.txpool.dto.SaleReturnLineItemPromotionTrigger#reference_}).</p> + public string reference { get; init; } + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + public double? promotionValue { get; init; } + /// + /// <p>This parameter specifies whether a condition which relates to a trigger will be checked.</p> + /// + /// <p>This parameter specifies whether a condition which relates to a trigger will be checked.</p> + public bool? checkIfRebateWasApplied { get; init; } + /// + /// <p>This parameter defines the maximal line item quantity when a promotion trigger is allowed.</p> + /// + /// <p>This parameter defines the maximal line item quantity when a promotion trigger is allowed.</p> + public double? maximumQuantity { get; init; } + /// + /// <p>The active customer order id in the client context, if any is available.</p> + /// + /// <p>The active customer order id in the client context, if any is available.</p> + public string activeCustomerOrderId { get; init; } + /// + /// <p>A unique system assigned identifier for the LineItem of the CustomerOrder. <br /> That means, the sequence number of an active customer order.</p> + /// + /// <p>A unique system assigned identifier for the LineItem of the CustomerOrder. <br /> That means, the sequence number of an active customer order.</p> + public int? customerSequenceNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cc43ee6d8bee3f0e8b0ff385b953408e3580687d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionTriggerValidationRequest <p>Request object for validating line item promotion triggers.</p> + /// + public record comGkSoftwarePosApiServicePromotionPromotionTriggerValidationRequest { + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + /// + /// <p>Promotion configuration used for checking line item promotion triggers.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpromotionOperationConfig promotionOperationConfig { get; init; } + /// + /// <p>Position operation configuration.</p> + /// + /// <p>Position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The key of the line item to have its promotion triggers validated.</p> + /// + /// <p>The key of the line item to have its promotion triggers validated.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + /// + /// <p>The promotion value. The meaning of this field depends on the privilege type present in the promotion configuration (promotionOperationConfig) as following:</p><br /><ul><br /> <li>PromotionTriggerPrivilegeType equals to 'RP': promotion percentage value.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'PS': new unit price.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'AM': rebate total amount.</li><br /> <li>PromotionTriggerPrivilegeType equals to 'RS': rebate amount for item unit.</li><br /></ul> + public double? promotionValue { get; init; } + /// + /// <p>Attribute currently not used.</p> + /// + /// <p>Attribute currently not used.</p> + public bool? validationMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..21e99b06edffaf816a9be83a6fda718b4ee71a27 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CopyExternalTransactionLineItemsFullRescanRequest <p>Request entity for 'copy external transaction line item' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanRequest { + /// + /// <p>The association type code to the line items of the external transaction</p> + /// + /// <p>The association type code to the line items of the external transaction</p> + public string toAssociationTypeCode { get; init; } + /// + /// <p>The transaction ID to the line items of the external transaction</p> + /// + /// <p>The transaction ID to the line items of the external transaction</p> + public string toTransactionID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..8ccb1db498e884d1179a0c709287a2100d8f82ab --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CopyExternalTransactionLineItemsFullRescanResponse <p>Response entity for 'copy external transaction line item' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanCopyExternalTransactionLineItemsFullRescanResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b80e1a3cfd3680bbf6618d5efa01ec33f7288510 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CopyGiftCertificateLineItemFullRescanRequest <p>Request entity for 'copy gift certificate line item' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanRequest { + /// + /// <p>The giftCertificateSerialNumber of the gift certificate which should be copied.</p> + /// + /// <p>The giftCertificateSerialNumber of the gift certificate which should be copied.</p> + public string giftCertificateSerialNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..ed9ce833bcf357a72fee6362bd15fb6980f0bbec --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CopyGiftCertificateLineItemFullRescanResponse <p>Response entity for 'copy gift certificate line item' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanCopyGiftCertificateLineItemFullRescanResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c417babb6f0a24e6b79a8da8a95f07b58e65e95e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExecuteRescanAnalysisRequest <p>Request entity for 'Rescan Analysis' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanExecuteRescanAnalysisRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..81fd5606b07af43121c625a4ed9afc58e580b7f3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExecuteRescanAnalysisResponse <p>Response entity for 'Rescan Analysis' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanExecuteRescanAnalysisResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3d3480887204d97533ca69c43a57efbd383897b7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishFullRescanRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinishFullRescanRequest <p>Request entity for 'finish full rescan' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanFinishFullRescanRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..e748eef4e83e21f00fa0e5be49abb0d86ac5d916 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishFullRescanResponse.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinishFullRescanResponse <p>Response entity for 'finish full rescan' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanFinishFullRescanResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>true if there is any difference in the relevant data between the customer scanned transaction and the rescan transaction.</p> + /// + /// <p>true if there is any difference in the relevant data between the customer scanned transaction and the rescan transaction.</p> + public bool? differencesFound { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a218bce542a15f23db08400645d1df755fa516c4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishPartialRescanRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinishPartialRescanRequest <p>Request entity for 'finish partial rescan' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanFinishPartialRescanRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..13342d41d0484ff26b41c5933561e84a88737cc2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanFinishPartialRescanResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinishPartialRescanResponse <p>Response entity for 'finish partial rescan' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanFinishPartialRescanResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1274d77649ea3e8290c48852835918cf3f27eb85 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPrepareFullRescanRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepareFullRescanRequest <p>Request entity for preparing 'Full Rescan' functionality.</p> + /// + public record comGkSoftwarePosApiServiceRescanPrepareFullRescanRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..58d30e403935ffb8e07c6af5cf6c08db690a99df --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPrepareFullRescanResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepareFullRescanResponse <p>Response entity for preparing 'Full Rescan' functionality.</p> + /// + public record comGkSoftwarePosApiServiceRescanPrepareFullRescanResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f7779c48f7c5496ff48c27c49cc53e30f2f58355 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPreparePartialRescanRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// PreparePartialRescanRequest <p>Request entity for preparing 'Partial Rescan' functionality.</p> + /// + public record comGkSoftwarePosApiServiceRescanPreparePartialRescanRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..e1ce6eb1ce57512176b6eab36606103db7149e9d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanPreparePartialRescanResponse.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PreparePartialRescanResponse <p>Response entity for preparing 'Partial Rescan' functionality.</p> + /// + public record comGkSoftwarePosApiServiceRescanPreparePartialRescanResponse { + /// + /// <p>Contains number of items to rescan.</p> + /// + /// <p>Contains number of items to rescan.</p> + public int? numberToRescan { get; init; } + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..42e56800811a541036d255aa3016565edccb34b1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ProcessBarcodePartialRescanRequest <p>Request entity for 'process barcode partial rescan' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanRequest { + /// + /// <p>Contains the position operation config for the line item handling.</p> + /// + /// <p>Contains the position operation config for the line item handling.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Contains barcode of the scanned item.</p> + /// + /// <p>Contains barcode of the scanned item.</p> + public string barcode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..adfac79ddce8ec17da5c494136655e668bfda294 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ProcessBarcodePartialRescanResponse <p>Response entity for 'process barcode partial rescan' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanProcessBarcodePartialRescanResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bbae5d5dfca41b3820ce6f3fdda614d65f4b0c93 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// SuspendAndRetrieveRescanTransactionRequest <p>Request entity for 'Suspend and Retrieve Rescan Transaction' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..fd422b2fa21896fad71dd2e6de41f36803e1b300 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// SuspendAndRetrieveRescanTransactionResponse <p>Response entity for 'Suspend and Retrieve Rescan Transaction' service.</p> + /// + public record comGkSoftwarePosApiServiceRescanSuspendAndRetrieveRescanTransactionResponse { + /// + /// <p>The entity describing the result of the operation.</p> + /// + /// <p>The entity describing the result of the operation.</p> + public ComGkSoftwarePosApiServiceTransactiontransactionOperationResult transactionOperationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7be5b17578299cf5ccff7e4fce08984238e68380 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// ValidateQuantityPartialRescanRequest <p>Request entity for quantity validation of a specific item.</p> + /// + public record comGkSoftwarePosApiServiceRescanValidateQuantityPartialRescanRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthenticationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthenticationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5ae0f0cba9a9dba26f3453979b78108e197bc0dd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthenticationRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// AuthenticationRequest <p>Request object for the AuthenticationService</p> + /// + public record comGkSoftwarePosApiServiceSecurityAuthenticationRequest { + /// + /// <p>The operator login name</p> + /// + /// <p>The operator login name</p> + public string loginName { get; init; } + /// + /// <p>The operator password</p> + /// + /// <p>The operator password</p> + public string password { get; init; } + /// + /// <p>The business unit id.</p> + /// + /// <p>The business unit id.</p> + public string businessUnitId { get; init; } + /// + /// <p>boolean : password required</p> + /// + /// <p>boolean : password required</p> + public bool? passwordRequired { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthenticationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthenticationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..21aa4f4d62555065dd2cc05e22d8111bb4015aff --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthenticationResult.cs @@ -0,0 +1,107 @@ +namespace POSGkSwaggerModel +{ + /// + /// AuthenticationResult <p>Request object for the AuthenticationService</p> + /// + public record comGkSoftwarePosApiServiceSecurityAuthenticationResult { + /// + /// <p>The passwordExceptionType. </p> + /// + /// <p>The passwordExceptionType. </p> + public passwordExceptionTypeEnum? passwordExceptionType { get; init; } + /// + /// <p>OperatorSO: resolved operator</p> + /// + /// <p>OperatorSO: resolved operator</p> + public ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO resolvedOperator { get; init; } + /// + /// Gets or Sets RealmId + /// + public string realmId { get; init; } + /// + /// <p>If password is before expiration it contains the expiration count in days</p> + /// + /// <p>If password is before expiration it contains the expiration count in days</p> + public int? expirationCountDays { get; init; } + /// + /// <p>Indicate whether the password is before expiration</p> + /// + /// <p>Indicate whether the password is before expiration</p> + public bool? passwordBeforeExpiration { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthorizationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthorizationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..474096536c974db408eef54c03a43952964015ea --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthorizationRequest.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// AuthorizationRequest <p>Request object for the AuthorizationService</p> + /// + public record comGkSoftwarePosApiServiceSecurityAuthorizationRequest { + /// + /// <p>String : original operator login name</p> + /// + /// <p>String : original operator login name</p> + public string originalOperatorLoginName { get; init; } + /// + /// <p>String : authorizing operator login name</p> + /// + /// <p>String : authorizing operator login name</p> + public string authorizingOperatorLoginName { get; init; } + /// + /// <p>String : authorizing operator password</p> + /// + /// <p>String : authorizing operator password</p> + public string authorizingOperatorPassword { get; init; } + /// + /// <p>String : right id</p> + /// + /// <p>String : right id</p> + public string rightId { get; init; } + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + public string entryMethodCode { get; init; } + /// + /// <p>Indicates that operation is related to line item.</p> + /// + /// <p>Indicates that operation is related to line item.</p> + public bool? lineItemRelevant { get; init; } + /// + /// <p>Indicates that operation is related to retail transaction.</p> + /// + /// <p>Indicates that operation is related to retail transaction.</p> + public bool? retailTransactionRelevant { get; init; } + /// + /// <p>Indicates that operation is related to control transaction.</p> + /// + /// <p>Indicates that operation is related to control transaction.</p> + public bool? controlTransactionRelevant { get; init; } + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + public bool? tenderControlTransactionRelevant { get; init; } + /// + /// <p>boolean : authorizing operator must have rights</p> + /// + /// <p>boolean : authorizing operator must have rights</p> + public bool? authorizingOperatorMustHaveRights { get; init; } + /// + /// <p>boolean : skip password check</p> + /// + /// <p>boolean : skip password check</p> + public bool? skipPasswordCheck { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthorizationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthorizationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..e7e9272fe71dddcf596789eb250d9cedb274869a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityAuthorizationResult.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// AuthorizationResult <p>Result object used by AuthorizationService.</p> + /// + public record comGkSoftwarePosApiServiceSecurityAuthorizationResult { + /// + /// <p>OperatorSO : operatorSO</p> + /// + /// <p>OperatorSO : operatorSO</p> + public ComGkSoftwareSweeSesApiServerUmoperatorDtoSoAbstractoperatorSO operator { get; init; } + /// + /// <p>List of String : ids of permitted resources</p> + /// + /// <p>List of String : ids of permitted resources</p> + public List PermittedResources { get; init; } + /// + /// <p>Authentication result.</p> + /// + /// <p>Authentication result.</p> + public ComGkSoftwarePosApiServiceSecurityauthenticationResult authenticationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData.cs new file mode 100644 index 0000000000000000000000000000000000000000..d09fec610c07a58aeff5187f2453d765338156a9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionResourceOverrideData <p>TransactionResourceOverrideData</p> + /// + public record comGkSoftwarePosApiServiceSecurityTransactionResourceOverrideData { + /// + /// <p>Long : business unit group id.</p> + /// + /// <p>Long : business unit group id.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>OperatorSO : The operator data</p> + /// + /// <p>OperatorSO : The operator data</p> + public ComGkSoftwareSweeSesApiServerUmoperatorDtoSoAbstractoperatorSO operator { get; init; } + /// + /// <p>String : right id</p> + /// + /// <p>String : right id</p> + public string rightId { get; init; } + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + /// + /// <p>String : entry method code. It specifies how the action was triggered (keyed, scanned, ...)</p> + public string entryMethodCode { get; init; } + /// + /// <p>Indicates that operation is related to line item.</p> + /// + /// <p>Indicates that operation is related to line item.</p> + public bool? lineItemRelevant { get; init; } + /// + /// <p>Indicates that operation is related to retail transaction.</p> + /// + /// <p>Indicates that operation is related to retail transaction.</p> + public bool? retailTransactionRelevant { get; init; } + /// + /// <p>Indicates that operation is related to control transaction.</p> + /// + /// <p>Indicates that operation is related to control transaction.</p> + public bool? controlTransactionRelevant { get; init; } + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + /// + /// <p>Indicates that operation is related to tender control transaction.</p> + public bool? tenderControlTransactionRelevant { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4a3faa5468b66760bc31def4f396b93e970ff95c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityUpdatePasswordRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// UpdatePasswordRequest <p>Request object for the AuthenticationService</p> + /// + public record comGkSoftwarePosApiServiceSecurityUpdatePasswordRequest { + /// + /// <p>The operator login name.</p> + /// + /// <p>The operator login name.</p> + public string loginName { get; init; } + /// + /// <p>New password.</p> + /// + /// <p>New password.</p> + public string newPassword { get; init; } + /// + /// <p>Old password.</p> + /// + /// <p>Old password.</p> + public string oldPassword { get; init; } + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + public string storeId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..4bf0460d5334a615290d13bc02349efc0707550f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSecurityUpdatePasswordResult.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// UpdatePasswordResult <p>Result object used by AuthenticationService.</p> + /// + public record comGkSoftwarePosApiServiceSecurityUpdatePasswordResult { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLanguageSettings.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLanguageSettings.cs new file mode 100644 index 0000000000000000000000000000000000000000..d118b092b94e4a63301eb262e73e10a4fb67f576 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLanguageSettings.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// LanguageSettings <p>Transport object for language dependent setting like active scope and hierarchies.</p> + /// + public record comGkSoftwarePosApiServiceSessionLanguageSettings { + /// + /// <p>LanguageScope : active language scope</p> + /// + /// <p>LanguageScope : active language scope</p> + public activeLanguageScopeEnum? activeLanguageScope { get; init; } + /// + /// <p>String array of LanguageScope : hierarchy map</p> + /// + /// <p>String array of LanguageScope : hierarchy map</p> + public Dictionary HierarchyMap { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLoginRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLoginRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ade589628c0c2529a62ef7ed0d8853a7b4dffaba --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLoginRequest.cs @@ -0,0 +1,175 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoginRequest <p>Request object for the PosSessionService.</p> + /// + public record comGkSoftwarePosApiServiceSessionLoginRequest { + /// + /// <p>String : retail store id</p> + /// + /// <p>String : retail store id</p> + public string retailStoreId { get; init; } + /// + /// <p>String : workstation id</p> + /// + /// <p>String : workstation id</p> + public string workstationId { get; init; } + /// + /// <p>String : workstation address</p> + /// + /// <p>String : workstation address</p> + public string workstationAddress { get; init; } + /// + /// <p>String : workstation type code</p> + /// + /// <p>String : workstation type code</p> + public string workstationTypeCode { get; init; } + /// + /// <p>String : client version</p> + /// + /// <p>String : client version</p> + public string clientVersion { get; init; } + /// + /// <p>String : login name</p> + /// + /// <p>String : login name</p> + public string loginName { get; init; } + /// + /// <p>TillDoKey : till id</p> + /// + /// <p>TillDoKey : till id</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey tillId { get; init; } + /// + /// <p>String : password</p> + /// + /// <p>String : password</p> + public string password { get; init; } + /// + /// Gets or Sets OverrideData + /// + public ComGkSoftwarePosApiServiceSecurityTransactionResourceoverrideData overrideData { get; init; } + /// + /// Gets or Sets TrainingMode + /// + public bool? trainingMode { get; init; } + /// + /// Gets or Sets FinalizeControlTransactionFlag + /// + public bool? finalizeControlTransactionFlag { get; init; } + /// + /// <p>boolean: use login type TECHNICAL for login manager calls (default is false)</p> + /// + /// <p>boolean: use login type TECHNICAL for login manager calls (default is false)</p> + public bool? useLoginTypeTechnicalForLoginManager { get; init; } + /// + /// <p>Login name of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + /// + /// <p>Login name of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + public string authorizerLoginName { get; init; } + /// + /// <p>Password of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + /// + /// <p>Password of an authorizing operator e.g. used for 'password forgotten' or other functionalities where the original user doesn't have the required credentials.</p> + public string authorizerPassword { get; init; } + /// + /// <p>Additional data that can be set/used to identify a session.</p> + /// + /// <p>Additional data that can be set/used to identify a session.</p> + public string additionalSessionCriteria01 { get; init; } + /// + /// <p>Additional data that can be set/used to identify a session.</p> + /// + /// <p>Additional data that can be set/used to identify a session.</p> + public string additionalSessionCriteria02 { get; init; } + /// + /// <p>Flag indicating, if POS server login is performed.</p> + /// + /// <p>Flag indicating, if POS server login is performed.</p> + public bool? posServerLoginEnabled { get; init; } + /// + /// <p>Flag indicating, if sign on transaction should be created.</p> + /// + /// <p>Flag indicating, if sign on transaction should be created.</p> + public bool? signOnTransactionEnabled { get; init; } + /// + /// <p>Flag indicating, if session is online</p> + /// + /// <p>Flag indicating, if session is online</p> + public bool? online { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLoginResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLoginResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..8e7e23d87237ffee02f6783a6ad4298dcbe0d3eb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLoginResult.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// LoginResult <p>Result object for the PosSessionService.</p> + /// + public record comGkSoftwarePosApiServiceSessionLoginResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>PosSessionId : pos session id</p> + /// + /// <p>PosSessionId : pos session id</p> + public ComGkSoftwarePosApiSessionposSessionId posSessionId { get; init; } + /// + /// <p>OperatorSO : operator</p> + /// + /// <p>OperatorSO : operator</p> + public ComGkSoftwareSweeSesApiServerUmoperatorDtoSoAbstractoperatorSO operator { get; init; } + /// + /// <p>List of String : permitted resources</p> + /// + /// <p>List of String : permitted resources</p> + public List PermittedResources { get; init; } + /// + /// <p>BusinessUnitDO : business unit</p> + /// + /// <p>BusinessUnitDO : business unit</p> + public ComGkSoftwareGkrApiServerMdbusinessUnitDtoDombusinessUnitDO businessUnit { get; init; } + /// + /// <p>BusinessUnitGroupDO : business unit group</p> + /// + /// <p>BusinessUnitGroupDO : business unit group</p> + public ComGkSoftwareGkrApiServerMdbusinessUnitGroupDtoDombusinessUnitGroupDO businessUnitGroup { get; init; } + /// + /// <p>boolean: Flag to indicate data privacy logging is enabled (true) or not (false)</p> + /// + /// <p>boolean: Flag to indicate data privacy logging is enabled (true) or not (false)</p> + public bool? dataPrivacyEnabled { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLogoutRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLogoutRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..eb8460bc2a1317b831324f3fafafa9378fd42b65 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLogoutRequest.cs @@ -0,0 +1,121 @@ +namespace POSGkSwaggerModel +{ + /// + /// LogoutRequest <p>Request object for the PosSessionService</p> + /// + public record comGkSoftwarePosApiServiceSessionLogoutRequest { + /// + /// <p>String : retail store id</p> + /// + /// <p>String : retail store id</p> + public string retailStoreId { get; init; } + /// + /// <p>String : workstation id</p> + /// + /// <p>String : workstation id</p> + public string workstationId { get; init; } + /// + /// <p>String : client version</p> + /// + /// <p>String : client version</p> + public string clientVersion { get; init; } + /// + /// <p>Encrypted password used for logout</p> + /// + /// <p>Encrypted password used for logout</p> + public string password { get; init; } + /// + /// <p>Indicates whether password should be validated</p> + /// + /// <p>Indicates whether password should be validated</p> + public bool? validatePassword { get; init; } + /// + /// <p>Override data used for logout</p> + /// + /// <p>Override data used for logout</p> + public ComGkSoftwarePosApiServiceSecurityTransactionResourceoverrideData overrideData { get; init; } + /// + /// Gets or Sets PosServerLogoutEnabled + /// + public bool? posServerLogoutEnabled { get; init; } + /// + /// Gets or Sets SignOutTransactionEnabled + /// + public bool? signOutTransactionEnabled { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLogoutResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLogoutResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..603156feb1c621ad872b018631251bb4695292c0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionLogoutResult.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// LogoutResult <p>Result object for the PosSessionService.</p> + /// + public record comGkSoftwarePosApiServiceSessionLogoutResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>boolean : success</p> + /// + /// <p>boolean : success</p> + public bool? success { get; init; } + /// + /// <p>OperatorSO : operator</p> + /// + /// <p>OperatorSO : operator</p> + public ComGkSoftwareSweeSesApiServerUmoperatorDtoSoAbstractoperatorSO operator { get; init; } + /// + /// <p>BusinessUnitDO : business unit</p> + /// + /// <p>BusinessUnitDO : business unit</p> + public ComGkSoftwareGkrApiServerMdbusinessUnitDtoDombusinessUnitDO businessUnit { get; init; } + /// + /// <p>The new POS-Server login manager status token from POS-Server logout response.</p> + /// + /// <p>The new POS-Server login manager status token from POS-Server logout response.</p> + public string workstationStatusToken { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0690c6539de002666281bf9d39ca2d2198f2f009 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosGroupOperatorLoginRequest <p>Request object to perform a pos group operator login.</p> + /// + public record comGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginRequest { + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + public string retailStoreId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationId { get; init; } + /// + /// <p>The workstation type code.</p> + /// + /// <p>The workstation type code.</p> + public string workstationTypeCode { get; init; } + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + public string clientVersion { get; init; } + /// + /// <p>The operator login name.</p> + /// + /// <p>The operator login name.</p> + public string loginName { get; init; } + /// + /// <p>The operator password.</p> + /// + /// <p>The operator password.</p> + public string password { get; init; } + /// + /// <p>A flag to indicate whether the password is required or not.</p> + /// + /// <p>A flag to indicate whether the password is required or not.</p> + public bool? passwordRequired { get; init; } + /// + /// <p>The till identifier.</p> + /// + /// <p>The till identifier.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey tillId { get; init; } + /// + /// <p>If set the pos group operator permissions are checked against this right.</p> + /// + /// <p>If set the pos group operator permissions are checked against this right.</p> + public string requiredRight { get; init; } + /// + /// <p>A flag to indicate whether training mode is active or not.</p> + /// + /// <p>A flag to indicate whether training mode is active or not.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..ccf779af0f527ce2e0bb1d1d28044b865e387a31 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosGroupOperatorLoginResult <p>Result object for a pos group operator login.</p> + /// + public record comGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLoginResult { + /// + /// <p>The new created pos session identifier.</p> + /// + /// <p>The new created pos session identifier.</p> + public ComGkSoftwarePosApiSessionposSessionId posSessionId { get; init; } + /// + /// <p>The resolved operator.</p> + /// + /// <p>The resolved operator.</p> + public ComGkSoftwareSweeSesApiServerUmoperatorDtoSoAbstractoperatorSO operator { get; init; } + /// + /// <p>A list of permitted resources for the operator.</p> + /// + /// <p>A list of permitted resources for the operator.</p> + public List PermittedResources { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c3205c2c51162bc66c06f3cebdad9f23a864f8bb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosGroupOperatorLogoutRequest <p>Request object to perform a pos group operator logout.</p> + /// + public record comGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutRequest { + /// + /// <p>The pos session identifier.</p> + /// + /// <p>The pos session identifier.</p> + public ComGkSoftwarePosApiSessionposSessionId posSessionId { get; init; } + /// + /// <p>A flag to indicate whether the pos group operator to logout is currently activated (true) or deactivated (false) at the POS.</p> + /// + /// <p>A flag to indicate whether the pos group operator to logout is currently activated (true) or deactivated (false) at the POS.</p> + public bool? posGroupOperatorActive { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..d9aec15d82bf541e286f9d6ae3fc12e4bdcd9441 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosGroupOperatorLogoutResult <p>Result object for a pos group operator logout.</p> + /// + public record comGkSoftwarePosApiServiceSessionPosgroupPosGroupOperatorLogoutResult { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..5f7c3440bc600034086f3934285ce5b52b7fa14f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosGroupUnfinishedTransactionCleanUpResponse <p>Response object for a clean up of unfinished transactions.</p> + /// + public record comGkSoftwarePosApiServiceSessionPosgroupPosGroupUnfinishedTransactionCleanUpResponse { + /// + /// <p>The status.</p> + /// + /// <p>The status.</p> + public statusEnum status { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..0c369f4fedde4b3bf66342f53ce6669b171013da --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// SyncPosGroupSessionResult <p>Result object for a synchronization of pos sessions within the pos group.</p> + /// + public record comGkSoftwarePosApiServiceSessionPosgroupSyncPosGroupSessionResult { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionRemoveSessionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionRemoveSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..050901afe4dc22d3775ae2cb1de75daa91457d20 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionRemoveSessionRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// RemoveSessionRequest <p>Result object for the PosSessionService for remove session operation.</p> + /// + public record comGkSoftwarePosApiServiceSessionRemoveSessionRequest { + /// + /// <p>PosSessionId : the pos session id</p> + /// + /// <p>PosSessionId : the pos session id</p> + public ComGkSoftwarePosApiSessionposSessionId posSessionId { get; init; } + /// + /// <p>String : indicates that the SessionHolder should be cleared.</p> + /// + /// <p>String : indicates that the SessionHolder should be cleared.</p> + public bool? clearSessionHolder { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionSwitchUserResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionSwitchUserResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..fdc23589544e65eab8ec27cd281d6ede531956d4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionSwitchUserResult.cs @@ -0,0 +1,117 @@ +namespace POSGkSwaggerModel +{ + /// + /// SwitchUserResult <p>Result object for the PosSessionService for switch user operations.</p> + /// + public record comGkSoftwarePosApiServiceSessionSwitchUserResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>LoginResult : login result</p> + /// + /// <p>LoginResult : login result</p> + public ComGkSoftwarePosApiServiceSessionloginResult loginResult { get; init; } + /// + /// <p>LogoutResult : logout result</p> + /// + /// <p>LogoutResult : logout result</p> + public ComGkSoftwarePosApiServiceSessionlogoutResult logoutResult { get; init; } + /// + /// Gets or Sets AuthenticationResult + /// + public ComGkSoftwarePosApiServiceSecurityauthenticationResult authenticationResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionUnlockSessionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionUnlockSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4bdccb494ba0867d2750b9a6c6a19759ebb03d1b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSessionUnlockSessionRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// UnlockSessionRequest <p>Request for workstation unlock.</p> + /// + public record comGkSoftwarePosApiServiceSessionUnlockSessionRequest { + /// + /// <p>Transaction resource override data used during unlock.</p> + /// + /// <p>Transaction resource override data used during unlock.</p> + public ComGkSoftwarePosApiServiceSecuritytransactionResourceOverrideData transactionResourceOverrideData { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c4657ce4eb88fba06f0eeae00b16140888eb73ec --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckAvailabilityAndCleanupRequest <p>Request object for the checking service availability and cleaning up sessions and transactions on an active service instance.</p> + /// + public record comGkSoftwarePosApiServiceSmartposCheckAvailabilityAndCleanupRequest { + /// + /// <p>The store identifier (business unit id).</p> + /// + /// <p>The store identifier (business unit id).</p> + public string retailStoreId { get; init; } + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + public string workstationId { get; init; } + /// + /// <p>The client application version.</p> + /// + /// <p>The client application version.</p> + public string clientVersion { get; init; } + /// + /// <p>The main transaction currently in client transaction context.</p> + /// + /// <p>The main transaction currently in client transaction context.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction mainTransaction { get; init; } + /// + /// <p>Complete last finalized transaction object.</p> + /// + /// <p>Complete last finalized transaction object.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedTransaction { get; init; } + /// + /// <p>Complete last finalized retail transaction object.</p> + /// + /// <p>Complete last finalized retail transaction object.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedRetailTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..e140ecdb8376e27a693638a79aaab07c563f93cc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposMDReplicationEndEvent.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// MDReplicationEndEvent <p>Event object for master data replication end.</p> + /// + public record comGkSoftwarePosApiServiceSmartposMDReplicationEndEvent { + /// + /// <p>The store id (business unit id).</p> + /// + /// <p>The store id (business unit id).</p> + public string storeNumber { get; init; } + /// + /// <p>Indicates if process ended without failure.</p> + /// + /// <p>Indicates if process ended without failure.</p> + public bool? success { get; init; } + /// + /// <p>Indicates if new pump was downloaded, data transfered to database and databases were switched.</p> + /// + /// <p>Indicates if new pump was downloaded, data transfered to database and databases were switched.</p> + public bool? newPumpUsed { get; init; } + /// + /// <p>Indicates whether new transport objects were saved during master data replication.</p> + /// + /// <p>Indicates whether new transport objects were saved during master data replication.</p> + public bool? newTransportObjectsSaved { get; init; } + /// + /// <p>Id of last changed entity during master data replication.</p> + /// + /// <p>Id of last changed entity during master data replication.</p> + public string lastChangedEntityId { get; init; } + /// + /// <p>Message key of failure cause.</p> + /// + /// <p>Message key of failure cause.</p> + public string failKey { get; init; } + /// + /// <p>Localized message of failure cause.</p> + /// + /// <p>Localized message of failure cause.</p> + public string failCause { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent.cs new file mode 100644 index 0000000000000000000000000000000000000000..f442b0baeacf12c880bd74824d83c4dd2c68f960 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// MDReplicationProgressEvent <p>Event object for master data replication progress.</p> + /// + public record comGkSoftwarePosApiServiceSmartposMDReplicationProgressEvent { + /// + /// <p>The event id.</p> + /// + /// <p>The event id.</p> + public string eventId { get; init; } + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + public string type { get; init; } + /// + /// <p>The retail store id.</p> + /// + /// <p>The retail store id.</p> + public string storeNumber { get; init; } + /// + /// <p>Returns current step (or count for count event) of action. Exact meaning of step may be different for different actions.</p> + /// + /// <p>Returns current step (or count for count event) of action. Exact meaning of step may be different for different actions.</p> + public string currentStep { get; init; } + /// + /// <p>Returns steps count of action. Exact meaning of step may be different for different actions.</p> + /// + /// <p>Returns steps count of action. Exact meaning of step may be different for different actions.</p> + public string stepsCount { get; init; } + /// + /// <p>Translates progress to interval &lt;0, 1&gt; Values &lt; 0 and &gt; 1 indicates that this is before/after. For count event 1.0 is always returned.</p> + /// + /// <p>Translates progress to interval &lt;0, 1&gt; Values &lt; 0 and &gt; 1 indicates that this is before/after. For count event 1.0 is always returned.</p> + public double? progress { get; init; } + /// + /// <p>Indicates if this is event called before the action started.</p> + /// + /// <p>Indicates if this is event called before the action started.</p> + public bool? beforeEvent { get; init; } + /// + /// <p>Indicates if this is event called after the action was completed.</p> + /// + /// <p>Indicates if this is event called after the action was completed.</p> + public bool? afterEvent { get; init; } + /// + /// <p>Indicates that this event is progress event</p> + /// + /// <p>Indicates that this event is progress event</p> + public bool? progressEvent { get; init; } + /// + /// <p>Indicates that this event is count event (similar to progress, but with unknown stepsCount)</p> + /// + /// <p>Indicates that this event is count event (similar to progress, but with unknown stepsCount)</p> + public bool? countEvent { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7dc7123fe8c60c31c0991d94730c913f5ed955b4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSmartposTakeOverSessionRequest.cs @@ -0,0 +1,148 @@ +namespace POSGkSwaggerModel +{ + /// + /// TakeOverSessionRequest <p>Request object for session take over during a service switch due to communication failure on other existing service instances.</p> + /// + public record comGkSoftwarePosApiServiceSmartposTakeOverSessionRequest { + /// + /// <p>The operator login id.</p> + /// + /// <p>The operator login id.</p> + public string operatorId { get; init; } + /// + /// <p>The store identifier (business unit id).</p> + /// + /// <p>The store identifier (business unit id).</p> + public string retailStoreId { get; init; } + /// + /// <p>The workstation id.</p> + /// + /// <p>The workstation id.</p> + public string workstationId { get; init; } + /// + /// <p>The client application version.</p> + /// + /// <p>The client application version.</p> + public string clientVersion { get; init; } + /// + /// <p>The till identifier.</p> + /// + /// <p>The till identifier.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionTillDoKey tillId { get; init; } + /// + /// <p>The main transaction currently in client transaction context.</p> + /// + /// <p>The main transaction currently in client transaction context.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction mainTransaction { get; init; } + /// + /// <p>Scoped transactions currently present in client transaction context.</p> + /// + /// <p>Scoped transactions currently present in client transaction context.</p> + public Dictionary ScopedTransactions { get; init; } + /// + /// <p>The transaction id of the active transaction in client transaction context.</p> + /// + /// <p>The transaction id of the active transaction in client transaction context.</p> + public string activatedTransactionId { get; init; } + /// + /// <p>Complete last finalized transaction object.</p> + /// + /// <p>Complete last finalized transaction object.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedTransaction { get; init; } + /// + /// <p>Complete last finalized retail transaction object.</p> + /// + /// <p>Complete last finalized retail transaction object.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction lastFinalizedRetailTransaction { get; init; } + /// + /// <p>The current pos session data in the client administration context.</p> + /// + /// <p>The current pos session data in the client administration context.</p> + public ComGkSoftwarePosApiSessionposSessionData posSessionData { get; init; } + /// + /// <p>The current language settings in the client administration context.</p> + /// + /// <p>The current language settings in the client administration context.</p> + public ComGkSoftwarePosApiServiceSessionlanguageSettings languageSettings { get; init; } + /// + /// <p>If true, the session take over will be enforced without further checks.</p> + /// + /// <p>If true, the session take over will be enforced without further checks.</p> + public bool? enforceTakeOver { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStockStockServiceRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStockStockServiceRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..78e248684c40301da18bdb16a9c4615633fe67d5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStockStockServiceRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// StockServiceRequest <p>Request object for stock service.</p> + /// + public record comGkSoftwarePosApiServiceStockStockServiceRequest { + /// + /// <p>Item identifiers for stock information request.</p> + /// + /// <p>Item identifiers for stock information request.</p> + public List ItemIds { get; init; } + /// + /// <p>Store identifiers requesting the stock information.</p> + /// + /// <p>Store identifiers requesting the stock information.</p> + public List StoreIds { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3d3d4b7cb12acb272030e133b1f1adcf7156fc22 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest.cs @@ -0,0 +1,163 @@ +namespace POSGkSwaggerModel +{ + /// + /// CancelGiftCertTransactionRequest <p>Request object for canceling (voiding) a gift certificate.</p> + /// + public record comGkSoftwarePosApiServiceStoredValueServerCancelGiftCertTransactionRequest { + /// + /// <p>Specific id of gift certificate service to use.</p> + /// + /// <p>Specific id of gift certificate service to use.</p> + public string serviceId { get; init; } + /// + /// <p>Configuration for dealing with position operations when performing a gift certificate cancel.</p> + /// + /// <p>Configuration for dealing with position operations when performing a gift certificate cancel.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Calling process identifier.</p> + /// + /// <p>Calling process identifier.</p> + public string callingProcess { get; init; } + /// + /// <p>Stored values service identifier.</p> + /// + /// <p>Stored values service identifier.</p> + public string storedValuesServiceId { get; init; } + /// + /// <p>Transaction id for transaction containing the gift certificate to be canceled.</p> + /// + /// <p>Transaction id for transaction containing the gift certificate to be canceled.</p> + public string transactionId { get; init; } + /// + /// <p>Number of receipt of transaction canceling the gift certificate (transaction sequence number).</p> + /// + /// <p>Number of receipt of transaction canceling the gift certificate (transaction sequence number).</p> + public string receiptNumber { get; init; } + /// + /// <p>Transaction ID of the transaction to be canceled at stored value server (eg.: top up transaction id).</p> + /// + /// <p>Transaction ID of the transaction to be canceled at stored value server (eg.: top up transaction id).</p> + public string giftCertTransactionId { get; init; } + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + public string giftCertNumber { get; init; } + /// + /// <p>Gift certificate track2 data.</p> + /// + /// <p>Gift certificate track2 data.</p> + public string track2 { get; init; } + /// + /// <p>Gift certificate amount.</p> + /// + /// <p>Gift certificate amount.</p> + public double? giftCertAmount { get; init; } + /// + /// <p>ISO currency code.</p> + /// + /// <p>ISO currency code.</p> + public string isoCurrencyCode { get; init; } + /// + /// <p>Approval code from terminal related to gift card transaction.</p> + /// + /// <p>Approval code from terminal related to gift card transaction.</p> + public string approvalCode { get; init; } + /// + /// <p>The terminal reference number.</p> + /// + /// <p>The terminal reference number.</p> + public string terminalReferenceNumber { get; init; } + /// + /// <p>The original transaction UUID from registration. </p> + /// + /// <p>The original transaction UUID from registration. </p> + public string gcsTransactionUUID { get; init; } + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all gift certificates.</p> + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all gift certificates.</p> + public bool? ignoreFailures { get; init; } + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + public bool? voidTenderLineItems { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..117c0482890463e6390f3a0e4b01b298c2616752 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificateRequest <p>Request object for the StoredValueServerService.</p> + /// + public record comGkSoftwarePosApiServiceStoredValueServerGiftCertificateRequest { + /// + /// <p>Service identifier.</p> + /// + /// <p>Service identifier.</p> + public string serviceId { get; init; } + /// + /// <p>Specifies the gift certificate type.<br /> Possible values are:<br /> gift certificate as '01'<br /> gift card as '02'<br /> foreign gift certificate as '03'<br /> promotion gift certificate as '04'</p> + /// + /// <p>Specifies the gift certificate type.<br /> Possible values are:<br /> gift certificate as '01'<br /> gift card as '02'<br /> foreign gift certificate as '03'<br /> promotion gift certificate as '04'</p> + public string giftCertificateType { get; init; } + /// + /// <p>Gift certificate number.</p> + /// + /// <p>Gift certificate number.</p> + public string giftCertificateNumber { get; init; } + /// + /// <p>Gift certificate track2 data.</p> + /// + /// <p>Gift certificate track2 data.</p> + public string giftTrack2 { get; init; } + /// + /// <p>Amount of the gift certificate, its meaning depends on the operation.</p> + /// + /// <p>Amount of the gift certificate, its meaning depends on the operation.</p> + public ComGkSoftwarePosApiModelDomAppamountamount amount { get; init; } + /// + /// <p>Expiration date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Expiration date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expiryDate { get; init; } + /// + /// <p>Universally unique transaction ID.</p> + /// + /// <p>Universally unique transaction ID.</p> + public string gcsTransactionUUID { get; init; } + /// + /// <p>The remaining payment amount for the base currency.</p> + /// + /// <p>The remaining payment amount for the base currency.</p> + public double? openPaymentAmount { get; init; } + /// + /// <p>Calling process identifier.</p> + /// + /// <p>Calling process identifier.</p> + public string callingProcess { get; init; } + /// + /// <p>List of additional info attributes and values.</p> + /// + /// <p>List of additional info attributes and values.</p> + public List AdditionalInfo { get; init; } + /// + /// <p>Indicates whether service has been started on training mode.</p> + /// + /// <p>Indicates whether service has been started on training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemApplicationInfo.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemApplicationInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..f566904313423e3a2aaeeebe5054068c10f38668 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemApplicationInfo.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// ApplicationInfo <p>Data object for service application information.</p> + /// + public record comGkSoftwarePosApiServiceSystemApplicationInfo { + /// + /// <p>Application version.</p> + /// + /// <p>Application version.</p> + public string appVersion { get; init; } + /// + /// <p>Application revision number.</p> + /// + /// <p>Application revision number.</p> + public string appRevision { get; init; } + /// + /// <p>Application build number.</p> + /// + /// <p>Application build number.</p> + public string appBuildNumber { get; init; } + /// + /// <p>Application build date.</p> + /// + /// <p>Application build date.</p> + public string appFormattedDate { get; init; } + /// + /// <p>JDK version used in application build.</p> + /// + /// <p>JDK version used in application build.</p> + public string appJdkVersion { get; init; } + /// + /// <p>A key-value pair map of strings for fiscalization information. Extension point for projects to load fiscalization specific information into this map.</p> + /// + /// <p>A key-value pair map of strings for fiscalization information. Extension point for projects to load fiscalization specific information into this map.</p> + public Dictionary FiscalizationInfo { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemPingRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemPingRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a1a799c5c6116436c990343080850a6d342a05e8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemPingRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// PingRequest <p>Request object for the SystemService ping.</p> + /// + public record comGkSoftwarePosApiServiceSystemPingRequest { + /// + /// <p>Business unit id.</p> + /// + /// <p>Business unit id.</p> + public string businessUnitId { get; init; } + /// + /// <p>Workstation id.</p> + /// + /// <p>Workstation id.</p> + public string workstationId { get; init; } + /// + /// <p>Workstation address.</p> + /// + /// <p>Workstation address.</p> + public string workstationAddress { get; init; } + /// + /// <p>The POS-Server / Login-Manager workstation status token that was received in prev. call.</p> + /// + /// <p>The POS-Server / Login-Manager workstation status token that was received in prev. call.</p> + public string workstationStatusToken { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemPingResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemPingResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..5f640f820df9f6081f636291e083ac2d12b57c54 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceSystemPingResponse.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PingResponse <p>Response object for the SystemService ping.</p> + /// + public record comGkSoftwarePosApiServiceSystemPingResponse { + /// + /// <p>Workstation command pending for client execution.</p> + /// + /// <p>Workstation command pending for client execution.</p> + public ComGkSoftwareGkrApiLoginManagerDtoworkstationCommand workstationCommand { get; init; } + /// + /// <p>The POS-Server / Login-Manager workstation status token. It must be stored and resend with next request.</p> + /// + /// <p>The POS-Server / Login-Manager workstation status token. It must be stored and resend with next request.</p> + public string workstationStatusToken { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b030d677d1e0cb05ac7c34452eef5e339517f7b3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest.cs @@ -0,0 +1,87 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindDynamicTableauItemListUpdateViewsRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsRequest { + /// + /// Gets or Sets DynamicTableauItemListUpdateViewCriteria + /// + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomdynamicTableauItemListUpdateViewCriteria dynamicTableauItemListUpdateViewCriteria { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..164ce5903c21f57cbba348f56f274d44c7cb27a8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse.cs @@ -0,0 +1,87 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindDynamicTableauItemListUpdateViewsResponse TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTableauFindDynamicTableauItemListUpdateViewsResponse { + /// + /// Gets or Sets DynamicTableauItemListUpdateViews + /// + public List DynamicTableauItemListUpdateViews { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..afca2c68b5fdb4c6293a9f362620c759d073a8d4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest.cs @@ -0,0 +1,87 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindDynamicTableauItemListViewsRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsRequest { + /// + /// Gets or Sets DynamicTableauItemListViewCriteria + /// + public ComGkSoftwareGkrApiServerMdDynamicTableauDtoDomdynamicTableauItemListViewCriteria dynamicTableauItemListViewCriteria { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..8daf47f3a125e2a738a656ffde090b43af231012 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse.cs @@ -0,0 +1,87 @@ +namespace POSGkSwaggerModel +{ + /// + /// FindDynamicTableauItemListViewsResponse TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTableauFindDynamicTableauItemListViewsResponse { + /// + /// Gets or Sets DynamicTableauItemListViews + /// + public List DynamicTableauItemListViews { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4ded70316f931a318c20e947bc1a8577b3be76bd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillRequest <p>Request object for the TillService</p> + /// + public record comGkSoftwarePosApiServiceTillTillRequest { + /// + /// <p>The operator id used for till assignments.</p> + /// + /// <p>The operator id used for till assignments.</p> + public string operatorId { get; init; } + /// + /// <p>The workstation id used for till assignments.</p> + /// + /// <p>The workstation id used for till assignments.</p> + public string workstationId { get; init; } + /// + /// <p>The business unit id used for till assignments.</p> + /// + /// <p>The business unit id used for till assignments.</p> + public string businessUnitId { get; init; } + /// + /// <p>Collection of till identifiers.</p> + /// + /// <p>Collection of till identifiers.</p> + public List TillIds { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..b725a5851d94d6a774f74640aad31b5960ef4d74 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillResponse <p>Response object for the TillService containing assigned tills for given request.</p> + /// + public record comGkSoftwarePosApiServiceTillTillResponse { + /// + /// <p>Collection of tills assigned to the given workstation or operator.</p> + /// + /// <p>Collection of tills assigned to the given workstation or operator.</p> + public List Tills { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4258b6fc711f7dcaec2ab7d821ea14ca3e098378 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillTenderSummaryRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillTenderSummaryRequest <p>Request object for till tender summaries.</p> + /// + public record comGkSoftwarePosApiServiceTillTillTenderSummaryRequest { + /// + /// <p>Refresh strategy of till copy object (eg.: ForceRefresh, RefreshAndOfflineFallback and CachedOrInitialize).</p> + /// + /// <p>Refresh strategy of till copy object (eg.: ForceRefresh, RefreshAndOfflineFallback and CachedOrInitialize).</p> + public refreshStrategyEnum? refreshStrategy { get; init; } + /// + /// <p>Business unit group id used for till tender summary.</p> + /// + /// <p>Business unit group id used for till tender summary.</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>Till identifier.</p> + /// + /// <p>Till identifier.</p> + public string tillId { get; init; } + /// + /// <p>Workstation id.</p> + /// + /// <p>Workstation id.</p> + public string workstationId { get; init; } + /// + /// <p>Flag for indicating whether training mode is enabled.</p> + /// + /// <p>Flag for indicating whether training mode is enabled.</p> + public bool? trainingFlag { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..729db893e0f4859790dd57c621606ddf08d82b21 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTillTillTenderSummaryResponse.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// TillTenderSummaryResponse <p>Response object for the TillService containing a summary of till tenders.</p> + /// + public record comGkSoftwarePosApiServiceTillTillTenderSummaryResponse { + /// + /// <p>The till copy object.</p> + /// + /// <p>The till copy object.</p> + public ComGkSoftwareGkrApiTcoDtotillCopyObject tillCopyObject { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..174ca4d07b3ce2ebe71383eb189d5212c1684da1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ActivateTaxExemptRequest <p>Request object for activating tax exemption.</p> + /// + public record comGkSoftwarePosApiServiceTransactionActivateTaxExemptRequest { + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The customer id.</p> + /// + /// <p>The customer id.</p> + public string customerIdentifier { get; init; } + /// + /// <p>The reason for activating tax exemption.</p> + /// + /// <p>The reason for activating tax exemption.</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1d74cfd933762b75ed17f11798879665575c1e33 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest.cs @@ -0,0 +1,97 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddExternalTransactionAdditionalPrintoutRequest <p>Request object to add additional external printouts.</p> + /// + public record comGkSoftwarePosApiServiceTransactionAddExternalTransactionAdditionalPrintoutRequest { + /// + /// <p>The report identifier.</p> + /// + /// <p>The report identifier.</p> + public string reportId { get; init; } + /// + /// Gets or Sets TransactionId + /// + public string transactionId { get; init; } + /// + /// <p>A list of print additional line item text lines.</p> + /// + /// <p>A list of print additional line item text lines.</p> + public List Content { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..492123c5fe9e954dbe0f2d09d1122981c549698a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest.cs @@ -0,0 +1,193 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddFiscalizationDataToTransactionRequest <p>Request object to add fiscalization data to a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionAddFiscalizationDataToTransactionRequest { + /// + /// <p>The identifier of the transaction where the fiscalization data should be set.</p> + /// + /// <p>The identifier of the transaction where the fiscalization data should be set.</p> + public string transactionId { get; init; } + /// + /// <p>The fiscalization day number.</p> + /// + /// <p>The fiscalization day number.</p> + public string fiscalDayNumber { get; init; } + /// + /// <p>The fiscalization printer identifier.</p> + /// + /// <p>The fiscalization printer identifier.</p> + public string fiscalPrinterId { get; init; } + /// + /// <p>A flag to indicate if it is a fiscalization receipt/transaction.</p> + /// + /// <p>A flag to indicate if it is a fiscalization receipt/transaction.</p> + public bool? fiscalReceipt { get; init; } + /// + /// <p>The fiscalization receipt number.</p> + /// + /// <p>The fiscalization receipt number.</p> + public string fiscalReceiptNumber { get; init; } + /// + /// <p>The fiscalization signature.</p> + /// + /// <p>The fiscalization signature.</p> + public string fiscalSignature { get; init; } + /// + /// <p>The fiscalization receipt text.</p> + /// + /// <p>The fiscalization receipt text.</p> + public string fiscalReceiptText { get; init; } + /// + /// <p>The encoded fiscalization barcode image.</p> + /// + /// <p>The encoded fiscalization barcode image.</p> + public string fiscalEncodedBarcodeImage { get; init; } + /// + /// <p>The fiscalization barcode reference.</p> + /// + /// <p>The fiscalization barcode reference.</p> + public string fiscalBarcodeReference { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The fiscalization receipt security code.</p> + /// + /// <p>The fiscalization receipt security code.</p> + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult fiscalSecurity { get; init; } + /// + /// <p>The fiscalization receipt tax identifier.</p> + /// + /// <p>The fiscalization receipt tax identifier.</p> + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult fiscalTaxId { get; init; } + /// + /// <p>The fiscalization receipt fiscal code.</p> + /// + /// <p>The fiscalization receipt fiscal code.</p> + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult fiscalCode { get; init; } + /// + /// <p>The fiscalization year.</p> + /// + /// <p>The fiscalization year.</p> + public int? fiscalYear { get; init; } + /// + /// <p>The fiscalization signing key version.</p> + /// + /// <p>The fiscalization signing key version.</p> + public string keyVersion { get; init; } + /// + /// <p>Daily sum of digital signatures</p> + /// + /// <p>Daily sum of digital signatures</p> + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult signatureSumDaily { get; init; } + /// + /// <p>Total sum of digital signatures</p> + /// + /// <p>Total sum of digital signatures</p> + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult signatureSumPerpetual { get; init; } + /// + /// <p>Date and time of signature</p> + /// + /// <p>Date and time of signature</p> + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult timestamp { get; init; } + /// + /// <p>ESD serial number</p> + /// + /// <p>ESD serial number</p> + public ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult esdId { get; init; } + /// + /// <p>deprecated: as of 5.5.0. Use instead proper service to set flag<br /> A flag to indicate that the receipt was printed.</p> + /// + /// <p>deprecated: as of 5.5.0. Use instead proper service to set flag<br /> A flag to indicate that the receipt was printed.</p> + public bool? receiptPrinted { get; init; } + /// + /// <p>Additional extensions</p> + /// + /// <p>Additional extensions</p> + public List Extensions { get; init; } + /// + /// <p>Additional binary data extensions</p> + /// + /// <p>Additional binary data extensions</p> + public List BinaryDataExtensions { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5ba321c36333a557e38363e95212bddd8041a4b5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddTerminalPrintoutsToTransactionRequest <p>Transport object to store a list of merchant and customer printouts .</p> + /// + public record comGkSoftwarePosApiServiceTransactionAddTerminalPrintoutsToTransactionRequest { + /// + /// <p>Collection of printouts to store on a transaction.</p> + /// + /// <p>Collection of printouts to store on a transaction.</p> + public List TerminalPrintoutsLineRequests { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..245de5a578434c5359ee3182d4ada7541278d176 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest.cs @@ -0,0 +1,92 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddTransactionAdditionalPrintoutsRequest <p>Request object to add additional printouts to a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionAddTransactionAdditionalPrintoutsRequest { + /// + /// Gets or Sets TransactionId + /// + public string transactionId { get; init; } + /// + /// <p>A list of transaction additional printouts.</p> + /// + /// <p>A list of transaction additional printouts.</p> + public List TransactionAdditionalPrintouts { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a3d638ff44cef1727294a0bcfa70ab07c9b62b29 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddTransactionExtensionRequest <p>Request object for adding a transaction extension to the transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionAddTransactionExtensionRequest { + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + public string transactionId { get; init; } + /// + /// <p>The transaction extension key to be added to transaction.</p> + /// + /// <p>The transaction extension key to be added to transaction.</p> + public string extensionKey { get; init; } + /// + /// <p>The transaction extension value to be added to transaction.</p> + /// + /// <p>The transaction extension value to be added to transaction.</p> + public string extensionValue { get; init; } + /// + /// <p>A flag to indicate if the transaction should be stored. The default value is false.</p> + /// + /// <p>A flag to indicate if the transaction should be stored. The default value is false.</p> + public bool? storeTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a5214acf10c56a87c3ca27c8d3e722267055eea0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddTransactionExtensionsRequest <p>Request object for adding a list of transaction extensions to the transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionAddTransactionExtensionsRequest { + /// + /// <p>A list of AddTransactionExtensionRequest objects. To add a single transaction extension for each request object in the list.</p> + /// + /// <p>A list of AddTransactionExtensionRequest objects. To add a single transaction extension for each request object in the list.</p> + public List Requests { get; init; } + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + /// + /// <p>The identifier of the transaction where the transaction extensions should be added.</p> + public string transactionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..62e586ee263158bf2a2cda1ea9d440290c7d6954 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// AddTransactionTimerRequest <p>Request object to add transaction timer to transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionAddTransactionTimerRequest { + /// + /// <p>ID of the timer.<br /> 1 ... Registration timer<br /> 2 ... Payment timer</p> + /// + /// <p>ID of the timer.<br /> 1 ... Registration timer<br /> 2 ... Payment timer</p> + public string timerID { get; init; } + /// + /// <p>Start time of the timer.</p> + /// + /// <p>Start time of the timer.</p> + public string startTime { get; init; } + /// + /// <p>Stop time of the timer.</p> + /// + /// <p>Stop time of the timer.</p> + public string stopTime { get; init; } + /// + /// <p>Origin of the timer.<br /> 00 ... Current transaction<br /> 01 ... taken over from suspended transaction<br /> 02 ... taken over from food order / table movement transaction<br /> 03 ... taken over from scale transaction</p> + /// + /// <p>Origin of the timer.<br /> 00 ... Current transaction<br /> 01 ... taken over from suspended transaction<br /> 02 ... taken over from food order / table movement transaction<br /> 03 ... taken over from scale transaction</p> + public string timerOriginTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a03817cdde0fb8187623065c1b4fc7c396a9b43a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionAlternativeTaxRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// AlternativeTaxRequest <p>Request object for alternative tax.</p> + /// + public record comGkSoftwarePosApiServiceTransactionAlternativeTaxRequest { + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>A flag to indicate the recalculation of taxes.</p> + /// + /// <p>A flag to indicate the recalculation of taxes.</p> + public bool? calculateTax { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6f8ff997b2337b4837d4c4e02e40e39a1b731794 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CalculateReturnUnitPricesRequest <p>Request object to calculate return unit prices during payment end.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCalculateReturnUnitPricesRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The condition split configuration.</p> + /// + /// <p>The condition split configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsconditionSplitConfig conditionSplitConfig { get; init; } + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + /// + /// <p>This parameter defines the list of condition types for price reduction.<br /> @deprecated as of 5.6.0. Use instead: conditionSplitConfig.manualDiscountTypes</p> + public List ManualDiscountTypes { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..91fe26f73bdcba5c2f68bdb2142fd6a8662764c0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CancelAllExternalLineItemsRequest <p>Request object to cancel all external line items.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The name of the calling process.</p> + /// + /// <p>The name of the calling process.</p> + public string callingProcess { get; init; } + /// + /// <p>Indicates whether service should be started in training mode.</p> + /// + /// <p>Indicates whether service should be started in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>The header object which should be used (and is needed) for the couponing service request</p> + /// + /// <p>The header object which should be used (and is needed) for the couponing service request</p> + public ComGkSoftwarePosApiServiceCouponCouponingRequestHeaderData couponingServiceHeader { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..ef6351afb1817c02d66a05982e3efcd420999cd1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// CancelAllExternalLineItemsResult <p>Result object for service call to cancel all external line items.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCancelAllExternalLineItemsResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>A flag to indicate that at least one loyalty points item was cancelled successful.</p> + /// + /// <p>A flag to indicate that at least one loyalty points item was cancelled successful.</p> + public bool? atLeastOneLoyaltyPointsItemRefunded { get; init; } + /// + /// <p>A flag to indicate that at least one gift certificate was cancelled successful.</p> + /// + /// <p>A flag to indicate that at least one gift certificate was cancelled successful.</p> + public bool? atLeastOneGiftCertCancelled { get; init; } + /// + /// <p>The amount of earned frequent shopper points that could not be cancelled successful.</p> + /// + /// <p>The amount of earned frequent shopper points that could not be cancelled successful.</p> + public double? failedFrequentShopperPointsEarnedAmounts { get; init; } + /// + /// <p>A flag to indicate that at least one checkout coupon was canceled successful.</p> + /// + /// <p>A flag to indicate that at least one checkout coupon was canceled successful.</p> + public bool? atLeastOneCheckoutCouponCanceled { get; init; } + /// + /// <p>A flag to indicate that at least one coupon redemption was canceled successful.</p> + /// + /// <p>A flag to indicate that at least one coupon redemption was canceled successful.</p> + public bool? atLeastOneCouponRedemptionCanceled { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ae00ceef256473d35aa102059af090b236de106b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CancelGiftCertLineItemRequest <p>The entity CancelGiftCertLineItemRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionCancelGiftCertLineItemRequest { + /// + /// <p>The key of the retail transaction line item.</p> + /// + /// <p>The key of the retail transaction line item.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The transactionId</p> + /// + /// <p>The transactionId</p> + public string transactionId { get; init; } + /// + /// <p>The receiptNumber</p> + /// + /// <p>The receiptNumber</p> + public string receiptNumber { get; init; } + /// + /// <p>The callingProcess</p> + /// + /// <p>The callingProcess</p> + public string callingProcess { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..56b4be686c2103c5c45367fadde0468b4288f60c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCancelTransactionRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CancelTransactionRequest <p>Request object for cancelling a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCancelTransactionRequest { + /// + /// <p>The reason.</p> + /// + /// <p>The reason.</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + public bool? finalizeTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCashRefundRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCashRefundRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ca6065086ffb6fa47cd71d59e6b7da0ccb3de461 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCashRefundRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CashRefundRequest <p>Request object for cash refund.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCashRefundRequest { + /// + /// <p>The identifier of the transaction to refund.</p> + /// + /// <p>The identifier of the transaction to refund.</p> + public string transactionId { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a4e1d17b869f424ae6e75acad39b95fb4f606dfd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckPriceLimitRequest <p>Request object for checking of price limits.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCheckPriceLimitRequest { + /// + /// <p>The absolute price position limit.</p> + /// + /// <p>The absolute price position limit.</p> + public double? absolutePositionLimit { get; init; } + /// + /// <p>The percentage price position limit.</p> + /// + /// <p>The percentage price position limit.</p> + public double? percentPositionLimit { get; init; } + /// + /// <p>The old price.</p> + /// + /// <p>The old price.</p> + public double? oldPrice { get; init; } + /// + /// <p>The new price.</p> + /// + /// <p>The new price.</p> + public double? newPrice { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a633b0136fe641f6f09c15c9d4cc5541d4f02cab --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckQuantityInputProhibitedRequest <p>The check quantity input prohibited request object</p> + /// + public record comGkSoftwarePosApiServiceTransactionCheckQuantityInputProhibitedRequest { + /// + /// <p>The pos item Id</p> + /// + /// <p>The pos item Id</p> + public string posItemId { get; init; } + /// + /// <p>The business unit Id</p> + /// + /// <p>The business unit Id</p> + public string businessUnitId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..acb00490df7f9895adc93547ab9350af36556e9f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// CheckTransactionVoidableRequest <p>Request object to check if a transaction is voidable.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCheckTransactionVoidableRequest { + /// + /// <p>The identifier of transaction to void.</p> + /// + /// <p>The identifier of transaction to void.</p> + public string transactionToVoidId { get; init; } + /// + /// <p>The allowed age of the transaction to void in days. If a receipt is older than allowed it is not voidable anymore.</p> + /// + /// <p>The allowed age of the transaction to void in days. If a receipt is older than allowed it is not voidable anymore.</p> + public int? receiptAgeAllowedInDays { get; init; } + /// + /// <p>Indicates if cancellation of gift certificates is allowed.</p> + /// + /// <p>Indicates if cancellation of gift certificates is allowed.</p> + public bool? giftCertCancelAllowed { get; init; } + /// + /// <p>Indicates cancellation of receipts of other workstations is allowed or not. If only same workstation is allowed. The currentWorkstationId must match the workstation identifier in the transaction.</p> + /// + /// <p>Indicates cancellation of receipts of other workstations is allowed or not. If only same workstation is allowed. The currentWorkstationId must match the workstation identifier in the transaction.</p> + public bool? onlySamePosAllowed { get; init; } + /// + /// <p>The current workstation identifier.</p> + /// + /// <p>The current workstation identifier.</p> + public string currentWorkstationId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ac99ef869659931b2cc355286ef31e10dff07959 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// ComboMealRegistrationRequest <p>Domain object for ComboMealRegistration</p> + /// + public record comGkSoftwarePosApiServiceTransactionComboMealRegistrationRequest { + /// + /// <p>Flag if line item to register is the main line item of the 'Combo Meal'</p> + /// + /// <p>Flag if line item to register is the main line item of the 'Combo Meal'</p> + public bool? mainLineItem { get; init; } + /// + /// <p>The line item key of the 'Combo Meal' main line item. This field should only be set for related item registration.</p> + /// + /// <p>The line item key of the 'Combo Meal' main line item. This field should only be set for related item registration.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey mainLineItemKey { get; init; } + /// + /// <p>The original price of the 'Combo Meal' related line item (max(ComponentItem.currentPrice) of all standard items of the component).<br /> This field should only be set for related item registration and if the related item is an alternative item.</p> + /// + /// <p>The original price of the 'Combo Meal' related line item (max(ComponentItem.currentPrice) of all standard items of the component).<br /> This field should only be set for related item registration and if the related item is an alternative item.</p> + public double? relatedLineItemOriginalPrice { get; init; } + /// + /// <p>Flag if 'discount shares calculation' should be processed during registration.</p> + /// + /// <p>Flag if 'discount shares calculation' should be processed during registration.</p> + public bool? calculateDiscountShares { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c1ff1827d62d0336b08353d756b3883510dfc94b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ConvertSuspendCodesRequest <p>Request object to convert suspend codes to transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionConvertSuspendCodesRequest { + /// + /// <p>List of suspend codes.</p> + /// + /// <p>List of suspend codes.</p> + public List SuspendCodes { get; init; } + /// + /// <p>The number format pattern for prices.</p> + /// + /// <p>The number format pattern for prices.</p> + public string numberFormatPattern { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..6b346bfc226d214f8dc09e7b005b9c945b5c4fa1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ConvertSuspendCodesResponse <p>Response object from convert suspend codes function.</p> + /// + public record comGkSoftwarePosApiServiceTransactionConvertSuspendCodesResponse { + /// + /// <p>Transaction created with information from code.</p> + /// + /// <p>Transaction created with information from code.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction transactionFromConvertedSuspendCodes { get; init; } + /// + /// <p>List of skipped items.</p> + /// + /// <p>List of skipped items.</p> + public List SkippedItems { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9876edb08cf8142c0694ee9b407a98719a527344 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateDownpaymentLineItemRequest <p>Request object for creating a CreateDownpaymentLineItem</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest { + /// + /// <p>The external customerOrderID</p> + /// + /// <p>The external customerOrderID</p> + public string externalCustomerOrderID { get; init; } + /// + /// <p>The salesOrder typeCode</p> + /// + /// <p>The salesOrder typeCode</p> + public string salesOrderTypeCode { get; init; } + /// + /// <p>The receipt amount</p> + /// + /// <p>The receipt amount</p> + public string receiptAmount { get; init; } + /// + /// <p>The documentInfos</p> + /// + /// <p>The documentInfos</p> + public List DocumentInfos { get; init; } + /// + /// <p>{@link com.gk_software.pos.api.service.transaction.SaleReturnLineItemDataRequest} data</p> + /// + /// <p>{@link com.gk_software.pos.api.service.transaction.SaleReturnLineItemDataRequest} data</p> + public ComGkSoftwarePosApiServiceTransactionsaleReturnLineItemDataRequest saleReturnLineItemDataRequest { get; init; } + /// + /// <p>The language different</p> + /// + /// <p>The language different</p> + public bool? languageDifferent { get; init; } + /// + /// <p>PositionOperationConfig</p> + /// + /// <p>PositionOperationConfig</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>Indicates whether the transaction should be recalculated. Default value is 'true'.</p> + /// + /// <p>Indicates whether the transaction should be recalculated. Default value is 'true'.</p> + public bool? recalculateTransaction { get; init; } + /// + /// <p>Indicates whether the transaction should be stored. Default value is 'true'.</p> + /// + /// <p>Indicates whether the transaction should be stored. Default value is 'true'.</p> + public bool? storeTransaction { get; init; } + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + public string entryMethodCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7e8a76bd1997003500d2e6b460494266bca95d71 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest.cs @@ -0,0 +1,91 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateDrawerAccountsRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTransactionCreateDrawerAccountsRequest { + /// + /// Gets or Sets TenderRegistration + /// + public ComGkSoftwarePosApiModelDomAppTendertenderRegistration tenderRegistration { get; init; } + /// + /// Gets or Sets ManualChange + /// + public double? manualChange { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..87c5a9ae210519d0e71cbc360450551588ed70df --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateFailFiscalTransactionRequest <p>Request object to create a fiscal fail transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateFailFiscalTransactionRequest { + /// + /// <p>The fiscalization data that should be added to the fiscal fail transaction.</p> + /// + /// <p>The fiscalization data that should be added to the fiscal fail transaction.</p> + public ComGkSoftwarePosApiServiceTransactionAddfiscalizationDataToTransactionRequest fiscalizationData { get; init; } + /// + /// <p>The identifier of the original transaction for that the fiscal fail transaction should be created.</p> + /// + /// <p>The identifier of the original transaction for that the fiscal fail transaction should be created.</p> + public string originalTransactionID { get; init; } + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + public string retailStoreId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationId { get; init; } + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + public string clientVersion { get; init; } + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + public string operatorId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..cbc69b0d5bad513b7fa09c3854950e52c92135f5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateInvoicePaymentLineItemRequest <p>Request object for creating a InvoicePaymentLineItem</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateInvoicePaymentLineItemRequest { + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The saleReturnLineItemData request</p> + /// + /// <p>The saleReturnLineItemData request</p> + public ComGkSoftwarePosApiServiceTransactionsaleReturnLineItemDataRequest saleReturnLineItemDataRequest { get; init; } + /// + /// <p>The customer receipt text.</p> + /// + /// <p>The customer receipt text.</p> + public string customerReceiptText { get; init; } + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + public string entryMethodCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f8a90144fb0e3122666d0d96b3615598ba4b34db --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateLineItemRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateLineItemRequest <p>The entity CreateLineItemRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateLineItemRequest { + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + public sellerRelationMethodEnum? sellerRelationMethod { get; init; } + /// + /// <p>The operationConfiguration</p> + /// + /// <p>The operationConfiguration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The customerReceiptText</p> + /// + /// <p>The customerReceiptText</p> + public string customerReceiptText { get; init; } + /// + /// <p>The saleReturnLineItemRequestData</p> + /// + /// <p>The saleReturnLineItemRequestData</p> + public ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest saleReturnLineItemRequestData { get; init; } + /// + /// <p>The tenderRequestData</p> + /// + /// <p>The tenderRequestData</p> + public ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest tenderRequestData { get; init; } + /// + /// <p>Map&lt;String,String&gt; map for additional parameters for retailLineItem</p> + /// + /// <p>Map&lt;String,String&gt; map for additional parameters for retailLineItem</p> + public Dictionary AdditionalParameterMap { get; init; } + /// + /// <p>String to store seller Id</p> + /// + /// <p>String to store seller Id</p> + public string sellerId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4bc0a19a755eceae8fa81c5236b1e2888b2d9d3c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateSuspendCodeRequest <p>Request object to create suspend code from transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateSuspendCodeRequest { + /// + /// <p>Transaction from which will be created suspend code.</p> + /// + /// <p>Transaction from which will be created suspend code.</p> + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + /// + /// <p>Max size of one created 2D code.</p> + /// + /// <p>Max size of one created 2D code.</p> + public int? maxSizeOf2DCode { get; init; } + /// + /// <p>Version of created code.</p> + /// + /// <p>Version of created code.</p> + public string codeVersion { get; init; } + /// + /// <p>Entered or generated suspend number.</p> + /// + /// <p>Entered or generated suspend number.</p> + public string suspendNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d7d4617ba01749faa64edf12d6b825e215e7109 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateTransactionLineItemAssociationRequest <p>Request object to create a retail transaction line item association.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationRequest { + /// + /// <p>The line item key of the from line item.</p> + /// + /// <p>The line item key of the from line item.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey fromLineItemKey { get; init; } + /// + /// <p>The line item key of the to line item.</p> + /// + /// <p>The line item key of the to line item.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey toLineItemKey { get; init; } + /// + /// <p>The line item association type code.</p> + /// + /// <p>The line item association type code.</p> + public string lineItemAssociationTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6ffc4f913d5764d921c13f1fe1557cb230766746 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateTransactionLineItemAssociationsRequest <p>Request object to create multiple retail transaction line item associations.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateTransactionLineItemAssociationsRequest { + /// + /// <p>The list of request objects to create a single retail line item association one by one.</p> + /// + /// <p>The list of request objects to create a single retail line item association one by one.</p> + public List Requests { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..904da1fd7b1790a58e02c4b8360967e582501786 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateVoidTransactionRequest <p>Request object to create a void transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateVoidTransactionRequest { + /// + /// <p>The identifier of the transaction to void.</p> + /// + /// <p>The identifier of the transaction to void.</p> + public string transactionToVoidId { get; init; } + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + public string reasonCode { get; init; } + /// + /// <p>The reason description.</p> + /// + /// <p>The reason description.</p> + public string reasonDescription { get; init; } + /// + /// <p>A flag to indicate that gift certificate cancellation is allowed.</p> + /// + /// <p>A flag to indicate that gift certificate cancellation is allowed.</p> + public bool? giftCertCancellationAllowed { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9b7f2b5a4995cf5b0ef4a0af127c8fcdbd71c594 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// CreateWorkerDiscountLineItemRequest <p>Request object for creating worker discounts.</p> + /// + public record comGkSoftwarePosApiServiceTransactionCreateWorkerDiscountLineItemRequest { + /// + /// <p>The worker id.</p> + /// + /// <p>The worker id.</p> + public string workerID { get; init; } + /// + /// <p>The receipt text for a worker discount.</p> + /// + /// <p>The receipt text for a worker discount.</p> + public string receiptText { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c05171ef3d0a8f8562be9b23ee70d3d929f9f11e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest.cs @@ -0,0 +1,152 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerAssignmentRequest <p>Request object for operation which assign customer to active transaction</p> + /// + public record comGkSoftwarePosApiServiceTransactionCustomerCustomerAssignmentRequest { + /// + /// <p>String : customer id</p> + /// + /// <p>String : customer id</p> + public string customerId { get; init; } + /// + /// <p>String : customer card type</p> + /// + /// <p>String : customer card type</p> + public string customerCardType { get; init; } + /// + /// <p>String : customer card type description</p> + /// + /// <p>String : customer card type description</p> + public string customerCardTypeDescription { get; init; } + /// + /// <p>String : customer group id</p> + /// + /// <p>String : customer group id</p> + public string customerGroupId { get; init; } + /// + /// <p>CustomerDO : customerDO</p> + /// + /// <p>CustomerDO : customerDO</p> + public ComGkSoftwareGkrApiServerMdCustomerDtoDomcustomerDO customerDO { get; init; } + /// + /// Gets or Sets CustomerTenderGroup + /// + public ComGkSoftwareGkrApiServerMdCustomerTenderRuleDtoDomcustomerTenderGroupDO customerTenderGroup { get; init; } + /// + /// <p>CustomerData : customer data used for customer data entry process</p> + /// + /// <p>CustomerData : customer data used for customer data entry process</p> + public ComGkSoftwarePosFlowLibsCustomercustomerData customerData { get; init; } + /// + /// <p>CustomerWebserviceResult : customer web service data</p> + /// + /// <p>CustomerWebserviceResult : customer web service data</p> + public ComGkSoftwarePosApiServiceCommunicationWsCustomerByIdCustomerWebserviceResult customerWebServiceData { get; init; } + /// + /// <p>boolean : searchFor identification number</p> + /// + /// <p>boolean : searchFor identification number</p> + public bool? searchForIdentificationNumber { get; init; } + /// + /// <p>String : customer iD entry method code</p> + /// + /// <p>String : customer iD entry method code</p> + public string customerIDEntryMethodCode { get; init; } + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:</p><br /><ul><br /> <li>CLIENT - Printout depends on client settings.</li><br /> <li>PRINTONLY - Customer wants to have a printed receipt.</li><br /> <li>MAILONLY - Customer wants to have the receipt per mail.</li><br /> <li>NOTHING - Customer wants to have nothing.</li><br /> <li>PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</li><br /></ul> + /// + /// <p>String : preferredReceiptPrintoutTypeCode<br /> It defines the preferred printout type code of the customer:</p><br /><ul><br /> <li>CLIENT - Printout depends on client settings.</li><br /> <li>PRINTONLY - Customer wants to have a printed receipt.</li><br /> <li>MAILONLY - Customer wants to have the receipt per mail.</li><br /> <li>NOTHING - Customer wants to have nothing.</li><br /> <li>PRINTANDMAIL - Customer wants to have a printed receipt and a mail.</li><br /></ul> + public string preferredReceiptPrintoutTypeCode { get; init; } + /// + /// <p>The organization name</p> + /// + /// <p>The organization name</p> + public string organizationName { get; init; } + /// + /// <p>The data provider id</p> + /// + /// <p>The data provider id</p> + public string dataProvider { get; init; } + /// + /// <p>It specifies if the customer is a dummy/unknown customer </p> + /// + /// <p>It specifies if the customer is a dummy/unknown customer </p> + public bool? genericFlag { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..84d48e2caea9f9528879d7314a4deef8746fdc96 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerRegistrationRequest <p>Request object for the CustomerTransactionService</p> + /// + public record comGkSoftwarePosApiServiceTransactionCustomerCustomerRegistrationRequest { + /// + /// <p>The customer identifier (customer id / party identification)</p> + /// + /// <p>The customer identifier (customer id / party identification)</p> + public string identifier { get; init; } + /// + /// <p>The customer group id</p> + /// + /// <p>The customer group id</p> + public string customerGroupId { get; init; } + /// + /// <p>The customer card type</p> + /// + /// <p>The customer card type</p> + public string customerCardType { get; init; } + /// + /// <p>The customer card number</p> + /// + /// <p>The customer card number</p> + public string customerCardNumber { get; init; } + /// + /// <p>The customer card type description key</p> + /// + /// <p>The customer card type description key</p> + public string customerCardTypeDescriptionKey { get; init; } + /// + /// <p>In case that 'searchDatabase' setting is set to false the value of<br /> that property is used to determine where the search should be executed.<br /> Possible values are:</p><br /><ul><br /> <li>SAP_ERP (default)</li><br /> <li>SAP_CRM</li><br /> <li>VALUEPHONE</li><br /></ul> + /// + /// <p>In case that 'searchDatabase' setting is set to false the value of<br /> that property is used to determine where the search should be executed.<br /> Possible values are:</p><br /><ul><br /> <li>SAP_ERP (default)</li><br /> <li>SAP_CRM</li><br /> <li>VALUEPHONE</li><br /></ul> + public string useWebService { get; init; } + /// + /// <p>Indicates whether the customer should be searched in local MD database.</p> + /// + /// <p>Indicates whether the customer should be searched in local MD database.</p> + public bool? searchDatabase { get; init; } + /// + /// <p>This parameters works only in combination with searchDatabase=true, it<br /> specifies the type of customer identifier:</p><br /><ul><br /> <li>false: search by party identification is executed</li><br /> <li>true: search by customer id is executed</li><br /></ul> + /// + /// <p>This parameters works only in combination with searchDatabase=true, it<br /> specifies the type of customer identifier:</p><br /><ul><br /> <li>false: search by party identification is executed</li><br /> <li>true: search by customer id is executed</li><br /></ul> + public bool? searchForIdentificationNumber { get; init; } + /// + /// <p>Indicates if the service was started in training mode.</p> + /// + /// <p>Indicates if the service was started in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..22d223bb23587c3c9a0d7cb22c9c767391677ba0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerRemovalRequest <p>Request object for operation which removes customer from active transaction</p> + /// + public record comGkSoftwarePosApiServiceTransactionCustomerCustomerRemovalRequest { + /// + /// <p>long : business unit group iD</p> + /// + /// <p>long : business unit group iD</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>String : transaction iD</p> + /// + /// <p>String : transaction iD</p> + public string transactionID { get; init; } + /// + /// <p>String : customer iD</p> + /// + /// <p>String : customer iD</p> + public string customerID { get; init; } + /// + /// <p>String : address type code</p> + /// + /// <p>String : address type code</p> + public string addressTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b558d165a978a95105f349a6482a1ab8a05563fe --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// DeactivateTaxExemptRequest <p>Request object for deactivating tax exemption.</p> + /// + public record comGkSoftwarePosApiServiceTransactionDeactivateTaxExemptRequest { + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..49500ed4be27b1f120472c3f7bcb0da500fa8144 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// DuplicatePrintOutTransactionsRequest <p>Request object to search for duplicate printout transactions.</p> + /// + public record comGkSoftwarePosApiServiceTransactionDuplicatePrintOutTransactionsRequest { + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + public bool? transactionIsNotVoided { get; init; } + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + public bool? cancelledFlag { get; init; } + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + public bool? suspendedFlag { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationID { get; init; } + /// + /// <p>The business unit group identifier.</p> + /// + /// <p>The business unit group identifier.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitID { get; init; } + /// + /// <p>Limits the number of found receipts to the given value.</p> + /// + /// <p>Limits the number of found receipts to the given value.</p> + public int? maxReceiptCount { get; init; } + /// + /// <p>The identifier for the original transaction (as part of the search criteria).</p> + /// + /// <p>The identifier for the original transaction (as part of the search criteria).</p> + public string originalTransactionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionEnterCouponRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionEnterCouponRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2d993093cb4886e0e4fee7ef2dd5c3772ee1ddf0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionEnterCouponRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// EnterCouponRequest <p>Request object for entering coupons.</p> + /// + public record comGkSoftwarePosApiServiceTransactionEnterCouponRequest { + /// + /// <p>The coupon privilege type.</p> + /// + /// <p>The coupon privilege type.</p> + public privilegeTypeEnum? privilegeType { get; init; } + /// + /// <p>The coupon number.</p> + /// + /// <p>The coupon number.</p> + public string couponNumber { get; init; } + /// + /// <p>The coupon privilege value.</p> + /// + /// <p>The coupon privilege value.</p> + public double? privilegeValue { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The coupon serial data</p> + /// + /// <p>The coupon serial data</p> + public ComGkSoftwarePosApiServiceTransactionEntercouponSerialData couponSerialData { get; init; } + /// + /// <p>The customer id</p> + /// + /// <p>The customer id</p> + public string customerId { get; init; } + /// + /// <p>The customer address type code</p> + /// + /// <p>The customer address type code</p> + public string customerAddressTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData.cs new file mode 100644 index 0000000000000000000000000000000000000000..79f95dcf1cb32cd277ed4ef12816c7e27e4bcf98 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionEnterCouponSerialData.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// EnterCouponSerialData <p>Request object for entering coupon serial data.</p> + /// + public record comGkSoftwarePosApiServiceTransactionEnterCouponSerialData { + /// + /// <p>The copupon serial number</p> + /// + /// <p>The copupon serial number</p> + public string couponSerialNumber { get; init; } + /// + /// <p>The booking successful type code</p> + /// + /// <p>The booking successful type code</p> + public string bookingSuccessfulTypeCode { get; init; } + /// + /// <p>The booking transaction Uuid</p> + /// + /// <p>The booking transaction Uuid</p> + public string bookingTransactionUuid { get; init; } + /// + /// <p>The expiration timestamp</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The expiration timestamp</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationTimestamp { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExtension.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExtension.cs new file mode 100644 index 0000000000000000000000000000000000000000..1be71e9acf98ac46a15ba807956bf6becdd65aab --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExtension.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// Extension <p>Extension object</p> + /// + public record comGkSoftwarePosApiServiceTransactionExtension { + /// + /// <p>Extension key</p> + /// + /// <p>Extension key</p> + public string extensionKey { get; init; } + /// + /// <p>Extension value</p> + /// + /// <p>Extension value</p> + public string extensionValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9e7659b9820b431038989c30126f7f74ebe6507f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalItemRegistrationRequest <p>Domain object used for registration of external line items</p> + /// + public record comGkSoftwarePosApiServiceTransactionExternalItemRegistrationRequest { + /// + /// <p>The ISO currency code.</p> + /// + /// <p>The ISO currency code.</p> + public string isoCurrencyCode { get; init; } + /// + /// <p>The locale.</p> + /// + /// <p>The locale.</p> + public string locale { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExternalLineItemData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExternalLineItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..b6a296b8b76225f927ec2b87fb5179cc2d064bb6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionExternalLineItemData.cs @@ -0,0 +1,263 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExternalLineItemData <p>Manual line item creation with external data.</p> + /// + public record comGkSoftwarePosApiServiceTransactionExternalLineItemData { + /// + /// <p>The pos item ID - IdentityAlphaNumeric40.</p> + /// + /// <p>The pos item ID - IdentityAlphaNumeric40.</p> + public string posItemID { get; init; } + /// + /// <p>The item ID - IdentityUUID.</p> + /// + /// <p>The item ID - IdentityUUID.</p> + public string itemID { get; init; } + /// + /// <p>The pos department ID - IdentityAlphaNumeric40.</p> + /// + /// <p>The pos department ID - IdentityAlphaNumeric40.</p> + public string posDepartmentID { get; init; } + /// + /// <p>The unit of measure code - Code4</p> + /// + /// <p>The unit of measure code - Code4</p> + public string unitOfMeasureCode { get; init; } + /// + /// <p>The item type - Code4</p> + /// + /// <p>The item type - Code4</p> + public string itemType { get; init; } + /// + /// <p>The regular unit price - MoneyShortRetail</p> + /// + /// <p>The regular unit price - MoneyShortRetail</p> + public double? regularUnitPrice { get; init; } + /// + /// <p>The number of items the regular price is defined for, i.e. 3 for $1.00</p> + /// + /// <p>The number of items the regular price is defined for, i.e. 3 for $1.00</p> + public int? regularUnitPriceQuantity { get; init; } + /// + /// <p>The actual unit price - MoneyShortRetail</p> + /// + /// <p>The actual unit price - MoneyShortRetail</p> + public double? actualUnitPrice { get; init; } + /// + /// <p>The number of items the actual price is defined for, i.e. 3 for $1.00</p> + /// + /// <p>The number of items the actual price is defined for, i.e. 3 for $1.00</p> + public int? actualUnitPriceQuantity { get; init; } + /// + /// <p>The quantity - QuantityIntegerGK</p> + /// + /// <p>The quantity - QuantityIntegerGK</p> + public int? quantity { get; init; } + /// + /// <p>The units - Quantity</p> + /// + /// <p>The units - Quantity</p> + public double? units { get; init; } + /// + /// <p>The quantity input method - Code2</p> + /// + /// <p>The quantity input method - Code2</p> + public string quantityInputMethod { get; init; } + /// + /// <p>The length - Quantity</p> + /// + /// <p>The length - Quantity</p> + public double? length { get; init; } + /// + /// <p>The width - Quantity</p> + /// + /// <p>The width - Quantity</p> + public double? width { get; init; } + /// + /// <p>The height - Quantity</p> + /// + /// <p>The height - Quantity</p> + public double? height { get; init; } + /// + /// <p>The receipt text - NNameGK</p> + /// + /// <p>The receipt text - NNameGK</p> + public string receiptText { get; init; } + /// + /// <p>The receipt description - NDescriptionShortGK</p> + /// + /// <p>The receipt description - NDescriptionShortGK</p> + public string receiptDescription { get; init; } + /// + /// <p>The wic flag - BIT</p> + /// + /// <p>The wic flag - BIT</p> + public bool? wicFlag { get; init; } + /// + /// <p>The allow food stamp flag -&gt; BIT</p> + /// + /// <p>The allow food stamp flag -&gt; BIT</p> + public bool? allowFoodStampFlag { get; init; } + /// + /// <p>The registration number - DescriptionShort</p> + /// + /// <p>The registration number - DescriptionShort</p> + public string registrationNumber { get; init; } + /// + /// <p>The discount flag - BIT</p> + /// + /// <p>The discount flag - BIT</p> + public bool? discountFlag { get; init; } + /// + /// <p>The frequent shopper points eligibility flag - BIT</p> + /// + /// <p>The frequent shopper points eligibility flag - BIT</p> + public bool? frequentShopperPointsEligibilityFlag { get; init; } + /// + /// <p>The discount type code - VARCHAR(1)</p> + /// + /// <p>The discount type code - VARCHAR(1)</p> + public string discountTypeCode { get; init; } + /// + /// <p>The price change type code - Code2</p> + /// + /// <p>The price change type code - Code2</p> + public string priceChangeTypeCode { get; init; } + /// + /// <p>The price type code - Code2</p> + /// + /// <p>The price type code - Code2</p> + public string priceTypeCode { get; init; } + /// + /// <p>The not considered by loyalty engine flag - BIT</p> + /// + /// <p>The not considered by loyalty engine flag - BIT</p> + public bool? notConsideredByLoyaltyEngineFlag { get; init; } + /// + /// <p>The merchandise hierarchy group name - Name</p> + /// + /// <p>The merchandise hierarchy group name - Name</p> + public string merchandiseHierarchyGroupName { get; init; } + /// + /// <p>The merchandise hierarchy group description - DescriptionShort</p> + /// + /// <p>The merchandise hierarchy group description - DescriptionShort</p> + public string merchandiseHierarchyGroupDescription { get; init; } + /// + /// <p>The PosUOMItemDO class code.</p> + /// + /// <p>The PosUOMItemDO class code.</p> + public string itemClassCode { get; init; } + /// + /// <p>The prohibit tax exempt flag - BIT</p> + /// + /// <p>The prohibit tax exempt flag - BIT</p> + public bool? prohibitTaxExemptFlag { get; init; } + /// + /// <p>The prohibit return flag - BIT</p> + /// + /// <p>The prohibit return flag - BIT</p> + public bool? prohibitReturnFlag { get; init; } + /// + /// <p>The warranty duration - QuantityTransactionCount</p> + /// + /// <p>The warranty duration - QuantityTransactionCount</p> + public double? warrantyDuration { get; init; } + /// + /// <p>The deposit type code - Code2</p> + /// + /// <p>The deposit type code - Code2</p> + public string depositTypeCode { get; init; } + /// + /// <p>The tax exempt code - Code2</p> + /// + /// <p>The tax exempt code - Code2</p> + public string taxExemptCode { get; init; } + /// + /// <p>The main POS item ID - IdentityGTIN</p> + /// + /// <p>The main POS item ID - IdentityGTIN</p> + public string mainPOSItemID { get; init; } + /// + /// <p>The main merchandise hierarchy group ID qualifier - Code4</p> + /// + /// <p>The main merchandise hierarchy group ID qualifier - Code4</p> + public string mainMerchandiseHierarchyGroupIDQualifier { get; init; } + /// + /// <p>The main merchandise hierarchy group ID - IdentityAlphaNumeric40</p> + /// + /// <p>The main merchandise hierarchy group ID - IdentityAlphaNumeric40</p> + public string mainMerchandiseHierarchyGroupID { get; init; } + /// + /// <p>The tax group ID - Code</p> + /// + /// <p>The tax group ID - Code</p> + public string taxGroupID { get; init; } + /// + /// <p>The tare ount - Quantity16_3GK</p> + /// + /// <p>The tare ount - Quantity16_3GK</p> + public double? tareCount { get; init; } + /// + /// <p>The sale return line item characteristic list - SaleReturnLineItemCharacteristic[0..*]</p> + /// + /// <p>The sale return line item characteristic list - SaleReturnLineItemCharacteristic[0..*]</p> + public List SaleReturnLineItemCharacteristicList { get; init; } + /// + /// <p>The sale return line item merchandise hierarchy group list - SaleReturnLineItemMerchandiseHierarchyGroup[0..*]</p> + /// + /// <p>The sale return line item merchandise hierarchy group list - SaleReturnLineItemMerchandiseHierarchyGroup[0..*]</p> + public List SaleReturnLineItemMerchandiseHierarchyGroupList { get; init; } + /// + /// <p>The retail transaction line item I18N text list - RetailTransactionLineItemI18NText[0..*]</p> + /// + /// <p>The retail transaction line item I18N text list - RetailTransactionLineItemI18NText[0..*]</p> + public List RetailTransactionLineItemI18NTextList { get; init; } + /// + /// <p>The serialized unit modifer - SerializedUnitModifer</p> + /// + /// <p>The serialized unit modifer - SerializedUnitModifer</p> + public ComGkSoftwarePosApiServiceTransactionserializedUnitModifer serializedUnitModifer { get; init; } + /// + /// <p>The sale return line item sales order - SaleReturnLineItemSalesOrder</p> + /// + /// <p>The sale return line item sales order - SaleReturnLineItemSalesOrder</p> + public ComGkSoftwarePosApiServiceTransactionsaleReturnLineItemSalesOrder saleReturnLineItemSalesOrder { get; init; } + /// + /// <p>The reason code</p> + /// + /// <p>The reason code</p> + public string reasonCode { get; init; } + /// + /// <p>The reason code group code</p> + /// + /// <p>The reason code group code</p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>The reason description</p> + /// + /// <p>The reason description</p> + public string reasonDescription { get; init; } + /// + /// <p>The retail transaction line item additional parameter list</p> + /// + /// <p>The retail transaction line item additional parameter list</p> + public List RetailTransactionLineItemAdditionalParameterList { get; init; } + /// + /// <p>The retail price modifier list</p> + /// + /// <p>The retail price modifier list</p> + public List RetailPriceModifierList { get; init; } + /// + /// <p>The line item extension list</p> + /// + /// <p>The line item extension list</p> + public List LineItemExtensionList { get; init; } + /// + /// <p>The print additional line item text line list</p> + /// + /// <p>The print additional line item text line list</p> + public List PrintAdditionalLineItemTextLineList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..900617cb41935e81cef4c3a0f385ac454d8519b8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// FinalizeTransactionRequest <p>Request to finalize a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionFinalizeTransactionRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Indicates whether correlation checking should be ignored if parent pool is offline.</p> + /// + /// <p>Indicates whether correlation checking should be ignored if parent pool is offline.</p> + public bool? ignoreParentOffline { get; init; } + /// + /// <p>Indicates that the export of finalized transaction must be omit.</p> + /// + /// <p>Indicates that the export of finalized transaction must be omit.</p> + public bool? omitParentExport { get; init; } + /// + /// <p>The identifier for the transaction.</p> + /// + /// <p>The identifier for the transaction.</p> + public string transactionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..bd926f64472b689c0b4badaa417a12dd0a74e234 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionFiscalTagFieldResult.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// FiscalTagFieldResult <p>Result of an single object that contains the tag field value related to each signature result.</p> + /// + public record comGkSoftwarePosApiServiceTransactionFiscalTagFieldResult { + /// + /// <p>The label that must be printed on the receipt.</p> + /// + /// <p>The label that must be printed on the receipt.</p> + public string label { get; init; } + /// + /// <p>The fiscal value that must be printed on the receipt.</p> + /// + /// <p>The fiscal value that must be printed on the receipt.</p> + public string value { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..812c477a8846fcc4393b5ac1afe9f6e49c4a0ff8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// GetEndDateTimestampExtensionRequest <p>Request object to get the end date timestamp from transaction extensions of a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionGetEndDateTimestampExtensionRequest { + /// + /// <p>The transaction identifier for the transaction to get the end date timestamp from.</p> + /// + /// <p>The transaction identifier for the transaction to get the end date timestamp from.</p> + public string transactionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..600ac83cec5f2eb33b6a4ff32ab2aee5abcd0a7f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// GetOrCreateEndDateTimestampExtensionResult <p>Result object for getting or creating the end date timestamp extension.</p> + /// + public record comGkSoftwarePosApiServiceTransactionGetOrCreateEndDateTimestampExtensionResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>The end date timestamp transaction extension.</p> + /// + /// <p>The end date timestamp transaction extension.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransactionExtension endDateTimestampExtension { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bc187aa03940ff4d92ed9d4501305771a5e971f9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest.cs @@ -0,0 +1,193 @@ +namespace POSGkSwaggerModel +{ + /// + /// GiftCertificateRegistrationRequest <p>Request object for operations which create a SaleReturnLineItem on active transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionGiftCertificateGiftCertificateRegistrationRequest { + /// + /// <p>PositionOperationConfig : position operation config</p> + /// + /// <p>PositionOperationConfig : position operation config</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>String : gift certificate number</p> + /// + /// <p>String : gift certificate number</p> + public string gcNumber { get; init; } + /// + /// <p>String : gift certificate item number</p> + /// + /// <p>String : gift certificate item number</p> + public string gcItemNumber { get; init; } + /// + /// <p>String : gift certificate amount</p> + /// + /// <p>String : gift certificate amount</p> + public ComGkSoftwarePosApiModelDomAppAmountAmount gcAmount { get; init; } + /// + /// <p>GiftCertServiceResult : service result</p> + /// + /// <p>GiftCertServiceResult : service result</p> + public ComGkSoftwarePosApiModelDomAppGiftCertificateServiceGiftCertserviceResult serviceResult { get; init; } + /// + /// <p>String : gift certificate description</p> + /// + /// <p>String : gift certificate description</p> + public string gcDescription { get; init; } + /// + /// <p>boolean : online</p> + /// + /// <p>boolean : online</p> + public bool? online { get; init; } + /// + /// <p>Specifies if a return receipt should be created.</p> + /// + /// <p>Specifies if a return receipt should be created.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>String : external system adapter name</p> + /// + /// <p>String : external system adapter name</p> + public string externalSystemAdapterName { get; init; } + /// + /// <p>String : gc class</p> + /// + /// <p>String : gc class</p> + public string gcClass { get; init; } + /// + /// <p>Date : expiry date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date : expiry date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expiryDate { get; init; } + /// + /// <p>int : quantity</p> + /// + /// <p>int : quantity</p> + public int? quantity { get; init; } + /// + /// <p>String : action code</p> + /// + /// <p>String : action code</p> + public string actionCode { get; init; } + /// + /// <p>String : gift certificate type</p> + /// + /// <p>String : gift certificate type</p> + public string gcType { get; init; } + /// + /// <p>boolean : gcs usage</p> + /// + /// <p>boolean : gcs usage</p> + public bool? gcsUsage { get; init; } + /// + /// <p>String : tax group iD</p> + /// + /// <p>String : tax group iD</p> + public string taxGroupID { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>Track2 data.</p> + /// + /// <p>Track2 data.</p> + public string track2 { get; init; } + /// + /// <p>Contains additional information.</p> + /// + /// <p>Contains additional information.</p> + public List AdditionalInfo { get; init; } + /// + /// <p>The sales person number request</p> + /// + /// <p>The sales person number request</p> + public ComGkSoftwarePosApiServiceTransactionsalesPersonNumberRequest salesPersonNumberRequest { get; init; } + /// + /// <p>Indicates whether the take away sale mode is active.</p> + /// + /// <p>Indicates whether the take away sale mode is active.</p> + public bool? takeAwaySaleMode { get; init; } + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + public string entryMethodCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInternalLineItemData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInternalLineItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..733764949b678b964425af59908390975848744f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInternalLineItemData.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// InternalLineItemData TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTransactionInternalLineItemData { + /// + /// <p>Item identification.</p> + /// + /// <p>Item identification.</p> + public string posItemID { get; init; } + /// + /// <p>Item identification.</p> + /// + /// <p>Item identification.</p> + public string itemID { get; init; } + /// + /// <p>Item amount.</p> + /// + /// <p>Item amount.</p> + public double? amount { get; init; } + /// + /// <p>Item tax group id.</p> + /// + /// <p>Item tax group id.</p> + public string taxGroupID { get; init; } + /// + /// <p>Item description</p> + /// + /// <p>Item description</p> + public string itemReceiptText { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6b7cd070b9be31c3ae211c77278fb83c1368a1be --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInvoiceNumberRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// InvoiceNumberRequest <p>Request object to create the invoice number and set it to transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionInvoiceNumberRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The invoice transaction identifier.</p> + /// + /// <p>The invoice transaction identifier.</p> + public string invoicetransactionId { get; init; } + /// + /// <p>The invoice number format pattern.</p> + /// + /// <p>The invoice number format pattern.</p> + public string invoiceNumberFormat { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a774eae99ab8017c3924f716a47f573e6b9e2c84 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// InvoicePrintoutTypeCodeRequest <p>Request object to set the invoice printout type code.</p> + /// + public record comGkSoftwarePosApiServiceTransactionInvoicePrintoutTypeCodeRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The invoice printout type code.</p> + /// + /// <p>The invoice printout type code.</p> + public string invoicePrintoutTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionItemIdentificator.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionItemIdentificator.cs new file mode 100644 index 0000000000000000000000000000000000000000..c9a490134f2c4f069da399c12acf802d37937e2a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionItemIdentificator.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemIdentificator <p>Domain object for ItemIdentificator.</p> + /// + public record comGkSoftwarePosApiServiceTransactionItemIdentificator { + /// + /// <p>The id of the item to register.</p> + /// + /// <p>The id of the item to register.</p> + public string itemID { get; init; } + /// + /// <p>The id of the item to register.</p> + /// + /// <p>The id of the item to register.</p> + public string uomCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLimitExceedResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLimitExceedResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..345e07468c12aaf899bbe78226f549bf3b717822 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLimitExceedResult.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// LimitExceedResult <p>The limit exceed result</p> + /// + public record comGkSoftwarePosApiServiceTransactionLimitExceedResult { + /// + /// <p>The limit exceed action</p> + /// + /// <p>The limit exceed action</p> + public string limitExceedAction { get; init; } + /// + /// <p>The old price</p> + /// + /// <p>The old price</p> + public double? oldPrice { get; init; } + /// + /// <p>The new price</p> + /// + /// <p>The new price</p> + public double? newPrice { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b021cc674df8229853a1a5082ed535d2254cac4e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemExtensionRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemExtensionRequest <p>Domain object for LineItemExtensionRequest.</p> + /// + public record comGkSoftwarePosApiServiceTransactionLineItemExtensionRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The extension Key.</p> + /// + /// <p>The extension Key.</p> + public string extensionKey { get; init; } + /// + /// <p>The extension Value.</p> + /// + /// <p>The extension Value.</p> + public string extensionValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b9b1bc32e6b5031f570a65e528b1fadad211cd92 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemExtensionsRequest <p>Domain object for LineItemExtensionsRequest.</p> + /// + public record comGkSoftwarePosApiServiceTransactionLineItemExtensionsRequest { + /// + /// <p>The extensions request.</p> + /// + /// <p>The extensions request.</p> + public List ExtensionRequests { get; init; } + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..715927311701cab2161048cfe0b79d95c8f2061c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLineItemsReductionDetail.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// LineItemsReductionDetail <p>Entity containing details for performing the item reduction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionLineItemsReductionDetail { + /// + /// <p>The key identifier for the line item to be reduced.</p> + /// + /// <p>The key identifier for the line item to be reduced.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Describes the maximum number of reductions to be performed on given line item.</p> + /// + /// <p>Describes the maximum number of reductions to be performed on given line item.</p> + public int? maximumReductionQuantity { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..07b423f77c6caba091fe8bde7dba43dcbf68700d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// LinkedItemRegistrationRequest <p>Request object for registering linked items.</p> + /// + public record comGkSoftwarePosApiServiceTransactionLinkedItemRegistrationRequest { + /// + /// <p>The id of the linked item to be registered.</p> + /// + /// <p>The id of the linked item to be registered.</p> + public string linkedItemId { get; init; } + /// + /// <p>the UOM code of the linked item to be registered.</p> + /// + /// <p>the UOM code of the linked item to be registered.</p> + public string linkedItemUOMCode { get; init; } + /// + /// <p>The id of the main item linked to this linked item.</p> + /// + /// <p>The id of the main item linked to this linked item.</p> + public string mainItemId { get; init; } + /// + /// <p>The actionCode of this linked item.</p> + /// + /// <p>The actionCode of this linked item.</p> + public string actionCode { get; init; } + /// + /// <p>The units of this linked item.</p> + /// + /// <p>The units of this linked item.</p> + public double? units { get; init; } + /// + /// <p>The quantity of the mainitem.</p> + /// + /// <p>The quantity of the mainitem.</p> + public int? quantity { get; init; } + /// + /// <p>linkedLineItemSequenceNumber of this linked item.</p> + /// + /// <p>linkedLineItemSequenceNumber of this linked item.</p> + public int? maintemSequenceNumber { get; init; } + /// + /// <p>RetailTransactionLineItem</p> + /// + /// <p>RetailTransactionLineItem</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem mainLineItem { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2a6c4802d8456dc6a8427e21559e29ba8fb1b276 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPKORKONumberRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// PKORKONumberRequest <p>Request object to retrieve new document number for PKO/RKO reports.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPKORKONumberRequest { + /// + /// <p>The identifier for the invoice transaction.</p> + /// + /// <p>The identifier for the invoice transaction.</p> + public string invoicetransactionId { get; init; } + /// + /// <p>The invoice number format pattern.</p> + /// + /// <p>The invoice number format pattern.</p> + public string invoiceNumberFormat { get; init; } + /// + /// <p>The transaction type.</p> + /// + /// <p>The transaction type.</p> + public string transactionType { get; init; } + /// + /// <p>The generator name.</p> + /// + /// <p>The generator name.</p> + public string generatorName { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3fcdddae421fe4c1c19c1c9ac5a59e2d0441d7d6 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// PayInOutLineItemRequest <p>Domain object for CreatePayInOutLineItem Request</p> + /// + public record comGkSoftwarePosApiServiceTransactionPayInOutLineItemRequest { + /// + /// <p>The PayInOutType</p> + /// + /// <p>The PayInOutType</p> + public itemTypeEnum? itemType { get; init; } + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + public sellerRelationMethodEnum? sellerRelationMethod { get; init; } + /// + /// <p>The reason</p> + /// + /// <p>The reason</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>The amount</p> + /// + /// <p>The amount</p> + public double? amount { get; init; } + /// + /// <p>The taxGroupId</p> + /// + /// <p>The taxGroupId</p> + public string taxGroupId { get; init; } + /// + /// <p>The operationConfiguration</p> + /// + /// <p>The operationConfiguration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The receiptText</p> + /// + /// <p>The receiptText</p> + public string receiptText { get; init; } + /// + /// <p>The customerReceiptText</p> + /// + /// <p>The customerReceiptText</p> + public string customerReceiptText { get; init; } + /// + /// <p>The PayInOutReasonParam</p> + /// + /// <p>The PayInOutReasonParam</p> + public ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam reasonParams { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>String to store seller Id</p> + /// + /// <p>String to store seller Id</p> + public string sellerId { get; init; } + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + /// + /// <p>Contains the method with which the item was registered (keyed in, scanned through bar code, etc).</p> + public string entryMethodCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam.cs new file mode 100644 index 0000000000000000000000000000000000000000..b07e697feaabe8f4aef521ad985cf3248cbd92d4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPayInOutReasonParam.cs @@ -0,0 +1,68 @@ +namespace POSGkSwaggerModel +{ + /// + /// PayInOutReasonParam <p>Domain object for PayInOutReasonParam</p> + /// + public record comGkSoftwarePosApiServiceTransactionPayInOutReasonParam { + /// + /// <p>The input0_name.</p> + /// + /// <p>The input0_name.</p> + public string input0Name { get; init; } + /// + /// <p>The input1_name.</p> + /// + /// <p>The input1_name.</p> + public string input1Name { get; init; } + /// + /// <p>The input2_name.</p> + /// + /// <p>The input2_name.</p> + public string input2Name { get; init; } + /// + /// <p>The input3_name.</p> + /// + /// <p>The input3_name.</p> + public string input3Name { get; init; } + /// + /// <p>The input0_value.</p> + /// + /// <p>The input0_value.</p> + public string input0Value { get; init; } + /// + /// <p>The input1_value.</p> + /// + /// <p>The input1_value.</p> + public string input1Value { get; init; } + /// + /// <p>The input2_value.</p> + /// + /// <p>The input2_value.</p> + public string input2Value { get; init; } + /// + /// <p>The input3_value.</p> + /// + /// <p>The input3_value.</p> + public string input3Value { get; init; } + /// + /// <p>The input0_id.</p> + /// + /// <p>The input0_id.</p> + public string input0Id { get; init; } + /// + /// <p>The input1_id.</p> + /// + /// <p>The input1_id.</p> + public string input1Id { get; init; } + /// + /// <p>The input2_id.</p> + /// + /// <p>The input2_id.</p> + public string input2Id { get; init; } + /// + /// <p>The input3_id.</p> + /// + /// <p>The input3_id.</p> + public string input3Id { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7209df7b742ef86a4ed360ea62e6fbf7d37c8cdf --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest.cs @@ -0,0 +1,102 @@ +namespace POSGkSwaggerModel +{ + /// + /// PointsRefundBatchRequest <p>The entity for refunding batch of points line items.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPointsRefundBatchRequest { + /// + /// <p>Position operation configuration</p> + /// + /// <p>Position operation configuration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration { get; init; } + /// + /// <p>The retailTransactionLineItems</p> + /// + /// <p>The retailTransactionLineItems</p> + public List RetailTransactionLineItems { get; init; } + /// + /// <p>The businessUnitId</p> + /// + /// <p>The businessUnitId</p> + public string businessUnitId { get; init; } + /// + /// Gets or Sets TrainingMode + /// + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPointsRefundRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPointsRefundRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d465a062c36f44a1c4b3b31ab3537c4656403572 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPointsRefundRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// PointsRefundRequest <p>The entity PointsRefundRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionPointsRefundRequest { + /// + /// <p>The retailTransactionLineItem</p> + /// + /// <p>The retailTransactionLineItem</p> + public ComGkSoftwareGkrApiTxpoolDtoretailTransactionLineItem retailTransactionLineItem { get; init; } + /// + /// <p>The businessUnitId</p> + /// + /// <p>The businessUnitId</p> + public string businessUnitId { get; init; } + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all points.</p> + /// + /// <p>Indicates whether failures should be ignored during the cancellation process and tries to cancel all points.</p> + public bool? ignoreFailures { get; init; } + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + /// + /// <p>Indicates whether tender line items should be voided during the cancellation process.</p> + public bool? voidTenderLineItems { get; init; } + /// + /// <p>Indicates whether service call should be performed in training mode.</p> + /// + /// <p>Indicates whether service call should be performed in training mode.</p> + public bool? trainingMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..bf83c4d9b13b9163d678909ace237bfe7410fb08 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosTransactionCRSCashExchangeRequest <p>Request object to create a cash recycler exchange transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPosTransactionCRSCashExchangeRequest { + /// + /// <p>String: the operator ID</p> + /// + /// <p>String: the operator ID</p> + public string operatorId { get; init; } + /// + /// <p>Double: the amount that should be payed out</p> + /// + /// <p>Double: the amount that should be payed out</p> + public double? amountToPayOut { get; init; } + /// + /// <p>Double: the amount that was payed out</p> + /// + /// <p>Double: the amount that was payed out</p> + public double? amountPayedOut { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPosTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPosTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7d835df8f2e51f1258a888cbc2cf77a37f0b8dc9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPosTransactionRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosTransactionRequest <p>Request object for multiple PosTransactionService calls, e.g. to create special control transactions.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPosTransactionRequest { + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + public string retailStoreId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationId { get; init; } + /// + /// <p>The client version.</p> + /// + /// <p>The client version.</p> + public string clientVersion { get; init; } + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + public string operatorId { get; init; } + /// + /// <p>The terminal cache.</p> + /// + /// <p>The terminal cache.</p> + public string terminalCache { get; init; } + /// + /// <p>The reason.</p> + /// + /// <p>The reason.</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>The tax certificate identifier.</p> + /// + /// <p>The tax certificate identifier.</p> + public string taxCertificateId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..16c88d7b6fcfa3adb0e10e9ce53bbd899e1d4831 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidCreditRefundRequest <p>Request object for adding failed prepaid line items for refunding.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditRefundRequest { + /// + /// <p>The refund reason code</p> + /// + /// <p>The refund reason code</p> + public string refundReasonCode { get; init; } + /// + /// <p>The refund reason group code</p> + /// + /// <p>The refund reason group code</p> + public string refundReasonGroupCode { get; init; } + /// + /// <p>List of line item keys for the invalid items</p> + /// + /// <p>List of line item keys for the invalid items</p> + public List InvalidItems { get; init; } + /// + /// <p>The position operation configuration for the refund position creation</p> + /// + /// <p>The position operation configuration for the refund position creation</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1a2e7258419e8306797ac085ffd949b7c2287b31 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidCreditSaleRegistrationRequest <p>Request object for operations which create a SaleReturnLineItem for a prepaid credit sale on the active transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleRegistrationRequest { + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + /// + /// <p>sellerRelationMethod to store the currently defined seller assignment method</p> + public sellerRelationMethodEnum? sellerRelationMethod { get; init; } + /// + /// <p>The amount value.</p> + /// + /// <p>The amount value.</p> + public double? amount { get; init; } + /// + /// <p>The quantity value.</p> + /// + /// <p>The quantity value.</p> + public int? quantity { get; init; } + /// + /// <p>The action code for the line item. The default value is 'SI'.</p> + /// + /// <p>The action code for the line item. The default value is 'SI'.</p> + public string actionCode { get; init; } + /// + /// <p>The adapter type for the call to the external system for prepaid credit sales.</p> + /// + /// <p>The adapter type for the call to the external system for prepaid credit sales.</p> + public string adapterType { get; init; } + /// + /// <p>The entry identifier from prepaidType configuration.</p> + /// + /// <p>The entry identifier from prepaidType configuration.</p> + public int? smId { get; init; } + /// + /// <p>The item identifier of the prepaid item</p> + /// + /// <p>The item identifier of the prepaid item</p> + public string itemId { get; init; } + /// + /// <p>The provider code of the prepaid item</p> + /// + /// <p>The provider code of the prepaid item</p> + public string providerCode { get; init; } + /// + /// <p>The resource key of the prepaid receipt</p> + /// + /// <p>The resource key of the prepaid receipt</p> + public string resourceId { get; init; } + /// + /// <p>The position operation configuration for the SaleReturnLineItem registration</p> + /// + /// <p>The position operation configuration for the SaleReturnLineItem registration</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>String to store seller Id</p> + /// + /// <p>String to store seller Id</p> + public string sellerId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d374444197093200291395f17e0865f978b0727e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidCreditSaleUpdateRequest <p>Request object for updating a SaleReturnLineItem of a prepaid credit sale.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPrepaidPrepaidCreditSaleUpdateRequest { + /// + /// <p>The line item key</p> + /// + /// <p>The line item key</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The return code of the stored value server call.</p> + /// + /// <p>The return code of the stored value server call.</p> + public string returnCode { get; init; } + /// + /// <p>The serial number of the prepaid card.</p> + /// + /// <p>The serial number of the prepaid card.</p> + public string serialNumber { get; init; } + /// + /// <p>The position operation configuration for the SaleReturnLineItem update.</p> + /// + /// <p>The position operation configuration for the SaleReturnLineItem update.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..49df09de2f4cada1ffc5cd695b9b8b64239dc26f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest.cs @@ -0,0 +1,157 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrintOutTransactionsRequest <p>Request object to search for printout transactions.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPrintOutTransactionsRequest { + /// + /// <p>A flag to indicate that only transaction of type code 'RETAIL' and category code 'SALE' should be searched.</p> + /// + /// <p>A flag to indicate that only transaction of type code 'RETAIL' and category code 'SALE' should be searched.</p> + public bool? onlySalesReprintable { get; init; } + /// + /// <p>The transaction type code.</p> + /// + /// <p>The transaction type code.</p> + public string transactionTypeCode { get; init; } + /// + /// <p>The retail transaction type code.</p> + /// + /// <p>The retail transaction type code.</p> + public string retailTransactionTypeCode { get; init; } + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are not voided should be searched.</p> + public bool? transactionIsNotVoided { get; init; } + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are cancelled should be searched.</p> + public bool? cancelledFlag { get; init; } + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are suspended should be searched.</p> + public bool? suspendedFlag { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationID { get; init; } + /// + /// Gets or Sets EndWorkstationID + /// + public string endWorkstationID { get; init; } + /// + /// <p>The business unit group identifier.</p> + /// + /// <p>The business unit group identifier.</p> + public string businessUnitGroupID { get; init; } + /// + /// <p>A flag to indicate that only transactions that are printable should be searched.</p> + /// + /// <p>A flag to indicate that only transactions that are printable should be searched.</p> + public bool? receiptIsPrintable { get; init; } + /// + /// <p>Limits the number of found receipts to the given value.</p> + /// + /// <p>Limits the number of found receipts to the given value.</p> + public int? maxReceiptCount { get; init; } + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string beginDateTimestampGreaterOrEquals { get; init; } + /// + /// <p>A list of parent customer identifiers.</p> + /// + /// <p>A list of parent customer identifiers.</p> + public List ParentCustomerIds { get; init; } + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + public List CustomerIds { get; init; } + /// + /// <p>A card type which has to be used for the customer identification.</p> + /// + /// <p>A card type which has to be used for the customer identification.</p> + public string customerAddressTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..30ff819e006e4efb4db8e9e82bed94d25ffdc94a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrintoutRelatedAttributesRequest <p>Request object to set printout related attributes.</p> + /// + public record comGkSoftwarePosApiServiceTransactionPrintoutRelatedAttributesRequest { + /// + /// <p>The transaction on which the receiptPrintoutFlag should be set.</p> + /// + /// <p>The transaction on which the receiptPrintoutFlag should be set.</p> + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + /// + /// <p>A flag to indicate that for the transaction a receipt was printed.</p> + /// + /// <p>A flag to indicate that for the transaction a receipt was printed.</p> + public bool? receiptPrintoutFlag { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionQuantityInput.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionQuantityInput.cs new file mode 100644 index 0000000000000000000000000000000000000000..8956e2b1c05512f03368252c54d2a4a76a5bc102 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionQuantityInput.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// QuantityInput <p>Request object for quantity input.</p> + /// + public record comGkSoftwarePosApiServiceTransactionQuantityInput { + /// + /// <p>The pieces.</p> + /// + /// <p>The pieces.</p> + public int? pieces { get; init; } + /// + /// <p>The length.</p> + /// + /// <p>The length.</p> + public double? length { get; init; } + /// + /// <p>The width.</p> + /// + /// <p>The width.</p> + public double? width { get; init; } + /// + /// <p>The height.</p> + /// + /// <p>The height.</p> + public double? height { get; init; } + /// + /// <p>The measure.</p> + /// + /// <p>The measure.</p> + public double? measure { get; init; } + /// + /// <p>The weight.</p> + /// + /// <p>The weight.</p> + public double? weight { get; init; } + /// + /// <p>The manual weight input.</p> + /// + /// <p>The manual weight input.</p> + public bool? manualWeightInput { get; init; } + /// + /// <p>The units.</p> + /// + /// <p>The units.</p> + public double? units { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..12a499d78234a5effdb34de15f71e7dea9f5662d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// RecalculateLineItemsRequest <p>Request object for recalculation of line items PosTransactionService.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRecalculateLineItemsRequest { + /// + /// <p>A list of retail transaction line items for recalculation.</p> + /// + /// <p>A list of retail transaction line items for recalculation.</p> + public List Items { get; init; } + /// + /// <p>The currency code.</p> + /// + /// <p>The currency code.</p> + public string currencyCode { get; init; } + /// + /// <p>The business unit group identifier.</p> + /// + /// <p>The business unit group identifier.</p> + public string businessUnitGroupId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0b18d3f1f3a27de0cdd0601dd2ee7aea79f481e0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReceiptAsEmailActivationRequest <p>Request object for receipt as email activation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionReceiptAsEmailActivationRequest { + /// + /// <p>A flag to enable/disable receipt as email.</p> + /// + /// <p>A flag to enable/disable receipt as email.</p> + public bool? emailRequestedFlag { get; init; } + /// + /// <p>The user email address.</p> + /// + /// <p>The user email address.</p> + public string emailAddress { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0dee2349565759411497f997c8b2c3eedc301081 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRecoverTransactionRequest.cs @@ -0,0 +1,83 @@ +namespace POSGkSwaggerModel +{ + /// + /// RecoverTransactionRequest <p>Request object to check for an open transaction in the persistence and if a transaction exits to load it and set as current active transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRecoverTransactionRequest { + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..5744af504d69811fd0c391440ef5393d433b546c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReduceLineItemsRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReduceLineItemsRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTransactionReduceLineItemsRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration { get; init; } + /// + /// <p>List of entities containing details for performing the item reduction.</p> + /// + /// <p>List of entities containing details for performing the item reduction.</p> + public List LineItemsReductionDetail { get; init; } + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + public bool? offlineMode { get; init; } + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + public bool? storeTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1e5a05335fe3b8672fc5d68e3ada44d6b2459224 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest.cs @@ -0,0 +1,452 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterCustomerAccountPaymentRequest <p>The entity RegisterCustomerAccountPaymentRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegisterCustomerAccountPaymentRequest { + /// + /// <p>price variant to use.</p> + /// + /// <p>price variant to use.</p> + public priceVariantEnum? priceVariant { get; init; } + /// + /// <p>The current active scale mode.</p> + /// + /// <p>The current active scale mode.</p> + public scaleModeEnum? scaleMode { get; init; } + /// + /// <p>The current active scale selling mode.</p> + /// + /// <p>The current active scale selling mode.</p> + public scaleSellingModeEnum? scaleSellingMode { get; init; } + /// + /// <p>The parameter defines the provider for the item data.</p> + /// + /// <p>The parameter defines the provider for the item data.</p> + public itemProviderEnum? itemProvider { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + public string barcode { get; init; } + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + public ComGkSoftwarePosApiServiceTransactionitemIdentificator itemIdentificator { get; init; } + /// + /// <p>Wic mode flag.</p> + /// + /// <p>Wic mode flag.</p> + public bool? wicMode { get; init; } + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + public bool? takeOverSetItems { get; init; } + /// + /// <p>The order mode.</p> + /// + /// <p>The order mode.</p> + public bool? orderMode { get; init; } + /// + /// <p>Indicates whether the layaway mode is active.</p> + /// + /// <p>Indicates whether the layaway mode is active.</p> + public bool? layawayMode { get; init; } + /// + /// <p>Indicates whether the take away sale mode is active.</p> + /// + /// <p>Indicates whether the take away sale mode is active.</p> + public bool? takeAwaySaleMode { get; init; } + /// + /// <p>Indicates if variant check should be performed.</p> + /// + /// <p>Indicates if variant check should be performed.</p> + public bool? checkForVariants { get; init; } + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + public bool? salesRestrictionsCheckNeeded { get; init; } + /// + /// <p>indicates if variant check should be performed.</p> + /// + /// <p>indicates if variant check should be performed.</p> + public bool? returnReasonRequired { get; init; } + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + public bool? linkedEmptiesItem { get; init; } + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + public bool? closeLineItem { get; init; } + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + public bool? getPromoIcons { get; init; } + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + public int? emptiesReturnQuantity { get; init; } + /// + /// <p>The overriding price.</p> + /// + /// <p>The overriding price.</p> + public double? overridingPrice { get; init; } + /// + /// <p>the overriding quantity.</p> + /// + /// <p>the overriding quantity.</p> + public ComGkSoftwarePosApiServiceTransactionQuantityInput overridingQuantity { get; init; } + /// + /// <p>The overriding position amount.</p> + /// + /// <p>The overriding position amount.</p> + public double? overridingPositionAmount { get; init; } + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + public ComGkSoftwarePosApiServiceClientHardwareScaleweightResult weightResult { get; init; } + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + public bool? doPriceDifferenceLimitCheck { get; init; } + /// + /// <p>Price type code (for price change).</p> + /// + /// <p>Price type code (for price change).</p> + public string priceTypeCode { get; init; } + /// + /// <p>Set price mode (for price change).</p> + /// + /// <p>Set price mode (for price change).</p> + public string setPriceMode { get; init; } + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + public string reasonCode { get; init; } + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + public string reasonDescription { get; init; } + /// + /// <p>A reason parameter used for handling of salable information.</p> + /// + /// <p>A reason parameter used for handling of salable information.</p> + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoreasonParameterSO reasonParameter { get; init; } + /// + /// <p>A price change reason code.</p> + /// + /// <p>A price change reason code.</p> + public string priceChangeReasonCode { get; init; } + /// + /// <p>A price change reason code group code.</p> + /// + /// <p>A price change reason code group code.</p> + public string priceChangeReasonCodeGroupCode { get; init; } + /// + /// <p>A price change reason description.</p> + /// + /// <p>A price change reason description.</p> + public string priceChangeReasonDescription { get; init; } + /// + /// <p>Serial number to set.</p> + /// + /// <p>Serial number to set.</p> + public string serialNumber { get; init; } + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + public string itemTraceableUnitID { get; init; } + /// + /// <p>Receipt text to set.</p> + /// + /// <p>Receipt text to set.</p> + public string receiptText { get; init; } + /// + /// <p>Object for linked item information.</p> + /// + /// <p>Object for linked item information.</p> + public ComGkSoftwarePosApiServiceTransactionlinkedItemRegistrationRequest linkedItemRegistrationRequest { get; init; } + /// + /// <p>A request to register an external item to transaction.</p> + /// + /// <p>A request to register an external item to transaction.</p> + public ComGkSoftwarePosApiServiceTransactionexternalItemRegistrationRequest externalItemRegistrationRequest { get; init; } + /// + /// <p>Double.</p> + /// + /// <p>Double.</p> + public double? factor { get; init; } + /// + /// <p>The active customer order id.</p> + /// + /// <p>The active customer order id.</p> + public string activeCustomerOrderId { get; init; } + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + public int? customerSequenceNumber { get; init; } + /// + /// <p>The customer order sequence number.</p> + /// + /// <p>The customer order sequence number.</p> + public int? customerOrderSequenceNumber { get; init; } + /// + /// <p>The sales order type code.</p> + /// + /// <p>The sales order type code.</p> + public string salesOrderTypeCode { get; init; } + /// + /// <p>The sales order delivery type code.</p> + /// + /// <p>The sales order delivery type code.</p> + public string salesOrderDeliveryTypeCode { get; init; } + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestedDeliveryDate { get; init; } + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsitemEntryConfig itemEntryConfig { get; init; } + /// + /// <p>Request for Sales Person Number.</p> + /// + /// <p>Request for Sales Person Number.</p> + public ComGkSoftwarePosApiServiceTransactionsalesPersonNumberRequest salesPersonNumberRequest { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + public string entryMethodCode { get; init; } + /// + /// <p>Scale transaction parameters to add to transaction.</p> + /// + /// <p>Scale transaction parameters to add to transaction.</p> + public ComGkSoftwarePosApiServiceTransactionscaleTransactionParams scaleTransactionParams { get; init; } + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + public List PostValidationSalesRestrictionIds { get; init; } + /// + /// <p>The promotion trigger active state.</p> + /// + /// <p>The promotion trigger active state.</p> + public bool? promotionTriggerActive { get; init; } + /// + /// <p>The qualified line item type.</p> + /// + /// <p>The qualified line item type.</p> + public string lineItemItemType { get; init; } + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + public List RetailPriceModifierList { get; init; } + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + public List LineItemExtensionList { get; init; } + /// + /// <p>The print list for additional line item text to print.</p> + /// + /// <p>The print list for additional line item text to print.</p> + public List PrintAdditionalLineItemTextLineList { get; init; } + /// + /// <p>The course Number to be set on line item.</p> + /// + /// <p>The course Number to be set on line item.</p> + public string courseNumber { get; init; } + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + public ComGkSoftwarePosApiServiceTransactioncomboMealRegistrationRequest comboMealRegistrationRequest { get; init; } + /// + /// Gets or Sets AppEnablement + /// + public bool? appEnablement { get; init; } + /// + /// <p>The itemType</p> + /// + /// <p>The itemType</p> + public string itemType { get; init; } + /// + /// <p>The i18NTextPayOut</p> + /// + /// <p>The i18NTextPayOut</p> + public string i18NTextPayOut { get; init; } + /// + /// <p>The i18NTextPayIn</p> + /// + /// <p>The i18NTextPayIn</p> + public string i18NTextPayIn { get; init; } + /// + /// <p>The languageDifferent</p> + /// + /// <p>The languageDifferent</p> + public bool? languageDifferent { get; init; } + /// + /// <p>The customerAccountText</p> + /// + /// <p>The customerAccountText</p> + public string customerAccountText { get; init; } + /// + /// <p>The customerId</p> + /// + /// <p>The customerId</p> + public string customerId { get; init; } + /// + /// <p>The receiptTextPI</p> + /// + /// <p>The receiptTextPI</p> + public string receiptTextPI { get; init; } + /// + /// <p>The receiptTextPO</p> + /// + /// <p>The receiptTextPO</p> + public string receiptTextPO { get; init; } + /// + /// <p>The openAmount</p> + /// + /// <p>The openAmount</p> + public double? openAmount { get; init; } + /// + /// <p>The amount</p> + /// + /// <p>The amount</p> + public double? amount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e3ad7b806bc53c687b3b1b04c8edbf779a97b7b3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest.cs @@ -0,0 +1,173 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterEmptiesTransactionRequest <p>Request object for the retrieve empties transaction process.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionRequest { + /// + /// <p>The deposit type 1.</p> + /// + /// <p>The deposit type 1.</p> + public depositType1Enum? depositType1 { get; init; } + /// + /// <p>The deposit type 2.</p> + /// + /// <p>The deposit type 2.</p> + public depositType2Enum? depositType2 { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>A flag to indicate that return mode is active.</p> + /// + /// <p>A flag to indicate that return mode is active.</p> + public bool? returnMode { get; init; } + /// + /// <p>The collective number. When add as one line item is wanted or necessary the item with collective number is used for empties return transaction registration.</p> + /// + /// <p>The collective number. When add as one line item is wanted or necessary the item with collective number is used for empties return transaction registration.</p> + public string collectiveNumber { get; init; } + /// + /// <p>The transaction identifier for the empties return transaction.</p> + /// + /// <p>The transaction identifier for the empties return transaction.</p> + public string transactionIdentifier { get; init; } + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + public double? amount { get; init; } + /// + /// <p>The amount1. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 1 line item registration.</p> + /// + /// <p>The amount1. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 1 line item registration.</p> + public double? amount1 { get; init; } + /// + /// <p>The amount2. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 2 line item registration.</p> + /// + /// <p>The amount2. In case of collective item usage and amount is not used the unit price amount for the one-way and multi-way returnable deposit type 2 line item registration.</p> + public double? amount2 { get; init; } + /// + /// <p>The one-way deposit item number.</p> + /// + /// <p>The one-way deposit item number.</p> + public string oneWayItemNumber { get; init; } + /// + /// <p>The multi-way deposit item number.</p> + /// + /// <p>The multi-way deposit item number.</p> + public string multiWayItemNumber { get; init; } + /// + /// <p>A flag to indicate that the empties return line items should be registered as one collective line item.</p> + /// + /// <p>A flag to indicate that the empties return line items should be registered as one collective line item.</p> + public bool? addAsOneLineItem { get; init; } + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + public bool? statusOfflineConfirmed { get; init; } + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + public bool? statusRedeemedConfirmed { get; init; } + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + public bool? statusNotFoundConfirmed { get; init; } + /// + /// <p>A complete transaction holding the retrieved empties return transaction.</p> + /// + /// <p>A complete transaction holding the retrieved empties return transaction.</p> + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction emptiesTransaction { get; init; } + /// + /// <p>The alternative tax information for updating the tax group.</p> + /// + /// <p>The alternative tax information for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>The retail store identifier.</p> + /// + /// <p>The retail store identifier.</p> + public string storeId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..2edcc5118af2bf37d0397f161372cee7c7acbae7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterEmptiesTransactionResult <p>Result object for the retrieve empties transaction process.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegisterEmptiesTransactionResult { + /// + /// <p>The status result (in detail).</p> + /// + /// <p>The status result (in detail).</p> + public statusResultEnum? statusResult { get; init; } + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + public bool? statusOkay { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..69e2ad27398b5f1506cba1d88584c1ac16738057 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterRetrievedSalesOrderRequest <p>The entity RegisterRetrievedSalesOrderRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegisterRetrievedSalesOrderRequest { + /// + /// <p>The externalCustomerOrderID</p> + /// + /// <p>The externalCustomerOrderID</p> + public string externalCustomerOrderID { get; init; } + /// + /// <p>The itemPositions List</p> + /// + /// <p>The itemPositions List</p> + public List ItemPositions { get; init; } + /// + /// <p>The clearedDownpaymentPosition</p> + /// + /// <p>The clearedDownpaymentPosition</p> + public string clearedDownpaymentPosition { get; init; } + /// + /// <p>The dcActionCode</p> + /// + /// <p>The dcActionCode</p> + public string dcActionCode { get; init; } + /// + /// <p>The dcReceiptText</p> + /// + /// <p>The dcReceiptText</p> + public string dcReceiptText { get; init; } + /// + /// <p>The dcRegularUnitPrice</p> + /// + /// <p>The dcRegularUnitPrice</p> + public double? dcRegularUnitPrice { get; init; } + /// + /// <p>The dcQuantity</p> + /// + /// <p>The dcQuantity</p> + public int? dcQuantity { get; init; } + /// + /// <p>The languageDifferent</p> + /// + /// <p>The languageDifferent</p> + public bool? languageDifferent { get; init; } + /// + /// <p>The dcI18NText</p> + /// + /// <p>The dcI18NText</p> + public string dcI18NText { get; init; } + /// + /// <p>The operationConfiguration</p> + /// + /// <p>The operationConfiguration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..fa089e254ead59fe7ddd858b7e1068397939df4a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest.cs @@ -0,0 +1,138 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterScaleTransactionRequest <p>Request object for the retrieve scale transaction process.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegisterScaleTransactionRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>A flag to indicate that return mode is active.</p> + /// + /// <p>A flag to indicate that return mode is active.</p> + public bool? returnMode { get; init; } + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + public string collectiveNumber { get; init; } + /// + /// <p>The transaction identifier for the scale transaction.</p> + /// + /// <p>The transaction identifier for the scale transaction.</p> + public string transactionIdentifier { get; init; } + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + /// + /// <p>The amount. In case of collective item usage the unit price amount for the line item registration.</p> + public double? amount { get; init; } + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'offline' was confirmed.</p> + public bool? statusOfflineConfirmed { get; init; } + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'redeemed' was confirmed.</p> + public bool? statusRedeemedConfirmed { get; init; } + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + /// + /// <p>A flag to indicate that the status 'not found' was confirmed.</p> + public bool? statusNotFoundConfirmed { get; init; } + /// + /// <p>A complete transaction holding the retrieved scale transaction.</p> + /// + /// <p>A complete transaction holding the retrieved scale transaction.</p> + public ComGkSoftwareGkrApiTxpoolDtoCompleteTransaction scaleTransaction { get; init; } + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>A Transaction which was converted from a suspend code.</p> + /// + /// <p>A Transaction which was converted from a suspend code.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction suspendCodeTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..67280c4d17f4fbdf68d49fb02d6d6647813f3cf8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegisterScaleTransactionResult <p>Result object for the retrieve scale transaction process.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegisterScaleTransactionResult { + /// + /// <p>The status result (in detail).</p> + /// + /// <p>The status result (in detail).</p> + public statusResultEnum? statusResult { get; init; } + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + /// + /// <p>A flag to indicate whether the registration status is okay or not in a simple way.</p> + public bool? statusOkay { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..94308b67f7d92b9b4e3357230e2552490e0547a9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationExternalRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegistrationExternalRequest <p>Domain object for Registration External Request.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegistrationExternalRequest { + /// + /// <p>The seller relation method.</p> + /// + /// <p>The seller relation method.</p> + public sellerRelationMethodEnum? sellerRelationMethod { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Manual line item creation with external data.</p> + /// + /// <p>Manual line item creation with external data.</p> + public ComGkSoftwarePosApiServiceTransactionexternalLineItemData externalLineItemData { get; init; } + /// + /// <p>The seller id.</p> + /// + /// <p>The seller id.</p> + public string salesPersonNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..fab7974155bb3bce30e8aaa5be42f4e7b1f29351 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationInternalRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegistrationInternalRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTransactionRegistrationInternalRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>All the data needed to create a new internal Line Item.</p> + /// + /// <p>All the data needed to create a new internal Line Item.</p> + public ComGkSoftwarePosApiServiceTransactioninternalLineItemData internalLineItemData { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..acda2f81ec3b1fb25e107d24eeea6104e2d939c8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationRequest.cs @@ -0,0 +1,402 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegistrationRequest <p>Domain object for Registration Request.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegistrationRequest { + /// + /// <p>price variant to use.</p> + /// + /// <p>price variant to use.</p> + public priceVariantEnum? priceVariant { get; init; } + /// + /// <p>The current active scale mode.</p> + /// + /// <p>The current active scale mode.</p> + public scaleModeEnum? scaleMode { get; init; } + /// + /// <p>The current active scale selling mode.</p> + /// + /// <p>The current active scale selling mode.</p> + public scaleSellingModeEnum? scaleSellingMode { get; init; } + /// + /// <p>The parameter defines the provider for the item data.</p> + /// + /// <p>The parameter defines the provider for the item data.</p> + public itemProviderEnum? itemProvider { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The barcode of the item to register. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + public string barcode { get; init; } + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + /// + /// <p>The item identificator. At least the barcode OR the itemIdentificator are mandatory request attributes.</p> + public ComGkSoftwarePosApiServiceTransactionitemIdentificator itemIdentificator { get; init; } + /// + /// <p>Wic mode flag.</p> + /// + /// <p>Wic mode flag.</p> + public bool? wicMode { get; init; } + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + /// + /// <p>Indicated whether set items should be registered individually or be added to head item.</p> + public bool? takeOverSetItems { get; init; } + /// + /// <p>The order mode.</p> + /// + /// <p>The order mode.</p> + public bool? orderMode { get; init; } + /// + /// <p>Indicates whether the layaway mode is active.</p> + /// + /// <p>Indicates whether the layaway mode is active.</p> + public bool? layawayMode { get; init; } + /// + /// <p>Indicates whether the take away sale mode is active.</p> + /// + /// <p>Indicates whether the take away sale mode is active.</p> + public bool? takeAwaySaleMode { get; init; } + /// + /// <p>Indicates if variant check should be performed.</p> + /// + /// <p>Indicates if variant check should be performed.</p> + public bool? checkForVariants { get; init; } + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + /// + /// <p>Indicates if validation process should check sales restrictions.</p> + public bool? salesRestrictionsCheckNeeded { get; init; } + /// + /// <p>indicates if variant check should be performed.</p> + /// + /// <p>indicates if variant check should be performed.</p> + public bool? returnReasonRequired { get; init; } + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + /// + /// <p>Indicates the request is for a linked empties deposit item.</p> + public bool? linkedEmptiesItem { get; init; } + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + /// + /// <p>Indicates whether line item should be closed during the registration (used for empties return using deposit collections).</p> + public bool? closeLineItem { get; init; } + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + /// + /// <p>Indicates whether promo icons should be retrieved.</p> + public bool? getPromoIcons { get; init; } + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + /// + /// <p>Quantity to be overwritten for deposit item registered as empties during item registration.</p> + public int? emptiesReturnQuantity { get; init; } + /// + /// <p>The overriding price.</p> + /// + /// <p>The overriding price.</p> + public double? overridingPrice { get; init; } + /// + /// <p>the overriding quantity.</p> + /// + /// <p>the overriding quantity.</p> + public ComGkSoftwarePosApiServiceTransactionQuantityInput overridingQuantity { get; init; } + /// + /// <p>The overriding position amount.</p> + /// + /// <p>The overriding position amount.</p> + public double? overridingPositionAmount { get; init; } + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + /// + /// <p>The weight result from a previously done weighing process (e.g. item required weight input).</p> + public ComGkSoftwarePosApiServiceClientHardwareScaleweightResult weightResult { get; init; } + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + /// + /// <p>Indicates whether the price difference limit checks should be done or not.</p> + public bool? doPriceDifferenceLimitCheck { get; init; } + /// + /// <p>Price type code (for price change).</p> + /// + /// <p>Price type code (for price change).</p> + public string priceTypeCode { get; init; } + /// + /// <p>Set price mode (for price change).</p> + /// + /// <p>Set price mode (for price change).</p> + public string setPriceMode { get; init; } + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code for this request (e.g. reason for returns).</p> + public string reasonCode { get; init; } + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + /// + /// <p>A reason code group code for this request (e.g. reason for returns).</p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + /// + /// <p>A reason description for this request (e.g. reason for returns).</p> + public string reasonDescription { get; init; } + /// + /// <p>A reason parameter used for handling of salable information.</p> + /// + /// <p>A reason parameter used for handling of salable information.</p> + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoreasonParameterSO reasonParameter { get; init; } + /// + /// <p>A price change reason code.</p> + /// + /// <p>A price change reason code.</p> + public string priceChangeReasonCode { get; init; } + /// + /// <p>A price change reason code group code.</p> + /// + /// <p>A price change reason code group code.</p> + public string priceChangeReasonCodeGroupCode { get; init; } + /// + /// <p>A price change reason description.</p> + /// + /// <p>A price change reason description.</p> + public string priceChangeReasonDescription { get; init; } + /// + /// <p>Serial number to set.</p> + /// + /// <p>Serial number to set.</p> + public string serialNumber { get; init; } + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + /// + /// <p>A universally unique identifier (min=0, max=32) used to identify an instance of a distinguishable instance of a retail item. The item traceable unit ID is similar to a serial number in that it allows each selling unit to be explicitly identified and distinguished from other selling units of the same Item.</p> + public string itemTraceableUnitID { get; init; } + /// + /// <p>Receipt text to set.</p> + /// + /// <p>Receipt text to set.</p> + public string receiptText { get; init; } + /// + /// <p>Object for linked item information.</p> + /// + /// <p>Object for linked item information.</p> + public ComGkSoftwarePosApiServiceTransactionlinkedItemRegistrationRequest linkedItemRegistrationRequest { get; init; } + /// + /// <p>A request to register an external item to transaction.</p> + /// + /// <p>A request to register an external item to transaction.</p> + public ComGkSoftwarePosApiServiceTransactionexternalItemRegistrationRequest externalItemRegistrationRequest { get; init; } + /// + /// <p>Double.</p> + /// + /// <p>Double.</p> + public double? factor { get; init; } + /// + /// <p>The active customer order id.</p> + /// + /// <p>The active customer order id.</p> + public string activeCustomerOrderId { get; init; } + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + /// + /// <p>The customer oder sequence number.<br /> @deprecated use customerOrderSequenceNumber instead.</p> + public int? customerSequenceNumber { get; init; } + /// + /// <p>The customer order sequence number.</p> + /// + /// <p>The customer order sequence number.</p> + public int? customerOrderSequenceNumber { get; init; } + /// + /// <p>The sales order type code.</p> + /// + /// <p>The sales order type code.</p> + public string salesOrderTypeCode { get; init; } + /// + /// <p>The sales order delivery type code.</p> + /// + /// <p>The sales order delivery type code.</p> + public string salesOrderDeliveryTypeCode { get; init; } + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requested delivery date for the item.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestedDeliveryDate { get; init; } + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + /// + /// <p>ItemEntryConfig - bring config to server side.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsitemEntryConfig itemEntryConfig { get; init; } + /// + /// <p>Request for Sales Person Number.</p> + /// + /// <p>Request for Sales Person Number.</p> + public ComGkSoftwarePosApiServiceTransactionsalesPersonNumberRequest salesPersonNumberRequest { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + /// + /// <p>The entry method code. It specifies how the action was triggered (keyed, scanned, ...).</p> + public string entryMethodCode { get; init; } + /// + /// <p>Scale transaction parameters to add to transaction.</p> + /// + /// <p>Scale transaction parameters to add to transaction.</p> + public ComGkSoftwarePosApiServiceTransactionscaleTransactionParams scaleTransactionParams { get; init; } + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + /// + /// <p>The list of post validation sales restriction ids to add to SaleReturnLineItem.</p> + public List PostValidationSalesRestrictionIds { get; init; } + /// + /// <p>The promotion trigger active state.</p> + /// + /// <p>The promotion trigger active state.</p> + public bool? promotionTriggerActive { get; init; } + /// + /// <p>The qualified line item type.</p> + /// + /// <p>The qualified line item type.</p> + public string lineItemItemType { get; init; } + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + public List RetailPriceModifierList { get; init; } + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + /// + /// <p>The list of external retail price modifier to add to transaction.</p> + public List LineItemExtensionList { get; init; } + /// + /// <p>The print list for additional line item text to print.</p> + /// + /// <p>The print list for additional line item text to print.</p> + public List PrintAdditionalLineItemTextLineList { get; init; } + /// + /// <p>The course Number to be set on line item.</p> + /// + /// <p>The course Number to be set on line item.</p> + public string courseNumber { get; init; } + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + /// + /// <p>The parameter consists all information for a combo meal item registration.</p> + public ComGkSoftwarePosApiServiceTransactioncomboMealRegistrationRequest comboMealRegistrationRequest { get; init; } + /// + /// Gets or Sets AppEnablement + /// + public bool? appEnablement { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..0aa739f446295d6986dc4a44ebd1efa891e83a30 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationResult.cs @@ -0,0 +1,281 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegistrationResult <p>The entity RegistrationResult</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegistrationResult { + /// + /// <p>The promotion trigger signal type</p> + /// + /// <p>The promotion trigger signal type</p> + public promotionTriggerSignalTypeEnum promotionTriggerSignalType { get; init; } + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>indicates if the registration could be proceeded without error or callback</p> + /// + /// <p>indicates if the registration could be proceeded without error or callback</p> + public bool? statusOk { get; init; } + /// + /// <p>the unique id of this item</p> + /// + /// <p>the unique id of this item</p> + public string mainPOSItemId { get; init; } + /// + /// Gets or Sets PosItemId + /// + public string posItemId { get; init; } + /// + /// <p>the item id (may be different than mainPOSItemId)</p> + /// + /// <p>the item id (may be different than mainPOSItemId)</p> + public string itemId { get; init; } + /// + /// <p>the item name</p> + /// + /// <p>the item name</p> + public string itemName { get; init; } + /// + /// <p>the item description</p> + /// + /// <p>the item description</p> + public string itemDescription { get; init; } + /// + /// <p>a tare value for this item</p> + /// + /// <p>a tare value for this item</p> + public double? itemTare { get; init; } + /// + /// <p>The manually entered price</p> + /// + /// <p>The manually entered price</p> + public bool? forcePriceInput { get; init; } + /// + /// <p>The manually entered quantity</p> + /// + /// <p>The manually entered quantity</p> + public bool? forceQuantityInput { get; init; } + /// + /// <p>The price input signal</p> + /// + /// <p>The price input signal</p> + public bool? priceInputSignal { get; init; } + /// + /// <p>The quantity input signal</p> + /// + /// <p>The quantity input signal</p> + public bool? quantityInputSignal { get; init; } + /// + /// <p>The promotion trigger signal</p> + /// + /// <p>The promotion trigger signal</p> + public bool? promotionTriggerSignal { get; init; } + /// + /// <p>list of sales restrictions</p> + /// + /// <p>list of sales restrictions</p> + public List SalesRestrictions { get; init; } + /// + /// <p>The sales restriction list</p> + /// + /// <p>The sales restriction list</p> + public List SalesRestrictionList { get; init; } + /// + /// <p>not used atm</p> + /// + /// <p>not used atm</p> + public bool? prepaidItem { get; init; } + /// + /// <p>not used atm</p> + /// + /// <p>not used atm</p> + public bool? hasLinkedItems { get; init; } + /// + /// <p>reason objects for selection</p> + /// + /// <p>reason objects for selection</p> + public ComGkSoftwarePosApiServiceMasterdatareasonResult reasonResult { get; init; } + /// + /// <p>ask for return reason</p> + /// + /// <p>ask for return reason</p> + public bool? forceReturnReasonInput { get; init; } + /// + /// <p>ask for serial number</p> + /// + /// <p>ask for serial number</p> + public bool? forceSerialNumberInput { get; init; } + /// + /// <p>indicates if there exist variants and one must be selected</p> + /// + /// <p>indicates if there exist variants and one must be selected</p> + public bool? variantItemsAvailable { get; init; } + /// + /// <p>The empties return object</p> + /// + /// <p>The empties return object</p> + public bool? emptiesReturn { get; init; } + /// + /// <p>The accumulate existing quantity</p> + /// + /// <p>The accumulate existing quantity</p> + public bool? accumulateExistingQuantity { get; init; } + /// + /// <p>if price could be calculated it is stored in here</p> + /// + /// <p>if price could be calculated it is stored in here</p> + public double? price { get; init; } + /// + /// <p>quantity input method of this item</p> + /// + /// <p>quantity input method of this item</p> + public string quantityInputMethod { get; init; } + /// + /// Gets or Sets ItemClassCode + /// + public string itemClassCode { get; init; } + /// + /// <p>quantity registered before item registration</p> + /// + /// <p>quantity registered before item registration</p> + public int? preregisteredQuantity { get; init; } + /// + /// <p>key of the item about to be registered</p> + /// + /// <p>key of the item about to be registered</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionPosUOMItemDoKey itemKey { get; init; } + /// + /// <p>String - he barcode originally used to register the item</p> + /// + /// <p>String - he barcode originally used to register the item</p> + public string usedBarcode { get; init; } + /// + /// <p>The limit exceed result</p> + /// + /// <p>The limit exceed result</p> + public ComGkSoftwarePosApiServiceTransactionlimitExceedResult limitExceedResult { get; init; } + /// + /// <p>A list of discount item icon info</p> + /// + /// <p>A list of discount item icon info</p> + public List DiscountIconList { get; init; } + /// + /// <p>The limit exceed action for price difference checks</p> + /// + /// <p>The limit exceed action for price difference checks</p> + public ComGkSoftwarePosApiModelConfigComponentServerprepaidTypeprepaidType prepaidType { get; init; } + /// + /// <p>The has invalid quantity flag</p> + /// + /// <p>The has invalid quantity flag</p> + public bool? hasInvalidQuantity { get; init; } + /// + /// <p>The quantity for which the unit price is applied to.</p> + /// + /// <p>The quantity for which the unit price is applied to.</p> + public int? packagePriceQuantity { get; init; } + /// + /// <p>The register combo meal flag</p> + /// + /// <p>The register combo meal flag</p> + public bool? comboMealItem { get; init; } + /// + /// <p>The position amount from the item barcode.</p> + /// + /// <p>The position amount from the item barcode.</p> + public double? originalPositionAmount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..428954f190f2c28da831360a543f3f8f206c7b14 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// RegistrationServiceFeeRequest <p>The entity RegistrationServiceFeeRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionRegistrationServiceFeeRequest { + /// + /// <p>This parameter defines whether a percentage of the total or an absolute value is set as price for the service item.</p><br /><pre>values: PS, TP<br /></pre><br /><ul><br /> <li>'PS' (= price single - for setting a single price depending on the threshold)</li><br /> <li>'TP' (= total percent - for setting the price as a percentage of the total)</li><br /></ul> + /// + /// <p>This parameter defines whether a percentage of the total or an absolute value is set as price for the service item.</p><br /><pre>values: PS, TP<br /></pre><br /><ul><br /> <li>'PS' (= price single - for setting a single price depending on the threshold)</li><br /> <li>'TP' (= total percent - for setting the price as a percentage of the total)</li><br /></ul> + public preCommissioningTypeCodeEnum preCommissioningTypeCode { get; init; } + /// + /// <p>This parameter defines the rounding rule in case of PreCommissioningTypeCode = 'TP'.</p><br /><pre>values: NO_ROUNDING, ROUND_HALF_UP, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN<br /></pre><br /><ul><br /> <li>NO_ROUNDING (00)</li><br /> <li>ROUND_HALF_UP (01)</li><br /> <li>ROUND_DOWN (02)</li><br /> <li>ROUND_UP (03)</li><br /> <li>ROUND_HALF_DOWN (04)</li><br /></ul> + /// + /// <p>This parameter defines the rounding rule in case of PreCommissioningTypeCode = 'TP'.</p><br /><pre>values: NO_ROUNDING, ROUND_HALF_UP, ROUND_DOWN, ROUND_UP, ROUND_HALF_DOWN<br /></pre><br /><ul><br /> <li>NO_ROUNDING (00)</li><br /> <li>ROUND_HALF_UP (01)</li><br /> <li>ROUND_DOWN (02)</li><br /> <li>ROUND_UP (03)</li><br /> <li>ROUND_HALF_DOWN (04)</li><br /></ul> + public preCommissioningRoundMethodEnum preCommissioningRoundMethod { get; init; } + /// + /// <p>This config defines a PositionOperationConfig for registering of Service Fee Line Item.</p> + /// + /// <p>This config defines a PositionOperationConfig for registering of Service Fee Line Item.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>This parameter defines a list of thresholds for pre-commissioning.</p> + /// + /// <p>This parameter defines a list of thresholds for pre-commissioning.</p> + public List PreCommissioningThresholdList { get; init; } + /// + /// <p>This parameter defines a list of absolute values (PreCommissioningTypeCode = 'PS') or percentage rates (PreCommissioningTypeCode = 'TP').</p> + /// + /// <p>This parameter defines a list of absolute values (PreCommissioningTypeCode = 'PS') or percentage rates (PreCommissioningTypeCode = 'TP').</p> + public List PreCommissioningValue { get; init; } + /// + /// <p>This parameter defines the TaxGroupID for the service item, if needed.</p> + /// + /// <p>This parameter defines the TaxGroupID for the service item, if needed.</p> + public string preCommissioningServiceTaxGroupID { get; init; } + /// + /// <p>This parameter defines the receipt text.</p> + /// + /// <p>This parameter defines the receipt text.</p> + public string receiptText { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b94fdf8db210ebcbe35235815dd3d5f910ec85e1 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// RemoveLineItemExtensionRequest <p>Domain object for removing batch of line item extensions from one line item.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRemoveLineItemExtensionRequest { + /// + /// <p>The line item key from which the extensions will be removed.</p> + /// + /// <p>The line item key from which the extensions will be removed.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The extension key used for the extension line items lookup.</p> + /// + /// <p>The extension key used for the extension line items lookup.</p> + public string extensionKey { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..49c811dc461adcd582f4fdf2eee583e7478961c0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// RemoveLineItemsExtensionsRequest <p>Domain object for removing batch of line item extensions from one or more line items.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRemoveLineItemsExtensionsRequest { + /// + /// <p>The list of requests for removing extensions from one or more single line items.</p> + /// + /// <p>The list of requests for removing extensions from one or more single line items.</p> + public List RemoveExtensionRequests { get; init; } + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a867d4d939a61a779c0974abf0684e0329bba2b8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// RemoveSaleReturnLineItemExtensionsRequest <p>Request for removing sale return line item extensions from sale return line items.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRemoveSaleReturnLineItemExtensionsRequest { + /// + /// <p>Extension keys of sale return line item extensions.</p> + /// + /// <p>Extension keys of sale return line item extensions.</p> + public List ExtensionKeys { get; init; } + /// + /// <p>Indicates whether transaction should be persisted after modifications.</p> + /// + /// <p>Indicates whether transaction should be persisted after modifications.</p> + public bool? storeTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c0351e116480b9f8a868d7acc349ecd2ebd8ca47 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest.cs @@ -0,0 +1,92 @@ +namespace POSGkSwaggerModel +{ + /// + /// RemoveTransactionAdditionalPrintoutsRequest <p>Request object to remove additional printout contents from a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRemoveTransactionAdditionalPrintoutsRequest { + /// + /// Gets or Sets TransactionId + /// + public string transactionId { get; init; } + /// + /// <p>A list of transaction additional printout keys to be removed from transaction.</p> + /// + /// <p>A list of transaction additional printout keys to be removed from transaction.</p> + public List TransactionAdditionalPrintoutKeys { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1855f0523ac9f9e4c3290cf41c6d25fff2e4fb74 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// RemoveTransactionExtensionRequest <p>Request object for removing a transaction extension from the transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRemoveTransactionExtensionRequest { + /// + /// <p>The transaction extension key to be removed to transaction.</p> + /// + /// <p>The transaction extension key to be removed to transaction.</p> + public string extensionKey { get; init; } + /// + /// <p>The identifier of the transaction to remove the extension key from.</p> + /// + /// <p>The identifier of the transaction to remove the extension key from.</p> + public string transactionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..358c89a00868552d72031396577e65c48b978017 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRepeatLineItemRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// RepeatLineItemRequest <p>Domain object for RepeatLineItem Request</p> + /// + public record comGkSoftwarePosApiServiceTransactionRepeatLineItemRequest { + /// + /// <p>The lineItem</p> + /// + /// <p>The lineItem</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionlineItem lineItem { get; init; } + /// + /// <p>The mainlineItem</p> + /// + /// <p>The mainlineItem</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem mainlineItem { get; init; } + /// + /// <p>The positionOperationConfiguration</p> + /// + /// <p>The positionOperationConfiguration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration { get; init; } + /// + /// <p>The positionRepetitionConfig</p> + /// + /// <p>The positionRepetitionConfig</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionRepetitionConfig positionRepetitionConfig { get; init; } + /// + /// <p>Indicates whether the line item quantity should be accumulated.</p> + /// + /// <p>Indicates whether the line item quantity should be accumulated.</p> + public bool? accumulateQuantity { get; init; } + /// + /// <p>The quantity</p> + /// + /// <p>The quantity</p> + public ComGkSoftwarePosApiServiceTransactionquantityInput quantity { get; init; } + /// + /// <p>The line item key.</p> + /// + /// <p>The line item key.</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionLineItem lineItemKey { get; init; } + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter.cs new file mode 100644 index 0000000000000000000000000000000000000000..b07871ab28020171545926f3b0bdf950ac6645ed --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemAdditionalParameter <p>The retail transaction line item additional parameter</p> + /// + public record comGkSoftwarePosApiServiceTransactionRetailTransactionLineItemAdditionalParameter { + /// + /// <p>The external Parameter ID</p> + /// + /// <p>The external Parameter ID</p> + public string externalParameterID { get; init; } + /// + /// <p>The parameter Name</p> + /// + /// <p>The parameter Name</p> + public string parameterName { get; init; } + /// + /// <p>The parameter value.</p> + /// + /// <p>The parameter value.</p> + public string parameterValue { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText.cs new file mode 100644 index 0000000000000000000000000000000000000000..9c6ed5436fa7e8ac7d5167d8f160f986f23c03c3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetailTransactionLineItemI18NText <p>The retail transaction lineItem I18N text</p> + /// + public record comGkSoftwarePosApiServiceTransactionRetailTransactionLineItemI18NText { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The text sequence number</p> + /// + /// <p>The text sequence number</p> + public int? textSequenceNumber { get; init; } + /// + /// <p>The language ID</p> + /// + /// <p>The language ID</p> + public string languageID { get; init; } + /// + /// <p>The category</p> + /// + /// <p>The category</p> + public string category { get; init; } + /// + /// <p>The text</p> + /// + /// <p>The text</p> + public string text { get; init; } + /// + /// <p>The picture flag</p> + /// + /// <p>The picture flag</p> + public bool? pictureFlag { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..c27308c69fc34ad96a4757f85400be0f7dc66806 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetrieveOpenSSCTransactionRequest <p>Request object to retrieve open transactions with workstation type code for self scanning.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRetrieveOpenSSCTransactionRequest { + /// + /// <p>The retail store identifier (as part of the search criteria).</p> + /// + /// <p>The retail store identifier (as part of the search criteria).</p> + public string storeId { get; init; } + /// + /// <p>The workstation identifier (as part of the search criteria).</p> + /// + /// <p>The workstation identifier (as part of the search criteria).</p> + public string workstationId { get; init; } + /// + /// <p>The customer identifier (as part of the search criteria).</p> + /// + /// <p>The customer identifier (as part of the search criteria).</p> + public string customerId { get; init; } + /// + /// <p>The customer card type (as part of the search criteria).</p> + /// + /// <p>The customer card type (as part of the search criteria).</p> + public string customerCardType { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9f058afe8c34e21b9c122bd9a482b33086b6f336 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetrieveSuspendedRetailTransactionsByIdsRequest <p>Request object for retrieving suspended retail transactions</p> + /// + public record comGkSoftwarePosApiServiceTransactionRetrieveSuspendedRetailTransactionsByIdsRequest { + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + public List TransactionIds { get; init; } + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + public bool? onlySSCTransactions { get; init; } + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + public bool? overtakeCustomerFromOriginalReceipt { get; init; } + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + public bool? allowOtherStores { get; init; } + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + public string promotionHandling { get; init; } + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + public bool? consolidateLineItemsRetrieve { get; init; } + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + public bool? consolidateReturnItems { get; init; } + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + public bool? rescanEnabled { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ea28b8b91b245f71ae1dc0ab02c6c1122cd87e82 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// RetrieveTransactionFromSuspendCodeRequest <p>Request object to suspend transaction converted from suspend codes.</p> + /// + public record comGkSoftwarePosApiServiceTransactionRetrieveTransactionFromSuspendCodeRequest { + /// + /// <p>Transaction created with information from code.</p> + /// + /// <p>Transaction created with information from code.</p> + public ComGkSoftwareGkrApiTxpoolDtoTransaction transactionFromConvertedSuspendCodes { get; init; } + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + public bool? consolidateLineItemsRetrieve { get; init; } + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + public bool? consolidateReturnItems { get; init; } + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + public bool? rescanEnabled { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..57d127a7867b44391ad5848763ebc1302af457cb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest.cs @@ -0,0 +1,112 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnLineItemBulkRequest <p>Request object for the the return line item operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionReturnLineItemBulkRequest { + /// + /// <p>The return with transaction configuration.</p> + /// + /// <p>The return with transaction configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsreturnWithTransactionConfig returnWithTransactionConfig { get; init; } + /// + /// <p>The identifier for the refund transaction.</p> + /// + /// <p>The identifier for the refund transaction.</p> + public string refundTransactionID { get; init; } + /// + /// <p>The reason group code.</p> + /// + /// <p>The reason group code.</p> + public string reasonGroupCode { get; init; } + /// + /// Gets or Sets SalesPersonNumber + /// + public string salesPersonNumber { get; init; } + /// + /// <p>A list of return line items that should be returned.</p> + /// + /// <p>A list of return line items that should be returned.</p> + public List ReturnLineItemElementList { get; init; } + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemElement.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemElement.cs new file mode 100644 index 0000000000000000000000000000000000000000..a06796e2b5b17da7cee9b4c44169abdeea809e3f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemElement.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnLineItemElement <p>List element type for ReturnLineItemBulkRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionReturnLineItemElement { + /// + /// <p>The line item key.</p> + /// + /// <p>The line item key.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The line item quantity.</p> + /// + /// <p>The line item quantity.</p> + public int? quantity { get; init; } + /// + /// <p>The line item units.</p> + /// + /// <p>The line item units.</p> + public double? units { get; init; } + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + public string reasonCode { get; init; } + /// + /// <p>The entry method code of the return action.</p> + /// + /// <p>The entry method code of the return action.</p> + public string entryMethodCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3ce58f3db1da4fa76cca3a86b0634a5f0bd9ae56 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnLineItemRequest.cs @@ -0,0 +1,153 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnLineItemRequest <p>Request object for the the return line item operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionReturnLineItemRequest { + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsreturnWithTransactionConfig returnWithTransactionConfig { get; init; } + /// + /// <p>Id of the line item to return</p> + /// + /// <p>Id of the line item to return</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionLineItemKey lineItemKeyToReturn { get; init; } + /// + /// <p>The SaleReturnTaxLineItem Key</p> + /// + /// <p>The SaleReturnTaxLineItem Key</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionSaleReturntaxLineItemKey taxLineItemKey { get; init; } + /// + /// <p>Line item to be filled</p> + /// + /// <p>Line item to be filled</p> + public ComGkSoftwareGkrApiTxpoolDtoRetailTransactionlineItem lineItem { get; init; } + /// + /// <p>The tax percent</p> + /// + /// <p>The tax percent</p> + public double? taxPercent { get; init; } + /// + /// <p>The tax amount</p> + /// + /// <p>The tax amount</p> + public double? taxAmount { get; init; } + /// + /// <p>The tax reason</p> + /// + /// <p>The tax reason</p> + public ComGkSoftwareSweeSesApiServerMdreasonDtoSoreasonSO reason { get; init; } + /// + /// <p>Quantity to return.</p> + /// + /// <p>Quantity to return.</p> + public int? quantity { get; init; } + /// + /// <p>Units to return.</p> + /// + /// <p>Units to return.</p> + public double? units { get; init; } + /// + /// <p>The reason code</p> + /// + /// <p>The reason code</p> + public string reasonCode { get; init; } + /// + /// <p>The reason group Code</p> + /// + /// <p>The reason group Code</p> + public string reasonGroupCode { get; init; } + /// + /// <p>The extension key</p> + /// + /// <p>The extension key</p> + public string extensionKey { get; init; } + /// + /// <p>The extension value</p> + /// + /// <p>The extension value</p> + public string extensionValue { get; init; } + /// + /// <p>The customerIdentifier</p> + /// + /// <p>The customerIdentifier</p> + public string customerIdentifier { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7f8c1e92452f24d479bc4a5d854d7bf41a050e04 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnTransactionRequest.cs @@ -0,0 +1,112 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnTransactionRequest <p>Request object for the the return transaction operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionReturnTransactionRequest { + /// + /// <p>The return with transaction configuration.</p> + /// + /// <p>The return with transaction configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsreturnWithTransactionConfig returnWithTransactionConfig { get; init; } + /// + /// <p>The identifier for the transaction to return.</p> + /// + /// <p>The identifier for the transaction to return.</p> + public string transactionToReturn { get; init; } + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + public string reasonCode { get; init; } + /// + /// <p>The reason group code.</p> + /// + /// <p>The reason group code.</p> + public string reasonGroupCode { get; init; } + /// + /// Gets or Sets SalesPersonNumber + /// + public string salesPersonNumber { get; init; } + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + /// + /// <p>It specifies whether a return receipt is created. This receipt includes return line items only.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ebc14925bfa111a5bbd11283fb66dceb29b482e0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnTransactionWithTempSessionRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTransactionReturnTransactionWithTempSessionRequest { + /// + /// Gets or Sets OperatorId + /// + public string operatorId { get; init; } + /// + /// Gets or Sets StoreId + /// + public string storeId { get; init; } + /// + /// Gets or Sets WorkstationId + /// + public string workstationId { get; init; } + /// + /// Gets or Sets WorkstationTypeCode + /// + public string workstationTypeCode { get; init; } + /// + /// Gets or Sets ClientVersion + /// + public string clientVersion { get; init; } + /// + /// Gets or Sets TrainingMode + /// + public bool? trainingMode { get; init; } + /// + /// Gets or Sets CreateReturnReceipt + /// + public bool? createReturnReceipt { get; init; } + /// + /// Gets or Sets SalesPersonNumber + /// + public string salesPersonNumber { get; init; } + /// + /// Gets or Sets TransactionID + /// + public string transactionID { get; init; } + /// + /// Gets or Sets TakeOverCustomersFromOriginalSc + /// + public bool? takeOverCustomersFromOriginalSc { get; init; } + /// + /// Gets or Sets ReturnPrepaidAllowed + /// + public bool? returnPrepaidAllowed { get; init; } + /// + /// Gets or Sets ReasonCode + /// + public string reasonCode { get; init; } + /// + /// Gets or Sets ReasonGroupCode + /// + public string reasonGroupCode { get; init; } + /// + /// Gets or Sets ConditionSplitConfig + /// + public ComGkSoftwarePosApiModelConfigProcessFlowsconditionSplitConfig conditionSplitConfig { get; init; } + /// + /// Gets or Sets ReturnLineItemElementList + /// + public List ReturnLineItemElementList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..87409ba81a68abae010cea016010a0ada2daa8d3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReturnableForRestrictionTypeCodesRequest <p>Request object used to determine whether the transaction is returnable, given a set of restriction type codes.</p> + /// + public record comGkSoftwarePosApiServiceTransactionReturnableForRestrictionTypeCodesRequest { + /// + /// <p>The identifier of the return transaction to interrogate.</p> + /// + /// <p>The identifier of the return transaction to interrogate.</p> + public string transactionToReturnId { get; init; } + /// + /// <p>The restriction types codes of the tenders used in the original transaction.</p> + /// + /// <p>The restriction types codes of the tenders used in the original transaction.</p> + public List RestrictionTypeCodes { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic.cs new file mode 100644 index 0000000000000000000000000000000000000000..e32413d9d24c6090ac88888712c8578ed001e1b4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemCharacteristic <p>The sale return line item characteristic</p> + /// + public record comGkSoftwarePosApiServiceTransactionSaleReturnLineItemCharacteristic { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The characteristic ID</p> + /// + /// <p>The characteristic ID</p> + public string characteristicID { get; init; } + /// + /// <p>The characteristic value ID</p> + /// + /// <p>The characteristic value ID</p> + public string characteristicValueID { get; init; } + /// + /// <p>The characteristic value name</p> + /// + /// <p>The characteristic value name</p> + public string characteristicValueName { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e6355b5c9c1ca2abe5843feb8269af4283ea88ec --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest.cs @@ -0,0 +1,233 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemDataRequest <p>Request object for the item registration process.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSaleReturnLineItemDataRequest { + /// + /// <p>The itemType.</p> + /// + /// <p>The itemType.</p> + public string itemType { get; init; } + /// + /// <p>The subItemType</p> + /// + /// <p>The subItemType</p> + public string subItemType { get; init; } + /// + /// <p>The actionCode</p> + /// + /// <p>The actionCode</p> + public string actionCode { get; init; } + /// + /// <p>The units</p> + /// + /// <p>The units</p> + public double? units { get; init; } + /// + /// <p>The quantity</p> + /// + /// <p>The quantity</p> + public int? quantity { get; init; } + /// + /// <p>The quantityInputMethod</p> + /// + /// <p>The quantityInputMethod</p> + public string quantityInputMethod { get; init; } + /// + /// <p>The itemId</p> + /// + /// <p>The itemId</p> + public string itemId { get; init; } + /// + /// <p>The mainPOSItemId</p> + /// + /// <p>The mainPOSItemId</p> + public string mainPOSItemId { get; init; } + /// + /// <p>The posItemId</p> + /// + /// <p>The posItemId</p> + public string posItemId { get; init; } + /// + /// <p>The registrationNumber</p> + /// + /// <p>The registrationNumber</p> + public string registrationNumber { get; init; } + /// + /// <p>The mainMerchandiseHierarchyGroupId</p> + /// + /// <p>The mainMerchandiseHierarchyGroupId</p> + public string mainMerchandiseHierarchyGroupId { get; init; } + /// + /// <p>The mainMerchandiseHierarchyGroupIdQualifier</p> + /// + /// <p>The mainMerchandiseHierarchyGroupIdQualifier</p> + public string mainMerchandiseHierarchyGroupIdQualifier { get; init; } + /// + /// <p>The merchandiseHierarchyGroupName</p> + /// + /// <p>The merchandiseHierarchyGroupName</p> + public string merchandiseHierarchyGroupName { get; init; } + /// + /// <p>The merchandiseHierarchyGroupDescription</p> + /// + /// <p>The merchandiseHierarchyGroupDescription</p> + public string merchandiseHierarchyGroupDescription { get; init; } + /// + /// <p>The receiptText</p> + /// + /// <p>The receiptText</p> + public string receiptText { get; init; } + /// + /// <p>The receiptDescription</p> + /// + /// <p>The receiptDescription</p> + public string receiptDescription { get; init; } + /// + /// <p>The regularUnitPrice</p> + /// + /// <p>The regularUnitPrice</p> + public double? regularUnitPrice { get; init; } + /// + /// <p>The actualUnitPrice</p> + /// + /// <p>The actualUnitPrice</p> + public double? actualUnitPrice { get; init; } + /// + /// <p>The priceTypeCode</p> + /// + /// <p>The priceTypeCode</p> + public string priceTypeCode { get; init; } + /// + /// <p>The taxGroupID</p> + /// + /// <p>The taxGroupID</p> + public string taxGroupID { get; init; } + /// + /// <p>The discountFlag</p> + /// + /// <p>The discountFlag</p> + public bool? discountFlag { get; init; } + /// + /// <p>The frequentShopperPointsEligibilityFlag</p> + /// + /// <p>The frequentShopperPointsEligibilityFlag</p> + public bool? frequentShopperPointsEligibilityFlag { get; init; } + /// + /// <p>The discountTypeCode</p> + /// + /// <p>The discountTypeCode</p> + public string discountTypeCode { get; init; } + /// + /// <p>The invoiceId</p> + /// + /// <p>The invoiceId</p> + public string invoiceId { get; init; } + /// + /// <p>The price modifier list.</p> + /// + /// <p>The price modifier list.</p> + public List PriceModifierList { get; init; } + /// + /// <p>The promotion.</p> + /// + /// <p>The promotion.</p> + public ComGkSoftwareSweeSesApiServerMdpromotionDtoSopromotionSO promotion { get; init; } + /// + /// <p>The alternative tax infos for updating the tax group.</p> + /// + /// <p>The alternative tax infos for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>The price change type code</p> + /// + /// <p>The price change type code</p> + public string priceChangeTypeCode { get; init; } + /// + /// <p>The prohibit return flag</p> + /// + /// <p>The prohibit return flag</p> + public bool? prohibitReturnFlag { get; init; } + /// + /// <p>The not considered by loyalty (pricing) engine flag</p> + /// + /// <p>The not considered by loyalty (pricing) engine flag</p> + public bool? notConsideredByLoyaltyEngineFlag { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup.cs new file mode 100644 index 0000000000000000000000000000000000000000..9c56d80fc9afa04024666ef0fbd44600594ac184 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemMerchandiseHierarchyGroup <p>The sale return line item merchandise hierarchy group</p> + /// + public record comGkSoftwarePosApiServiceTransactionSaleReturnLineItemMerchandiseHierarchyGroup { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The merchandise hierarchy group ID qualifier</p> + /// + /// <p>The merchandise hierarchy group ID qualifier</p> + public string merchandiseHierarchyGroupIDQualifier { get; init; } + /// + /// <p>The merchandise hierarchy group ID</p> + /// + /// <p>The merchandise hierarchy group ID</p> + public string merchandiseHierarchyGroupID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder.cs new file mode 100644 index 0000000000000000000000000000000000000000..b3f85d53502de357939ddd7674874e1cf4aa6ee9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// SaleReturnLineItemSalesOrder <p>The sale return line item sales order.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSaleReturnLineItemSalesOrder { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The external customer order ID</p> + /// + /// <p>The external customer order ID</p> + public string externalCustomerOrderID { get; init; } + /// + /// <p>The customer order sequence number</p> + /// + /// <p>The customer order sequence number</p> + public int? customerOrderSequenceNumber { get; init; } + /// + /// <p>The sales order type code</p> + /// + /// <p>The sales order type code</p> + public string salesOrderTypeCode { get; init; } + /// + /// <p>The sales order delivery type code</p> + /// + /// <p>The sales order delivery type code</p> + public string salesOrderDeliveryTypeCode { get; init; } + /// + /// <p>The requested delivery date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requested delivery date</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestedDeliveryDate { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData.cs new file mode 100644 index 0000000000000000000000000000000000000000..4a2b23dd724bcb49407cd4eefcdd8f36c2870de7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderCommonData <p>Entity describing common sales order data.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesOrderCommonData { + /// + /// <p>The result code for a ERP service call. If the result code is equal to 5, the call was not successful.</p> + /// + /// <p>The result code for a ERP service call. If the result code is equal to 5, the call was not successful.</p> + public string resultCode { get; init; } + /// + /// <p>The customer order condition data.</p> + /// + /// <p>The customer order condition data.</p> + public List PriceComponentList { get; init; } + /// + /// <p>The order amount (gross).</p> + /// + /// <p>The order amount (gross).</p> + public double? totalGross { get; init; } + /// + /// <p>The order amount (net).</p> + /// + /// <p>The order amount (net).</p> + public double? totalNet { get; init; } + /// + /// <p>The total tax amount.</p> + /// + /// <p>The total tax amount.</p> + public double? totalTax { get; init; } + /// + /// <p>The order line items.</p> + /// + /// <p>The order line items.</p> + public List ItemList { get; init; } + /// + /// <p>Dummy identifier for actual SAP sales order.</p> + /// + /// <p>Dummy identifier for actual SAP sales order.</p> + public string sAP_DUMMY_ORDER_ID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..201d46c0afa25b2883a6cc1f512129972e69e90a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderCommonPriceComponent <p>The entity SalesOrderCommonPriceComponent</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesOrderCommonPriceComponent { + /// + /// <p>conditionTypeCode</p> + /// + /// <p>conditionTypeCode</p> + public string conditionTypeCode { get; init; } + /// + /// <p>conditionRate</p> + /// + /// <p>conditionRate</p> + public double? conditionRate { get; init; } + /// + /// <p>conditionBase</p> + /// + /// <p>conditionBase</p> + public double? conditionBase { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine.cs new file mode 100644 index 0000000000000000000000000000000000000000..22bd9d3e36b8f3b6478ff7a032b713abb23785ba --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderCommonScheduleLine <p>The entity SalesOrderCommonScheduleLine</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesOrderCommonScheduleLine { + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string deliveryDate { get; init; } + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + public double? requestedQuantity { get; init; } + /// + /// <p>The confirmedQuantity</p> + /// + /// <p>The confirmedQuantity</p> + public double? confirmedQuantity { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData.cs new file mode 100644 index 0000000000000000000000000000000000000000..6ff281e536429cf1e6d39b4bd0b270abaa12650a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderExtendedItemData <p>The entity SalesOrderExtendedItemData</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesOrderExtendedItemData { + /// + /// <p>The id</p> + /// + /// <p>The id</p> + public string id { get; init; } + /// + /// <p>The description</p> + /// + /// <p>The description</p> + public string description { get; init; } + /// + /// <p>The productInternalId</p> + /// + /// <p>The productInternalId</p> + public string productInternalId { get; init; } + /// + /// <p>The productSalesMeasureUnitCode</p> + /// + /// <p>The productSalesMeasureUnitCode</p> + public string productSalesMeasureUnitCode { get; init; } + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The requestDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string requestDate { get; init; } + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + /// + /// <p>The deliveryTermsDeliveryPlantId</p> + public string deliveryTermsDeliveryPlantId { get; init; } + /// + /// <p>The requestedQuantity</p> + /// + /// <p>The requestedQuantity</p> + public double? requestedQuantity { get; init; } + /// + /// <p>The receivingPointId</p> + /// + /// <p>The receivingPointId</p> + public string receivingPointId { get; init; } + /// + /// <p>The productStandardId</p> + /// + /// <p>The productStandardId</p> + public string productStandardId { get; init; } + /// + /// <p>The itemPriceComponentList</p> + /// + /// <p>The itemPriceComponentList</p> + public List ItemPriceComponentList { get; init; } + /// + /// <p>The confirmedQuantity</p> + /// + /// <p>The confirmedQuantity</p> + public double? confirmedQuantity { get; init; } + /// + /// <p>The deliveredQuantity</p> + /// + /// <p>The deliveredQuantity</p> + public double? deliveredQuantity { get; init; } + /// + /// <p>The rejectionReasonCode</p> + /// + /// <p>The rejectionReasonCode</p> + public string rejectionReasonCode { get; init; } + /// + /// <p>The netAmount</p> + /// + /// <p>The netAmount</p> + public double? netAmount { get; init; } + /// + /// <p>The netPrice</p> + /// + /// <p>The netPrice</p> + public double? netPrice { get; init; } + /// + /// <p>The taxAmount</p> + /// + /// <p>The taxAmount</p> + public double? taxAmount { get; init; } + /// + /// <p>The scheduleLineList</p> + /// + /// <p>The scheduleLineList</p> + public List ScheduleLineList { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent.cs new file mode 100644 index 0000000000000000000000000000000000000000..6933138c7c6349c23b5ff834229c39367a346161 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderExtendedPriceComponent <p>The entity SalesOrderExtendedPriceComponent</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesOrderExtendedPriceComponent { + /// + /// <p>conditionTypeCode</p> + /// + /// <p>conditionTypeCode</p> + public string conditionTypeCode { get; init; } + /// + /// <p>conditionRate</p> + /// + /// <p>conditionRate</p> + public double? conditionRate { get; init; } + /// + /// <p>conditionBase</p> + /// + /// <p>conditionBase</p> + public double? conditionBase { get; init; } + /// + /// <p>The total</p> + /// + /// <p>The total</p> + public double? total { get; init; } + /// + /// <p>The condition active</p> + /// + /// <p>The condition active</p> + public bool? conditionActive { get; init; } + /// + /// <p>The inactivity reasonCode</p> + /// + /// <p>The inactivity reasonCode</p> + public string inactivityReasonCode { get; init; } + /// + /// <p>The priceSpecificationElement typeCode</p> + /// + /// <p>The priceSpecificationElement typeCode</p> + public string priceSpecificationElementTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderPosition.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderPosition.cs new file mode 100644 index 0000000000000000000000000000000000000000..37bee4f3f86b6467d8c22f22973b11b4d1587c50 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderPosition.cs @@ -0,0 +1,153 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderPosition <p>The entity SalesOrderPosition</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesOrderPosition { + /// + /// <p>The canceled value</p> + /// + /// <p>The canceled value</p> + public double? canceledValue { get; init; } + /// + /// <p>The delivery type code</p> + /// + /// <p>The delivery type code</p> + public string deliveryTypeCode { get; init; } + /// + /// <p>The quantity</p> + /// + /// <p>The quantity</p> + public int? quantity { get; init; } + /// + /// <p>The units</p> + /// + /// <p>The units</p> + public double? units { get; init; } + /// + /// <p>The regularPrice</p> + /// + /// <p>The regularPrice</p> + public double? regularPrice { get; init; } + /// + /// <p>The receiptText</p> + /// + /// <p>The receiptText</p> + public string receiptText { get; init; } + /// + /// <p>The posItemId</p> + /// + /// <p>The posItemId</p> + public string posItemId { get; init; } + /// + /// <p>The itemTypeCode</p> + /// + /// <p>The itemTypeCode</p> + public string itemTypeCode { get; init; } + /// + /// <p>The sub item type code</p> + /// + /// <p>The sub item type code</p> + public string subItemTypeCode { get; init; } + /// + /// <p>The customerOrderSequenceNumber</p> + /// + /// <p>The customerOrderSequenceNumber</p> + public int? customerOrderSequenceNumber { get; init; } + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The deliveryDate</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string deliveryDate { get; init; } + /// + /// <p>The orderId</p> + /// + /// <p>The orderId</p> + public string orderId { get; init; } + /// + /// <p>The discountGP</p> + /// + /// <p>The discountGP</p> + public double? discountGP { get; init; } + /// + /// <p>The sapDebatesPromotionId</p> + /// + /// <p>The sapDebatesPromotionId</p> + public string sapDebatesPromotionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..2289d690a1c2aadb0fc2ad2a554bc3f7ab59a544 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesOrderSalesDocItem <p>The SalesOrderSalesDocItem</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesOrderSalesDocItem { + /// + /// <p>GrossValue of the item</p> + /// + /// <p>GrossValue of the item</p> + public double? grossValue { get; init; } + /// + /// <p>description of the item</p> + /// + /// <p>description of the item</p> + public string description { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e5de392f1c3747cef164062909411fb506b7726f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesPersonNumberRequest <p>Domain object for SalesPersonNumberRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionSalesPersonNumberRequest { + /// + /// <p>The Seller Relation Method.</p> + /// + /// <p>The Seller Relation Method.</p> + public sellerRelationMethodEnum? sellerRelationMethod { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>set sales Person Number (for Entered salesperson number).</p> + /// + /// <p>set sales Person Number (for Entered salesperson number).</p> + public string salesPersonNumber { get; init; } + /// + /// <p>Defines whether the input of a sellerId is needed.</p> + /// + /// <p>Defines whether the input of a sellerId is needed.</p> + public bool? sellerAssignmentNeeded { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionScaleTransactionParams.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionScaleTransactionParams.cs new file mode 100644 index 0000000000000000000000000000000000000000..31475b6c3f99a8d6cd996611cd74d79d28d81805 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionScaleTransactionParams.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// ScaleTransactionParams <p>Wrapper object used for offline scale transaction registration.</p> + /// + public record comGkSoftwarePosApiServiceTransactionScaleTransactionParams { + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + public bool? offlineMode { get; init; } + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + /// + /// <p>The collective number. When single item resolving is not wanted or possible the item with collective number is used for scale transaction registration.</p> + public string collectiveNumber { get; init; } + /// + /// <p>The transaction identifier for the scale transaction.</p> + /// + /// <p>The transaction identifier for the scale transaction.</p> + public string transactionIdentifier { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..ff56fff5f5ee1d846ecf681ec2f364f515896fa3 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest.cs @@ -0,0 +1,163 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchAndRetrieveSuspendedRetailTransactionsRequest <p>Request object for searching and retrieving suspended retail transactions.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSearchAndRetrieveSuspendedRetailTransactionsRequest { + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitId { get; init; } + /// + /// <p>The suspend number.</p> + /// + /// <p>The suspend number.</p> + public string suspendNumber { get; init; } + /// + /// <p>A list of parent customer identifiers.</p> + /// + /// <p>A list of parent customer identifiers.</p> + public List ParentCustomerIds { get; init; } + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + public List CustomerIds { get; init; } + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + public bool? customerRequired { get; init; } + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + public bool? onlySSCTransactions { get; init; } + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + public bool? overtakeCustomerFromOriginalReceipt { get; init; } + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string endDateTimestampFrom { get; init; } + /// + /// <p>A card type which has to be used for the customer identification.</p> + /// + /// <p>A card type which has to be used for the customer identification.</p> + public string customerAddressTypeCode { get; init; } + /// + /// <p>The alternative tax informations for updating the tax group.</p> + /// + /// <p>The alternative tax informations for updating the tax group.</p> + public ComGkSoftwarePosApiModelConfigProcessFlowsalternativeTaxInfos alternativeTaxInfos { get; init; } + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + /// + /// <p>A flag to indicate whether transactions from other stores are allowed.</p> + public bool? allowOtherStores { get; init; } + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + /// + /// <p>The promotion handling. If set to 'OLDDISCOUNTS' the retail price modifier for the retrieved item gets the flag externalSystemOriginatorFlag set to true.</p> + public string promotionHandling { get; init; } + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + /// + /// <p>The parameter defines, if the consolidation of retrieving transactions should be executed.</p> + public bool? consolidateLineItemsRetrieve { get; init; } + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + /// + /// <p>The parameter controls, whether items with SaleReturnLineItem.ActionCode = RI should be consolidated or not.</p> + public bool? consolidateReturnItems { get; init; } + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + /// + /// <p>The parameter defines, if rescan feature is enabled.</p> + public bool? rescanEnabled { get; init; } + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + public string iSOCurrencyCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..700cad7d1d8380c73f395086b2bb5cfafa7292be --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchCustomerTransactionsRequest <p>Request object for the search customer transactions operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSearchCustomerTransactionsRequest { + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + public List CustomerIds { get; init; } + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The begin date timestamp greater or equals (as part of the search criteria).</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string beginDateTimestampGreaterOrEquals { get; init; } + /// + /// <p>The workstation type code.</p> + /// + /// <p>The workstation type code.</p> + public string workstationTypeCode { get; init; } + /// + /// <p>The maximum count of receipts. The search result will be limited to that number.</p> + /// + /// <p>The maximum count of receipts. The search result will be limited to that number.</p> + public int? maxReceiptCount { get; init; } + /// + /// <p>The suspended flag. If set to true only transactions with isSuspended flag true and isRetrieved flag false are searched.</p> + /// + /// <p>The suspended flag. If set to true only transactions with isSuspended flag true and isRetrieved flag false are searched.</p> + public bool? suspendedFlag { get; init; } + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + public string iSOCurrencyCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..a7653bd6f6e458b6371829c2c623d4847cf378a2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchFiscalStartTransactionRequest <p>Request object to search fiscal start transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSearchFiscalStartTransactionRequest { + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitId { get; init; } + /// + /// <p>The identifier for the fiscal printer.</p> + /// + /// <p>The identifier for the fiscal printer.</p> + public string fiscalPrinterId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..3591d15405c770efbff4911602aab312ceae8efd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchLastFinalizedRetailTransactionRequest <p>Request object for the the search last finalized retail transaction operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSearchLastFinalizedRetailTransactionRequest { + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationId { get; init; } + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + public string operatorId { get; init; } + /// + /// <p>If the search should be done only in the local database.</p> + /// + /// <p>If the search should be done only in the local database.</p> + public bool? localSearchOnly { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..12c60968528706403352cbf8def9ec65d6f2754a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchLastUnfinishedRetailTransactionRequest <p>Request object for the the search last unfinished retail transaction operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSearchLastUnfinishedRetailTransactionRequest { + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationId { get; init; } + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + public string operatorId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..fbbf752f91b06e85e6ae41ce965644c30a3dea4e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchRetailTransactionRequest <p>Request object for the the search retail transaction operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSearchRetailTransactionRequest { + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationId { get; init; } + /// + /// <p>The end workstation identifier.</p> + /// + /// <p>The end workstation identifier.</p> + public string endWorkstationId { get; init; } + /// + /// <p>The business day date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The business day date.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string businessDayDate { get; init; } + /// + /// <p>The sequence number.</p> + /// + /// <p>The sequence number.</p> + public string sequenceNumber { get; init; } + /// + /// <p>The operator identifier.</p> + /// + /// <p>The operator identifier.</p> + public string operatorId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e87afb68d37a8f9600aeda6bade763a2af7d7cb2 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest.cs @@ -0,0 +1,133 @@ +namespace POSGkSwaggerModel +{ + /// + /// SearchSuspendedTransactionsRequest <p>Request object for the search suspended transactions operation.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSearchSuspendedTransactionsRequest { + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitId { get; init; } + /// + /// <p>The suspend number.</p> + /// + /// <p>The suspend number.</p> + public string suspendNumber { get; init; } + /// + /// <p>A list of parent customer identifiers.</p> + /// + /// <p>A list of parent customer identifiers.</p> + public List ParentCustomerIds { get; init; } + /// + /// <p>A list of customer identifiers.</p> + /// + /// <p>A list of customer identifiers.</p> + public List CustomerIds { get; init; } + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + /// + /// <p>A flag to indicate if a customer assignment is required. If the list of customer identifiers is not used but this flag is set to true, then the customer assignment of the current active transaction is used (if there is one).</p> + public bool? customerRequired { get; init; } + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + public bool? onlySSCTransactions { get; init; } + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + public bool? overtakeCustomerFromOriginalReceipt { get; init; } + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The end date timestamp from. If set only suspended transactions with matching criteria are searched.</p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string endDateTimestampFrom { get; init; } + /// + /// <p>A card type which has to be used for the customer identification.</p> + /// + /// <p>A card type which has to be used for the customer identification.</p> + public string customerAddressTypeCode { get; init; } + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + /// + /// <p>The ISO currency code. If set only suspended transactions with matching criteria are searched.</p> + public string iSOCurrencyCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer.cs new file mode 100644 index 0000000000000000000000000000000000000000..8415b3970262f4cfd1ee7407a2a3a95ea5e8ff8d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSerializedUnitModifer.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// SerializedUnitModifer <p>The serialized unit modifer</p> + /// + public record comGkSoftwarePosApiServiceTransactionSerializedUnitModifer { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The serial number</p> + /// + /// <p>The serial number</p> + public string serialNumber { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..14d38c07d58d206756c7f3ec75b95b2022385a8f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetFiscalReceiptNumberRequest <p>The request object for setting a fiscal receipt number to the transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSetFiscalReceiptNumberRequest { + /// + /// <p>The fiscalization receipt number to set.</p> + /// + /// <p>The fiscalization receipt number to set.</p> + public string fiscalReceiptNumber { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..92acd6d69162e49aa42000a2847d2962fc3c1853 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetLineItemCustomFieldsRequest <p>The entity SetLineItemCustomFieldsRequest.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSetLineItemCustomFieldsRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetQuantityRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetQuantityRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0985cd9f2ef8479c39fa04f22c906896afede647 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetQuantityRequest.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetQuantityRequest <p>Domain object for SetQuantity Request</p> + /// + public record comGkSoftwarePosApiServiceTransactionSetQuantityRequest { + /// + /// <p>The trigger of the SetQuantityForLineItem process.</p> + /// + /// <p>The trigger of the SetQuantityForLineItem process.</p> + public processTriggerEnum? processTrigger { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>The quantity input.</p> + /// + /// <p>The quantity input.</p> + public ComGkSoftwarePosApiServiceTransactionquantityInput quantityInput { get; init; } + /// + /// <p>The active customer order id.</p> + /// + /// <p>The active customer order id.</p> + public string activeCustomerOrderId { get; init; } + /// + /// <p>The customer sequence number.</p> + /// + /// <p>The customer sequence number.</p> + public int? customerSequenceNumber { get; init; } + /// + /// <p>Set to false if validations should be skip. Default value is true.</p> + /// + /// <p>Set to false if validations should be skip. Default value is true.</p> + public bool? validate { get; init; } + /// + /// <p>Set to true if single quantity limit was exceeded and successfully authorized</p> + /// + /// <p>Set to true if single quantity limit was exceeded and successfully authorized</p> + public bool? exceededSingleQuantityAuthorized { get; init; } + /// + /// <p>The weight result of a previously executed weighing process.</p> + /// + /// <p>The weight result of a previously executed weighing process.</p> + public ComGkSoftwarePosApiServiceClientHardwareScaleweightResult weightResult { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..2087ea46c8f890a5ba35f24909a36f95b85c1a2b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetSerialNumberRequest.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetSerialNumberRequest <p>A request for setting serial numbers.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSetSerialNumberRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The line item key the operation refers to.</p> + /// + /// <p>The line item key the operation refers to.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Indicated whether the item should be returned or registered.</p> + /// + /// <p>Indicated whether the item should be returned or registered.</p> + public bool? returnMode { get; init; } + /// + /// <p>Flag indicating client is in empties return mode.</p> + /// + /// <p>Flag indicating client is in empties return mode.</p> + public bool? emptiesReturnMode { get; init; } + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + /// + /// <p>This parameter specifies whether a return receipt should be created for returned items.<br /> This has only an impact in case returnMode=true.</p> + public bool? createReturnReceipt { get; init; } + /// + /// <p>Serial number to set.</p> + /// + /// <p>Serial number to set.</p> + public string serialNumber { get; init; } + /// + /// <p>A reason code for this request (e.g. reason for price change).</p> + /// + /// <p>A reason code for this request (e.g. reason for price change).</p> + public string reasonCode { get; init; } + /// + /// <p>A reason code group code for this request (e.g. reason for price change).</p> + /// + /// <p>A reason code group code for this request (e.g. reason for price change).</p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>A reason description for this request (e.g. reason for price change).</p> + /// + /// <p>A reason description for this request (e.g. reason for price change).</p> + public string reasonDescription { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d965d3746b06e632b539adc1fc080f95dd10cced --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetTransactionCustomFieldsRequest <p>Request object to set custom field values for currently active transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSetTransactionCustomFieldsRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..e6f2d824ff705defde439d00572f32e9c113073e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetTransactionEndAttributesRequest <p>Request object to set transaction end attributes to a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSetTransactionEndAttributesRequest { + /// + /// <p>The identifier of the transaction.</p> + /// + /// <p>The identifier of the transaction.</p> + public string transactionId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workstationId { get; init; } + /// + /// <p>The till identifier.</p> + /// + /// <p>The till identifier.</p> + public string tillId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..be94473c997ad0f3154ee142177f8fea377c20b5 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// SetTransactionReasonRequest <p>Request object for setting a reason to a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSetTransactionReasonRequest { + /// + /// <p>The identifier of the transaction where the reason should be set.</p> + /// + /// <p>The identifier of the transaction where the reason should be set.</p> + public string transactionId { get; init; } + /// + /// <p>The reason code.</p> + /// + /// <p>The reason code.</p> + public string reasonCode { get; init; } + /// + /// <p>The reason description.</p> + /// + /// <p>The reason description.</p> + public string reasonDescription { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..0396109c26dd77c0bff92d672e43c0752ac82a56 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// StoreLineItemTaxGroupIdRequest <p>Request object to store the tax group id to the sales return line items</p> + /// + public record comGkSoftwarePosApiServiceTransactionStoreLineItemTaxGroupIdRequest { + /// + /// <p>Tax group id line item object</p> + /// + /// <p>Tax group id line item object</p> + public List TaxGroupIdLineItem { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..495fc6ee83a51036e4c41ccfced9590afc200d19 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSubtotalOperationResult.cs @@ -0,0 +1,107 @@ +namespace POSGkSwaggerModel +{ + /// + /// SubtotalOperationResult TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTransactionSubtotalOperationResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// Gets or Sets AllContractPricesLoaded + /// + public bool? allContractPricesLoaded { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..738116d8f85ee7f130628a3fc6d3138c391d3f4c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSuspendTransactionRequest.cs @@ -0,0 +1,111 @@ +namespace POSGkSwaggerModel +{ + /// + /// SuspendTransactionRequest <p>Request object to suspend currently active transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionSuspendTransactionRequest { + /// + /// <p>The suspend number for the transaction.</p> + /// + /// <p>The suspend number for the transaction.</p> + public string suspendNumber { get; init; } + /// + /// <p>Specifies the barcode prefix of the suspended receipt</p> + /// + /// <p>Specifies the barcode prefix of the suspended receipt</p> + public string barCodePrefix { get; init; } + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>A flag to indicate whether the transaction should be finalized. The default value is true.</p> + /// + /// <p>A flag to indicate whether the transaction should be finalized. The default value is true.</p> + public bool? finalizeTransaction { get; init; } + /// + /// Gets or Sets ConsolidateLineItemsSuspending + /// + public bool? consolidateLineItemsSuspending { get; init; } + /// + /// Gets or Sets ConsolidateReturnItems + /// + public bool? consolidateReturnItems { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f6fea28f86d3be2c54274ef02a1c3e637757bd00 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// SyncLineItemsTraceableUnitIDRequest TODO: undocumented + /// + public record comGkSoftwarePosApiServiceTransactionSyncLineItemsTraceableUnitIDRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig positionOperationConfiguration { get; init; } + /// + /// <p>The keyed online state.</p> + /// + /// <p>The keyed online state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + /// + /// <p>A flag to indicate whether offline mode registration is active or not.</p> + public bool? offlineMode { get; init; } + /// + /// <p>The ean map.</p> + /// + /// <p>The ean map.</p> + public Dictionary EanByTraceableUnitIDMap { get; init; } + /// + /// <p>Flag that tracks if POS is currently in goods return mode or not.</p> + /// + /// <p>Flag that tracks if POS is currently in goods return mode or not.</p> + public bool? isReturnMode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..91e9665728bb966eeb4e72d1fd1ede2055625dd4 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// TaxGroupIdLineItem <p>Simple object that contains the tax line item group id</p> + /// + public record comGkSoftwarePosApiServiceTransactionTaxGroupIdLineItem { + /// + /// <p>Sale return Line item key</p> + /// + /// <p>Sale return Line item key</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>Tax group id</p> + /// + /// <p>Tax group id</p> + public string taxGroupId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d3930012a43ff74defd2557587c948fbdf1faea8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// TenderLineItemDataRequest <p>The entity TenderLineItemDataRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionTenderLineItemDataRequest { + /// + /// <p>The tender amount.</p> + /// + /// <p>The tender amount.</p> + public double? tenderAmount { get; init; } + /// + /// <p>The tender description.</p> + /// + /// <p>The tender description.</p> + public string tenderDescription { get; init; } + /// + /// <p>The tender group code.</p> + /// + /// <p>The tender group code.</p> + public string tenderGroupCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..7f7fe6ff8a08e39dcce271261877ad29192275da --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// TerminalPrintoutsLineItemEntry <p>Request object to store a merchant and customer printout.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTerminalPrintoutsLineItemEntry { + /// + /// <p>The corresponding tender key to this printouts.</p> + /// + /// <p>The corresponding tender key to this printouts.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactiontenderAuthorizationKey tenderAuthorizationKey { get; init; } + /// + /// <p>The merchant printout copy to add to the tender.</p> + /// + /// <p>The merchant printout copy to add to the tender.</p> + public string merchantReceipt { get; init; } + /// + /// <p>The customer printout copy to add to the tender.</p> + /// + /// <p>The customer printout copy to add to the tender.</p> + public string customerReceipt { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTerminalToRefundData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTerminalToRefundData.cs new file mode 100644 index 0000000000000000000000000000000000000000..1096f39809126e6fd3dcbd2b15f383cded6d697f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTerminalToRefundData.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// TerminalToRefundData <p>Result object for terminal line items to refund during voiding of transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTerminalToRefundData { + /// + /// <p>A list of retail transaction line items, which contains all terminal tender line items.</p> + /// + /// <p>A list of retail transaction line items, which contains all terminal tender line items.</p> + public List TerminalTenderLineItems { get; init; } + /// + /// <p>A list of all tender authorizations.</p> + /// + /// <p>A list of all tender authorizations.</p> + public List TenderAuthorizations { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..f1595dd7434b76d44102d21e62a2da0e061f48e8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionBinaryDataRequest <p>Request object to set transaction binary data to a transaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionBinaryDataRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The transaction binary data name.</p> + /// + /// <p>The transaction binary data name.</p> + public string name { get; init; } + /// + /// <p>The transaction binary data content.</p> + /// + /// <p>The transaction binary data content.</p> + public string data { get; init; } + /// + /// <p>The transaction identifier.</p> + /// + /// <p>The transaction identifier.</p> + public string transactionID { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d909f61aabd20514e8c37db2140902c0641b1f5e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest.cs @@ -0,0 +1,113 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionBinaryDataWithExtensionRequest <p>Request object to set transaction binary data to a transaction and additionally an entry to transaction extension data.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionBinaryDataWithExtensionRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The transaction binary data name.</p> + /// + /// <p>The transaction binary data name.</p> + public string name { get; init; } + /// + /// <p>The transaction binary data content.</p> + /// + /// <p>The transaction binary data content.</p> + public string data { get; init; } + /// + /// <p>Defines that the data is already encoded. It means it should be decoded again to be stored correctly.</p> + /// + /// <p>Defines that the data is already encoded. It means it should be decoded again to be stored correctly.</p> + public bool? dataEncoded { get; init; } + /// + /// <p>The transaction identifier.</p> + /// + /// <p>The transaction identifier.</p> + public string transactionID { get; init; } + /// + /// <p>The value for the connected / referenced extension</p> + /// + /// <p>The value for the connected / referenced extension</p> + public string extensionValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..6bbbf4656bb2f364bbb10ee0d9b8017a536397b0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionIdsRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionIdsRequest <p>Request object for requesting views of transaction search data.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionIdsRequest { + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + public List TransactionIds { get; init; } + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + /// + /// <p>A flag to indicate that only suspended transaction with workstation type code for self scanning are wanted.</p> + public bool? onlySSCTransactions { get; init; } + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + /// + /// <p>A flag to indicate that the customer assignment from the suspended transaction should be taken over to the current transaction.</p> + public bool? overtakeCustomerFromOriginalReceipt { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionIdsResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionIdsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..a926891962bcd74274adbd5568f91ff820692d8e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionIdsResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionIdsResult <p>Result object for transaction searches, holding a list of transaction identifiers.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionIdsResult { + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + public List TransactionIds { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..b4d60aac8523a7e85b90fb2a3273d6c2388ff6b0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionOperationFailureResult <p>The transaction operation failure result</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionOperationFailureResult { + /// + /// <p>The error code</p> + /// + /// <p>The error code</p> + public string errorCode { get; init; } + /// + /// <p>The error message</p> + /// + /// <p>The error message</p> + public string errorMessage { get; init; } + /// + /// <p>The message key</p> + /// + /// <p>The message key</p> + public string messageKey { get; init; } + /// + /// <p>The arguments</p> + /// + /// <p>The arguments</p> + public List Arguments { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..926850a6e205f4dd5da7febd2e326a14f000c5ef --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationResult.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionOperationResult <p>The entity TransactionOperationResult contains the result of a service execution and is used for providing transaction updates fields updates for service clients.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionOperationResult { + /// + /// <p>The primary transaction result entry.</p> + /// + /// <p>The primary transaction result entry.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry primaryEntry { get; init; } + /// + /// <p>Additional result entries.</p> + /// + /// <p>Additional result entries.</p> + public List AdditionalEntries { get; init; } + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + /// + /// <p>Indicates whether the transaction result is filtered. A filtered transaction does not contain the details of a retail transaction object in order to optimize service communication.</p> + public bool? filtered { get; init; } + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + /// + /// <p>Reference to a failure entity in case a failure occurs during a service execution. This field can be used when a managed exception occurs and we still want to synchronize the resulting transaction instead of throwing an exception containing no information on transaction updates.</p> + public ComGkSoftwarePosApiServiceTransactionTransactionOperationfailureResult failure { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry.cs new file mode 100644 index 0000000000000000000000000000000000000000..c67519e12be08b68c7fc468c0fc4a828a0cb65e9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionOperationResultEntry <p>An entity describing an operation result entry.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionOperationResultEntry { + /// + /// <p>The resulting transaction after a service execution.</p> + /// + /// <p>The resulting transaction after a service execution.</p> + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + /// + /// <p>The line items added or modified by a service execution.</p> + /// + /// <p>The line items added or modified by a service execution.</p> + public List AddedOrModifiedLineItems { get; init; } + /// + /// <p>The line items deleted by a service execution.</p> + /// + /// <p>The line items deleted by a service execution.</p> + public List DeletedLineItems { get; init; } + /// + /// <p>The line items closed during a service execution.</p> + /// + /// <p>The line items closed during a service execution.</p> + public List ClosedLineItems { get; init; } + /// + /// <p>The promotion input requests resulting from a service execution.</p> + /// + /// <p>The promotion input requests resulting from a service execution.</p> + public List PromotionInputRequests { get; init; } + /// + /// <p>The transaction extensions added or modified by a service execution.</p> + /// + /// <p>The transaction extensions added or modified by a service execution.</p> + public List AddedOrModifiedTransactionExtensions { get; init; } + /// + /// <p>The transaction additional printouts added or modified by a service execution.</p> + /// + /// <p>The transaction additional printouts added or modified by a service execution.</p> + public List AddedTransactionAdditionalPrintouts { get; init; } + /// + /// <p>The price derivation rules added by a service execution.</p> + /// + /// <p>The price derivation rules added by a service execution.</p> + public List AddedPriceDerivationRules { get; init; } + /// + /// <p>The sale return line item prices added or modified by a service execution.</p> + /// + /// <p>The sale return line item prices added or modified by a service execution.</p> + public List AddedOrModifiedSaleReturnLineItemPrices { get; init; } + /// + /// <p>The transaction additional printouts deleted by a service execution.</p> + /// + /// <p>The transaction additional printouts deleted by a service execution.</p> + public List DeletedTransactionAdditionalPrintouts { get; init; } + /// + /// <p>This parameter defines the price difference limit exceed action for positive items (warn, authorize, forbid, unchecked) if a set or change price operation is attempted.</p> + /// + /// <p>This parameter defines the price difference limit exceed action for positive items (warn, authorize, forbid, unchecked) if a set or change price operation is attempted.</p> + public string priceModificationResultCode { get; init; } + /// + /// <p>The serial number set to a line item.</p> + /// + /// <p>The serial number set to a line item.</p> + public string serialNumberModificationResultCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..4308d3be47795c6812e9c405c5428782ea2b9f08 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionPrintRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionPrintRequest <p>Request object for creating a print transaction for an existing transaction (e.g. for printout repetition).</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionPrintRequest { + /// + /// <p>The identifier for the transaction to print.</p> + /// + /// <p>The identifier for the transaction to print.</p> + public string printedTransactionId { get; init; } + /// + /// <p>A flag to indicate that it is a duplicate print transaction.</p> + /// + /// <p>A flag to indicate that it is a duplicate print transaction.</p> + public bool? duplicate { get; init; } + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + /// + /// <p>A flag to indicate if the transaction should be finalized. The default value is true.</p> + public bool? finalizeTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..035e1035c0b783edd2587fc976652b801ea5e633 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionSearchViewsResult <p>Result object, holding a list of TransactionSearchView.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionSearchViewsResult { + /// + /// <p>A list of transaction search views.</p> + /// + /// <p>A list of transaction search views.</p> + public List TransactionSearchViews { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..b31a263987bd524813f3743a1c2aec8b7f414b89 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionTransactionTenderRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// TransactionTenderRequest <p>Request object for creation of various tender related transactions.</p> + /// + public record comGkSoftwarePosApiServiceTransactionTransactionTenderRequest { + /// + /// <p>The tender registration.</p> + /// + /// <p>The tender registration.</p> + public ComGkSoftwarePosApiModelDomAppTendertenderRegistration tenderRegistration { get; init; } + /// + /// <p>A flag to indicate whether the transaction should be marked as cancelled or not.</p> + /// + /// <p>A flag to indicate whether the transaction should be marked as cancelled or not.</p> + public bool? canceled { get; init; } + /// + /// <p>The lead number used for the tender pickup transaction envelope identifier.</p> + /// + /// <p>The lead number used for the tender pickup transaction envelope identifier.</p> + public string leadNumber { get; init; } + /// + /// <p>A flag to indicate whether the transaction should be finalized.</p> + /// + /// <p>A flag to indicate whether the transaction should be finalized.</p> + public bool? finalizeTransaction { get; init; } + /// + /// <p>boolean: this flag should be set to 'true' if the values for balance amount should be copied from tillCopyObject and not from the tender request. Active balance amount from CRS is only taken for cash in main currency. Default is 'false'</p> + /// + /// <p>boolean: this flag should be set to 'true' if the values for balance amount should be copied from tillCopyObject and not from the tender request. Active balance amount from CRS is only taken for cash in main currency. Default is 'false'</p> + public bool? useBalanceAmountFromTillCopyObject { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..9ebaf587702a8c78fc9fdf7460bec11013925780 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// UnfinishedTransactionsRequest <p>Request object for operations with unfinished transactions (e.g. searching unfinished transactions).</p> + /// + public record comGkSoftwarePosApiServiceTransactionUnfinishedTransactionsRequest { + /// + /// <p>The business unit identifier.</p> + /// + /// <p>The business unit identifier.</p> + public string businessUnitId { get; init; } + /// + /// <p>The workstation identifier.</p> + /// + /// <p>The workstation identifier.</p> + public string workStationId { get; init; } + /// + /// <p>A list of transaction type codes. If set only unfinished transactions with a matching transaction type code are processed.</p> + /// + /// <p>A list of transaction type codes. If set only unfinished transactions with a matching transaction type code are processed.</p> + public List TransactionTypeCodes { get; init; } + /// + /// <p>The transaction category code. Only used for finishing unfinished transactions and if it is set to 'AUTO' for an automatic fail control transaction.</p> + /// + /// <p>The transaction category code. Only used for finishing unfinished transactions and if it is set to 'AUTO' for an automatic fail control transaction.</p> + public string transactionCategoryCode { get; init; } + /// + /// <p>A list of transaction identifiers.</p> + /// + /// <p>A list of transaction identifiers.</p> + public List TransactionIds { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..02aa63c753b479ac0be5c71183410e6c2553f94c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest.cs @@ -0,0 +1,123 @@ +namespace POSGkSwaggerModel +{ + /// + /// UpdateSalesOrderItemRequest <p>The entity UpdateSalesOrderItemRequest</p> + /// + public record comGkSoftwarePosApiServiceTransactionUpdateSalesOrderItemRequest { + /// + /// <p>The order id.</p> + /// + /// <p>The order id.</p> + public string orderId { get; init; } + /// + /// <p>The use pos prices.</p> + /// + /// <p>The use pos prices.</p> + public bool? usePosPrices { get; init; } + /// + /// <p>The extend order mode.</p> + /// + /// <p>The extend order mode.</p> + public bool? extendOrderMode { get; init; } + /// + /// <p>The response data.</p> + /// + /// <p>The response data.</p> + public ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData responseData { get; init; } + /// + /// <p>The sales order standard price specification element type code.</p> + /// + /// <p>The sales order standard price specification element type code.</p> + public string salesOrderStandardPriceSpecificationElementTypeCode { get; init; } + /// + /// <p>The include sales tax.</p> + /// + /// <p>The include sales tax.</p> + public bool? includeSalesTax { get; init; } + /// + /// <p>The price type code.</p> + /// + /// <p>The price type code.</p> + public string priceTypeCode { get; init; } + /// + /// <p>The sap debates promotion id.</p> + /// + /// <p>The sap debates promotion id.</p> + public string sapRebatesPromotionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1940c22c4a0c76e3b2d793d5217c690d3aa15291 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest.cs @@ -0,0 +1,168 @@ +namespace POSGkSwaggerModel +{ + /// + /// UpdateSalesOrderSelectedDeliveryItemRequest <p>The update sales order selected delivery item request object</p> + /// + public record comGkSoftwarePosApiServiceTransactionUpdateSalesOrderSelectedDeliveryItemRequest { + /// + /// <p>The order id.</p> + /// + /// <p>The order id.</p> + public string orderId { get; init; } + /// + /// <p>The use pos prices.</p> + /// + /// <p>The use pos prices.</p> + public bool? usePosPrices { get; init; } + /// + /// <p>The extend order mode.</p> + /// + /// <p>The extend order mode.</p> + public bool? extendOrderMode { get; init; } + /// + /// <p>The response data.</p> + /// + /// <p>The response data.</p> + public ComGkSoftwarePosApiServiceTransactionSalesOrderCommonData responseData { get; init; } + /// + /// <p>The sales order standard price specification element type code.</p> + /// + /// <p>The sales order standard price specification element type code.</p> + public string salesOrderStandardPriceSpecificationElementTypeCode { get; init; } + /// + /// <p>The include sales tax.</p> + /// + /// <p>The include sales tax.</p> + public bool? includeSalesTax { get; init; } + /// + /// <p>The price type code.</p> + /// + /// <p>The price type code.</p> + public string priceTypeCode { get; init; } + /// + /// <p>The sap debates promotion id.</p> + /// + /// <p>The sap debates promotion id.</p> + public string sapRebatesPromotionId { get; init; } + /// + /// <p>The line item list</p> + /// + /// <p>The line item list</p> + public List LineItemList { get; init; } + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>T delivery type code</p> + /// + /// <p>T delivery type code</p> + public string deliveryTypeCode { get; init; } + /// + /// <p>The salesorder final price pos price specification element type code</p> + /// + /// <p>The salesorder final price pos price specification element type code</p> + public string salesOrderFinalPricePosPriceSpecificationElementTypeCode { get; init; } + /// + /// <p>The sales order default prepayment price specification element type code</p> + /// + /// <p>The sales order default prepayment price specification element type code</p> + public string salesOrderDefaultPrepaymentPriceSpecificationElementTypeCode { get; init; } + /// + /// <p>The delivery plant ID</p> + /// + /// <p>The delivery plant ID</p> + public string deliveryPlantID { get; init; } + /// + /// <p>The uuid</p> + /// + /// <p>The uuid</p> + public string uuid { get; init; } + /// + /// <p>The down payment not allowed</p> + /// + /// <p>The down payment not allowed</p> + public bool? downpaymentNotAllowed { get; init; } + /// + /// <p>The down payment request object</p> + /// + /// <p>The down payment request object</p> + public ComGkSoftwarePosApiServiceTransactionCreateDownpaymentLineItemRequest downPaymentRequest { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..dd488fa47d9a16c2fc7643b153b601d1bde0c896 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest.cs @@ -0,0 +1,97 @@ +namespace POSGkSwaggerModel +{ + /// + /// UpdateTransactionExtensionRequest <p>Request object for updating a transaction extension.</p> + /// + public record comGkSoftwarePosApiServiceTransactionUpdateTransactionExtensionRequest { + /// + /// Gets or Sets TransactionId + /// + public string transactionId { get; init; } + /// + /// <p>The transaction extension key to be updated in the transaction.</p> + /// + /// <p>The transaction extension key to be updated in the transaction.</p> + public string extensionKey { get; init; } + /// + /// <p>The new transaction extension value to be set in the transaction.</p> + /// + /// <p>The new transaction extension value to be set in the transaction.</p> + public string extensionValue { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..d5db91506493069cc5b8aa07653bfe1b2c233c26 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest.cs @@ -0,0 +1,108 @@ +namespace POSGkSwaggerModel +{ + /// + /// VoidLineItemBatchRequest <p>The void line item batch request</p> + /// + public record comGkSoftwarePosApiServiceTransactionVoidLineItemBatchRequest { + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The void line item details</p> + /// + /// <p>The void line item details</p> + public List VoidLineItemDetails { get; init; } + /// + /// <p>The store transaction</p> + /// + /// <p>The store transaction</p> + public bool? storeTransaction { get; init; } + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + public bool? offlineMode { get; init; } + /// + /// <p>The keyed on line state</p> + /// + /// <p>The keyed on line state</p> + public bool? keyedOnline { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail.cs new file mode 100644 index 0000000000000000000000000000000000000000..9645d6a5c969c05f08409d9f7bcbc5acd0c7214a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemDetail.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// VoidLineItemDetail <p>The void line item detail</p> + /// + public record comGkSoftwarePosApiServiceTransactionVoidLineItemDetail { + /// + /// <p>Thw line item key</p> + /// + /// <p>Thw line item key</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The void type code</p> + /// + /// <p>The void type code</p> + public string voidTypeCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..7186a9b5b04d50263da209541ebd04a740cfe3a9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidLineItemRequest.cs @@ -0,0 +1,142 @@ +namespace POSGkSwaggerModel +{ + /// + /// VoidLineItemRequest <p>Domain object for VoidLineItem Request</p> + /// + public record comGkSoftwarePosApiServiceTransactionVoidLineItemRequest { + /// + /// <p>The operation configuration</p> + /// + /// <p>The operation configuration</p> + public ComGkSoftwarePosApiModelConfigProcessActionPositionOperationConfig operationConfiguration { get; init; } + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionRetailTransactionlineItemKey lineItemKey { get; init; } + /// + /// <p>The key of the tender authorization related to voided line item</p> + /// + /// <p>The key of the tender authorization related to voided line item</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactiontenderAuthorizationKey tenderAuthorizationKey { get; init; } + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + public string voidTypeCode { get; init; } + /// + /// <p>Flag indicating whether to copy the line item.</p> + /// + /// <p>Flag indicating whether to copy the line item.</p> + public bool? copyVoidedLineItem { get; init; } + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + public string giftCertCancellationId { get; init; } + /// + /// <p>Indicates whether the transaction should be stored.</p> + /// + /// <p>Indicates whether the transaction should be stored.</p> + public bool? storeTransaction { get; init; } + /// + /// <p>The offline mode</p> + /// + /// <p>The offline mode</p> + public bool? offlineMode { get; init; } + /// + /// <p>The keyed on line state.</p> + /// + /// <p>The keyed on line state.</p> + public bool? keyedOnline { get; init; } + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + /// + /// <p>Indicates whether the POS is in service scale mode.</p> + public bool? serviceScaleMode { get; init; } + /// + /// <p>The reason for the void.</p> + /// + /// <p>The reason for the void.</p> + public ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO voidReason { get; init; } + /// + /// Gets or Sets RecalculateTransaction + /// + public bool? recalculateTransaction { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..db7521faf54d8c430f232a73a220e8c70d6b695a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest.cs @@ -0,0 +1,118 @@ +namespace POSGkSwaggerModel +{ + /// + /// VoidTenderLineItemRequest <p>Domain object for VoidTenderLineItem Request</p> + /// + public record comGkSoftwarePosApiServiceTransactionVoidTenderLineItemRequest { + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + public tenderGroupCodeEnum? tenderGroupCode { get; init; } + /// + /// <p>The operation configuration.</p> + /// + /// <p>The operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The key of the line item to void</p> + /// + /// <p>The key of the line item to void</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionretailTransactionLineItemKey retailTransactionLineItemKey { get; init; } + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + /// + /// <p>Describes whether the line item was cancelled immediately after registering it, voided by another line item or internally voided.</p> + public string voidTypeCode { get; init; } + /// + /// <p>Terminal tender authorization key.</p> + /// + /// <p>Terminal tender authorization key.</p> + public ComGkSoftwarePosApiModelDomAppServicesTransactionTenderAuthorizationKey terminalTenderCancellationAuthorizationKey { get; init; } + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + public string pointsCancellationTransactionId { get; init; } + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + /// + /// <p>A gift certificate service result, it is filled only if a gift certificate line item is canceled online</p> + public string giftCertCancellationTransactionId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..412f5cc21cd75fedcab274eeb80e777f73d373c8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest.cs @@ -0,0 +1,98 @@ +namespace POSGkSwaggerModel +{ + /// + /// VoidTransactionConsolidateCashInMainCurrencyRequest <p>Request to consolidate cash in main currency for process VoidTransaction.</p> + /// + public record comGkSoftwarePosApiServiceTransactionVoidTransactionConsolidateCashInMainCurrencyRequest { + /// + /// <p>The position operation configuration.</p> + /// + /// <p>The position operation configuration.</p> + public ComGkSoftwarePosApiModelConfigProcessActionpositionOperationConfig positionOperationConfig { get; init; } + /// + /// <p>The identifier for the voiding transaction.</p> + /// + /// <p>The identifier for the voiding transaction.</p> + public string voidingTransactionId { get; init; } + /// + /// <p>The cash refund amount.</p> + /// + /// <p>The cash refund amount.</p> + public double? cashRefundAmount { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiSessionPosSessionData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiSessionPosSessionData.cs new file mode 100644 index 0000000000000000000000000000000000000000..70162739d33f5909af563c1c4817a0d73478dca0 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiSessionPosSessionData.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosSessionData <p>Store specific session data.</p> + /// + public record comGkSoftwarePosApiSessionPosSessionData { + /// + /// <p>Map that holds session data.</p> + /// + /// <p>Map that holds session data.</p> + public Dictionary SessionDataMap { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosApiSessionPosSessionId.cs b/gatewayUtilPython/salida/ComGkSoftwarePosApiSessionPosSessionId.cs new file mode 100644 index 0000000000000000000000000000000000000000..4b64d64635bcc82b2154d5e1f5f5c07a480dbde9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosApiSessionPosSessionId.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosSessionId <p>Identifies a session.</p> + /// + public record comGkSoftwarePosApiSessionPosSessionId { + /// + /// <p>The session id.</p> + /// + /// <p>The session id.</p> + public string id { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsCustomerCustomerCardCode.cs b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsCustomerCustomerCardCode.cs new file mode 100644 index 0000000000000000000000000000000000000000..76b544b39e7f441aeba5a96e279585e4ddefb26d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsCustomerCustomerCardCode.cs @@ -0,0 +1,160 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerCardCode TODO: undocumented + /// + public record comGkSoftwarePosFlowLibsCustomerCustomerCardCode { + /// + /// Gets or Sets StoreNumber + /// + public string storeNumber { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string date { get; init; } + /// + /// Gets or Sets CardNumber + /// + public string cardNumber { get; init; } + /// + /// Gets or Sets Salutation + /// + public string salutation { get; init; } + /// + /// Gets or Sets FirstName + /// + public string firstName { get; init; } + /// + /// Gets or Sets LastName + /// + public string lastName { get; init; } + /// + /// Gets or Sets Street + /// + public string street { get; init; } + /// + /// Gets or Sets Zip + /// + public string zip { get; init; } + /// + /// Gets or Sets City + /// + public string city { get; init; } + /// + /// Gets or Sets FederalState + /// + public string federalState { get; init; } + /// + /// Gets or Sets Country + /// + public string country { get; init; } + /// + /// Gets or Sets Email + /// + public string email { get; init; } + /// + /// Gets or Sets Telephone + /// + public string telephone { get; init; } + /// + /// Gets or Sets MobilePhone + /// + public string mobilePhone { get; init; } + /// + /// Gets or Sets Fax + /// + public string fax { get; init; } + /// + /// Gets or Sets BusinessTelephone + /// + public string businessTelephone { get; init; } + /// + /// Gets or Sets TaxId + /// + public string taxId { get; init; } + /// + /// Gets or Sets Gender + /// + public string gender { get; init; } + /// + /// Gets or Sets Birthday + /// + public string birthday { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsCustomerCustomerData.cs b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsCustomerCustomerData.cs new file mode 100644 index 0000000000000000000000000000000000000000..06a3b3cab37c590d53dbbe21fe5c8c0c4c3ae7de --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsCustomerCustomerData.cs @@ -0,0 +1,152 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerData TODO: undocumented + /// + public record comGkSoftwarePosFlowLibsCustomerCustomerData { + /// + /// Gets or Sets CustomerId + /// + public string customerId { get; init; } + /// + /// Gets or Sets FirstName + /// + public string firstName { get; init; } + /// + /// Gets or Sets LastName + /// + public string lastName { get; init; } + /// + /// Gets or Sets Salutation + /// + public string salutation { get; init; } + /// + /// Gets or Sets Gender + /// + public string gender { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string birthday { get; init; } + /// + /// Gets or Sets Street + /// + public string street { get; init; } + /// + /// Gets or Sets PostalCode + /// + public string postalCode { get; init; } + /// + /// Gets or Sets City + /// + public string city { get; init; } + /// + /// Gets or Sets CustomerState + /// + public string customerState { get; init; } + /// + /// Gets or Sets Country + /// + public string country { get; init; } + /// + /// Gets or Sets HomePhone + /// + public string homePhone { get; init; } + /// + /// Gets or Sets Email + /// + public string email { get; init; } + /// + /// Gets or Sets Fax + /// + public string fax { get; init; } + /// + /// Gets or Sets Mobile + /// + public string mobile { get; init; } + /// + /// Gets or Sets WorkPhone + /// + public string workPhone { get; init; } + /// + /// Gets or Sets TaxId + /// + public string taxId { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues.cs b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues.cs new file mode 100644 index 0000000000000000000000000000000000000000..934032ba5e93ad3ca2d420078f3a3e7a18e1d33c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues.cs @@ -0,0 +1,143 @@ +namespace POSGkSwaggerModel +{ + /// + /// TerminalTransactionRecoveryValues TODO: undocumented + /// + public record comGkSoftwarePosFlowLibsPaymentTerminalTransactionRecoveryValues { + /// + /// Gets or Sets CardNr + /// + public string cardNr { get; init; } + /// + /// Gets or Sets CardExpirationDate + /// + public string cardExpirationDate { get; init; } + /// + /// Gets or Sets ImmediateCancellation + /// + public bool? immediateCancellation { get; init; } + /// + /// Gets or Sets IsoCurrencyNr + /// + public string isoCurrencyNr { get; init; } + /// + /// Gets or Sets LastErrorMessage + /// + public string lastErrorMessage { get; init; } + /// + /// Gets or Sets LastErrorMessageForCustomer + /// + public string lastErrorMessageForCustomer { get; init; } + /// + /// Gets or Sets OfflinePayment + /// + public bool? offlinePayment { get; init; } + /// + /// Gets or Sets PaymentType + /// + public int? paymentType { get; init; } + /// + /// Gets or Sets ProcessMode + /// + public string processMode { get; init; } + /// + /// Gets or Sets SignatureRequired + /// + public bool? signatureRequired { get; init; } + /// + /// Gets or Sets Successful + /// + public bool? successful { get; init; } + /// + /// Gets or Sets TenderAuthorizationSequenceNumber + /// + public int? tenderAuthorizationSequenceNumber { get; init; } + /// + /// Gets or Sets TerminalId + /// + public string terminalId { get; init; } + /// + /// Gets or Sets TerminalTransactionNr + /// + public string terminalTransactionNr { get; init; } + /// + /// Gets or Sets TransactionResultCode + /// + public int? transactionResultCode { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionDiscountIconList.cs b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionDiscountIconList.cs new file mode 100644 index 0000000000000000000000000000000000000000..8d0e094d6104a9ed7486b7f8214e407d4fec42dd --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionDiscountIconList.cs @@ -0,0 +1,115 @@ +namespace POSGkSwaggerModel +{ + /// + /// DiscountIconList TODO: undocumented + /// + public record comGkSoftwarePosFlowLibsTransactionDiscountIconList { + /// + /// Gets or Sets Icon + /// + public string icon { get; init; } + /// + /// Gets or Sets IconDisabled + /// + public string iconDisabled { get; init; } + /// + /// Gets or Sets PromotionId + /// + public string promotionId { get; init; } + /// + /// Gets or Sets EligibilityId + /// + public string eligibilityId { get; init; } + /// + /// Gets or Sets RuleId + /// + public string ruleId { get; init; } + /// + /// Gets or Sets Enabled + /// + public bool? enabled { get; init; } + /// + /// Gets or Sets OverlayText + /// + public string overlayText { get; init; } + /// + /// Gets or Sets PlaceHolders + /// + public List PlaceHolders { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionPlaceHolder.cs b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionPlaceHolder.cs new file mode 100644 index 0000000000000000000000000000000000000000..89d8fe3c224960ccb100721360777d410547f42f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionPlaceHolder.cs @@ -0,0 +1,91 @@ +namespace POSGkSwaggerModel +{ + /// + /// PlaceHolder TODO: undocumented + /// + public record comGkSoftwarePosFlowLibsTransactionPlaceHolder { + /// + /// Gets or Sets Placeholder + /// + public string placeholder { get; init; } + /// + /// Gets or Sets Content + /// + public string content { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem.cs b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem.cs new file mode 100644 index 0000000000000000000000000000000000000000..cf8c2588fc54566e282aadc395bba8432e91ce66 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem.cs @@ -0,0 +1,103 @@ +namespace POSGkSwaggerModel +{ + /// + /// SuspendCodeSkippedItem TODO: undocumented + /// + public record comGkSoftwarePosFlowLibsTransactionSuspendCodeSkippedItem { + /// + /// Gets or Sets ItemID + /// + public string itemID { get; init; } + /// + /// Gets or Sets RegistrationNumber + /// + public string registrationNumber { get; init; } + /// + /// Gets or Sets Quantity + /// + public string quantity { get; init; } + /// + /// Gets or Sets UnitOfMeasure + /// + public string unitOfMeasure { get; init; } + /// + /// Gets or Sets Reason + /// + public string reason { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom08 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom10 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom09 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom07 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom05 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom06 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom11 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom12 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom13 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom14 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom15 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom03 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom02 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom04 { get; init; } + /// + /// <p>Customizable information</p> + /// + /// <p>Customizable information</p> + public string xXCustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..3790ae3a96b123b1e5c37622638104df2596ea53 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO.cs @@ -0,0 +1,56 @@ +namespace POSGkSwaggerModel +{ + /// + /// BusinessUnitDetailSO <emph>undocumented</emph> + /// + public record comGkSoftwareSweeSesApiServerCdDataProviderDtoSoBusinessUnitDetailSO { + /// + /// Gets or Sets RetailStoreID + /// + public string retailStoreID { get; init; } + /// + /// Gets or Sets StoreDescription + /// + public string storeDescription { get; init; } + /// + /// Gets or Sets PostalCode + /// + public string postalCode { get; init; } + /// + /// Gets or Sets City + /// + public string city { get; init; } + /// + /// Gets or Sets Street + /// + public string street { get; init; } + /// + /// Gets or Sets PhoneNumber + /// + public string phoneNumber { get; init; } + /// + /// Gets or Sets Distance + /// + public double? distance { get; init; } + /// + /// Gets or Sets Xxcustom05 + /// + public string xxcustom05 { get; init; } + /// + /// Gets or Sets Xxcustom03 + /// + public string xxcustom03 { get; init; } + /// + /// Gets or Sets Xxcustom02 + /// + public string xxcustom02 { get; init; } + /// + /// Gets or Sets Xxcustom04 + /// + public string xxcustom04 { get; init; } + /// + /// Gets or Sets Xxcustom01 + /// + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..2b1862cf7a1bd0d497b67dc8a8b3a55d4bf4d34a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO.cs @@ -0,0 +1,36 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemDetailSO <emph>undocumented</emph> + /// + public record comGkSoftwareSweeSesApiServerCdDataProviderDtoSoItemDetailSO { + /// + /// Gets or Sets ItemID + /// + public string itemID { get; init; } + /// + /// Gets or Sets ItemName + /// + public string itemName { get; init; } + /// + /// Gets or Sets Xxcustom05 + /// + public string xxcustom05 { get; init; } + /// + /// Gets or Sets Xxcustom03 + /// + public string xxcustom03 { get; init; } + /// + /// Gets or Sets Xxcustom02 + /// + public string xxcustom02 { get; init; } + /// + /// Gets or Sets Xxcustom04 + /// + public string xxcustom04 { get; init; } + /// + /// Gets or Sets Xxcustom01 + /// + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..887a3a8796471289cd7838df0bdadeca5b05d540 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO.cs @@ -0,0 +1,60 @@ +namespace POSGkSwaggerModel +{ + /// + /// StockAmountDetailSO <emph>undocumented</emph> + /// + public record comGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountDetailSO { + /// + /// Gets or Sets StockType + /// + public stockTypeEnum? stockType { get; init; } + /// + /// Gets or Sets RetailStoreID + /// + public string retailStoreID { get; init; } + /// + /// Gets or Sets ItemID + /// + public string itemID { get; init; } + /// + /// Gets or Sets UomCode + /// + public string uomCode { get; init; } + /// + /// Gets or Sets StorageLocationID + /// + public string storageLocationID { get; init; } + /// + /// Gets or Sets InventoryStateID + /// + public string inventoryStateID { get; init; } + /// + /// Gets or Sets StockAmount + /// + public double? stockAmount { get; init; } + /// + /// Gets or Sets Distance + /// + public double? distance { get; init; } + /// + /// Gets or Sets Xxcustom05 + /// + public string xxcustom05 { get; init; } + /// + /// Gets or Sets Xxcustom03 + /// + public string xxcustom03 { get; init; } + /// + /// Gets or Sets Xxcustom02 + /// + public string xxcustom02 { get; init; } + /// + /// Gets or Sets Xxcustom04 + /// + public string xxcustom04 { get; init; } + /// + /// Gets or Sets Xxcustom01 + /// + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..e2dae1907cb8f7db97e413be1520a665f1e6116e --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO.cs @@ -0,0 +1,20 @@ +namespace POSGkSwaggerModel +{ + /// + /// StockAmountSO <emph>undocumented</emph> + /// + public record comGkSoftwareSweeSesApiServerCdDataProviderDtoSoStockAmountSO { + /// + /// Gets or Sets StockAmountDetailList + /// + public List StockAmountDetailList { get; init; } + /// + /// Gets or Sets BusinessUnitDetailList + /// + public List BusinessUnitDetailList { get; init; } + /// + /// Gets or Sets ItemDetailList + /// + public List ItemDetailList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..a95fcb8b91c751e3863cf5449498ec274c58d0d8 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO.cs @@ -0,0 +1,292 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemSellingRuleSO <p>This object is a set of rules used for item selling.<br /> The rules can be referred from the item object and merchandise hierarchy group object.<br /></p><br /><p>The fields of this rule object are imported directly on the item / MHG, but saved as a separate domain object to save storage place.<br /></p><br /><p>Import from masterData_Item.xml from the element Item.UOMItem.ItemSellingRule.<br /> Import from masterData_BusinessUnit.xml from the element BusinessUnit.MerchandiseHierarchyGroupDetail.ItemSellingRule: DiscountFlag, BonusPointsFlag and NegativePositionFlag.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdItemSellingRuleDtoSoItemSellingRuleSO { + /// + /// <p>Type code for controlling the quantity input<br /></p> + /// + /// <p>Type code for controlling the quantity input<br /></p> + public quantityInputTypeCodeEnum quantityInputTypeCode { get; init; } + /// + /// <p>Determines how the input of quantity is done on POS<br /></p> + /// + /// <p>Determines how the input of quantity is done on POS<br /></p> + public quantityInputMethodEnum quantityInputMethod { get; init; } + /// + /// <p>Type code for the manual price change.<br /> Values:<br /></p><br /><ul><br /> <li>00 = price 0.00 not allowed LIMITED,</li><br /> <li>01 = price 0.00 allowed - POSSIBLE,</li><br /> <li>02 = no price change allowed - PROHIBITED</li><br /></ul> + /// + /// <p>Type code for the manual price change.<br /> Values:<br /></p><br /><ul><br /> <li>00 = price 0.00 not allowed LIMITED,</li><br /> <li>01 = price 0.00 allowed - POSSIBLE,</li><br /> <li>02 = no price change allowed - PROHIBITED</li><br /></ul> + public priceChangeTypeCodeEnum priceChangeTypeCode { get; init; } + /// + /// <p>Bar code handling method<br /></p> + /// + /// <p>Bar code handling method<br /></p> + public barCodeHandlingMethodEnum barCodeHandlingMethod { get; init; } + /// + /// <p>A unique system assigned identifier for the item selling rule.<br /> Generated, not imported.<br /></p> + /// + /// <p>A unique system assigned identifier for the item selling rule.<br /> Generated, not imported.<br /></p> + public string itemSellingRuleId { get; init; } + /// + /// <p>A flag to denote that the retail price is to be manually entered when this item is sold.<br /></p> + /// + /// <p>A flag to denote that the retail price is to be manually entered when this item is sold.<br /></p> + public bool? priceEntryRequiredFlag { get; init; } + /// + /// <p>A flag to denote whether or not this item may be returned. (Eg: freezer or chilled merchandise)<br /></p> + /// + /// <p>A flag to denote whether or not this item may be returned. (Eg: freezer or chilled merchandise)<br /></p> + public bool? prohibitReturnFlag { get; init; } + /// + /// <p>A flag to indicate whether food stamps can be tendered for this item.<br /></p> + /// + /// <p>A flag to indicate whether food stamps can be tendered for this item.<br /></p> + public bool? allowFoodStampFlag { get; init; } + /// + /// <p>A flag denoting if this item is allowed in a WIC transaction.<br /></p> + /// + /// <p>A flag denoting if this item is allowed in a WIC transaction.<br /></p> + public bool? wicFlag { get; init; } + /// + /// Gets or Sets FsaCode + /// + public string fsaCode { get; init; } + /// + /// <p>A flag to indicate if the item can be delivered to the customer.<br /></p> + /// + /// <p>A flag to indicate if the item can be delivered to the customer.<br /></p> + public bool? deliveryStockAssortmentFlag { get; init; } + /// + /// <p>Determines whether a prepayment/downpayment position should be retained when an order of the item is voided (e.g. the prepayment could be retained if the order of a special measured item is voided)<br /></p> + /// + /// <p>Determines whether a prepayment/downpayment position should be retained when an order of the item is voided (e.g. the prepayment could be retained if the order of a special measured item is voided)<br /></p> + public bool? retainPrepaymentFlag { get; init; } + /// + /// <p>A flag to indicate if the customer may take an item home to test it<br /></p> + /// + /// <p>A flag to indicate if the customer may take an item home to test it<br /></p> + public bool? takeAwayAllowedFlag { get; init; } + /// + /// <p>Defines if the registration of the item requires a serial number input<br /></p> + /// + /// <p>Defines if the registration of the item requires a serial number input<br /></p> + public bool? serialNumberRequiredFlag { get; init; } + /// + /// <p>A flag to denote if no tax exemption is allowed for the item. True = no tax exemption allowed.<br /></p> + /// + /// <p>A flag to denote if no tax exemption is allowed for the item. True = no tax exemption allowed.<br /></p> + public bool? taxExemptProbihitedFlag { get; init; } + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.<br /></p> + /// + /// <p>A flag to indicate that the retail store is authorized to stock this particular item.<br /></p> + public bool? authorisedForSaleFlag { get; init; } + /// + /// <p>A flag to indicate whether this item can be discounted.<br /></p> + /// + /// <p>A flag to indicate whether this item can be discounted.<br /></p> + public bool? discountFlag { get; init; } + /// + /// <p>Determines whether bonus points are allowed for the item<br /></p> + /// + /// <p>Determines whether bonus points are allowed for the item<br /></p> + public bool? bonusPointsFlag { get; init; } + /// + /// <p>Date when selling of the item becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date when selling of the item becomes effective<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string sellingEffectiveDate { get; init; } + /// + /// <p>Last date when the item is available for sale<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Last date when the item is available for sale<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string sellingExpirationDate { get; init; } + /// + /// <p>If this flag is set to true, automatically a negative position is created when registering this item<br /></p> + /// + /// <p>If this flag is set to true, automatically a negative position is created when registering this item<br /></p> + public bool? negativePositionFlag { get; init; } + /// + /// <p>Determines whether the price is to be hided (not printed) on the receipt and to be hided (not shown)<br /></p> + /// + /// <p>Determines whether the price is to be hided (not printed) on the receipt and to be hided (not shown)<br /></p> + public bool? hidePriceFlag { get; init; } + /// + /// <p>Determines whether this item is to be shown on the customer display<br /></p> + /// + /// <p>Determines whether this item is to be shown on the customer display<br /></p> + public bool? showItemOnCustomerDisplayFlag { get; init; } + /// + /// <p>A flag to denote that the weight is to be registered when this item is sold<br /></p> + /// + /// <p>A flag to denote that the weight is to be registered when this item is sold<br /></p> + public bool? weightEntryRequiredFlag { get; init; } + /// + /// <p>Determines whether it is possible to register a price on scales<br /></p> + /// + /// <p>Determines whether it is possible to register a price on scales<br /></p> + public bool? priceEntryOnScalesAllowedFlag { get; init; } + /// + /// <p>Flag AllowLayawayFlag defines if an item is allowed for Layaway or not.<br /></p> + /// + /// <p>Flag AllowLayawayFlag defines if an item is allowed for Layaway or not.<br /></p> + public bool? allowLayawayFlag { get; init; } + /// + /// <p>Flag LayawayDiscountFlag defines if promotions are allowed for the 'Layaway' item.<br /></p> + /// + /// <p>Flag LayawayDiscountFlag defines if promotions are allowed for the 'Layaway' item.<br /></p> + public bool? layawayDiscountFlag { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM17 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..44c39e03f68de92c75c367995dd36a4ac31c1300 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO.cs @@ -0,0 +1,22 @@ +namespace POSGkSwaggerModel +{ + /// + /// MHGTranslationSO <p>Translation for description of the merchandise hierarchy group in one language.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdMhgDtoSoMHGTranslationSO { + /// + /// <p>Language ISO code identification.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.@ID<br /></p> + /// + /// <p>Language ISO code identification.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.@ID<br /></p> + public string languageID { get; init; } + /// + /// Gets or Sets Name + /// + public string name { get; init; } + /// + /// <p>Description in the given language.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.TranslatedDescription<br /></p> + /// + /// <p>Description in the given language.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList.Language.TranslatedDescription<br /></p> + public string description { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..832d9b398edc374392a347e83f11eaa465fdb2fb --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO.cs @@ -0,0 +1,93 @@ +namespace POSGkSwaggerModel +{ + /// + /// MhgSO <p>Merchandise hierarchy group definition.<br /></p><br /><p>Import from masterData_MerchandiseHierarchyGroup.xml and masterData_BusinessUnit.xml.<br /> The definition of merchandise hierarchy groups is imported from masterData_MerchandiseHierarchyGroup.xml. The masterData_BusinessUnit.xml allows import additional details. If the MHG from masterData_BusinessUnit.xml does not exist, it is created.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdMhgDtoSoMhgSO { + /// + /// <p>Identifier of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.MerchandiseHierarchyGroupID<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + /// + /// <p>Identifier of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.MerchandiseHierarchyGroupID<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + public string merchandiseHierarchyGroupID { get; init; } + /// + /// <p>merchandise HierarchyGroup ID Qualifier<br /></p> + /// + /// <p>merchandise HierarchyGroup ID Qualifier<br /></p> + public string merchandiseHierarchyGroupIDQualifier { get; init; } + /// + /// <p>The name of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: first 40 characters from MerchandiseHierarchyGroup.Description<br /></p> + /// + /// <p>The name of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: first 40 characters from MerchandiseHierarchyGroup.Description<br /></p> + public string name { get; init; } + /// + /// <p>The description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.Description<br /></p> + /// + /// <p>The description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.Description<br /></p> + public string description { get; init; } + /// + /// <p>The tax group assigned to the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TaxGroupID<br /></p> + /// + /// <p>The tax group assigned to the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TaxGroupID<br /></p> + public string taxGroupID { get; init; } + /// + /// <p>Reference to the ItemSellingRule object.<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemSellingRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.</li><br /></ul> + /// + /// <p>Reference to the ItemSellingRule object.<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemSellingRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.</li><br /></ul> + public string itemSellingRuleID { get; init; } + /// + /// <p>Reference to the ItemMerchandiseManagementRule object.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from MerchandiseHierarchyGroup.DefaultLayoutClass and MerchandiseHierarchyGroup.DefaultLabelCount.</li><br /></ul><br /><p>masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.NegativePositionFlag.</li><br /></ul> + /// + /// <p>Reference to the ItemMerchandiseManagementRule object.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from MerchandiseHierarchyGroup.DefaultLayoutClass and MerchandiseHierarchyGroup.DefaultLabelCount.</li><br /></ul><br /><p>masterData_BusinessUnit.xml:<br /></p><br /><ul><br /> <li>The referred ItemMerchandiseManagementRule object is created / loaded from BusinessUnit.MerchandiseHierarchyGroupDetail.NegativePositionFlag.</li><br /></ul> + public string itemMerchandiseManagementRuleID { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Generated, not imported.<br /></p> + public string packageID { get; init; } + /// + /// <p>A unique system assigned identifier for the level within the merchandise hierarchy tree.<br /></p><br /><p>Not imported. Generated for the levelName.<br /></p> + /// + /// <p>A unique system assigned identifier for the level within the merchandise hierarchy tree.<br /></p><br /><p>Not imported. Generated for the levelName.<br /></p> + public string merchandiseHierarchyLevelID { get; init; } + /// + /// <p>Name for the level within the merchandise hierarchy tree.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.LevelName<br /></p> + /// + /// <p>Name for the level within the merchandise hierarchy tree.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.LevelName<br /></p> + public string levelName { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + public string tid { get; init; } + /// + /// <p>List of translations for description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList<br /></p> + /// + /// <p>List of translations for description of the merchandise hierarchy group.<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.TranslationList<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_05<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_05<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_03<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_03<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_02<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_02<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_04<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_04<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_01<br /></p> + /// + /// <p>Additional field for custom development<br /></p><br /><p>Import:<br /> masterData_MerchandiseHierarchyGroup.xml: MerchandiseHierarchyGroup.xx_custom_01<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO.cs new file mode 100644 index 0000000000000000000000000000000000000000..2129d066950d95b3cf0384bb4b2797983c907704 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO.cs @@ -0,0 +1,208 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionConditionEligibilitySO <p>Promotion eligibility<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Eligibility</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Eligibility</li><br /></ul> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionEligibilitySO { + /// + /// <p>A code that indicates the type of Price Derivation Rule Eligibility.<br /> Possible types:<br /></p><br /><ul><br /> <li>'COMB' = combination</li><br /> <li>'EGRP' = employee discount group</li><br /> <li>'CGRP' = customer group</li><br /> <li>'CUST' = customer</li><br /> <li>'MSTR' = merchandise category</li><br /> <li>'ITEM' = item</li><br /> <li>'TOTL' = total purchase market basket</li><br /> <li>'COUP' = coupon</li><br /> <li>'MANU' = manual trigger</li><br /> <li>'POST' = line item type</li><br /> <li>'EXTV' = external trigger value</li><br /> <li>'APRT' = additional price type eligibility</li><br /> <li>'SITH' = simple threshold eligibility</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: filled according to filled eligibility in Promotion.Condition.Eligibility. Supported 'COMB', 'ITEM', 'MSRT', 'TOTL' only.</li><br /> <li>PromotionCPD.xml: filled according to filled eligibility in Promotion.Condition.Eligibility</li><br /></ul> + /// + /// <p>A code that indicates the type of Price Derivation Rule Eligibility.<br /> Possible types:<br /></p><br /><ul><br /> <li>'COMB' = combination</li><br /> <li>'EGRP' = employee discount group</li><br /> <li>'CGRP' = customer group</li><br /> <li>'CUST' = customer</li><br /> <li>'MSTR' = merchandise category</li><br /> <li>'ITEM' = item</li><br /> <li>'TOTL' = total purchase market basket</li><br /> <li>'COUP' = coupon</li><br /> <li>'MANU' = manual trigger</li><br /> <li>'POST' = line item type</li><br /> <li>'EXTV' = external trigger value</li><br /> <li>'APRT' = additional price type eligibility</li><br /> <li>'SITH' = simple threshold eligibility</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: filled according to filled eligibility in Promotion.Condition.Eligibility. Supported 'COMB', 'ITEM', 'MSRT', 'TOTL' only.</li><br /> <li>PromotionCPD.xml: filled according to filled eligibility in Promotion.Condition.Eligibility</li><br /></ul> + public typeCodeEnum typeCode { get; init; } + /// + /// <p>A unique identifier for the rule eligibility<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>A unique identifier for the rule eligibility<br /></p><br /><p>Generated, not imported.<br /></p> + public string internalEligibilityID { get; init; } + /// + /// <p>Reference to the root eligibility of the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Reference to the root eligibility of the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + public string rootEligibilityID { get; init; } + /// + /// <p>Reference to the parent eligibility in the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Reference to the parent eligibility in the condition eligibility tree<br /></p><br /><p>Not imported.<br /></p> + public string parentEligibilityID { get; init; } + /// + /// <p>Level in the eligibility tree the eligibility belongs to<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Level in the eligibility tree the eligibility belongs to<br /></p><br /><p>Not imported.<br /></p> + public int? levelID { get; init; } + /// + /// <p>The timestamp this eligibility becomes active<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The timestamp this eligibility becomes active<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string effectiveDateTime { get; init; } + /// + /// <p>The last date and time that this eligibility is effective<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The last date and time that this eligibility is effective<br /></p><br /><p>Not imported.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationDateTime { get; init; } + /// + /// <p>Defines the current status for the eligibility. Examples of valid codes include: AC/null = Active, IA = Inactive<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Not imported, fix value 'AC' used.</li><br /></ul> + /// + /// <p>Defines the current status for the eligibility. Examples of valid codes include: AC/null = Active, IA = Inactive<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Not imported, fix value 'AC' used.</li><br /></ul> + public string statusCode { get; init; } + /// + /// <p>Determines whether the eligibility must be fulfilled (false) or not (true) in order that the price derivation rule can be applied<br /></p> + /// + /// <p>Determines whether the eligibility must be fulfilled (false) or not (true) in order that the price derivation rule can be applied<br /></p> + public bool? negationFlag { get; init; } + /// + /// <p>Read only flag which is returned only in case it's required by the caller from API method.<br /></p> + /// + /// <p>Read only flag which is returned only in case it's required by the caller from API method.<br /></p> + public bool? recommendationFlag { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..d3988499d8251a5a06e07fab3770e433913c6698 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO.cs @@ -0,0 +1,323 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionConditionRuleSO <p>Promotion condition rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule</li><br /></ul> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleSO { + /// + /// <p>This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME).<br /></p><br /><ul><br /> <li>line item discount, calculated after each line item („PO“)</li><br /> <li>line item discount, calculated after subtotal (“PC”)</li><br /> <li>transaction discount, calculated after each line item (“SP”)</li><br /> <li>transaction discount, calculated after subtotal („SU“)</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /></ul> + /// + /// <p>This is a special code that determines when, during the entry of a sale transaction, this rule will be applied. For example a price change rule may be applied on a line item by line item basis (which is DETAIL TIME), a price change rule may be triggered after a transaction is totaled - - but before tax and tender entry (i.e. MERCHANDISE SUBTOTAL TIME).<br /></p><br /><ul><br /> <li>line item discount, calculated after each line item („PO“)</li><br /> <li>line item discount, calculated after subtotal (“PC”)</li><br /> <li>transaction discount, calculated after each line item (“SP”)</li><br /> <li>transaction discount, calculated after subtotal („SU“)</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.TransactionControlCode</li><br /></ul> + public transactionControlBreakCodeEnum? transactionControlBreakCode { get; init; } + /// + /// <p>Defines the type of price derivation rule.<br /></p><br /><ul><br /> <li>RB = simple rebate</li><br /> <li>MM = Mix &amp; Match</li><br /> <li>GP = Get3Pay2</li><br /> <li>NO = no rebate</li><br /> <li>MA = manual, the discount information is set by POS function</li><br /> <li>EX = external action</li><br /> <li>AP = additional price type rule</li><br /> <li>AB = additional bonus</li><br /></ul><br /><p>Import:<br /> The value is filled according to the used rule type from Promotion.Condition.Rule.<br /></p> + /// + /// <p>Defines the type of price derivation rule.<br /></p><br /><ul><br /> <li>RB = simple rebate</li><br /> <li>MM = Mix &amp; Match</li><br /> <li>GP = Get3Pay2</li><br /> <li>NO = no rebate</li><br /> <li>MA = manual, the discount information is set by POS function</li><br /> <li>EX = external action</li><br /> <li>AP = additional price type rule</li><br /> <li>AB = additional bonus</li><br /></ul><br /><p>Import:<br /> The value is filled according to the used rule type from Promotion.Condition.Rule.<br /></p> + public typeCodeEnum typeCode { get; init; } + /// + /// <p>Determines how the calculated reduction amount is to be rounded;<br /></p><br /><ul><br /> <li>null/00 = commercial rounding</li><br /> <li>01 = down</li><br /> <li>02 = up</li><br /></ul> + /// + /// <p>Determines how the calculated reduction amount is to be rounded;<br /></p><br /><ul><br /> <li>null/00 = commercial rounding</li><br /> <li>01 = down</li><br /> <li>02 = up</li><br /></ul> + public roundingMethodCodeEnum? roundingMethodCode { get; init; } + /// + /// <p>Determines, in which sequence items get rebate:<br /></p><br /><ul><br /> <li>null = determined by the corresponding property of the loyalty engine</li><br /> <li>01 = lowest rebate first</li><br /> <li>02 = highest rebate first</li><br /> <li>03 = lowest rebate first per interval</li><br /> <li>04 = highest rebate first per interval</li><br /> <li>00 = determined by the Promotion Calculation Engine</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ChooseItemMethod</li><br /></ul> + /// + /// <p>Determines, in which sequence items get rebate:<br /></p><br /><ul><br /> <li>null = determined by the corresponding property of the loyalty engine</li><br /> <li>01 = lowest rebate first</li><br /> <li>02 = highest rebate first</li><br /> <li>03 = lowest rebate first per interval</li><br /> <li>04 = highest rebate first per interval</li><br /> <li>00 = determined by the Promotion Calculation Engine</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ChooseItemMethod</li><br /></ul> + public chooseItemMethodEnum? chooseItemMethod { get; init; } + /// + /// <p>Base of the calculation:<br /></p><br /><ul><br /> <li>00/null: is determined by the eligibilities</li><br /> <li>01: sum of sales - sum of returns</li><br /></ul> + /// + /// <p>Base of the calculation:<br /></p><br /><ul><br /> <li>00/null: is determined by the eligibilities</li><br /> <li>01: sum of sales - sum of returns</li><br /></ul> + public calculationBaseEnum? calculationBase { get; init; } + /// + /// <p>Type code of the printout rule<br /></p><br /><ul><br /> <li>null/00 = separate receipt</li><br /> <li>01 = print at the end of the receipt</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutRule</li><br /></ul> + /// + /// <p>Type code of the printout rule<br /></p><br /><ul><br /> <li>null/00 = separate receipt</li><br /> <li>01 = print at the end of the receipt</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutRule</li><br /></ul> + public couponPrintoutRuleEnum? couponPrintoutRule { get; init; } + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + public string internalRuleID { get; init; } + /// + /// <p>Price derivation rule name<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>Price derivation rule name<br /></p><br /><p>Not imported.<br /></p> + public string name { get; init; } + /// + /// <p>Business description for this price derivation rule.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: from Promotion.Condition.Rule.GlobalData.RuleTranslationList or from Promotion.Condition.Rule.GlobalData.Description</li><br /></ul> + /// + /// <p>Business description for this price derivation rule.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: from Promotion.Condition.Rule.GlobalData.RuleTranslationList or from Promotion.Condition.Rule.GlobalData.Description</li><br /></ul> + public string description { get; init; } + /// + /// <p>Defines the current status for the price derivation rule. Examples of valid codes include: Pending, Active, Canceled, Inactive<br /></p><br /><ul><br /> <li>PD = pending</li><br /> <li>AC/null = active</li><br /> <li>CN = cancelled</li><br /> <li>IA = inactive</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: 'AC'</li><br /></ul> + /// + /// <p>Defines the current status for the price derivation rule. Examples of valid codes include: Pending, Active, Canceled, Inactive<br /></p><br /><ul><br /> <li>PD = pending</li><br /> <li>AC/null = active</li><br /> <li>CN = cancelled</li><br /> <li>IA = inactive</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: 'AC'</li><br /></ul> + public string statusCode { get; init; } + /// + /// <p>External ident of the price derivation rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ID</li><br /></ul> + /// + /// <p>External ident of the price derivation rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ID</li><br /></ul> + public string ruleID { get; init; } + /// + /// <p>Determines whether rebate or bonus points are awarded by the rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: true if Promotion.Condition.Rule.BonusPoints is chosen</li><br /></ul> + /// + /// <p>Determines whether rebate or bonus points are awarded by the rule<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: true if Promotion.Condition.Rule.BonusPoints is chosen</li><br /></ul> + public bool? bonusPointsFlag { get; init; } + /// + /// <p>Requested number of decimal places of the calculated reduction amount;<br /></p><br /><ul><br /> <li>null = 2 decimal places</li><br /> <li>value = the calculated reduction amount is to be rounded/truncated because it should contain only the given number of decimal places</li><br /></ul> + /// + /// <p>Requested number of decimal places of the calculated reduction amount;<br /></p><br /><ul><br /> <li>null = 2 decimal places</li><br /> <li>value = the calculated reduction amount is to be rounded/truncated because it should contain only the given number of decimal places</li><br /></ul> + public int? decimalPlacesCount { get; init; } + /// + /// <p>Additional information for rounding,<br /> possible values:<br /></p><br /><ul><br /> <li>null/1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + /// + /// <p>Additional information for rounding,<br /> possible values:<br /></p><br /><ul><br /> <li>null/1: no additional treatment of the rounded result necessary</li><br /> <li>5: the rounded result is to be adjusted to the next resp. previous multiple of 5</li><br /></ul> + public int? roundDestinationValue { get; init; } + /// + /// <p>Determines how the rebate influences the transaction:<br /></p><br /><ul><br /> <li>00/null: the rebate reduces the transaction total</li><br /> <li>01: the rebate does not influence the transaction total or the amout the customer has to pay, but the customer gets a gift certificate about the rebate amount which he can use for payment the next time</li><br /> <li>02: the rebate is used as tender for the current transaction, i.e. it reduces the amount the customer still has to pay</li><br /> <li>03: the rebate reduces the transaction total but it will be counterbalanced by some gift certificate sale.</li><br /> <li>04: a coupon will be given to the customer instead of a rebate. Transaction total will not be reduced.</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml:<br /> <ul><br /> <li>00 - if Promotion.Condition.Rule.GlobalData.RebateMethod.NormalRebate is filled</li><br /> <li>01 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = false</li><br /> <li>02 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsTender is filled</li><br /> <li>03 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = true</li><br /> <li>04 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon is filled</li><br /> </ul><br /> </li><br /></ul> + /// + /// <p>Determines how the rebate influences the transaction:<br /></p><br /><ul><br /> <li>00/null: the rebate reduces the transaction total</li><br /> <li>01: the rebate does not influence the transaction total or the amout the customer has to pay, but the customer gets a gift certificate about the rebate amount which he can use for payment the next time</li><br /> <li>02: the rebate is used as tender for the current transaction, i.e. it reduces the amount the customer still has to pay</li><br /> <li>03: the rebate reduces the transaction total but it will be counterbalanced by some gift certificate sale.</li><br /> <li>04: a coupon will be given to the customer instead of a rebate. Transaction total will not be reduced.</li><br /></ul><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml:<br /> <ul><br /> <li>00 - if Promotion.Condition.Rule.GlobalData.RebateMethod.NormalRebate is filled</li><br /> <li>01 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = false</li><br /> <li>02 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsTender is filled</li><br /> <li>03 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert is filled and Promotion.Condition.Rule.RebateMethod.RebateAsGiftCert.IsCharged = true</li><br /> <li>04 - if Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon is filled</li><br /> </ul><br /> </li><br /></ul> + public string discountMethodCode { get; init; } + /// + /// <p>End of the date range in which the gift certificate is valid<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.GiftCertExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>End of the date range in which the gift certificate is valid<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.GiftCertExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string giftCertificateExpirationDate { get; init; } + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.RebateMethod.RebateAsTender.TenderTypeCode</li><br /></ul> + /// + /// <p>A code which uniquely identifies the type of tender, ie cash, check, credit card, etc.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.RebateMethod.RebateAsTender.TenderTypeCode</li><br /></ul> + public string tenderTypeCode { get; init; } + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent transaction-related conditionens (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ProhibitsBonRelatedConditionFlag</li><br /></ul> + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent transaction-related conditionens (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ProhibitsBonRelatedConditionFlag</li><br /></ul> + public bool? prohibitTransactionRelatedPromotionConditionFlag { get; init; } + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent conditions (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.NoInfluenceOnSubsequentConditionFlag</li><br /></ul> + /// + /// <p>Determines whether applying this condition influences the calculation base of subsequent conditions (false) or not (true); is relevant for position-related 'money' conditions only<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.NoInfluenceOnSubsequentConditionFlag</li><br /></ul> + public bool? noEffectOnSubsequentPromotionConditionFlag { get; init; } + /// + /// <p>number of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutID</li><br /></ul> + /// + /// <p>number of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutID</li><br /></ul> + public string couponPrintoutID { get; init; } + /// + /// <p>Formated Text of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutText</li><br /></ul> + /// + /// <p>Formated Text of the printout coupon<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsCoupon.CouponPrintoutText</li><br /></ul> + public Object couponPrintoutText { get; init; } + /// + /// <p>Indicates whether all conditions are to be considered which were applied before (true) or not (false).<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ConsiderAllPreviousConditionsFlag</li><br /></ul> + /// + /// <p>Indicates whether all conditions are to be considered which were applied before (true) or not (false).<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.ConsiderAllPreviousConditionsFlag</li><br /></ul> + public bool? considerPreviousPromotionConditionFlag { get; init; } + /// + /// <p>Validity period for printout coupons or gift certificates<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.PrintoutValidityPeriod or Promotion.Condition.Rule.RebateMethod.RebateAsCoupon.PrintoutValidityPeriod</li><br /></ul> + /// + /// <p>Validity period for printout coupons or gift certificates<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Not imported.</li><br /> <li>PromotionCPD.xml: Promotion.Condition.Rule.GlobalData.RebateMethod.RebateAsGiftCert.PrintoutValidityPeriod or Promotion.Condition.Rule.RebateMethod.RebateAsCoupon.PrintoutValidityPeriod</li><br /></ul> + public double? printoutValidityPeriod { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + public string tid { get; init; } + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + public List PromotionConditionRuleTranslationList { get; init; } + /// + /// <p>External ID of the condition rule (filled with PromotionConditionID)<br /></p> + /// + /// <p>External ID of the condition rule (filled with PromotionConditionID)<br /></p> + public string externalConditionRuleID { get; init; } + /// + /// <p>Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:<br /> - In case that no price derivation rules were applied before, it is the original price/total.<br /> - Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest.<br /> - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence &lt;= CalculationBaseSequence (or the original price if no such price derivation rule was applied).<br /></p> + /// + /// <p>Determines which one of the previously applied modifiers is to be considered as calculation base for the current modification. In detail, the calculation base for the current price derivation rule is to be determined as following:<br /> - In case that no price derivation rules were applied before, it is the original price/total.<br /> - Null: all price derivation rules which were applied before the current price derivation rule are to be considered, i.e. the calculation base for the current price derivation rule equals to the new price of the price derivation rule which was applied just before it = as latest.<br /> - Otherwise, the calculation base for the current price derivation rule equals to the new price of that price derivation rule which was applied one or more steps before it having the highest sequence &lt;= CalculationBaseSequence (or the original price if no such price derivation rule was applied).<br /></p> + public string calculationBaseSequence { get; init; } + /// + /// <p>The system-generated identifier of the rounding rule which applies for discounts/bonus points counts resulting from applying the price derivation rule<br /></p> + /// + /// <p>The system-generated identifier of the rounding rule which applies for discounts/bonus points counts resulting from applying the price derivation rule<br /></p> + public string roundingRuleID { get; init; } + /// + /// <p>The system-generated identifier of the rounding rule which applies for shares resulting from prorating basket-related discounts or bonus points resulting from applying the price derivation rule<br /></p> + /// + /// <p>The system-generated identifier of the rounding rule which applies for shares resulting from prorating basket-related discounts or bonus points resulting from applying the price derivation rule<br /></p> + public string shareRoundingRuleID { get; init; } + /// + /// <p>The system-generated identifier of the rounding rule applies for monetary equivalents to bonus points counts resulting from applying the price derivation rule<br /></p> + /// + /// <p>The system-generated identifier of the rounding rule applies for monetary equivalents to bonus points counts resulting from applying the price derivation rule<br /></p> + public string pointsAmountRoundingRuleID { get; init; } + /// + /// <p>Determines whether the price derivation rule is applicable in general (false) or only in the case that no other monetary discounts were granted before (true).<br /></p> + /// + /// <p>Determines whether the price derivation rule is applicable in general (false) or only in the case that no other monetary discounts were granted before (true).<br /></p> + public bool? noPreviousMonetaryDiscountAllowedFlag { get; init; } + /// + /// <p>This flag decides whether a promotion price derivation rule or a particular price is allowed to increase the price in comparison to the latest calculated discount sales price.<br /></p><br /><p>Possible values:<br /></p><br /><ul><br /> <li>true: price increase is allowed. In this case, the promotion price derivation rule is applied even though the item costs afterwards more than before.</li><br /> <li>false: price increase is not allowed. In this case, the promotion price derivation rule is not applied without any thrown business error or indicator why.</li><br /></ul> + /// + /// <p>This flag decides whether a promotion price derivation rule or a particular price is allowed to increase the price in comparison to the latest calculated discount sales price.<br /></p><br /><p>Possible values:<br /></p><br /><ul><br /> <li>true: price increase is allowed. In this case, the promotion price derivation rule is applied even though the item costs afterwards more than before.</li><br /> <li>false: price increase is not allowed. In this case, the promotion price derivation rule is not applied without any thrown business error or indicator why.</li><br /></ul> + public bool? increasePriceAllowedFlag { get; init; } + /// + /// <p>For measured items (e.g. pre-packed weighed items), the package limit quantity limits the maximum package count that can receive a benefit. A price derivation rule containing a package limit quantity being not null and greater than zero can be applied to measured items only, but not to piece items.<br /></p> + /// + /// <p>For measured items (e.g. pre-packed weighed items), the package limit quantity limits the maximum package count that can receive a benefit. A price derivation rule containing a package limit quantity being not null and greater than zero can be applied to measured items only, but not to piece items.<br /></p> + public int? packageLimitQuantity { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..cfacce911b6c6a83e4dd9c903d97fd8f501f047d --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionConditionRuleTranslationSO <p>Translation of condition rule texts in one language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionRuleTranslationSO { + /// + /// <p>Language id<br /></p> + /// + /// <p>Language id<br /></p> + public string languageID { get; init; } + /// + /// <p>Translation of the rule name<br /></p> + /// + /// <p>Translation of the rule name<br /></p> + public string name { get; init; } + /// + /// <p>Translation of the description<br /></p> + /// + /// <p>Translation of the description<br /></p> + public string description { get; init; } + /// + /// <p>Translation of the printout coupon text<br /></p> + /// + /// <p>Translation of the printout coupon text<br /></p> + public string couponPrintoutText { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..db87714e140deb58ee2bbf92ed70f9aface3fd1f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO.cs @@ -0,0 +1,293 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionConditionSO <p>Condition of the promotion<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition</li><br /> <li>PromotionCPD.xml: Promotion.Condition</li><br /></ul> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionSO { + /// + /// <p>Determines whether the condition can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for returns</li><br /> <li>01: only for sales</li><br /> <li>02: only for returns</li><br /></ul> + /// + /// <p>Determines whether the condition can be used only for sales, only for returns, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for returns</li><br /> <li>01: only for sales</li><br /> <li>02: only for returns</li><br /></ul> + public saleReturnTypeCodeEnum? saleReturnTypeCode { get; init; } + /// + /// <p>Determines whether the condition can be used only for sales, only for amendments, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for amendments</li><br /> <li>01: only for sales</li><br /> <li>02: only for amendments</li><br /></ul> + /// + /// <p>Determines whether the condition can be used only for sales, only for amendments, or for both:<br /></p><br /><ul><br /> <li>00/null: for sales as well as for amendments</li><br /> <li>01: only for sales</li><br /> <li>02: only for amendments</li><br /></ul> + public amendmentTypeCodeEnum? amendmentTypeCode { get; init; } + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Mapped from promotion.<br /></p> + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Mapped from promotion.<br /></p> + public string promotionID { get; init; } + /// + /// <p>A identifier for a condition.<br /></p><br /><p>Generared, not imported.<br /></p> + /// + /// <p>A identifier for a condition.<br /></p><br /><p>Generared, not imported.<br /></p> + public string conditionID { get; init; } + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>A identifier for a specific price derivation rule.<br /></p><br /><p>Generated, not imported.<br /></p> + public string internalRuleID { get; init; } + /// + /// <p>A unique identifier for a Price Derivation Rule eligibility. It is the ID of the root eligibility of the condition. (useful if the combination eligibility is used).<br /></p> + /// + /// <p>A unique identifier for a Price Derivation Rule eligibility. It is the ID of the root eligibility of the condition. (useful if the combination eligibility is used).<br /></p> + public string internalEligibilityID { get; init; } + /// + /// <p>Time restrictions<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + /// + /// <p>Time restrictions<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditiontimeGroupSO timeGroup { get; init; } + /// + /// <p>Code of the condition type<br /></p> + /// + /// <p>Code of the condition type<br /></p> + public string typeCode { get; init; } + /// + /// <p>Rule data<br /></p> + /// + /// <p>Rule data<br /></p> + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionruleSO rule { get; init; } + /// + /// <p>Eligibility data (tree)<br /></p> + /// + /// <p>Eligibility data (tree)<br /></p> + public ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditioneligibilitySO eligibility { get; init; } + /// + /// <p>Sequence - for collision handling<br /></p> + /// + /// <p>Sequence - for collision handling<br /></p> + public string sequence { get; init; } + /// + /// <p>Resolution - for collision handling<br /></p> + /// + /// <p>Resolution - for collision handling<br /></p> + public string resolution { get; init; } + /// + /// <p>Determines whether the result of the applied condition is to be suppressed on displays / not printed on the receipt; e.g. position-dependent default points are not printed after each position, but only summarized at the end of the receipt.<br /></p> + /// + /// <p>Determines whether the result of the applied condition is to be suppressed on displays / not printed on the receipt; e.g. position-dependent default points are not printed after each position, but only summarized at the end of the receipt.<br /></p> + public bool? notShowingFlag { get; init; } + /// + /// <p>Short description<br /></p> + /// + /// <p>Short description<br /></p> + public string description { get; init; } + /// + /// <p>Receipt text (overwrites the receipt text of the promotion)<br /></p> + /// + /// <p>Receipt text (overwrites the receipt text of the promotion)<br /></p> + public string receiptPrinterName { get; init; } + /// + /// <p>Operator display text (overwrites the operator display text of the promotion)<br /></p> + /// + /// <p>Operator display text (overwrites the operator display text of the promotion)<br /></p> + public string operatorDisplayName { get; init; } + /// + /// <p>Customer display text (overwrites the customer display text of the promotion)<br /></p> + /// + /// <p>Customer display text (overwrites the customer display text of the promotion)<br /></p> + public string customerDisplayName { get; init; } + /// + /// <p>'vector' which describes which discount typecodes are allowed for usage by the loyalty server; Item.DiscountTypeCode is used as an index in order to find the right position inside the vector;<br /> Possible values for each position are:<br /></p><br /><ul><br /> <li>0 - -> no discount possible</li><br /> <li>1 - -> discount possible</li><br /></ul> + /// + /// <p>'vector' which describes which discount typecodes are allowed for usage by the loyalty server; Item.DiscountTypeCode is used as an index in order to find the right position inside the vector;<br /> Possible values for each position are:<br /></p><br /><ul><br /> <li>0 - -> no discount possible</li><br /> <li>1 - -> discount possible</li><br /></ul> + public string itemDiscountControlVector { get; init; } + /// + /// <p>determines whether this condition is an exclusive condition<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /></ul> + /// + /// <p>determines whether this condition is an exclusive condition<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.ExclusivenessFlag</li><br /></ul> + public bool? exclusiveFlag { get; init; } + /// + /// <p>ID of the icon that should be displayed as sales information on POS<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.IconID</li><br /></ul> + /// + /// <p>ID of the icon that should be displayed as sales information on POS<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.IconID</li><br /></ul> + public string iconID { get; init; } + /// + /// <p>Determines how this condition works in relation to other applicable conditions<br /></p> + /// + /// <p>Determines how this condition works in relation to other applicable conditions<br /></p> + public string concurrenceControlVector { get; init; } + /// + /// <p>Describes whether the promotion is prohibited/cannot be applied in line item mode.<br /></p> + /// + /// <p>Describes whether the promotion is prohibited/cannot be applied in line item mode.<br /></p> + public bool? notConsideredInLineItemModeFlag { get; init; } + /// + /// <p>Defines what percentage of the triggers of the recommended promotion have to be reached by the items in the transaction in order for the PCE to make the recommendation.<br /> The supported types of leaf eligibilities which are considered when evaluating the threshold percentage are: ITEM, MSET, MSTR, SITH, TOTL.<br /></p> + /// + /// <p>Defines what percentage of the triggers of the recommended promotion have to be reached by the items in the transaction in order for the PCE to make the recommendation.<br /> The supported types of leaf eligibilities which are considered when evaluating the threshold percentage are: ITEM, MSET, MSTR, SITH, TOTL.<br /></p> + public int? recommendationThresholdPercentage { get; init; } + /// + /// <p>Defines the list of recommendation contexts in which the promotion can be recommended by the PCE.<br /></p> + /// + /// <p>Defines the list of recommendation contexts in which the promotion can be recommended by the PCE.<br /></p> + public List RecommendationContextList { get; init; } + /// + /// <p>Flag indicating if the promotion price derivation rule is available for recommendations or not.<br /></p> + /// + /// <p>Flag indicating if the promotion price derivation rule is available for recommendations or not.<br /></p> + public bool? recommendationFlag { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + public string tid { get; init; } + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + public List PromotionConditionTranslationList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..678a948225430441d88a7470024a04a24460726b --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionConditionTimeGroupSO <p>Time restriction<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTimeGroupSO { + /// + /// <p>List of time periods<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + /// + /// <p>List of time periods<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + public List TimePeriodList { get; init; } + /// + /// <p>ID of the time group<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>ID of the time group<br /></p><br /><p>Generated, not imported.<br /></p> + public string internalTimeGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..8234434db20aafa7e087edf5688422c26dfdb4db --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionConditionTranslationSO <p>Translation of condition texts in one language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionConditionTranslationSO { + /// + /// <p>Language id<br /></p> + /// + /// <p>Language id<br /></p> + public string languageID { get; init; } + /// + /// <p>Translation of the operator display text.<br /></p> + /// + /// <p>Translation of the operator display text.<br /></p> + public string operatorDisplayName { get; init; } + /// + /// <p>Translation of the customer display text.<br /></p> + /// + /// <p>Translation of the customer display text.<br /></p> + public string customerDisplayName { get; init; } + /// + /// <p>Translation of the receipt text.<br /></p> + /// + /// <p>Translation of the receipt text.<br /></p> + public string receiptPrinterName { get; init; } + /// + /// <p>Translation of the short description<br /></p> + /// + /// <p>Translation of the short description<br /></p> + public string description { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..a56b707d38051de7b06c095737d39c6a2f6df977 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO.cs @@ -0,0 +1,29 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionItemFilterSO <p>This domain object contains the promotion data relevant for the Loyalty Engine.<br /></p><br /><p>Import from:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml (namespace <br /> <a href='http://www.gk-software.com/master_data/promotion_SE/'>http://www.gk-software.com/master_data/promotion_SE/</a>)<br /> </li><br /> <li>PromotionCPD.xml (namespace <br /> <a href='http://www.gk-software.com/masterdata/rebate'>http://www.gk-software.com/masterdata/rebate</a>)<br /> </li><br /> <li>masterData_Promotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/promotion/'>http://www.gk-software.com/storeweaver/master_data/promotion/</a>)<br /> </li><br /> <li>masterData_CustomerPromotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/customer_promotion/'>http://www.gk-software.com/storeweaver/master_data/customer_promotion/</a>)<br /> </li><br /></ul><br /><p>The imports from masterData_Promotion.xml and masterData_CustomerPromotion.xml are not intended for further use.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionItemFilterSO { + /// + /// Gets or Sets CalculationMode + /// + public calculationModeEnum? calculationMode { get; init; } + /// + /// Gets or Sets ItemID + /// + public string itemID { get; init; } + /// + /// Gets or Sets UnitOfMeasureCode + /// + public string unitOfMeasureCode { get; init; } + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string timestamp { get; init; } + /// + /// Gets or Sets ConsiderOnlyDiscountAdviceConditions + /// + public bool? considerOnlyDiscountAdviceConditions { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..67719f1bae3c09dbdcee5dca2484e2a4461df87c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO.cs @@ -0,0 +1,243 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionSO <p>This domain object contains the promotion data relevant for the Loyalty Engine.<br /></p><br /><p>Import from:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml (namespace <br /> <a href='http://www.gk-software.com/master_data/promotion_SE/'>http://www.gk-software.com/master_data/promotion_SE/</a>)<br /> </li><br /> <li>PromotionCPD.xml (namespace <br /> <a href='http://www.gk-software.com/masterdata/rebate'>http://www.gk-software.com/masterdata/rebate</a>)<br /> </li><br /> <li>masterData_Promotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/promotion/'>http://www.gk-software.com/storeweaver/master_data/promotion/</a>)<br /> </li><br /> <li>masterData_CustomerPromotion.xml (namespace <br /> <a href='http://www.gk-software.com/storeweaver/master_data/customer_promotion/'>http://www.gk-software.com/storeweaver/master_data/customer_promotion/</a>)<br /> </li><br /></ul><br /><p>The imports from masterData_Promotion.xml and masterData_CustomerPromotion.xml are not intended for further use.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionSO { + /// + /// <p>The unique identifier of the business unit group.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>External ident of the promotion<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ID</li><br /></ul> + /// + /// <p>External ident of the promotion<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ID</li><br /></ul> + public string promotionID { get; init; } + /// + /// <p>Date and time when the promotion becomes effective<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.EffectiveDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.EffectiveDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Date and time when the promotion becomes effective<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.EffectiveDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.EffectiveDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string effectiveDateTime { get; init; } + /// + /// <p>The last date and time when this promotion is effective.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ExpiryDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The last date and time when this promotion is effective.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.ExpiryDate</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.ExpiryDate</li><br /></ul> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string expirationDateTime { get; init; } + /// + /// <p>Text to be displayed to the operator.<br /></p> + /// + /// <p>Text to be displayed to the operator.<br /></p> + public string operatorDisplayName { get; init; } + /// + /// <p>Text to be displayed to the customer.<br /></p> + /// + /// <p>Text to be displayed to the customer.<br /></p> + public string customerDisplayName { get; init; } + /// + /// <p>Text which is to be printed on the receipt<br /></p> + /// + /// <p>Text which is to be printed on the receipt<br /></p> + public string receiptPrinterName { get; init; } + /// + /// <p>Origin of the promotion<br /></p> + /// + /// <p>Origin of the promotion<br /></p> + public string origin { get; init; } + /// + /// <p>Promotion description<br /></p> + /// + /// <p>Promotion description<br /></p> + public string description { get; init; } + /// + /// <p>Promotion type<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionType</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionType</li><br /></ul> + /// + /// <p>Promotion type<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionType</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionType</li><br /></ul> + public string promotionTypeID { get; init; } + /// + /// <p>list of promotion conditions<br /></p> + /// + /// <p>list of promotion conditions<br /></p> + public List ConditionList { get; init; } + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Not imported, generated.<br /></p> + /// + /// <p>The unique identifier for a promotion.<br /></p><br /><p>Not imported, generated.<br /></p> + public string internalPromotionID { get; init; } + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Not imported, generated.<br /></p> + /// + /// <p>Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.<br /></p><br /><p>Not imported, generated.<br /></p> + public string packageID { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + public string tid { get; init; } + /// + /// <p>Another external ident of the promotion.<br /> It is needed by/known to the retailer.<br /></p> + /// + /// <p>Another external ident of the promotion.<br /> It is needed by/known to the retailer.<br /></p> + public string externalOfferID { get; init; } + /// + /// <p>The date and time when the promotion was changed at latest.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The date and time when the promotion was changed at latest.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string lastChangeTimestamp { get; init; } + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + public List PromotionTranslationList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom17 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom30 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p><br /><p>Import from masterdata_Promotion_SE.xml only.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..cd12efc61c10a6bc6afbb33cdb906ab137773de9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionTranslationSO <p>Translation of the promotion texts in one language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoPromotionTranslationSO { + /// + /// <p>Language id<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /></ul> + /// + /// <p>Language id<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.@ID</li><br /></ul> + public string languageID { get; init; } + /// + /// <p>Translation of the text to be displayed to the operator.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /></ul> + /// + /// <p>Translation of the text to be displayed to the operator.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedOperatorDisplayName</li><br /></ul> + public string operatorDisplayName { get; init; } + /// + /// <p>Translation of the text to be displayed to the customer.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /></ul> + /// + /// <p>Translation of the text to be displayed to the customer.<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedCustomerDisplayName</li><br /></ul> + public string customerDisplayName { get; init; } + /// + /// <p>Translation of the text to be printed on the receipt<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /></ul> + /// + /// <p>Translation of the text to be printed on the receipt<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedReceiptPrinterName</li><br /></ul> + public string receiptPrinterName { get; init; } + /// + /// <p>Translation of the short description<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /></ul> + /// + /// <p>Translation of the short description<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /> <li>PromotionCPD.xml: Promotion.GlobalData.PromotionTranslationList.Language.TranslatedDescription</li><br /></ul> + public string description { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..391fcc84d26469aec2dcfd16f054d885089c0f65 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO.cs @@ -0,0 +1,33 @@ +namespace POSGkSwaggerModel +{ + /// + /// TimePeriodSO <p>Time period<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod</li><br /></ul> + /// + public record comGkSoftwareSweeSesApiServerMdPromotionDtoSoTimePeriodSO { + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /></ul> + /// + /// <p>A 2 character code denoting the day of the week that the time period falls on<br /></p><br /><p>Import:<br /></p><br /><ul><br /> <li>masterdata_Promotion_SE.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /> <li>PromotionCPD.xml: Promotion.Condition.GlobalData.TimePeriod.Weekday</li><br /></ul> + public dayOfWeekEnum? dayOfWeek { get; init; } + /// + /// <p>The time of day that the time period commences<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>The time of day that the time period commences<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string startTime { get; init; } + /// + /// <p>The duration included in the time period from the start time<br /></p> + /// + /// <p>The duration included in the time period from the start time<br /></p> + public int? duration { get; init; } + /// + /// <p>ID of the time period<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>ID of the time period<br /></p><br /><p>Generated, not imported.<br /></p> + public string internalTimePeriodID { get; init; } + /// + /// <p>The time restriction in cron format.<br /></p> + /// + /// <p>The time restriction in cron format.<br /></p> + public string timeRestriction { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..2d3b2eea3c3213bc5a17d9208fbd92aa81a40624 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReasonCodeGroupParameterSO <p>Parameter defined for the reason group<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupParameterSO { + /// + /// <p>Code of the reason group<br /></p> + /// + /// <p>Code of the reason group<br /></p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>Reason code group parameter code<br /></p> + /// + /// <p>Reason code group parameter code<br /></p> + public string reasonCodeGroupParameterCode { get; init; } + /// + /// <p>Reason code group parameter name<br /></p> + /// + /// <p>Reason code group parameter name<br /></p> + public string reasonCodeGroupParameterName { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..5ec1d8c0baa0909e61c1e859ff9fa3b88cc98afc --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO.cs @@ -0,0 +1,67 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReasonCodeGroupSO <p>Reason code group master data. Reason groups represent e.g. various processes.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupSO { + /// + /// Gets or Sets Origin + /// + public originEnum? origin { get; init; } + /// + /// <p>A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.<br /></p> + /// + /// <p>A retailer assigned code denoting the family of related reason codes for classifying data and actions within the systems of the retail enterprise.<br /></p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from ReasonCodeGroup.BugHeader or if not filled, then from ReasonCodeGroupMasterData.BugHeader. If not filled, then the data is globally valid.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from ReasonCodeGroup.BugHeader or if not filled, then from ReasonCodeGroupMasterData.BugHeader. If not filled, then the data is globally valid.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Description of the reason code group<br /></p> + /// + /// <p>Description of the reason code group<br /></p> + public string reasonCodeGroupDescription { get; init; } + /// + /// <p>List of parameters defined for this reason code group<br /></p><br /><p>Not used, not imported.<br /></p> + /// + /// <p>List of parameters defined for this reason code group<br /></p><br /><p>Not used, not imported.<br /></p> + public List ReasonCodeGroupParameterList { get; init; } + /// + /// <p>Translation identifier<br /></p> + /// + /// <p>Translation identifier<br /></p> + public string tid { get; init; } + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + public List Translations { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..4aec3373a584a7eb8ba392b8ad65eb1de2ef3f25 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReasonCodeGroupTranslationSO <p>Translation of reason group texts in a specific language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdReasonDtoSoReasonCodeGroupTranslationSO { + /// + /// <p>Language ISO code identification<br /></p> + /// + /// <p>Language ISO code identification<br /></p> + public string languageID { get; init; } + /// + /// <p>Localized description of the reason group in the given language<br /></p> + /// + /// <p>Localized description of the reason group in the given language<br /></p> + public string reasonCodeGroupDescription { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..4d3f091c10900d303a57f4eb5c541fe57935b6fe --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReasonParameterSO <p>Reason parameter.<br /> The parameters are not used in a generalized, cross-process manner. Each process uses its own parameters.<br /> Meaning of the most important parameters in the merchandise management processes:<br /></p><br /><ul><br /> <li>SAP_BEWART � movement type of the leading system</li><br /> <li>SAP_GRUND � reason code of the leading system</li><br /> <li>AUTO_RELEASE � defines whether the documents registered on the handheld are automatically released</li><br /> <li>SKIP_ON_MOBILE � defines whether the reason is displayed on the mobile handheld device.</li><br /> <li>STOCK_IMPACT � determines the way in which the movement affects item stock (0 � no impact, 1 � increase, -1 = decrease)</li><br /></ul> + /// + public record comGkSoftwareSweeSesApiServerMdReasonDtoSoReasonParameterSO { + /// + /// <p>Reason parameter code<br /></p> + /// + /// <p>Reason parameter code<br /></p> + public string reasonParameterCode { get; init; } + /// + /// <p>Reason parameter name<br /></p> + /// + /// <p>Reason parameter name<br /></p> + public string reasonParameterName { get; init; } + /// + /// <p>Reason parameter value<br /></p> + /// + /// <p>Reason parameter value<br /></p> + public string reasonParameterValue { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..70129767a326f01518640a7a80f959165a78d8f9 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReasonSO <p>Reasons are used for sale and merchandise management processes. They are used to designate different goods movements. Reasons may contain a number of parameters. Each parameter has a defined name with a certain meaning for the respective process.<br /> Reasons are grouped by processes. Each reason is identified based on a combination of code + group.<br /> Each group has a fixed code. The reasons belonging to this group are used in the respective process.<br /></p><br /><p>Import from masterData_Reason.xml.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdReasonDtoSoReasonSO { + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + /// + /// <p>Type of origin.<br /> OriginCode:<br /></p><br /><pre> PARENT_COPY = '00'<br /> IMPORT = '01'<br /> MANUAL = '02'<br /></pre> + public originEnum? origin { get; init; } + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from Reason.BugHeader or if not filled, then from ReasonMasterData.BugHeader. If not filled, then the reason is globally valid.<br /></p> + /// + /// <p>The unique identifier of the business unit group.<br /></p><br /><p>Import:<br /> masterData_Reason.xml: BusinessUnitGroupID or the BusinessUnitGroupID for the ExternalBusinessUnitGroupID from Reason.BugHeader or if not filled, then from ReasonMasterData.BugHeader. If not filled, then the reason is globally valid.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>Long description of the reason<br /></p> + /// + /// <p>Long description of the reason<br /></p> + public string reasonDescription { get; init; } + /// + /// <p>Reason short text<br /></p> + /// + /// <p>Reason short text<br /></p> + public string reasonShortText { get; init; } + /// + /// <p>Code of the group to which the reason belongs<br /></p> + /// + /// <p>Code of the group to which the reason belongs<br /></p> + public string reasonCodeGroupCode { get; init; } + /// + /// <p>Description of the assigned reason group; for information purposes<br /></p><br /><p>Not imported, loaded from ReasonCodeGroupSO.reasonCodeGroupDescription<br /></p> + /// + /// <p>Description of the assigned reason group; for information purposes<br /></p><br /><p>Not imported, loaded from ReasonCodeGroupSO.reasonCodeGroupDescription<br /></p> + public string reasonCodeGroupDescription { get; init; } + /// + /// <p>Defines the order within a group for display in the graphical user interface<br /></p> + /// + /// <p>Defines the order within a group for display in the graphical user interface<br /></p> + public int? reasonOrder { get; init; } + /// + /// <p>List of reason parameters<br /></p> + /// + /// <p>List of reason parameters<br /></p> + public List ReasonParameterList { get; init; } + /// + /// <p>Translation identifier<br /></p> + /// + /// <p>Translation identifier<br /></p> + public string tid { get; init; } + /// + /// <p>List of translations<br /></p> + /// + /// <p>List of translations<br /></p> + public List Translations { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom01 { get; init; } + /// + /// <p>A unique retailer defined reason code for an action that is taken (or not taken) at a workstation / device.<br /></p> + /// + /// <p>A unique retailer defined reason code for an action that is taken (or not taken) at a workstation / device.<br /></p> + public string reasonCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..35f9b58248efca162a37dec07b9d1512af99acac --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO.cs @@ -0,0 +1,23 @@ +namespace POSGkSwaggerModel +{ + /// + /// ReasonTranslationSO <p>Translation of reason texts in a specific language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdReasonDtoSoReasonTranslationSO { + /// + /// <p>Language ISO code identification<br /></p> + /// + /// <p>Language ISO code identification<br /></p> + public string languageID { get; init; } + /// + /// <p>Reason description in the given language.<br /></p> + /// + /// <p>Reason description in the given language.<br /></p> + public string reasonDescription { get; init; } + /// + /// <p>Reason short text in the given language<br /></p> + /// + /// <p>Reason short text in the given language<br /></p> + public string reasonShortText { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..b504b40823be0a9c20e13fd972c576d0ecbd88ac --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO.cs @@ -0,0 +1,13 @@ +namespace POSGkSwaggerModel +{ + /// + /// MerchandiseHierarchyGroupAssignmentSO <p>Reference to the merchandise hierarchy group which the sales restriction is assigned to<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoMerchandiseHierarchyGroupAssignmentSO { + /// + /// <p>ID of the merchandise hierarchy group which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + /// + /// <p>ID of the merchandise hierarchy group which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + public string merchandiseHierarchyGroupID { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..8da5ca6bfa495563f326cebaead7e4c8acf3c100 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO.cs @@ -0,0 +1,208 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesRestrictionSO <p>Specific items can be sold under defined conditions only, e.g. alcohol drinks from 18 years. Sales restrictions determine these conditions.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestrictionList<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.RiskSaleResctriction.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionSO { + /// + /// <p>Sales restriction identifier<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Sales restriction identifier<br /></p><br /><p>Generated, not imported.<br /></p> + public string salesRestrictionID { get; init; } + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + /// + /// <p>A unique system assigned identifier for a group of business units.<br /></p> + public string businessUnitGroupID { get; init; } + /// + /// <p>The value of the sales restriction - its content depends on the SalesRestrictionTypeCode, e.g.<br /></p><br /><pre> * Age =&gt; minimum customer age<br /> * Sales prohibition period =&gt; time group identifier<br /> * Limit =&gt; quantity limit<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionValue<br /></p> + /// + /// <p>The value of the sales restriction - its content depends on the SalesRestrictionTypeCode, e.g.<br /></p><br /><pre> * Age =&gt; minimum customer age<br /> * Sales prohibition period =&gt; time group identifier<br /> * Limit =&gt; quantity limit<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionValue<br /></p> + public string salesRestrictionValue { get; init; } + /// + /// <p>List of merchandise hierarchy groups which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + /// + /// <p>List of merchandise hierarchy groups which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_BusinessUnit.xml: BusinessUnit.MerchandiseHierarchyGroupDetail.MerchandiseHierarchyGroupID.<br /></p> + public List MerchandiseHierarchyGroupAssignmentList { get; init; } + /// + /// <p>List of UOM items which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item identification.<br /></p> + /// + /// <p>List of UOM items which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item identification.<br /></p> + public List UnitOfMeasureItemAssignmentList { get; init; } + /// + /// <p>The text of the question that the customer is to be asked when validating a restriction.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionText<br /></p> + /// + /// <p>The text of the question that the customer is to be asked when validating a restriction.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionText<br /></p> + public string questionText { get; init; } + /// + /// <p>Type code of the question.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionTypeCode<br /></p> + /// + /// <p>Type code of the question.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.QuestionTypeCode<br /></p> + public string questionTypeCode { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + public string tid { get; init; } + /// + /// <p>List of translations<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList<br /></p> + /// + /// <p>List of translations<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList<br /></p> + public List TranslationList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM18 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM19 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM20 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM21 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM22 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM23 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM24 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM25 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM26 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM27 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM28 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM29 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM30 { get; init; } + /// + /// <p>Sales restriction type code, e.g.<br /></p><br /><pre> * AGE, CAGE =&gt; Age (customer age is to be checked)<br /> * TIME =&gt; Sales prohibition period (sale is prohibited during specified time)<br /> * LIMT =&gt; Limit (maximally this quantity of the item may be sold)<br /> * WGHT =&gt; Weight (the weight is to be checked)<br /> * RISK =&gt; Risk (the sale of that item is to be double-checked)<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionTypeCode<br /> masterData_BusinessUnit.xml: 'RISK' for BusinessUnit.MerchandiseHierarchyGroupDetail.RiskSaleResctriction<br /></p> + /// + /// <p>Sales restriction type code, e.g.<br /></p><br /><pre> * AGE, CAGE =&gt; Age (customer age is to be checked)<br /> * TIME =&gt; Sales prohibition period (sale is prohibited during specified time)<br /> * LIMT =&gt; Limit (maximally this quantity of the item may be sold)<br /> * WGHT =&gt; Weight (the weight is to be checked)<br /> * RISK =&gt; Risk (the sale of that item is to be double-checked)<br /></pre><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.SalesRestrictionTypeCode<br /> masterData_BusinessUnit.xml: 'RISK' for BusinessUnit.MerchandiseHierarchyGroupDetail.RiskSaleResctriction<br /></p> + public string salesRestrictionTypeCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM01 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM06 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM07 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM08 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM09 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM10 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM11 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM12 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM13 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM14 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM15 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM16 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxCUSTOM17 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..1aa4a7a2471d24db32336ecec088e126455af955 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// SalesRestrictionTranslationSO <p>Translation of sales restriction texts in one language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoSalesRestrictionTranslationSO { + /// + /// <p>Language ISO code identification<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.@ID<br /></p> + /// + /// <p>Language ISO code identification<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.@ID<br /></p> + public string languageID { get; init; } + /// + /// <p>Localized question text in the given language.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.TranslatedQuestionText<br /></p> + /// + /// <p>Localized question text in the given language.<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.SalesRestriction.TranslationList.Language.TranslatedQuestionText<br /></p> + public string questionText { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..7282f8260c95b617926c9bdc9aeb9335b533243f --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO.cs @@ -0,0 +1,18 @@ +namespace POSGkSwaggerModel +{ + /// + /// UnitOfMeasureItemAssignmentSO <p>Reference to the item which the sales restriction is assigned to<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdSalesRestrictionDtoSoUnitOfMeasureItemAssignmentSO { + /// + /// <p>ID of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.ItemID<br /></p> + /// + /// <p>ID of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.ItemID<br /></p> + public string itemID { get; init; } + /// + /// <p>Unit of measure of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.UOMCode<br /></p> + /// + /// <p>Unit of measure of the item which the sales restriction is assigned to<br /></p><br /><p>Import:<br /> masterData_Item.xml: Item.UOMItem.UOMCode<br /></p> + public string unitOfMeasureCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..5098a32963ea56ddb90ea9cab1caa5b3d9dce371 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// UomConversionSO <p>Conversion of one measure unit into another one.<br /></p><br /><p>Not used. Not filled in the data editor.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdUomDtoSoUomConversionSO { + /// + /// <p>Source unit of measure code<br /></p> + /// + /// <p>Source unit of measure code<br /></p> + public string sourceUomCode { get; init; } + /// + /// <p>Destination unit of measure code<br /></p> + /// + /// <p>Destination unit of measure code<br /></p> + public string destinationUomCode { get; init; } + /// + /// <p>The factor that converts the source UOM to the destination UOM<br /></p> + /// + /// <p>The factor that converts the source UOM to the destination UOM<br /></p> + public double? factor { get; init; } + /// + /// <p>Determines whether conversion is done by multiplying (true) or dividing (false)<br /></p> + /// + /// <p>Determines whether conversion is done by multiplying (true) or dividing (false)<br /></p> + public bool? multiplyFlag { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..a6cfda4188ca74d37a52d36ecefa96d1e426104a --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomSO.cs @@ -0,0 +1,88 @@ +namespace POSGkSwaggerModel +{ + /// + /// UomSO <p>Units in which a value is being expressed, or manner in which a measurement has been taken.<br /> Unit of measure codes are referred from the item. The codes have to be initialized before they are used on the item.<br /></p><br /><p>Import from dc_import_UnitOfMeasure. <br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdUomDtoSoUomSO { + /// + /// <p>Identification of the unit of measure<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMCode<br /></p> + /// + /// <p>Identification of the unit of measure<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMCode<br /></p> + public string unitOfMeasureCode { get; init; } + /// + /// <p>Localized code of the unit of measure. This code is displayed in the GUI and can be used also in exports. Example: The unit of measure with the code 'PCE' has the localized code 'ST'.<br /></p> + /// + /// <p>Localized code of the unit of measure. This code is displayed in the GUI and can be used also in exports. Example: The unit of measure with the code 'PCE' has the localized code 'ST'.<br /></p> + public string translatedUOMCode { get; init; } + /// + /// <p>Indicates what this unit of measure entity type instance measures. Examples include weight or mass, length, cube (length x width x depth), volume, discrete items (each), etc.<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMTypeCode<br /></p> + /// + /// <p>Indicates what this unit of measure entity type instance measures. Examples include weight or mass, length, cube (length x width x depth), volume, discrete items (each), etc.<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UOMTypeCode<br /></p> + public string unitOfMeasureTypeCode { get; init; } + /// + /// <p>Indicates whether this unit of measure is part of the English or metric system of measurements.<br /></p> + /// + /// <p>Indicates whether this unit of measure is part of the English or metric system of measurements.<br /></p> + public bool? englishMetricFlag { get; init; } + /// + /// <p>Name assigned to this unit of measure.<br /></p> + /// + /// <p>Name assigned to this unit of measure.<br /></p> + public string name { get; init; } + /// + /// <p>Description assigned to this unit of measure.<br /></p> + /// + /// <p>Description assigned to this unit of measure.<br /></p> + public string description { get; init; } + /// + /// <p>List of conversions from this unit of measure into other units of measure<br /></p><br /><p>Not used. Not filled in the data maintenance.<br /></p> + /// + /// <p>List of conversions from this unit of measure into other units of measure<br /></p><br /><p>Not used. Not filled in the data maintenance.<br /></p> + public List UomConversionList { get; init; } + /// + /// <p>Allowed count of decimal places. The quantities are displayed with this decimal places count in the GUI and reports. When registering an item in this unit, there can be registered maximally this count of decimal places.<br /></p> + /// + /// <p>Allowed count of decimal places. The quantities are displayed with this decimal places count in the GUI and reports. When registering an item in this unit, there can be registered maximally this count of decimal places.<br /></p> + public int? decimalPlacesCount { get; init; } + /// + /// <p>The corresponding ISO code for this unit of measure<br /></p><br /><p>Not imported.<br /></p> + /// + /// <p>The corresponding ISO code for this unit of measure<br /></p><br /><p>Not imported.<br /></p> + public string isoUnitOfMeasureCode { get; init; } + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + /// + /// <p>Translation identifier - used for the unique identification of translations in the common translation table.<br /></p><br /><p>Generated, not imported.<br /></p> + public string tid { get; init; } + /// + /// <p>List of translations of unit of measure texts<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UomTranslationList<br /></p> + /// + /// <p>List of translations of unit of measure texts<br /></p><br /><p>Import:<br /> dc_import_UnitOfMeasure: UnitOfMeasure.UomTranslationList<br /></p> + public List Translations { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development<br /></p> + /// + /// <p>Additional field for custom development<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..9d0d0a89e9746326a9e29b227bace9bf41980b07 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// UomTranslationSO <p>Translation of UOM texts in one language<br /></p> + /// + public record comGkSoftwareSweeSesApiServerMdUomDtoSoUomTranslationSO { + /// + /// <p>Language ISO code identification<br /></p> + /// + /// <p>Language ISO code identification<br /></p> + public string languageID { get; init; } + /// + /// <p>Localized code of unit of measure in the given language<br /></p> + /// + /// <p>Localized code of unit of measure in the given language<br /></p> + public string translatedUOMCode { get; init; } + /// + /// <p>Name of the unit of measure in the given language<br /></p> + /// + /// <p>Name of the unit of measure in the given language<br /></p> + public string name { get; init; } + /// + /// <p>Description of the unit of measure in the given language<br /></p> + /// + /// <p>Description of the unit of measure in the given language<br /></p> + public string description { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..279ecde87081a596d7f1ea2c673d3a2df9f4066c --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO.cs @@ -0,0 +1,107 @@ +namespace POSGkSwaggerModel +{ + /// + /// AbstractOperatorSO <p>The data of an operator (person) who can work in many retail stores. The operator can obtain different login data and different roles in different retail stores.<br /></p><br /><p>Import from Operator.xml.<br /></p> + /// + public record comGkSoftwareSweeSesApiServerUmOperatorDtoSoAbstractOperatorSO { + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + /// + /// <p>Origin of the import<br /></p><br /><ul><br /> <li>00 - IMPORT</li><br /> <li>01 - MANUAL</li><br /></ul> + public originEnum? origin { get; init; } + /// + /// <p>The unique ID of the operator (Note: Not the login name. The login name can be store specific.)<br /></p><br /><dl><br /> <dt>+</dt><br /></dl> + /// + /// <p>The unique ID of the operator (Note: Not the login name. The login name can be store specific.)<br /></p><br /><dl><br /> <dt>+</dt><br /></dl> + public string operatorID { get; init; } + /// + /// <p>Worker ID. This attribute can be used as the connection between the operator and the worker object.<br /></p> + /// + /// <p>Worker ID. This attribute can be used as the connection between the operator and the worker object.<br /></p> + public string workerID { get; init; } + /// + /// <p>Salutation<br /></p> + /// + /// <p>Salutation<br /></p> + public string salutation { get; init; } + /// + /// <p>First name<br /></p> + /// + /// <p>First name<br /></p> + public string firstName { get; init; } + /// + /// <p>Last name<br /></p> + /// + /// <p>Last name<br /></p> + public string lastName { get; init; } + /// + /// <p>ISO language ID. The GUI in the portal, on the hand-held and on the POS is displayed in this language after user login<br /></p> + /// + /// <p>ISO language ID. The GUI in the portal, on the hand-held and on the POS is displayed in this language after user login<br /></p> + public string languageID { get; init; } + /// + /// <p>Flag for left handed. The flag can control the GUI of the peripheral device.<br /></p> + /// + /// <p>Flag for left handed. The flag can control the GUI of the peripheral device.<br /></p> + public bool? leftHandedFlag { get; init; } + /// + /// <p>Email address<br /></p> + /// + /// <p>Email address<br /></p> + public string emailAddress { get; init; } + /// + /// <p>Birth year<br /></p> + /// + /// <p>Birth year<br /></p> + public int? birthYearNumber { get; init; } + /// + /// <p>Birth month<br /></p> + /// + /// <p>Birth month<br /></p> + public int? birthMonthNumber { get; init; } + /// + /// <p>Birth day<br /></p> + /// + /// <p>Birth day<br /></p> + public int? birthDayNumber { get; init; } + /// + /// <p>Role assignments in specific retail stores<br /></p> + /// + /// <p>Role assignments in specific retail stores<br /></p> + public List OperatorAssignmentSOList { get; init; } + /// + /// <p>Login data for periphery classes in specific retail stores<br /></p> + /// + /// <p>Login data for periphery classes in specific retail stores<br /></p> + public List PeripheralAccessSOList { get; init; } + /// + /// <p>Internal identifier of the import file<br /></p> + /// + /// <p>Internal identifier of the import file<br /></p> + public string packageID { get; init; } + /// + /// Gets or Sets OpAsgnList + /// + public List OpAsgnList { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>ISO country code<br /></p> + /// + /// <p>ISO country code<br /></p> + public string isocountryCode { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..0d3380f391f395681b6e3180661eff302ddcdd98 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO.cs @@ -0,0 +1,43 @@ +namespace POSGkSwaggerModel +{ + /// + /// OperatorAssignmentSO <p>Assignment of the operator to a role in a specific retail store<br /></p> + /// + public record comGkSoftwareSweeSesApiServerUmOperatorDtoSoOperatorAssignmentSO { + /// + /// <p>Retail store ID of the role assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + /// + /// <p>Retail store ID of the role assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + public string retailStoreID { get; init; } + /// + /// <p>ID of the assigned role in the store<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.RoleID<br /></p> + /// + /// <p>ID of the assigned role in the store<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.RoleID<br /></p> + public string workGroupID { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO.cs b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO.cs new file mode 100644 index 0000000000000000000000000000000000000000..717d840743bb12bf1a3be05ec3cde480fdf950a7 --- /dev/null +++ b/gatewayUtilPython/salida/ComGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO.cs @@ -0,0 +1,78 @@ +namespace POSGkSwaggerModel +{ + /// + /// PeripheralAccessSO <p>Login data of one specific periphery class in the specific retail store<br /></p> + /// + public record comGkSoftwareSweeSesApiServerUmOperatorDtoSoPeripheralAccessSO { + /// + /// <p>Retail store ID of the periphery access assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + /// + /// <p>Retail store ID of the periphery access assignment<br /></p><br /><p>Import:<br /> Operator.xml: from Operator.BusinessUnitAssignment.BusinessUnitIdentification: BusinessUnitID or the corresponding retail store ID for the ExternalBusinessUnitID<br /></p> + public string retailStoreID { get; init; } + /// + /// <p>Identification of the periphery class. Possible values: 'Mobile', 'Web', 'POS', 'SCALE', 'RVM', 'ESL' etc.<br /> This attribute allows to define different login data for different peripheral systems.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.PeripheralSystemType<br /></p> + /// + /// <p>Identification of the periphery class. Possible values: 'Mobile', 'Web', 'POS', 'SCALE', 'RVM', 'ESL' etc.<br /> This attribute allows to define different login data for different peripheral systems.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.PeripheralSystemType<br /></p> + public string peripheralsTypeCode { get; init; } + /// + /// <p>Login name. The login name for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.LoginName<br /></p> + /// + /// <p>Login name. The login name for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.LoginName<br /></p> + public string loginName { get; init; } + /// + /// <p>Password. The password for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.Password<br /></p> + /// + /// <p>Password. The password for the target systems POS, Scale and Mobile can be numeric only.<br /></p><br /><p>Import:<br /> Operator.xml: Operator.BusinessUnitAssignment.BusinessUnitAssignmentContent.PeripheralSystemTypeLogin.Password<br /></p> + public string loginPassword { get; init; } + /// + /// <p>Timestamp (date and time), when the password was created.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Timestamp (date and time), when the password was created.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string passwordCreateTimestamp { get; init; } + /// + /// <p>Count of failed log in attempts. This value is reset after a successfully log in.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + /// + /// <p>Count of failed log in attempts. This value is reset after a successfully log in.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + public int? passwordFailedAttemptsCount { get; init; } + /// + /// <p>Timestamp of last successfully log in<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + /// + /// <p>Timestamp of last successfully log in<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> Date format 'yyyy-MM-dd'T'HH:mm:ss.SSS' (no timezone) + public string passwordLastSuccessfulLoginTimestamp { get; init; } + /// + /// <p>Determines, if the access is blocked.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + /// + /// <p>Determines, if the access is blocked.<br /> FAT POS will save these attributes locally. They will be never known on the central.<br /></p> + public bool? accessBlockingFlag { get; init; } + /// + /// <p>Initial password flag<br /></p> + /// + /// <p>Initial password flag<br /></p> + public bool? initialPasswordFlag { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom05 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom03 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom02 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom04 { get; init; } + /// + /// <p>Additional field for custom development.<br /></p> + /// + /// <p>Additional field for custom development.<br /></p> + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/CurrencyResult.cs b/gatewayUtilPython/salida/CurrencyResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..16c41d1a3a48d14db6d5ce46c67507c9ebaa7db2 --- /dev/null +++ b/gatewayUtilPython/salida/CurrencyResult.cs @@ -0,0 +1,20 @@ +namespace POSGkSwaggerModel +{ + /// + /// CurrencyResult + /// + public record currencyResult { + /// + /// Gets or Sets BaseCurrency + /// + public ComGkSoftwareGkrApiServerMdCurrencyDtoDomCurrencyDO baseCurrency { get; init; } + /// + /// Gets or Sets Currencies + /// + public List Currencies { get; init; } + /// + /// Gets or Sets ExchangeRates + /// + public Dictionary ExchangeRates { get; init; } + } +} diff --git a/gatewayUtilPython/salida/CustomerCardCodeConverterService.cs b/gatewayUtilPython/salida/CustomerCardCodeConverterService.cs new file mode 100644 index 0000000000000000000000000000000000000000..f64c39923a5c1edfaae818e9ad94e2f9ac84664e --- /dev/null +++ b/gatewayUtilPython/salida/CustomerCardCodeConverterService.cs @@ -0,0 +1,8 @@ +namespace POSGkSwaggerModel +{ + /// + /// CustomerCardCodeConverterService + /// + public record customerCardCodeConverterService { + } +} diff --git a/gatewayUtilPython/salida/ErrorCode.cs b/gatewayUtilPython/salida/ErrorCode.cs new file mode 100644 index 0000000000000000000000000000000000000000..4eb7e28a748f12599b3c23c225aaefa7e3f1b7b9 --- /dev/null +++ b/gatewayUtilPython/salida/ErrorCode.cs @@ -0,0 +1,24 @@ +namespace POSGkSwaggerModel +{ + /// + /// ErrorCode + /// + public record errorCode { + /// + /// Gets or Sets _ErrorCode + /// + public string _ErrorCode { get; init; } + /// + /// Gets or Sets Message + /// + public string message { get; init; } + /// + /// Gets or Sets MessageKey + /// + public string messageKey { get; init; } + /// + /// Gets or Sets Arguments + /// + public List Arguments { get; init; } + } +} diff --git a/gatewayUtilPython/salida/EventLogMessageDO.cs b/gatewayUtilPython/salida/EventLogMessageDO.cs new file mode 100644 index 0000000000000000000000000000000000000000..9447efe6056a61162e4de45f2e0c0482130341dd --- /dev/null +++ b/gatewayUtilPython/salida/EventLogMessageDO.cs @@ -0,0 +1,144 @@ +namespace POSGkSwaggerModel +{ + /// + /// EventLogMessageDO + /// + public record eventLogMessageDO { + /// + /// Gets or Sets Key + /// + public key key { get; init; } + /// + /// Gets or Sets Created + /// + public DateTime? created { get; init; } + /// + /// Gets or Sets CreatedUTC0 + /// + public DateTime? createdUTC0 { get; init; } + /// + /// Gets or Sets Type + /// + public string type { get; init; } + /// + /// Gets or Sets SubType + /// + public string subType { get; init; } + /// + /// Gets or Sets Level + /// + public string level { get; init; } + /// + /// Gets or Sets Application + /// + public string application { get; init; } + /// + /// Gets or Sets StationID + /// + public string stationID { get; init; } + /// + /// Gets or Sets NodeID + /// + public string nodeID { get; init; } + /// + /// Gets or Sets BusinessUnitGroupID + /// + public long? businessUnitGroupID { get; init; } + /// + /// Gets or Sets OperatorID + /// + public string operatorID { get; init; } + /// + /// Gets or Sets Payload + /// + public List Payload { get; init; } + /// + /// Gets or Sets PayloadDataID + /// + public string payloadDataID { get; init; } + /// + /// Gets or Sets ProcessData01 + /// + public string processData01 { get; init; } + /// + /// Gets or Sets ProcessData02 + /// + public string processData02 { get; init; } + /// + /// Gets or Sets ProcessData03 + /// + public string processData03 { get; init; } + /// + /// Gets or Sets ProcessData04 + /// + public string processData04 { get; init; } + /// + /// Gets or Sets ProcessData05 + /// + public string processData05 { get; init; } + /// + /// Gets or Sets ProcessData06 + /// + public string processData06 { get; init; } + /// + /// Gets or Sets ProcessData07 + /// + public string processData07 { get; init; } + /// + /// Gets or Sets ProcessData08 + /// + public string processData08 { get; init; } + /// + /// Gets or Sets ProcessData09 + /// + public string processData09 { get; init; } + /// + /// Gets or Sets ProcessData10 + /// + public string processData10 { get; init; } + /// + /// Gets or Sets Xxcustom08 + /// + public string xxcustom08 { get; init; } + /// + /// Gets or Sets Xxcustom10 + /// + public string xxcustom10 { get; init; } + /// + /// Gets or Sets Xxcustom09 + /// + public string xxcustom09 { get; init; } + /// + /// Gets or Sets Xxcustom07 + /// + public string xxcustom07 { get; init; } + /// + /// Gets or Sets Xxcustom05 + /// + public string xxcustom05 { get; init; } + /// + /// Gets or Sets Xxcustom06 + /// + public string xxcustom06 { get; init; } + /// + /// Gets or Sets Xxcustom03 + /// + public string xxcustom03 { get; init; } + /// + /// Gets or Sets Xxcustom02 + /// + public string xxcustom02 { get; init; } + /// + /// Gets or Sets Xxcustom04 + /// + public string xxcustom04 { get; init; } + /// + /// Gets or Sets Xid + /// + public long? xid { get; init; } + /// + /// Gets or Sets Xxcustom01 + /// + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/EventLogMessageSearchCriteria.cs b/gatewayUtilPython/salida/EventLogMessageSearchCriteria.cs new file mode 100644 index 0000000000000000000000000000000000000000..e611303a66a9f7813c47f0a6091ce128084b9850 --- /dev/null +++ b/gatewayUtilPython/salida/EventLogMessageSearchCriteria.cs @@ -0,0 +1,236 @@ +namespace POSGkSwaggerModel +{ + /// + /// EventLogMessageSearchCriteria + /// + public record eventLogMessageSearchCriteria { + /// + /// Gets or Sets CreatedFrom + /// + public DateTime? createdFrom { get; init; } + /// + /// Gets or Sets CreatedTo + /// + public DateTime? createdTo { get; init; } + /// + /// Gets or Sets Type + /// + public string type { get; init; } + /// + /// Gets or Sets SubType + /// + public string subType { get; init; } + /// + /// Gets or Sets Application + /// + public string application { get; init; } + /// + /// Gets or Sets Level + /// + public string level { get; init; } + /// + /// Gets or Sets RetailStoreID + /// + public string retailStoreID { get; init; } + /// + /// Gets or Sets RetailStoreIDList + /// + public List RetailStoreIDList { get; init; } + /// + /// Gets or Sets BusinessUnitGroupID + /// + public long? businessUnitGroupID { get; init; } + /// + /// Gets or Sets BusinessUnitGroupIDList + /// + public List BusinessUnitGroupIDList { get; init; } + /// + /// Gets or Sets StationID + /// + public string stationID { get; init; } + /// + /// Gets or Sets NodeID + /// + public string nodeID { get; init; } + /// + /// Gets or Sets OperatorID + /// + public string operatorID { get; init; } + /// + /// Gets or Sets WorkstationID + /// + public string workstationID { get; init; } + /// + /// Gets or Sets PayloadDataID + /// + public string payloadDataID { get; init; } + /// + /// Gets or Sets ProcessData01 + /// + public string processData01 { get; init; } + /// + /// Gets or Sets ProcessData02 + /// + public string processData02 { get; init; } + /// + /// Gets or Sets ProcessData03 + /// + public string processData03 { get; init; } + /// + /// Gets or Sets ProcessData04 + /// + public string processData04 { get; init; } + /// + /// Gets or Sets ProcessData05 + /// + public string processData05 { get; init; } + /// + /// Gets or Sets ProcessData06 + /// + public string processData06 { get; init; } + /// + /// Gets or Sets ProcessData07 + /// + public string processData07 { get; init; } + /// + /// Gets or Sets ProcessData08 + /// + public string processData08 { get; init; } + /// + /// Gets or Sets ProcessData09 + /// + public string processData09 { get; init; } + /// + /// Gets or Sets ProcessData10 + /// + public string processData10 { get; init; } + /// + /// Gets or Sets ProcessData01List + /// + public List ProcessData01List { get; init; } + /// + /// Gets or Sets ProcessData02List + /// + public List ProcessData02List { get; init; } + /// + /// Gets or Sets ProcessData03List + /// + public List ProcessData03List { get; init; } + /// + /// Gets or Sets ProcessData04List + /// + public List ProcessData04List { get; init; } + /// + /// Gets or Sets ProcessData05List + /// + public List ProcessData05List { get; init; } + /// + /// Gets or Sets ProcessData06List + /// + public List ProcessData06List { get; init; } + /// + /// Gets or Sets ProcessData07List + /// + public List ProcessData07List { get; init; } + /// + /// Gets or Sets ProcessData08List + /// + public List ProcessData08List { get; init; } + /// + /// Gets or Sets ProcessData09List + /// + public List ProcessData09List { get; init; } + /// + /// Gets or Sets ProcessData10List + /// + public List ProcessData10List { get; init; } + /// + /// Gets or Sets IsLastEventLog + /// + public bool? isLastEventLog { get; init; } + /// + /// Gets or Sets Distance + /// + public int? distance { get; init; } + /// + /// Gets or Sets Xxcustom08 + /// + public string xxcustom08 { get; init; } + /// + /// Gets or Sets Xxcustom10 + /// + public string xxcustom10 { get; init; } + /// + /// Gets or Sets Xxcustom09 + /// + public string xxcustom09 { get; init; } + /// + /// Gets or Sets Xxcustom07 + /// + public string xxcustom07 { get; init; } + /// + /// Gets or Sets Xxcustom05 + /// + public string xxcustom05 { get; init; } + /// + /// Gets or Sets Xxcustom06 + /// + public string xxcustom06 { get; init; } + /// + /// Gets or Sets Xxcustom03 + /// + public string xxcustom03 { get; init; } + /// + /// Gets or Sets Xxcustom02 + /// + public string xxcustom02 { get; init; } + /// + /// Gets or Sets Xxcustom04 + /// + public string xxcustom04 { get; init; } + /// + /// Gets or Sets Xxcustom01List + /// + public List Xxcustom01List { get; init; } + /// + /// Gets or Sets Xxcustom02List + /// + public List Xxcustom02List { get; init; } + /// + /// Gets or Sets Xxcustom03List + /// + public List Xxcustom03List { get; init; } + /// + /// Gets or Sets Xxcustom04List + /// + public List Xxcustom04List { get; init; } + /// + /// Gets or Sets Xxcustom05List + /// + public List Xxcustom05List { get; init; } + /// + /// Gets or Sets Xxcustom06List + /// + public List Xxcustom06List { get; init; } + /// + /// Gets or Sets Xxcustom07List + /// + public List Xxcustom07List { get; init; } + /// + /// Gets or Sets Xxcustom08List + /// + public List Xxcustom08List { get; init; } + /// + /// Gets or Sets Xxcustom09List + /// + public List Xxcustom09List { get; init; } + /// + /// Gets or Sets Xxcustom10List + /// + public List Xxcustom10List { get; init; } + /// + /// Gets or Sets Xxcustom01 + /// + public string xxcustom01 { get; init; } + } +} diff --git a/gatewayUtilPython/salida/EventLogSearchParameters.cs b/gatewayUtilPython/salida/EventLogSearchParameters.cs new file mode 100644 index 0000000000000000000000000000000000000000..409d50f675f6d69311903badc8195f5847d15e68 --- /dev/null +++ b/gatewayUtilPython/salida/EventLogSearchParameters.cs @@ -0,0 +1,20 @@ +namespace POSGkSwaggerModel +{ + /// + /// EventLogSearchParameters + /// + public record eventLogSearchParameters { + /// + /// Gets or Sets MessageCriteria + /// + public EventLogMessageSearchCriteria messageCriteria { get; init; } + /// + /// Gets or Sets Paging + /// + public pagingParameters paging { get; init; } + /// + /// Gets or Sets RequestedValues + /// + public requestedValues requestedValues { get; init; } + } +} diff --git a/gatewayUtilPython/salida/EventLogSearchResult.cs b/gatewayUtilPython/salida/EventLogSearchResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..4caee093ecc2625a467c38b642957188aa5b5b96 --- /dev/null +++ b/gatewayUtilPython/salida/EventLogSearchResult.cs @@ -0,0 +1,20 @@ +namespace POSGkSwaggerModel +{ + /// + /// EventLogSearchResult + /// + public record eventLogSearchResult { + /// + /// Gets or Sets Paging + /// + public pagingParameters paging { get; init; } + /// + /// Gets or Sets HaveMoreData + /// + public bool? haveMoreData { get; init; } + /// + /// Gets or Sets MessageList + /// + public List MessageList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/EventLogStoreRequest.cs b/gatewayUtilPython/salida/EventLogStoreRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..66e64107e9dc7334a4fc6ec38a48f62e8acceaf2 --- /dev/null +++ b/gatewayUtilPython/salida/EventLogStoreRequest.cs @@ -0,0 +1,16 @@ +namespace POSGkSwaggerModel +{ + /// + /// EventLogStoreRequest + /// + public record eventLogStoreRequest { + /// + /// Gets or Sets Asynchronous + /// + public bool? asynchronous { get; init; } + /// + /// Gets or Sets MessageList + /// + public List MessageList { get; init; } + } +} diff --git a/gatewayUtilPython/salida/ExchangeRatesResult.cs b/gatewayUtilPython/salida/ExchangeRatesResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..1a1c7c27dbed60fb8e83ab9d95c16b79628a5b9e --- /dev/null +++ b/gatewayUtilPython/salida/ExchangeRatesResult.cs @@ -0,0 +1,16 @@ +namespace POSGkSwaggerModel +{ + /// + /// ExchangeRatesResult + /// + public record exchangeRatesResult { + /// + /// Gets or Sets FromCurrency + /// + public string fromCurrency { get; init; } + /// + /// Gets or Sets ExchangeRatesByCurrencyCode + /// + public Dictionary ExchangeRatesByCurrencyCode { get; init; } + } +} diff --git a/gatewayUtilPython/salida/FilterPerTenderResult.cs b/gatewayUtilPython/salida/FilterPerTenderResult.cs new file mode 100644 index 0000000000000000000000000000000000000000..1bbac37b3337f6e432fe774f7a110e0b4466c5e9 --- /dev/null +++ b/gatewayUtilPython/salida/FilterPerTenderResult.cs @@ -0,0 +1,28 @@ +namespace POSGkSwaggerModel +{ + /// + /// FilterPerTenderResult + /// + public record filterPerTenderResult { + /// + /// Gets or Sets AllowedTender + /// + public List AllowedTender { get; init; } + /// + /// Gets or Sets AllowedTenderAmounts + /// + public Dictionary AllowedTenderAmounts { get; init; } + /// + /// Gets or Sets ForbiddenTender + /// + public List ForbiddenTender { get; init; } + /// + /// Gets or Sets AuthorizationNeededTender + /// + public List AuthorizationNeededTender { get; init; } + /// + /// Gets or Sets TenderErrorCodeMap + /// + public Dictionary TenderErrorCodeMap { get; init; } + } +} diff --git a/gatewayUtilPython/salida/IBasicFilterCondition.cs b/gatewayUtilPython/salida/IBasicFilterCondition.cs new file mode 100644 index 0000000000000000000000000000000000000000..577ee531d5b86a4e5ccbcc4449802350b0cf1e74 --- /dev/null +++ b/gatewayUtilPython/salida/IBasicFilterCondition.cs @@ -0,0 +1,8 @@ +namespace POSGkSwaggerModel +{ + /// + /// IBasicFilterCondition + /// + public record iBasicFilterCondition { + } +} diff --git a/gatewayUtilPython/salida/IBasicFilterConditionString.cs b/gatewayUtilPython/salida/IBasicFilterConditionString.cs new file mode 100644 index 0000000000000000000000000000000000000000..2e0a93de22002582f1542787b9b25e57388c8308 --- /dev/null +++ b/gatewayUtilPython/salida/IBasicFilterConditionString.cs @@ -0,0 +1,8 @@ +namespace POSGkSwaggerModel +{ + /// + /// IBasicFilterConditionString + /// + public record iBasicFilterConditionString { + } +} diff --git a/gatewayUtilPython/salida/ItemSearchResponse.cs b/gatewayUtilPython/salida/ItemSearchResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..5e6b2383973cef34f4ac240bdbfd400cbc8b39b3 --- /dev/null +++ b/gatewayUtilPython/salida/ItemSearchResponse.cs @@ -0,0 +1,16 @@ +namespace POSGkSwaggerModel +{ + /// + /// ItemSearchResponse + /// + public record itemSearchResponse { + /// + /// Gets or Sets ListPosUOMItemSearchView + /// + public List ListPosUOMItemSearchView { get; init; } + /// + /// Gets or Sets FoundPosUOMItemDO + /// + public ComGkSoftwareGkrApiServerMdItemDtoDomPosPosUOMItemDO foundPosUOMItemDO { get; init; } + } +} diff --git a/gatewayUtilPython/salida/Key.cs b/gatewayUtilPython/salida/Key.cs new file mode 100644 index 0000000000000000000000000000000000000000..2ebdb93a6323c1ca0535fa35a76980fa3e959db9 --- /dev/null +++ b/gatewayUtilPython/salida/Key.cs @@ -0,0 +1,20 @@ +namespace POSGkSwaggerModel +{ + /// + /// Key + /// + public record key { + /// + /// Gets or Sets RetailStoreID + /// + public string retailStoreID { get; init; } + /// + /// Gets or Sets WorkstationID + /// + public string workstationID { get; init; } + /// + /// Gets or Sets Id + /// + public string id { get; init; } + } +} diff --git a/gatewayUtilPython/salida/Money.cs b/gatewayUtilPython/salida/Money.cs new file mode 100644 index 0000000000000000000000000000000000000000..2524cc2390f2abd310aefd31172d5478bde633c1 --- /dev/null +++ b/gatewayUtilPython/salida/Money.cs @@ -0,0 +1,16 @@ +namespace POSGkSwaggerModel +{ + /// + /// Money + /// + public record money { + /// + /// Gets or Sets Amount + /// + public int? amount { get; init; } + /// + /// Gets or Sets Currency + /// + public string currency { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PagingParameters.cs b/gatewayUtilPython/salida/PagingParameters.cs new file mode 100644 index 0000000000000000000000000000000000000000..6d4e14d779066afb014193bff1bf3dde13adb0fe --- /dev/null +++ b/gatewayUtilPython/salida/PagingParameters.cs @@ -0,0 +1,20 @@ +namespace POSGkSwaggerModel +{ + /// + /// PagingParameters + /// + public record pagingParameters { + /// + /// Gets or Sets OrderingType + /// + public string orderingType { get; init; } + /// + /// Gets or Sets PageStart + /// + public string pageStart { get; init; } + /// + /// Gets or Sets PageSize + /// + public int? pageSize { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PceContext.cs b/gatewayUtilPython/salida/PceContext.cs new file mode 100644 index 0000000000000000000000000000000000000000..e5968ed052b7961ebfa5492dcdf966c8eb969ca1 --- /dev/null +++ b/gatewayUtilPython/salida/PceContext.cs @@ -0,0 +1,24 @@ +namespace POSGkSwaggerModel +{ + /// + /// PceContext + /// + public record pceContext { + /// + /// Gets or Sets CalculationScheme + /// + public string calculationScheme { get; init; } + /// + /// Gets or Sets RecommendationMode + /// + public string recommendationMode { get; init; } + /// + /// Gets or Sets RecommendationContext + /// + public string recommendationContext { get; init; } + /// + /// Gets or Sets Configuration + /// + public Dictionary Configuration { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PinInfoType.cs b/gatewayUtilPython/salida/PinInfoType.cs new file mode 100644 index 0000000000000000000000000000000000000000..44d304a752abc7cd5e67322dcd900e4fd0d26d78 --- /dev/null +++ b/gatewayUtilPython/salida/PinInfoType.cs @@ -0,0 +1,24 @@ +namespace POSGkSwaggerModel +{ + /// + /// PinInfoType + /// + public record pinInfoType { + /// + /// Gets or Sets SerialNumber + /// + public string serialNumber { get; init; } + /// + /// Gets or Sets PinCode + /// + public string pinCode { get; init; } + /// + /// Gets or Sets ValidTo + /// + public DateTime? validTo { get; init; } + /// + /// Gets or Sets PrintoutText + /// + public string printoutText { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PosSession.cs b/gatewayUtilPython/salida/PosSession.cs new file mode 100644 index 0000000000000000000000000000000000000000..98dfc122bc3e514ef7c8b573664e58deff55c40f --- /dev/null +++ b/gatewayUtilPython/salida/PosSession.cs @@ -0,0 +1,128 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosSession + /// + public record posSession { + /// + /// Gets or Sets ActiveLanguageScope + /// + public activeLanguageScopeEnum? activeLanguageScope { get; init; } + /// + /// Gets or Sets Id + /// + public ComGkSoftwarePosApiSessionPosSessionid id { get; init; } + /// + /// Gets or Sets Transaction + /// + public Postransaction transaction { get; init; } + /// + /// Gets or Sets TenantId + /// + public string tenantId { get; init; } + /// + /// Gets or Sets WorkstationId + /// + public string workstationId { get; init; } + /// + /// Gets or Sets WorkstationTypeCode + /// + public string workstationTypeCode { get; init; } + /// + /// Gets or Sets OperatorId + /// + public string operatorId { get; init; } + /// + /// Gets or Sets DeviceId + /// + public string deviceId { get; init; } + /// + /// Gets or Sets TillId + /// + public ComGkSoftwareGkrApiServerMdTillDtoDomTillDOKey tillId { get; init; } + /// + /// Gets or Sets ClientVersion + /// + public string clientVersion { get; init; } + /// + /// Gets or Sets TrainingMode + /// + public bool? trainingMode { get; init; } + /// + /// Gets or Sets ReadOnlyLastSetTimestamp + /// + public long? readOnlyLastSetTimestamp { get; init; } + /// + /// Gets or Sets WorkstationStatus + /// + public ComGkSoftwareGkrApiLoginManagerDtoworkstationStatus workstationStatus { get; init; } + /// + /// Gets or Sets WorkstationTenderRepositoryStatus + /// + public ComGkSoftwareGkrApiLoginManagerDtoworkstationTenderRepositoryStatus workstationTenderRepositoryStatus { get; init; } + /// + /// Gets or Sets PosServerLogoutRequested + /// + public bool? posServerLogoutRequested { get; init; } + /// + /// Gets or Sets UseLoginTypeTechnicalForLoginManager + /// + public bool? useLoginTypeTechnicalForLoginManager { get; init; } + /// + /// Gets or Sets PromotionServiceEnabled + /// + public bool? promotionServiceEnabled { get; init; } + /// + /// Gets or Sets PackagePricingSession + /// + public ComGkSoftwarePackagePricingPosApiCalculationpackagePricingSession packagePricingSession { get; init; } + /// + /// Gets or Sets PackagePricingServiceEnabled + /// + public bool? packagePricingServiceEnabled { get; init; } + /// + /// Gets or Sets AdditionalSessionCriteria01 + /// + public string additionalSessionCriteria01 { get; init; } + /// + /// Gets or Sets AdditionalSessionCriteria02 + /// + public string additionalSessionCriteria02 { get; init; } + /// + /// Gets or Sets DataPrivacyEnabled + /// + public bool? dataPrivacyEnabled { get; init; } + /// + /// Gets or Sets StoreTransaction + /// + public bool? storeTransaction { get; init; } + /// + /// Gets or Sets PceContext + /// + public pceContext pceContext { get; init; } + /// + /// Gets or Sets MainTransaction + /// + public PosTransaction mainTransaction { get; init; } + /// + /// Gets or Sets PosSessionData + /// + public ComGkSoftwarePosApiSessionposSessionData posSessionData { get; init; } + /// + /// Gets or Sets LastServerStatusOnline + /// + public bool? lastServerStatusOnline { get; init; } + /// + /// Gets or Sets TempTransactionBoundCache + /// + public Dictionary TempTransactionBoundCache { get; init; } + /// + /// Gets or Sets RetailStore + /// + public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO retailStore { get; init; } + /// + /// Gets or Sets TemoraryPromotionSO + /// + public List TemoraryPromotionSO { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PosTransaction.cs b/gatewayUtilPython/salida/PosTransaction.cs new file mode 100644 index 0000000000000000000000000000000000000000..4a2b21dde83869e7bf6830f4aecf82a448600b29 --- /dev/null +++ b/gatewayUtilPython/salida/PosTransaction.cs @@ -0,0 +1,12 @@ +namespace POSGkSwaggerModel +{ + /// + /// PosTransaction + /// + public record posTransaction { + /// + /// Gets or Sets Transaction + /// + public ComGkSoftwareGkrApiTxpoolDtotransaction transaction { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PrepaidInfoType.cs b/gatewayUtilPython/salida/PrepaidInfoType.cs new file mode 100644 index 0000000000000000000000000000000000000000..2b9e738fc039cca892e84636972b2b8650990d04 --- /dev/null +++ b/gatewayUtilPython/salida/PrepaidInfoType.cs @@ -0,0 +1,24 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidInfoType + /// + public record prepaidInfoType { + /// + /// Gets or Sets FaceValue + /// + public Money faceValue { get; init; } + /// + /// Gets or Sets ItemId + /// + public string itemId { get; init; } + /// + /// Gets or Sets Quantity + /// + public int? quantity { get; init; } + /// + /// Gets or Sets PrepaidType + /// + public string prepaidType { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PrepaidPinRequest.cs b/gatewayUtilPython/salida/PrepaidPinRequest.cs new file mode 100644 index 0000000000000000000000000000000000000000..1a8e80190f0f1ad8fdb2c58ff8fc8a8d84ce6145 --- /dev/null +++ b/gatewayUtilPython/salida/PrepaidPinRequest.cs @@ -0,0 +1,44 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidPinRequest + /// + public record prepaidPinRequest { + /// + /// Gets or Sets Uuid + /// + public string uuid { get; init; } + /// + /// Gets or Sets Country + /// + public string country { get; init; } + /// + /// Gets or Sets Store + /// + public string store { get; init; } + /// + /// Gets or Sets PosNumber + /// + public string posNumber { get; init; } + /// + /// Gets or Sets PosTimestamp + /// + public DateTime? posTimestamp { get; init; } + /// + /// Gets or Sets VoucherNo + /// + public string voucherNo { get; init; } + /// + /// Gets or Sets VoucherId + /// + public string voucherId { get; init; } + /// + /// Gets or Sets PrepaidInfos + /// + public List PrepaidInfos { get; init; } + /// + /// Gets or Sets PrepaidTypes + /// + public List prepaidTypes { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PrepaidPinResponse.cs b/gatewayUtilPython/salida/PrepaidPinResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..a08f4658df077fa6f469dc57e650af6058e88a96 --- /dev/null +++ b/gatewayUtilPython/salida/PrepaidPinResponse.cs @@ -0,0 +1,16 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidPinResponse + /// + public record prepaidPinResponse { + /// + /// Gets or Sets ReturnCode + /// + public string returnCode { get; init; } + /// + /// Gets or Sets PrepaidReturnInfos + /// + public List PrepaidReturnInfos { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PrepaidReturnInfoType.cs b/gatewayUtilPython/salida/PrepaidReturnInfoType.cs new file mode 100644 index 0000000000000000000000000000000000000000..14b1e954250ee60031f86e2a2eacac9151c57940 --- /dev/null +++ b/gatewayUtilPython/salida/PrepaidReturnInfoType.cs @@ -0,0 +1,16 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidReturnInfoType + /// + public record prepaidReturnInfoType { + /// + /// Gets or Sets ReturnCode + /// + public string returnCode { get; init; } + /// + /// Gets or Sets PinInfos + /// + public List PinInfos { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PrepaidType.cs b/gatewayUtilPython/salida/PrepaidType.cs new file mode 100644 index 0000000000000000000000000000000000000000..1ec78c479a6686d0413aa4b342adadc5ca8830c4 --- /dev/null +++ b/gatewayUtilPython/salida/PrepaidType.cs @@ -0,0 +1,24 @@ +namespace POSGkSwaggerModel +{ + /// + /// PrepaidType + /// + public record prepaidType { + /// + /// Gets or Sets SmId + /// + public int? smId { get; init; } + /// + /// Gets or Sets ItemId + /// + public string itemId { get; init; } + /// + /// Gets or Sets ProviderCode + /// + public string providerCode { get; init; } + /// + /// Gets or Sets ResourceId + /// + public string resourceId { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PromotionInputResponse.cs b/gatewayUtilPython/salida/PromotionInputResponse.cs new file mode 100644 index 0000000000000000000000000000000000000000..2fc09b4437f0020e83a394ed5073a7445c482b97 --- /dev/null +++ b/gatewayUtilPython/salida/PromotionInputResponse.cs @@ -0,0 +1,16 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionInputResponse + /// + public record promotionInputResponse { + /// + /// Gets or Sets PromotionInputRequestList + /// + public List PromotionInputRequestList { get; init; } + /// + /// Gets or Sets StartSequence + /// + public int? startSequence { get; init; } + } +} diff --git a/gatewayUtilPython/salida/PromotionValidationResultType.cs b/gatewayUtilPython/salida/PromotionValidationResultType.cs new file mode 100644 index 0000000000000000000000000000000000000000..ffcc194e74a741493c79f35e5be483e9e6b4c5fa --- /dev/null +++ b/gatewayUtilPython/salida/PromotionValidationResultType.cs @@ -0,0 +1,12 @@ +namespace POSGkSwaggerModel +{ + /// + /// PromotionValidationResultType + /// + public record promotionValidationResultType { + /// + /// Gets or Sets Value + /// + public string value { get; init; } + } +} diff --git a/gatewayUtilPython/salida/RequestedValues.cs b/gatewayUtilPython/salida/RequestedValues.cs new file mode 100644 index 0000000000000000000000000000000000000000..a42d9a9ba71924fdfc57dc5233c9a5f0ce3c20ca --- /dev/null +++ b/gatewayUtilPython/salida/RequestedValues.cs @@ -0,0 +1,12 @@ +namespace POSGkSwaggerModel +{ + /// + /// RequestedValues + /// + public record requestedValues { + /// + /// Gets or Sets PayloadEnabled + /// + public bool? payloadEnabled { get; init; } + } +} diff --git a/gatewayUtilPython/simplifica_modelo.py b/gatewayUtilPython/simplifica_modelo.py new file mode 100644 index 0000000000000000000000000000000000000000..f0320380f77b026d6e2d978a1234b2f649fa53fd --- /dev/null +++ b/gatewayUtilPython/simplifica_modelo.py @@ -0,0 +1,350 @@ +# +# Tomar archivo C# generardo por Swagger con modelo de objeto json y lo +# simplifica con uso de record type. +# +import os +import re + +# --- Formato de la función de valida_xxx +# Entrada: tupla con +# es_ajustado : True si ha sido ajustado el texto, con lo cual el resto de funciones no tienen que procesarlo. +# texto : texto a validar +# flags : lista de strings con flags usados por las funciones de validación para controlara su operación entre líneas. +# continua - flag que indica que se debe ignorar la linea actual y continuar con la siguiente. +# +# +def valida_using(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Elimina las líneas con sentencia 'using' + Activa el flag 'continua' que indica que se debe ignorar la línea \ + (no aparece en el archivo de salida). + """ + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # \b marca limite de palabra, valida que el patrón no es un fragmento dentro de una palabra mas grande. + # [] conjunto de caracteres. + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # \w identifica palabra. + p = r'^using[\s]+\w+' + rex = re.compile(p) + if rex.match(linea): + print("using identificado.") + flags.append('continua') + return (True, xlinea, flags) + return (False, linea, flags) + +def valida_namespace(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Si la linea tiene la definición de namespace, la ajusta. + """ + + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # namespace a aplicar. + xnamespace = "POSGkSwaggerModel" + # \b marca limite de palabra, valida que el patrón no es un fragmento dentro de una palabra mas grande. + # [] conjunto de caracteres. + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # ( ) indica un grupo dentro de la expresión de búsqueda, contando desde 1 cada grupo. + p = r'^namespace[\s]+\bIO.Swagger.Model\b' + rex = re.compile(p) + if rex.match(linea): + xlinea = linea.replace("IO.Swagger.Model", xnamespace) + print("namespace ajustado.") + return (True, xlinea, flags) + return (False, linea, flags) + +def valida_anotaciones(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """ Elimina las lineas que tiene anotaciones tales como: + [DataContract] + [JsonConstructorAttribute] + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + En el caso de las antociones, son la única entrada en la línea, es decir, \ + la línea de texto tiene la forma [...texto...] + """ + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # [] conjunto de caracteres. + # \s espacio en blanco y [\t\n\r\f\v] + # * cero uno o mas caracteres que le preceden. + # \w identifica palabra. + # El grupo [^[\]]+ indica todos los caracteres que no son [ ni ] + p = r'\[[^[\]]+\]' + rex = re.compile(p) + if rex.match(linea.strip()): + print("anotación [...] identificada.") + flags.append('continua') + return (True, xlinea, flags) + return (False, linea, flags) + + +def valida_clase(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Si la linea tiene la definición de una clase la cambia por definición de un record. + """ + + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # ( ) indica un grupo dentro de la expresión de búsqueda, contando desde 1 cada grupo. + # busca coincidencias con patrón "public class" o "public partial class", donde "partial" es opcional. + p = r'(public\s+(partial)*\s+class)' + r = "public record" + rex = re.compile(p) + if rex.search(linea): + xlinea = re.sub(p, r, linea) + #print("clase ajustada.") + return (True, xlinea, flags) + return (False, linea, flags) + +def valida_propiedad(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Si la linea tiene la definición de una propiedad, la ajusta. + Ejm: + Original: + public string BusinessUnitGroupID { get; set; } + Ajustada: + public string BusinessUnitGroupID { get; init; } + + Activa el flag de 'propiedad' lo que significa que de aquí en adelante, las lineas que + no son propiedades serán ignoradas, hasta encontrar el } de cierre de la clase o record. + """ + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # ( ) indica un grupo dentro de la expresión de búsqueda, contando desde 1 cada grupo. + # busca coincidencias con patrón "public class" o "public partial class", donde "partial" es opcional. + p = r'{ get; set; }' + r = '{ get; init; }' + rex = re.compile(p) + if rex.search(linea): + xlinea = re.sub(p, r, linea) + #print("propiedad ajustada.") + flags.append('propiedad') + return (True, xlinea, flags) + return (False, linea, flags) + +def continua(flags: [str]) -> bool: + """Retorna True si la lista de flags incluye 'continua'. + Elimina el flag de la lista. + """ + for s in flags: + if s == 'continua': + flags.remove('continua') + return True + return False + +def propiedad(flags: [str]) -> bool: + """Retorna True si la lista de flags incluye 'propiedad'. + """ + for f in flags: + if f == 'propiedad': + return True + return False + +def idx_no_espacio(texto): + """ Retorna indice del primer caracter que no es espacio, + o -1 si todos son espacio. + """ + for indice, caracter in enumerate(texto): + if caracter != ' ': + return indice + return -1 # Si la cadena está compuesta solo por espacios + +def ajusta_nombre_record(linea: str) -> str: + """ fija en minúscula primera letra del nombre del record declarado en la línea y elimina + declaraciones no necesarias para tipo record (interfaces) + + Ejm: + Original: + public record ComGkSoftwareGkrApiTxpoolDtoTransactionKey : IEquatable, IValidatableObject + Resultado: + public record comGkSoftwareGkrApiTxpoolDtoTransactionKey + """ + # Extrae los caracteres antes de la definición de registro, para + # agregarlos a la cadana ajustada. Estos contienen la indentación. + p = re.compile(r'\w+') + patron = p.search(linea) + if patron: + caracteres_pre = linea[:patron.start()] + else: + caracteres_pre = '' + # + p = re.compile(r'\w+') + palabras = p.findall(linea) + if len(palabras) >= 3: + # toma el nombre del record + nombre = palabras[2] + # lo ajusta con la primera letra en minúscula + nombre_minuscula = nombre[0].lower() + nombre[1:] + palabras[2] = nombre_minuscula + # borra la cuarta palabra en adelante, si las hay + del palabras[3:] + # arma la cadena nuevamente + linea = caracteres_pre + ' '.join(palabras) + return linea + +def ajusta_nombre_propiedad(linea: str) -> str: + """ fija en minúscula primera letra del nombre de propieda + + Ejm: + Original: + public string BusinessUnitGroupID { get; init; } + Resultado: + public string businessUnitGroupID { get; init; } + """ + # Extrae los caracteres antes de la definición de registro, para + # agregarlos a la cadana ajustada. Estos contienen la indentación. + p = re.compile(r'\w+') + palabras = p.findall(linea) + if len(palabras) >= 2: + # toma el nombre del record + nombre = palabras[2] + # lo ajusta con la primera letra en minúscula + nombre_minuscula = nombre[0].lower() + nombre[1:] + palabras[2] = nombre_minuscula + # arma la cadena nuevamente + #linea = caracteres_pre + ' '.join(palabras) + linea = linea.replace(nombre, nombre_minuscula) + return linea + +def valida_comentario(linea: str) -> bool: + """ Acumula lineas de comentario en varible global + + Retorna True/False si la linea es un comentario. + """ + global comentarios + p = re.compile(r'\s*///\s*') + hay_comentarios = p.match(linea) + if hay_comentarios: + # Apertura de comentario, se inicializa lista de estos y se agrega. + comentarios = [] + comentarios.append(linea) + else: + p = re.compile(r'\s*///') + hay_comentarios = p.match(linea) + if hay_comentarios: + # Se agrega comentario + comentarios.append(linea) + return hay_comentarios + +def aplica_comentarios(lineas: list[str]): + """ Agrega lineas de comentario, si corresponde""" + global comentarios + global nro_linea_comentario + global nro_linea + # los comentarios están cerca a la linea actual... + if (nro_linea - nro_linea_comentario <= 3): + lineas.extend(comentarios) + #print(f"comentarios {comentarios}") + comentarios = [] + nro_linea_comentario = -1 + +def procesa_archivo_cs(archivo: str, carpeta_entrada: str, carpeta_salida: str): + """ Aplica transformaciones al archivo cs para pasar de definir una clase a definir un record. + """ + global comentarios + global nro_linea_comentario + global nro_linea + # Lee archivo en una lista de lineas. + entrada = carpeta_entrada + archivo + print(f"Archivo entrada {entrada}") + ptr_archivo = open(entrada, 'r', encoding='utf8') + lineas_txt = ptr_archivo.readlines() + ptr_archivo.close() + + comentarios = [] + + # Recorre lineas del archivo y aplica ajustes. + lineas_txt_ajustadas = [] + flags = [] + # clase on / off indica si ha detectado una clase + clase_on = False + # puntero de inicio comentarios en vector lineas_txt + nro_linea_comentario = -1 + nro_linea = -1 + for linea in lineas_txt: + nro_linea += 1 + + hay_comenterios = valida_comentario(linea) + if hay_comenterios: + nro_linea_comentario = nro_linea + continue + + ajusta, xlinea, flags = valida_namespace(False, linea, flags) + if ajusta: + aplica_comentarios(lineas_txt_ajustadas) + lineas_txt_ajustadas.append(xlinea) + lineas_txt_ajustadas.append('{\n') + continue + + ajusta, xlinea, flags = valida_clase(False, linea, flags) + if ajusta: + # Hay apertura de clase previa ?, si la hay, + # primero inserta '}' para cerrarla. + if clase_on: + clase_on = False + lineas_txt_ajustadas.append('\t}\n') + # si linea anterior es de comentario, agrega bloque comentarios. + aplica_comentarios(lineas_txt_ajustadas) + lineas_txt_ajustadas.append(xlinea) + lineas_txt_ajustadas.append('\t{\n') + clase_on = True + continue + + ajusta, xlinea, flags = valida_propiedad(False, linea, flags) + if ajusta: + aplica_comentarios(lineas_txt_ajustadas) + lineas_txt_ajustadas.append(xlinea) + #lineas_txt_ajustadas.append(xlinea) + continue + + # si hay flag de clase abierta, cierra la clase con '}' + lineas_txt_ajustadas.append('\t}\n') + # cierra el namespace. + lineas_txt_ajustadas.append('}\n') + # Escribe archivo salida. + salida = carpeta_salida + archivo + ptr_archivo = open(salida, 'w', encoding='utf8') + ptr_archivo.writelines(lineas_txt_ajustadas) + ptr_archivo.close() + print(f"Archivo salida creado {salida}") + + +def obtener_archivos_cs_en_carpeta(ruta_carpeta): + archivos_cs = [] + for archivo in os.listdir(ruta_carpeta): + if archivo.endswith('.cs'): + archivos_cs.append(archivo) + return archivos_cs + +# +# --- Cuerpo principal del programa. +# +# lista con lineas de comentario +carpeta_entrada = "C:/jht/scogateway/dotnet/csharp-client-swagger/src/IO.Swagger/Model/" +carpeta_salida = "C:/jht/scogateway/dotnet/api-gateway-chec/gatewayUtilPython/salida/" +#archivo = "ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs" + +archivos = obtener_archivos_cs_en_carpeta(carpeta_entrada) +i = 1 +for archivo in archivos: + comentarios = [] + nro_linea_comentario = -1 + nro_linea = 0 + procesa_archivo_cs(archivo, carpeta_entrada, carpeta_salida) + i += 1 + +print(f'Total archivos {i}') + + diff --git a/gatewayUtilPython/simplifica_modelo_org1.py b/gatewayUtilPython/simplifica_modelo_org1.py new file mode 100644 index 0000000000000000000000000000000000000000..b170259605916c6604be1ff8c8327a09123b4f20 --- /dev/null +++ b/gatewayUtilPython/simplifica_modelo_org1.py @@ -0,0 +1,201 @@ +# +# Tomar archivo C# generardo por Swagger con modelo de objeto json y lo +# simplifica con uso de record type. +# +import re + +# --- Formato de la función de valida_xxx +# Entrada: tupla con +# es_ajustado : True si ha sido ajustado el texto, con lo cual el resto de funciones no tienen que procesarlo. +# texto : texto a validar +# flags : lista de strings con flags usados por las funciones de validación para controlara su operación entre líneas. +# continua - flag que indica que se debe ignorar la linea actual y continuar con la siguiente. +# +# +def valida_using(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Elimina las líneas con sentencia 'using' + Activa el flag 'continua' que indica que se debe ignorar la línea \ + (no aparece en el archivo de salida). + """ + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # \b marca limite de palabra, valida que el patrón no es un fragmento dentro de una palabra mas grande. + # [] conjunto de caracteres. + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # \w identifica palabra. + p = r'^using[\s]+\w+' + rex = re.compile(p) + if rex.match(linea): + print("using identificado.") + flags.append('continua') + return (True, xlinea, flags) + return (False, linea, flags) + +def valida_namespace(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Si la linea tiene la definición de namespace, la ajusta. + """ + + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # namespace a aplicar. + xnamespace = "POSGkSwaggerModel" + # \b marca limite de palabra, valida que el patrón no es un fragmento dentro de una palabra mas grande. + # [] conjunto de caracteres. + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # ( ) indica un grupo dentro de la expresión de búsqueda, contando desde 1 cada grupo. + p = r'^namespace[\s]+\bIO.Swagger.Model\b' + rex = re.compile(p) + if rex.match(linea): + xlinea = linea.replace("IO.Swagger.Model", xnamespace) + print("namespace ajustado.") + return (True, xlinea, flags) + return (False, linea, flags) + +def valida_anotaciones(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """ Elimina las lineas que tiene anotaciones tales como: + [DataContract] + [JsonConstructorAttribute] + [DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)] + En el caso de las antociones, son la única entrada en la línea, es decir, \ + la línea de texto tiene la forma [...texto...] + """ + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # [] conjunto de caracteres. + # \s espacio en blanco y [\t\n\r\f\v] + # * cero uno o mas caracteres que le preceden. + # \w identifica palabra. + # El grupo [^[\]]+ indica todos los caracteres que no son [ ni ] + p = r'\[[^[\]]+\]' + rex = re.compile(p) + if rex.match(linea.strip()): + print("anotación [...] identificada.") + flags.append('continua') + return (True, xlinea, flags) + return (False, linea, flags) + + +def valida_clase(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Si la linea tiene la definición de una clase la cambia por definición de un record. + """ + + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # ( ) indica un grupo dentro de la expresión de búsqueda, contando desde 1 cada grupo. + # busca coincidencias con patrón "public class" o "public partial class", donde "partial" es opcional. + p = r'(public\s+(partial)*\s+class)' + r = "public record" + rex = re.compile(p) + if rex.search(linea): + xlinea = re.sub(p, r, linea) + print("clase ajustada.") + return (True, xlinea, flags) + return (False, linea, flags) + +def valida_propiedad(es_ajustado: bool, linea: str, flags: [str]) -> (bool, str, [str]): + """Si la linea tiene la definición de una propiedad, la ajusta. + Ejm: + Original: + public string BusinessUnitGroupID { get; set; } + Ajustada: + public string BusinessUnitGroupID { get; init; } + + Activa el flag de 'propiedad' lo que significa que de aquí en adelante, las lineas que + no son propiedades serán ignoradas, hasta encontrar el } de cierre de la clase o record. + """ + # Si la línea ya fue ajustada, no se procesa mas. + if es_ajustado: + return (es_ajustado, linea, flags) + + # \s espacio en blanco y [\t\n\r\f\v] + # + uno o mas caracteres que le preceden. + # ( ) indica un grupo dentro de la expresión de búsqueda, contando desde 1 cada grupo. + # busca coincidencias con patrón "public class" o "public partial class", donde "partial" es opcional. + p = r'{ get; set; }' + r = '{ get; init; }' + rex = re.compile(p) + if rex.search(linea): + xlinea = re.sub(p, r, linea) + print("propiedad ajustada.") + flags.append('propiedad') + return (True, xlinea, flags) + return (False, linea, flags) + +def continua(flags: [str]) -> bool: + """Retorna True si la lista de flags incluye 'continua'. + Elimina el flag de la lista. + """ + for s in flags: + if s == 'continua': + flags.remove('continua') + return True + return False + +def propiedad(flags: [str]) -> bool: + """Retorna True si la lista de flags incluye 'propiedad'. + """ + for f in flags: + if f == 'propiedad': + return True + return False + +# +# --- Cuerpo principal del programa. +# +carpeta_entrada = "C:/jht/scogateway/dotnet/csharp-client-swagger/src/IO.Swagger/Model/" +carpeta_salida = "C:/jht/scogateway/dotnet/api-gateway-chec/gatewayUtilPython/salida/" +archivo = "ComGkSoftwareGkrApiTxpoolDtoTransactionKey.cs" + +# Lee archivo en una lista de lineas. +entrada = carpeta_entrada + archivo +print(f"archivo entrada {entrada}") +ptr_archivo = open(entrada, 'r', encoding='utf8') +lineas_txt = ptr_archivo.readlines() +ptr_archivo.close() + +# lista de funciones de validacion +validaciones = [valida_namespace, valida_clase, valida_propiedad] + +# Recorre lineas del archivo y aplica ajustes. +lineas_txt_ajustadas = [] +flags = [] +for linea in lineas_txt: + es_ajustado = False + for v in validaciones: + es_ajustado, xlinea, flags = v(False, linea, flags) + # Si ya una función valido positivamente, las demás no aplican. + if es_ajustado and not continua(flags): + # Solo tienen en cuenta las lineas con algun ajuste + lineas_txt_ajustadas.append(xlinea) + break + # # Si está el flag de continua, se ignora la linea y se apaga el flag. + # if continua(flags): + # print("linea ignorada.") + # continue + + # # Si flag de propiedad esta activo y no aplica ninguna validación, ignora la linea. + # if propiedad(flags) and not es_ajustado: + # print("linea ignorada.") + # continue + + + + +# Escribe archivo salida. +salida = carpeta_salida + archivo +ptr_archivo = open(salida, 'w', encoding='utf8') +ptr_archivo.writelines(lineas_txt_ajustadas) +ptr_archivo.close() +print(f"archivo salida creado {salida}") \ No newline at end of file diff --git a/resp1.json b/resp1.json new file mode 100644 index 0000000000000000000000000000000000000000..109d9330939e4c906a19d0b742ec2a366ac0bbc2 --- /dev/null +++ b/resp1.json @@ -0,0 +1,179 @@ +{ + "primaryEntry": { + "transaction": { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6ncb0dfc9cb469343c2a9ac0090b0503" + }, + "operatorID": "1004", + "workstationID": "103", + "businessUnitID": "1000", + "businessDayDate": "2023-08-04T00:00:00.000", + "sequenceNumber": 11, + "transactionTypeCode": "CNTTRN", + "beginDateTimestamp": "2023-08-04T11:55:18.967", + "cancelledFlag": false, + "suspendedFlag": false, + "trainingFlag": false, + "keyedOfflineFlag": "SA", + "workerID": "1004", + "workerFirstName": "Adam", + "workerLastName": "Administrator", + "internalSequenceNumber": 10, + "fiscalFlag": false, + "beginDateTimestampUTC0": "2023-08-04T11:55:18.967-0500", + "transactionExtensionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6ncb0dfc9cb469343c2a9ac0090b0503", + "extensionKey": "WORKSTATION_TYPE_CODE", + "extensionSequenceNumber": 0 + }, + "extensionValue": "MOB" + } + ], + "endWorkstationID": "103", + "isocurrencyCode": "COP", + "controlTransactionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6ncb0dfc9cb469343c2a9ac0090b0503" + }, + "typeCode": "SGOF", + "signOffTransactionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6ncb0dfc9cb469343c2a9ac0090b0503" + }, + "tillID": "103" + } + ] + } + ] + }, + "addedOrModifiedLineItems": [], + "deletedLineItems": [], + "closedLineItems": [], + "promotionInputRequests": [], + "addedOrModifiedTransactionExtensions": [], + "addedTransactionAdditionalPrintouts": [], + "addedPriceDerivationRules": [], + "addedOrModifiedSaleReturnLineItemPrices": [], + "deletedTransactionAdditionalPrintouts": [] + }, + "additionalEntries": [], + "filtered": false, + "success": true, + "operator": { + "operatorID": "1004", + "workerID": "1004", + "firstName": "Adam", + "lastName": "Administrator", + "languageID": "es_CO", + "leftHandedFlag": false, + "operatorAssignmentSOList": [ + { + "retailStoreID": "1000", + "workGroupID": "admin_global" + }, + { + "retailStoreID": "1000", + "workGroupID": "cashier_vice" + } + ], + "peripheralAccessSOList": [ + { + "retailStoreID": "1000", + "peripheralsTypeCode": "POS", + "loginName": "1004", + "passwordCreateTimestamp": "2023-07-31T16:08:35.557", + "passwordFailedAttemptsCount": 0, + "passwordLastSuccessfulLoginTimestamp": "2023-08-04T11:55:16.905", + "accessBlockingFlag": false, + "initialPasswordFlag": false + } + ], + "opAsgnList": [ + { + "retailStoreID": "1000", + "workGroupID": "admin_global" + }, + { + "retailStoreID": "1000", + "workGroupID": "cashier_vice" + } + ] + }, + "businessUnit": { + "key": { + "businessUnitID": "1000", + "businessUnitGroupID": "100000000000000062" + }, + "externalBusinessUnitID": "1000", + "parentBusinessUnitGroupID": "1", + "parentExternalBusinessUnitGroupID": "GLOBAL", + "businessUnitGroupLevelID": "1", + "externalBusinessUnitGroupLevelID": "STORE", + "vatRegistrationNumber": "NIT 802.014.?278-0", + "isoCountryCode": "CO", + "timeZoneCode": "UTC-5", + "timeZoneLongID": "Etc/GMT+5", + "languageID": "es_CO", + "name": "Redsis S.A.S", + "surrogateName": "Tienda Prueba 111", + "regionFlag": false, + "independentRetailerFlag": false, + "gkSystemFlag": false, + "mainCurrencyID": "COP", + "exportToGfkFlag": false, + "size": 0.0, + "sellingAreaSize": 0.0, + "includesSalesTaxFlag": true, + "purchasingOrganization": "9090", + "receiverLocationList": [], + "bankAccountList": [], + "partyID": "100000000000000195", + "party": { + "key": { + "partyID": "100000000000000195", + "businessUnitGroupID": "100000000000000062" + }, + "partyTypeCode": "01", + "partyRoleAssignmentList": [ + { + "key": { + "partyID": "100000000000000195", + "businessUnitGroupID": "100000000000000062", + "partyRoleTypeCode": "RSTORE", + "sequenceNumber": 1 + } + } + ], + "partyIdentificationList": [] + }, + "contact": { + "key": { + "businessUnitGroupID": "100000000000000062", + "partyID": "100000000000000195", + "partyRoleTypeCode": "RSTORE", + "sequenceNumber": 1 + }, + "addressList": [ + { + "key": { + "contactPurposeTypeCode": "DEFAULT", + "contactMethodTypeCode": "WORK" + }, + "city": "Barranquilla", + "isoCountryCode": "CO", + "marketingAllowedFlag": false + } + ] + }, + "businessUnitStatusCode": "ENABLED" + }, + "workstationStatusToken": "1a50308d898c4c95975a5e047106c7dd" +} \ No newline at end of file diff --git a/resp2.json b/resp2.json new file mode 100644 index 0000000000000000000000000000000000000000..9b63037a2eee93914b1472347613a6c231341923 --- /dev/null +++ b/resp2.json @@ -0,0 +1,12 @@ +{ + "errorCode": { + "errorCode": "GKR-POS-002075", + "message": "No such item", + "messageKey": "com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_ITEM_NOT_FOUND", + "arguments": [] + }, + "timestamp": "2023-08-06T17:06:07.423", + "additionalContextInfoMap": { + "posItemID": "7700000000000" + } +} \ No newline at end of file diff --git a/resp3-wine.json b/resp3-wine.json new file mode 100644 index 0000000000000000000000000000000000000000..724b4bc218b4ba4d7e5de225f3bd81c4e9df1059 --- /dev/null +++ b/resp3-wine.json @@ -0,0 +1,141 @@ +{ + "primaryEntry": { + "transaction": { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nedf61f56dfd034d24baefa7ab7552a" + }, + "operatorID": "1004", + "workstationID": "103", + "businessUnitID": "1000", + "businessDayDate": "2023-08-06T00:00:00.000", + "sequenceNumber": 11, + "transactionTypeCode": "RTLTRN", + "beginDateTimestamp": "2023-08-06T20:24:13.475", + "cancelledFlag": false, + "suspendedFlag": false, + "trainingFlag": false, + "keyedOfflineFlag": "BO", + "workerID": "1004", + "workerFirstName": "Adam", + "workerLastName": "Administrator", + "internalSequenceNumber": 10, + "fiscalFlag": false, + "beginDateTimestampUTC0": "2023-08-06T20:24:13.475-0500", + "transactionCategoryList": [], + "transactionExtensionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nedf61f56dfd034d24baefa7ab7552a", + "extensionKey": "WORKSTATION_TYPE_CODE", + "extensionSequenceNumber": 0 + }, + "extensionValue": "MOB" + } + ], + "endWorkstationID": "103", + "isocurrencyCode": "COP", + "retailTransactionList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nedf61f56dfd034d24baefa7ab7552a" + }, + "retailTransactionTypeCode": "SA", + "tillID": "103", + "receiptDateTime": "2023-08-06T20:24:13.475", + "receiptPrintoutFlag": false, + "promotionTimestamp": "2023-08-06T20:24:13.475", + "retailTransactionLineItemList": [], + "retailTransactionTotalList": [ + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nedf61f56dfd034d24baefa7ab7552a", + "transactionTotalTypeCode": "TOTAL" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nedf61f56dfd034d24baefa7ab7552a", + "transactionTotalTypeCode": "SUBTOTAL" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nedf61f56dfd034d24baefa7ab7552a", + "transactionTotalTypeCode": "SUBTOTAL_DISCOUNT" + }, + "amount": 4450.0 + }, + { + "key": { + "businessUnitGroupID": "100000000000000062", + "transactionID": "6nedf61f56dfd034d24baefa7ab7552a", + "transactionTotalTypeCode": "TOTAL_TIP" + }, + "amount": 0.0 + } + ], + "retailTransactionCouponSummaryList": [], + "retailTransactionManufacturerCouponSummaryList": [], + "emailRequestedFlag": false, + "receiptDateTimeUTC0": "2023-08-06T20:24:13.475-0500", + "promotionTimestampUTC0": "2023-08-06T20:24:13.475-0500" + } + ] + }, + "addedOrModifiedLineItems": [], + "deletedLineItems": [], + "closedLineItems": [], + "promotionInputRequests": [], + "addedOrModifiedTransactionExtensions": [], + "addedTransactionAdditionalPrintouts": [], + "addedPriceDerivationRules": [], + "addedOrModifiedSaleReturnLineItemPrices": [], + "deletedTransactionAdditionalPrintouts": [] + }, + "additionalEntries": [], + "filtered": true, + "failure": { + "errorCode": "GKR-POS-003031", + "errorMessage": "Position limit exceeded - Price too high!", + "messageKey": "com.gk_software.pos.utils.error.ErrorCodeMessages.MSG_PRICE_POSITION_LIMIT_EXCEEDED", + "arguments": [] + }, + "statusOk": false, + "mainPOSItemId": "7703121380008", + "posItemId": "7703121380008", + "itemId": "8500000786", + "itemName": "Wine", + "itemDescription": "Wine", + "forcePriceInput": false, + "forceQuantityInput": false, + "priceInputSignal": false, + "quantityInputSignal": false, + "promotionTriggerSignal": false, + "salesRestrictions": [], + "salesRestrictionList": [], + "prepaidItem": false, + "hasLinkedItems": false, + "forceReturnReasonInput": false, + "forceSerialNumberInput": false, + "variantItemsAvailable": false, + "emptiesReturn": false, + "accumulateExistingQuantity": false, + "price": 0.0, + "itemKey": { + "businessUnitGroupID": 100000000000000062, + "itemID": "8500000786", + "uomCode": "PCE" + }, + "usedBarcode": "7703121380008", + "discountIconList": [], + "hasInvalidQuantity": false, + "comboMealItem": false +} \ No newline at end of file